/* ETS Strotzer – Website. Farben und Schrift laut 02_design/design.md */

@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url("../fonts/rajdhani-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); }

:root {
  --schwarz: #000000;
  --weiss: #ffffff;
  --gelb: #f1fd54;
  --kohle: #141414;
  --linie-dunkel: #2b2b2b;
  --hell: #f3f3f0;
  --linie-hell: #dcdcd6;
  --text: #111111;
  --text-leise: #55554f;
  --text-leise-dunkel: #b9b9b2;
  --kopf: "Rajdhani", "Arial Narrow", Arial, sans-serif;
  --lauf: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --breite: 1120px;
  --rand: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--lauf); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--weiss); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 700; line-height: 1.02; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 8.6vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: 1.5rem; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.hell :focus-visible, .weiss :focus-visible { outline-color: var(--schwarz); }

.innen { max-width: var(--breite); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 12px; top: 12px; z-index: 50; background: var(--gelb); color: var(--schwarz); padding: 10px 14px; }

/* Entwurfshinweis – verschwindet, wenn build.py mit ENTWURF = False läuft */
.entwurf { background: var(--gelb); color: var(--schwarz); font-family: var(--kopf); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; text-align: center; padding: 5px var(--rand); }

/* Kopf */
.kopf { background: var(--schwarz); color: var(--weiss); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--linie-dunkel); }
.kopf .innen { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.kopf .logo { margin-right: auto; display: block; }
.kopf .logo img { height: 58px; width: auto; }
.menue { display: flex; align-items: center; gap: 28px; font-family: var(--kopf); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; }
.menue a { text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; }
.menue a:hover, .menue a[aria-current="page"] { border-bottom-color: var(--gelb); }
.anruf { display: inline-flex; align-items: center; gap: 8px; font-family: var(--kopf); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-decoration: none; color: var(--gelb); border: 2px solid var(--gelb); padding: 7px 14px; white-space: nowrap; }
.anruf:hover { background: var(--gelb); color: var(--schwarz); }
.menue-knopf { display: none; background: none; border: 2px solid var(--weiss); color: var(--weiss); font-family: var(--kopf); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 12px; cursor: pointer; }

@media (max-width: 860px) {
  .kopf .innen { flex-wrap: wrap; gap: 12px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
  .kopf .logo img { height: 42px; }
  .menue-knopf { display: block; }
  .kopf .anruf { display: none; }
  .menue { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .menue.offen { display: flex; }
  .menue a { padding: 14px 0; border-bottom: 1px solid var(--linie-dunkel); }
  .menue a[aria-current="page"] { color: var(--gelb); border-bottom-color: var(--linie-dunkel); }
  .menue .anruf-mobil { display: block; color: var(--gelb); }
}
@media (min-width: 861px) { .menue .anruf-mobil { display: none; } }

/* Flächen */
.dunkel { background: var(--schwarz); color: var(--weiss); }
.hell { background: var(--hell); }
.abschnitt { padding: clamp(56px, 9vw, 104px) 0; }
.marke { font-family: var(--kopf); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.95rem; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.marke::before { content: ""; width: 36px; height: 6px; background: var(--gelb); flex: none; }
.weiss .marke::before, .hell .marke::before { background: var(--schwarz); }
.vorspann { font-size: 1.2rem; color: var(--text-leise); margin-top: 20px; }
.dunkel .vorspann { color: var(--text-leise-dunkel); }

/* Startbereich */
.start { position: relative; overflow: hidden; padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }
.start .zahnrad { position: absolute; right: -120px; top: 50%; width: min(640px, 70vw); transform: translateY(-50%); opacity: 0.11; pointer-events: none; }
.start .innen { position: relative; }
.start h1 span { color: var(--gelb); display: block; }
.start .vorspann { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 46ch; margin-top: 28px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--kopf); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; padding: 14px 26px; border: 2px solid var(--gelb); background: var(--gelb); color: var(--schwarz); cursor: pointer; min-height: 54px; }
.knopf:hover { background: var(--weiss); border-color: var(--weiss); }
.knopf.rand { background: transparent; color: var(--weiss); border-color: var(--weiss); }
.knopf.rand:hover { background: var(--weiss); color: var(--schwarz); }
.knopf.schwarz { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }
.knopf.schwarz:hover { background: var(--kohle); color: var(--gelb); }
.fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 8vw, 88px); border-top: 1px solid var(--linie-dunkel); }
.fakten li { padding: 20px 20px 0 0; }
.fakten li + li { padding-left: 20px; border-left: 1px solid var(--linie-dunkel); }
.fakten strong { display: block; font-family: var(--kopf); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; }
.fakten span { color: var(--text-leise-dunkel); font-size: 0.98rem; }
@media (max-width: 700px) {
  .fakten { grid-template-columns: 1fr; }
  .fakten li, .fakten li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--linie-dunkel); }
}

/* Unterseiten-Kopf */
.seitenkopf { padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); border-bottom: 6px solid var(--gelb); }
.seitenkopf h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }

/* Leistungskacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.kachel { background: var(--schwarz); color: var(--weiss); text-decoration: none; padding: 30px 30px 26px; display: flex; flex-direction: column; min-height: 300px; border-bottom: 6px solid var(--gelb); transition: transform 0.15s ease; }
.kachel:hover { transform: translateY(-4px); }
.kachel .nr { font-family: var(--kopf); font-weight: 600; color: var(--gelb); letter-spacing: 0.18em; font-size: 0.95rem; }
.kachel h3 { font-size: clamp(2.2rem, 5vw, 3rem); margin: 14px 0 12px; }
.kachel p { color: var(--text-leise-dunkel); }
.kachel .weiter { margin-top: auto; font-family: var(--kopf); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.1rem; color: var(--gelb); }

/* Ja / Nein */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .zweispaltig { grid-template-columns: 1fr; } }
.kasten { background: var(--weiss); border: 1px solid var(--linie-hell); border-top: 6px solid var(--schwarz); padding: 28px; }
.kasten.nein { border-top-color: #9a9a92; }
.kasten h3 { margin-bottom: 16px; }
.liste li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--linie-hell); }
.liste li:first-child { border-top: 0; }
.liste li::before { content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 6px; background: var(--schwarz); }
.liste.ja li::before { background: var(--schwarz); box-shadow: inset 0 0 0 6px var(--schwarz); outline: 3px solid var(--gelb); outline-offset: 0; }
.liste.nein li { color: var(--text-leise); }
.liste.nein li::before { background: #9a9a92; }

/* Leistungsliste auf Unterseiten */
.leistungen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; margin-top: 32px; }
.leistungen li { padding: 16px 0 16px 34px; border-top: 1px solid var(--linie-hell); position: relative; font-weight: 500; }
.leistungen li::before { content: ""; position: absolute; left: 0; top: 24px; width: 18px; height: 6px; background: var(--schwarz); outline: 3px solid var(--gelb); }

/* Ablauf */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; counter-reset: schritt; }
.schritte li { counter-increment: schritt; border-top: 6px solid var(--schwarz); padding-top: 18px; }
.schritte li::before { content: "0" counter(schritt); font-family: var(--kopf); font-weight: 700; font-size: 3rem; line-height: 1; display: block; margin-bottom: 8px; }
.schritte h3 { font-size: 1.4rem; margin-bottom: 8px; }
.schritte p { color: var(--text-leise); font-size: 1rem; }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .schritte { grid-template-columns: 1fr; } }

/* Einzugsgebiet */
.orte { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.orte li { font-family: var(--kopf); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid #555; padding: 6px 14px; }
.orte li.absprache { border-style: dashed; color: var(--text-leise-dunkel); }

/* Gelbes Band */
.band { background: var(--gelb); color: var(--schwarz); padding: clamp(40px, 6vw, 64px) 0; }
.band .innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band p { margin: 10px 0 0; font-size: 1.15rem; }

/* Platzhalter – nur im Entwurf sichtbar */
.platzhalter { border: 2px dashed #8a8a00; background: #fbffd0; color: #3d3d00; padding: 12px 16px; font-size: 0.95rem; margin: 24px 0; max-width: none; }
.platzhalter strong { font-family: var(--kopf); text-transform: uppercase; letter-spacing: 0.1em; }
mark { background: #fbffd0; outline: 2px dashed #8a8a00; padding: 0 4px; }

/* Formular */
.kontakt-raster { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } }
form { display: grid; gap: 18px; }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feldreihe.plz { grid-template-columns: 1fr 2fr; }
@media (max-width: 520px) { .feldreihe, .feldreihe.plz { grid-template-columns: 1fr; } }
label, legend { font-family: var(--kopf); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; display: block; margin-bottom: 6px; padding: 0; }
label small, legend small { text-transform: none; letter-spacing: 0; font-family: var(--lauf); font-weight: 400; color: var(--text-leise); }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; font: inherit; padding: 13px 14px; border: 2px solid var(--schwarz); border-radius: 0; background: var(--weiss); color: var(--text); }
input:focus, textarea:focus { outline: 3px solid var(--gelb); outline-offset: 0; }
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.wahl label { font-family: var(--lauf); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 1.0625rem; border: 2px solid var(--schwarz); padding: 11px 18px; margin: 0; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.wahl input { accent-color: var(--schwarz); width: 18px; height: 18px; }
.wahl label:has(input:checked) { background: var(--schwarz); color: var(--weiss); }
.wahl label:has(input:checked) input { accent-color: var(--gelb); }
input[type="file"] { font: inherit; font-size: 1rem; width: 100%; padding: 10px; border: 2px solid var(--schwarz); background: var(--weiss); color: var(--text-leise); cursor: pointer; }
input[type="file"]::file-selector-button { font-family: var(--kopf); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--schwarz); color: var(--weiss); border: 2px solid var(--schwarz); padding: 10px 18px; margin-right: 14px; cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: var(--gelb); color: var(--schwarz); }
.hinweis { font-size: 0.95rem; color: var(--text-leise); max-width: none; margin: 0; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { display: none; border-left: 6px solid var(--schwarz); background: var(--gelb); padding: 14px 16px; margin: 0; max-width: none; }
.meldung.sichtbar { display: block; }
.direkt { background: var(--schwarz); color: var(--weiss); padding: 30px; border-bottom: 6px solid var(--gelb); }
.direkt h2 { font-size: 1.8rem; margin-bottom: 18px; }
.direkt dl { margin: 0; }
.direkt dt { font-family: var(--kopf); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--text-leise-dunkel); margin-top: 18px; }
.direkt dd { margin: 2px 0 0; font-size: 1.15rem; }
.direkt dd a { color: var(--gelb); text-decoration: none; font-family: var(--kopf); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.03em; overflow-wrap: anywhere; }
.direkt dd a.klein { font-size: 1.25rem; }

/* Rechtstexte */
.text h2 { font-size: 1.7rem; margin: 40px 0 12px; }
.text p, .text li { max-width: 68ch; }
.text address { font-style: normal; margin-bottom: 1em; }

/* Fuß */
.fuss { background: var(--schwarz); color: var(--text-leise-dunkel); padding: 56px 0 28px; border-top: 6px solid var(--gelb); font-size: 0.98rem; }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .fuss .spalten { grid-template-columns: 1fr; } }
.fuss img { height: 44px; width: auto; margin-bottom: 16px; }
.fuss h2 { font-size: 1rem; letter-spacing: 0.16em; color: var(--weiss); margin-bottom: 12px; }
.fuss a { color: var(--weiss); text-decoration: none; }
.fuss a:hover { color: var(--gelb); }
.fuss li { padding: 3px 0; }
.fuss .unten { border-top: 1px solid var(--linie-dunkel); margin-top: 36px; padding-top: 18px; font-size: 0.88rem; }

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

/* ---------- Überarbeitung 2: Fotos, Rückruf, Wartung ---------- */

/* Startbereich mit Foto und dunklem Verlauf */
.start.foto { background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.72) 45%, rgba(0,0,0,0.08) 100%), url("../img/foto-arbeit.jpg") center / cover no-repeat #000; min-height: min(78vh, 760px); display: flex; align-items: center; }
.start.foto .innen { width: 100%; }
.start.foto .fakten { border-top-color: rgba(255,255,255,0.28); }
.start.foto .fakten li + li { border-left-color: rgba(255,255,255,0.28); }
.start.foto .fakten span, .start.foto .vorspann { color: #e2e2dc; }
@media (max-width: 700px) {
  .start.foto { background: linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.9) 100%), url("../img/foto-arbeit.jpg") 70% center / cover no-repeat #000; }
  .start.foto .fakten li, .start.foto .fakten li + li { border-bottom-color: rgba(255,255,255,0.28); }
}

/* Unterseiten-Kopf mit Foto */
.seitenkopf.foto { background-color: #000; background-size: cover; background-position: center; padding-top: clamp(72px, 12vw, 150px); }
.seitenkopf.foto.elektro { background-image: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.15) 100%), url("../img/foto-elektro.jpg"); }
.seitenkopf.foto.technik { background-image: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.2) 100%), url("../img/foto-technik.jpg"); }
.seitenkopf.foto.wartung { background-image: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.72) 50%, rgba(0,0,0,0.25) 100%), url("../img/foto-wartung.jpg"); }
.seitenkopf.foto .vorspann { color: #e2e2dc; }
@media (max-width: 700px) {
  .seitenkopf.foto.elektro, .seitenkopf.foto.technik, .seitenkopf.foto.wartung { background-image: linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.9)), var(--mobil-bild); }
  .seitenkopf.foto.elektro { --mobil-bild: url("../img/foto-elektro.jpg"); }
  .seitenkopf.foto.technik { --mobil-bild: url("../img/foto-technik.jpg"); }
  .seitenkopf.foto.wartung { --mobil-bild: url("../img/foto-wartung.jpg"); }
}

/* Kacheln mit Bild */
.kachel.mitbild { padding: 0; min-height: 0; overflow: hidden; }
.kachel.mitbild img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.kachel.mitbild .kachel-text { padding: 24px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.kachel.mitbild h3 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 10px 0 10px; }

/* Über mich */
.person { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } }
.bildplatz { aspect-ratio: 4 / 5; border: 2px dashed #8a8a00; background: #fbffd0; color: #3d3d00; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 0.95rem; }
.bildplatz strong { font-family: var(--kopf); text-transform: uppercase; letter-spacing: 0.1em; display: block; font-size: 1.1rem; }

/* Rückruf */
.rueckruf { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .rueckruf { grid-template-columns: 1fr; } }
.dunkel form label, .dunkel form legend { color: var(--weiss); }
.dunkel form label small { color: var(--text-leise-dunkel); }
.dunkel input[type="text"], .dunkel input[type="tel"], .dunkel input[type="email"] { border-color: var(--weiss); }
.dunkel .hinweis { color: var(--text-leise-dunkel); }
.dunkel .hinweis a { color: var(--weiss); }
.dunkel .meldung { color: var(--schwarz); }

/* Gründe und Zielgruppen (Wartung) */
.gruende { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 40px; }
.gruende li { border-top: 6px solid var(--schwarz); padding-top: 18px; }
.gruende h3 { font-size: 1.45rem; margin-bottom: 8px; }
.gruende p { color: var(--text-leise); font-size: 1rem; }
.zielgruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.zielgruppen li { background: var(--weiss); border: 1px solid var(--linie-hell); border-left: 6px solid var(--gelb); padding: 22px 24px; box-shadow: inset 6px 0 0 -3px var(--schwarz); }
.zielgruppen h3 { font-size: 1.45rem; margin-bottom: 6px; }
.zielgruppen p { color: var(--text-leise); font-size: 1rem; margin: 0; }
.schmal { max-width: 760px; }

/* ---------- Überarbeitung 3: schlichter, heller Start, Kundengruppen, Fragen ---------- */

/* Heller Startbereich: Text links, Bild rechts */
.start-hell { background: var(--weiss); padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 88px); }
.start-hell .innen { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .start-hell .innen { grid-template-columns: 1fr; } }
.ortsmarke { display: inline-block; font-size: 0.95rem; font-weight: 600; background: var(--hell); border: 1px solid var(--linie-hell); padding: 6px 14px; margin: 0 0 20px; }
.start-hell h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); text-transform: none; letter-spacing: 0; line-height: 1.05; }
.start-hell h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--gelb) 62%); }
.start-hell .vorspann { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text); margin-top: 22px; max-width: 48ch; }
.haken { margin-top: 24px; display: grid; gap: 10px; }
.haken li { position: relative; padding-left: 34px; }
.haken li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: var(--schwarz); }
.haken li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 7px; height: 11px; border: solid var(--gelb); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.haken strong { font-weight: 700; }
.start-hell .knopf.rand { color: var(--schwarz); border-color: var(--schwarz); }
.start-hell .knopf.rand:hover { background: var(--schwarz); color: var(--weiss); }
.start-hell .knopf { border-color: var(--schwarz); background: var(--schwarz); color: var(--weiss); }
.start-hell .knopf:hover { background: var(--gelb); color: var(--schwarz); border-color: var(--schwarz); }
.startbild { margin: 0; position: relative; }
.startbild img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 8px solid var(--gelb); }
.startbild figcaption { font-size: 0.85rem; border: 2px dashed #8a8a00; background: #fbffd0; color: #3d3d00; padding: 8px 12px; margin-top: 10px; }

/* Kundengruppen */
.gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.gruppen li { background: var(--weiss); border: 1px solid var(--linie-hell); padding: 26px 26px 22px; display: flex; flex-direction: column; }
.gruppen h3 { text-transform: none; letter-spacing: 0; font-size: 1.6rem; margin-bottom: 12px; }
.gruppen blockquote { margin: 0 0 14px; padding-left: 14px; border-left: 4px solid var(--gelb); font-style: italic; color: var(--text); }
.gruppen p { color: var(--text-leise); font-size: 1rem; }
.gruppen a { margin-top: auto; font-weight: 700; color: var(--schwarz); text-underline-offset: 4px; }

/* Schlichtere Überschriften auf hellen Flächen */
.schlicht h2 { text-transform: none; letter-spacing: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.schlicht .kasten h3, .schlicht .schritte h3, .schlicht .gruende h3, .schlicht .zielgruppen h3 { text-transform: none; letter-spacing: 0; }

/* Häufige Fragen */
.fragen { margin-top: 28px; max-width: 820px; border-top: 1px solid var(--linie-hell); }
.fragen details { border-bottom: 1px solid var(--linie-hell); }
.fragen summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.7rem; font-weight: 400; }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding: 0 0 18px; margin: 0; color: var(--text-leise); }

/* Auswahlfeld und Vertrauenszeile */
select { width: 100%; font: inherit; padding: 13px 14px; border: 2px solid var(--schwarz); border-radius: 0; background: var(--weiss); color: var(--text); }
.dunkel select { border-color: var(--weiss); }
.zusagen { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.92rem; color: var(--text-leise); margin: 0; max-width: none; }
.zusagen span::before { content: "✓ "; font-weight: 700; color: var(--text); }
.dunkel .zusagen { color: var(--text-leise-dunkel); }
.dunkel .zusagen span::before { color: var(--gelb); }

/* Bild neben Text */
.bildtext { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .bildtext { grid-template-columns: 1fr; } }
.bildtext img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.start-hell .knopf.rand { background: transparent; color: var(--schwarz); border-color: var(--schwarz); }
.start-hell .knopf.rand:hover { background: var(--schwarz); color: var(--weiss); }
.schlicht .kachel h3 { text-transform: none; letter-spacing: 0; }

/* ---------- Überarbeitung 4: Rahmen, Auswahlpunkte, Zusagen, Fragenblock ---------- */

/* Ein Rahmen statt zwei: beim Anklicken gelber Schein, kein zweiter Strich */
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="password"]:focus, textarea:focus, select:focus,
input[type="text"]:focus-visible, input[type="email"]:focus-visible, input[type="tel"]:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--gelb); }

/* Auswahlpunkte: eigener Punkt, kein Kästchen drumherum */
.wahl input[type="radio"] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none; border: 2px solid var(--schwarz); border-radius: 50%; background: var(--weiss); outline: none; }
.wahl input[type="radio"]:checked { border: 0; background: radial-gradient(circle, var(--schwarz) 0 3.5px, var(--gelb) 4px); }
.wahl input[type="radio"]:focus, .wahl input[type="radio"]:focus-visible { outline: none; }
.wahl label:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--gelb); }

/* Zusagen unter dem Knopf mit Haken */
.zusagen { gap: 8px 22px; font-size: 0.95rem; color: var(--text); }
.zusagen span { position: relative; padding-left: 26px; }
.zusagen span::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; background: var(--schwarz); }
.zusagen span::after { content: ""; position: absolute; left: 5.5px; top: 5.5px; width: 5px; height: 9px; border: solid var(--gelb); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.dunkel .zusagen { color: var(--weiss); }
.dunkel .zusagen span::before { background: var(--gelb); }
.dunkel .zusagen span::after { border-color: var(--schwarz); }

/* Fragenblock: links Hinweis mit Anruf, rechts Fragen */
.fragenblock { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .fragenblock { grid-template-columns: 1fr; } }
.fragenblock .fragen { margin-top: 0; max-width: none; }
.nachfrage { margin-top: 28px; background: var(--hell); border-left: 6px solid var(--gelb); padding: 22px 24px; }
.nachfrage strong { display: block; font-family: var(--kopf); font-size: 1.35rem; line-height: 1.15; margin-bottom: 6px; }
.nachfrage p { margin: 0 0 16px; color: var(--text-leise); }
.nachfrage .knopf { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); font-size: 1.1rem; padding: 11px 20px; min-height: 0; }
.nachfrage .knopf:hover { background: var(--gelb); color: var(--schwarz); }

/* WhatsApp (W05) */
.wa-kopf { display: inline-flex; align-items: center; }
.wa-kopf img { width: 34px; height: 34px; display: block; }
@media (max-width: 860px) { .wa-kopf { display: none; } }
.wa-knopf { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; background: var(--schwarz); color: var(--weiss); text-decoration: none; font-family: var(--kopf); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 16px 10px 10px; border: 2px solid var(--gelb); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-knopf img { width: 30px; height: 30px; display: block; }
.wa-knopf:hover { background: var(--gelb); color: var(--schwarz); }
@media (max-width: 600px) { .wa-knopf { padding: 8px; right: 14px; bottom: 14px; } .wa-knopf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.fuss { padding-bottom: 90px; }

/* Öffnungszeiten (W10) */
.oeffnung { margin: 16px 0 0; font-size: 0.98rem; color: var(--text-leise); }
.oeffnung strong { color: var(--text); }

/* Leistungslisten mit Überschrift (W06, W07) */
.leistungen li strong { display: block; font-family: var(--kopf); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; }
.leistungen li span { display: block; font-weight: 400; color: var(--text-leise); }
.einleitung { max-width: 62ch; margin-top: 12px; }
.pflicht { font-size: 0.9rem; color: var(--text-leise); margin: 0; }
.dunkel .pflicht { color: var(--text-leise-dunkel); }
.text h2 { margin-top: 40px; font-size: 1.5rem; }
.text p, .text li { max-width: 72ch; }
.text ul { list-style: disc; padding-left: 22px; }

/* Eigener Datei-Knopf (deutscher Text) */
.datei-wahl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 2px solid var(--schwarz); background: var(--weiss); padding: 10px; }
.datei-versteckt { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.datei-knopf { display: inline-block; margin: 0; font-family: var(--kopf); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--schwarz); color: var(--weiss); border: 2px solid var(--schwarz); padding: 10px 18px; cursor: pointer; }
.datei-knopf:hover { background: var(--gelb); color: var(--schwarz); }
.datei-wahl:focus-within .datei-knopf { outline: 3px solid var(--gelb); outline-offset: 2px; }
.datei-name { color: var(--text-leise); font-size: 1rem; }

/* ---------- Finale 2026-10-09 ---------- */

/* Platz für Stefans Foto: solange keins da ist, Emblem auf Schwarz */
.person-marke { margin: 0; aspect-ratio: 4 / 5; background: var(--schwarz); border-bottom: 8px solid var(--gelb); display: flex; align-items: center; justify-content: center; }
.person-marke img { width: 62%; height: auto; }
.person-marke img[src$=".jpg"] { width: 100%; height: 100%; object-fit: cover; }

/* Nachfrage-Kasten: Telefon und WhatsApp nebeneinander */
.nachfrage-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.nachfrage .knopf.wa { background: var(--weiss); color: var(--schwarz); border-color: var(--schwarz); }
.nachfrage .knopf.wa img { width: 22px; height: 22px; }
.nachfrage .knopf.wa:hover { background: var(--gelb); }

/* Auswahl Elektro/Technik auf dunkler Fläche – eckig wie die Eingabefelder */
.wahl label { min-width: 150px; }
.dunkel .wahl label { border-color: var(--weiss); color: var(--weiss); background: transparent; font-weight: 600; }
.dunkel .wahl input[type="radio"] { border-color: var(--weiss); background: transparent; }
.dunkel .wahl label:has(input:checked) { background: var(--gelb); border-color: var(--gelb); color: var(--schwarz); }
.dunkel .wahl label:has(input:checked) input[type="radio"] { background: radial-gradient(circle, var(--gelb) 0 3.5px, var(--schwarz) 4px); }
.dunkel .wahl label:hover { border-color: var(--gelb); }

/* Danke-Seite nach dem Absenden */
.danke { text-align: center; padding-top: clamp(64px, 10vw, 120px); }
.danke .innen { max-width: 760px; }
.danke h1 { text-transform: none; letter-spacing: 0; font-size: clamp(2.6rem, 6vw, 3.8rem); margin-top: 28px; }
.danke .vorspann { margin: 18px auto 0; color: var(--text); }
.danke-haken { width: 96px; height: 96px; margin: 0 auto; background: var(--schwarz); border-bottom: 6px solid var(--gelb); display: flex; align-items: center; justify-content: center; animation: danke-rein 0.45s cubic-bezier(.2,.9,.3,1.3) both; }
.danke-haken svg { width: 56px; height: 56px; }
.danke-haken path { fill: none; stroke: var(--gelb); stroke-width: 5; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 44; stroke-dashoffset: 44; animation: danke-strich 0.5s 0.35s ease-out forwards; }
@keyframes danke-rein { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes danke-strich { to { stroke-dashoffset: 0; } }
.danke-marke { font-family: var(--kopf); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem; margin: 48px auto 14px; max-width: none; }
.danke-wege { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
@media (max-width: 600px) { .danke-wege { grid-template-columns: 1fr; } }
.danke-weg { display: flex; align-items: center; gap: 16px; border: 2px solid var(--schwarz); padding: 16px 18px; text-decoration: none; background: var(--weiss); }
.danke-weg:hover { background: var(--gelb); }
.danke-symbol { width: 44px; height: 44px; flex: none; background: var(--schwarz); color: var(--gelb); display: flex; align-items: center; justify-content: center; }
.danke-weg small { display: block; font-family: var(--kopf); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--text-leise); }
.danke-weg strong { display: block; font-family: var(--kopf); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.danke-zurueck { display: inline-block; margin-top: 40px; font-weight: 700; text-underline-offset: 4px; }
.danke-vorschau { border: 2px dashed #8a8a00; background: #fbffd0; color: #3d3d00; padding: 10px 14px; font-size: 0.95rem; margin: 0 auto 32px; }
@media (prefers-reduced-motion: reduce) { .danke-haken, .danke-haken path { animation: none; stroke-dashoffset: 0; } }

/* ---------- Widerruf 2026-10-09 ---------- */

/* „Vertrag widerrufen“ im Fuß: abgesetzt von Impressum und Datenschutz (§ 356a BGB verlangt die Funktion hervorgehoben) */
.fuss a[href="widerruf.html"] { display: inline-block; margin-top: 8px; padding: 4px 12px; border: 2px solid var(--gelb); color: var(--gelb); font-family: var(--kopf); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.fuss a[href="widerruf.html"]:hover { background: var(--gelb); color: var(--schwarz); }

/* ---------- Korrektur 2026-10-09: verstecktes Datei-Feld ---------- */

/* Das versteckte Datei-Feld bekam von input[type="file"] die volle Breite und lief rechts aus der Seite
   (Querlauf auf Kontakt und Wartung). Jetzt bleibt es 1 Pixel groß und im Rahmen des Knopfs. */
.datei-wahl { position: relative; }
input[type="file"].datei-versteckt { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; }

/* Lange Wörter in Überschriften (zum Beispiel „Hausverwaltungen“ auf der Wartungsseite) liefen auf
   Handys mit 360 Pixel Breite über den Rand. Seitenkopf dort etwas kleiner, Umbruch als Sicherung. */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 380px) { .seitenkopf h1 { font-size: 2.1rem; } }
[hidden] { display: none !important; }

/* Listen: Plus statt Strich (Stefan, 09.10.) */
.liste li::before, .liste.ja li::before, .liste.nein li::before, .leistungen li::before { content: "+"; width: auto; height: auto; background: none; box-shadow: none; outline: none; font-family: var(--kopf); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--schwarz); top: 9px; left: 2px; }
.leistungen li::before { top: 15px; }
.liste.nein li::before { color: #9a9a92; }

/* ---------- 2026-10-10: Wünsche Patrick ---------- */
/* Telefon und WhatsApp gleich breit, beide schwarz */
.nachfrage-knoepfe { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.nachfrage-knoepfe .knopf { width: 100%; }
.nachfrage .knopf.wa { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }
.nachfrage .knopf.wa:hover { background: var(--gelb); color: var(--schwarz); }
/* „Vertrag widerrufen“ im Fuß wie Impressum und Datenschutz */
.fuss a[href="widerruf.html"] { display: inline; margin: 0; padding: 0; border: 0; color: var(--weiss); font-family: inherit; font-weight: inherit; font-size: inherit; text-transform: none; letter-spacing: 0; }
.fuss a[href="widerruf.html"]:hover { background: none; color: var(--gelb); }

/* Formular-Hinweis, solange die Formulare noch nicht senden (main.js) */
.formular-hinweis { background: var(--gelb); color: var(--schwarz); border-left: 6px solid var(--schwarz); padding: 16px 18px; }
.formular-hinweis p { margin: 0 0 12px; font-weight: 600; max-width: none; }
.formular-hinweis-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.formular-hinweis .knopf { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); font-size: 1.05rem; padding: 10px 18px; min-height: 0; }
.formular-hinweis .knopf:hover { background: var(--weiss); color: var(--schwarz); }
.formular-hinweis.betont { outline: 4px solid var(--schwarz); outline-offset: 3px; }

/* Häufige Fragen: Pfeil statt Plus, dreht sich beim Aufklappen um 90 Grad (Patrick, 12.10.) */
.fragen summary::after, .fragen details[open] summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--schwarz); border-width: 0 3px 3px 0; transform: rotate(-45deg); transition: transform 0.2s ease; font-size: 0; }
.fragen details[open] summary::after { transform: rotate(45deg); }

/* ALTCHA-Feld: Text im weißen Kasten immer dunkel, auch im schwarzen Rückruf-Bereich (Patrick, 12.10.) */
.altcha-feld, .dunkel form .altcha-feld label { color: var(--schwarz); }
.altcha-feld altcha-widget { --altcha-color-base: #ffffff; --altcha-color-base-content: #111111; }
/* Fehlerseite: „Zurück zum Formular“ als Knopf */
.danke-knopf { margin: 36px 0 0; }
/* Häufige Fragen, Fassung 12.10. abends (Patrick): zu = Pfeil nach unten, offen = Strich */
.fragen summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border: solid var(--schwarz); border-width: 0 3px 3px 0; transform: rotate(45deg); transition: none; font-size: 0; }
.fragen details[open] summary::after { width: 14px; height: 0; margin-top: -1px; right: 8px; border-width: 0 0 3px 0; transform: none; }
