/* xpatinsurance.de · Entwurf Startseite
   Gemeinsame Handschrift der Reihe (Schrift, Rhythmus, Radien, Pillen), eigene Farbwelt Aubergine und Orange,
   eigene Leitidee: das deutsche Wort als Gegenstand, darunter seine Bedeutung. */

@font-face {
  font-family: 'Satoshi Variable';
  src: url('fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* Farben des Bereichs */
  --bg: #FBF9F6;
  --white: #FFFFFF;
  --sand: #F3EFEA;
  --sand-deep: #E9E3DC;
  --tint: #FFF1E7;
  --dark: #24152F;
  --dark-glow: #3A2350;
  --plum: #3B1F52;
  --accent: #F0641E;
  --accent-light: #FF7E3D;
  /* Orange für kleine Schrift: mindestens 4,5:1 auf Hell, Sand und Tönung */
  --accent-text: #B4470B;
  --accent-pale: #FFB48A;
  --accent-deep: #C94F12;
  --accent-glow: rgba(240, 100, 30, .28);
  --accent-halo: rgba(240, 100, 30, .16);
  --on-accent: #231A2E;
  --head: #231A2E;
  --text: #5A555E;
  --muted: #6E6874;
  --on-dark: #F4F0EC;
  --on-dark-muted: #B5A9BF;
  --on-dark-line: rgba(244, 240, 236, 0.22);
  --border: rgba(35, 26, 46, 0.08);
  --border-strong: rgba(35, 26, 46, 0.16);
  --shadow-bubble: 0 8px 32px rgba(35, 26, 46, 0.14);
  --shadow-soft: 0 30px 70px rgba(36, 21, 47, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout: derselbe Rhythmus wie auf moovnao.de */
  --nav-h: 72px;
  --max: 1200px;
  --max-card: 1360px;
  --pad: 48px;
  --space: 128px;
  --gutter: 24px;
  --radius-card: 36px;
  --radius: 24px;

  --font: 'Satoshi Variable', 'Satoshi', system-ui, sans-serif;
  --fs-hero: clamp(3rem, 6.1vw, 5.5rem);
  --fs-h2: clamp(2.1rem, 4.2vw, 3.4rem);
  --fs-h3: 1.45rem;
  --fs-lead: 1.12rem;
  --fs-body: 18px;
  --fs-small: 15px;
}

/* Zweite Farbwelt zum Vergleich: Lilatöne. Umschalter unten links, nur im Entwurf. */
:root[data-theme="lila"] {
  --bg: #FAF8FC;
  --sand: #F2EEF6;
  --sand-deep: #E6E0EE;
  --tint: #EEE7FB;
  --dark: #1E1330;
  --dark-glow: #38235C;
  --plum: #3B1F6B;
  --accent: #7A45E5;
  --accent-light: #8F61EE;
  --accent-text: #5B2BC0;
  --accent-pale: #C9B4FF;
  --accent-deep: #5B2BC0;
  --accent-glow: rgba(122, 69, 229, .30);
  --accent-halo: rgba(122, 69, 229, .16);
  --on-accent: #FFFFFF;
  --head: #1F1630;
  --text: #58525F;
  --muted: #6C6676;
  --on-dark: #F5F2FA;
  --on-dark-muted: #B4AAC6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--head); color: var(--bg); padding: 10px 16px; border-radius: 100px; text-decoration: none; font-size: 15px; }
.skip-link:focus { top: 12px; }

/* ── Typografie ── */
h1, h2, h3 { font-weight: 400; color: var(--head); text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
p { text-wrap: pretty; }
.accent { color: var(--accent); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--accent-text); }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: var(--fs-lead); max-width: 560px; margin-top: 24px; }

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }
.section { padding-top: var(--space); }
.band { margin-top: var(--space); padding: var(--space) 0; }
.band.sand { background: var(--sand); }
.band.tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 100px; border: none; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 500; font-size: 16px; background: var(--accent); color: var(--on-accent);
  transition: background .25s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 10px 28px var(--accent-glow); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--head); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent-text); color: var(--accent-text); }
.btn.light { background: var(--bg); color: var(--head); }
.btn.light:hover { background: var(--white); box-shadow: none; }
.btn.small { height: 44px; padding: 0 20px; font-size: 15px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; margin-top: 36px; }
/* Ruhiger zweiter Link, wie im neuen goldkaution-Entwurf */
.second { font-size: var(--fs-small); font-weight: 500; color: var(--head); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 12px 0; }
.second:hover { color: var(--accent-text); }

/* ── Reveal: nur Bewegung, Inhalte sind nie unsichtbar ── */
.reveal { transition: transform 1s var(--ease); }
.reveal.armed:not(.in) { transform: translateY(28px); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* ── Entwurfs-Hinweise, standardmäßig aus ── */
.note { display: none; gap: 8px; align-items: center; margin-top: 18px; font-size: 13px; line-height: 1.4; font-weight: 500; color: #7A5A12; background: #FBF4DF; border: 1px dashed #D9C078; border-radius: 8px; padding: 6px 10px; }
.note::before { content: "Entwurf"; letter-spacing: .08em; font-size: 11px; font-weight: 700; }
body.show-notes .note { display: inline-flex; }
.draft-tools { position: fixed; left: 16px; bottom: 16px; z-index: 80; display: flex; gap: 8px; }
.notes-toggle { font-weight: 500; font-size: 13px; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 100px; padding: 8px 14px; cursor: pointer; }

/* ═══ HEADER ═══ */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; padding: 0 var(--pad); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.nav-inner { display: flex; align-items: center; width: 100%; max-width: var(--max-card); margin: 0 auto; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; transform: translateY(8.5%); }
.brand span { font-weight: 500; font-size: 24px; color: var(--text); margin-left: 4px; letter-spacing: -0.02em; }
.brand b { font-weight: 500; color: var(--head); }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu a { display: inline-flex; align-items: center; white-space: nowrap; height: 40px; padding: 0 14px; border-radius: 100px; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--text); transition: color .2s, background .2s; }
.nav-menu a:hover { color: var(--head); background: var(--sand); }
/* Sprachwahl: steht in der Kopfzeile, am Handy im aufgeklappten Menü */
.nav-lang { display: flex; align-items: center; list-style: none; margin-left: 10px; padding-left: 10px; position: relative; }
.nav-lang::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 20px; transform: translateY(-50%); background: var(--border-strong); }
.nav-lang a { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-lang a:hover { color: var(--head); background: var(--sand); }
.nav-lang a[aria-current="page"] { color: var(--accent-text); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: none; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--head); margin: 6px auto; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Info-Reiter am rechten Rand, wie auf moovnao.de und derpkvmakler.de */
.info-tab { position: fixed; right: 0; top: 46%; z-index: 40; writing-mode: vertical-rl; background: var(--plum); color: var(--on-dark); font-size: 11px; font-weight: 600; letter-spacing: .14em; padding: 16px 8px; border: none; border-radius: 12px 0 0 12px; cursor: pointer; text-decoration: none; transition: padding .3s var(--ease), background .25s; }
.info-tab:hover { padding-right: 12px; background: var(--dark-glow); }

/* ═══ HERO: das deutsche Wort als Gegenstand ═══ */
.hero { min-height: min(100vh, 1100px); display: flex; align-items: center; padding: calc(var(--nav-h) + 56px) var(--pad) 72px; }
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; }
.hero h1 { font-size: 15px; line-height: 1.4; }
.hero h1 .kicker { margin-bottom: 0; font-size: 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lex { margin-top: clamp(28px, 5vh, 56px); }
.lex-de, .lex-en { font-size: clamp(2.5rem, 7.4vw, 6.6rem); line-height: 1.02; letter-spacing: -0.045em; hyphens: manual; }
.lex-de { color: var(--head); min-height: 1.02em; }
.lex-say { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: clamp(14px, 2vh, 22px) 0; font-size: 15px; color: var(--muted); }
.lex-say::before { content: ""; width: 44px; height: 1.5px; background: var(--accent); }
.lex-say i { font-style: normal; color: var(--accent-text); font-weight: 500; }
.lex-en { color: var(--accent); transition: opacity .35s, transform .5s var(--ease); }
.lex.swap .lex-en, .lex.swap .lex-say { opacity: 0; transform: translateY(12px); }
.lex-say { transition: opacity .35s, transform .5s var(--ease); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; margin-top: clamp(40px, 7vh, 72px); }
.hero-foot p.lead { margin-top: 0; max-width: 520px; }
.hero-side { justify-self: end; text-align: right; }
.lex-dots { display: inline-flex; gap: 6px; }
.lex-dots button { width: 44px; height: 44px; border: none; background: none; cursor: pointer; display: grid; place-items: center; }
.lex-dots button::before { content: ""; width: 28px; height: 4px; border-radius: 100px; background: var(--border-strong); transition: background .3s, width .4s var(--ease); }
.lex-dots button[aria-current="true"]::before { background: var(--accent); width: 40px; }
.register { margin-top: 10px; font-size: 14px; color: var(--muted); }
.register a { text-underline-offset: 3px; }
@keyframes riseIn { from { opacity: .01; transform: translateY(24px); } }
.hero h1, .lex, .hero-foot { animation: riseIn .8s var(--ease) both; }
.lex { animation-delay: .12s; } .hero-foot { animation-delay: .3s; }

/* ═══ WÖRTERBUCH: die drei Wörter, die zuerst zählen ═══ */
.lexicon { list-style: none; border-top: 1px solid var(--border-strong); }
.lexicon a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; align-items: center; gap: clamp(16px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 8px; border-bottom: 1px solid var(--border-strong); text-decoration: none; position: relative; transition: padding .4s var(--ease); }
.lexicon a::before { content: ""; position: absolute; inset: 8px 0; border-radius: var(--radius); background: var(--tint); opacity: 0; transition: opacity .3s; z-index: -1; }
.lexicon a:hover, .lexicon a:focus-visible { padding-left: 28px; padding-right: 28px; }
.lexicon a:hover::before, .lexicon a:focus-visible::before { opacity: 1; }
.lexicon .de { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.04em; color: var(--head); hyphens: manual; }
.lexicon .de small { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.lexicon .en strong { display: block; font-weight: 500; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; color: var(--accent-text); }
.lexicon .en span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.55; }
.go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--head); transition: background .3s, transform .4s var(--ease); }
.lexicon a:hover .go { background: var(--accent); color: var(--on-accent); transform: translateX(4px); }
.lexicon-more { margin-top: 28px; }

/* Wörterbuch-Zeile über Abschnitten: deutsches Wort, Wortart, Bedeutung */
.entry-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 22px; font-size: 15px; color: var(--muted); }
.entry-line.centered { justify-content: center; }
.entry-line b { font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--accent-text); }
.gap-card .entry-line { color: var(--on-dark-muted); }
.gap-card .entry-line b { color: var(--accent-pale); }

/* ═══ DEIN WEG: fünf Stationen, eine Linie ═══ */
.journey-line { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; }
.journey-line::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--border-strong); }
.journey-line .fill { position: absolute; left: 0; top: 21px; height: 2px; width: var(--w, 0%); background: var(--accent); transition: width .6s var(--ease); }
.journey-line button { position: relative; background: none; border: none; cursor: pointer; text-align: left; padding: 0 12px 0 0; min-height: 44px; }
.journey-line button::before { content: ""; display: block; width: 18px; height: 18px; margin: 12px 0 18px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--border-strong); transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.journey-line button.passed::before { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.journey-line button[aria-selected="true"]::before { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 7px var(--accent-halo); transform: scale(1.1); }
.journey-line button span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.journey-line button strong { display: block; font-weight: 500; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--muted); transition: color .3s; }
.journey-line button[aria-selected="true"] strong, .journey-line button:hover strong { color: var(--head); }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); margin-top: 48px; background: var(--sand); border-radius: var(--radius-card); padding: clamp(28px, 4.5vw, 64px); }
.stage[hidden] { display: none; }
.stage.swap { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: .4; transform: translateY(10px); } }
.stage h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; }
.stage > div > p { margin-top: 16px; max-width: 460px; }
.stage .actions { margin-top: 28px; }
.needs { list-style: none; }
.needs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--border-strong); }
.needs li:first-child { border-top: none; padding-top: 0; }
.needs b { font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--head); }
.needs em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--accent-text); white-space: nowrap; }
.needs span { grid-column: 1 / -1; font-size: 16px; line-height: 1.5; }
.needs-title { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-bottom: 20px; }

/* ═══ TEAM: die Menschen stehen beim Makler, nicht im Hero ═══ */
.people { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(24px, 4vw, 56px); }
.person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: center; background: var(--bg); border-radius: var(--radius-card); padding: 16px 28px 16px 16px; }
.person img { width: 132px; height: 165px; object-fit: cover; border-radius: var(--radius); }
.person strong { display: block; font-weight: 500; font-size: var(--fs-h3); letter-spacing: -0.015em; color: var(--head); line-height: 1.25; }
.person span { display: block; font-size: 15px; }
.person .langs { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--accent-text); }

/* ═══ DIE LÜCKE: die eine dunkle Fläche ═══ */
.gap { padding: 0 var(--gutter); margin-top: var(--space); }
.gap-card { max-width: var(--max-card); margin: 0 auto; background: var(--dark); color: var(--on-dark-muted); border-radius: var(--radius-card); padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); overflow: hidden; position: relative; }
.gap-card::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, var(--dark-glow), transparent); pointer-events: none; }
.gap-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.gap-card .kicker { color: var(--accent-pale); }
.gap-card h2 { color: var(--on-dark); }
.gap-card h2 .accent { color: var(--accent-pale); }
.gap-card .lead { color: var(--on-dark-muted); }
/* Der Balken ist der Regler: links die Tage ohne Schutz, der Griff ist der erste Arbeitstag */
.gap-tool { --thumb: 14px; --v: .47; --bar-h: 76px; --open: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--v)); background: rgba(255, 255, 255, .05); border: 1px solid var(--on-dark-line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.gap-tool [hidden] { display: none; }
.gap-tool label { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--on-dark); }
.gap-bar { position: relative; height: var(--bar-h); margin-top: 16px; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.gap-bar:has(input:focus-visible) { outline: 2px solid var(--accent-pale); outline-offset: 3px; }
.gap-bar .open { position: absolute; inset: 0 auto 0 0; width: var(--open); background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .14) 0 6px, transparent 6px 12px), var(--accent); }
.gap-bar-text { position: absolute; top: 0; bottom: 0; left: 18px; display: flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--on-accent); pointer-events: none; }
.gap-bar-text strong { font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.gap-bar-text em { font-style: normal; font-size: 15px; }
.gap-bar-covered { position: absolute; top: 0; bottom: 0; right: 22px; display: flex; align-items: center; white-space: nowrap; font-size: 15px; color: var(--on-dark-muted); pointer-events: none; }
.gap-bar.outside .gap-bar-text { left: calc(var(--open) + 18px); color: var(--on-dark); }
.gap-bar.outside .gap-bar-text strong { color: var(--accent-pale); }
.gap-bar.short .gap-bar-text em, .gap-bar.bare .gap-bar-text em, .gap-bar.bare #gap-unit { display: none; }
.gap-bar input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; outline: none; }
.gap-bar input::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.gap-bar input::-moz-range-track { height: 100%; background: transparent; }
.gap-bar input::-webkit-slider-thumb { -webkit-appearance: none; width: var(--thumb); height: var(--bar-h); border-radius: 100px; background: var(--on-dark); box-shadow: 0 0 0 4px rgba(0, 0, 0, .2); }
.gap-bar input::-moz-range-thumb { width: var(--thumb); height: var(--bar-h); border: none; border-radius: 100px; background: var(--on-dark); box-shadow: 0 0 0 4px rgba(0, 0, 0, .2); }
/* Die Beschriftung des Griffs läuft mit, bleibt aber innerhalb des Kastens */
.gap-mark { position: relative; height: 22px; margin-top: 10px; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--on-dark); }
.gap-mark span { position: absolute; left: clamp(84px, var(--open), calc(100% - 84px)); transform: translateX(-50%); white-space: nowrap; }
.gap-result { margin-top: 20px; font-size: 16px; color: var(--on-dark); }
.gap-tool .btn { margin-top: 24px; }

/* ═══ MAKLER: Sandfläche, Aussage und Gegenüberstellung ═══ */
.broker .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.versus { background: var(--bg); border-radius: var(--radius-card); padding: clamp(24px, 3.5vw, 44px); }
.versus dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
.versus dt { grid-column: 1 / -1; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--muted); padding: 22px 0 8px; border-top: 1px solid var(--border-strong); }
.versus dt:first-of-type { border-top: none; padding-top: 0; }
.versus dd { font-size: 16px; line-height: 1.5; padding-bottom: 22px; }
.versus dd.us { color: var(--head); font-weight: 500; }
.versus .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.versus .cols span:first-child { color: var(--accent-text); }
.versus .cols span:last-child { color: var(--muted); }

/* ═══ FAQ ═══ */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border-strong); }
.faq-list details { border-bottom: 1px solid var(--border-strong); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--head); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: 20px; line-height: 1; transition: transform .4s var(--ease), background .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.faq-list details p { padding: 0 60px 28px 4px; max-width: 700px; }

/* ═══ ABSCHLUSS ═══ */
.closing { text-align: center; }
.closing h2 { max-width: 18ch; margin-inline: auto; }
.closing .lead { margin-inline: auto; }
.closing .actions { justify-content: center; }

/* ═══ FOOTER: dunkle Karte ═══ */
.site-footer { padding: var(--space) var(--gutter) var(--gutter); }
.footer-card { max-width: var(--max-card); margin: 0 auto; background: var(--dark); color: var(--on-dark-muted); border-radius: var(--radius-card); padding: clamp(40px, 5vw, 72px); font-size: 16px; }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 6px; text-decoration: none; margin-bottom: 18px; }
.footer-brand i { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand span { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--on-dark); }
.footer-col h3 { font-weight: 500; font-size: 14px; letter-spacing: .04em; color: var(--accent-pale); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-card a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer-card a:hover { color: var(--on-dark); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--on-dark-line); font-size: 14px; }
.footer-legal .family span { color: var(--accent-pale); font-weight: 500; }

/* ═══ Kleinere Bildschirme ═══ */
/* Die Kopfzeile klappt früher ein als der Rest: Menü, vier Sprachen und Button brauchen in den längeren Sprachen Platz */
@media (max-width: 1360px) {
  .nav-inner { gap: 14px; }
  .nav-menu a { padding: 0 10px; font-size: 15px; }
}
@media (max-width: 1200px) {
  .main-nav { position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--bg); padding: 16px var(--pad) 28px; border-bottom: 1px solid var(--border-strong); display: none; }
  .main-nav.open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu a { height: 52px; font-size: 18px; padding: 0 8px; }
  .site-nav .btn { display: none; }
  .nav-lang { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border-strong); }
  .nav-lang::before { display: none; }
  .nav-lang a { min-width: 52px; height: 48px; font-size: 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 1000px) {
  :root { --pad: 24px; --space: 88px; --radius-card: 24px; }
  .info-tab { display: none; }
  .gap-grid, .broker .wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .faq-list details p { padding-right: 4px; }
}
@media (max-width: 560px) {
  .gap-tool { --bar-h: 64px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .versus dl, .versus .cols { column-gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal.armed:not(.in) { transform: none; }
}

@media (max-width: 1000px) {
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero-foot, .stage, .people { grid-template-columns: minmax(0, 1fr); }
  .hero-side { justify-self: start; text-align: left; }
  .lexicon a { grid-template-columns: minmax(0, 1fr) 44px; }
  .lexicon .en { grid-column: 1; grid-row: 2; }
  .lexicon .go { grid-column: 2; grid-row: 1 / span 2; }
  .journey-line { grid-template-columns: repeat(5, 150px); overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .journey-line::before { right: auto; width: 750px; }
}
@media (max-width: 560px) {
  .person { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 12px 16px 12px 12px; }
  .person img { width: 96px; height: 120px; }
}
/* ── Rechtsseiten (Impressum, Datenschutz, Erstinformation) ── */
.legal { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 var(--space); }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.035em; }
.legal-sub { margin-top: 10px; color: var(--muted); }
.legal-lang { margin-top: 18px; font-size: var(--fs-small); color: var(--muted); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; list-style: none; }
.legal-tabs a { display: inline-block; padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 100px; font-size: var(--fs-small); font-weight: 500; text-decoration: none; }
.legal-tabs a:hover { color: var(--accent-text); }
.legal-tabs a[aria-current="page"] { background: var(--head); border-color: var(--head); color: var(--bg); }
.legal-body h2 { margin: 44px 0 12px; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; }
.legal-body p, .legal-body ul { margin-bottom: 14px; }
.legal-body ul { padding-left: 1.2em; }
.legal-body a { color: var(--accent-text); overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  .lex.swap .lex-en, .lex.swap .lex-say { opacity: 1; transform: none; }
}
