/* Wulibox – Startseite, Gestaltung „Nachtlicht“ */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-kursiv.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  /* Markenfarben */
  --nacht: #1B2340;
  --nacht-hell: #28335A;
  --nacht-tief: #121830;
  --papier: #F4F1EA;
  --papier-2: #EAE5DA;
  --wolke: #C9DCEB;
  --gelb: #FFC94A;
  --mohn: #F2553D;
  --mohn-tief: #D23E27;
  --weiss: #FFFFFF;

  /* Rollen */
  --hg: var(--papier);
  --hg-2: var(--papier-2);
  --hg-wolke: var(--wolke);
  --text: var(--nacht);
  --leise: #535C7C;
  --linie: rgba(27, 35, 64, .16);
  --karte: var(--weiss);

  --rund: 20px;
  --rund-l: 32px;
  --breite: 1200px;
  --rand: clamp(16px, 4.5vw, 48px);
  --kopf-hoehe: 68px;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--hg); color: var(--text);
  font: 400 1.0625rem/1.6 "Instrument Sans", system-ui, sans-serif;
  font-stretch: 96%;
    overflow-x: hidden;
}
/* Papierkorn wie im Risodruck */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mohn); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 560; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .45em;
  font-variation-settings: "SOFT" 100, "WONK" 0; font-optical-sizing: auto;
}
h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); letter-spacing: -.035em; }
h1 em { white-space: nowrap; }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 440; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--mohn); }
h2 small { font: 600 .9rem "Instrument Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); vertical-align: middle; margin-left: .4em; }
p { margin: 0 0 1em; }
.gross { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--leise); }

.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprunglink { position: absolute; left: 12px; top: -60px; background: var(--gelb); color: var(--nacht); padding: 10px 16px; border-radius: 10px; z-index: 300; font-weight: 700; }
.sprunglink:focus { top: 12px; }

/* ---------- Symbole ---------- */
/* Farbfläche: .f erbt fill vom äußeren <svg>, alle Linien bleiben ohne Füllung */
.ic { width: 30px; height: 30px; stroke-width: 1.9; --ic-f: var(--gelb); fill: var(--ic-f); }
.ic--gross { width: 52px; height: 52px; stroke-width: 1.7; }
symbol[id^="i-"] > :not(.f) { fill: none; }
symbol[id^="i-"] > .f { stroke: none; }
.wuli-kontur { fill: var(--wk, var(--nacht)); stroke: none; }
.wuli-wolle { fill: var(--ww, var(--weiss)); stroke: none; }
.wuli-gesicht { fill: var(--wg, var(--nacht)); stroke: none; }
.wuli-augen { fill: var(--wa, var(--weiss)); stroke: none; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 650 1rem/1 "Instrument Sans", sans-serif; letter-spacing: .01em;
  color: var(--weiss); background: var(--mohn);
  border: 0; border-radius: 999px; padding: 1em 1.55em; min-height: 52px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s, box-shadow .15s;
  box-shadow: 3px 3px 0 var(--nacht-tief);
}
.knopf:hover { background: var(--mohn-tief); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--nacht-tief); }
.knopf:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--nacht-tief); }
.knopf svg { font-size: 1.15em; transition: transform .2s; }
.knopf:hover svg { transform: translateX(3px); }
.knopf--klein { min-height: 40px; padding: .7em 1.15em; font-size: .92rem; box-shadow: none; }
.knopf--klein:hover { box-shadow: none; transform: none; }
.knopf[disabled] { opacity: .65; cursor: progress; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--nacht); color: var(--papier); }
.kopf::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(244,241,234,.12); opacity: 0; transition: opacity .3s; }
.kopf.gescrollt::after { opacity: 1; }
.kopf__innen { max-width: var(--breite); height: var(--kopf-hoehe); margin: 0 auto; padding: 0 var(--rand); display: flex; align-items: center; gap: 18px; }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: inherit; }
.marke__wuli { width: 38px; height: 38px; --wk: var(--papier); --ww: var(--papier); --wg: var(--nacht); --wa: var(--papier); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.marke:hover .marke__wuli { transform: rotate(30deg); }
.marke__wort { font: 600 1.6rem/1 "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.03em; }
.navi { display: flex; gap: 2px; }
.navi a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 13px; border-radius: 999px; color: rgba(244,241,234,.78); transition: background .2s, color .2s; }
.navi a:hover { background: var(--nacht-hell); color: var(--papier); }
@media (max-width: 920px) { .navi { display: none; } }
@media (max-width: 420px) { .marke__wort { font-size: 1.35rem; } .knopf--klein { padding: .7em .9em; } }

/* ---------- Bühne ---------- */
.buehne { background: var(--nacht); color: var(--papier); position: relative; overflow: hidden; }
/* Das Foto liegt randlos rechts im Hintergrund, der Text darüber links */
.buehne__innen { max-width: var(--breite); min-height: min(720px, 82vh); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--rand) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 620px); align-items: center; }
.buehne__text { position: relative; z-index: 1; }
.etikett { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gelb); margin-bottom: 1.6em; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); animation: puls 2s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(255,201,74,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,201,74,0); } 100% { box-shadow: 0 0 0 0 rgba(255,201,74,0); } }
.buehne h1 { color: var(--papier); }
.buehne h1 em { color: var(--gelb); }
.einleitung { font-size: clamp(1.1rem, 1.55vw, 1.25rem); color: rgba(244,241,234,.78); max-width: 32em; }
.buehne__bild { position: absolute; right: 0; top: 46%; translate: 0 -50%; width: min(74%, 1150px); margin: 0; }
.buehne__bild img {
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(0deg, transparent 0, #000 18%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(0deg, transparent 0, #000 18%, #000 72%, transparent 100%);
  mask-composite: intersect;
}
.buehne__bild figcaption { position: absolute; right: var(--rand); bottom: 18px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,241,234,.5); }
@media (max-width: 920px) {
  .buehne__innen { min-height: 0; padding-top: 0; grid-template-columns: 1fr; }
  .buehne__bild { position: relative; inset: auto; translate: none; width: auto; order: -1; margin: 0 calc(var(--rand) * -1) 8px; }
  .buehne__bild img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 80% 50%; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 22%); mask-image: linear-gradient(0deg, transparent 0, #000 22%); }
  .buehne__bild figcaption { bottom: 26px; }
}


/* ---------- Warteliste ---------- */
.warteliste-form { margin-top: 30px; max-width: 540px; }
.eingabezeile { display: flex; gap: 6px; padding: 6px; background: var(--papier); border-radius: 999px; }
.eingabezeile input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--nacht); font: 500 1.05rem "Instrument Sans", sans-serif; padding: 0 18px; outline: none; }
.eingabezeile input::placeholder { color: #6E7591; }
.eingabezeile .knopf { box-shadow: none; }
.eingabezeile .knopf:hover { transform: none; box-shadow: none; }
.eingabezeile:focus-within { box-shadow: 0 0 0 3px var(--gelb); }
.einwilligung { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .88rem; opacity: .85; cursor: pointer; }
.einwilligung input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--mohn); flex-shrink: 0; }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.meldung { min-height: 1.5em; margin: 10px 0 0; font-weight: 650; }
.meldung.ok { color: var(--gelb); }
.meldung.fehler { color: #FF8A73; }
.warteliste-form--mittig { margin-inline: auto; }
@media (max-width: 520px) {
  .eingabezeile { flex-direction: column; border-radius: 22px; }
  .eingabezeile input { min-height: 50px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(72px, 10vw, 140px) var(--rand); position: relative; }
.abschnitt > * { max-width: var(--breite); margin-inline: auto; }
.abschnitt--nacht { background: var(--nacht); color: var(--papier); }
.abschnitt--nacht h2 em { color: var(--gelb); }
.abschnitt--gelb { background: var(--gelb); color: var(--nacht); }
.abschnitt--gelb h2 em { color: var(--nacht); }
.abschnitt--wolke { background: var(--hg-wolke); }
.abschnitt--papier2 { background: var(--hg-2); }
.dachzeile { font-weight: 650; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mohn); margin-bottom: 1.1em; display: flex; align-items: center; gap: 10px; }
.dachzeile::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.abschnitt--nacht .dachzeile { color: var(--gelb); }
.abschnitt--gelb .dachzeile { color: var(--nacht); }
.kopfzeile { margin-bottom: clamp(40px, 6vw, 72px); }
.kopfzeile--mitte { text-align: center; }
.kopfzeile--mitte .dachzeile { justify-content: center; }
.schmal { max-width: 640px; margin: 0 auto; text-align: center; color: var(--leise); }

/* Schritte */
.schritte { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.schritte li { position: relative; padding: 8px clamp(18px, 3vw, 40px) 8px 0; border-left: 1px solid var(--linie); padding-left: clamp(18px, 3vw, 40px); }
.schritte li:first-child { border-left: 0; padding-left: 0; }
.schritte__nr { display: block; font: italic 400 5.5rem/1 "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--mohn); margin-bottom: 18px; }
.schritte .ic { position: absolute; top: 18px; right: clamp(18px, 3vw, 40px); --ic-f: var(--gelb); }
.schritte p { color: var(--leise); margin: 0; }
@media (max-width: 820px) {
  .schritte { grid-template-columns: 1fr; gap: 36px; }
  .schritte li, .schritte li:first-child { border-left: 0; padding: 0; border-top: 1px solid var(--linie); padding-top: 24px; }
  .schritte .ic { right: 0; top: 34px; }
  .schritte__nr { font-size: 4rem; }
}

/* App */
.app-kopf { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(48px, 7vw, 90px); }
.app-kopf > p { color: rgba(244,241,234,.75); font-size: 1.15rem; }
.handys { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; max-width: 1040px !important; }
.handy { aspect-ratio: 9 / 18.6; padding: 10px; background: var(--nacht-tief); border-radius: 44px; box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.14); }
.handy--mitte { transform: translateY(-28px) scale(1.04); box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.14), 14px 14px 0 var(--gelb); }
.schirm { height: 100%; border-radius: 35px; background: var(--papier); color: var(--nacht); overflow: hidden; padding: 30px 16px 14px; display: flex; flex-direction: column; gap: 12px; font-size: .8rem; line-height: 1.3; }
.schirm__kopf { display: flex; align-items: center; gap: 8px; }
.schirm__kopf svg { width: 26px; height: 26px; }
.schirm__kopf b { font: 600 1.05rem "Fraunces", serif; font-variation-settings: "SOFT" 100; }
.schirm__suche { background: var(--papier-2); border-radius: 12px; padding: 9px 12px; color: #7A8098; }
.cover-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cover { aspect-ratio: 1; border-radius: 12px; padding: 8px; display: flex; align-items: flex-end; font: 600 .68rem/1.15 "Instrument Sans", sans-serif; position: relative; overflow: hidden; }
.cover span { position: relative; }
.cv1 { background: radial-gradient(circle at 70% 30%, var(--gelb) 0 18%, transparent 19%), var(--nacht); color: var(--papier); }
.cv2 { background: radial-gradient(circle at 30% 35%, var(--papier) 0 14%, transparent 15%), var(--nacht-hell); color: var(--papier); }
.cv3 { background: radial-gradient(ellipse at 50% 100%, var(--nacht) 0 40%, transparent 41%), var(--wolke); color: var(--papier); }
.cv4 { background: radial-gradient(circle at 60% 40%, var(--papier) 0 22%, transparent 23%), var(--mohn); color: var(--weiss); }
.cv5 { background: radial-gradient(circle at 25% 25%, var(--mohn) 0 12%, transparent 13%), radial-gradient(circle at 75% 45%, var(--gelb) 0 6%, transparent 7%), var(--nacht); color: var(--papier); }
.cv6 { background: transparent; border: 1.5px dashed rgba(27,35,64,.35); color: var(--nacht); justify-content: center; align-items: center; }
.schirm__leiste { margin-top: auto; display: flex; justify-content: space-around; padding-top: 6px; }
.schirm__leiste i { width: 22px; height: 22px; border-radius: 7px; background: var(--papier-2); }
.schirm__leiste .aktiv { background: var(--nacht); }
.neue-karte { background: var(--nacht); border-radius: 18px; padding: 18px; display: grid; place-items: center; }
.neue-karte__karte { width: 78%; aspect-ratio: 1.586; background: var(--papier); border-radius: 10px; display: grid; place-items: center; align-content: center; gap: 2px; animation: einstecken 3.2s ease-in-out infinite; }
.neue-karte__karte svg { width: 30px; height: 30px; color: var(--nacht); }
.neue-karte__karte b { font: 600 1rem "Fraunces", serif; }
.neue-karte__karte span { font-size: .66rem; color: #6E7591; }
@keyframes einstecken { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px) rotate(-2deg); } }
.schirm__frage { font: 600 .98rem "Fraunces", serif; margin: 2px 0 0; }
.auswahl { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.auswahl li { display: flex; align-items: center; gap: 8px; background: var(--weiss); border-radius: 12px; padding: 7px 9px; border: 1.5px solid transparent; }
.auswahl li i { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; }
.auswahl .gewaehlt { border-color: var(--nacht); }
.auswahl b { margin-left: auto; color: var(--mohn); }
.schirm__knopf { margin-top: auto; background: var(--mohn); color: var(--weiss); border-radius: 999px; text-align: center; padding: 11px; font-weight: 650; }
.schirm__klein { margin: 0; text-align: center; color: #6E7591; font-size: .7rem; }
.box-status { background: var(--nacht); color: var(--papier); border-radius: 18px; padding: 18px 14px; display: grid; justify-items: center; text-align: center; gap: 2px; }
.box-status__ring { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; box-shadow: 0 0 0 3px var(--gelb), 0 0 26px 4px rgba(255,201,74,.55); animation: leuchten 3s ease-in-out infinite; }
.box-status__ring svg { width: 52px; height: 52px; --wk: var(--papier); }
@keyframes leuchten { 50% { box-shadow: 0 0 0 3px var(--gelb), 0 0 38px 10px rgba(255,201,74,.35); } }
.box-status b { font: 600 1rem "Fraunces", serif; }
.box-status span { font-size: .7rem; opacity: .75; }
.einstellung { background: var(--weiss); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.einstellung--zeile { display: flex; justify-content: space-between; }
.mini-regler { height: 8px; border-radius: 99px; background: var(--papier-2); overflow: hidden; }
.mini-regler i { display: block; height: 100%; background: var(--nacht); border-radius: 99px; }
.app-funktionen { list-style: none; padding: 0; margin-top: clamp(56px, 7vw, 96px) !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(244,241,234,.16); }
.app-funktionen li { display: flex; gap: 16px; padding: 26px 24px 26px 0; border-bottom: 1px solid rgba(244,241,234,.16); }
.app-funktionen .ic { --ic-f: var(--mohn); color: var(--papier); }
.app-funktionen b { display: block; font: 600 1.15rem "Fraunces", serif; font-variation-settings: "SOFT" 100; margin-bottom: 2px; }
.app-funktionen span { color: rgba(244,241,234,.7); font-size: .95rem; }
@media (max-width: 960px) {
  .app-kopf { grid-template-columns: 1fr; }
  .handys { grid-template-columns: repeat(3, 240px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 4px 30px; margin-inline: calc(var(--rand) * -1) !important; padding-inline: var(--rand); max-width: none !important; }
  .handy { scroll-snap-align: center; }
  .app-funktionen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .app-funktionen { grid-template-columns: 1fr; } }

/* Karten selbst machen */
.karten { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 72px); position: relative; }
.karten__text { align-self: center; }
.karten__bild { margin: 0; grid-row: span 1; }
.karten__bild img { border-radius: var(--rund-l); }
.karten__wege { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.karten__wege li { background: var(--karte); border: 1.5px solid var(--linie); border-radius: var(--rund); padding: 28px 26px; }
.karten__wege .ic { margin-bottom: 18px; --ic-f: var(--gelb); }
.karten__wege li:nth-child(2) .ic { --ic-f: var(--wolke); }
.karten__wege li:nth-child(3) .ic { --ic-f: var(--mohn); }
.karten__wege p { color: var(--leise); margin: 0; }
.karten__wuli { position: absolute; width: clamp(110px, 14vw, 180px); right: -12px; top: -60px; transform: rotate(8deg); pointer-events: none; }
@media (max-width: 860px) {
  .karten { grid-template-columns: 1fr; }
  .karten__wege { grid-template-columns: 1fr; }
  .karten__wuli { top: -40px; right: 0; }
}

/* Rechner */
.rechner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.rechner__text > p { font-size: 1.12rem; }
.regler { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; align-items: center; margin-top: 30px; font-weight: 650; }
.regler span { grid-column: 1 / -1; }
.regler output { font: 500 2.6rem/1 "Fraunces", serif; min-width: 2.2ch; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--nacht) var(--wert, 33%), rgba(27,35,64,.18) var(--wert, 33%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--papier); border: 3px solid var(--nacht); box-shadow: 3px 3px 0 var(--nacht); }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--papier); border: 3px solid var(--nacht); }
.rechner__ergebnis { background: var(--nacht); color: var(--papier); border-radius: var(--rund-l); padding: clamp(26px, 4vw, 44px); box-shadow: 10px 10px 0 var(--mohn); }
.balken { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; margin-bottom: 24px; }
.balken__titel { grid-column: 1 / -1; font-weight: 600; font-size: .92rem; color: rgba(244,241,234,.7); }
.balken__spur { height: 22px; border-radius: 999px; background: var(--nacht-hell); overflow: hidden; }
.balken__fuellung { height: 100%; border-radius: 999px; min-width: 10px; transition: width .5s cubic-bezier(.3,1.3,.5,1); }
.balken__fuellung--figuren { background: var(--mohn); }
.balken__fuellung--karten { background: var(--gelb); }
.balken strong { font: 500 1.7rem "Fraunces", serif; min-width: 4.5ch; text-align: right; }
.ersparnis { font-size: 1.15rem; margin: 4px 0 12px; }
.ersparnis strong { color: var(--gelb); font: italic 500 1.6em "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1; }
.fussnote { font-size: .8rem; color: rgba(244,241,234,.6); margin: 0; }
@media (max-width: 860px) { .rechner { grid-template-columns: 1fr; } }

/* Raster „Die Box“ */
.raster { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 16px; }
.feld { min-height: 230px; background: var(--karte); border: 1.5px solid var(--linie); border-radius: var(--rund); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.feld .ic { margin-bottom: auto; --ic-f: var(--gelb); }
.feld h3 { margin-top: 24px; }
.feld p { color: var(--leise); margin: 0; }
.feld--bild { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; border: 0; background: var(--papier-2); }
.feld--bild img { width: 100%; height: 100%; object-fit: cover; }
.feld--nacht { background: var(--nacht); color: var(--papier); border: 0; }
.feld--nacht p { color: rgba(244,241,234,.72); }
.feld--nacht .ic { --ic-f: var(--mohn); }
.feld--wolke { background: var(--wolke); color: var(--nacht); border: 0; }
.feld--wolke p { color: #3E4766; }
.feld--wolke .ic { --ic-f: var(--weiss); }
.feld--mohn { background: var(--mohn); color: var(--weiss); border: 0; grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; min-height: 0; }
.feld--mohn h3 { margin: 0; white-space: nowrap; } .feld--mohn .ic { margin: 0; } .feld--mohn p { flex: 1; }
@media (max-width: 760px) { .feld--mohn { flex-direction: column; align-items: flex-start; gap: 12px; } .feld--mohn h3 { white-space: normal; } }
.feld--mohn p { color: rgba(255,255,255,.88); }
.feld--mohn .ic { --ic-f: var(--nacht); color: var(--weiss); }
@media (max-width: 960px) { .raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .raster { grid-template-columns: 1fr; } .feld--bild, .feld--mohn { grid-column: auto; } .feld--bild { grid-row: auto; } }

/* Stimmung */
.stimmung { position: relative; max-width: calc(var(--breite) + 120px); margin: 0 auto clamp(40px, 6vw, 80px); padding: 0 var(--rand); }
.stimmung img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 12%; border-radius: var(--rund-l); }
.stimmung::after { content: ""; position: absolute; inset: 0 var(--rand); border-radius: var(--rund-l); background: linear-gradient(90deg, rgba(18,24,48,.82), rgba(18,24,48,0) 62%); }
.stimmung__zitat { position: absolute; z-index: 1; left: calc(var(--rand) + clamp(24px, 5vw, 72px)); top: 50%; transform: translateY(-50%); margin: 0; color: var(--papier); max-width: min(30rem, 70%); }
.stimmung__zitat p { font: 500 clamp(1.8rem, 4.2vw, 3.4rem)/1.05 "Fraunces", serif; font-variation-settings: "SOFT" 100; letter-spacing: -.02em; margin-bottom: .45em; }
.stimmung__zitat em { color: var(--gelb); font-weight: 400; font-variation-settings: "SOFT" 100, "WONK" 1; }
.stimmung__zitat span { font-weight: 600; opacity: .8; font-size: .95rem; letter-spacing: .02em; }
@media (max-width: 700px) { .stimmung img { aspect-ratio: 4/5; } .stimmung::after { background: linear-gradient(0deg, rgba(18,24,48,.85), rgba(18,24,48,0) 65%); } .stimmung__zitat { top: auto; bottom: 28px; transform: none; max-width: 85%; } }

/* Zweispaltig */
.zweispaltig { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.zweispaltig--oben { grid-template-columns: .9fr 1.1fr; align-items: start; }
.zweispaltig__bild { margin: 0; }
.zweispaltig__bild img { border-radius: var(--rund-l); }
.hakenliste { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.hakenliste li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.hakenliste svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--nacht); color: var(--gelb); stroke-width: 3; margin-top: 1px; }
@media (max-width: 860px) { .zweispaltig, .zweispaltig--oben { grid-template-columns: 1fr; } }

/* Was die Box nicht hat */
.nicht-liste { list-style: none; padding: 0; margin: 0 auto 44px !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nicht-liste li { display: grid; justify-items: center; gap: 14px; padding: 30px 12px; font: 600 1.15rem "Fraunces", serif; font-variation-settings: "SOFT" 100; text-align: center; position: relative; }
.nicht-liste .ic { --ic-f: var(--weiss); }
.nicht-liste li::after { content: ""; position: absolute; top: 56px; left: 50%; width: 66px; height: 3px; border-radius: 3px; background: var(--mohn); transform: translateX(-50%) rotate(-38deg); }
@media (max-width: 760px) { .nicht-liste { grid-template-columns: 1fr 1fr; } }

/* Fahrplan */
.fahrplan { list-style: none; padding: 0; margin: 0; position: relative; }
.fahrplan::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--linie); }
.fahrplan li { display: flex; gap: 22px; align-items: flex-start; padding: 14px 0; position: relative; }
.fahrplan__marke { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--hg); border: 2px solid var(--linie); display: grid; place-items: center; position: relative; z-index: 1; }
.fahrplan .erledigt .fahrplan__marke { background: var(--nacht); border-color: var(--nacht); color: var(--gelb); font-size: 1.25rem; }
.fahrplan .aktuell .fahrplan__marke { border-color: var(--mohn); }
.fahrplan .aktuell .fahrplan__marke::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--mohn); animation: puls-mohn 1.8s infinite; }
@keyframes puls-mohn { 0% { box-shadow: 0 0 0 0 rgba(242,85,61,.5); } 70% { box-shadow: 0 0 0 12px rgba(242,85,61,0); } 100% { box-shadow: 0 0 0 0 rgba(242,85,61,0); } }
.fahrplan strong { font: 600 1.3rem "Fraunces", serif; font-variation-settings: "SOFT" 100; display: block; margin-top: 8px; }
.fahrplan p { color: var(--leise); margin: 2px 0 0; }
.fahrplan .aktuell strong::after { content: "jetzt"; font: 650 .7rem "Instrument Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; background: var(--mohn); color: var(--weiss); padding: 3px 9px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }

/* Datenblatt */
.datenblatt { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0 auto; border-top: 1px solid var(--linie); }
.datenblatt div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.datenblatt dt { font: 600 1.1rem "Fraunces", serif; font-variation-settings: "SOFT" 100; }
.datenblatt dd { margin: 0; color: var(--leise); }
@media (max-width: 860px) { .datenblatt { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .datenblatt div { grid-template-columns: 1fr; gap: 4px; } }

/* Wir */
.wir { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; max-width: 1000px !important; }
.wir__wuli { width: 100%; animation: wiegen 4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wiegen { 50% { transform: rotate(-4deg); } }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--mohn); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.textlink svg { font-size: 1.3em; }
@media (max-width: 700px) { .wir { grid-template-columns: 1fr; } .wir__wuli { width: 200px; } }

/* Fragen */
.fragen { border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 0; font: 560 1.25rem/1.25 "Fraunces", serif; font-variation-settings: "SOFT" 100; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; translate: 0 -50%; border-radius: 50%; border: 1.5px solid var(--text); background: linear-gradient(currentColor, currentColor) center/12px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 12px no-repeat; transition: rotate .3s, background-color .3s; }
.fragen details[open] summary::after { rotate: 45deg; background-color: var(--gelb); border-color: var(--gelb); color: var(--nacht); }
.fragen details p { padding: 0 48px 24px 0; margin: 0; color: var(--leise); }

/* Schluss */
.schluss { background: var(--nacht); color: var(--papier); text-align: center; padding: clamp(80px, 10vw, 140px) var(--rand); position: relative; overflow: hidden; }
.schluss::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -260px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,201,74,.18), rgba(255,201,74,0)); }
.schluss > * { position: relative; }
.schluss__wuli { width: min(260px, 62vw); margin: 0 auto 10px; animation: atmen 4.5s ease-in-out infinite; }
@keyframes atmen { 50% { transform: translateY(-6px); } }
.schluss h2 { color: var(--papier); }
.schluss h2 em { color: var(--gelb); }
.schluss > p { color: rgba(244,241,234,.75); font-size: 1.15rem; }
.schluss .einwilligung { justify-content: center; text-align: left; max-width: 540px; margin-inline: auto; }

/* Fuß */
.fuss { background: var(--nacht-tief); color: rgba(244,241,234,.8); padding: 44px var(--rand); }
.fuss__innen { max-width: var(--breite); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.fuss .marke { color: var(--papier); }
.fuss nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fuss nav a { text-decoration: none; font-weight: 600; }
.fuss nav a:hover { color: var(--gelb); }
.fuss p { width: 100%; margin: 0; font-size: .85rem; opacity: .6; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; width: max-content; background: var(--gelb); color: var(--nacht); padding: 14px 22px; border-radius: 999px; font-weight: 650; box-shadow: 4px 4px 0 var(--nacht-tief); z-index: 150; max-width: calc(100vw - 32px); text-align: center; }

/* Einblenden beim Scrollen */
.einblenden { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.einblenden.sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .einblenden { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Frei statt festgelegt ---------- */
.schmal-links { max-width: 640px; margin-top: 1.2em; }
.vergleich { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; margin-bottom: 16px !important; }
.vergleich__spalte { border-radius: var(--rund-l); padding: clamp(24px, 3.5vw, 40px); border: 1.5px dashed var(--linie); }
.vergleich__spalte h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: var(--leise); }
.vergleich__spalte ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.vergleich__spalte li { display: flex; gap: 12px; align-items: flex-start; color: var(--leise); }
.vergleich__spalte li svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; stroke-width: 3; margin-top: 1px; color: var(--leise); border: 1.5px solid var(--linie); }
.vergleich__spalte--wuli { background: var(--nacht); color: var(--papier); border: 0; box-shadow: 10px 10px 0 var(--gelb); }
.vergleich__spalte--wuli h3 { color: var(--papier); }
.vergleich__spalte--wuli li { color: var(--papier); font-weight: 600; }
.vergleich__spalte--wuli li svg { background: var(--gelb); color: var(--nacht); border: 0; }
.vergleich__wuli { width: 34px; height: 34px; --wk: var(--papier); --ww: var(--papier); }
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px !important; }
.usp__feld { background: var(--karte); border: 1.5px solid var(--linie); border-radius: var(--rund); padding: 28px; }
.usp__feld .ic { margin-bottom: 22px; }
.usp__feld:nth-child(2) .ic { --ic-f: var(--mohn); }
.usp__feld:nth-child(3) .ic { --ic-f: var(--wolke); }
.usp__feld p { color: var(--leise); margin: 0; }
.usp__feld--gross { grid-row: span 2; background: var(--gelb); color: var(--nacht); border: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.usp__feld--gross .ic { --ic-f: var(--weiss); margin-bottom: auto; width: 72px; height: 72px; }
.usp__feld--gross h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 32px; }
.usp__feld--gross p { color: var(--nacht); font-size: 1.1rem; }
.usp__feld--nacht { background: var(--nacht); color: var(--papier); border: 0; }
.usp__feld--nacht p { color: rgba(244,241,234,.75); }
.usp__feld--nacht .ic { --ic-f: var(--mohn); }
.usp sup { color: var(--mohn); font-weight: 700; }
.fussnote-seite { font-size: .85rem; color: var(--leise); margin-top: 18px !important; }
@media (max-width: 900px) { .vergleich { grid-template-columns: 1fr; } .usp { grid-template-columns: 1fr 1fr; } .usp__feld--gross { grid-row: auto; grid-column: 1 / -1; min-height: 260px; } }
@media (max-width: 560px) { .usp { grid-template-columns: 1fr; } }

/* ---------- Kosten ---------- */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: clamp(56px, 7vw, 96px) !important; }
.preis { background: var(--papier); color: var(--nacht); border-radius: var(--rund-l); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.preis--box { background: var(--nacht); color: var(--papier); box-shadow: 10px 10px 0 var(--mohn); }
.preis__art { align-self: flex-start; font-weight: 650; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1.5px solid currentColor; margin-bottom: 22px; }
.preis h3 { font-size: 1.6rem; margin-bottom: .2em; }
.preis__betrag { font: italic 450 1.35rem/1.2 "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--mohn); margin-bottom: 16px; }
.preis--box .preis__betrag { color: var(--gelb); }
.preis p:last-child { margin: auto 0 0; opacity: .8; }
.rechner__titel { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 860px) { .preise { grid-template-columns: 1fr; } }


/* Detailbilder unter dem Box-Raster */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px !important; }
.details figure { margin: 0; }
.details img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); }
.details figcaption { margin-top: 10px; color: var(--leise); font-size: .95rem; }
.details figcaption b { display: block; color: var(--text); font: 600 1.1rem "Fraunces", serif; font-variation-settings: "SOFT" 100; }
@media (max-width: 760px) { .details { grid-template-columns: 1fr; } }

/* So geht's: Schritte kompakt, rechts die App */
.so-gehts { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 88px); align-items: center; }
.so-gehts .kopfzeile { margin-bottom: 36px; }
.schritte--kompakt li { padding-top: 0; padding-bottom: 0; }
.schritte--kompakt .schritte__nr { font-size: 3rem; margin-bottom: 10px; }
.schritte--kompakt .ic { top: 4px; width: 40px; height: 40px; }
.schritte--kompakt h3 { font-size: 1.15rem; }
.schritte--kompakt p { font-size: .95rem; }
.so-gehts__demo { margin: 40px 0 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.so-gehts__demo span { color: var(--leise); font-size: .95rem; max-width: 22em; }
.so-gehts__handy { display: block; justify-self: center; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.so-gehts__handy img { width: 100%; max-width: 340px; border-radius: 15% / 7.2%; box-shadow: 0 30px 50px -20px rgba(27,35,64,.45); }
.so-gehts__handy:hover { transform: translateY(-6px) rotate(-1deg); }
@media (max-width: 960px) {
  .so-gehts { grid-template-columns: 1fr; }
  .so-gehts__handy img { max-width: 280px; }
}

/* App-Bereich: echte Screenshots im Handyrahmen */
.handy { margin: 0; }
.handy__bild { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 35px; display: block; }
.app-demo { text-align: center; margin-top: clamp(40px, 5vw, 64px) !important; }

/* Auf einen Blick: die vier häufigsten Fragen direkt unter dem Einstieg */
.blick { background: var(--gelb); color: var(--nacht); padding: clamp(44px, 6vw, 76px) var(--rand); }
.blick__liste { list-style: none; margin: 0 auto; padding: 0; max-width: var(--breite); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.blick__liste li { padding: 4px clamp(18px, 2.4vw, 36px); border-left: 1.5px solid rgba(27, 35, 64, .18); }
.blick__liste li:first-child { padding-left: 0; border-left: 0; }
.blick .ic { --ic-f: var(--weiss); margin-bottom: 18px; }
.blick li:nth-child(2) .ic, .blick li:nth-child(4) .ic { --ic-f: var(--mohn); }
.blick li:nth-child(3) .ic { --ic-f: var(--wolke); }
.blick h3 { margin: 0 0 8px; font: 600 clamp(1.2rem, 1.7vw, 1.45rem)/1.15 "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.015em; color: var(--nacht); }
.blick p { margin: 0; font-size: .98rem; line-height: 1.5; color: rgba(27, 35, 64, .82); max-width: 30ch; }
@media (max-width: 900px) {
  .blick__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 0; }
  .blick__liste li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .blick__liste { grid-template-columns: 1fr; gap: 0; }
  .blick__liste li, .blick__liste li:nth-child(3) { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 20px 0; border-left: 0; border-top: 1.5px solid rgba(27, 35, 64, .18); }
  .blick__liste li:first-child { border-top: 0; padding-top: 0; }
  .blick .ic { grid-row: span 2; margin: 2px 0 0; }
}
