/* ─────────────────────────────────────────────
   fribi – Landing Page
   ───────────────────────────────────────────── */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.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 {
  color-scheme: light;

  --bg: #fbfbfa;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #8a8a90;
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .14);
  --fill: rgba(0, 0, 0, .045);

  /* Produktfarben (nur in den UI-Beispielen) */
  --brand: #2f5bd8;
  --brand-600: #2549b9;
  --brand-50: #e9effe;
  --teal: #0b7a6c;
  --teal-50: #dff5f0;
  --amber: #99540a;
  --amber-50: #fff1d6;

  --radius: 28px;
  --radius-stage: 40px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px -6px rgba(0, 0, 0, .10);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 14px 34px -14px rgba(0, 0, 0, .22);
  --shadow-window: 0 2px 6px rgba(20, 20, 40, .10), 0 40px 80px -24px rgba(20, 20, 60, .45);
  --shadow-float: 0 1px 2px rgba(20, 20, 40, .08), 0 18px 36px -16px rgba(20, 20, 60, .45);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
i { font-style: normal; }

h1, h2, h3 { font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 9.4vw, 5.5rem); letter-spacing: -0.05em; line-height: 1; }
h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; }
h3 { font-size: 1.3125rem; letter-spacing: -0.025em; line-height: 1.2; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hide-xs { display: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 13px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1128px; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 816px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1.0625rem; line-height: 1; letter-spacing: -0.015em; white-space: nowrap; text-decoration: none;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; gap: 0; }
.btn-dark {
  background: linear-gradient(180deg, #3c3c3f, #1d1d1f);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .25), 0 10px 22px -10px rgba(0, 0, 0, .55);
}
.btn-dark:hover { filter: brightness(1.18); }
.btn[disabled] { opacity: .6; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 6px;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em; text-decoration: none; white-space: nowrap;
}
.text-link .icon { width: 1em; height: 1em; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ── Schwebende Navigation ── */
.nav-wrap {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding-inline: 12px; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; max-width: 780px; min-height: 56px; padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -14px rgba(0, 0, 0, .2);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.125rem; font-weight: 650; letter-spacing: -0.035em; line-height: 1; text-decoration: none;
}
.brand-mark { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 1px 2px rgba(0, 0, 0, .18); flex: none; }
.nav-links { display: none; gap: 2px; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--ink-2); font-weight: 500; font-size: .875rem; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.nav-links a:hover { background: var(--fill); color: var(--ink); }

/* ── Hero ── */
.hero { position: relative; padding: 128px 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 860px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 60% at 0% 38%, rgba(170, 196, 255, .50), transparent 70%),
    radial-gradient(40% 52% at 100% 30%, rgba(255, 214, 190, .55), transparent 70%),
    radial-gradient(40% 36% at 50% 0%, rgba(214, 240, 226, .55), transparent 72%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lead {
  margin-top: 24px; max-width: 33em;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem); line-height: 1.5; letter-spacing: -0.015em; color: var(--muted);
}
.hero-actions {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 100%; margin-top: 32px;
}

/* ── Signup-Formular ── */
.signup { width: 100%; max-width: 460px; }
.signup-row { display: flex; flex-direction: column; gap: 10px; }
.signup input[type="email"] {
  width: 100%; min-height: 54px; padding: 0 22px;
  border: 0; border-radius: 999px; background: #fff;
  font-size: 1.0625rem;
  box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sm);
  transition: box-shadow .15s;
}
.signup input[type="email"]::placeholder { color: #9a9aa0; }
.signup input[type="email"]:focus { outline: none; box-shadow: 0 0 0 2px var(--ink), var(--shadow-sm); }
.signup input[aria-invalid="true"] { box-shadow: 0 0 0 2px #c2362b, var(--shadow-sm); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.signup-status { margin-top: 12px; font-size: .9375rem; font-weight: 500; text-align: center; }
.signup-status:empty { margin-top: 0; }
.signup-status.is-error { color: #b42a20; }
.signup-status small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.signup.is-done .signup-row { display: none; }
.signup.is-done .signup-status {
  margin-top: 0; padding: 16px 22px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); font-size: 1rem; font-weight: 600;
}

/* ── Bühne mit gemaltem Hintergrund ── */
.stage-wrap { width: 100%; max-width: 1288px; margin-inline: auto; padding-inline: var(--gutter); }
.hero .stage-wrap { margin-top: clamp(44px, 6vw, 64px); }
.stage {
  border-radius: clamp(24px, 4vw, var(--radius-stage));
  background-color: #b9cdf0; background-size: cover; background-position: center;
  box-shadow: 0 30px 70px -40px rgba(30, 40, 90, .55);
}
.stage-sky { background-image: url("img/sky.jpg"); padding: clamp(14px, 5.6vw, 76px) clamp(10px, calc(9vw - 28px), 100px); }
.stage-bloom { background-image: url("img/bloom.jpg"); background-color: #c5bbe6; }
.stage-night { background-image: url("img/night.jpg"); background-color: #0d1630; }

/* Produktfenster */
.window {
  max-width: 1000px; margin-inline: auto; overflow: hidden;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-window);
  letter-spacing: -0.008em;
}
.window-bar {
  position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px;
  background: #f4f4f2; border-bottom: 1px solid var(--line);
}
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.window-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: var(--ink-2);
}
.window-title .brand-mark { width: 16px; height: 16px; border-radius: 4.5px; box-shadow: none; }
.window-body { display: flex; }

.side { display: none; flex: none; width: 212px; padding: 14px 10px; background: #fafaf9; border-right: 1px solid var(--line); font-size: .875rem; }
.side-nav { display: grid; gap: 2px; }
.side-nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--ink-2); font-weight: 500; }
.side-nav li .icon { width: 17px; height: 17px; color: var(--muted); }
.side-nav li.is-active { background: var(--brand-50); color: var(--brand-600); font-weight: 600; }
.side-nav li.is-active .icon { color: var(--brand); }
.side-label { margin: 22px 10px 8px; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9a9aa0; }
.side-saved { display: grid; gap: 2px; }
.side-saved li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; color: var(--ink-2); }
.side-saved span { width: 8px; height: 8px; border-radius: 3px; background: #c9d6f7; }
.side-saved li:nth-child(2) span { background: #bfe3d2; }

.pane { flex: 1; min-width: 0; padding: 14px; }
.demo-search {
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 8px 14px;
  background: #fff; border-radius: 13px; box-shadow: 0 0 0 1.5px #cfd9f3, 0 6px 16px -10px rgba(47, 91, 216, .45);
}
.demo-search > .icon { color: var(--brand); }
.demo-query {
  flex: 1; min-width: 0; font-weight: 600; font-size: .9688rem; line-height: 1.3;
  /* zwei Zeilen reservieren, damit beim Tippen nichts springt */
  min-height: 2.6em; align-content: center;
}
#demo-text { white-space: pre-wrap; }
.caret {
  display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.18em;
  background: var(--brand); border-radius: 2px; animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.demo-understood { display: flex; flex-direction: column; gap: 8px; padding: 14px 4px 4px; min-height: 108px; }
.demo-label { flex: none; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 4px 11px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600);
  font-size: .8125rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
  transition: opacity .3s, transform .3s;
}

.offers { display: grid; gap: 8px; margin-top: 8px; }
.offer {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity .35s, transform .35s;
}
.offer.is-best { box-shadow: inset 0 0 0 1.5px rgba(11, 122, 108, .5); background: linear-gradient(90deg, #f1fbf8, #fff 60%); }
.offer-avatar {
  display: none; place-items: center; width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: #f4f4f2; color: var(--ink-2); font-weight: 700; font-size: .9375rem;
}
.offer-main { flex: 1; min-width: 0; }
.offer-merchant { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; font-size: .9688rem; line-height: 1.3; }
.offer-meta { margin-top: 2px; font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.offer-meta [data-f="cost"] { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-checked { display: block; }
.offer-total { flex: none; text-align: right; line-height: 1.15; }
.offer-total-label { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.offer-total strong { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer.is-unknown .offer-total strong { color: var(--ink-2); }

.badge {
  display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px;
  font-size: .6875rem; font-weight: 600; line-height: 1.6; letter-spacing: 0; white-space: nowrap;
}
.badge-best { background: var(--teal-50); color: var(--teal); }
.badge-warn { background: var(--amber-50); color: var(--amber); }

.pane-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ghost {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: #f4f4f2; color: var(--ink-2); font-size: .8125rem; font-weight: 600;
}
.ghost .icon { width: 14px; height: 14px; stroke-width: 2.4; }

.window .is-hidden { opacity: 0; transform: translateY(6px); }

/* Szenen-Tabs unter der Bühne */
.scene-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 40px); max-width: 752px; margin: 28px auto 0; }
.scene-tab {
  display: grid; gap: 2px; align-content: start; padding: 4px 0 0; border: 0; background: none; text-align: left; cursor: pointer;
  color: #a1a1a6; transition: color .2s;
}
.scene-tab strong { font-size: .9375rem; font-weight: 600; letter-spacing: -0.015em; }
.scene-tab span { font-size: .875rem; display: none; }
.scene-tab:hover { color: var(--ink-2); }
.scene-tab.is-active { color: var(--ink); }
.scene-tab.is-active span { color: var(--muted); }
.track { display: block; height: 2px; margin-top: 10px; border-radius: 2px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.stage-note { margin-top: 22px; text-align: center; font-size: .875rem; color: var(--faint); }

/* ── Sections ── */
.section { padding-top: clamp(88px, 12vw, 152px); }
.section-last { padding-bottom: clamp(72px, 9vw, 112px); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { margin-top: 16px; font-size: clamp(1.0625rem, 2vw, 1.1875rem); letter-spacing: -0.015em; color: var(--muted); }

/* ── Schritte ── */
.steps { display: grid; gap: 0; }
.step { padding: 28px 0; border-top: 1px solid var(--line-strong); }
.step-num { display: block; margin-bottom: 14px; font-size: .875rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.step > p, .card > p:not(.card-label), .card-copy > p:not(.card-label), .principle > p {
  margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.5; letter-spacing: -0.012em;
}

/* ── Karten ── */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.card {
  padding: 20px 20px 26px; border-radius: var(--radius); background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .02);
}
.card > h3, .card > p, .card-copy { padding-inline: 6px; }
.card-label { margin-top: 22px; font-size: .875rem; color: var(--muted); }
.card h3 { margin-top: 8px; }

.art {
  display: grid; place-items: center; min-height: 244px; padding: 18px;
  border-radius: 18px; background-size: 860px auto; background-position: center; overflow: hidden;
}
.art-sky { background-image: url("img/sky.jpg"); background-color: #b9cdf0; background-position: 20% 30%; }
.art-sky-b { background-position: 85% 15%; }
.art-sky-c { background-position: 60% 95%; }
.art-bloom { background-image: url("img/bloom.jpg"); background-color: #c5bbe6; background-position: 30% 40%; }
.art-bloom-b { background-position: 80% 70%; }

.float-card {
  width: 100%; max-width: 320px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-float);
  font-size: .8125rem; line-height: 1.35; letter-spacing: -0.005em; color: var(--ink);
}
.mini-title { font-weight: 600; font-size: .875rem; }
.mini-note { margin-top: 6px; font-size: .75rem; color: var(--muted); }

.mini-compare { padding: 6px; display: grid; gap: 4px; }
.mini-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 11px; }
.mini-offer p { display: grid; min-width: 0; }
.mini-offer strong { font-weight: 600; }
.mini-offer span { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.mini-offer em { font-style: normal; color: var(--amber); font-weight: 600; }
.mini-offer b { font-weight: 700; font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini-offer.is-best { background: #f1fbf8; box-shadow: inset 0 0 0 1.5px rgba(11, 122, 108, .45); }
.mini-offer.is-best b { color: var(--teal); }
.mini-offer.is-unknown b { color: var(--ink-2); font-weight: 600; }

.mini-list ul { margin-top: 10px; display: grid; gap: 6px; }
.mini-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; font-variant-numeric: tabular-nums; }
.mini-list li span:nth-child(2) { color: var(--muted); font-size: .75rem; }
.mini-list li strong { min-width: 5.2em; text-align: right; font-weight: 600; }
.mini-sum { display: flex; justify-content: space-between; margin: 10px 0 9px; padding-top: 10px; border-top: 1px dashed rgba(0, 0, 0, .16); font-weight: 600; }
.mini-sum strong { font-weight: 700; font-size: .9375rem; }
.meter { display: block; height: 5px; border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }

.mini-alert-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.spark { width: 100%; height: 84px; margin-top: 10px; overflow: visible; }
.spark-line { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark-area { fill: rgba(47, 91, 216, .10); stroke: none; }
.spark-target { stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.mini-alert-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: .75rem; color: var(--muted); }
.mini-target { color: var(--teal); font-weight: 600; }

.mini-feed { padding: 6px; display: grid; gap: 2px; }
.feed-item { display: flex; align-items: center; gap: 11px; padding: 8px 9px; }
.feed-item p { display: grid; min-width: 0; }
.feed-item p strong { font-weight: 600; }
.feed-item p span { color: var(--muted); font-size: .75rem; }
.feed-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; }
.feed-dot .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.feed-dot-teal { background: var(--teal-50); color: var(--teal); }
.feed-dot-amber { background: var(--amber-50); color: var(--amber); }
.feed-dot-blue { background: var(--brand-50); color: var(--brand); }

.understand { display: grid; justify-items: center; gap: 10px; width: 100%; max-width: 380px; }
.bubble {
  padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-float);
  font-size: .9375rem; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.understand-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.understand-arrow .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.understand .chips { justify-content: center; }
.understand .chip { background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 40, .08), 0 8px 18px -10px rgba(20, 20, 60, .4); }

.card-wide .card-copy .card-label { margin-top: 4px; }
.card-wide .art { margin-top: 22px; }

/* ── Cashback ── */
.cashback {
  position: relative; display: grid; gap: 32px; overflow: hidden;
  padding: clamp(28px, 6vw, 80px) clamp(20px, 6vw, 84px); color: #fff;
}
.cashback::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 12, 28, .78) 0%, rgba(8, 12, 28, .5) 55%, rgba(8, 12, 28, .1) 100%); }
.cashback > * { position: relative; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  font-size: .8125rem; font-weight: 500; color: #eef0f6;
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: #ffc24d; }
.cashback h2 { margin-top: 20px; }
.cashback-copy > p:not(.tag) { margin-top: 18px; max-width: 32em; font-size: 1.125rem; letter-spacing: -0.015em; color: rgba(255, 255, 255, .78); }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .92); line-height: 1.45; }
.ticks .icon { margin-top: 3px; color: #7fe3d1; stroke-width: 2.6; width: 1.05em; height: 1.05em; }

.cashback-card {
  align-self: center; padding: 22px; border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 40px 70px -30px rgba(0, 0, 0, .8);
}
.cashback-card-title { font-size: .6875rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.calc { margin-top: 10px; display: grid; }
.calc > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.calc dt { color: var(--ink-2); }
.calc dd { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 18px; }
.split > span { padding: 12px 10px; text-align: center; font-weight: 500; font-size: .875rem; color: #fff; line-height: 1.3; }
.split strong { display: block; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.split-you { background: var(--teal); border-radius: 13px 5px 5px 13px; }
.split-fribi { background: var(--ink); border-radius: 5px 13px 13px 5px; }
.status-flow { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: .75rem; font-weight: 600; }
.status-flow li { position: relative; flex: 1; padding: 5px 4px; border-radius: 999px; background: #f4f4f2; color: var(--ink-2); text-align: center; white-space: nowrap; }
.status-flow li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 10px; height: 2px; margin-top: -1px; background: rgba(0, 0, 0, .16); border-radius: 2px; }
.status-flow li:last-child { background: var(--teal-50); color: var(--teal); }
.cashback-note { margin-top: 16px; font-size: .78rem; line-height: 1.5; color: var(--muted); }

/* ── Prinzipien ── */
.principles { display: grid; gap: 16px; }
.principle { padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .02); }
.principle-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 12px; background: #f4f4f2; color: var(--ink); }
.principle-icon .icon { width: 20px; height: 20px; stroke-width: 1.8; }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 2px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > p { padding: 0 2px 24px; color: var(--muted); max-width: 62ch; }
.faq a, .cta-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Abschluss-CTA ── */
.cta { display: grid; place-items: center; padding: clamp(16px, 7vw, 96px) clamp(12px, 5vw, 64px); background-position: 50% 60%; }
.cta-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; max-width: 680px; padding: clamp(32px, 6vw, 60px) clamp(20px, 5vw, 56px);
  border-radius: clamp(20px, 3vw, 32px); background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 2px 6px rgba(20, 20, 40, .08), 0 40px 80px -30px rgba(40, 30, 90, .5);
}
.cta-card > p:not(.cta-legal) { margin-top: 16px; max-width: 30em; font-size: 1.125rem; letter-spacing: -0.015em; color: var(--muted); }
.cta-card .signup { margin-top: 28px; }
.cta-legal { margin-top: 16px; max-width: 34em; font-size: .8125rem; color: var(--muted); }

/* ── Footer ── */
.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 20px; }
.footer-tag { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--ink-2); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { color: var(--muted); font-size: .875rem; }

/* ── Rechtliche Unterseiten ── */
.legal { padding: 128px 0 clamp(64px, 9vw, 112px); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); letter-spacing: -0.045em; }
.legal h2 { margin-top: 40px; font-size: 1.375rem; letter-spacing: -0.025em; }
.legal p { margin-top: 14px; color: var(--muted); max-width: 65ch; }
.legal .notice { margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: var(--amber-50); color: #6b3a05; font-weight: 500; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--ink); font-weight: 600; text-decoration: none; }
.back-link .icon { transform: rotate(180deg); width: 1em; height: 1em; }

/* ── Einblenden beim Scrollen (nur mit JS und ohne reduzierte Bewegung) ── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ── Breakpoints ── */
@media (max-width: 359px) {
  .demo-search > .icon { display: none; }
  .demo-query { font-size: .875rem; }
}

@media (min-width: 400px) {
  .hide-xs { display: inline; }
}

@media (min-width: 520px) {
  .signup-row {
    flex-direction: row; gap: 0; padding: 6px; border-radius: 999px; background: #fff;
    box-shadow: 0 0 0 1px var(--line-strong), var(--shadow);
    transition: box-shadow .15s;
  }
  .signup-row:focus-within { box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
  .signup-row:has(input[aria-invalid="true"]) { box-shadow: 0 0 0 2px #c2362b, var(--shadow); }
  .signup input[type="email"],
  .signup input[type="email"]:focus,
  .signup input[aria-invalid="true"] { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px 0 18px; background: transparent; box-shadow: none; }
  .signup .btn { min-height: 46px; padding: 0 22px; font-size: 1rem; }

  .scene-tab span { display: block; }
  .pane { padding: 18px; }
  .demo-search { height: 54px; }
  .demo-query { min-height: 0; white-space: nowrap; overflow: hidden; }
  .demo-understood { flex-direction: row; align-items: center; gap: 10px; min-height: 52px; }
  .offer-avatar { display: grid; }
  .offer-meta [data-f="cost"] { display: inline; white-space: normal; }
  .offer-checked { display: inline; }
  .offer-checked::before { content: " · "; }
}

@media (min-width: 760px) {
  :root { --gutter: 28px; }
  .nav-wrap { top: 14px; }
  .hero { padding-top: 148px; }
  .hero-actions { flex-direction: row; justify-content: center; align-items: flex-start; gap: 18px; }
  .hero-actions .signup { flex: none; width: 460px; }
  .hero-actions .text-link { min-height: 58px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { padding: 24px 0 0; }
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .card { grid-column: span 2; }
  .card-wide { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: center; padding: 20px; }
  .card-wide .card-copy { padding-left: 10px; }
  .card-wide .art { margin-top: 0; height: 100%; min-height: 280px; }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-inner { grid-template-columns: 1fr auto auto; align-items: end; gap: 40px; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .side { display: block; }
  .cashback { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
}

@media (min-width: 1040px) {
  .principles { grid-template-columns: repeat(4, 1fr); }
  .principle { padding: 24px; }
}
