/* Kaufseite Lumo im Erscheinungsbild des Plugins (code/erweiterung: arbeitsplatz.html, dunkel.css, lumo.css).
   Helle Fassung: Grund, Karten, Schatten und Schriften wie die helle Grundschicht des Plugins; Lumo, Mint und Graphit
   wie „Lumo lebt“. Nur Systemschriften (wie das Plugin: SF auf dem Mac), keine Schrift aus dem Netz, kein CDN. */
:root {
  --cyprus: #4FE3C1;        /* Hauptfarbe wie im Plugin (dunkel): Mint */
  --cyprus-deep: #8FF3DD;
  --cyprus-hauch: rgba(79, 227, 193, .14);
  --akzent: #4FE3C1;
  --mint: #4FE3C1;
  --auf-mint: #04211C;      /* Schrift auf Mint-Knöpfen, wie im Plugin */
  --graphit: #0B0C0D;
  --graphit-2: #16181A;
  --flaeche2: #1E2124;
  --ink: #F5F7F8;
  --ink-soft: #B7BDC2;
  --linie: rgba(255, 255, 255, .08);
  --karte: #16181A;
  --karte-rand: rgba(255, 255, 255, .08);
  --schatten: 0 0 0 .5px rgba(255, 255, 255, .07), 0 14px 30px -20px rgba(0, 0, 0, .9);
  --schatten-hoch: 0 0 0 .5px rgba(255, 255, 255, .07), 0 22px 48px -24px rgba(0, 0, 0, .9);
  --feldrand: #5d656b;
  --amber: #FFB020; --amber-bg: rgba(255, 176, 32, .12); --amber-rand: #C58A1B;
  --rust: #FF9A80; --rust-bg: rgba(255, 122, 92, .13); --rust-rand: #b5604d;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Rounded", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(60% 40% at 50% 0%, rgba(79, 227, 193, .12), transparent 60%), #0B0C0D;
  background-attachment: fixed;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--cyprus); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cyprus-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyprus); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyprus); color: var(--auf-mint); padding: .6rem 1rem; z-index: 100; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; color: var(--auf-mint); }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }
.schmal { width: min(100% - 32px, 720px); margin-inline: auto; }

/* Kleine Großbuchstaben-Zeile wie im Plugin (.eyebrow) */
.eyebrow { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--cyprus); margin: 0 0 .9rem; }

/* ---------- Kopf und Fuß ---------- */
.kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.1rem 0; }
.marke { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.marke:hover { color: var(--ink); text-decoration: none; }
.marke img { width: 2.6rem; height: auto; display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.kopf nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.kopf nav a { color: var(--ink-soft); text-decoration: none; padding: .35rem 0; font-weight: 500; }
.kopf nav a:hover { color: var(--cyprus); text-decoration: underline; }
.fuss { margin-top: 6rem; padding: 2rem 0 3rem; border-top: 1px solid var(--linie); color: var(--ink-soft); font-size: .95rem; }
.fuss nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin-bottom: .75rem; }
.fuss a { color: var(--ink-soft); }
.fuss a:hover { color: var(--cyprus); }

/* Testmodus-Hinweis (seite.js): dunkel wie Lumos Bühne, mit rotem Punkt */
.testmodus { position: sticky; top: 0; z-index: 50; background: var(--graphit-2); color: #fff; text-align: center; font-weight: 600; letter-spacing: .06em; padding: .5rem 1rem; font-size: .9rem; }
.testmodus::before { content: ""; display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #FF5A4E; margin-right: .55rem; vertical-align: .05em; box-shadow: 0 0 8px rgba(255, 90, 78, .8); }

/* Hinweis „Lumo läuft in Chrome“ (seite.js) */
.chrome-hinweis { width: min(100% - 32px, 1080px); margin: 1rem auto 0; background: var(--amber-bg); border: 1.5px solid var(--amber-rand); color: #FFD48A; border-radius: 16px; padding: .9rem 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.chrome-hinweis p { margin: 0; flex: 1 1 22rem; }
.chrome-hinweis .knopf { min-height: 44px; padding: .5rem 1.2rem; color: #FFD48A; box-shadow: inset 0 0 0 1.5px var(--amber-rand); }
.chrome-hinweis .klein { color: #FFD48A; }
/* Bestätigung nach dem Klick auf einen Schritt */
.bestaetigung { margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 16px; background: var(--cyprus-hauch); }
.bestaetigung p { margin: 0 0 .6rem; color: var(--ink); font-weight: 600; }

/* Entwurfs-Kopf der Rechtstexte */
.entwurf { background: var(--amber-bg); border: 1.5px solid var(--amber-rand); color: #FFD48A; border-radius: 16px; padding: .9rem 1.15rem; font-weight: 700; margin: 1rem 0 2rem; }
.fehlt { background: var(--amber-bg); color: #FFD48A; padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* ---------- Held ---------- */
.held { padding: 2.5rem 0 1rem; }
.held p.lead, .lead { font-size: clamp(1.12rem, 2.2vw, 1.32rem); color: var(--ink-soft); max-width: 42ch; line-height: 1.5; }
.hell { color: var(--cyprus); }
.held-start { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; padding: 2.5rem 0 1rem; }
@media (min-width: 900px) { .held-start { grid-template-columns: 7fr 5fr; gap: 3rem; } }
.held-start h1 { margin-bottom: .45em; }

/* Lumos Bühne: dunkle Fläche wie die Seitenleiste des Plugins, mit Mint-Licht */
.buehne {
  position: relative; margin: 0; border-radius: 32px; overflow: hidden; color: #F5F7F8;
  background: radial-gradient(70% 55% at 50% 30%, rgba(79, 227, 193, .2), transparent 65%), var(--graphit);
  box-shadow: var(--schatten-hoch);
  padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 1.75rem);
  display: grid; justify-items: center; gap: 1.1rem; text-align: center;
}
.buehne img { width: min(70%, 260px); height: auto; display: block; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
.buehne figcaption { font-size: 1rem; color: #C9CFD3; max-width: 30ch; }
.buehne figcaption b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: #F5F7F8; letter-spacing: -.01em; margin-bottom: .15rem; }

/* ---------- Karten (nur wo etwas zusammengehört) ---------- */
.glas {
  background: var(--karte);
  border: 1px solid var(--karte-rand);
  border-radius: 24px;
  box-shadow: var(--schatten);
  padding: clamp(1.25rem, 4vw, 2rem);
  min-width: 0;
}
.zwei { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; align-items: start; }
@media (min-width: 880px) { .zwei { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* Preis */
.preis-zahl { margin: 0 0 .2em; font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 8vw, 4.25rem); letter-spacing: -.035em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.preis-zahl small { font-size: 1.05rem; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); font-family: var(--text); }
.preis-alt { color: var(--ink-soft); }
.pille-tag { display: inline-flex; align-items: center; gap: .45rem; background: var(--cyprus-hauch); color: var(--cyprus-deep); border-radius: 999px; padding: .25rem .8rem; font-weight: 600; font-size: .9rem; margin-bottom: .75rem; }
.pille-tag::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.liste { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.liste li { padding: .7rem 0 .7rem 1.6rem; border-top: 1px solid var(--linie); position: relative; }
.liste li::before { content: ""; position: absolute; left: .1rem; top: 1.12rem; width: .7rem; height: .38rem; border-left: 2px solid var(--akzent); border-bottom: 2px solid var(--akzent); transform: rotate(-45deg); }
.klein { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Formular ---------- */
form { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
label.feld, legend.feld { display: block; font-weight: 600; margin-bottom: .35rem; }
input[type=text], input[type=email], input[type=password], input[type=number] {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--flaeche2); border: 1.5px solid var(--feldrand);
  border-radius: 14px; padding: .75rem 1rem; min-height: 50px; min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
input[type=text]:hover, input[type=email]:hover, input[type=number]:hover { border-color: #8a939a; }
input:focus-visible { outline: none; border-color: var(--cyprus); box-shadow: 0 0 0 4px rgba(79, 227, 193, .28); }
.haken { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .7rem; align-items: start; }
.haken input { width: 1.35rem; height: 1.35rem; margin: .18rem 0 0; accent-color: var(--cyprus); }
.haken label { cursor: pointer; overflow-wrap: anywhere; }
.haken input:focus-visible { outline: 3px solid var(--cyprus); outline-offset: 2px; box-shadow: none; }

/* Tarifwahl als zwei Pillen (wie die Auswahl-Chips im Plugin) */
.tarifwahl { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.tarifwahl legend { padding: 0; }
.tarifwahl[hidden] { display: none; }
.wahl { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.wahl .haken { display: flex; align-items: center; gap: .55rem; padding: .55rem 1.1rem .55rem .85rem; min-height: 48px; border-radius: 999px; background: var(--flaeche2); box-shadow: inset 0 0 0 1.5px var(--feldrand); cursor: pointer; }
.wahl .haken input { margin: 0; }
.wahl .haken label { font-weight: 600; }
.wahl .haken:has(input:checked) { background: var(--cyprus-hauch); box-shadow: inset 0 0 0 2px var(--cyprus); }
#team-feld { margin-top: .25rem; }
#team-feld input { max-width: 12rem; }

/* ---------- Knöpfe (Pille, wie .knopf/.btn im Plugin) ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  background: var(--cyprus); color: var(--auf-mint); border: 0; border-radius: 999px;
  padding: .9rem 1.6rem; min-height: 52px; cursor: pointer; max-width: 100%;
  box-shadow: 0 10px 26px -12px rgba(79, 227, 193, .55);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.knopf:hover { background: var(--cyprus-deep); color: var(--auf-mint); text-decoration: none; }
.knopf:active { transform: translateY(1px); }
.knopf[disabled], .knopf[aria-disabled=true] { opacity: .55; cursor: not-allowed; }
.knopf.hohl { background: transparent; color: var(--cyprus);  box-shadow: inset 0 0 0 1.5px var(--cyprus); }
.knopf.hohl:hover { background: rgba(79, 227, 193, .1); color: var(--cyprus-deep); }
.knopf.gross { font-size: 1.12rem; min-height: 58px; padding: 1rem 1.9rem; }
.knopf.breit { width: 100%; }
.knopf .pfeil { font-size: 1.1em; line-height: 1; }
.leise-knopf { font: inherit; font-weight: 600; color: var(--cyprus); background: none; border: 0; padding: .5rem 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.leise-knopf:hover { color: var(--cyprus-deep); }

.meldung { border-radius: 16px; padding: .85rem 1.1rem; font-weight: 600; }
.meldung.fehler { background: var(--rust-bg); color: var(--rust); border: 1.5px solid var(--rust-rand); }
.meldung.info { background: var(--karte); color: var(--cyprus-deep); border: 1px solid var(--linie); box-shadow: var(--schatten); }

/* ---------- Schritte auf der Startseite (ohne Kästen) ---------- */
.schritte { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .schritte.drei { grid-template-columns: repeat(3, 1fr); } }
.schritte li { counter-increment: s; border-top: 1px solid var(--linie); padding-top: 1.25rem; min-width: 0; }
.schritte li::before {
  content: counter(s); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--flaeche2); color: var(--mint); font-family: var(--display); font-weight: 600; margin-bottom: .9rem;
  box-shadow: 0 0 0 4px rgba(79, 227, 193, .18);
}

/* ---------- Geführte Installation (Danke-Seite) ---------- */
.weg { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.schritt { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .25rem 1.1rem; padding: 1.5rem; border-radius: 28px; transition: background .3s, box-shadow .3s; }
.schritt-marke { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.2rem; background: rgba(255, 255, 255, .08); color: var(--ink-soft); }
.schritt-marke .haken-zeichen { display: none; width: 1.05rem; height: .6rem; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.schritt-inhalt { min-width: 0; }
.schritt h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: .55rem 0 .35rem; }
.schritt p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 52ch; }
.schritt .zusatz { display: inline-block; font-family: var(--text); font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); background: rgba(255, 255, 255, .08); border-radius: 999px; padding: .15rem .65rem; vertical-align: .25em; margin-left: .35rem; }
/* jetzt: hervorgehoben */
.schritt[data-zustand=jetzt] { background: var(--karte); box-shadow: var(--schatten-hoch); border: 1px solid var(--karte-rand); }
.schritt[data-zustand=jetzt] .schritt-marke { background: var(--cyprus); color: var(--auf-mint); box-shadow: 0 0 0 5px rgba(79, 227, 193, .25); }
/* erledigt (angeklickt): ruhig, mit Haken */
.schritt[data-zustand=erledigt] .schritt-marke { background: var(--cyprus-hauch); color: var(--cyprus); }
.schritt[data-zustand=erledigt] .schritt-marke .nr { display: none; }
.schritt[data-zustand=erledigt] .schritt-marke .haken-zeichen { display: block; }
/* später: leiser, Knopf nur als Umriss */
.schritt[data-zustand=spaeter] h2 { color: var(--ink-soft); }
.spaeter-text { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink-soft); }
.spaeter-text::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--amber-rand); }
.schritt .status { font-weight: 600; color: var(--cyprus-deep); margin: .75rem 0 0; }

/* Eingeklappter Rückfall „Falls der Klick nicht geht“ */
.notfall { margin-top: 1rem; }
.notfall summary { cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; color: var(--cyprus); list-style: none; border-radius: 8px; }
.notfall summary::-webkit-details-marker { display: none; }
.notfall summary::before { content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; margin-right: .2rem; }
.notfall[open] summary::before { transform: rotate(45deg); }
.notfall-inhalt { padding: .5rem 0 0; }
.notfall-inhalt p { margin-bottom: .75rem; }
.schluessel { font-family: var(--mono); font-size: .95rem; background: var(--flaeche2); border: 1.5px solid var(--linie); border-radius: 14px; padding: .8rem 1rem; overflow-wrap: anywhere; word-break: break-all; color: var(--ink); margin-bottom: .75rem; }
.kopier-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.kopier-zeile .knopf { min-height: 48px; padding: .7rem 1.3rem; }

.hinweis-test { background: var(--cyprus-hauch); color: var(--cyprus-deep); border-radius: 16px; padding: .9rem 1.15rem; font-weight: 500; margin: 1.25rem 0 0; }

/* ---------- Fragen ---------- */
.fragen details { border-top: 1px solid var(--linie); padding: 1.1rem 0; }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; border-radius: 8px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font-family: var(--text); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--cyprus); flex: 0 0 auto; }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin: .75rem 0 0; color: var(--ink-soft); max-width: 65ch; }

/* ---------- Rechtstexte ---------- */
.text h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
.text h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.text h3 { margin-top: 1.6rem; }
.text ul { padding-left: 1.3rem; }
.text li { margin-bottom: .4rem; }
.text p, .text li { overflow-wrap: anywhere; }

section { margin-top: 5rem; }
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .glas { border-radius: 22px; }
  .buehne { border-radius: 26px; }
  .schritt { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
  .schritt-marke { width: 2.6rem; height: 2.6rem; font-size: 1.05rem; }
  .knopf.gross { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
