/* kiaustausch – modernes Blau/Weiß
   Schriften liegen lokal in assets/fonts (keine externen Requests, DSGVO). */

@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/host-grotesk-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/host-grotesk-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fragment-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fragment-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1d36e0;
  --blue-deep: #0b1a8c;
  --blue-ink: #24307f;
  --blue-soft: #eef0ff;
  --blue-line: rgba(29, 54, 224, .35);
  --ink: #0b0d17;
  --grey: #5d6275;
  --paper: #eceef2;
  --line: #d9dce5;
  --white: #ffffff;
  --on-blue: rgba(255, 255, 255, .94);

  --sans: "Host Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --focus: var(--blue);
}

* { box-sizing: border-box; }
/* Ab 1440px wächst alles proportional mit (Schrift, Abstände in rem, Inhaltsbreite). */
html { font-size: clamp(16px, calc(16px + (100vw - 1440px) * .01), 20px); }
html { scroll-behavior: smooth; scrollbar-color: #b9bfd6 var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
}
::selection { background: var(--blue); color: var(--white); }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 77.5rem; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.narrow { max-width: 61.25rem; }
.nowrap { white-space: nowrap; }
.sr-only { 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: 20; background: var(--white); color: var(--blue); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Haarlinien-Raster */
.rules { position: absolute; inset: 0; pointer-events: none; }
.rules span { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .14); }
.rules span:nth-child(1) { left: max(8px, calc(50% - 38.75rem)); }
.rules span:nth-child(2) { right: max(8px, calc(50% - 38.75rem)); }

/* ---------- Hero ---------- */
.hero {
  --focus: var(--white);
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(38% 42% at 84% 60%, rgba(236, 238, 242, .88) 0%, rgba(160, 178, 245, .45) 40%, transparent 75%),
    radial-gradient(45% 50% at 0% 0%, rgba(11, 26, 140, .85) 0%, transparent 70%),
    var(--blue);
}
.hero-inner { display: flex; flex-direction: column; padding-bottom: clamp(40px, 5vw, 72px); }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 30px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.pillnav {
  display: flex; gap: 2px; padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
}
.pillnav a {
  font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; padding: 7px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.pillnav a:hover { background: var(--white); color: var(--blue); }

.hero-head { display: flex; align-items: flex-start; gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(40px, 7vh, 88px); }
.display { font-size: clamp(3.2rem, 8.2vw, 6rem); line-height: .92; letter-spacing: -.04em; font-weight: 500; }
.display span { display: block; }
.display .l2 { padding-left: 1.15em; }
.badge {
  flex: none; margin-top: .9em;
  font-family: var(--mono); font-size: .74rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .03em;
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: 9px 18px;
}
.badge > span { display: block; }

.hero-foot { margin-top: clamp(28px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 35rem) 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.lead { font-size: 1.1rem; color: var(--white); max-width: 46ch; margin-bottom: 22px; }

/* Glas-Formular */
.glass {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 22px;
  padding: 8px 8px 14px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--white);
}
.bar { display: flex; gap: 8px; }
.bar input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1.02rem; color: var(--white);
  background: transparent; border: 0; padding: 12px 14px;
}
.bar input::placeholder { color: rgba(255, 255, 255, .82); }
.bar input:focus { outline: none; }
.bar:focus-within { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); border-radius: 15px; }
.bar input.invalid { box-shadow: inset 0 -2px 0 #ffb4b4; }
.submit {
  flex: none; appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .98rem;
  color: var(--blue); background: var(--white);
  padding: 12px 20px; border-radius: 15px;
  transition: transform .25s var(--ease-out), background .2s;
}
.submit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease-out); }
.submit:hover { background: var(--blue-soft); }
.submit:hover svg { transform: translateX(3px); }
.submit:disabled { opacity: .7; cursor: wait; }

.more { margin: 10px 14px 0; }
.more summary { cursor: pointer; font-size: .86rem; font-weight: 500; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; font-family: var(--mono); width: 1ch; }
.more[open] summary::before { content: "–"; }
.more summary span { color: rgba(255, 255, 255, .9); font-weight: 400; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.more-grid .wide { grid-column: 1 / -1; }
.more-grid > label { min-width: 0; }
.more-grid label { display: grid; gap: 4px; font-size: .74rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .03em; }
.more-grid select, .more-grid input {
  width: 100%; min-width: 0;
  font: inherit; font-family: var(--sans); font-size: .95rem; text-transform: none; letter-spacing: 0;
  color: var(--ink); background: var(--white); border: 0; border-radius: 10px; padding: 9px 10px;
}

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 14px 0; font-size: .8rem; line-height: 1.45; color: var(--white); }
.consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 6px 14px 0; min-height: 1.2em; font-size: .86rem; font-weight: 600; color: #ffd6d6; }
.form-msg:empty { margin: 0; }

.done { display: flex; gap: 14px; align-items: center; padding: 10px 12px 2px; }
.done-dot { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.done-dot svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.done strong { display: block; font-size: 1.1rem; font-weight: 600; }
.done p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .85); }

/* Beispiel-Match: schräge Karten */
.match { position: relative; justify-self: end; width: min(26.25rem, 100%); padding-bottom: 8px; }
.note {
  list-style: none;
  background: var(--white);
  color: var(--blue);
  border-radius: 6px;
  padding: 14px 18px 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 18px 36px rgba(0, 0, 0, .2);
}
.note header {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em;
  padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--blue-line);
}
.note-title { font-size: 1.12rem; line-height: 1.3; font-weight: 500; letter-spacing: -.015em; margin: 0 0 10px; color: var(--blue-ink); }
.note-meta { font-family: var(--mono); font-size: .72rem; color: var(--grey); margin: 0; }
.note-q { transform: rotate(-3.5deg); margin-right: 48px; }
.note-p { transform: rotate(2.5deg); margin-left: 56px; margin-top: -6px; }
.match-pill {
  position: relative; z-index: 5; display: table; margin: -10px auto -12px;
  transition: transform 450ms var(--ease-out);
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  background: var(--blue); color: var(--white); border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px; padding: 6px 14px;
}
@media (prefers-reduced-motion: no-preference) {
  .note-q { animation: tilt-q 900ms var(--ease-out) 150ms backwards; }
  .note-p { animation: tilt-p 900ms var(--ease-out) 300ms backwards; }
  .note { transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
  .note:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); position: relative; z-index: 3; box-shadow: 0 4px 8px rgba(0, 0, 0, .1), 0 30px 50px rgba(0, 0, 0, .26); }
  .match:has(.note:hover) .match-pill { transform: translateY(-3px) scale(1.06); }
  .match-light .note:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 22px 40px rgba(11, 13, 23, .18); }
}
@keyframes tilt-q { from { transform: rotate(0deg) translateY(10px); } to { transform: rotate(-3.5deg); } }
@keyframes tilt-p { from { transform: rotate(0deg) translateY(10px); } to { transform: rotate(2.5deg); } }

/* ---------- Ablauf ---------- */
.band-blue { position: relative; background: var(--blue); padding: clamp(56px, 8vw, 6.5rem) 0; }
.sheet { position: relative; background: var(--paper); color: var(--blue); border-radius: 28px; padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px); }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.sheet-copy { border-right: 1px solid var(--blue-line); padding-right: clamp(16px, 3vw, 40px); }
.h-xl { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.04em; margin-bottom: 32px; text-wrap: balance; }
.sheet-note { font-size: 1.05rem; line-height: 1.5; color: var(--blue-ink); max-width: 34ch; margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step { width: min(92%, 27.5rem); }
.step p { margin: 0; font-size: .96rem; color: var(--blue-ink); }
.s1 { transform: rotate(-1.5deg); }
.s2 { transform: rotate(2deg); margin-left: auto; }
.s3 { transform: rotate(-1deg); margin-left: 6%; }

/* ---------- Statement ---------- */
.statement-band { padding: clamp(72px, 10vw, 8.5rem) 0; background: var(--white); }
.statement { font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 500; margin: 0; text-wrap: pretty; }
.statement em { font-style: italic; color: var(--blue); }

/* ---------- Für wen ---------- */
.plain { background: var(--white); padding: clamp(64px, 8vw, 7rem) 0; border-top: 1px solid var(--line); }
.h-lg { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  appearance: none; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 500;
  color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.wen-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.match-light .note { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 30px rgba(11, 13, 23, .12); border: 1px solid var(--line); }
.match-light { justify-self: center; }
.match-light.swap .note-q { animation: tilt-q 700ms var(--ease-out) backwards; }
.match-light.swap .note-p { animation: tilt-p 700ms var(--ease-out) 80ms backwards; }
.role-text { font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.25; letter-spacing: -.03em; color: var(--grey); max-width: 30ch; margin: 0; }
.role-text.swap { animation: swap 500ms var(--ease-out); }
@keyframes swap { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Regeln ---------- */
.paper { background: var(--paper); padding: clamp(64px, 8vw, 7rem) 0; color: var(--blue); }
.h-giant { font-size: clamp(3.2rem, 9vw, 6rem); line-height: .95; letter-spacing: -.04em; text-align: center; margin-bottom: clamp(48px, 7vw, 96px); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.col { border-left: 1px solid var(--blue-line); padding: 4px clamp(16px, 2.4vw, 28px) 0; }
.col h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.12; margin: 0 0 10px; }
.col p { color: var(--blue-ink); margin: 0; max-width: 34ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 1.6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 1.6px 14px no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { color: var(--grey); max-width: 60ch; margin: -6px 0 22px; }

/* ---------- Schluss + Footer ---------- */
.finale {
  --focus: var(--white);
  color: var(--white);
  background:
    radial-gradient(70% 85% at 0% 100%, var(--blue) 0%, rgba(29, 54, 224, .35) 45%, transparent 75%),
    var(--ink);
}
.closing { position: relative; padding: clamp(72px, 10vw, 8.75rem) 0 clamp(64px, 8vw, 7rem); }
.h-giant.light { color: var(--white); text-align: left; margin-bottom: 14px; }
.close-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin-bottom: 32px; }
.closing .glass { max-width: 40rem; }

/* ---------- Footer ---------- */
.footer { padding: 24px 0; font-size: .86rem; color: var(--grey); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blue); }
.finale .footer { color: rgba(255, 255, 255, .8); border-top: 1px solid rgba(255, 255, 255, .14); }
.finale .footer a { color: var(--white); }
.finale .footer a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Rechtliche Seiten ---------- */
.legal-top { --focus: var(--white); background: var(--blue); color: var(--white); padding: 20px 0; }
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 28px; color: var(--blue); }
.legal h2 { font-size: 1.35rem; margin: 1.8em 0 .4em; }
.legal p { color: #3b3f4d; max-width: 68ch; }
.placeholder { background: #ffe58a; color: var(--ink); padding: 0 .3em; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-foot { grid-template-columns: 1fr; }
  .match { justify-self: start; margin-top: 8px; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-copy { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--blue-line); padding-bottom: 28px; }
  .cols { grid-template-columns: 1fr; gap: 36px; }
  .col { border-left: 0; border-top: 1px solid var(--blue-line); padding: 12px 0 0; }
  .faq { grid-template-columns: 1fr; }
  .wen-grid { grid-template-columns: 1fr; }
  .match-light { justify-self: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .pillnav a { padding: 6px 9px; font-size: .68rem; }
  .pillnav .opt { display: none; }
  .rules { display: none; }
  .hero-head { flex-direction: column; gap: 12px; margin-top: 24px; }
  .display { font-size: 3.05rem; }
  .display .l2 { padding-left: .5em; }
  .badge { margin-top: 0; padding: 7px 14px; }
  .badge > span { display: inline; }
  .hero-foot { margin-top: 22px; }
  .badge > span + span::before { content: "· "; }
  .lead { margin-bottom: 14px; }
  .lead { font-size: 1rem; margin-bottom: 16px; }
  .bar { flex-direction: column; }
  .submit { justify-content: center; }
  .more-grid { grid-template-columns: 1fr; }
  .note-q { margin-right: 24px; }
  .note-p { margin-left: 28px; }
  .step { width: 100%; }
  .s2 { margin-left: 0; }
  .s3 { margin-left: 0; }
}
