/* Lokalio Website v2 (Dez 2026)
   Richtung: fotogetrieben wie Airbnb, ruhige Kacheln hell/dunkel wie Apple,
   kräftige Headline + ruhiger Fließtext wie Wise. Farben: Lokalio-CI.
   Regeln: eine Akzentfarbe (Lila) für Aktionen, Gold nur für Geheimtipps,
   genau ein Schatten (unter Produktbildern), keine Verläufe, keine Deko-Rahmen. */

@font-face { font-family: "League Spartan"; src: url("fonts/league-spartan-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "League Spartan"; src: url("fonts/league-spartan-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "League Spartan"; src: url("fonts/league-spartan-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "League Spartan"; src: url("fonts/league-spartan-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "League Spartan"; src: url("fonts/league-spartan-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --canvas: #F5F4F0;
  --paper: #FFFFFF;
  --ink: #14131A;
  --ink-2: #3D3B45;
  --muted: #6B6875;
  --line: #E3E0D8;
  --night: #14131A;
  --night-2: #1F1E27;
  --on-night: #F5F4F0;
  --on-night-2: #A9A6B3;
  --purple: #7B3FE4;
  --purple-press: #6731CC;
  --purple-soft: #EDE6FC;
  --gold: #F4B63C;
  --gold-soft: #FBF0D6;
  --gold-ink: #7A5410;

  --r-card: 24px;
  --r-btn: 999px;
  --shadow-product: 0 30px 60px -20px rgba(20, 19, 26, .28), 0 12px 24px -12px rgba(20, 19, 26, .18);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 18px/1.5 "League Spartan", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.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: 100; background: var(--ink); color: var(--canvas); padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Typografie ---------- */
.display { font-weight: 800; font-size: clamp(48px, 8.4vw, 112px); line-height: .92; letter-spacing: -.045em; margin: 0; }
.h2 { text-wrap: balance; font-weight: 800; font-size: clamp(36px, 5.4vw, 72px); line-height: .96; letter-spacing: -.04em; margin: 0; }
.h3 { font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--ink-2); margin: 24px 0 0; max-width: 34ch; }
.body { color: var(--ink-2); margin: 16px 0 0; max-width: 46ch; }
.label { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 18px; }
.accent { color: var(--purple); }
.on-night { color: var(--on-night); }
.on-night .lede, .on-night .body { color: var(--on-night-2); }
.on-night .label { color: var(--on-night-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-btn);
  font-family: inherit; font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-press); }
.btn--ink { background: var(--ink); color: var(--canvas); }
.btn--ink:hover { background: #2A2833; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--purple); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-2); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav__cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nav__menu-cta { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; margin-left: auto; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 880px) {
  .nav__burger { display: block; }
  .nav__cta--desk { display: none; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--canvas); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; margin: 0;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__menu-cta { display: inline-flex; margin-top: 18px; border-bottom: 0 !important; color: #fff !important; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Abschnitte ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.tile-night { background: var(--night); color: var(--on-night); }
.tile-paper { background: var(--paper); }
.tile-purple { background: var(--purple); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 880px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.hero .display { max-width: 9ch; }
.hero__meta { margin-top: 28px; font-size: 15px; color: var(--muted); }
.phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone {
  width: min(300px, 64vw); border-radius: 46px; background: #0D0C12; padding: 9px;
  box-shadow: var(--shadow-product);
}
.phone img { border-radius: 38px; width: 100%; }
.phones .phone--back { position: absolute; top: 56px; left: 50%; transform: translateX(-92%) rotate(-5deg); width: min(268px, 56vw); opacity: .98; }
.phones .phone--front { position: relative; transform: translateX(26%) rotate(3deg); }
@media (max-width: 880px) {
  .phones { min-height: 0; margin-top: 8px; }
  .phones .phone--back { display: none; }
  .phones .phone--front { transform: none; }
}

/* ---------- Foto-Kachel ---------- */
.photo-split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(92vh, 880px); }
.photo-split__img { position: relative; overflow: hidden; background: #2a2420; }
.photo-split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.photo-split__text { display: flex; flex-direction: column; justify-content: center; padding: var(--section) var(--gutter) var(--section) clamp(32px, 6vw, 96px); }
.segments { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.segments li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.segments b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.segments span { color: var(--muted); font-size: 16px; text-align: right; }
@media (max-width: 880px) {
  .photo-split { grid-template-columns: 1fr; min-height: 0; }
  .photo-split__img { aspect-ratio: 4 / 5; }
  .photo-split__text { padding: 64px var(--gutter); }
}

/* ---------- Score ---------- */
.score-hero { text-align: center; }
.score-hero .h2 { max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.score-hero .lede { margin-left: auto; margin-right: auto; max-width: 40ch; }
.score-tile {
  display: inline-grid; place-items: center; width: clamp(150px, 18vw, 210px); aspect-ratio: 1; border-radius: 42px;
  background: var(--purple); color: #fff; font-weight: 800; font-size: clamp(84px, 10vw, 124px); letter-spacing: -.05em;
  line-height: 1; padding-top: .08em; margin: 0 auto 44px;
}
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 72px; text-align: left; }
.score-card { background: var(--night-2); border-radius: var(--r-card); padding: clamp(28px, 3vw, 40px); }
.score-card .h3 { display: flex; align-items: center; gap: 12px; }
.score-card .body { max-width: none; }
.weights { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin-top: 28px; gap: 3px; }
.weights i { display: block; height: 100%; background: var(--purple); }
.weights i:nth-child(2) { opacity: .72; }
.weights i:nth-child(3) { opacity: .5; }
.weights i:nth-child(4) { opacity: .3; }
.weights-legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--on-night-2); }
.gold-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); flex: none; }
@media (max-width: 880px) { .score-grid { grid-template-columns: 1fr; } }

/* ---------- Cashback ---------- */
.money { font-weight: 800; font-size: clamp(64px, 9vw, 128px); line-height: .9; letter-spacing: -.05em; margin: 0; }
.money small { display: block; font-size: 20px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 14px; }
.rates { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 44px; }
.rates div { padding: 22px 18px 0 0; }
.rates b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.rates span { color: var(--muted); font-size: 15px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font-weight: 700; color: var(--purple); font-size: 18px; padding-top: 2px; }
.steps b { font-weight: 700; display: block; font-size: 19px; }
.steps span { color: var(--ink-2); font-size: 16px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 22px; max-width: 52ch; }

/* ---------- Plus ---------- */
.plus-card { background: var(--night); color: var(--on-night); border-radius: 32px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); }
.plus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.plus-list li { padding: 18px 0; border-top: 1px solid rgba(245, 244, 240, .14); }
.plus-list b { display: block; font-size: 18px; font-weight: 700; }
.plus-list span { color: var(--on-night-2); font-size: 15px; }
.plus-card .lede { color: var(--on-night-2); }
.badge-plus { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .06em; padding: 7px 12px 5px; border-radius: 8px; }
@media (max-width: 880px) { .plus-card { grid-template-columns: 1fr; } .plus-list { grid-template-columns: 1fr; } }

/* ---------- Partner-Band ---------- */
.band { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; }
.band .h2 { max-width: 12ch; }
.band .lede { color: rgba(255, 255, 255, .82); }

/* ---------- Download ---------- */
.download { text-align: center; }
.download .h2 { max-width: 12ch; margin: 0 auto; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 190px; min-height: 60px; padding: 8px 22px; border-radius: 16px; background: var(--ink); color: var(--canvas); text-decoration: none; }
.store small { font-size: 12px; color: var(--on-night-2); }
.store b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer__brand p { color: var(--muted); max-width: 30ch; margin: 16px 0 0; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.footer__col a { color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.footer__bottom a { color: var(--muted); }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Einblenden (nur wenn Bewegung erlaubt) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
}


/* =====================================================================
   Unterseiten (Dez 2026): Cashback, Partner, Hilfe, Rechtliches.
   Gleiche Regeln wie oben: keine Icons-in-Kacheln, keine Kicker-Pillen,
   Haarlinien statt Karten-Rahmen, Schatten nur unter Produktbildern.
   ===================================================================== */

/* ---------- Unterseiten: gemeinsam ---------- */
button, input, textarea, select { font: inherit; color: inherit; }
section[id], [id].legal__block { scroll-margin-top: 84px; }
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow-x: clip; }
.page-hero .display { max-width: 10ch; }
.page-hero--text .display { max-width: 12ch; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { max-width: 40ch; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn--block { width: 100%; }

/* Ruhiges Raster aus Textblöcken mit Haarlinie (statt Icon-Karten) */
.facts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.5vw, 56px); }
.facts-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts-grid > li { padding: 24px 0 36px; border-top: 1px solid var(--line); }
.facts-grid h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin: 0; }
.facts-grid p { margin: 8px 0 0; color: var(--ink-2); font-size: 17px; }
.on-night .facts-grid > li { border-top-color: rgba(245, 244, 240, .16); }
.on-night .facts-grid p { color: var(--on-night-2); }
@media (max-width: 880px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .facts-grid, .facts-grid--2 { grid-template-columns: 1fr; } .facts-grid > li { padding-bottom: 28px; } }

/* FAQ-Akkordeon (Logik in lokalio.js über [data-accordion]) */
.faq-list { max-width: 820px; border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq[hidden] { display: none; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-weight: 600; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink);
}
.faq__icon { display: block; flex: none; width: 22px; height: 22px; color: var(--ink-2); transition: transform .2s ease; }
.faq__icon svg { width: 100%; height: 100%; display: block; }
.faq__a { display: none; padding: 0 48px 28px 0; color: var(--ink-2); max-width: 64ch; }
.faq__a a { color: var(--purple); }
.faq.is-open .faq__a { display: block; }
.faq.is-open .faq__icon { transform: rotate(45deg); }

/* Kontaktformulare (Logik in lokalio.js über [data-contact-form]) */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.input {
  display: block; width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.4;
}
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus { border-color: var(--purple); }
textarea.input { min-height: 140px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__error { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--purple-soft); color: var(--ink); font-size: 15px; font-weight: 600; }
.form__error[hidden], .form__success[hidden] { display: none; }
.form__success { background: var(--paper); border-radius: var(--r-card); padding: clamp(28px, 4vw, 44px); }
.form__success .lede { margin-top: 12px; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Seite: Cashback ---------- */
.rates--big { margin-top: clamp(48px, 6vw, 80px); border-top-color: rgba(245, 244, 240, .16); }
.rates--big div { padding: 28px 16px 0 0; }
.rates--big b { font-size: clamp(48px, 9vw, 120px); line-height: .9; letter-spacing: -.05em; }
.rates--big span { display: block; margin-top: 14px; font-size: clamp(15px, 1.4vw, 18px); color: var(--on-night-2); }
.calc { background: var(--paper); border-radius: var(--r-card); padding: clamp(28px, 4vw, 48px); }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--ink-2); font-size: 17px; }
.calc__row b { color: var(--ink); font-size: 20px; white-space: nowrap; }
.calc input[type="range"] { display: block; width: 100%; height: 32px; margin: 10px 0 26px; accent-color: var(--purple); cursor: pointer; }
.calc__result { border-top: 1px solid var(--line); padding-top: 28px; }
.calc__result .money small { font-size: 17px; }
.calc__plus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.calc__plus b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.calc__plus > div > span { color: var(--muted); font-size: 15px; }

/* ---------- Seite: Partner ---------- */
.tier-v { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 8px 0 20px; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-card); padding: clamp(28px, 4vw, 52px); }
.product .lede { max-width: none; font-size: clamp(18px, 1.5vw, 20px); }
.product__list { list-style: none; margin: 28px 0 0; padding: 0; }
.product__list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 17px; }
.product__meta { margin: auto 0 0; padding-top: 28px; font-size: 15px; color: var(--muted); }
.product__meta .btn { margin-top: 18px; }
@media (max-width: 880px) { .products { grid-template-columns: 1fr; } }

/* ---------- Seite: Hilfe ---------- */
.faq-filter { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0 0 16px; }
.faq-filter button { min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 17px; color: var(--muted); }
.faq-filter button:hover { color: var(--ink); }
.faq-filter button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.aside-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.aside-note .body { max-width: 44ch; }

/* ---------- Seite: Rechtliches und Datenschutz (Text aus /api/legal, gerendert von legal-render.js) ---------- */
.legal { padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.legal__wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal__meta { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.legal__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.legal__nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.legal__nav a:hover, .legal__nav a[aria-current="page"] { color: var(--ink); }
.legal__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.legal__section { padding-top: clamp(48px, 6vw, 72px); }
.legal__section > .h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.legal__mount { overflow-wrap: anywhere; }
.legal__block { padding-top: 32px; }
.legal__block h2 { font-size: 23px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; margin: 0 0 12px; }
.legal__block h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 24px 0 8px; }
.legal__block p, .legal__block li { font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.legal__block p { margin: 0 0 16px; }
.legal__block ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal__block li { margin: 0 0 8px; padding-left: 4px; }
.legal__block li::marker { color: var(--muted); }
.legal__block strong { color: var(--ink); font-weight: 600; }
.legal__block a { color: var(--purple); text-underline-offset: 3px; }
.legal__block--muted p { color: var(--muted); }
.legal__table { overflow-x: auto; margin: 4px 0 20px; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); overflow-wrap: normal; }
.legal__table th { color: var(--ink); font-weight: 700; }

/* ---------- Gerät mit echtem iPhone-Rahmen (Bild) ---------- */
.device { display: flex; justify-content: center; }
.device { --phone: min(340px, 60vw); }
/* Das Rahmenbild ist 1517 px breit, das Handy darin 960 px (Rest = weicher Schatten).
   Breite so rechnen, dass das Handy 340 px groß ist; der Schatten darf über die Spalte hinausragen. */
/* Stehendes iPhone: PNG 3840×2160 mit viel Rand, Handy 676 px breit (x 1582–2258, y 389–1772).
   Bildbreite so, dass das Handy --phone breit ist; negative Ränder lassen nur das Handy Platz belegen,
   der Schatten liegt frei darüber. */
.device .mock { --w: calc(var(--phone) * 5.6805); width: var(--w); max-width: none; flex: none;
  margin: calc(var(--w) * -0.101302) calc(var(--w) * -0.411979) calc(var(--w) * -0.101042) calc(var(--w) * -0.411979); }
.section { overflow-x: clip; }

/* Header: zwei schwebende iPhones (Rahmenbild mit eigenem Schatten, transparenter Rand) */
.hero-devices { position: relative; display: flex; justify-content: flex-end; align-items: flex-start; min-height: 600px; }
.hero-devices img { height: auto; }
/* rechte Gerätekante bündig mit dem Seitenrand (= „App laden“-Knopf); 10,7 % = Schattenrand rechts in der PNG */
.hero-devices__front { position: relative; z-index: 2; width: min(400px, 100%); transform: translateX(7%) rotate(3deg); }
/* gleicher Abstand wie zuvor: rechte Kante des hinteren iPhones ~ halbe Gerätebreite links vom vorderen */
.hero-devices__back { position: absolute; z-index: 1; top: 70px; left: auto; right: calc(min(400px, 100%) * 0.5); width: min(360px, 88%); transform: rotate(-6deg); }
@media (max-width: 880px) {
  .hero-devices { min-height: 0; }
  .hero-devices__back { display: none; }
  .hero-devices__front { transform: none; width: min(380px, 96vw); }
}

/* iPhone-Mockup: Rahmen-PNG unverändert obenauf, Screenshot darunter im Bildschirmausschnitt.
   Prozentwerte = Bildschirmfläche in der jeweiligen PNG (nachgemessen). */
.mock { position: relative; }
.mock__frame { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; }
.mock__screen { position: absolute; z-index: 1; object-fit: cover; object-position: top center; }
.mock--stand .mock__screen { left: 42.0313%; top: 19.3056%; width: 15.9375%; height: 61.3889%; border-radius: 3.2% / 3.3%; }
.mock--float .mock__screen { left: 14.8438%; top: 7.0429%; width: 70.8333%; height: 85.3835%; border-radius: 12% / 5.5%; }

/* Das hintere Header-iPhone liegt absolut hinter dem vorderen (.mock setzt sonst position: relative). */
.hero-devices .hero-devices__back { position: absolute; }

/* Schmalere Desktop-Fenster: beide iPhones etwas kleiner, gleicher Abstand – sonst rückt das hintere ans „gut“. */
@media (min-width: 881px) and (max-width: 1140px) {
  .hero-devices__front { width: min(340px, 100%); }
  .hero-devices__back { width: min(300px, 88%); right: calc(min(340px, 100%) * 0.5); }
}
/* Der durchsichtige Rand der PNG darf über den Fensterrand reichen, ohne seitliches Scrollen. */
.hero { overflow-x: clip; }

/* Startseite: Partner-Band mit Karte statt einzelnem Knopf */
.partner-band { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.partner-band .h2 { max-width: 11ch; }
.partner-band .lede { color: rgba(255, 255, 255, .86); max-width: 30ch; }
.partner-card { background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -24px rgba(20, 19, 26, .45); }
.partner-card__list { list-style: none; margin: 0; padding: 0; }
.partner-card__list li { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.partner-card__list li:first-child { padding-top: 0; }
.partner-card__list b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--purple); line-height: 1.1; }
.partner-card__list span { font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.partner-card__cta { width: 100%; margin-top: 26px; min-height: 56px; font-size: 18px; }
.partner-card__more { display: block; text-align: center; margin-top: 16px; font-size: 15px; }
@media (max-width: 880px) {
  .partner-band { grid-template-columns: 1fr; }
  .partner-card__list li { grid-template-columns: 1fr; gap: 4px; }
}
