/* ==========================================================================
   S-Neo Aktionsseite – Kreissparkasse Böblingen
   Farb- und Radienwerte aus dem Stylesheet der Internet-Filiale übernommen
   (--primary-01 #ee0000, --secondary-01 #565656, --ui-01 #e3e3e3 …)
   ========================================================================== */

/* ---------- Hausschrift ---------- */
@font-face { font-family: "SparkasseWeb"; src: url("fonts/Sparkasse_web_Lt.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "SparkasseWeb"; src: url("fonts/Sparkasse_web_Rg.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "SparkasseWeb"; src: url("fonts/Sparkasse_web_Md.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "SparkasseWeb"; src: url("fonts/Sparkasse_web_Bd.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "SparkasseHeadWeb"; src: url("fonts/SparkasseHead_web_Rg.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Marke */
  --rot:            #ee0000;
  --rot-hover:      #d40000;
  --rot-active:     #aa0000;
  --rot-blass:      #fef2f2;

  /* Neutrale */
  --text:           #292929;
  --text-2:         #565656;
  --text-3:         #767676;
  --linie:          #e3e3e3;
  --linie-2:        #c9c9c9;
  --flaeche:        #ffffff;
  --flaeche-2:      #f7f7f7;
  --flaeche-3:      #f0f0f0;

  /* Signal */
  --fokus:          #0071d4;
  --gruen:          #0a7d4f;
  --gruen-blass:    #eef7f2;

  /* Raster */
  --breit:          1240px;
  --schmal:         720px;
  --radius:         8px;
  --radius-s:       4px;

  --schatten:       0 1px 2px rgba(41,41,41,.06), 0 8px 24px rgba(41,41,41,.06);
  --schatten-tief:  0 2px 4px rgba(41,41,41,.08), 0 16px 40px rgba(41,41,41,.10);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--flaeche);
  color: var(--text);
  font-family: "SparkasseWeb", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: "SparkasseHeadWeb", "SparkasseWeb", Helvetica, Arial, sans-serif; font-weight: 400; margin: 0; }

h1 { font-size: clamp(1.86rem, 5.9vw, 3.5rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.5rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 500; }

a { color: var(--rot); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--breit); margin: 0 auto; padding: 0 20px; }
.schmal { max-width: var(--schmal); }
.mittig { text-align: center; }

.eyebrow {
  font-weight: 500; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--rot); margin: 0 0 12px;
}
.lead { font-size: clamp(1.05rem, 2.4vw, 1.22rem); line-height: 1.55; color: var(--text-2); }

section { padding: clamp(52px, 8vw, 96px) 0; scroll-margin-top: 72px; }
section.getoent { background: var(--flaeche-2); }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 0; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 500; font-size: 1.02rem; line-height: 1.2;
  padding: 17px 30px; border-radius: 100px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primaer { background: var(--rot); color: #fff; }
.btn-primaer:hover { background: var(--rot-hover); }
.btn-primaer:active { background: var(--rot-active); }
.btn-sekundaer { background: transparent; color: var(--text); border-color: var(--linie-2); }
.btn-sekundaer:hover { border-color: var(--text); background: var(--flaeche-2); }
.btn-voll { width: 100%; }
.btn .pfeil { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-hinweis { display: block; margin-top: 10px; font-size: .87rem; color: var(--text-3); }

.btn-gruppe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.kopf-marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.kopf-marke img { height: 26px; width: auto; }
.kopf-marke .name { font-weight: 500; font-size: .95rem; letter-spacing: -.01em; }
.kopf-marke .name span { display: block; font-weight: 400; font-size: .74rem; color: var(--text-3); letter-spacing: 0; }
.kopf-aktion { display: none; }
@media (min-width: 900px) { .kopf-aktion { display: inline-flex; padding: 11px 22px; font-size: .93rem; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 68px) 0 clamp(44px, 6vw, 76px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { margin-bottom: 20px; }
.hero h1 .akzent { color: var(--rot); }
.hero-lead { margin-bottom: 26px; max-width: 34ch; }

/* Bewertungszeile */
.bewertung {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  padding: 13px 18px; margin-bottom: 26px;
  background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius);
}
.sterne { display: inline-flex; gap: 2px; color: var(--rot); }
.sterne svg { width: 17px; height: 17px; }
.bewertung .wert { font-weight: 500; }
.bewertung .quelle { color: var(--text-3); font-size: .9rem; }

.hero-fakten { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faktum {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 9px 15px; border: 1px solid var(--linie); border-radius: 100px;
  font-size: .92rem; background: var(--flaeche);
}
.faktum b { font-weight: 500; color: var(--rot); }

/* Telefon */
.phone-buehne { position: relative; display: flex; justify-content: center; }
.phone-buehne::before {
  content: ""; position: absolute; inset: auto 0 6% 0; height: 78%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(238,0,0,.09), transparent 70%);
  z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: min(272px, 74vw);
  border-radius: 38px; padding: 11px; background: #1b1b1b;
  box-shadow: var(--schatten-tief);
}
.phone-screen { border-radius: 28px; overflow: hidden; background: var(--flaeche-3); aspect-ratio: 9 / 19.5; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone::after {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 20px; border-radius: 100px; background: #1b1b1b;
}

/* ---------- Warum jetzt ---------- */
.warum-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 780px) { .warum-grid { grid-template-columns: repeat(3, 1fr); } }
.warum-karte {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 28px 26px;
}
.warum-karte .zahl {
  font-family: "SparkasseHeadWeb", "SparkasseWeb", sans-serif;
  font-size: 2.7rem; line-height: 1; color: var(--rot); margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.warum-karte h3 { margin-bottom: 8px; }
.warum-karte p { color: var(--text-2); font-size: .97rem; }

/* ---------- Rechner ---------- */
.rechner {
  background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden;
}
.rechner-grid { display: grid; }
@media (min-width: 900px) { .rechner-grid { grid-template-columns: 1fr 1.15fr; } }

.rechner-eingaben { padding: clamp(24px, 3.4vw, 36px); }
.rechner-ergebnis {
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--flaeche-2); border-top: 1px solid var(--linie);
}
@media (min-width: 900px) { .rechner-ergebnis { border-top: 0; border-left: 1px solid var(--linie); } }

.feld { margin-bottom: 26px; }
.feld:last-child { margin-bottom: 0; }
.feld-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.feld-kopf label { font-weight: 500; font-size: .97rem; }
.feld-wert {
  font-family: "SparkasseHeadWeb", "SparkasseWeb", sans-serif;
  font-size: 1.28rem; color: var(--rot); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.feld-fuss { display: flex; justify-content: space-between; margin-top: 7px; font-size: .8rem; color: var(--text-3); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px;
  background: transparent; cursor: pointer; display: block; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 100px;
  background: linear-gradient(to right, var(--rot) var(--fill, 50%), var(--linie) var(--fill, 50%));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 100px; background: var(--linie); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 100px; background: var(--rot); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; margin-top: -10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 2px solid var(--rot);
  box-shadow: 0 2px 6px rgba(41,41,41,.2); transition: transform .12s ease;
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--rot);
  background: #fff; box-shadow: 0 2px 6px rgba(41,41,41,.2);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.ergebnis-kopf { font-size: .87rem; color: var(--text-2); margin-bottom: 4px; }
.ergebnis-summe {
  font-family: "SparkasseHeadWeb", "SparkasseWeb", sans-serif;
  font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1.02; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.ergebnis-spanne { font-size: .87rem; color: var(--text-3); margin-top: 6px; }

.ergebnis-aufteilung { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 18px; }
.aufteilung-punkt { display: flex; align-items: center; gap: 9px; font-size: .93rem; }
.aufteilung-punkt .punkt { width: 13px; height: 13px; border-radius: 3px; flex: 0 0 13px; }
.aufteilung-punkt .punkt.eingezahlt { background: #b9c4cc; }
.aufteilung-punkt .punkt.zuwachs { background: var(--rot); }
.aufteilung-punkt .betrag { font-weight: 500; font-variant-numeric: tabular-nums; }

.diagramm { width: 100%; margin: 6px 0 20px; }
.diagramm svg { width: 100%; height: auto; display: block; overflow: visible; }

.kosten-zeile {
  display: flex; flex-wrap: nowrap; gap: 12px; align-items: flex-start;
  padding: 15px 18px; margin-bottom: 18px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-s);
  font-size: .95rem;
}
.kosten-zeile .haken { color: var(--gruen); flex: 0 0 18px; margin-top: 3px; }
.kosten-zeile b { font-weight: 500; }

.kleingedruckt { font-size: .79rem; line-height: 1.5; color: var(--text-3); }
.kleingedruckt a { color: var(--text-3); }
.kleingedruckt p { margin-bottom: .7em; }

details.hinweis { margin-top: 10px; }
details.hinweis summary {
  cursor: pointer; font-size: .82rem; color: var(--text-2);
  font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 6px;
}
details.hinweis summary::-webkit-details-marker { display: none; }
details.hinweis summary::after { content: "＋"; font-size: .9em; }
details.hinweis[open] summary::after { content: "－"; }
details.hinweis .inhalt { margin-top: 10px; }

/* ---------- Ablauf ---------- */
.ablauf { display: grid; gap: 26px; margin-top: 44px; }
@media (min-width: 860px) { .ablauf { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.schritt { position: relative; }
.schritt-bild {
  border-radius: 26px; overflow: hidden; background: var(--flaeche-3);
  border: 10px solid #1b1b1b; aspect-ratio: 9 / 17; margin-bottom: 20px;
  box-shadow: var(--schatten);
}
.schritt-bild img { width: 100%; height: 100%; object-fit: cover; }
.schritt-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ring { width: 34px; height: 34px; flex: 0 0 34px; position: relative; }
.ring svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.ring .spur { stroke: var(--linie); }
.ring .fortschritt {
  stroke: var(--rot); stroke-linecap: round;
  stroke-dasharray: 88; stroke-dashoffset: 88;
  transition: stroke-dashoffset .9s cubic-bezier(.22,.8,.3,1);
}
.ring.aktiv .fortschritt { stroke-dashoffset: 0; }
.ring .nr {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .84rem; font-weight: 500; color: var(--rot);
}
.schritt p { color: var(--text-2); font-size: .97rem; }

/* ---------- Vergleich ---------- */
.vergleich { margin-top: 40px; overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); }
.vergleich table { border-collapse: collapse; width: 100%; min-width: 560px; }
.vergleich th, .vergleich td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; font-size: .96rem; }
.vergleich thead th { background: var(--flaeche-2); font-weight: 500; font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-2); }
.vergleich thead th.hervor { color: var(--rot); }
.vergleich tbody tr:last-child td { border-bottom: 0; }
.vergleich td:first-child { font-weight: 500; }
.vergleich .hervor { background: var(--rot-blass); }

/* ---------- Vertrauen ---------- */
.vertrauen-grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 720px) { .vertrauen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .vertrauen-grid { grid-template-columns: repeat(4, 1fr); } }
.vertrauen-karte { padding: 24px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); }
.vertrauen-karte .symbol { color: var(--rot); margin-bottom: 14px; }
.vertrauen-karte .symbol svg { width: 26px; height: 26px; }
.vertrauen-karte h3 { font-size: 1.05rem; margin-bottom: 6px; }
.vertrauen-karte p { font-size: .93rem; color: var(--text-2); }

/* ---------- PAYBACK ---------- */
.payback {
  display: grid; gap: 26px; align-items: center;
  padding: clamp(26px, 3.6vw, 40px);
  border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche);
}
@media (min-width: 860px) { .payback { grid-template-columns: auto 1fr; } }
.payback-punkte {
  font-family: "SparkasseHeadWeb", "SparkasseWeb", sans-serif;
  font-size: clamp(3rem, 9vw, 4.4rem); line-height: .95; color: var(--rot);
  font-variant-numeric: tabular-nums;
}
.payback-punkte span { display: block; font-size: .9rem; font-family: "SparkasseWeb", sans-serif; color: var(--text-2); letter-spacing: .04em; }
.payback ol { margin: 14px 0 0; padding-left: 1.2em; color: var(--text-2); font-size: .95rem; }
.payback ol li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 500; font-size: 1.04rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--rot); border-bottom: 2px solid var(--rot);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .antwort { padding: 0 0 22px; color: var(--text-2); max-width: 62ch; }

/* ---------- Brücke ---------- */
.bruecke { background: var(--text); color: #fff; }
.bruecke h2, .bruecke h3 { color: #fff; }
.bruecke .lead { color: rgba(255,255,255,.74); }
.bruecke .eyebrow { color: #ff8080; }
.bruecke-grid { display: grid; gap: 32px; align-items: center; margin-top: 36px; }
@media (min-width: 900px) { .bruecke-grid { grid-template-columns: auto 1fr; gap: 52px; } }

.qr-karte {
  background: #fff; border-radius: var(--radius); padding: 22px;
  width: min(240px, 100%); margin-inline: auto; color: var(--text);
}
.qr-karte svg { width: 100%; height: auto; color: var(--text); }
.qr-karte .qr-text { margin-top: 12px; font-size: .82rem; text-align: center; color: var(--text-2); }

.bruecke-liste { list-style: none; margin: 20px 0 26px; padding: 0; }
.bruecke-liste li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; color: rgba(255,255,255,.82); font-size: .98rem; }
.bruecke-liste .haken { color: #6fd39f; flex: 0 0 20px; margin-top: 4px; }

.link-kopieren {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px;
}
.link-feld {
  flex: 1 1 260px; min-width: 0; padding: 13px 16px; border-radius: var(--radius-s);
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8); font-size: .86rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bruecke .btn-sekundaer { color: #fff; border-color: rgba(255,255,255,.4); }
.bruecke .btn-sekundaer:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Zweiter Weg ---------- */
.zweiter-weg { display: grid; gap: 20px; }
@media (min-width: 820px) { .zweiter-weg { grid-template-columns: 1.4fr 1fr; align-items: stretch; } }
.weg-karte {
  padding: clamp(26px, 3.4vw, 38px); border: 1px solid var(--linie);
  border-radius: var(--radius); background: var(--flaeche);
  display: flex; flex-direction: column; justify-content: center;
}
.weg-karte.klein { background: var(--flaeche-2); }
.weg-karte.klein h3 { font-size: 1.1rem; }
.weg-karte p { color: var(--text-2); }

/* ---------- Fuß ---------- */
.fuss { background: var(--flaeche-2); border-top: 1px solid var(--linie); padding: 48px 0 40px; }
@media (max-width: 899px) { .fuss { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }
.fuss-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .fuss-grid { grid-template-columns: 1.2fr 1fr; } }
.fuss-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 18px; }
.fuss-links a { color: var(--text-2); text-decoration: none; font-size: .93rem; }
.fuss-links a:hover { color: var(--rot); text-decoration: underline; }
.fuss .marke { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fuss .marke img { height: 24px; }

/* ---------- Feste Leiste (mobil) ---------- */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linie);
  transform: translateY(120%); transition: transform .28s cubic-bezier(.22,.8,.3,1);
}
.leiste.sichtbar { transform: translateY(0); }
html[data-device="desktop"] .leiste { display: none; }
@media (min-width: 900px) { .leiste { display: none; } }

/* ---------- Einwilligung ---------- */
.consent {
  position: fixed; z-index: 90; inset: auto 0 0 0;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--linie);
  box-shadow: 0 -8px 40px rgba(41,41,41,.14);
}
@media (min-width: 720px) {
  .consent { inset: auto auto 20px 20px; max-width: 440px; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; }
}
.consent[hidden] { display: none; }
.consent h3 { font-size: 1.12rem; margin-bottom: 10px; }
.consent p { font-size: .92rem; color: var(--text-2); }
.consent .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent .knoepfe .btn { flex: 1 1 160px; padding: 14px 20px; font-size: .95rem; }
.consent .fein { margin-top: 14px; font-size: .8rem; color: var(--text-3); }
.consent .fein a { color: var(--text-3); }

/* ---------- Desktop-Seitenspalte ---------- */
.qr-schiene { display: none; }
html[data-device="desktop"] .qr-schiene {
  display: block; position: fixed; right: 24px; bottom: 24px; z-index: 65;
  width: 178px; background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius); box-shadow: var(--schatten-tief); padding: 15px;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
html[data-device="desktop"] .qr-schiene.sichtbar { opacity: 1; transform: translateY(0); pointer-events: auto; }
.qr-schiene svg { width: 100%; height: auto; color: var(--text); }
.qr-schiene .titel { font-weight: 500; font-size: .93rem; margin-bottom: 4px; }
.qr-schiene .text { font-size: .8rem; color: var(--text-2); margin-bottom: 12px; }
.qr-schiene .schliessen {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px;
  border: 0; background: transparent; color: var(--text-3); cursor: pointer;
  font-size: 1.1rem; line-height: 1; border-radius: 50%;
}
.qr-schiene .schliessen:hover { background: var(--flaeche-2); color: var(--text); }

/* Nur-mobil / nur-desktop */
html[data-device="desktop"] .nur-mobil { display: none !important; }
html[data-device="mobile"] .nur-desktop { display: none !important; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.8,.3,1); }
.reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring .fortschritt { transition: none; }
  .leiste { transition: none; }
}


/* ---------- QR im Hero (nur Desktop) ---------- */
.hero-qr {
  display: flex; align-items: center; gap: 16px;
  margin: 26px auto 0; width: min(320px, 100%);
  padding: 14px 16px; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.hero-qr img { width: 78px; height: 78px; flex: 0 0 78px; }
.hero-qr .titel { font-weight: 500; font-size: .95rem; margin: 0 0 3px; }
.hero-qr .text { font-size: .84rem; color: var(--text-2); margin: 0; }

.rechner-fuss { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--linie); }
