@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

/* Farben wie in der App (src/styles.css) */
:root {
  --blau: #1f7fc4;
  --blau-hell: #2c99e0;
  --dunkel: #1a3a5c;
  --tief: #0f2137;
  --warm: #f8f6f1;
  --flaeche: #ffffff;
  --flaeche-2: #eef3f8;
  --text: #1a2a3a;
  --grau: #56677a;
  --rand: #d9e1e8;
  --orange: #e67e22;
  --orange-text: #a8540c;
  --orange-hell: #fdf1e5;
  --gruen: #1e8a4c;
  --auf-farbe: #fff;
  --schatten: 0 1px 2px rgba(15, 33, 55, .06), 0 8px 24px rgba(15, 33, 55, .07);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blau: #5cb3ee;
    --blau-hell: #5cb3ee;
    --dunkel: #e4edf5;
    --warm: #0f1a26;
    --flaeche: #172636;
    --flaeche-2: #1d3044;
    --text: #e4ebf2;
    --grau: #a3b3c3;
    --rand: #2a3e52;
    --orange-text: #f2a55c;
    --orange-hell: #2e2217;
    --gruen: #58c98a;
    --auf-farbe: #0f1a26;
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blau: #5cb3ee; --blau-hell: #5cb3ee; --dunkel: #e4edf5; --warm: #0f1a26; --flaeche: #172636; --flaeche-2: #1d3044;
  --text: #e4ebf2; --grau: #a3b3c3; --rand: #2a3e52; --orange-text: #f2a55c; --orange-hell: #2e2217; --gruen: #58c98a;
  --auf-farbe: #0f1a26; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--warm);
  color: var(--text);
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blau-hell); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--dunkel); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.innen { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.schmal { max-width: 760px; }
.grau { color: var(--grau); }
.klein { font-size: .9rem; }
.vorspann { font-size: 1.2rem; color: var(--grau); max-width: 40em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--warm) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rand); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marke { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 800; color: var(--dunkel); text-decoration: none; font-size: 1.05rem; }
.marke img { width: 36px; height: 36px; border-radius: 9px; }
.navi { display: flex; align-items: center; gap: 22px; }
.navi a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.navi a:hover { color: var(--blau); }
.navi .knopf { white-space: nowrap; padding: 9px 16px; font-size: .95rem; min-height: 0; color: var(--warm); }
.navi .knopf:hover { color: var(--warm); }
@media (max-width: 820px) { .navi a:not(.knopf) { display: none; } }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; text-decoration: none;
  background: var(--dunkel); color: var(--warm); border: 2px solid var(--dunkel); min-height: 52px;
}
.knopf:hover { filter: brightness(1.12); }
.knopf-zweit { background: transparent; color: var(--dunkel); }
.knopf-zweit:hover { background: var(--flaeche); filter: none; }
.knopf-store { background: #000; border-color: #000; color: #fff; }
.knopf-store svg { width: 22px; height: 22px; fill: currentColor; }
.knopf-store .zeilen { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.knopf-store .zeilen small { font-weight: 600; font-size: .72rem; opacity: .85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .knopf-store { background: #fff; border-color: #fff; color: #000; } }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Einstieg ---------- */
.einstieg { padding: 56px 0 72px; overflow: hidden; }
.einstieg .innen { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.einstieg h1 span { color: var(--blau); }
.einstieg .vorspann { margin-bottom: 28px; }
.marken-zeile { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding: 0; list-style: none; color: var(--grau); font-size: .95rem; font-weight: 600; }
.marken-zeile li { display: flex; align-items: center; gap: 8px; }
.marken-zeile li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hinweis-bald { display: inline-block; margin-top: 14px; font-size: .9rem; color: var(--grau); }
.bild-buehne { position: relative; display: flex; justify-content: center; }
.bild-buehne::before { content: ''; position: absolute; inset: 8% 0 4%; background: radial-gradient(closest-side, color-mix(in srgb, var(--blau-hell) 26%, transparent), transparent); z-index: 0; }
@media (max-width: 860px) {
  .einstieg { padding: 32px 0 48px; }
  .einstieg .innen { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Telefon-Rahmen ---------- */
.telefon {
  position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 390 / 844;
  border-radius: 46px; padding: 11px; background: #111a24;
  box-shadow: 0 0 0 2px #2c3b4b, 0 30px 60px -20px rgba(15, 33, 55, .45);
}
/* Die Bilder haben keine Statusleiste: oben Platz lassen, damit die Kamera-Aussparung nichts verdeckt */
.telefon img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; background: #f2f2f7; padding-top: 44px; }
.telefon::after { content: ''; position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); border-radius: 14px; background: #111a24; }
.telefon.klein { width: min(250px, 70vw); border-radius: 40px; padding: 9px; }
.telefon.klein img { border-radius: 32px; padding-top: 38px; }
.telefon.klein::after { top: 17px; height: 20px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 80px 0; }
.abschnitt-hell { background: var(--flaeche); border-block: 1px solid var(--rand); }
.kopfzeile { max-width: 760px; margin-bottom: 44px; }
.kopfzeile .ueber { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 10px; }
@media (max-width: 700px) { .abschnitt { padding: 56px 0; } }

/* Problem */
.zitat { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.45; color: var(--dunkel); font-weight: 600; border-left: 5px solid var(--orange); padding-left: 24px; margin: 0 0 28px; max-width: 34em; }
.fragen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
@media (max-width: 860px) { .fragen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fragen { grid-template-columns: 1fr; } }
.fragen li { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px; padding: 16px 18px; font-weight: 600; color: var(--dunkel); }
.fragen li span { display: block; font-weight: 400; color: var(--grau); font-size: .95rem; margin-top: 2px; }

/* Schritte */
.schritte { display: grid; gap: 64px; }
.schritt { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.schritt:nth-child(even) .schritt-bild { order: -1; }
.schritt-bild { display: flex; justify-content: center; }
.nummer { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dunkel); color: var(--warm); font-weight: 800; margin-bottom: 14px; }
.schritt ul { padding-left: 1.2em; margin: 0; }
.schritt li { margin-bottom: 6px; }
@media (max-width: 820px) {
  .schritt { grid-template-columns: 1fr; gap: 28px; }
  .schritt:nth-child(even) .schritt-bild { order: 0; }
}

/* Funktionskacheln */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kacheln.vier { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .kacheln, .kacheln.vier { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kacheln, .kacheln.vier { grid-template-columns: 1fr; } }
.kachel { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 24px; box-shadow: var(--schatten); }
.abschnitt-hell .kachel { background: var(--warm); box-shadow: none; }
.kachel .symbol { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--flaeche-2); color: var(--blau); margin-bottom: 14px; }
.kachel .symbol svg { width: 24px; height: 24px; }
.kachel p { margin: 0; color: var(--grau); font-size: 1rem; }

/* Sicherheit */
.sicherheit { background: var(--tief); color: #dbe6f0; }
.sicherheit h2, .sicherheit h3 { color: #fff; }
.sicherheit .kopfzeile .ueber { color: #f2a55c; }
.sicherheit .vorspann { color: #aebfd0; }
.sicherheit .kachel { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.sicherheit .kachel p { color: #aebfd0; }
.sicherheit .kachel .symbol { background: rgba(92, 179, 238, .15); color: #7cc3f2; }
.sicherheit a { color: #7cc3f2; }
.ehrlich { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: rgba(230, 126, 34, .12); border: 1px solid rgba(230, 126, 34, .35); color: #f3d9c0; font-size: 1rem; }
.ehrlich strong { color: #fff; }

/* Notfallzugang Ablauf (senkrecht) */
.ablauf { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: a; }
.ablauf li { position: relative; padding: 0 0 0 62px; }
.ablauf li::before { counter-increment: a; content: counter(a); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; z-index: 1; }
.ablauf li::after { content: ''; position: absolute; top: 48px; left: 21px; width: 2px; height: calc(100% - 26px); background: var(--rand); }
.ablauf li:last-child::after { display: none; }
.ablauf h3 { margin-bottom: 2px; padding-top: 8px; }
.ablauf p { color: var(--grau); font-size: 1rem; margin: 0; }
.zweispaltig { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .zweispaltig { grid-template-columns: 1fr; } }

/* Preise */
.preise { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; }
@media (max-width: 760px) { .preise { grid-template-columns: 1fr; } }
.preis { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.preis.premium { border: 2px solid var(--orange); position: relative; }
.preis .etikett { position: absolute; top: -13px; left: 26px; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.preis .betrag { font-size: 2.4rem; font-weight: 800; color: var(--dunkel); line-height: 1.1; margin: 6px 0 2px; }
.preis .betrag small { font-size: 1rem; font-weight: 600; color: var(--grau); }
.preis ul { list-style: none; padding: 0; margin: 20px 0 0; }
.preis li { padding: 9px 0 9px 32px; border-top: 1px solid var(--rand); position: relative; font-size: 1rem; }
.preis li::before { content: ''; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.preis .fuss { margin-top: auto; padding-top: 18px; font-size: .9rem; color: var(--grau); }
.kasten { margin-top: 24px; max-width: 900px; padding: 20px 24px; background: var(--orange-hell); border-radius: 14px; border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent); }
.kasten p:last-child { margin: 0; }

/* Plattformen */
.plattformen { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .plattformen { grid-template-columns: 1fr; } }

/* Beratung */
.beratung { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: var(--flaeche); border: 1px solid var(--rand); border-radius: 24px; padding: 36px; box-shadow: var(--schatten); }
.beratung .portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; background: var(--flaeche-2); }
@media (max-width: 700px) { .beratung { grid-template-columns: 1fr; padding: 26px; } }

/* FAQ */
.faq details { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--dunkel); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--blau); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 22px 18px; color: var(--text); }
.faq details > div p:last-child { margin: 0; }

/* Abschluss */
.abschluss { text-align: center; }
.abschluss .knopfreihe { justify-content: center; }

/* ---------- Fuß ---------- */
.fuss-seite { border-top: 1px solid var(--rand); padding: 40px 0 48px; font-size: .95rem; color: var(--grau); }
.fuss-seite .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.fuss-seite nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss-seite a { color: var(--grau); }

/* ---------- Textseiten (Support, Rechtstexte) ---------- */
.textseite { padding: 48px 0 72px; }
.textseite h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.textseite h2 { font-size: 1.3rem; margin-top: 1.8em; }
.textseite .karte { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 8px 28px 24px; }
.textseite li { margin-bottom: 8px; }
.entwurf { display: inline-block; background: var(--orange-hell); color: var(--orange-text); font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent); }
.inhalt-liste { columns: 2; gap: 32px; padding-left: 1.2em; }
@media (max-width: 600px) { .inhalt-liste { columns: 1; } }

/* ---------- Hinweis „im Aufbau“ (nur bis zum Start) ---------- */
.baustelle { margin: 0; padding: 12px 20px; background: var(--orange-hell); color: var(--orange-text); border-bottom: 1px solid color-mix(in srgb, var(--orange) 40%, transparent); font-size: .95rem; line-height: 1.5; text-align: center; }
.baustelle strong { color: var(--orange-text); }
