/* Planreif – gemeinsames Stylesheet für Startseite und Anfrage.
   Farben und Schriften stammen aus dem Entwurf „C · Studio“. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --grund: #0E1116;
  --flaeche: #161B22;
  --flaeche-aktiv: #1B2430;
  --linie: #2A313B;
  --linie-stark: #3A424D;
  --text: #E6EDF3;
  --text-2: #C9D1D9;
  --gedaempft: #9AA4AF;
  --blass: #5B6573;
  --akzent: #B6F04A;
  --warnung: #FFB454;
  --schrift: 'Inter', system-ui, sans-serif;
  --kopfschrift: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --rand: clamp(20px, 5vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--grund); color: var(--text); font-family: var(--schrift); font-size: 16px; line-height: 1.55; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--text); }
a:hover { color: var(--akzent); }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
[hidden] { display: none !important; }

.breite { max-width: 1296px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.mono { font-family: var(--mono); font-size: 13px; }
.akzent { color: var(--akzent); }

/* Kopf und Fuß */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); font-family: var(--kopfschrift); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.logo:hover { color: var(--text); }
.kopf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.kopf-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--text-2); }
.kopf-links a:hover { color: var(--akzent); }
.fuss { border-top: 1px solid var(--linie); }
.fuss .breite { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--gedaempft); }
.fuss ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { color: var(--text-2); text-decoration: none; }
.fuss a:hover { color: var(--akzent); }

/* Startseite */
.auftakt { display: flex; flex-direction: column; gap: 20px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 44px; }
.auftakt h1 { font-family: var(--kopfschrift); font-size: clamp(36px, 4.7vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.auftakt p { font-size: 19px; line-height: 1.6; color: var(--gedaempft); max-width: 36em; }

.leistungen { display: flex; flex-direction: column; gap: 24px; padding-bottom: 72px; }
.kacheln { display: flex; flex-wrap: wrap; gap: 20px; }
.kachel { flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.kachel:hover, .kachel:focus-visible { border-color: var(--akzent); color: var(--text); }
.kachel-kopf { display: flex; align-items: center; justify-content: space-between; }
.kachel-bild { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--grund); border: 1px solid var(--linie); border-radius: 10px; }
.kachel-nr { font-family: var(--mono); font-size: 12px; color: var(--gedaempft); }
.kachel h2 { font-family: var(--kopfschrift); font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.kachel p { flex-grow: 1; font-size: 15px; color: var(--gedaempft); }
.kachel-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 16px; border-top: 1px solid var(--linie); }
.kachel-marke { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.kachel-los { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--akzent); }
.leistungen > p { font-size: 15px; color: var(--gedaempft); }

.ablauf { border-top: 1px solid var(--linie); }
.ablauf .breite { display: flex; flex-direction: column; gap: 36px; padding-top: 64px; padding-bottom: 80px; }
.ablauf-kopf { display: flex; flex-direction: column; gap: 12px; }
.ablauf h2 { font-family: var(--kopfschrift); font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.ablauf ol { display: flex; flex-wrap: wrap; gap: 20px; }
.ablauf li { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--linie-stark); }
.ablauf li:first-child { border-top-color: var(--akzent); }
.ablauf li strong { font-size: 17px; font-weight: 600; }
.ablauf li span:last-child { font-size: 15px; color: var(--gedaempft); }

/* Anfrage */
.hinweisband { background: var(--flaeche); border-bottom: 1px solid var(--linie); color: var(--warnung); font-family: var(--mono); font-size: 13px; }
.hinweisband .breite { padding-top: 10px; padding-bottom: 10px; }
.anfrage { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-top: 48px; padding-bottom: 72px; }
.karte { flex: 999 1 520px; min-width: 0; min-height: 440px; display: flex; flex-direction: column; gap: 28px; padding: clamp(20px, 3vw, 40px); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; }
.stand { display: flex; flex-direction: column; gap: 12px; }
.stand-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--gedaempft); }
.balken { height: 4px; background: var(--linie); border-radius: 999px; overflow: hidden; }
.balken div { height: 100%; width: 0; background: var(--akzent); border-radius: 999px; transition: width .25s; }
.schritt { display: flex; flex-direction: column; gap: 24px; }
.frage { display: flex; flex-direction: column; gap: 8px; }
.frage h1 { font-family: var(--kopfschrift); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.frage h1:focus { outline: none; }
.frage p { color: var(--gedaempft); }

.optionen { display: flex; flex-wrap: wrap; gap: 12px; }
.option { flex: 1 1 200px; min-width: 0; min-height: 76px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; text-align: left; background: var(--grund); border: 1.5px solid var(--linie-stark); border-radius: 10px; color: var(--text); cursor: pointer; transition: border-color .15s, background-color .15s; }
.option:hover { border-color: var(--gedaempft); }
.option[aria-pressed="true"] { border-color: var(--akzent); background: var(--flaeche-aktiv); }
.option strong { font-size: 17px; font-weight: 600; }
.option small { font-size: 14px; line-height: 1.45; color: var(--gedaempft); }
.optionen--mehrfach .option { flex-basis: 240px; min-height: 60px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 14px 18px; }
.optionen--mehrfach .option strong { font-size: 16px; }
.haken { flex: 0 0 auto; width: 20px; height: 20px; border: 1.5px solid var(--linie-stark); border-radius: 5px; }
.option[aria-pressed="true"] .haken { border-color: var(--akzent); background: var(--akzent); }

.felder { display: flex; flex-wrap: wrap; gap: 16px; }
.feld { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.feld input { width: 100%; min-height: 52px; padding: 0 14px; background: var(--grund); border: 1.5px solid var(--linie-stark); border-radius: 8px; color: var(--text); font-size: 17px; }
.feld input::placeholder { color: #7D8793; }
.feld input:focus-visible { outline-offset: 0; border-color: var(--akzent); }
.feld input[aria-invalid="true"] { border-color: var(--warnung); }
.feld--breit { flex-basis: 100%; }
.fehler { font-size: 14px; font-weight: 400; color: var(--warnung); }

.zaehler { display: flex; flex-direction: column; gap: 10px; }
.zaehler-zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 7px 7px 7px 18px; background: var(--grund); border: 1.5px solid var(--linie-stark); border-radius: 10px; transition: border-color .15s, background-color .15s; }
.zaehler-zeile.an { border-color: var(--akzent); background: var(--flaeche-aktiv); }
.zaehler-zeile strong { min-width: 0; font-size: 17px; font-weight: 600; }
.zaehler-knoepfe { display: flex; align-items: center; gap: 4px; }
.zaehler-knopf { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 1px solid var(--linie-stark); border-radius: 8px; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.zaehler-knopf:hover:not(:disabled) { border-color: var(--gedaempft); }
.zaehler-knopf:disabled { color: var(--blass); border-color: var(--linie); cursor: default; }
.zaehler-wert { min-width: 40px; text-align: center; font-family: var(--mono); font-size: 18px; }

.upload { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 20px; background: var(--grund); border: 1.5px dashed var(--blass); border-radius: 12px; text-align: center; cursor: pointer; }
.upload.zieht { border-color: var(--akzent); }
.upload strong { font-size: 17px; font-weight: 600; }
.upload small { font-size: 14px; color: var(--gedaempft); }
.upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.upload:hover, .upload:focus-within { border-color: var(--akzent); }
.dateien { display: flex; flex-direction: column; gap: 8px; }
.dateien li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--linie); border-radius: 8px; font-family: var(--mono); font-size: 13px; }
.dateien span:first-child { min-width: 0; overflow-wrap: anywhere; }
.dateien .groesse { margin-left: auto; color: var(--gedaempft); white-space: nowrap; }
.dateien button { min-width: 44px; min-height: 44px; background: transparent; border: 0; border-radius: 8px; color: var(--gedaempft); cursor: pointer; }
.dateien button:hover { color: var(--text); }
.bedarf { display: flex; flex-direction: column; gap: 10px; }
.bedarf h2 { font-size: 15px; font-weight: 600; }
.bedarf ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-2); }
.bedarf li { display: flex; align-items: flex-start; gap: 12px; }
.bedarf li::before { content: ''; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px; background: var(--akzent); border-radius: 1px; }

.fliesstext { max-width: 38em; color: var(--text-2); line-height: 1.6; }
.klein { font-size: 14px; color: var(--gedaempft); }
.klein a { color: var(--text-2); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.nav-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-left: auto; }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--akzent); color: var(--grund); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.knopf:hover { color: var(--grund); filter: brightness(1.06); }
.knopf--rand { padding: 0 18px; background: transparent; border: 1px solid var(--linie-stark); color: var(--text-2); font-size: 15px; font-weight: 500; }
.knopf--rand:hover { color: var(--text); border-color: var(--gedaempft); filter: none; }
.knopf--text { min-height: 44px; padding: 0; background: transparent; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.knopf--text:hover { color: var(--akzent); filter: none; }
.fertig { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px 0; }
.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.weg { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 24px; border: 1px solid var(--linie); border-radius: 12px; }
.weg h2 { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--akzent); }
.weg ol { display: flex; flex-direction: column; gap: 18px; }
.weg li { display: flex; align-items: flex-start; gap: 14px; }
.weg li::before { content: ''; flex: 0 0 auto; width: 12px; height: 12px; margin-top: 5px; border: 1.5px solid var(--blass); border-radius: 999px; }
.weg li.erledigt::before { border-color: var(--akzent); background: var(--akzent); }
.weg li.aktuell::before { border-color: var(--akzent); }
.weg li div { display: flex; flex-direction: column; gap: 3px; }
.weg li strong { font-size: 15px; font-weight: 600; color: var(--text-2); }
.weg li.erledigt strong { color: var(--text); }
.weg li.aktuell strong { color: var(--akzent); }
.weg li span { font-size: 14px; line-height: 1.5; color: var(--gedaempft); }

/* Rechtstexte: Impressum, Datenschutz, AGB */
.rechtstext { display: flex; flex-direction: column; gap: 16px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 80px; }
.rechtstext h1 { font-family: var(--kopfschrift); font-size: clamp(36px, 4.7vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.rechtstext h2 { max-width: 34em; margin-top: 24px; font-family: var(--kopfschrift); font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.rechtstext h3 { max-width: 40em; margin-top: 8px; font-size: 17px; font-weight: 600; }
.rechtstext p, .rechtstext ul, .rechtstext ol, .rechtstext address { max-width: 46em; color: var(--text-2); line-height: 1.65; font-style: normal; }
.rechtstext ul, .rechtstext ol { display: flex; flex-direction: column; gap: 8px; }
.rechtstext li { display: flex; align-items: flex-start; gap: 12px; }
.rechtstext li::before { content: ''; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 10px; background: var(--akzent); border-radius: 1px; }
.rechtstext .stand-datum { font-family: var(--mono); font-size: 13px; color: var(--gedaempft); }
.rechtstext .kasten { display: flex; flex-direction: column; gap: 14px; max-width: calc(46em + 48px); padding: 20px 24px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; }
.rechtstext .kasten h2, .rechtstext .kasten h3 { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
