/* Ersoy Küchen – Schriften vom eigenen Server, keine Cookies, keine fremden Dienste.
   Leitmotiv ist der Zollstock (gelb mit schwarzen Strichen, wie das Lineal im Logo):
   einmal als Kante unter dem Startbild, einmal als Maßstab neben den vier Schritten. Sonst ruhig. */
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/sora-700.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/manrope-500.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/manrope-700.woff2) format("woff2"); }
:root {
  --tief: #020202;
  --gelb: #fdc102;
  --gelb-hell: #ffd23f;
  --papier: #f6f4ef;
  --text: #1b1b1b;
  --grau: #5f6368;
  --linie: #e2ded5;
  --radius: 6px;
  --breite: 1160px;
  --system: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --lauf: "Manrope", var(--system);
  --kopf: "Sora", "Manrope", var(--system);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.sprung { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--gelb); color: var(--tief); padding: 10px 14px; font-weight: 700; }
.sprung:focus { left: 10px; top: 10px; }
body { margin: 0; color: var(--text); background: #fff; font: 500 17px/1.6 var(--lauf); }
b, strong { font-weight: 700; }
h1, h2 { font-family: var(--kopf); font-weight: 700; letter-spacing: -.015em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--tief); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.kopf img { height: 34px; width: auto; }
.kopf nav { display: flex; gap: 22px; align-items: center; }
.kopf nav a { color: #ddd; text-decoration: none; font-size: 15px; }
.kopf nav a:hover { color: var(--gelb); }
.kopf .anruf { background: var(--gelb); color: var(--tief); padding: 8px 14px; border-radius: var(--radius); font-weight: 700; }
.kopf .anruf:hover { color: var(--tief); background: var(--gelb-hell); }
@media (max-width: 760px) { .kopf nav { gap: 14px; } .kopf nav > a:not(.anruf) { display: none; } .kopf img { height: 28px; } }

/* Zollstock: lange Striche alle 50 px, kurze alle 10 px */
.zollstock {
  height: 22px;
  background:
    repeating-linear-gradient(90deg, var(--tief) 0 2px, transparent 2px 50px) 0 0 / 100% 13px no-repeat,
    repeating-linear-gradient(90deg, var(--tief) 0 1px, transparent 1px 10px) 0 0 / 100% 7px no-repeat,
    var(--gelb);
}

/* Start: Bild frei, Zollstock als Kante, Text auf Schwarz */
.held { color: #fff; background: var(--tief); }
.held picture { display: block; }
.held picture img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 62%; }
.held .inhalt { padding: 28px 20px 40px; }
.held h1 { font-size: clamp(29px, 7.9vw, 54px); line-height: 1.1; margin: 0 0 14px; max-width: 620px; text-wrap: balance; }
.held p.unter { font-size: clamp(17px, 2.2vw, 19px); max-width: 560px; margin: 0 0 24px; color: #e6e6e6; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: var(--radius); font-weight: 700; text-decoration: none; font-size: 17px; }
.knopf.gelb { background: var(--gelb); color: var(--tief); }
.knopf.gelb:hover { background: var(--gelb-hell); }
.knopf.hell { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.knopf.hell:hover { background: rgba(255,255,255,.2); }
.knopf.dunkel { background: var(--tief); color: #fff; }
.knopf svg { width: 20px; height: 20px; flex: none; }
@media (min-width: 861px) {
  .held { display: grid; grid-template-columns: 1fr 1fr; }
  .held picture { grid-column: 2; grid-row: 1; }
  .held picture img { height: 100%; min-height: 560px; max-height: 700px; aspect-ratio: auto; object-position: center 55%; }
  .held .inhalt { grid-column: 1; grid-row: 1; align-self: center; padding: 56px 56px 56px max(20px, calc((100vw - var(--breite)) / 2 + 20px)); }
  .held h1 { font-size: clamp(34px, 4.3vw, 54px); }
  .held .zollstock { grid-column: 1 / -1; grid-row: 2; }
}

/* Abschnitte */
section.block { padding: 56px 0; }
@media (min-width: 761px) { section.block { padding: 84px 0; } }
section.grau { background: var(--papier); }
h2 { font-size: clamp(25px, 4vw, 36px); line-height: 1.15; margin: 0 0 12px; }
h2 + .lead { color: var(--grau); max-width: 640px; margin: 0 0 32px; font-size: 18px; }
.marke { display: inline-block; width: 14px; height: 14px; background: var(--gelb); border-radius: 3px; margin-right: 10px; vertical-align: 2px; }

/* Leistungen als ruhige Liste: eine Zeile je Leistung, Haarlinie dazwischen */
.liste { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--tief); }
.liste > div { padding: 18px 0 19px; border-bottom: 1px solid var(--linie); }
.liste h3 { margin: 0 0 3px; font-size: 19px; line-height: 1.3; }
.liste p { margin: 0; color: var(--grau); font-size: 16px; max-width: 520px; }
.liste a { color: var(--tief); font-weight: 700; white-space: nowrap; }
section.grau .liste > div { border-bottom-color: #d9d4c8; }
.hinweis { margin: 26px 0 0; max-width: 640px; font-size: 16px; color: #333; }
.hinweis a { color: var(--tief); font-weight: 700; }
@media (min-width: 861px) { .liste { grid-template-columns: 1fr 1fr; column-gap: 64px; } }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.galerie figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd; aspect-ratio: 4 / 5; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galerie figure:hover img { transform: scale(1.03); }
.galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-size: 14px; line-height: 1.35; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr 1fr; gap: 8px; } }
.galerie-hinweis { margin: 18px 0 0; color: var(--grau); font-size: 15px; }

/* Ablauf: die vier Schritte stehen an einem Zollstock, am Handy senkrecht, am PC waagerecht */
.schritte { position: relative; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.schritte::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 32px; border-radius: 3px;
  background:
    repeating-linear-gradient(180deg, var(--tief) 0 2px, transparent 2px 50px) 100% 0 / 12px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--tief) 0 1px, transparent 1px 10px) 100% 0 / 7px 100% no-repeat,
    var(--gelb);
}
.schritte li { position: relative; counter-increment: s; padding: 0 0 30px 50px; }
.schritte li:last-child { padding-bottom: 8px; }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 20px; text-align: center; font: 700 17px/1.6 var(--kopf); color: var(--tief); }
.schritte b { display: block; font-size: 19px; line-height: 1.4; margin-bottom: 2px; }
.schritte span { color: var(--grau); font-size: 16px; }
@media (min-width: 861px) {
  .schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; padding-top: 54px; }
  .schritte::before {
    right: 0; bottom: auto; width: auto; height: 34px;
    background:
      repeating-linear-gradient(90deg, var(--tief) 0 2px, transparent 2px 50px) 0 100% / 100% 12px no-repeat,
      repeating-linear-gradient(90deg, var(--tief) 0 1px, transparent 1px 10px) 0 100% / 100% 7px no-repeat,
      var(--gelb);
  }
  .schritte li, .schritte li:last-child { padding: 0; }
  .schritte li::before { top: -54px; left: 8px; width: auto; line-height: 22px; }
}

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; gap: 28px; } }
.zwei img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; }
.zwei p { color: #333; max-width: 520px; }

/* Kontakt: die Nummer ist das Größte auf der Seite */
.kontakt { background: var(--tief); color: #fff; }
.kontakt h2 { color: #fff; }
.kontakt .lead { color: #bbb; margin-bottom: 20px; }
.kontakt .nummer { display: inline-block; font: 700 clamp(38px, 12.4vw, 84px)/1.05 var(--kopf); letter-spacing: -.02em; color: var(--gelb); text-decoration: none; white-space: nowrap; }
.kontakt .nummer:hover { color: var(--gelb-hell); }
.kontakt .zeiten { color: #bbb; font-size: 16px; margin: 10px 0 30px; }
.kontakt .wege { border-top: 1px solid #2c2c2c; max-width: 560px; margin-bottom: 30px; }
.kontakt .wege a { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #2c2c2c; text-decoration: none; font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.kontakt .wege a:hover { color: var(--gelb); }
.kontakt .wege svg { width: 22px; height: 22px; flex: none; color: var(--gelb); }
.adresse, .gebiet { color: #bbb; font-size: 16px; margin: 0 0 6px; }

/* Fuß */
.fuss { background: #000; color: #888; font-size: 14px; padding: 26px 0 90px; }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.fuss a { color: #bbb; margin-left: 16px; }
.fuss a:first-child { margin-left: 0; }

/* Handy: feste Leiste unten */
.handyleiste { display: none; }
@media (max-width: 760px) {
  .handyleiste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(2,2,2,.94); }
  .handyleiste .knopf { justify-content: center; padding: 12px; font-size: 16px; }
}

/* Rechtstexte */
.recht { padding: 48px 20px 72px; max-width: 820px; }
.recht h1 { font-size: 34px; margin: 0 0 20px; }
.recht h2 { font-size: 21px; margin: 32px 0 8px; letter-spacing: -.01em; }
.recht p, .recht li { color: #333; }

/* AGB: Text aus belege/agb-vorlage.html, Nummer links, Klausel rechts */
.agb .stand { color: var(--grau); margin: -8px 0 0; }
.agb .kurz { margin: 24px 0 8px; padding: 16px 20px; background: #fff7dc; border-left: 4px solid var(--gelb); }
.agb .kurz ul { margin: 6px 0 0; padding-left: 20px; }
.agb .kurz li { color: #4a3a00; }
.agb .kl { display: grid; grid-template-columns: 3.1em 1fr; margin: 0 0 10px; color: #333; }
.agb .kl > i { font-style: normal; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.agb .kl ul { margin: 4px 0 0; padding-left: 20px; }
.agb .nw { white-space: nowrap; }
.agb .mitteilung { width: 100%; height: auto; border: 1px solid var(--linie); margin-top: 12px; }
@media (max-width: 760px) {
  .agb h1 { font-size: 26px; overflow-wrap: break-word; }
  .agb .kl { grid-template-columns: 2.7em 1fr; }
}


/* ===== Mehrseitige Webseite (aus website/entwurf-mehrseitig/zusatz.css übernommen, 14.11.2026) =====
   Wird von build.py hinter style.css gehängt. Bereinigen: siehe Konsil Technik in STAND.md. */
.seite[hidden] { display: none; }

/* Kopf: am PC alle Seiten, am Handy Logo, Nummer und Menü-Knopf */
.kopf nav a.aktiv { color: var(--gelb); }
.menue-knopf { display: none; font: 700 15px/1 var(--lauf); color: #fff; background: none; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); padding: 10px 12px; cursor: pointer; }
.menue { background: var(--tief); border-top: 1px solid #2c2c2c; padding: 6px 20px 18px; }
.menue[hidden] { display: none; }
.menue a { display: block; padding: 14px 0; border-bottom: 1px solid #2c2c2c; color: #fff; text-decoration: none; font: 700 20px/1.2 var(--kopf); }
.menue a.aktiv { color: var(--gelb); }
@media (max-width: 1020px) {
  .kopf nav { gap: 10px; }
  .kopf nav > a:not(.anruf) { display: none; }
  .kopf img { height: 28px; }
  .kopf .anruf { padding: 8px 10px; font-size: 15px; white-space: nowrap; }
  .menue-knopf { display: inline-block; }
}
@media (min-width: 1021px) { .menue { display: none; } .kopf nav { gap: 20px; } }

/* Kopf der Unterseiten: Schwarz, Überschrift, Zollstock als Kante */
.seitenkopf { background: var(--tief); color: #fff; }
.seitenkopf .wrap { padding-top: 34px; padding-bottom: 32px; }
.seitenkopf h1 { font-family: var(--kopf); font-size: clamp(28px, 7vw, 48px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 12px; max-width: 780px; text-wrap: balance; }
.seitenkopf p { margin: 0; max-width: 620px; color: #d8d8d8; font-size: clamp(17px, 2.2vw, 19px); }
@media (min-width: 861px) { .seitenkopf .wrap { padding-top: 64px; padding-bottom: 56px; } }

h2 + .liste, h2 + .schritte { margin-top: 22px; }

/* Marken als Schrift in Feldern, keine Logos */
.marken { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.marken li { padding: 18px 10px 14px; text-align: center; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); font: 700 clamp(21px, 5.6vw, 27px)/1.15 var(--kopf); letter-spacing: -.02em; }
.marken small { display: block; margin-top: 5px; font: 500 13px/1.3 var(--lauf); letter-spacing: 0; color: var(--grau); }
@media (min-width: 761px) { .marken { grid-template-columns: repeat(5, 1fr); gap: 12px; } .marken li { padding: 26px 10px 20px; } }
section.dunkel { background: var(--tief); color: #fff; }
section.dunkel h2 { color: #fff; }
section.dunkel h2 + .lead { color: #bbb; }
section.dunkel .marken li { background: #151515; border-color: #2e2e2e; }
section.dunkel .marken li:nth-child(-n+2) { background: var(--gelb); border-color: var(--gelb); color: var(--tief); }
section.dunkel .marken li:nth-child(-n+2) small { color: #3d2f00; }
section.dunkel .marken small { color: #aaa; }
section.dunkel .hinweis, section.dunkel .hinweis a { color: #ddd; }

/* Kacheln mit Foto */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kacheln a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: #222; color: #fff; text-decoration: none; }
.kacheln img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kacheln a:hover img { transform: scale(1.04); }
.kacheln span { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.9)); font: 700 18px/1.2 var(--kopf); }
.kacheln small { display: block; margin-top: 4px; font: 500 14px/1.35 var(--lauf); color: #ddd; }
.kacheln a::before { content: ""; position: absolute; z-index: 1; left: 12px; top: 12px; width: 16px; height: 16px; border-radius: 3px; background: var(--gelb); }
@media (min-width: 861px) { .kacheln { grid-template-columns: repeat(4, 1fr); gap: 16px; } .kacheln span { font-size: 21px; padding: 60px 16px 16px; } }
.liste.nach-kacheln { margin-top: 30px; border-top-width: 1px; border-top-color: var(--linie); }

/* Werdegang: drei Fotos desselben Raums, darüber läuft der Zollstock durch */
.werdegang { list-style: none; counter-reset: w; margin: 0 -20px; padding: 0 20px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.werdegang::-webkit-scrollbar { display: none; }
.werdegang li { counter-increment: w; scroll-snap-align: center; padding-right: 12px; }
.werdegang li::before {
  content: counter(w); display: block; height: 34px; margin-right: -12px; padding: 1px 0 0 9px; font: 700 16px/20px var(--kopf); color: var(--tief);
  background:
    repeating-linear-gradient(90deg, var(--tief) 0 2px, transparent 2px 50px) 0 100% / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--tief) 0 1px, transparent 1px 10px) 0 100% / 100% 7px no-repeat,
    var(--gelb);
}
.werdegang li:last-child { padding-right: 0; }
.werdegang li:last-child::before { margin-right: 0; }
.werdegang img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 0 var(--radius) var(--radius); }
.werdegang b { display: block; margin-top: 12px; font-size: 19px; line-height: 1.3; }
.werdegang span { display: block; color: var(--grau); font-size: 15px; line-height: 1.45; padding-right: 6px; }
.wisch { margin: 12px 0 0; color: var(--grau); font-size: 14px; }
@media (min-width: 861px) {
  .werdegang { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .werdegang li { padding-right: 16px; } .werdegang li::before { margin-right: -16px; }
  .wisch { display: none; }
}

/* Kopf der Unterseiten mit Foto: wie der Start, nur niedriger */
.held.klein picture img { aspect-ratio: 3 / 2; object-position: center 60%; }
.held.klein h1 { font-size: clamp(28px, 7vw, 46px); }
@media (min-width: 861px) { .held.klein picture img { min-height: 400px; max-height: 480px; aspect-ratio: auto; } .held.klein h1 { font-size: clamp(32px, 3.8vw, 46px); } }

/* Skizze vom Aufmaß */
.skizze { margin: 0 0 30px; max-width: 760px; }
.skizze img { width: 100%; border-radius: var(--radius); border: 1px solid var(--linie); }
.skizze figcaption { margin-top: 10px; color: var(--grau); font-size: 15px; }

/* Häufige Fragen */
.fragen { margin-top: 22px; max-width: 820px; border-top: 2px solid var(--tief); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { position: relative; list-style: none; cursor: pointer; padding: 17px 40px 17px 0; font-weight: 700; font-size: 18px; line-height: 1.35; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 2px; top: 11px; width: 28px; height: 28px; border-radius: 3px; background: var(--gelb); color: var(--tief); text-align: center; font: 700 22px/27px var(--kopf); }
.fragen details[open] summary::after { content: "–"; }
.fragen p { margin: 0 0 18px; max-width: 640px; color: #333; }

/* Bild mit Text darunter */
.formen { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; }
.formen figure { margin: 0; }
.formen img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.formen figcaption b { display: block; margin-top: 10px; font-size: 18px; line-height: 1.3; }
.formen figcaption span { display: block; color: var(--grau); font-size: 15px; line-height: 1.45; }
.formen.zwei-bilder { margin-top: 30px; max-width: 760px; }
@media (min-width: 861px) { .formen { grid-template-columns: repeat(4, 1fr); gap: 24px; } .formen.zwei-bilder { grid-template-columns: 1fr 1fr; } }
.formen.drei { grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 30px; }
.formen.drei figcaption b { font-size: 15px; }
.formen.drei figcaption span { font-size: 13px; }
@media (min-width: 861px) { .formen.drei { gap: 24px; } .formen.drei figcaption b { font-size: 18px; } .formen.drei figcaption span { font-size: 15px; } }

/* Galerie */
.galerie.kurz { grid-template-columns: 1fr 1fr; }
@media (min-width: 761px) { .galerie.kurz { grid-template-columns: repeat(4, 1fr); } }
#galerie figure { cursor: zoom-in; }
.gross { border: 0; padding: 0; background: var(--tief); color: #fff; max-width: min(94vw, 900px); border-radius: var(--radius); }
.gross::backdrop { background: rgba(0,0,0,.82); }
.gross img { width: 100%; max-height: 74vh; object-fit: contain; background: #000; }
.gross p { margin: 0; padding: 12px 16px 4px; font-size: 16px; }
.gross .knopf { margin: 10px 16px 16px; border: 0; cursor: pointer; font-family: var(--lauf); }

/* Ablauf mit drei Schritten */
@media (min-width: 861px) { .schritte.drei { grid-template-columns: repeat(3, 1fr); } }

/* Band am Ende jeder Seite: klein, Gelb, ein Satz und zwei Knöpfe */
.ruf { background: var(--gelb); color: var(--tief); padding: 30px 0; }
.ruf .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.ruf p { margin: 0; max-width: 560px; font: 700 clamp(19px, 4.8vw, 24px)/1.3 var(--kopf); letter-spacing: -.01em; }
.knopf.rand { border: 2px solid var(--tief); color: var(--tief); padding: 12px 18px; }
.knopf.rand:hover { background: var(--tief); color: #fff; }
.s-kontakt .nummer { font-size: clamp(32px, 9.6vw, 56px); }
.kontakt .wie-h2 { font-family: var(--kopf); font-size: clamp(28px, 7vw, 48px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 12px; }

/* Anfrage */
.anfrage { max-width: 560px; display: grid; gap: 16px; }
.anfrage label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.anfrage select, .anfrage input, .anfrage textarea { width: 100%; font: 500 17px/1.4 var(--lauf); color: var(--text); background: #fff; border: 1px solid #b9b4a8; border-radius: var(--radius); padding: 12px; }
.anfrage button.knopf { border: 0; cursor: pointer; font-family: var(--lauf); }
.form-hinweis { color: var(--grau); font-size: 14px; margin: 0; }

.orte { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--tief); column-gap: 24px; }
.orte li { padding: 11px 0; border-bottom: 1px solid var(--linie); font-weight: 700; }
@media (min-width: 761px) { .orte { grid-template-columns: repeat(5, 1fr); } }

.fuss .partner { flex-basis: 100%; }
.fuss .partner a { margin-left: 0; }

.held h1, .seitenkopf h1 { color: #fff; }

/* ===== Hellere Fassung (Enis, 14.11.2026): Kopfleiste und Fuß bleiben schwarz, Inhalt hell ===== */
.held, .held.klein { background: var(--papier); color: var(--text); }
.held h1, .seitenkopf h1 { color: var(--tief); }
.held p.unter { color: #3a3a3a; }
.held .knopf.hell { background: #fff; color: var(--tief); border: 2px solid var(--tief); }
.held .knopf.hell:hover { background: var(--tief); color: #fff; }
section.dunkel { background: #fff; color: var(--text); }
section.dunkel h2 { color: var(--tief); }
section.dunkel h2 + .lead { color: var(--grau); }
section.dunkel .marken li { background: var(--papier); border-color: var(--linie); }
section.dunkel .marken small { color: var(--grau); }
section.dunkel .hinweis, section.dunkel .hinweis a { color: var(--tief); }
.s-kontakt .kontakt { background: var(--papier); color: var(--text); }
.s-kontakt .kontakt h1 { color: var(--tief); }
.s-kontakt .kontakt .lead, .s-kontakt .kontakt .zeiten, .s-kontakt .adresse { color: #444; }
.s-kontakt .nummer { color: var(--tief); text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 6px; text-underline-offset: 8px; }
.s-kontakt .wege { border-top-color: #d9d4c8; }
.s-kontakt .wege a { border-bottom-color: #d9d4c8; }
.s-kontakt .wege a:hover { color: #7a5c00; }
.s-kontakt .wege svg { color: var(--tief); }
.zitat { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--gelb); }
.zitat p { margin: 0 0 8px; font: 700 clamp(19px, 4.6vw, 22px)/1.4 var(--kopf); letter-spacing: -.01em; color: var(--tief); }
.zitat footer { color: var(--grau); font-size: 15px; }

/* ===== Vierte Fassung: Fotos einbetten statt einkleben =====
   Ein Mittel, sparsam: das Foto bekommt einen gelben Versatz wie ein angelegter Zollstock.
   Nur beim Startbild hängt es zusätzlich über die Kante in den nächsten Abschnitt. */
.held picture { position: relative; z-index: 2; padding: 18px 28px 0 20px; }
.held picture img { border-radius: var(--radius); box-shadow: 12px 12px 0 var(--gelb); aspect-ratio: 4 / 3; }
.held .zollstock { margin-top: 28px; }
.held.klein picture img { aspect-ratio: 16 / 10; }
@media (min-width: 861px) {
  .held { align-items: start; }
  .held picture { align-self: stretch; display: flex; flex-direction: column; }
  .held picture img { flex: 1; aspect-ratio: auto !important; object-fit: cover; min-height: 420px !important; }
  .held picture { padding: 56px max(32px, calc((100vw - var(--breite)) / 2 + 32px)) 0 0; }
  .held picture img { min-height: 0; height: auto; max-height: none; aspect-ratio: 4 / 3; margin-bottom: -96px; box-shadow: 16px 16px 0 var(--gelb); }
  .held .inhalt { padding-top: 80px; padding-bottom: 80px; }
  .held .zollstock { margin-top: 0; position: relative; z-index: 1; }
  .held + section.block { padding-top: 140px; }
  .held.klein picture img { aspect-ratio: 16 / 10; margin-bottom: -72px; }
  .held.klein + section.block { padding-top: 120px; }
}
.zwei img { box-shadow: -12px 12px 0 var(--gelb); }
@media (min-width: 861px) { .zwei img { box-shadow: -16px 16px 0 var(--gelb); } }

/* Dunkler Abschnitt für den Werdegang: die drei Fotos wirken auf Schwarz wie eine Bildstrecke */
section.nacht { background: var(--tief); color: #fff; }
section.nacht h2 { color: #fff; }
section.nacht h2 + .lead, section.nacht .wisch { color: #b8b8b8; }
section.nacht .werdegang span { color: #c9c9c9; }
section.nacht .werdegang img { border-radius: 0 0 var(--radius) var(--radius); }

/* Kacheln und Galerie: Fotos einheitlich etwas wärmer und satter, Text immer lesbar */
.kacheln img, .galerie img, .formen img, .werdegang img { filter: saturate(1.05) contrast(1.03); }

/* Hausmeisterdienst: drei Gründe, mit gelber Marke statt Nummer (keine Reihenfolge) */
.vorteile { display: grid; gap: 14px; margin-top: 22px; }
.vorteile > div { background: #fff; border: 1px solid var(--linie); border-left: 6px solid var(--gelb); border-radius: var(--radius); padding: 18px 18px 20px; }
.vorteile h3 { margin: 0 0 6px; font: 700 19px/1.3 var(--kopf); }
.vorteile p { margin: 0; color: #444; font-size: 16px; }
@media (min-width: 861px) { .vorteile { grid-template-columns: repeat(3, 1fr); gap: 20px; } .vorteile > div { padding: 24px; } }

/* Seitenköpfe ohne Foto (Bilder, Hausmeisterdienst) ebenfalls hell, sonst Schrift schwarz auf schwarz */
.seitenkopf { background: var(--papier); color: var(--text); }
.seitenkopf h1 { color: var(--tief); }
.seitenkopf p { color: #3a3a3a; }

/* ===== Fünfte Fassung (Enis: „zu viel Gelb“, „schönerer Übergang von Bild auf Seite“) =====
   Gelb nur noch für Anruf-Knöpfe, den Zollstock unter dem Kopf und den Ablauf. Fotos ohne Rahmen,
   das Kopfbild läuft weich in den Seitengrund aus. */
.held picture img, .zwei img { box-shadow: none; }
.held { display: flex; flex-direction: column; }
.held picture { order: 1; padding: 0; }
.held .inhalt { order: 2; }
.held .zollstock { order: 3; margin-top: 0; }
.held picture img, .held.klein picture img {
  border-radius: 0; aspect-ratio: 4 / 3;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.held .inhalt { margin-top: -36px; position: relative; }
@media (min-width: 861px) {
  .held { display: grid; grid-template-columns: 1fr 1fr; }
  .held picture { grid-column: 2; grid-row: 1; padding: 0; align-self: stretch; display: block; }
  .held picture img, .held.klein picture img {
    width: 100%; height: 100%; min-height: 560px !important; max-height: 640px; margin: 0; aspect-ratio: auto !important; object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
    mask-image: linear-gradient(to right, transparent 0, #000 30%);
  }
  .held.klein picture img { min-height: 440px !important; max-height: 500px; }
  .held .inhalt { grid-column: 1; grid-row: 1; margin-top: 0; padding-right: 0; position: relative; z-index: 2; }
  .held .zollstock { grid-column: 1 / -1; grid-row: 2; }
  .held + section.block, .held.klein + section.block { padding-top: 84px; }
}
.zwei img { border-radius: var(--radius); }

/* weniger Gelb */
.kacheln a::before { display: none; }
.ruf { background: var(--papier); border-top: 1px solid var(--linie); }
section.dunkel .marken li:nth-child(-n+2) { background: var(--papier); border-color: var(--linie); color: var(--tief); }
section.dunkel .marken li:nth-child(-n+2) small { color: var(--grau); }
.vorteile > div { border-left: 4px solid var(--tief); }
.fragen summary::after { background: none; border: 2px solid var(--tief); width: 26px; height: 26px; line-height: 22px; }
.zitat { border-left-color: var(--tief); }
.s-kontakt .nummer { text-decoration-thickness: 3px; }
.werdegang li::before { background: none; border-top: 2px solid #3a3a3a; color: #fff; height: auto; padding: 8px 0 6px; margin-right: 0 !important; }
.werdegang img { border-radius: var(--radius); }

/* Konsil Technik: Fokus auf hellen Flächen sichtbar (dunkler Rahmen, gelber Saum) */
:focus-visible { outline: 3px solid var(--tief); outline-offset: 2px; box-shadow: 0 0 0 6px var(--gelb); }
.kopf :focus-visible, .fuss :focus-visible, section.nacht :focus-visible { outline-color: var(--gelb); box-shadow: none; }
section.nacht .werdegang img { border-radius: var(--radius); }
.anfrage select, .anfrage input, .anfrage textarea { border-color: #8a857a; }
@media (prefers-reduced-motion: reduce) { .kacheln img, .galerie img { transition: none; } .kacheln a:hover img, .galerie figure:hover img { transform: none; } }

/* ===== Echte Unterseiten ===== */
/* Menü am Handy ohne Skript: details/summary */
.menue-details { display: none; }
.menue-details > summary { list-style: none; }
.menue-details > summary::-webkit-details-marker { display: none; }
.menue-details .menue { position: absolute; left: 0; right: 0; top: 64px; }
@media (max-width: 1020px) { .menue-details { display: block; } }
.kopf nav a[aria-current="page"], .menue a[aria-current="page"] { color: var(--gelb); }
/* Startseite: nur die ersten vier Galeriebilder zeigen (der Connector schreibt alle in den Block) */
.galerie.kurz figure:nth-child(n+5) { display: none; }
.zaehler { position: absolute; left: -9999px; }
/* Bilder mit width/height (gegen Layout-Sprünge): Höhe aus dem Seitenverhältnis, ohne Spezifität */
:where(img[width][height]) { height: auto; }
/* Kontaktseite: Zollstock schließt den Kopf ohne Streifen darunter ab */
.s-kontakt section.kontakt { padding-bottom: 0; }
.s-kontakt section.kontakt .zollstock { margin-top: 40px; }
