/* Produktseite von PlanAi. Farben und Lage-Töne folgen der eingebetteten App
   (frontend/src/einbettung/app.css), damit Seite und App wie aus einem Guss
   wirken. Eigene Zutat ist nur das Morgenrot: PlanAi ist das Briefing, das
   morgens bereitliegt. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("schriften/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("schriften/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Source Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("schriften/source-serif-4-400-italic.woff2") format("woff2");
}

:root {
  --text: #1d1b2c;
  --text-schwach: #5b5970;
  --text-leise: #8b8a9b;
  --grund: #ffffff;
  --grund-grau: #f6f5fb;
  --karte: #ffffff;
  --linie: #e9e7f2;
  --akzent: #6352f5;
  --akzent-tief: #4c3bd9;
  --akzent-hell: #eceafe;
  --dunkel: #13111f;
  --dunkel-karte: #1d1a2e;

  --dringend: #e0323c;
  --dringend-hell: #feeceb;
  --bestellen: #f0a30a;
  --bestellen-hell: #fff3d6;
  --ok: #2c9a64;
  --ok-hell: #e2f6ea;

  --morgen-a: #ffd9c2;
  --morgen-b: #e8dcff;
  --morgen-c: #c9c1ff;

  --schatten: 0 1px 2px rgba(29, 27, 44, 0.06), 0 12px 32px -8px rgba(76, 59, 217, 0.18);
  --schatten-gross: 0 2px 4px rgba(29, 27, 44, 0.05), 0 40px 80px -20px rgba(76, 59, 217, 0.35);
  --radius: 18px;
  --rahmen: 1160px;
  --kopf-hoehe: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f1f0f8;
    --text-schwach: #b2b0c6;
    --text-leise: #807e96;
    --grund: #0f0e18;
    --grund-grau: #151321;
    --karte: #1b192a;
    --linie: #2b2840;
    --akzent: #8d80ff;
    --akzent-tief: #7466f7;
    --akzent-hell: #262250;
    --dunkel: #08070f;
    --dunkel-karte: #171527;
    --dringend-hell: #3a1a1e;
    --bestellen-hell: #3a2e12;
    --ok-hell: #13301f;
    --morgen-a: #4a2a3a;
    --morgen-b: #2a2150;
    --morgen-c: #3a2f80;
    --schatten: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -8px rgba(0, 0, 0, 0.6);
    --schatten-gross: 0 2px 4px rgba(0, 0, 0, 0.4), 0 40px 80px -20px rgba(0, 0, 0, 0.75);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.rahmen { width: min(var(--rahmen), 100% - 32px); margin-inline: auto; }

/* --- Fortschritt und Kopf ------------------------------------------------ */

.fortschritt { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.fortschritt span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, #ff9f7a, var(--akzent) 60%, var(--akzent-tief));
  transform: scaleX(var(--fortschritt, 0)); transform-origin: 0 50%;
}

.kopf {
  position: sticky; top: 0; z-index: 50;
  height: var(--kopf-hoehe);
  background: color-mix(in srgb, var(--grund) 72%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 32px; }
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.marke-icon { width: 30px; height: 30px; }
.navi { display: flex; gap: 28px; margin-left: auto; }
.navi a { text-decoration: none; color: var(--text-schwach); font-size: 15px; font-weight: 500; }
.navi a:hover { color: var(--text); }

/* --- Knöpfe ----------------------------------------------------------------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(180deg, #7466f7, var(--akzent-tief));
  color: #fff;
  font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(76, 59, 217, 0.55);
  transition: transform 0.15s, box-shadow 0.15s;
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 26px -6px rgba(76, 59, 217, 0.65); }
.knopf:focus-visible, .navi a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--akzent) 45%, transparent); outline-offset: 3px; }
.knopf-klein { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.knopf-leise { background: var(--karte); color: var(--text); box-shadow: inset 0 0 0 1px var(--linie), 0 1px 2px rgba(0, 0, 0, 0.04); }
.knopf-leise:hover { box-shadow: inset 0 0 0 1px var(--akzent), 0 4px 12px -4px rgba(76, 59, 217, 0.25); }
.knopf-dunkel { background: #303030; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset; padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.knopf-dunkel:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 6px 14px -4px rgba(0, 0, 0, 0.4); }
.knopf-dunkel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.knopf-hell { background: #fff; color: var(--akzent-tief); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45); }
.knopf-voll { width: 100%; }

/* --- Hero --------------------------------------------------------------------- */

.hero { position: relative; padding: 72px 0 96px; isolation: isolate; }
.morgenrot {
  position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, var(--morgen-c), transparent 70%),
    radial-gradient(45% 45% at 62% 70%, var(--morgen-a), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, var(--morgen-b), transparent 70%);
  opacity: 0.85;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-raster { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }

.hinweis-pille {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--karte) 75%, transparent);
  box-shadow: inset 0 0 0 1px var(--linie);
  font-size: 14px; font-weight: 500; color: var(--text-schwach);
  margin-bottom: 24px;
}
.punkt-live, .punkt-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.punkt-live { box-shadow: 0 0 0 0 rgba(44, 154, 100, 0.5); animation: puls 2.2s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 8px rgba(44, 154, 100, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 154, 100, 0); } }

.hero h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 .betont { color: var(--akzent); }
.hero-unter { margin-top: 24px; font-size: 19px; color: var(--text-schwach); max-width: 34em; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-fakten { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--text-schwach); }
.hero-fakten li { display: inline-flex; align-items: center; gap: 7px; }
.hero-fakten svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Die Briefing-Karte: nachgebaut aus der App-Übersicht, nicht als Bild,
   damit sie scharf bleibt und der Bestelltext echt erzeugt werden kann. */
.hero-bild { position: relative; }
.briefing {
  position: relative;
  background: var(--karte);
  border-radius: 20px;
  box-shadow: var(--schatten-gross), inset 0 0 0 1px var(--linie);
  padding: 22px;
  font-size: 14px;
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}
.hero-bild:hover .briefing { transform: none; }
.briefing-leiste { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-leise); padding-bottom: 16px; border-bottom: 1px solid var(--linie); }
.briefing-zeit { font-weight: 600; color: var(--text-schwach); }
.briefing-sync { display: inline-flex; align-items: center; gap: 6px; }
.briefing-titel { display: flex; gap: 14px; align-items: center; margin: 18px 0 16px; }
.warn-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--dringend-hell); display: grid; place-items: center; flex: none; }
.warn-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--dringend); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.briefing h2 { font-size: 21px; letter-spacing: -0.02em; }
.briefing-titel p { color: var(--text-schwach); font-size: 14px; margin-top: 2px; }

.verteilung { display: flex; gap: 4px; height: 8px; margin-bottom: 8px; }
.verteilung span { flex: var(--anteil); border-radius: 99px; transform-origin: 0 50%; animation: wachsen 0.9s cubic-bezier(.2, .7, .2, 1) both 0.3s; }
.v-dringend { background: var(--dringend); }
.v-bestellen { background: var(--bestellen); }
.v-ok { background: var(--ok); }
@keyframes wachsen { from { transform: scaleX(0); } }

.briefing-liste { list-style: none; margin: 10px -22px 0; padding: 0; }
.briefing-liste li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 11px 22px; border-top: 1px solid var(--linie);
  animation: einrutschen 0.6s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(0.5s + var(--i) * 0.12s);
}
@keyframes einrutschen { from { opacity: 0; transform: translateY(8px); } }
.lage-punkt { width: 10px; height: 10px; border-radius: 50%; }
.lage-dringend .lage-punkt { background: var(--dringend); box-shadow: 0 0 0 4px var(--dringend-hell); }
.lage-bestellen .lage-punkt { background: var(--bestellen); box-shadow: 0 0 0 4px var(--bestellen-hell); }
.artikel { display: grid; min-width: 0; }
.artikel b { font-weight: 600; }
.artikel small, .menge small { color: var(--text-leise); font-size: 12.5px; }
.menge { text-align: right; display: grid; }
.menge b { font-size: 18px; font-variant-numeric: tabular-nums; }

.briefing-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -22px -22px; padding: 14px 22px; border-top: 1px solid var(--linie); background: var(--grund-grau); border-radius: 0 0 20px 20px; }
.briefing-notiz { font-size: 12px; color: var(--text-leise); }
.bestelltext {
  margin: 22px -22px -22px; padding: 18px 22px;
  background: #1b1930; color: #e7e4ff;
  font: 12.5px/1.55 ui-monospace, "SF Mono", Menlo, monospace;
  white-space: pre-wrap; border-radius: 0 0 20px 20px;
  max-height: 340px; overflow: auto;
}
.briefing:has(.bestelltext:not([hidden])) .briefing-fuss { border-radius: 0; }
.tippt::after { content: "▍"; animation: blinken 0.9s steps(1) infinite; color: var(--akzent); }
@keyframes blinken { 50% { opacity: 0; } }

.schwebe {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: var(--karte); box-shadow: var(--schatten), inset 0 0 0 1px var(--linie);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  animation: schweben 6s ease-in-out infinite;
}
.schwebe-a { top: -22px; right: 24px; }
.schwebe-b { bottom: -20px; left: -36px; animation-delay: -3s; }
@keyframes schweben { 50% { transform: translateY(-8px); } }
.hero-bild:has(.bestelltext:not([hidden])) .schwebe-b { opacity: 0; transition: opacity 0.3s; }

/* --- Abschnitte allgemein ---------------------------------------------------- */

.abschnitt { padding: 112px 0; }
.abschnitt-grau { background: var(--grund-grau); }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--akzent); margin-bottom: 16px; }
.kicker-hell { color: #b3aaff; }
.gross { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.032em; max-width: 18em; }
.zentriert { text-align: center; margin-inline: auto; }
.einleitung { margin-top: 20px; color: var(--text-schwach); font-size: 18px; max-width: 32em; }

/* --- Problem --------------------------------------------------------------------- */

.problem { padding-top: 64px; }
.karten-drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.schmerz { padding: 30px; border-radius: var(--radius); background: var(--grund-grau); border-top: 3px solid var(--akzent); }
.schmerz h3 { font-size: 20px; margin: 0 0 10px; }
.schmerz p { color: var(--text-schwach); font-size: 16px; }

/* --- Ablauf -------------------------------------------------------------------------- */

.ablauf { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: schritt; position: relative; }
.ablauf::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--akzent-hell), var(--akzent), var(--akzent-hell)); }
.schritt { position: relative; padding-top: 68px; counter-increment: schritt; }
.schritt::before {
  content: counter(schritt); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--karte); color: var(--akzent); font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--akzent), 0 0 0 8px var(--grund);
}
.schritt-zeit { font-size: 13px; font-weight: 600; color: var(--akzent); text-transform: uppercase; letter-spacing: 0.06em; }
.schritt h3 { font-size: 22px; margin: 8px 0 10px; }
.schritt p { color: var(--text-schwach); font-size: 16px; max-width: 22em; }

/* --- Funktionen (Bento) ------------------------------------------------------------------ */

.bildschirm { margin: 52px 0 0; }
.bildschirm img { width: 100%; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--linie), var(--schatten); background: #f1f1f1; }
.bildschirm figcaption { margin-top: 12px; font-size: 14px; color: var(--text-leise); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.kachel { background: var(--karte); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1px var(--linie); display: flex; flex-direction: column; gap: 10px; transition: transform 0.25s, box-shadow 0.25s; }
.kachel:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--linie), var(--schatten); }
.kachel h3 { font-size: 19px; letter-spacing: -0.015em; }
.kachel p { color: var(--text-schwach); font-size: 15.5px; }
.kachel-breit { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.mini-tabelle { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 14px; align-items: center; font-size: 14px; padding: 18px; border-radius: 14px; background: var(--grund-grau); }
.mini-tabelle b { font-variant-numeric: tabular-nums; }
.m-badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 8px; }
.m-dringend { background: var(--dringend-hell); color: var(--dringend); }
.m-bestellen { background: var(--bestellen-hell); color: #a86d00; }
.m-ok { background: var(--ok-hell); color: var(--ok); }
@media (prefers-color-scheme: dark) { .m-bestellen { color: var(--bestellen); } }
.nachtlauf { list-style: none; margin: 0; padding: 18px; border-radius: 14px; background: var(--grund-grau); display: grid; gap: 12px; font-size: 14px; }
.nachtlauf li { display: flex; align-items: center; gap: 12px; color: var(--text-schwach); }
.nachtlauf li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--ok-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232c9a64' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.nachtlauf time { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.nachtlauf-fertig { color: var(--text) !important; font-weight: 600; }
.mini-kurve { margin-top: auto; width: 100%; height: auto; }
.mini-kurve path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.k-ist { stroke: var(--akzent); }
.k-prog { stroke: var(--akzent); stroke-dasharray: 2 7; opacity: 0.7; }
.k-heute { stroke: var(--linie); stroke-width: 2; stroke-dasharray: 3 4; }

/* --- Verlässlichkeit ------------------------------------------------------------------------ */

.dunkel { background: var(--dunkel); color: #f1f0f8; position: relative; overflow: hidden; }
.dunkel::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(99, 82, 245, 0.35), transparent 65%); pointer-events: none; }
.verl-raster { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; position: relative; }
.verl-text { margin-top: 22px; color: #bcb9d4; font-size: 18px; max-width: 33em; }
.verl-text strong { color: #fff; }
.ruecktest { background: var(--dunkel-karte); border-radius: 22px; padding: 36px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); display: grid; gap: 30px; justify-items: center; }
.ring {
  --gefuellt: 0;
  width: 190px; height: 190px; border-radius: 50%;
  background: conic-gradient(#8d80ff calc(var(--gefuellt) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: grid; place-items: center;
  transition: --gefuellt 1.6s cubic-bezier(.2, .7, .2, 1);
}
@property --gefuellt { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring.ist-sichtbar { --gefuellt: var(--wert); }
.ring > span { width: 152px; height: 152px; border-radius: 50%; background: var(--dunkel-karte); display: grid; place-content: center; text-align: center; }
.ring b { font-size: 30px; letter-spacing: -0.02em; }
.ring small { color: #9f9cba; font-size: 13px; }
.bloecke { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; height: 110px; width: 100%; }
.bloecke li { height: calc(var(--h) * 1%); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #4fd394, #2c9a64); transform-origin: bottom; transform: scaleY(0); transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.bloecke li.knapp { background: linear-gradient(180deg, #ffc24d, #f0a30a); }
.ruecktest.ist-sichtbar .bloecke li { transform: none; }
.ruecktest.ist-sichtbar .bloecke li:nth-child(2) { transition-delay: 0.08s; }
.ruecktest.ist-sichtbar .bloecke li:nth-child(3) { transition-delay: 0.16s; }
.ruecktest.ist-sichtbar .bloecke li:nth-child(4) { transition-delay: 0.24s; }
.ruecktest.ist-sichtbar .bloecke li:nth-child(5) { transition-delay: 0.32s; }
.ruecktest.ist-sichtbar .bloecke li:nth-child(6) { transition-delay: 0.40s; }
.ruecktest.ist-sichtbar .bloecke li:nth-child(7) { transition-delay: 0.48s; }
.ruecktest.ist-sichtbar .bloecke li:nth-child(8) { transition-delay: 0.56s; }
.ruecktest-legende { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; font-size: 13px; color: #bcb9d4; }
.ruecktest-legende em { flex-basis: 100%; text-align: center; color: #807e96; font-style: normal; font-size: 12px; }
.l-ok, .l-knapp { width: 10px; height: 10px; border-radius: 3px; background: #2c9a64; display: inline-block; }
.l-knapp { background: #f0a30a; margin-left: 8px; }

/* --- Rechner ----------------------------------------------------------------------------------- */

.rechner-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.regler { display: grid; gap: 26px; margin-top: 40px; }
.regler label { display: grid; gap: 10px; }
.regler label > span { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; font-weight: 500; }
.regler output { font-weight: 700; color: var(--akzent); font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; margin: 0;
  background: linear-gradient(90deg, var(--akzent) var(--stand, 50%), var(--linie) var(--stand, 50%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--akzent), 0 3px 8px rgba(76, 59, 217, 0.35); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--akzent), 0 3px 8px rgba(76, 59, 217, 0.35); }

.ergebnis { position: sticky; top: calc(var(--kopf-hoehe) + 24px); background: var(--karte); border-radius: 22px; padding: 34px; box-shadow: var(--schatten-gross), inset 0 0 0 1px var(--linie); display: grid; gap: 22px; }
.ergebnis-titel { color: var(--text-schwach); font-weight: 500; }
.ergebnis-zahl { font-size: clamp(44px, 5vw, 60px); font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: -10px; }
.ergebnis-teile { margin: 0; display: grid; gap: 10px; padding: 18px 0; border-block: 1px solid var(--linie); }
.ergebnis-teile div { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; }
.ergebnis-teile dt { color: var(--text-schwach); }
.ergebnis-teile dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ergebnis-vergleich { display: grid; padding: 18px 20px; border-radius: 14px; background: var(--akzent-hell); }
.ergebnis-vergleich span { font-size: 13px; font-weight: 600; color: var(--akzent); text-transform: uppercase; letter-spacing: 0.06em; }
.ergebnis-vergleich b { font-size: 24px; letter-spacing: -0.02em; }
.ergebnis-vergleich small { color: var(--text-schwach); font-size: 14px; }

/* --- Preis -------------------------------------------------------------------------------------------- */

.preis-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-top: 52px; }
.preis-karte { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--karte); border-radius: 22px; padding: 32px; box-shadow: inset 0 0 0 1px var(--linie); }
.preis-empfohlen { box-shadow: inset 0 0 0 2px var(--akzent), var(--schatten-gross); transform: translateY(-12px); }
.js .preis-raster .preis-empfohlen.ist-sichtbar { transform: translateY(-12px); }
.preis-band { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 99px; background: var(--akzent); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.preis-name { font-weight: 700; font-size: 20px; }
.preis-fuer { color: var(--text-schwach); font-size: 15px; min-height: 3.2em; }
.preis-alt { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-leise); }
.preis-alt span { padding: 2px 9px; border-radius: 99px; background: var(--ok-hell); color: var(--ok); font-size: 12.5px; font-weight: 700; }
.beta-hinweis { margin: 22px auto 0; width: fit-content; max-width: 100%; padding: 10px 18px; border-radius: 99px; background: var(--ok-hell); color: var(--text); font-size: 15px; text-align: center; }
.beta-hinweis b { color: var(--ok); }
.preis-betrag { margin: 4px 0 18px; display: flex; align-items: baseline; gap: 8px; }
.preis-betrag b { font-size: 52px; letter-spacing: -0.04em; line-height: 1; }
.preis-betrag span { color: var(--text-schwach); }
.ust-hinweis { margin: -10px 0 16px; font-size: 13px; color: var(--text-schwach); }
.preis-liste { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.preis-liste li { display: flex; gap: 12px; font-size: 15.5px; }
.preis-liste li b { font-weight: 600; }
.preis-liste li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--akzent-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%236352f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.preis-alle { margin: 40px auto 0; max-width: 920px; padding: 22px 28px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--linie); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.preis-alle p { font-weight: 600; }
.preis-alle ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--text-schwach); }
.preis-alle li { display: flex; align-items: center; gap: 7px; }
.preis-alle li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--akzent); }
.preis-klein { margin: 24px auto 0; max-width: 40em; font-size: 14px; color: var(--text-leise); text-align: center; }
#preis .einleitung { margin-top: 18px; }

/* --- Deutschland ---------------------------------------------------------------------------------------- */

.de-raster { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.de-raster .einleitung + .einleitung { margin-top: 14px; }
.de-karte { position: relative; overflow: hidden; background: var(--karte); border-radius: 22px; padding: 34px 32px 26px; box-shadow: var(--schatten-gross), inset 0 0 0 1px var(--linie); }
.de-titel { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); }
.de-land { display: flex; align-items: center; gap: 14px; font-size: 40px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; margin-top: 4px; }
/* Einmal die Flagge, klein und sauber neben dem Wort. Feine Kontur, damit
   der schwarze Streifen auch im Dunkelmodus sichtbar bleibt. */
.de-flagge { display: grid; grid-template-rows: repeat(3, 1fr); width: 42px; height: 28px; flex: none; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px var(--linie); }
.de-flagge span:nth-child(1) { background: #000; }
.de-flagge span:nth-child(2) { background: #dd0000; }
.de-flagge span:nth-child(3) { background: #ffce00; }
.de-liste { margin: 22px 0 0; display: grid; }
.de-liste div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--linie); font-size: 15px; }
.de-liste dt { color: var(--text-leise); font-weight: 500; }
.de-liste dd { margin: 0; font-weight: 500; }

/* --- Gründer ----------------------------------------------------------------------------------------------- */

.gruender { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; max-width: 960px; }
.gruender img { width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: var(--schatten-gross); }
.gruender blockquote { margin: 0; font-family: "Source Serif", Georgia, serif; font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; letter-spacing: -0.01em; }
.gruender-name { margin-top: 20px; }
.gruender-text { margin-top: 6px; color: var(--text-schwach); font-size: 16px; }

/* --- FAQ ------------------------------------------------------------------------------------------------------ */

.faq-raster { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--text-leise); border-bottom: 2px solid var(--text-leise); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: var(--text-schwach); }

/* --- Schluss mit Anfrage --------------------------------------------------------------------------------------- */

#beta { padding-top: 0; }
.schluss {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 64px;
  background: linear-gradient(150deg, #2a1f7a, #4c3bd9 55%, #7466f7); color: #fff;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.morgenrot-schluss { inset: auto -10% -60% -10%; height: 120%; opacity: 0.9; background: radial-gradient(50% 50% at 30% 100%, rgba(255, 159, 122, 0.8), transparent 70%); mask-image: none; -webkit-mask-image: none; }
.schluss h2 { font-size: clamp(32px, 3.8vw, 48px); letter-spacing: -0.035em; }
.schluss-text > p:not(.kicker) { margin-top: 18px; color: rgba(255, 255, 255, 0.82); font-size: 18px; max-width: 30em; }
.schluss-punkte { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: rgba(255, 255, 255, 0.9); }
.schluss-punkte li { display: flex; align-items: center; gap: 10px; }
.schluss-punkte li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Das Formular ist eine helle bzw. dunkle Karte auf dem violetten Grund. */
.anfrage, .anfrage-fertig { background: var(--karte); color: var(--text); border-radius: 22px; padding: 30px; box-shadow: 0 30px 60px -20px rgba(10, 5, 40, 0.5); }
.anfrage { display: grid; gap: 16px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.feld small { font-weight: 400; color: var(--text-leise); }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 0;
  background: var(--grund-grau); color: var(--text); font: inherit; font-size: 15.5px; font-weight: 400;
  box-shadow: inset 0 0 0 1px var(--linie);
}
.feld textarea { resize: vertical; min-height: 84px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--akzent); background: var(--karte); }
.feld input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--dringend); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.anfrage-fehler { font-size: 14.5px; color: var(--dringend); font-weight: 500; }
.anfrage .knopf[disabled] { opacity: 0.7; cursor: progress; }
.anfrage-klein { font-size: 13px; color: var(--text-leise); }
.anfrage-klein a { color: var(--text-schwach); }

.anfrage-fertig { display: grid; gap: 14px; outline: none; }
.anfrage[hidden], .anfrage-fertig[hidden] { display: none; }
.anfrage-fertig h3 { font-size: 24px; }
.anfrage-fertig p { color: var(--text-schwach); }
.anfrage-aktionen { display: flex; flex-wrap: wrap; gap: 10px; }
.anfrage-aktionen:empty { display: none; }

/* --- Fuß ------------------------------------------------------------------------------------------------------------ */

.fuss { padding: 40px 0 48px; font-size: 14px; color: var(--text-leise); }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.fuss nav { display: flex; gap: 22px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--text); }

/* --- Einblenden beim Scrollen. Ohne JavaScript bleibt alles sichtbar. -------------------------------- */

.js [data-zeigen] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.js [data-zeigen].ist-sichtbar { opacity: 1; transform: none; }
.js .bento [data-zeigen]:nth-child(2), .js .ablauf [data-zeigen]:nth-child(2) { transition-delay: 0.1s; }
.js .bento [data-zeigen]:nth-child(3), .js .ablauf [data-zeigen]:nth-child(3) { transition-delay: 0.2s; }
.js .bento [data-zeigen]:nth-child(4) { transition-delay: 0.1s; }
.js .bento [data-zeigen]:nth-child(5) { transition-delay: 0.2s; }
.js .bento [data-zeigen]:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-zeigen] { opacity: 1; transform: none; }
  .briefing { transform: none; }
  .bloecke li { transform: none; }
  .ring { --gefuellt: var(--wert); }
}

/* --- Schmale Bildschirme -------------------------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .hero-raster, .verl-raster, .rechner-raster, .faq-raster, .de-raster { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
  .briefing { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .ergebnis { position: static; }
  .schluss { grid-template-columns: 1fr; padding: 48px; gap: 36px; }
  .schwebe-b { left: -12px; }
  .preis-raster { gap: 14px; }
  .preis-karte { padding: 26px 22px; }
  .preis-betrag b { font-size: 44px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .navi { display: none; }
  .kopf-innen { justify-content: space-between; }
  .abschnitt { padding: 80px 0; }
  .karten-drei, .ablauf, .bento { grid-template-columns: 1fr; }
  .de-liste div { grid-template-columns: 1fr; gap: 2px; }
  .de-karte { padding: 30px 22px 20px; }
  .kachel-breit { grid-column: auto; grid-template-columns: 1fr; }
  .ablauf::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--akzent-hell), var(--akzent), var(--akzent-hell)); }
  .schritt { padding: 0 0 0 72px; }
  .ablauf { gap: 36px; }
  .gruender { grid-template-columns: 1fr; gap: 32px; }
  .gruender img { width: 180px; }
  .schwebe { display: none; }
  .briefing { padding: 18px; }
  .briefing-liste { margin-inline: -18px; }
  .briefing-liste li { padding-inline: 18px; gap: 12px; }
  .briefing-fuss { margin: 0 -18px -18px; padding-inline: 18px; }
  .bestelltext { margin: 18px -18px -18px; font-size: 11.5px; }
  .briefing-leiste { flex-direction: column; gap: 4px; }
  .schluss { padding: 36px 16px 16px; border-radius: 24px; }
  .schluss-text { padding: 0 6px; }
  .anfrage, .anfrage-fertig { padding: 22px 18px; }
  .feld-paar { grid-template-columns: 1fr; }

  .preis-karte, .ergebnis, .ruecktest { padding: 26px; }
  .preis-raster { grid-template-columns: 1fr; gap: 28px; }
  .preis-empfohlen, .js .preis-raster .preis-empfohlen.ist-sichtbar { transform: none; }
  .preis-fuer { min-height: 0; }
  .hero-knoepfe .knopf { flex: 1 1 auto; }
}
