/* 167 – Tangram: sieben Teile, strenges Raster, viel Weiß */
:root {
  --red: #ef3b2c; --blue: #2340d0; --yel: #ffbf1a; --grn: #0fa36a; --pink: #f2679e; --cyan: #16aee0; --ink: #141414;
  --mut: #595959; --line: #e4e4e4; --bg: #ffffff; --soft: #f6f6f4;
  --f: 'Kumbh Sans', 'Futura', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1240px; --pad: clamp(18px, 4vw, 56px);
  --top-h: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.62 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }

/* Teile als Glyphen */
.g { display: inline-block; flex: none; width: 14px; height: 14px; background: var(--ink); }
.g--tri { clip-path: polygon(0 0, 100% 100%, 0 100%); }
.g--half { clip-path: polygon(0 100%, 50% 50%, 100% 100%); }
.g--sq { clip-path: none; }
.g--par { width: 20px; clip-path: polygon(33% 0, 100% 0, 67% 100%, 0 100%); }
.g--r45 { transform: rotate(45deg) scale(.78); }
.g--r90 { transform: rotate(90deg); }
.g--r180 { transform: rotate(180deg); }
.g--red { background: var(--red); } .g--blue { background: var(--blue); } .g--yel { background: var(--yel); }
.g--grn { background: var(--grn); } .g--pink { background: var(--pink); } .g--cyan { background: var(--cyan); } .g--ink { background: var(--ink); }

/* Figuren */
.pc { stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; paint-order: stroke; }
.pc--L1 { fill: var(--red); } .pc--L2 { fill: var(--blue); } .pc--M { fill: var(--yel); }
.pc--S1 { fill: var(--grn); } .pc--S2 { fill: var(--pink); } .pc--Q { fill: var(--cyan); } .pc--P { fill: var(--ink); }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; height: var(--top-h); display: flex; align-items: center; gap: 32px; }
.logo { flex: none; display: block; }
.logo img { width: 66px; aspect-ratio: 1510 / 1300; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 40px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav__list a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; }
.nav__list .g { width: 11px; height: 11px; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.nav__list .g--par { width: 16px; }
.nav__list a:hover .g, .nav__list a:focus-visible .g { transform: rotate(-45deg) scale(1.25); }
.nav__list a:hover { color: var(--blue); }
.nav__end { display: flex; align-items: center; gap: 18px; }
.tel { text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tel:hover { color: var(--blue); }
.lang { display: inline-grid; place-items: center; width: 40px; height: 40px; text-decoration: none; font-weight: 700; font-size: .9rem; background: var(--ink); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path .3s ease, background .2s; }
.lang:hover, .lang:focus-visible { background: var(--blue); clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%); }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; min-height: min(calc(100vh - var(--top-h)), 820px); padding-block: clamp(36px, 6vh, 72px); }
.hero__txt { grid-column: 1 / span 7; position: relative; z-index: 2; }
.kicker { font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--ink); }
h1 { font-size: clamp(2.5rem, 4.3vw, 4.15rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.lead { margin-top: 28px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 50ch; color: #333; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 24px; text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: -.005em; transition: background .2s, color .2s, box-shadow .2s; }
.btn .g { width: 14px; height: 14px; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.btn:hover .g { transform: rotate(-135deg); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); }
.btn--line { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.avail { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: .92rem; color: var(--mut); }
.avail .g { width: 10px; height: 10px; }

/* Bildfelder für die Figuren */
.slot { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.slot--hero { grid-column: 8 / span 5; }
.slot::before { /* Raster des Spielbretts */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #d4d4d4 1.1px, transparent 1.6px);
  background-size: 12.5% 12.5%; background-position: 6.25% 6.25%;
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent 100%); mask: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.slot .fig { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.slot__no { position: absolute; right: 0; bottom: 0; font-weight: 600; font-size: .78rem; color: #8a8a8a; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.slot__no::before { content: ""; display: inline-block; width: 22px; height: 1px; background: #bdbdbd; vertical-align: middle; margin-right: 8px; }
.tg-live .slot .fig { visibility: hidden; }
.tg-fly { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1; overflow: visible; }
main, .foot { position: relative; }
main > section > .wrap, .hero__txt { position: relative; z-index: 2; }

/* ---------- Sektionen ---------- */
section { position: relative; }
.focus, .svc, .proc, .about, .contact { padding-top: clamp(90px, 11vw, 160px); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.split--l .slot { grid-column: 1 / span 5; }
.split--l .split__txt { grid-column: 7 / span 6; }
.split--r .split__txt { grid-column: 1 / span 6; }
.split--r .slot { grid-column: 8 / span 5; }
.label { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 20px; }
.label .g { width: 12px; height: 12px; }
.label .g--par { width: 18px; }
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.06; letter-spacing: -.03em; max-width: 18ch; }
.intro { margin-top: 24px; font-size: clamp(1.05rem, 1.25vw, 1.18rem); color: #333; max-width: 54ch; }

.cells { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cells li { position: relative; padding: 34px 34px 40px 0; border-bottom: 1px solid var(--line); }
.cells li:not(:nth-child(3n + 1)) { padding-left: 34px; border-left: 1px solid var(--line); }
.cells .g { width: 30px; height: 30px; margin-bottom: 26px; }
.cells .g--par { width: 44px; }
.cells h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 10px; }
.cells p { color: var(--mut); hyphens: auto; }
.num { display: block; font-weight: 700; font-size: .9rem; letter-spacing: .08em; margin-bottom: 22px; font-variant-numeric: tabular-nums; color: var(--ink); }
.cells--num li::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 4px; background: var(--c, var(--blue)); transition: width .4s ease; }
.cells--num li:not(:nth-child(3n + 1))::before { left: 34px; }
.cells--num li:hover::before { width: 56px; }
.cells--num li:nth-child(1) { --c: var(--red); } .cells--num li:nth-child(2) { --c: var(--blue); } .cells--num li:nth-child(3) { --c: var(--yel); }
.cells--num li:nth-child(4) { --c: var(--grn); } .cells--num li:nth-child(5) { --c: var(--pink); } .cells--num li:nth-child(6) { --c: var(--cyan); }
.cells--num .num { display: flex; align-items: center; gap: 10px; }
.cells--num .num::before { content: ""; width: 10px; height: 10px; background: var(--c); }

.stats { list-style: none; margin: clamp(64px, 8vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.stats li { position: relative; padding: 0 0 0 0; display: grid; align-content: start; }
.stats b { font-size: clamp(3.4rem, 6.6vw, 6.2rem); line-height: .95; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; }
.stats span { margin-top: 12px; color: var(--mut); max-width: 22ch; font-weight: 500; }
.stats .g { position: absolute; top: 0; right: 24px; width: 26px; height: 26px; }
.stats .g--par { width: 38px; }

.route { margin: clamp(64px, 8vw, 110px) 0 0; padding: 36px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 3fr 9fr; column-gap: 24px; row-gap: 14px; }
.route .label { grid-row: 1 / span 3; margin: 0; align-self: start; }
.route__line { list-style: none; margin: 0 0 18px; padding: 0; display: flex; justify-content: space-between; position: relative; }
.route__line::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 2px; background: var(--ink); }
.route__line li { position: relative; display: grid; justify-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; padding-top: 0; }
.route__line li::before { content: ""; width: 28px; height: 28px; background: var(--c); transform: rotate(45deg) scale(.82); }
.route__line li:nth-child(even)::before { transform: none; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.route__line .c-red { --c: var(--red); } .route__line .c-blue { --c: var(--blue); } .route__line .c-yel { --c: var(--yel); } .route__line .c-grn { --c: var(--grn); }
.route__line .leg-car::after { content: ""; position: absolute; right: 50%; top: 12px; width: 220%; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 12px); z-index: 1; }
.route__text { font-size: 1.08rem; font-weight: 500; }
.route__note { color: var(--mut); font-size: .95rem; }

/* Ablauf */
.proc h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 26px; }
.steps__n { position: relative; display: grid; place-items: end start; width: 64px; height: 64px; font-weight: 700; font-size: 1.15rem; margin-bottom: 22px; padding: 0 0 4px 8px; color: #fff; }
.steps__n .g { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.steps__n { z-index: 0; isolation: isolate; }
.steps li:nth-child(2) .steps__n { color: var(--ink); }
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--mut); hyphens: auto; }

/* Über uns */
.about__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.photo { grid-column: 1 / span 5; margin: 0; position: relative; }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.photo__tri { position: absolute; right: -9%; bottom: -9%; width: 38%; aspect-ratio: 1; background: var(--yel); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.photo__sq { position: absolute; left: -5%; top: -5%; width: 13%; aspect-ratio: 1; background: var(--red); }
.about__txt { grid-column: 7 / span 6; }
.about__txt > p:not(.label) { margin-top: 24px; font-size: clamp(1.05rem, 1.25vw, 1.18rem); color: #333; max-width: 54ch; }
.feats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.feats li { display: flex; align-items: center; gap: 12px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.feats .g { width: 10px; height: 10px; }

/* Kontakt */
.contact { padding-bottom: clamp(90px, 11vw, 150px); }
.cdata { margin: 36px 0 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.cdata div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.cdata div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.cdata dt { font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
.cdata dd { margin: 0; font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.cdata small { display: block; font-weight: 400; font-size: .92rem; color: var(--mut); margin-top: 2px; }
.cdata a { text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 100% 2px no-repeat; }
.cdata a:hover { color: var(--blue); }

/* ---------- Fuß ---------- */
.foot { border-top: 1px solid var(--ink); background: var(--bg); z-index: 2; }
.foot__in { display: grid; grid-template-columns: auto auto 1fr auto; column-gap: 32px; row-gap: 20px; align-items: center; padding: 48px 0 92px; }
.foot__mark { width: 74px; }
.foot__mark .fig { width: 100%; height: auto; display: block; }
.logo--foot img { width: 76px; }
.foot__addr { font-size: .94rem; color: var(--mut); }
.foot__addr a { text-decoration: none; }
.foot__addr a:hover { color: var(--blue); }
.foot__brand { color: var(--ink); font-weight: 700; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: .95rem; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--blue); }
.foot__copy { grid-column: 3 / -1; font-size: .85rem; color: var(--mut); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(90px, 10vw, 140px); }
.legal__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.legal__aside { grid-column: 1 / span 3; position: relative; }
.legal__main { grid-column: 4 / span 8; }
.legal__aside .fig { width: 100%; max-width: 220px; display: block; margin-top: 8px; position: sticky; top: calc(var(--top-h) + 30px); }
.back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; margin-bottom: 40px; }
.back:hover { color: var(--blue); }
.legal h1 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 20ch; hyphens: auto; overflow-wrap: break-word; margin-bottom: clamp(36px, 5vw, 56px); }
.legal-body { max-width: 70ch; color: #262626; border-top: 1px solid var(--ink); padding-top: 12px; }
.legal-body h2 { font-size: 1.22rem; letter-spacing: -.01em; margin: 2.2em 0 .6em; max-width: none; display: flex; gap: 12px; align-items: baseline; }
.legal-body h2::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--red); transform: translateY(-1px); }
.legal-body h2:nth-of-type(6n + 2)::before { background: var(--blue); }
.legal-body h2:nth-of-type(6n + 3)::before { background: var(--yel); }
.legal-body h2:nth-of-type(6n + 4)::before { background: var(--grn); }
.legal-body h2:nth-of-type(6n + 5)::before { background: var(--pink); }
.legal-body h2:nth-of-type(6n)::before { background: var(--cyan); }
.legal-body p, .legal-body ul { margin: 0 0 1em; }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin-bottom: .3em; }
.legal-body li::marker { color: var(--blue); }
.legal-body a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body .legal-note { background: var(--soft); border-left: 6px solid var(--yel); padding: 14px 18px; font-weight: 500; margin: 1.4em 0 2em; }
.legal-body .legal-address { border-left: 2px solid var(--ink); padding-left: 16px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .nav__list { gap: 20px; }
  .nav__list a { font-size: .92rem; }
  .tel { display: none; }
}
@media (max-width: 900px) {
  :root { --top-h: 66px; }
  .logo img { width: 54px; }
  .menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; height: 44px; padding: 0 16px; border: 0; background: var(--ink); color: #fff; font: 700 .95rem/1 var(--f); cursor: pointer; }
  .menu__ico { position: relative; width: 18px; height: 18px; }
  .menu__ico i { position: absolute; transition: transform .35s ease; }
  .menu__ico i:nth-child(1) { left: 0; top: 0; width: 18px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .menu__ico i:nth-child(2) { left: 0; top: 9px; width: 9px; height: 9px; background: var(--yel); }
  .menu__ico i:nth-child(3) { left: 9px; top: 9px; width: 9px; height: 9px; background: var(--cyan); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
  .open .menu__ico i:nth-child(1) { transform: rotate(180deg); }
  .open .menu__ico i:nth-child(2) { transform: rotate(45deg) scale(.8); }
  .open .menu__ico i:nth-child(3) { transform: rotate(-90deg); }
  .nav { position: absolute; left: 0; right: 0; top: var(--top-h); display: none; flex-direction: column; align-items: stretch; gap: 24px; padding: 18px var(--pad) 28px; background: #fff; border-bottom: 1px solid var(--ink); }
  .js .open .nav { display: flex; }
  html:not(.js) .menu { display: none; }
  html:not(.js) .nav { position: static; display: flex; padding: 0 0 12px; border: 0; }
  html:not(.js) .top__in { flex-wrap: wrap; height: auto; padding-top: 10px; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: flex; padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .tel { display: inline; }
  .nav__end { justify-content: space-between; }
  .hero, .split, .about__in { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding-top: 28px; row-gap: 12px; }
  .hero__txt, .slot--hero, .split--l .slot, .split--r .slot, .split--l .split__txt, .split--r .split__txt, .photo, .about__txt { grid-column: 1; }
  .slot { max-width: 380px; width: 82%; }
  .slot--hero { order: -1; width: 64%; max-width: 300px; }
  .split--r .slot { order: -1; }
  .split .slot { margin-bottom: 18px; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cells li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .cells li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .cells--num li:not(:nth-child(3n + 1))::before { left: 0; }
  .cells--num li:nth-child(even)::before { left: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .photo { max-width: 440px; margin-bottom: 56px; }
  .route { grid-template-columns: 1fr; }
  .route .label { grid-row: auto; }
  .foot__in { grid-template-columns: auto 1fr; }
  .foot__addr, .foot__nav, .foot__copy { grid-column: 1 / -1; }
  .legal__aside { display: none; }
  .legal__main { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .cells { grid-template-columns: 1fr; }
  .cells li:nth-child(even) { padding-left: 0; border-left: 0; }
  .cells--num li:nth-child(even)::before { left: 0; }
  .cells li { padding: 28px 0 30px; }
  .stats { grid-template-columns: 1fr; row-gap: 34px; }
  .stats b { font-size: 3.6rem; }
  .steps { grid-template-columns: 1fr; }
  .feats, .cdata { grid-template-columns: 1fr; }
  .cdata div:nth-child(even) { padding-left: 0; border-left: 0; }
  .route__line li { font-size: .85rem; }
  .route__line li::before { width: 22px; height: 22px; }
  .route__line::before { top: 10px; }
  .route__line .leg-car::after { top: 9px; }
  .btn { width: 100%; justify-content: space-between; }
}
