/* WOHNWERK – öffentliche Website
   Farben nach Markenleitfaden (Petrol, Tiefpetrol, Kupfer, Neutralgrau, Hellton).
   Schrift: Arial – bewusst ohne externe Schriftdienste (keine Verbindung zu Drittservern beim Seitenaufruf).
   Wer später eigene Webschriften möchte: Dateien nach /schriften legen und den @font-face-Block unten aktivieren. */

:root {
  --ground: #F2F6F6; --surface: #FFFFFF; --surface-2: #E3EFF0;
  --ink: #152225; --ink-2: #47585B; --ink-3: #6E7679;
  --line: #D3DEDE; --line-strong: #B2C2C2;
  --petrol: #00707E; --petrol-tief: #004A54; --kupfer: #A9541F; --kupfer-hell: #E9A063;
  --fehler: #A6321E; --ok: #2E7D4F;
  --shadow: 0 1px 2px rgba(21,34,37,.06), 0 10px 26px -14px rgba(21,34,37,.22);
  --maxw: 1120px;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color-scheme: light;
}

/* @font-face { font-family: "Archivo"; src: url("schriften/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; } */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(25px, 3.4vw, 34px); color: var(--petrol-tief); }
h3 { font-size: 18px; }
p { margin: 0; }
p + p { margin-top: 12px; }
a { color: var(--petrol); }
a:hover { color: var(--petrol-tief); }
strong { font-weight: 700; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kupfer); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--kupfer); outline-offset: 2px; }
.nurlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -9999px; top: 8px; background: var(--petrol-tief); color: #fff; padding: 8px 14px; z-index: 20; border-radius: 3px; }
.sprung:focus { left: 8px; }
.h1-eng { margin-top: 14px; }
.eyebrow-eng { margin-bottom: 6px; }
.formular-intro { font-size: 15px; color: var(--ink-2); margin-bottom: 16px; }
.ankreuz-abstand { margin-bottom: 16px; }
.portal-hinweis { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.fuss-hinweis { margin-top: 18px; }
fieldset.feld { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
fieldset.feld legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.nk .eyebrow { margin-bottom: 10px; }

/* Kopf */
header.kopf { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.kopf .zeile { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.marke svg { display: block; width: 40px; height: 40px; }
.marke b { display: block; font-weight: 700; font-size: 20px; letter-spacing: .11em; color: var(--petrol); line-height: 1.1; }
.marke span { display: block; font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); margin-top: 2px; }
nav.haupt { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 700; }
nav.haupt a { color: var(--ink-2); text-decoration: none; }
nav.haupt a:hover { color: var(--petrol); }
nav.haupt a.knopf { color: #fff; }
@media (max-width: 900px) { nav.haupt { gap: 12px; font-size: 13px; flex-wrap: wrap; justify-content: flex-end; } nav.haupt a:not(.knopf):nth-child(n+4) { display: none; } }

.knopf { display: inline-block; background: var(--kupfer); color: #fff; font-weight: 700; font-size: 15px; padding: 11px 20px; text-decoration: none; border: 0; border-radius: 3px; cursor: pointer; font-family: inherit; }
.knopf:hover { background: #8F4619; color: #fff; }
.knopf.gross { font-size: 17px; padding: 15px 28px; }
.knopf.zweit { background: transparent; color: var(--petrol); border: 2px solid var(--petrol); padding: 9px 18px; }
.knopf.zweit:hover { background: var(--surface-2); }

/* Hinweisband (nur solange die Gesellschaft in Gründung ist) */
.band { background: var(--petrol-tief); color: #E3EFF0; font-size: 13.5px; text-align: center; padding: 8px 20px; }
.band a { color: #fff; }

/* Auftakt */
.auftakt { padding: 60px 0 56px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--ground) 100%); }
.auftakt .raster { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .auftakt .raster { grid-template-columns: 1fr; gap: 36px; } }
h1 { font-size: clamp(32px, 4.8vw, 50px); color: var(--ink); }
h1 em { font-style: normal; color: var(--petrol); }
.lead { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 34em; }
.fakten { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; padding: 0; list-style: none; }
.fakten li { font-size: 13px; font-weight: 700; color: var(--petrol-tief); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 13px; background: var(--surface); }
.auftakt .aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }

/* Preisrechner */
.rechner { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--petrol); box-shadow: var(--shadow); padding: 24px 26px 22px; }
.rechner h2 { font-size: 19px; color: var(--ink); letter-spacing: 0; margin-top: 4px; }
.regler { margin-top: 20px; }
.regler label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.regler label output { font-weight: 700; color: var(--petrol); font-size: 16px; }
input[type=range] { width: 100%; accent-color: var(--petrol); height: 26px; margin: 0; }
.wahl { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.wahl .feld { font-size: 14.5px; font-weight: 700; }
select, input[type=text], input[type=email], input[type=tel], textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 15px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface); color: var(--ink); }
.wahl select { margin-top: 6px; font-weight: 400; }
.wahl small, .feld small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.ankreuz { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-2); cursor: pointer; font-weight: 400; }
.ankreuz input { margin: 4px 0 0; accent-color: var(--petrol); width: 17px; height: 17px; flex: none; }
.ankreuz b { display: block; font-size: 14.5px; color: var(--ink); }
.summe { margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--petrol); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.summe .bez { font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 1.35; }
.summe .bez small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.summe .betrag { font-weight: 700; font-size: 34px; color: var(--petrol); white-space: nowrap; line-height: 1; }
.summe .betrag small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); text-align: right; margin-top: 6px; }
.detail { margin: 14px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.detail li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.detail li:last-child { border-bottom: 0; }
.detail li span:last-child { white-space: nowrap; }
.rechner .hinweis { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.balken { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 16px; }
.balken i { width: 7px; background: var(--petrol); opacity: .8; display: block; border-radius: 1px; }
.balken i.akz { background: #C4652E; opacity: 1; }

/* Abschnitte */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section.hell { background: var(--surface); }
.abschnitt-kopf { display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: baseline; margin-bottom: 36px; }
@media (max-width: 760px) { .abschnitt-kopf { grid-template-columns: 1fr; gap: 8px; } }
.abschnitt-kopf p:not(.eyebrow) { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }

/* Ablauf */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 880px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .schritte { grid-template-columns: 1fr; } }
.schritt { background: var(--surface); padding: 24px 22px 24px; display: flex; flex-direction: column; }
.schritt .nr { font-size: 12px; font-weight: 700; color: var(--kupfer); letter-spacing: .1em; text-transform: uppercase; }
.schritt h3 { font-size: 17px; margin: 10px 0 8px; }
.schritt p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.schritt .wer { margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink-3); border-top: 1px dashed var(--line-strong); }
.schritt .wer::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--petrol); margin-right: 8px; vertical-align: 1px; }
.schritt .wer.sie::before { background: var(--kupfer); }

/* Zwei Spalten */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .zwei { grid-template-columns: 1fr; } }
.spalte { background: var(--surface); border: 1px solid var(--line); padding: 26px; }
.spalte.mensch { border-top: 4px solid var(--petrol); }
.spalte.maschine { border-top: 4px solid #C4652E; }
.spalte h3 { font-size: 18px; margin: 4px 0 6px; }
.spalte ul { margin: 12px 0 0; padding: 0; list-style: none; }
.spalte li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.spalte li:last-child { border-bottom: 0; padding-bottom: 0; }
.spalte li b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* Preise */
.preise-tab { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 15.5px; }
.preise-tab th, .preise-tab td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.preise-tab th { background: var(--petrol); color: #fff; font-weight: 700; font-size: 14px; }
.preise-tab td:last-child, .preise-tab th:last-child { text-align: right; white-space: nowrap; }
.preise-tab tr:nth-child(even) td { background: #F7FAFA; }
.preise-tab td small { display: block; color: var(--ink-3); font-size: 13px; }
.tabelle-scroll { overflow-x: auto; }
.beispiele { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 880px) { .beispiele { grid-template-columns: 1fr; } }
.beispiel { background: var(--surface); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; }
.beispiel.mitte { border-color: var(--petrol); box-shadow: var(--shadow); }
.beispiel .name { font-weight: 700; font-size: 18px; }
.beispiel .wer { font-size: 14.5px; color: var(--ink-3); margin: 4px 0 16px; }
.beispiel .preis { font-weight: 700; font-size: 28px; color: var(--petrol); }
.beispiel .preis small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.beispiel ul { margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.beispiel li { padding: 6px 0 6px 20px; position: relative; }
.beispiel li::before { content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 2px; background: var(--kupfer); }
.rechtshinweis { margin-top: 22px; font-size: 14px; color: var(--ink-3); max-width: 80ch; }

/* Nebenkosten */
.nk { background: var(--surface-2); border: 1px solid var(--line); padding: 30px; display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: center; }
@media (max-width: 820px) { .nk { grid-template-columns: 1fr; gap: 22px; } }
.nk h3 { font-size: 22px; margin: 8px 0 10px; }
.nk p { color: var(--ink-2); }
.nk .kasten { background: var(--surface); border: 1px solid var(--line-strong); padding: 18px 20px; }
.nk .kasten .z { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.nk .kasten .z:last-child { border-bottom: 0; font-weight: 700; color: var(--petrol); }
.nk .kasten .z span:last-child { white-space: nowrap; }

/* Fragen */
details { background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--kupfer); font-size: 20px; flex: none; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--ink-2); font-size: 15.5px; max-width: 72ch; }

/* Start / Formular */
.kontakt { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .kontakt { grid-template-columns: 1fr; } }
.kontakt .text p { color: var(--ink-2); }
.startliste { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: s; }
.startliste li { position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); counter-increment: s; }
.startliste li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--petrol); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.startliste li b { display: block; color: var(--ink); }
form.anfrage { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px; }
form.anfrage .reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form.anfrage .reihe { grid-template-columns: 1fr; } }
form.anfrage .feld { display: block; margin-bottom: 16px; }
form.anfrage .feld > span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
form.anfrage .feld > span em { font-style: normal; font-weight: 400; color: var(--ink-3); }
form.anfrage textarea { min-height: 96px; resize: vertical; }
form.anfrage .zeilenwahl { display: flex; flex-wrap: wrap; gap: 8px 18px; }
form.anfrage .zeilenwahl label { display: flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
form.anfrage .zeilenwahl input { accent-color: var(--petrol); width: 17px; height: 17px; }
.hinweis-partner { display: none; margin: -6px 0 16px; padding: 12px 14px; background: var(--surface-2); border-left: 4px solid var(--petrol); font-size: 14px; color: var(--ink-2); }
.hinweis-partner.sichtbar { display: block; }
.honig { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
form.anfrage .senden { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
form.anfrage .status { font-size: 14px; color: var(--ink-2); }
form.anfrage .status.fehler { color: var(--fehler); font-weight: 700; }
form.anfrage .status.ok { color: var(--ok); font-weight: 700; }
form.anfrage .klein { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; line-height: 1.5; }

/* Aufruf */
.aufruf { background: var(--petrol); color: #fff; padding: 52px 0; border: 0; }
.aufruf h2 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); }
.aufruf p { max-width: 54ch; opacity: .94; margin: 14px 0 24px; }
.aufruf a { color: #fff; }

/* Fuß */
footer.fuss { padding: 36px 0 44px; font-size: 13.5px; color: var(--ink-3); }
footer.fuss .zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
footer.fuss a { color: var(--ink-2); text-decoration: none; margin-right: 18px; }
footer.fuss a:hover { color: var(--petrol); text-decoration: underline; }
footer.fuss p { max-width: 80ch; }

/* Rechtsseiten */
.recht { padding: 48px 0 64px; }
.recht .wrap { max-width: 800px; }
.recht h1 { font-size: 32px; margin-bottom: 8px; }
.recht h2 { font-size: 21px; margin: 32px 0 10px; }
.recht p, .recht li { font-size: 16px; color: var(--ink-2); }
.recht ul { padding-left: 22px; }
.recht .stand { color: var(--ink-3); font-size: 14px; }
mark.ausfuellen { background: #FFE9B3; color: #5A3A00; padding: 0 4px; border-radius: 2px; font-weight: 700; }

/* Dankeseite */
.danke { padding: 72px 0 96px; text-align: center; }
.danke .wrap { max-width: 640px; }
.danke h1 { font-size: 34px; }
.danke p { margin-top: 16px; color: var(--ink-2); }
.danke .knopf { margin-top: 28px; }

@media print { header.kopf, .band, .aufruf, .rechner, form.anfrage { display: none; } body { background: #fff; } }

/* ---- Erklärvideo ---- */
.video { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.video-text h2 { margin-top: 6px; }
.video-rahmen { margin: 0; }
.video-rahmen video { display: block; width: 100%; height: auto; border-radius: 12px; background: #000; box-shadow: 0 16px 40px rgba(0, 50, 60, .14); }
.video-rahmen figcaption { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 860px) { .video { grid-template-columns: 1fr; } }
