/* ==========================================================================
   Produktseite Alvyno

   Marke: Ink, Signal, Sand, Mist, Slate. Überschriften und Zahlen in Outfit,
   Belegnummern und Beschriftungen in JetBrains Mono — beide liegen lokal,
   es geht keine Verbindung zu Google raus.

   Die Bildwelt kommt aus dem Studio: Satzspiegel im Hintergrund, Schnittmarken
   an der Vorschau, Mono-Anmerkungen am Rand. Von der Software getrennt —
   Änderungen hier fassen die Arbeitsoberfläche nicht an.

   Hell und dunkel teilen sich die Variablennamen; welche gelten, steht in
   data-theme am <html>-Element.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("/plattform/marke/outfit.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/plattform/marke/jetbrains-mono.woff2") format("woff2-variations");
  font-weight: 100 800; font-display: swap;
}

:root {
  /* Marke */
  --ink:         #121528;
  --signal:      #ff6a3d;
  --sand:        #f5f0e8;
  --mist:        #e6e2d9;
  --slate:       #6b7088;

  /* Dunkle Ansicht — Ink als Grund, Signal als Akzent */
  --bg:          #0d1020;
  --bg-2:        #121528;
  --karte:       #171b31;
  --karte-2:     #1d2139;
  --rand:        #272c45;
  --rand-stark:  #3a4060;
  --raster:      rgba(245, 240, 232, .035);
  --text:        #f5f0e8;
  --text-2:      #c6c8d4;
  --text-leise:  #8d93a8;
  --accent:      #ff6a3d;
  --accent-deep: #e55525;
  --accent-text: #ff8257;
  --on-accent:   #ffffff;
  --markierung:  rgba(255, 106, 61, .34);
  --gut:         #4fc08d;
  --schlecht:    #ff6a6a;
  --zustand-test:#7aa2f7;
  --zustand-warn:#e8b84b;
  --kopf:        rgba(13, 16, 32, .88);
  --schleier:    rgba(6, 8, 18, .66);
  --schatten:    0 20px 60px rgba(0, 0, 0, .5);
  --schein:      rgba(255, 106, 61, .07);
}

:root[data-theme="light"] {
  /* Helle Ansicht — Sand als Grund, Ink als Schrift */
  --bg:          #f5f0e8;
  --bg-2:        #ece7dd;
  --karte:       #fffdf9;
  --karte-2:     #f1ece2;
  --rand:        #ddd7ca;
  --rand-stark:  #c2bbab;
  --raster:      rgba(18, 21, 40, .04);
  --text:        #121528;
  --text-2:      #3a3f52;
  --text-leise:  #6b7088;
  /* Signal ist auf Sand zu hell für Fließtext — als Fläche bleibt es, als
     Schrift wird nachgezogen. */
  --accent:      #e5551f;
  --accent-deep: #c6460f;
  --accent-text: #bf4512;
  --on-accent:   #ffffff;
  --markierung:  rgba(255, 106, 61, .32);
  --gut:         #1f7a4d;
  --schlecht:    #c23a2b;
  --zustand-test:#2a5bc7;
  --zustand-warn:#9a6a08;
  --kopf:        rgba(245, 240, 232, .9);
  --schleier:    rgba(18, 21, 40, .34);
  --schatten:    0 20px 60px rgba(18, 21, 40, .10);
  --schein:      rgba(255, 106, 61, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 16.5px/1.6 "Outfit", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Der Satzspiegel im Hintergrund — senkrechte Hilfslinien wie auf einem
     Layoutbogen. Fein genug, dass man sie eher spürt als sieht. */
  background-image:
    linear-gradient(90deg, var(--raster) 1px, transparent 1px),
    linear-gradient(var(--raster) 1px, transparent 1px);
  background-size: 92px 92px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600; letter-spacing: -.025em; margin: 0; color: var(--text);
}
h1 { font-size: clamp(40px, 6.2vw, 78px); line-height: .98; }
h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.04; }
h3 { font-size: 19px; line-height: 1.25; }

.wrap   { width: min(1180px, 100% - 40px); margin-inline: auto; }
.schmal { width: min(740px, 100% - 40px); }
.mittig { text-align: center; }
.hidden { display: none !important; }

/* Mono-Beschriftung, wie eine Anmerkung am Rand einer Layoutskizze */
.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-leise);
}
.mono--accent { color: var(--accent-text); }

/* Auszeichnung: ein Balken unter dem Wort, wie eine Markierung im Layout.
   Eigene Farbe, nicht der Akzent — darauf muss die Schrift lesbar bleiben,
   und der Akzent ist im Hellen dafür zu dunkel. */
.aus {
  background: linear-gradient(transparent 60%, var(--markierung) 60%,
                              var(--markierung) 94%, transparent 94%);
  padding: 0 .08em;
}

.lead { font-size: clamp(16.5px, 1.5vw, 19px); color: var(--text-2); max-width: 56ch; }
.mini { color: var(--text-leise); font-size: 13.5px; }
.mini.mittig { text-align: center; }

code {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: .87em; background: var(--karte-2); color: var(--accent-text);
  border: 1px solid var(--rand); padding: 1.5px 6px; border-radius: 4px;
  white-space: nowrap;
}

/* -- Kopf ----------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--kopf); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.ist-gescrollt { border-bottom-color: var(--rand); }
.top__in { display: flex; align-items: center; gap: 26px; height: 70px; }

.marke {
  font-family: "Outfit", sans-serif;
  font-weight: 600; font-size: 20px; letter-spacing: -.025em;
  text-decoration: none; color: var(--text); display: flex; align-items: center; gap: 9px;
}
.marke .zeichen { width: 27px; height: 27px; flex: none; }
.marke > span { text-transform: lowercase; }

.fuss__slogan {
  font-family: "JetBrains Mono", monospace; font-size: 11.5px;
  letter-spacing: .06em; color: var(--text-leise);
  padding-left: 18px; border-left: 1px solid var(--rand);
}

.top__nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.top__nav a:not(.btn) { text-decoration: none; color: var(--text-leise); font-size: 14.5px; font-weight: 500; }
.top__nav a:not(.btn):hover { color: var(--text); }
.top__nav .btn { padding: 9px 16px; font-size: 14px; }

.ansicht {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--rand); background: none; color: var(--text-leise);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.ansicht:hover { color: var(--text); border-color: var(--rand-stark); }
.ansicht svg { width: 16px; height: 16px; }

.top__burger {
  margin-left: auto; display: none; width: 40px; height: 40px;
  border: 1px solid var(--rand); border-radius: 9px; background: none;
  color: var(--text); cursor: pointer; font-size: 17px;
}

/* -- Tasten --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 19px; border-radius: 9px; border: 1px solid transparent;
  background: var(--accent); color: var(--on-accent);
  font: 600 14.5px/1 "Outfit", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .14s, background .14s, border-color .14s;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; border-color: var(--rand-stark); color: var(--text); }
.btn--ghost:hover { background: var(--karte-2); border-color: var(--accent); }
.btn--gross { padding: 16px 28px; font-size: 16px; border-radius: 11px; }
.btn--voll  { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

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

.abschnitt { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.abschnitt--abgesetzt { background: var(--bg-2); border-block: 1px solid var(--rand); }
.abschnitt__kopf { max-width: 60ch; margin-bottom: clamp(32px, 4vw, 52px); }
.abschnitt__kopf .mono { display: block; margin-bottom: 14px; }
.abschnitt__kopf .lead { margin: 16px 0 0; }

/* -- Aufmacher ------------------------------------------------------------ */

.hero { padding: clamp(44px, 6vw, 80px) 0 0; background: linear-gradient(var(--schein), transparent 360px); }
.hero__in { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.hero h1 { margin: 16px 0 22px; }
.hero__tasten { display: flex; gap: 13px; flex-wrap: wrap; margin: 28px 0 16px; }
.hero__fakten {
  display: flex; flex-wrap: wrap; gap: 7px 24px;
  margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--rand-stark);
  font-size: 14.5px; color: var(--text-leise);
}
.hero__fakten span::before {
  content: "→"; color: var(--accent-text); margin-right: 7px;
  font-family: "JetBrains Mono", monospace;
}

/* Die Oberfläche in klein. Steht im Aufmacher rechts und nimmt die Farbe an,
   die weiter unten ausprobiert wird. */
.schau {
  border: 1px solid var(--rand); border-radius: 12px; overflow: hidden;
  background: var(--karte); box-shadow: var(--schatten); margin: 0;
  position: relative;
}
.schau::before, .schau::after {
  content: ""; position: absolute; width: 13px; height: 13px;
  border: 1px solid var(--accent); opacity: .5; pointer-events: none;
}
.schau::before { left: -7px; top: -7px; border-right: 0; border-bottom: 0; }
.schau::after  { right: -7px; bottom: -7px; border-left: 0; border-top: 0; }

.schau__leiste {
  display: flex; align-items: center; gap: 6px; padding: 9px 13px;
  border-bottom: 1px solid var(--rand); background: var(--karte-2);
}
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--rand-stark); }
.schau__url {
  margin-left: 11px; font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--text-leise); background: var(--bg);
  border: 1px solid var(--rand); padding: 3px 10px; border-radius: 20px;
}
.schau__bild { display: grid; grid-template-columns: 162px 1fr; min-height: 318px; }

.schau__seite {
  border-right: 1px solid var(--rand); padding: 13px 9px;
  background: var(--karte-2); display: flex; flex-direction: column; gap: 1px;
}
.schau__mark {
  font-weight: 700; font-size: 12.5px; color: var(--accent-text);
  margin: 2px 6px 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.schau__nav {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--text-leise); padding: 5px 7px; border-radius: 6px;
}
.schau__nav::before {
  content: ""; width: 12px; height: 12px; border-radius: 3px;
  border: 1.3px solid currentColor; opacity: .45; flex: none;
}
.schau__nav b {
  margin-left: auto; font-size: 10px; font-weight: 600;
  background: var(--bg); border-radius: 9px; padding: 1px 5px;
}
.schau__nav b.ist-rot { background: var(--schlecht); color: #fff; }
.schau__nav.is-an {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent-text); font-weight: 600;
}
.schau__trenn {
  font-family: "JetBrains Mono", monospace; font-size: 8.5px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-leise); opacity: .65; margin: 11px 7px 3px;
}

.schau__inhalt { padding: 16px 18px; display: flex; flex-direction: column; gap: 13px; }
.schau__kopf { display: flex; align-items: baseline; gap: 9px; }
.schau__kopf strong { font-size: 16px; letter-spacing: -.02em; color: var(--text); }
.schau__kopf span { font-size: 11px; color: var(--text-leise); }
.schau__kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.schau__kachel { background: var(--bg); border: 1px solid var(--rand); border-radius: 9px; padding: 10px 11px; }
.schau__kachel span {
  display: block; font-family: "JetBrains Mono", monospace; font-size: 8.5px;
  text-transform: uppercase; letter-spacing: .09em; color: var(--text-leise);
}
.schau__kachel b { display: block; font-size: 18px; color: var(--accent-text); margin: 3px 0 1px; }
.schau__kachel small { font-size: 10px; color: var(--text-leise); }
.schau__liste { border: 1px solid var(--rand); border-radius: 9px; background: var(--bg); overflow: hidden; }
.schau__zeile {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 11px; font-size: 11.5px; border-bottom: 1px solid var(--rand);
}
.schau__zeile:last-child { border-bottom: 0; }
.schau__zeile i { width: 11px; height: 11px; border-radius: 3px; border: 1.3px solid var(--rand-stark); flex: none; }
.schau__zeile span { color: var(--text); }
.schau__zeile em { margin-left: auto; font-style: normal; color: var(--text-leise); font-size: 10.5px; }

/* -- Vorher und nachher --------------------------------------------------- */

.gegenueber { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.seite {
  border: 1px solid var(--rand); border-radius: 13px; padding: 24px;
  background: var(--karte); display: flex; flex-direction: column;
}
.seite--vorher { background: var(--karte-2); }
.seite__kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.seite__kopf h3 { font-size: 17px; }

.kram { display: flex; flex-wrap: wrap; gap: 9px; }
.kram__stueck {
  border: 1px solid var(--rand-stark); border-radius: 8px;
  padding: 8px 11px; font-size: 13px; color: var(--text-leise);
  background: var(--bg); display: flex; align-items: center; gap: 8px;
}
.kram__stueck em {
  font-style: normal; font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; opacity: .7;
}
.kram__stueck:nth-child(2n)  { transform: rotate(-.7deg); }
.kram__stueck:nth-child(3n)  { transform: rotate(.9deg); }

.danach { display: grid; gap: 11px; }
.danach__zeile {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--rand); border-radius: 9px;
  padding: 11px 13px; background: var(--bg); font-size: 14px;
}
.danach__zeile b { color: var(--text); font-weight: 600; }
.danach__zeile span { margin-left: auto; color: var(--accent-text); font-weight: 600; font-size: 13.5px; }
.danach__fuss { margin-top: auto; padding-top: 18px; color: var(--text-leise); font-size: 13.5px; }

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

.ablauf { display: grid; gap: 0; position: relative; }
.ablauf::before {
  content: ""; position: absolute; left: 117px; top: 12px; bottom: 12px;
  width: 1px; background: var(--rand);
}
.schritt { display: grid; grid-template-columns: 100px 1fr; gap: 36px; padding: 0 0 32px; position: relative; }
.schritt:last-child { padding-bottom: 0; }
.schritt__zeit {
  font-family: "JetBrains Mono", monospace; font-size: 11.5px;
  color: var(--text-leise); text-align: right; padding-top: 3px; line-height: 1.5;
}
.schritt__punkt {
  position: absolute; left: 112px; top: 6px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--rand-stark);
}
.schritt--wichtig .schritt__punkt { border-color: var(--accent); background: var(--accent); }
.schritt__text h3 { margin-bottom: 5px; }
.schritt__text p { margin: 0; color: var(--text-leise); font-size: 14.5px; max-width: 58ch; }
.schritt__text p + p { margin-top: 6px; }

/* -- Branding zum Ausprobieren -------------------------------------------- */

.zwei { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.haken { list-style: none; padding: 0; margin: 0; display: grid; gap: 17px; }
.haken li { padding-left: 29px; position: relative; color: var(--text-leise); font-size: 15px; }
.haken li b { color: var(--text); }
.haken li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 13px; height: 2px; background: var(--accent);
}

.farbspiel { background: var(--karte); border: 1px solid var(--rand); border-radius: 13px; padding: 24px; }
.farbspiel__titel { margin: 0 0 15px; font-weight: 600; color: var(--text); }
.farbspiel__reihe { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.farbe {
  width: 38px; height: 38px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; padding: 0; transition: transform .12s;
}
.farbe:hover { transform: scale(1.07); }
.farbe.is-an { border-color: var(--text); }
.farbspiel__info { font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--text-leise); margin: 10px 0 0; }

/* -- Preise --------------------------------------------------------------- */

.schalter {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 30px;
  background: var(--karte); border: 1px solid var(--rand); border-radius: 11px;
}
.schalter__knopf {
  border: 0; background: none; color: var(--text-leise); cursor: pointer;
  padding: 9px 17px; border-radius: 8px; font: 600 14px "Outfit", sans-serif;
}
.schalter__knopf.is-an { background: var(--accent); color: var(--on-accent); }
.spar { font-size: 11.5px; opacity: .85; font-weight: 500; }

/* Gleich hohe Karten: Die Merkmalsliste wächst, damit Grenzen und Knopf in
   allen drei Spalten auf derselben Linie stehen. */
.tarife { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tarif {
  background: var(--karte); border: 1px solid var(--rand);
  border-radius: 14px; padding: 28px 24px; position: relative;
  display: flex; flex-direction: column;
}
.tarif--empfohlen { border-color: var(--accent); }
.tarif__fahne {
  position: absolute; top: -10px; left: 24px; background: var(--accent);
  color: var(--on-accent); font: 700 10.5px "JetBrains Mono", monospace;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
}
.tarif__name { font-size: 20px; margin: 0 0 2px; }
.tarif__unter { color: var(--text-leise); font-size: 13.5px; margin: 0 0 20px; }
.tarif__preis { display: flex; align-items: baseline; gap: 6px; margin-bottom: 3px; }
.tarif__preis b {
  font-family: "Outfit", sans-serif;
  font-size: 40px; font-weight: 600; letter-spacing: -.035em; color: var(--text);
}
.tarif__preis span { color: var(--text-leise); font-size: 13.5px; }
.tarif__spar { color: var(--accent-text); font-size: 12.5px; min-height: 19px; margin: 0 0 20px; }
.tarif__liste {
  list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px;
  align-content: start; flex: 1;
}
.tarif__liste li { padding-left: 22px; position: relative; font-size: 14px; color: var(--text-leise); }
.tarif__liste li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 11px; height: 1.5px;
  background: var(--accent);
}
.tarif__grenzen {
  border-top: 1px solid var(--rand); padding-top: 14px; margin-bottom: 20px;
  flex: none;
  font-family: "JetBrains Mono", monospace; font-size: 11.5px;
  color: var(--text-leise); display: grid; gap: 5px;
}

/* -- Grenzen und Listen ---------------------------------------------------- */

.liste-schlicht { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.liste-schlicht li {
  color: var(--text-leise); font-size: 15px;
  padding-left: 18px; border-left: 2px solid var(--rand-stark);
}
.liste-schlicht b { color: var(--text); }

/* -- Funktionen ------------------------------------------------------------ */

.funktionen { columns: 2; column-gap: 46px; }
.funktion { break-inside: avoid; margin-bottom: 30px; }
.funktion__kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.funktion__kopf svg { width: 17px; height: 17px; color: var(--accent-text); flex: none; }
.funktion h3 { font-size: 17px; }
.funktion p { color: var(--text-leise); font-size: 14.5px; margin: 0; }
.funktion p + p { margin-top: 7px; }

/* -- Formular -------------------------------------------------------------- */

.karte { background: var(--karte); border: 1px solid var(--rand); border-radius: 13px; padding: 26px; }
.formular { display: grid; gap: 18px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld { display: grid; gap: 7px; }
.feld__label { font-size: 12.5px; font-weight: 600; color: var(--text-leise); }
.feld__hinweis { font-size: 12px; color: var(--text-leise); }
.feld__hinweis.ist-frei   { color: var(--gut); }
.feld__hinweis.ist-belegt { color: var(--schlecht); }

input[type=text], input[type=email], input[type=password] {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  border: 1px solid var(--rand); background: var(--bg); color: var(--text);
  font: 400 15px "Outfit", sans-serif;
}
input:focus { outline: none; border-color: var(--accent); }
input::placeholder { color: var(--text-leise); opacity: .65; }

.adresse { display: flex; align-items: stretch; }
.adresse input { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.adresse__rest {
  display: flex; align-items: center; padding: 0 14px;
  background: var(--karte-2); border: 1px solid var(--rand);
  border-top-right-radius: 9px; border-bottom-right-radius: 9px;
  color: var(--text-leise); font-size: 14px; white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
}
.adresse--gross input, .adresse--gross .adresse__rest { font-size: 15.5px; }

.wahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wahl__knopf {
  border: 1px solid var(--rand); background: var(--bg); color: var(--text);
  border-radius: 10px; padding: 13px 10px; cursor: pointer; text-align: left;
  font: 400 12.5px "Outfit", sans-serif;
}
.wahl__knopf b { display: block; font-size: 15px; margin-bottom: 2px; }
.wahl__knopf.is-an { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }

.haken-feld { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text-leise); }
.haken-feld input { margin-top: 3px; accent-color: var(--accent); }
.haken-feld a { color: var(--accent-text); }

.hinweis { padding: 12px 15px; border-radius: 9px; font-size: 14px; }
.hinweis--fehler {
  background: color-mix(in srgb, var(--schlecht) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--schlecht) 40%, transparent);
  color: var(--schlecht);
}

.fertig { text-align: center; }
.fertig__haken {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 17px;
  display: grid; place-items: center; font-size: 25px;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent-text);
}
.fertig__adresse {
  display: inline-block; margin: 13px 0 17px; font-size: 18px; font-weight: 600;
  color: var(--accent-text); text-decoration: none; word-break: break-all;
  font-family: "JetBrains Mono", monospace;
}

.finden { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.finden .adresse { flex: 1; max-width: 420px; }

/* -- Fragen ---------------------------------------------------------------- */

.fragen { display: grid; gap: 9px; }
.fragen details {
  background: var(--karte); border: 1px solid var(--rand);
  border-radius: 11px; padding: 16px 20px;
}
.fragen details[open] { border-color: var(--rand-stark); }
.fragen summary { cursor: pointer; font-weight: 600; list-style: none; color: var(--text); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; float: right; color: var(--accent-text); font-size: 19px; line-height: 1; }
.fragen details[open] summary::after { content: "–"; }
.fragen p { color: var(--text-leise); margin: 12px 0 0; font-size: 14.5px; }

/* -- Abschluss -------------------------------------------------------------- */

.schluss { text-align: center; }
.schluss h2 { max-width: 20ch; margin: 0 auto 18px; }
.schluss .lead { margin: 0 auto 28px; }

.fuss { border-top: 1px solid var(--rand); padding: 32px 0; }
.fuss__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fuss nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.fuss a { color: var(--text-leise); text-decoration: none; font-size: 14px; }
.fuss a:hover { color: var(--text); }

/* -- Rechtstexte ------------------------------------------------------------ */

.recht { padding: 46px 0 80px; }
.recht h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 24px; }
.recht h2 { font-size: 21px; margin: 32px 0 10px; }
.recht p, .recht li { color: var(--text-leise); font-size: 15px; }
.recht ul { padding-left: 20px; }
.recht .zurueck { display: inline-block; margin-bottom: 24px; color: var(--accent-text); text-decoration: none; font-size: 14px; }

/* -- Schmale Fenster -------------------------------------------------------- */

@media (max-width: 980px) {
  .hero__in, .zwei, .gegenueber { grid-template-columns: 1fr; }
  .zwei, .gegenueber { gap: 28px; }
  .tarife { grid-template-columns: 1fr; }
  .funktionen { columns: 1; }
  .funktion { margin-bottom: 26px; }
  .schau__bild { grid-template-columns: 1fr; }
  .schau__seite { display: none; }
  .schau__kacheln { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { background-size: 64px 64px; }
  .marke { font-size: 18px; }
  .marke .zeichen { width: 23px; height: 23px; }
  .fuss__slogan { padding-left: 0; border-left: 0; width: 100%; }
  .top__nav {
    position: absolute; top: 70px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rand); padding: 10px 20px 18px;
  }
  .top__nav.is-offen { display: flex; }
  .top__nav a { padding: 12px 0; font-size: 16px; }
  .top__nav .btn { margin-top: 8px; }
  .ansicht { width: 100%; height: 42px; margin-top: 6px; gap: 9px; }
  .ansicht::after { content: "Ansicht wechseln"; font: 500 14px "Outfit", sans-serif; }
  .top__burger { display: block; }
  .feld-paar, .wahl { grid-template-columns: 1fr; }
  .adresse { flex-direction: column; }
  .adresse input { border-right: 1px solid var(--rand); border-radius: 9px 9px 0 0; }
  .adresse__rest { border-radius: 0 0 9px 9px; border-top: 0; justify-content: center; padding: 9px; }
  .ablauf::before { left: 5px; }
  .schritt { grid-template-columns: 1fr; gap: 4px; padding-left: 26px; }
  .schritt__zeit { text-align: left; }
  .schritt__punkt { left: 0; }
}

/* Nach der Anmeldung: der Satz, auf den es ankommt */
.fertig__frei {
  text-align: left; margin: 4px 0 20px; padding: 15px 17px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.fertig__frei strong { display: block; color: var(--text); margin-bottom: 5px; }
.fertig__frei span { color: var(--text-leise); font-size: 14px; line-height: 1.55; }
