/* FLOW 2026 · Reihenfolge: Schriften → Tokens → Basis → Layout → Komponenten → Abschnitte → Hilfsklassen */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* ---------- Tokens (Flow-CI) ---------- */
:root {
	--blau: #0052ff;
	--blau-dunkel: #0043d6;
	--blau-hell: #eef3ff;
	--blau-auf-dunkel: #4d80ff;
	--nacht: #0b0d12;
	--nacht-2: #14181d;
	--text: #21262d;
	--grau: #4e555f;
	--grau-hell: #6e7683;
	--linie: #dfe2e8;
	--flaeche: #f5f6f8;
	--weiss: #ffffff;
	--whatsapp: #1da851;
	--fehler: #c62828;

	--schrift-titel: "Archivo", "Arial Narrow", Arial, sans-serif;
	--schrift-text: "Public Sans", "Segoe UI", Arial, sans-serif;

	--radius-s: 8px;
	--radius: 14px;
	--radius-l: 22px;
	--schatten: 0 1px 2px rgba(11, 13, 18, .06), 0 12px 32px rgba(11, 13, 18, .10);
	--raum: clamp(56px, 9vw, 112px);
	--breite: 1200px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift-text); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--weiss); padding-bottom: 64px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
h1, h2, h3 { font-family: var(--schrift-titel); color: var(--nacht); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 32px, var(--breite)); margin-inline: auto; }
.wrap--schmal { max-width: 820px; }
.abschnitt { padding-block: var(--raum); }
.abschnitt--hell { background: var(--flaeche); }
.abschnitt--dunkel { background: var(--nacht); color: #c9ced8; }
.abschnitt--dunkel .h2, .abschnitt--dunkel h3 { color: var(--weiss); }
.abschnitt__intro { color: var(--grau); max-width: 60ch; font-size: 1.08rem; margin-bottom: 2rem; }
.abschnitt--dunkel .abschnitt__intro { color: #aab1bd; }
.zwei-spalten { display: grid; gap: 40px; }
.zwei-spalten > *, .hero__raster > * { min-width: 0; }
@media (min-width: 960px) {
	.zwei-spalten { grid-template-columns: 1fr 1fr; gap: 64px; }
	.zwei-spalten--mitte { align-items: center; }
}

/* ---------- Typografie ---------- */
.h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: -.025em; }
.h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
.h3 { font-size: 1.3rem; font-weight: 700; margin-top: 1.6em; }
.kicker { font-family: var(--schrift-titel); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blau); margin-bottom: .9em; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.kicker--hell { color: var(--blau-auf-dunkel); }
.blau { color: var(--blau-auf-dunkel); }
.text h2 { font-size: 1.25rem; margin-top: 1.8em; }
.hinweis { font-size: .9rem; color: var(--grau-hell); }

/* ---------- Icons ---------- */
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Knöpfe ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; border: 2px solid transparent; font: 700 1rem/1 var(--schrift-text); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--primaer { background: var(--blau); color: var(--weiss); }
.btn--primaer:hover { background: var(--blau-dunkel); }
.btn--hell { background: transparent; color: var(--weiss); border-color: rgba(255, 255, 255, .35); }
.btn--hell:hover { border-color: var(--weiss); }
.btn--whatsapp { background: var(--whatsapp); color: var(--weiss); }
.btn--leise { background: var(--flaeche); color: var(--text); }
.btn--breit { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Zugänglichkeit ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blau); color: var(--weiss); padding: 10px 16px; border-radius: 8px; }
.springen:focus { left: 8px; }

/* ---------- Kopf ---------- */
.topbar { background: var(--nacht); color: #aab1bd; font-size: .82rem; }
.topbar__innen { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar__ort, .topbar__tel { display: inline-flex; align-items: center; gap: 8px; }
.topbar__tel { color: var(--weiss); font-weight: 700; text-decoration: none; }
.topbar__ort { display: none; }
@media (min-width: 700px) { .topbar__ort { display: inline-flex; } }

.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.kopf__logo img { width: 112px; height: auto; }
.nav { display: none; }
.menue-knopf { width: 48px; height: 48px; border: 0; background: var(--flaeche); border-radius: 10px; position: relative; cursor: pointer; }
.menue-knopf span:first-child, .menue-knopf span:first-child::before, .menue-knopf span:first-child::after { position: absolute; left: 14px; width: 20px; height: 2px; background: var(--nacht); border-radius: 2px; content: ""; transition: transform .2s; }
.menue-knopf span:first-child { top: 23px; }
.menue-knopf span:first-child::before { left: 0; top: -7px; }
.menue-knopf span:first-child::after { left: 0; top: 7px; }
.menue-offen .nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--weiss); border-bottom: 1px solid var(--linie); padding: 12px 16px 20px; box-shadow: var(--schatten); }
.menue-offen .menue-knopf span:first-child { background: transparent; }
.menue-offen .menue-knopf span:first-child::before { transform: translateY(7px) rotate(45deg); }
.menue-offen .menue-knopf span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
.nav__liste { list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; white-space: nowrap; padding: 12px 8px; color: var(--text); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav__link.ist-aktiv { color: var(--blau); background: var(--blau-hell); }
.nav__knoepfe { display: grid; gap: 10px; margin-top: 12px; }

@media (min-width: 1180px) {
	.menue-knopf { display: none; }
	.nav, .menue-offen .nav { display: flex; position: static; align-items: center; gap: 18px; padding: 0; box-shadow: none; border: 0; background: none; }
	.nav__liste { display: flex; gap: 2px; }
	.nav__link { padding: 8px 10px; font-size: .95rem; }
	.nav__knoepfe { display: flex; margin: 0; }
	.nav__knoepfe .btn { min-height: 44px; padding: 0 16px; font-size: .92rem; }
	.kopf__logo img { width: 128px; }
}

/* ---------- Hero / Seitenkopf ---------- */
.hero, .seitenkopf { position: relative; overflow: hidden; background: var(--nacht); color: #c9ced8; padding-block: clamp(40px, 7vw, 96px); }
.hero__welle { position: absolute; inset: auto -10% 0 auto; width: 120%; height: 100%; background: url("../img/welle-band.webp") right bottom / cover no-repeat; opacity: .9; pointer-events: none; }
.hero .h1, .seitenkopf .h1 { color: var(--weiss); }
.hero__raster { position: relative; display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .hero__raster { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; } }
.hero__intro { font-size: 1.12rem; max-width: 52ch; color: #c9ced8; }
.hero__punkte { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .95rem; color: var(--weiss); }
.hero__punkte li { display: inline-flex; align-items: center; gap: 8px; }
.hero__punkte .icon { color: var(--blau-auf-dunkel); }
.seitenkopf .wrap { position: relative; }
.seitenkopf--kurz { padding-block: clamp(40px, 6vw, 80px); }
.seitenkopf__bild img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Bilder ---------- */
.bild { position: relative; margin: 0; }
.bild img { width: 100%; }
.bild--rund img { border-radius: var(--radius-l); }
.bild__hinweis { position: absolute; right: 10px; bottom: 10px; font-size: .68rem; letter-spacing: .04em; color: var(--weiss); background: rgba(11, 13, 18, .55); padding: 2px 8px; border-radius: 6px; }

/* ---------- Vertrauensleiste ---------- */
.vertrauen { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.vertrauen__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; padding-block: 22px; }
@media (min-width: 900px) { .vertrauen__liste { display: flex; justify-content: space-between; } }
.vertrauen__punkt { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--nacht); font-size: .95rem; hyphens: auto; overflow-wrap: anywhere; }
.vertrauen__punkt .icon { color: var(--blau); width: 26px; height: 26px; }

/* ---------- Anfrage / Formular ---------- */
.anfrage { background: var(--weiss); color: var(--text); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 34px); box-shadow: var(--schatten); }
.formular-karte .anfrage { border: 1px solid var(--linie); }
.anfrage__titel { font-size: 1.55rem; font-weight: 800; margin-bottom: .25em; }
.anfrage__unter { color: var(--grau); font-size: .95rem; }
.anfrage__fehler { background: #fdecec; color: var(--fehler); padding: 10px 14px; border-radius: var(--radius-s); font-weight: 600; }
.anfrage__danke { text-align: left; }
.anfrage__haken { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blau-hell); color: var(--blau); margin-bottom: 14px; }
.anfrage__haken .icon { width: 30px; height: 30px; }
.anfrage__alternativ { font-size: .9rem; color: var(--grau); margin: 18px 0 0; }

.formular__falle { position: absolute; left: -9999px; }
.formular__fortschritt { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; font-size: .82rem; font-weight: 700; color: var(--grau); }
.formular__balken { flex: 1; height: 6px; background: var(--flaeche); border-radius: 3px; overflow: hidden; }
.formular__balken i { display: block; height: 100%; width: 0; background: var(--blau); border-radius: 3px; transition: width .25s; }
.schritt { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.schritt__frage { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.2rem; color: var(--nacht); margin-bottom: 14px; padding: 0; }
.formular:not(.ist-schrittweise) .schritt { padding-bottom: 22px; border-bottom: 1px solid var(--linie); }
.formular__nav { display: flex; justify-content: space-between; gap: 12px; }
.formular__nav .formular__weiter { margin-left: auto; }

.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kachel { position: relative; cursor: pointer; }
.kachel input { position: absolute; opacity: 0; inset: 0; }
.kachel__inhalt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 84px; padding: 14px; border: 2px solid var(--linie); border-radius: 12px; font-weight: 700; font-size: .95rem; line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; transition: border-color .15s, background .15s; }
.kachel__inhalt .icon { color: var(--blau); width: 26px; height: 26px; }
.kachel:hover .kachel__inhalt { border-color: var(--blau-auf-dunkel); }
.kachel input:checked + .kachel__inhalt { border-color: var(--blau); background: var(--blau-hell); }
.kachel input:focus-visible + .kachel__inhalt { outline: 3px solid var(--blau); outline-offset: 2px; }

.feld { display: block; margin-bottom: 14px; }
.feld__name { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--nacht); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #c6cbd4; border-radius: 10px; font: 400 1rem var(--schrift-text); color: var(--text); background: var(--weiss); }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--blau); outline: 3px solid var(--blau-hell); }
.feld__hilfe { font-size: .85rem; color: var(--grau-hell); margin: 6px 0 0; }
.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.haken-feld { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; margin: 8px 0 16px; cursor: pointer; }
.haken-feld input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blau); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--linie); border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chip input:checked + span { border-color: var(--blau); background: var(--blau-hell); color: var(--blau-dunkel); }
.chip input:focus-visible + span { outline: 3px solid var(--blau); }

/* ---------- Karten (Leistungen) ---------- */
.karten { display: grid; gap: 18px; }
@media (min-width: 700px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .karten { grid-template-columns: repeat(4, 1fr); } }
.karte { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--weiss); transition: box-shadow .2s, transform .2s; }
.karte:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.karte__bild img { aspect-ratio: 16 / 10; object-fit: cover; }
.karte__text { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.karte__text p { color: var(--grau); font-size: .95rem; }
.karte__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blau-hell); color: var(--blau); margin-bottom: 14px; }
.karte--bild .karte__icon { margin-top: -44px; position: relative; background: var(--blau); color: var(--weiss); box-shadow: 0 6px 16px rgba(0, 82, 255, .35); }
.karte__titel { font-size: 1.2rem; }
.karte__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; }

.haken-liste { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.haken-liste li { display: flex; gap: 12px; align-items: flex-start; }
.haken-liste .icon { color: var(--blau); margin-top: 3px; }
.haken-liste--klein { gap: 6px; font-size: .9rem; margin-bottom: .6em; }

/* ---------- Ablauf ---------- */
.ablauf { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 800px) { .ablauf { grid-template-columns: repeat(4, 1fr); } }
.ablauf__schritt { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--nacht-2); border: 1px solid #262c35; }
.ablauf__schritt p { margin: 0; font-size: .95rem; }
.ablauf__nr { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blau); color: var(--weiss); font: 800 1.1rem var(--schrift-titel); margin-bottom: 16px; }

/* ---------- Vorteile ---------- */
.vorteile { display: grid; gap: 22px; }
@media (min-width: 600px) { .vorteile { grid-template-columns: 1fr 1fr; } }
.vorteil { display: flex; gap: 14px; }
.vorteil h3 { font-size: 1.05rem; margin-bottom: .3em; }
.vorteil p { color: var(--grau); font-size: .93rem; margin: 0; }
.vorteil__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blau-hell); color: var(--blau); flex: none; }
.zwei-spalten .bild--rund { margin-top: 26px; }

/* ---------- Einsatzgebiet ---------- */
.orte { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.orte li { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie); font-weight: 600; font-size: .92rem; }
.orte .icon { color: var(--blau); width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--linie); }
.faq__eintrag { border-bottom: 1px solid var(--linie); }
.faq__eintrag summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 700 1.08rem var(--schrift-titel); color: var(--nacht); }
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__eintrag summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blau); transition: transform .2s; }
.faq__eintrag[open] summary::after { transform: rotate(45deg); }
.faq__eintrag p { color: var(--grau); padding-bottom: 18px; margin: 0; max-width: 70ch; }

/* ---------- Schluss-Aufruf ---------- */
.cta { position: relative; overflow: hidden; color: var(--weiss); padding-block: clamp(72px, 12vw, 140px); background: var(--nacht); }
.cta__bild { position: absolute; inset: 0; }
.cta__bild img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 18, .92) 0%, rgba(11, 13, 18, .6) 45%, rgba(11, 13, 18, 0) 75%); }
.cta__inhalt { position: relative; max-width: 640px; margin-left: max(16px, calc((100% - var(--breite)) / 2)); }
.cta .h2 { color: var(--weiss); }
.cta p { color: #dfe3ea; font-size: 1.1rem; }

/* ---------- Kontaktseite ---------- */
.kontaktwege { display: grid; gap: 12px; align-content: start; }
.kontaktweg { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--linie); border-radius: var(--radius); color: var(--text); text-decoration: none; }
a.kontaktweg:hover { border-color: var(--blau); }
.kontaktweg .icon { color: var(--blau); width: 26px; height: 26px; margin-top: 2px; }
.kontaktweg b { display: block; color: var(--nacht); }
.kontaktweg span { overflow-wrap: anywhere; }
.mini-ablauf { padding-left: 1.2em; display: grid; gap: 8px; color: var(--grau); }

/* ---------- Fuß ---------- */
.fuss { position: relative; background: var(--nacht); color: #aab1bd; padding-top: 72px; overflow: hidden; }
.fuss__welle { position: absolute; inset: 0; background: url("../img/welle-band.webp") right center / cover no-repeat; opacity: .35; }
.fuss__raster { position: relative; display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 900px) { .fuss__raster { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.fuss__marke img { width: 150px; margin-bottom: 14px; }
.fuss__titel { color: var(--weiss); font-size: 1rem; margin-bottom: 12px; }
.fuss__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.fuss a { color: #dfe3ea; text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss__text { font-size: .95rem; }
.fuss__unten { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid #262c35; font-size: .88rem; }

/* ---------- Handy-Schnellleiste ---------- */
.handyleiste { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--weiss); border-top: 1px solid var(--linie); box-shadow: 0 -6px 20px rgba(11, 13, 18, .08); padding-bottom: env(safe-area-inset-bottom); }
.handyleiste a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700; font-size: .95rem; color: var(--nacht); text-decoration: none; }
.handyleiste a:nth-child(2) .icon { color: var(--whatsapp); }
.handyleiste a.handyleiste__haupt { background: var(--blau); color: var(--weiss); }
@media (min-width: 900px) { .handyleiste { display: none; } body { padding-bottom: 0; } }

/* ---------- Ratgeber und Ortsseiten ---------- */
.artikel { display: grid; gap: 40px; }
@media (min-width: 1000px) { .artikel { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .artikel__seite { position: sticky; top: 96px; } }
.artikel__text { max-width: 72ch; }
.artikel__text h2 { font-size: 1.5rem; margin-top: 1.6em; }
.artikel__text h2:first-child { margin-top: 0; }
.artikel__text .orte { margin-bottom: 1.4em; }
.artikel__quellen a { color: var(--grau); }
.fuss__titel--abstand { margin-top: 26px; }
.orte a { display: inline-flex; align-items: center; gap: 6px; color: var(--blau); text-decoration: none; }
