:root {
  --bg: #FBF9FB;
  --bg-alt: #F3EEF5;
  --surface: #FFFFFF;
  --text: #2F2834;
  --muted: #6E6574;
  --accent: #8A6A9B;
  --accent-dark: #6F5280;
  --accent-soft: #EDE2F2;
  --sage: #7F998D;
  --sage-dark: #5E7A6D;
  --sage-soft: #E3ECE7;
  --line: #E6DFEA;
  --radius: 22px;
  --shadow-lg: 0 2px 4px rgba(60, 40, 70, .04), 0 30px 60px -20px rgba(60, 40, 70, .28), 0 18px 36px -18px rgba(60, 40, 70, .2);
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.huelle { width: min(var(--breite), 100% - 48px); margin-inline: auto; }
.punkt { color: var(--sage); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Navigation */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(251, 249, 251, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.kopf.gescrollt { border-color: var(--line); }
.kopf .huelle { display: flex; align-items: center; gap: 28px; height: 72px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-head); font-size: 1.45rem; margin-right: auto; }
.marke svg { width: 34px; height: 34px; }
.kopf nav { display: flex; gap: 26px; }
.kopf nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.kopf nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primaer { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(111, 82, 128, .7); }
.btn-primaer:hover { background: var(--accent-dark); }
.btn-hell { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-klein { padding: 9px 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; }
.hero::before { width: 620px; height: 620px; background: #EADCF1; top: -220px; right: -120px; }
.hero::after { width: 520px; height: 520px; background: #DDEBE3; top: 180px; left: -260px; }
.hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-dark); background: var(--sage-soft); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 22px 0 20px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-text > p { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 0 auto; }
.hero-aktionen { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.buehne { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 2000px; }
.fenster { border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.fenster-leiste { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #F6F2F7; border-bottom: 1px solid var(--line); }
.fenster-leiste i { width: 11px; height: 11px; border-radius: 50%; background: #E2D8E6; }
.fenster-leiste span { margin: 0 auto; font-size: .75rem; color: var(--muted); background: var(--surface); padding: 3px 40px; border-radius: 8px; }
.js .buehne > .fenster { transform: rotateX(8deg) scale(.98); transform-origin: 50% 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.buehne.sichtbar > .fenster { transform: rotateX(0) scale(1); }
.handy { position: absolute; width: 23%; min-width: 150px; border-radius: 34px; padding: 9px; background: #2F2834; box-shadow: var(--shadow-lg); }
.handy img { border-radius: 26px; }
.buehne .handy { right: -3%; bottom: -8%; }

/* Leiste */
.leiste { padding: 72px 0 24px; }
.leiste ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: var(--muted); font-size: .95rem; }
.leiste li { display: flex; align-items: center; gap: 9px; }
.leiste svg { width: 20px; height: 20px; stroke: var(--sage-dark); }

/* Abschnitte */
.abschnitt { padding: 110px 0; }
.abschnitt-kopf { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.abschnitt-kopf h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.abschnitt-kopf p { color: var(--muted); font-size: 1.1rem; }
.zeile { display: grid; grid-template-columns: 1fr 1.35fr; gap: 72px; align-items: center; }
.zeile + .zeile { margin-top: 120px; }
.zeile.links { grid-template-columns: 1.35fr 1fr; }
.zeile.links .zeile-text { order: 2; }
.zeile-text h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 16px; }
.zeile-text > p { color: var(--muted); font-size: 1.07rem; }
.haken { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.haken li { position: relative; padding-left: 32px; }
.haken li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F5280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.zeile-bild { position: relative; }
.zeile-bild .fenster { transition: transform .4s; }
.zeile-bild:hover .fenster { transform: translateY(-4px); }
.zeile-bild::before { content: ""; position: absolute; inset: 8% -6% -8% 10%; border-radius: 40px; background: var(--accent-soft); z-index: -1; transform: rotate(-3deg); }
.zeile.links .zeile-bild::before { background: var(--sage-soft); transform: rotate(3deg); inset: 8% 10% -8% -6%; }
.zeile-bild .handy { position: relative; width: 46%; min-width: 0; }
.handy-paar { display: flex; gap: 6%; justify-content: center; align-items: flex-start; }
.handy-paar .handy:nth-child(2) { margin-top: 70px; }

/* Portal-Band */
.band { background: linear-gradient(160deg, #6F5280, #8A6A9B 55%, #7F998D); color: #fff; border-radius: 40px; padding: 90px 64px; margin-inline: 24px; position: relative; overflow: hidden; }
.band .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.band .zeile-text > p, .band .haken li { color: rgba(255, 255, 255, .88); }
.band .haken li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E"); }
.band .zeile-bild::before { display: none; }
.band .handy { background: #1E1822; }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kachel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.kachel:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(60, 40, 70, .35); }
.kachel .symbol { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 18px; }
.kachel:nth-child(even) .symbol { background: var(--sage-soft); }
.kachel .symbol svg { width: 22px; height: 22px; stroke: var(--accent-dark); }
.kachel:nth-child(even) .symbol svg { stroke: var(--sage-dark); }
.kachel h3 { font-size: 1.3rem; margin-bottom: 8px; }
.kachel p { color: var(--muted); font-size: .97rem; }

/* Herz */
.herz { background: var(--surface); border: 1px solid var(--line); border-radius: 40px; padding: 72px; display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.herz-zeichen { width: 150px; height: 150px; border-radius: 40px; background: var(--accent); display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(111, 82, 128, .8); transform: rotate(-6deg); }
.herz-zeichen svg { width: 86px; height: 86px; }
.herz h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 14px 0 16px; }
.herz p { color: var(--muted); font-size: 1.07rem; }
.herz p + p { margin-top: 12px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 26px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* Abschluss + Fuß */
.abschluss { text-align: center; padding: 120px 0 100px; }
.abschluss h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.abschluss p { color: var(--muted); font-size: 1.15rem; margin-bottom: 32px; }
.fuss { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .9rem; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.fuss .marke { font-size: 1.15rem; margin-right: auto; }
.fuss .marke svg { width: 26px; height: 26px; }
.fuss a { color: var(--muted); text-decoration: none; }
.fuss a:hover { color: var(--text); }
.fuss small { flex-basis: 100%; font-size: .82rem; }

/* Bild groß */
.zoom { cursor: zoom-in; }
dialog.gross { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; }
dialog.gross::backdrop { background: rgba(30, 22, 36, .75); backdrop-filter: blur(4px); }
dialog.gross img { max-height: 92vh; width: auto; border-radius: 14px; cursor: zoom-out; }

/* Einblenden */
.js .auf { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .auf.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .auf { opacity: 1; transform: none; transition: none; }
  .js .buehne > .fenster { transform: none; }
  html { scroll-behavior: auto; }
}

/* Unterseiten */
.seite { padding: 80px 0 120px; }
.seite .huelle { max-width: 760px; }
.seite h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.seite h2 { font-size: 1.5rem; margin: 40px 0 10px; }
.seite p, .seite li { color: var(--muted); }
.seite p + p { margin-top: 10px; }
.platzhalter { background: #FFF6DF; color: #7A5A12; border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin: 18px 0 8px; }
.luecke { background: var(--accent-soft); color: var(--accent-dark); border-radius: 6px; padding: 1px 7px; font-family: ui-monospace, Consolas, monospace; font-size: .88em; }

/* Anmelden */
.anmelden { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.anmelden-bild { position: relative; overflow: hidden; background: linear-gradient(160deg, #6F5280, #8A6A9B 55%, #7F998D); color: #fff; padding: 64px; display: flex; flex-direction: column; justify-content: flex-end; }
.anmelden-bild .handy { position: absolute; width: 230px; top: 64px; right: 64px; transform: rotate(6deg); background: #1E1822; }
.anmelden-bild h2 { font-size: 2.3rem; max-width: 420px; position: relative; }
.anmelden-bild p { opacity: .85; margin-top: 12px; max-width: 420px; position: relative; }
.anmelden-form { display: grid; place-items: center; padding: 48px 24px; }
.karte { width: min(420px, 100%); }
.karte h1 { font-size: 2.3rem; margin-bottom: 8px; }
.karte > p { color: var(--muted); margin-bottom: 28px; }
.feld { display: grid; gap: 7px; margin-bottom: 18px; }
.feld label { font-weight: 600; font-size: .92rem; }
.feld input { font: inherit; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.feld input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.feld small { color: var(--muted); font-size: .82rem; }
#seriennummer { font-family: ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.karte .btn { width: 100%; justify-content: center; margin-top: 6px; }
.hinweis-box { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--sage-soft); color: var(--sage-dark); font-size: .92rem; }
.hinweis-box[hidden] { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .kopf nav { display: none; }
  .zeile, .zeile.links { grid-template-columns: 1fr; gap: 40px; }
  .zeile.links .zeile-text { order: 0; }
  .zeile + .zeile { margin-top: 90px; }
  .band { padding: 64px 28px; margin-inline: 12px; border-radius: 28px; }
  .herz { grid-template-columns: 1fr; padding: 44px 28px; gap: 32px; text-align: center; justify-items: center; }
  .anmelden { grid-template-columns: 1fr; }
  .anmelden-bild { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .huelle { width: calc(100% - 32px); }
  .hero { padding-top: 56px; }
  .buehne { margin-top: 44px; }
  .buehne .handy { right: -2%; bottom: -14%; width: 34%; min-width: 0; border-radius: 22px; padding: 5px; }
  .buehne .handy img { border-radius: 18px; }
  .fenster-leiste span { display: none; }
  .abschnitt { padding: 80px 0; }
  .leiste { padding-top: 84px; }
  .kopf .btn-klein { padding: 8px 14px; }
  .handy-paar .handy { border-radius: 22px; padding: 5px; }
  .handy-paar .handy img { border-radius: 18px; }
}

.sprite { position: absolute; }
.ohne-oben { padding-top: 0; }
main { overflow-x: clip; }
@media (max-width: 960px) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .kacheln { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .leiste { padding-top: 40px; }
}

/* So bekommst du es */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.schritt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.schritt .nr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; margin-bottom: 16px; }
.schritt:nth-child(even) .nr { background: var(--sage-soft); color: var(--sage-dark); }
.schritt h3 { margin: 0 0 8px; }
.schritt p { margin: 0; color: var(--muted); }
.schritte-aktion { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.schritte-hinweis { text-align: center; color: var(--muted); font-size: .9rem; max-width: 640px; margin: 18px auto 0; }
@media (max-width: 960px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .schritte { grid-template-columns: 1fr; } }

/* Menü auf schmalen Bildschirmen */
.menue-knopf { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.menue-knopf span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.kopf.offen .menue-knopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kopf.offen .menue-knopf span:nth-child(2) { opacity: 0; }
.kopf.offen .menue-knopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .kopf .huelle { gap: 12px; }
  .kopf .btn-klein { margin-left: auto; }
  .menue-knopf { display: inline-flex; }
  .kopf.offen nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(251, 249, 251, .97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 16px 30px -20px rgba(47, 40, 52, .4); }
  .kopf.offen nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .kopf.offen nav a:last-child { border-bottom: 0; }
}

/* Anforderungen (Gut zu wissen) */
.anforderungen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 48px; }
.anf { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.anf h3 { font-size: 1.15rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.anf-wert { font-weight: 600; color: var(--accent-dark); font-size: .92rem; margin-bottom: 10px; }
.anf p:not(.anf-wert) { color: var(--muted); font-size: .95rem; }
.anf-optional { font-family: inherit; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--sage-dark); background: var(--sage-soft); border-radius: 999px; padding: 2px 9px; }
.herz .haken { margin-top: 20px; }
@media (max-width: 1100px) { .anforderungen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .anforderungen { grid-template-columns: 1fr; } }

/* Rechtstexte */
.seite .stand { color: var(--muted); font-size: .9rem; }
.seite table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.seite th, .seite td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.seite th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.seite ul { padding-left: 20px; }
.seite li + li { margin-top: 6px; }
.seite h3 { font-size: 1.12rem; margin: 24px 0 6px; }

/* Hinweis-Banner (Text und An/Aus kommen aus der Verwaltung über /konto/status.json) */
.hinweisband { background: var(--accent-soft); color: var(--accent-dark); font-size: .9rem; text-align: center; padding: 10px 20px; line-height: 1.45; }
