/* breit.css · 28.11.2026 · geladen nach neu.css (bausteine/kopf.php)
   Teil 1: Korrekturen für hell und dunkel, gelten auf jeder Breite.
   Teil 2: Fassung für große Bildschirme ab 1000 px. Das Handy bleibt, wie es ist. */

/* ───────── Teil 1 · hell und dunkel ───────── */
/* Rollbalken, Seitenrand und Eingabefelder folgen dem Umschalter, nicht nur dem Gerät. */
:root{color-scheme:light}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark}}
:root[data-theme="dark"]{color-scheme:dark}
:root[data-theme="light"]{color-scheme:light}
html{background:var(--grund)}

/* Referenzkarten: „.n a{color:inherit}“ gewann gegen „.projekt{color:#fff}“, der Titel stand hell dunkel auf dunklem Foto. */
.n a.projekt,.n a.projekt h3{color:#fff}

/* Titelbild: Der Verlauf lief im hellen Modus in Weiß aus, die weiße Schrift verlor sich. Er endet jetzt immer dunkel. */
.n-auftakt .bild::after{background:linear-gradient(180deg,rgba(7,12,9,.45) 0%,rgba(7,12,9,0) 28%,rgba(7,12,9,.86) 78%,#070C09 100%)}

/* Goldener Knopf aus dem alten Kleid: Schrift war Gold auf Gold. */
body.neu .knopf.gold,body.neu a.knopf.gold{background:#F1D11E!important;border-color:#F1D11E!important;color:#0B120D!important;text-decoration:none!important}

/* Fuß: Telefonnummer ohne Einzug. */
.n-fuss p a{padding:6px 0}

/* Navigation für große Bildschirme: am Handy nicht da. */
.n-nav,.n-tel,.n-ruf{display:none}

/* Anfrageformular im neuen Kleid, hell und dunkel, auf jeder Seite (vorher nur auf /anfrage geladen). */
body.neu .an{background:var(--grund);color:var(--text);padding:44px 0 40px}
body.neu .an .mitte.schmal{max-width:560px;margin-inline:auto;padding-inline:20px}
body.neu .an-kopf{background:none;color:var(--text);padding:0 0 4px}
body.neu .an-kopf h2{font:700 clamp(26px,7.5vw,34px)/1.12 "Bricolage","Inter",sans-serif;letter-spacing:-.02em;text-transform:none;color:var(--text);margin:0 0 8px}
body.neu .an-kopf p{color:var(--leise)}body.neu .an-kopf p a{color:var(--akzent)}
body.neu .an label{color:var(--text)}
body.neu .an input[type=text],body.neu .an input[type=tel],body.neu .an input[type=email],body.neu .an textarea{background:var(--flaeche);color:var(--text);border:1px solid var(--linie);border-radius:14px}
body.neu .an input::placeholder,body.neu .an textarea::placeholder{color:var(--leise)}
body.neu .an-foto{background:var(--flaeche);color:var(--text);border-color:var(--linie)}body.neu .an-foto small{color:var(--leise)}
body.neu .an-umschalter{background:var(--flaeche2)}body.neu .an-umschalter button{color:var(--text)}
body.neu .an-umschalter button[aria-pressed=true]{background:var(--marke);color:var(--marke-text)}
body.neu .an-knopf{background:var(--marke);color:var(--marke-text);border-radius:999px}
body.neu .an-klein,body.neu .an .hinweis{color:var(--leise)}body.neu .an-klein a,body.neu .an .hinweis a{color:var(--akzent)}

/* ───────── Teil 2 · große Bildschirme ───────── */
@media (min-width:1000px){
  body.neu{padding-bottom:0;font-size:18px}
  .rand{max-width:1160px;padding-inline:40px}
  .n section{padding-block:96px 8px}
  .n h1{font-size:clamp(56px,5.4vw,84px)}
  .n h2{font-size:clamp(36px,3.4vw,52px);margin-bottom:14px;max-width:22ch}
  .n section>p,.n .rand>p{max-width:64ch}
  .kicker{font-size:13px;margin-bottom:14px}

  /* Kopf mit Navigation */
  .n-kopf{padding:12px max(40px,calc((100vw - 1160px)/2 + 40px));gap:6px}
  .n-kopf a.marke{flex:none;margin-right:28px}
  .n-kopf .logo{width:40px;height:40px}
  .n-nav{display:flex;align-items:center;gap:2px;flex:1}
  .n-nav>a,.n-auf>a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;font:500 15.5px/1 "Inter",sans-serif;color:var(--text);transition:background .2s;white-space:nowrap}
  .n-nav>a:hover,.n-auf:hover>a,.n-auf:focus-within>a,.n-nav a[aria-current=page]{background:var(--flaeche2)}
  .n-auf{position:relative}
  .n-auf>a::after{content:"";width:7px;height:7px;margin:-3px 0 0 8px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);opacity:.6}
  .n-mega{position:absolute;left:-24px;top:100%;width:min(940px,calc(100vw - 80px));padding:26px 28px 24px;margin-top:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px 28px;border-radius:24px;background:var(--flaeche);border:1px solid var(--linie);box-shadow:var(--schatten);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s}
  .n-mega::before{content:"";position:absolute;inset:-14px 0 auto 0;height:14px}
  .n-auf:hover .n-mega,.n-auf:focus-within .n-mega{opacity:1;visibility:visible;transform:none}
  .n-mega strong{display:block;font:600 12px/1 "Inter",sans-serif;letter-spacing:.13em;text-transform:uppercase!important;color:var(--akzent);margin-bottom:10px}
  .n-mega a{display:block;padding:7px 0;font-size:15.5px;line-height:1.3;color:var(--text)}
  .n-mega a:hover,.n-mega a[aria-current=page]{color:var(--akzent)}
  .n-tel{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;font:600 15.5px/1 "Inter",sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
  .n-ruf{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;margin-right:10px;border-radius:999px;background:var(--marke);color:var(--marke-text)!important;font:600 15.5px/1 "Inter",sans-serif;white-space:nowrap}

  /* Die Handy-Leiste entfällt. Es bleibt nur die KI-Kugel unten rechts. */
  .leiste{left:auto;right:28px;bottom:28px;width:76px;height:76px;max-width:none;margin:0;display:block;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .leiste>a,.leiste>#menueauf{display:none}
  .leiste .kugel{margin-top:0;width:68px;height:68px}.leiste .kugel span{width:60px;height:60px;font-size:17px}
  .leiste #kiauf{width:76px;height:76px;min-height:0}
  /* KI-Fenster und Menüblatt als Fenster unten rechts statt über den ganzen Bildschirm */
  .blatt .feld{left:auto;right:28px;bottom:28px;width:440px;max-width:none;height:min(700px,calc(100vh - 120px));border-radius:28px;border-bottom:1px solid #233128;margin:0}

  /* Titelbild der Startseite */
  .n-auftakt{max-height:none;height:min(100svh,920px);min-height:640px}
  .n-auftakt .inhalt{max-width:1160px;padding:0 40px 72px}
  .n-auftakt p{font-size:21px;max-width:38ch;margin:18px 0 28px}
  .n-auftakt .knoepfe{max-width:460px}
  .kischild{right:max(40px,calc((100vw - 1160px)/2 + 40px));top:92px}
  .knoepfe .n-knopf{min-height:58px}

  /* Kennzahlen */
  .zahlen{gap:16px;margin-top:-44px;position:relative;z-index:2}
  .zahlen div{padding:26px 26px 24px;border-radius:24px;box-shadow:var(--schatten)}
  .zahlen b{font-size:52px}.zahlen span{font-size:15.5px;margin-top:10px}

  /* Leistungskarte: Foto links, Text rechts */
  .wahl{margin-inline:0;padding-inline:0;flex-wrap:wrap;overflow:visible}
  .lkarten .karte{display:grid;grid-template-columns:1.35fr 1fr;align-items:stretch}
  .lkarten .karte .n-foto{aspect-ratio:16/10}
  .lkarten .karte .text{padding:40px 40px 40px 44px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
  .lkarten .karte .text h3{font-size:34px}
  .lkarten .karte .text p{font-size:18px;margin:14px 0 26px}

  /* Vorher und nachher: breites Bild statt Hochformat */
  .vn{aspect-ratio:16/9;max-height:640px;width:100%}

  /* Wisch-Reihen werden zu Rastern: alles sichtbar, keine abgeschnittenen Karten */
  .reihe{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;overflow:visible;margin-inline:0;padding:22px 0 8px;scroll-snap-type:none}
  .reihe .projekt{width:auto;max-width:none;aspect-ratio:4/5}
  .reihe .projekt div{padding:24px}
  .reihe .stimme{width:auto;max-width:none}
  .projekt img{transition:transform .6s}
  a.projekt:hover img{transform:scale(1.04)}

  /* Ablauf: alle Schritte offen nebeneinander */
  .n-schritte{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
  .n-schritt button{cursor:default;padding:24px 24px 8px;pointer-events:none}
  .n-schritt .n-pfeil{display:none}
  .n-schritt .nr{background:var(--marke);color:var(--marke-text)}
  .n-schritt .mehr{grid-template-rows:1fr}
  .n-schritt .mehr p{padding:0 24px 24px}

  /* Punkte, Fragen, Auswahl */
  .punkte{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
  .punkt{padding:24px 26px}
  .wissen{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;align-items:start}
  .wissen>:not(details){grid-column:1/-1}
  .alle a{font-size:16px;padding:0 18px;min-height:46px;transition:background .2s,border-color .2s}
  .alle a:hover{border-color:var(--akzent)}
  .link,.n-knopf{transition:transform .2s,filter .2s}
  .link:hover,.n-knopf.voll:hover,.n-ruf:hover{filter:brightness(1.07)}

  /* Formular */
  body.neu .an{padding:96px 0 72px}
  body.neu .an .mitte.schmal{max-width:640px}

  /* Fuß: drei Gruppen nebeneinander */
  .n-fuss{display:grid;grid-template-columns:1.25fr 1.25fr 1fr;gap:0 48px;align-items:start;padding:72px 40px 48px;margin-top:72px;border-top:1px solid var(--linie);text-align:left}
  .n-fuss h2{grid-row:1;margin:0 0 6px;max-width:none;font-size:14px}
  .n-fuss nav{grid-row:2;margin:10px 0 0}
  .n-fuss>p{grid-column:1/-1;margin-top:40px;padding-top:26px;border-top:1px solid var(--linie)}
  .n-fuss nav a:hover{color:var(--text)}
}
@media (min-width:1000px) and (max-width:1180px){
  .n-tel{display:none}
  .n-nav>a,.n-auf>a{padding:0 10px}
}

/* ───────── Teil 3 · Unterseiten auf großen Bildschirmen ───────── */
@media (min-width:1000px){
  /* Seitenkopf: Text links, Bild oder Schaubild rechts. Gilt für alle Köpfe der Leistungs-, Bezirks- und Referenzseiten. */
  .n[class*="s-"]>section:first-child:not(.hero):not(.tx):not(.nf):not(.pr-kopf):not(.cr-kopf),.s-bz .bz-kopf{
    max-width:1160px!important;margin-inline:auto;padding:128px 40px 0!important;
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:repeat(11,auto) 1fr;column-gap:64px;grid-auto-flow:row dense;align-items:start}
  .n[class*="s-"]>section:first-child:not(.hero):not(.tx):not(.nf):not(.pr-kopf):not(.cr-kopf)>*,.s-bz .bz-kopf>*{grid-column:2;grid-row:span 12;max-width:none!important;width:100%;margin-top:0!important}
  .n[class*="s-"]>section:first-child>:is(nav,h1,p,.knoepfe,.kicker,[class$="-titel"],[class$="-unter"],.unter,.dd-kopf),
  .s-bz .bz-kopf>:is(nav,h1,p,.knoepfe,.kicker){grid-column:1!important;grid-row:auto!important;width:auto}
  .n[class*="s-"]>section:first-child>[class$="-titel"],.n[class*="s-"]>section:first-child>[class$="-unter"],.n[class*="s-"]>section:first-child>.unter,.n[class*="s-"]>section:first-child>.dd-kopf{padding:0!important;align-self:center;grid-row:1/13!important}
  .n[class*="s-"]>section:first-child>h1,.s-bz .bz-kopf>h1{margin-bottom:6px}
  .n[class*="s-"]>section:first-child>p{font-size:20px;max-width:34ch}
  .n[class*="s-"]>section:first-child>.knoepfe{max-width:460px;margin-top:10px}
  /* Köpfe ohne Bild (nur Text) bleiben einspaltig */
  .s-le .le-kopf,.s-ta .ta-kopf{display:block!important}
  .s-le .le-kopf>*,.s-ta .ta-kopf>*{width:auto}
  /* Bühnen und Bilder im Kopf: Querformat statt Handy-Hochformat, runde Ecken rundum */
  .n[class*="s-"]>section:first-child>:is(.buehne,figure,.vn){aspect-ratio:4/3!important;max-height:none!important;border-radius:28px!important;overflow:hidden}

  /* Rechner und Formulare bleiben eine ruhige Spalte in der Mitte */
  .s-pr .rand,.s-cr .rand{max-width:720px}

  /* Wisch-Streifen werden zu Rastern */
  .n .streifen{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;overflow:visible!important;margin-inline:0!important;padding-inline:0!important;scroll-snap-type:none}
  .n .streifen>*{max-width:none!important;width:auto!important;min-width:0!important;flex:none}
  .n p.wisch{display:none!important}

  /* Abschlussblock */
  .n .abschluss{max-width:1080px!important;margin:96px auto 0!important;padding:48px 56px!important;border-radius:32px}
  .n .abschluss h2{max-width:none}
  .n .abschluss p{max-width:60ch}
}
@media (min-width:1000px){.s-nf .rand{max-width:640px}}
@media (min-width:1000px){
  /* Foto-Reihen „Eigene Baustellen“: Raster statt abgeschnittener Wischreihe */
  .n .auf-reihe{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;overflow:visible!important;margin-inline:0!important;padding-inline:0!important;scroll-snap-type:none}
  .n .auf-reihe>*{max-width:none!important;width:auto!important;min-width:0!important;flex:none}
  .n-fuss>p{max-width:none!important}
}
@media (min-width:1000px){.n .auf-reihe img{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;aspect-ratio:4/3;object-fit:cover}}
