/* Firmen-Webseite (S0). Farben aus dem App-Symbol: Nachtblau, ∞ in Blau bis Türkis. Keine fremden Schriften. */
:root {
	--bg: #03060c;
	--flaeche: #0b1220;
	--flaeche2: #111a2c;
	--linie: #1d2940;
	--text: #eaf1fb;
	--leise: #a7b6cc;
	--akzent: #38d9ff;
	--akzent-text: #06101e;
	--verlauf: linear-gradient(90deg, #7c5cff, #38d9ff 60%, #bff4ff);
	--rund: 0.75rem;
	--schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { 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(--bg); color: var(--text); font: 1rem/1.6 var(--schrift); }
img { max-width: 100%; height: auto; }
a { color: var(--akzent); text-underline-offset: 0.2em; }
a:focus-visible, .knopf:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 0.25rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1rem; }
.breite { width: min(68rem, 100% - 2.5rem); margin-inline: auto; }
.leise { color: var(--leise); }
.klein { font-size: 0.875rem; }
.gross { font-size: 1.125rem; color: var(--leise); max-width: 40rem; }
.verlauf { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--akzent); color: var(--akzent-text); padding: 0.75rem 1rem; z-index: 10; }
.sprung:focus { left: 1rem; top: 1rem; }
.platzhalter { background: #5c4300; color: #ffe08a; padding: 0 0.25rem; border-radius: 0.25rem; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: rgba(3, 6, 12, 0.92); position: sticky; top: 0; z-index: 5; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.marke { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.marke img { display: block; height: 2rem; width: auto; }
.kopf nav { display: flex; align-items: center; gap: 1.25rem; }
.kopf nav a { color: var(--leise); text-decoration: none; }
.kopf nav a:hover { color: var(--text); }
@media (max-width: 40rem) { .kopf nav .nur-breit { display: none; } }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.75rem; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.25rem; border-radius: var(--rund); background: var(--akzent); color: var(--akzent-text); font-weight: 700; text-decoration: none; }
.knopf:hover { filter: brightness(1.08); }
.knopf.zweit { background: transparent; color: var(--text); border: 1px solid var(--linie); }
.kopf nav .knopf { color: var(--akzent-text); min-height: 2.75rem; padding: 0.5rem 1rem; }

/* Bereiche */
.held { padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.held-raster { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .held-raster { grid-template-columns: 1.4fr 1fr; } }
.ueberzeile { color: var(--akzent); font-weight: 600; font-size: 0.9375rem; }
.abschnitt { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--linie); }

/* Beispiel-Karte */
.beispiel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.25rem 1.25rem 0.75rem; }
.beispiel p { margin-bottom: 0.625rem; }
.beispiel-kopf { color: var(--leise); font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; }
.punkt { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: #5fd38d; flex: none; }
.beispiel-titel { font-weight: 700; font-size: 1.0625rem; }
.beispiel-ok { color: #8fe3b0; }

/* Schritte und Listen */
.schritte { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; counter-reset: schritt; }
@media (min-width: 52rem) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritte li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.25rem; counter-increment: schritt; }
.schritte li::before { content: counter(schritt); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--flaeche2); color: var(--akzent); font-weight: 700; margin-bottom: 0.75rem; }
.schritte p { color: var(--leise); margin: 0; }
.zwei-spalten { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .zwei-spalten { grid-template-columns: 1fr 1fr; } }
.liste { padding-left: 1.25rem; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.haken { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.haken li::before { content: "✓"; color: var(--akzent); font-weight: 700; margin-right: 0.5rem; }
.angebot .breite { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: clamp(1.25rem, 4vw, 2rem); }
.kontakt { font-size: 1.125rem; line-height: 2; }
.kontakt a { overflow-wrap: anywhere; }

/* Rechtstexte */
.text { padding: clamp(2rem, 6vw, 3.5rem) 0; max-width: 46rem; }
.text h2 { font-size: 1.25rem; margin-top: 2rem; }
.text p, .text li { color: var(--leise); }
.text strong { color: var(--text); }

/* Fuss */
.fuss { border-top: 1px solid var(--linie); padding: 1.5rem 0 2rem; color: var(--leise); font-size: 0.875rem; }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; }
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.25rem; }
.fuss a { color: var(--leise); }

/* Kacheln (Funktionen) */
.kacheln { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 44rem) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .kacheln { grid-template-columns: repeat(3, 1fr); } }
.kacheln li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.25rem; }
.kacheln p { color: var(--leise); margin: 0; }

/* Große Zahlen und Anbindungs-Chips (Betriebssystem-Fassung) */
.zahlen { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.zahlen li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1rem 1.25rem; color: var(--leise); }
.zahlen b { display: block; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.1; background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid var(--linie); border-radius: 999px; padding: 0.375rem 0.875rem; background: var(--flaeche); }

/* „in Kürze“-Hinweis und Kostentabelle */
.bald { display: inline-block; margin-left: 0.375rem; padding: 0.0625rem 0.5rem; border: 1px solid var(--akzent); border-radius: 999px;
        color: var(--akzent); font-size: 0.75rem; font-weight: 600; vertical-align: middle; white-space: nowrap; }
.text.breit { max-width: 60rem; }
.tabelle-rahmen { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--linie); border-radius: var(--rund); }
.kosten { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.kosten th, .kosten td { padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; color: var(--text); }
.kosten thead th { background: var(--flaeche); }
.kosten tfoot th, .kosten tfoot td { background: var(--flaeche2); border-bottom: 0; }
.kosten .zahl { white-space: nowrap; }
@media (max-width: 40rem) {
  .kosten thead { display: none; }
  .kosten, .kosten tbody, .kosten tfoot, .kosten tr, .kosten th, .kosten td { display: block; width: 100%; }
  .kosten tr { padding: 0.625rem 0; border-bottom: 1px solid var(--linie); }
  .kosten th, .kosten td { border-bottom: 0; padding: 0.125rem 0.875rem; }
  .kosten td.posten { font-weight: 600; }
  .kosten td[data-label]::before { content: attr(data-label) ": "; color: var(--leise); }
  .kosten td:empty { display: none; }
}

.kosten tr.gruppe th { background: var(--flaeche2); color: var(--akzent); font-weight: 700; }
.kosten tr.summe td { background: var(--flaeche); }
@media (max-width: 40rem) { .kosten tr.gruppe { padding: 0; } .kosten tr.gruppe th { padding: 0.5rem 0.875rem; } }

/* Umschalter € | CHF (ohne JavaScript; ohne :has-Unterstützung bleibt €) */
.chf { display: none; }
.kostenblock:has(#w-chf:checked) .chf { display: inline; }
.kostenblock:has(#w-chf:checked) .eur { display: none; }
.waehrung { border: 1px solid var(--linie); border-radius: var(--rund); padding: 0.5rem 0.75rem 0.75rem; margin: 1rem 0 0; display: flex;
            flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.waehrung legend { padding: 0 0.375rem; color: var(--leise); font-size: 0.875rem; }
.waehrung input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.waehrung label { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--linie);
                  border-radius: 999px; cursor: pointer; color: var(--text); }
.waehrung input:checked + label { background: var(--akzent); color: var(--akzent-text); border-color: var(--akzent); font-weight: 700; }
.waehrung input:focus-visible + label { outline: 3px solid var(--akzent); outline-offset: 3px; }
