/* Nol Zeka Trockenbau, Startseite im Branchenstandard
   Dunkler Grund, weiße Schrift, Rot nur für Handlungen und Hervorhebung.
   Schrift Hanken Grotesk (lokal). Umbrüche: 640, 900, 1000, 1100, 1200. */

:root {
  --grund: #0b0b0c;
  --flaeche: #151517;
  --flaeche-hell: #1c1c1f;
  --linie: #2a2a2d;
  --linie-stark: #77736d;
  --text: #f4f2ee;
  --leise: #b8b4ae;
  --text-auf-bild: #dcd8d2; /* Fließtext über Fotos */
  --rot: #d4101d;
  --rot-dunkel: #a80c16;
  --rot-text: #f2414b;
  --schrift: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breite: 1320px;
  --rand: clamp(20px, 4vw, 56px);
  --abstand: clamp(80px, 10vw, 144px);
  --kopfhoehe: 76px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: calc(var(--kopfhoehe) + 16px); scrollbar-color: var(--linie) var(--grund); accent-color: var(--rot); caret-color: var(--rot); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--schrift); font-size: 17px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.menue-offen { overflow: hidden; }
::selection { background: var(--rot); color: #fff; }
img, svg { display: block; max-width: 100%; height: auto; }
svg[hidden] { display: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.8vw, 72px); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(32px, 3.8vw, 54px); }
h3 { font-size: clamp(20px, 1.6vw, 23px); letter-spacing: -0.01em; line-height: 1.2; }
p { text-wrap: pretty; }
.leise { color: var(--leise); }
.gross { font-size: clamp(18px, 1.4vw, 20px); }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.nur-screenreader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprungmarke { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--rot); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.sprungmarke:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

.bereich { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.abschnitt { padding-block: var(--abstand); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnittkopf { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.abschnittkopf p { max-width: 58ch; }
.abschnitt--anschluss,
.seitenkopf--schlicht + .abschnitt,
.held--seite + .abschnitt:not(.abschnitt--flaeche) { padding-top: clamp(32px, 4vw, 48px); }
.abschnittkopf--kompakt { margin-bottom: 24px; gap: 8px; }
.abschnittkopf--kompakt h2 { font-size: clamp(28px, 2.6vw, 38px); }
@media (min-width: 1000px) { .abschnittkopf--zeile { grid-template-columns: 1fr minmax(0, 520px); align-items: end; gap: 64px; } }
@media (min-width: 1000px) { .abschnittkopf--zeile:has(.fragen__kopftext) { align-items: start; } .abschnittkopf--zeile:has(.fragen__kopftext) h2 { margin-top: -.12em; } }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; background: var(--rot); color: #fff; border: 0; border-radius: var(--radius); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.knopf:hover { background: var(--rot-dunkel); }
.knopf--rand { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.knopf--rand:hover { background: var(--text); color: var(--grund); box-shadow: none; }
.knopf--klein { min-height: 44px; padding: 0 20px; font-size: 16px; }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.pfeil { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.pfeil svg { width: 18px; height: 18px; transition: transform .2s; }
.pfeil:hover { color: var(--rot-text); }
.pfeil:hover svg { transform: translateX(4px); }

/* Kopf */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .25s, box-shadow .25s; }
.kopf--gescrollt, .kopf--offen { background: rgba(11, 11, 12, .96); box-shadow: 0 1px 0 var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--kopfhoehe); }
.marke { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.marke img { width: 40px; }
.kopf__menue { display: none; }
.kopf__direkt { display: none; }
.kopf__menue > ul { display: flex; align-items: center; gap: 4px; }
.kopf__menue a, .kopf__leistungen { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; transition: color .15s; }
.kopf__menue a:hover, .kopf__leistungen:hover { color: var(--rot-text); }
.kopf__menue .knopf, .kopf__menue .knopf:hover { color: #fff; }
.kopf__leistungen svg { width: 14px; height: 14px; transition: transform .2s; }
.kopf__gruppe { position: relative; }
.kopf__gruppe--offen .kopf__leistungen svg { transform: rotate(180deg); }
.kopf__unter { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px 0; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.kopf__unter li { display: block; }
.kopf__unter a { display: flex; width: 100%; padding: 10px 18px; }
.kopf__gruppe--offen .kopf__unter { display: block; }
@media (hover: hover) { .kopf__gruppe:hover .kopf__unter { display: block; } }
.kopf__rechts { display: flex; align-items: center; gap: 12px; }
.kopf__tel { display: none; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.kopf__tel svg { width: 18px; height: 18px; }
.kopf__tel:hover { color: var(--rot-text); }
.kopf__schalter { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px; background: transparent; border: 1px solid var(--linie-stark); border-radius: var(--radius); cursor: pointer; }
.kopf__schalter span { display: block; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.kopf--offen .kopf__schalter span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kopf--offen .kopf__schalter span:nth-child(2) { opacity: 0; }
.kopf--offen .kopf__schalter span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.kopf__anruf { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--linie-stark); border-radius: var(--radius); }
.kopf__anruf svg { width: 20px; height: 20px; }
@media (max-width: 1199px) {
  .kopf--offen .kopf__menue { display: block; position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--kopfhoehe)); overflow: auto; background: var(--grund); padding: 16px var(--rand) 40px; border-top: 1px solid var(--linie); }
  .kopf--offen .kopf__menue > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .kopf--offen .kopf__menue > ul > li { border-bottom: 1px solid var(--linie); }
  .kopf--offen .kopf__menue a, .kopf--offen .kopf__leistungen { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 22px; font-weight: 700; }
  .kopf--offen .kopf__gruppe:not(.kopf__gruppe--offen) .kopf__unter { display: none; }
  .kopf--offen .kopf__unter { position: static; display: block; border: 0; box-shadow: none; background: none; padding: 0 0 12px 16px; min-width: 0; }
  .kopf--offen .kopf__unter a { font-size: 17px; font-weight: 500; padding: 10px 0; }
  .kopf--offen .kopf__menue .knopf { width: 100%; margin-top: 24px; }
  .kopf--offen .kopf__direkt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .kopf--offen .kopf__menue .kopf__direkt a { justify-content: center; gap: 10px; min-height: 56px; padding: 0 12px; font-size: 17px; border: 1px solid var(--linie-stark); border-radius: var(--radius); }
  .kopf--offen .kopf__menue .kopf__direkt a:hover { color: inherit; border-color: var(--text); }
  .kopf--offen .kopf__menue a.kopf__direkt-wa { background: #25d366; border-color: #25d366; color: #0b0b0c; }
  .kopf--offen .kopf__menue a.kopf__direkt-wa:hover { background: #1fb457; color: #0b0b0c; }
  .kopf__direkt svg { width: 22px; height: 22px; flex: none; }
}
@media (min-width: 640px) { .kopf__tel { display: inline-flex; } .kopf__anruf { display: none; } }
@media (min-width: 1200px) {
  .kopf__menue { display: block; }
  .kopf__schalter { display: none; }
}

/* Erster Bildschirm */
.held { position: relative; isolation: isolate; min-height: min(78dvh, 680px); display: grid; align-items: end; padding: calc(var(--kopfhoehe) + 40px) 0 clamp(36px, 4vw, 56px); }
.held--seite { min-height: min(60dvh, 540px); align-items: center; padding: calc(var(--kopfhoehe) + clamp(56px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); }
.held--seite .held__bild img { object-position: 70% 50%; }
.held__bild { position: absolute; inset: 0; z-index: -2; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.held::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .78) 48%, rgba(11, 11, 12, .3) 100%), linear-gradient(0deg, var(--grund) 0%, rgba(11, 11, 12, 0) 35%); }
.held__inhalt { display: grid; gap: 28px; max-width: 820px; }
.held__inhalt h1 em { font-style: normal; color: var(--rot-text); }
.held__text { color: var(--text-auf-bild); font-size: clamp(18px, 1.4vw, 20px); max-width: 54ch; }
.fakten { display: flex; flex-wrap: wrap; gap: 10px 32px; color: var(--leise); font-size: 16px; padding-top: 8px; }
.fakten li { display: inline-flex; align-items: center; gap: 10px; }
.fakten svg { width: 18px; height: 18px; color: var(--text); flex: none; }
.fakten b { color: var(--text); font-weight: 700; }
@media (max-width: 639px) {
  .knopfreihe { flex-wrap: nowrap; gap: 8px; }
  .knopfreihe .knopf { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 10px; gap: 8px; font-size: 15px; text-align: center; }
  .knopfreihe .knopf svg { width: 18px; height: 18px; }
}
@media (max-width: 639px) { .held { min-height: 0; padding-top: calc(var(--kopfhoehe) + 80px); } .held--seite { padding-bottom: 36px; } .held::before { background: linear-gradient(0deg, var(--grund) 30%, rgba(11, 11, 12, .55) 100%); } }

/* Leistungen */
.leistungen__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.leistung { display: grid; grid-template-rows: auto 1fr; background: var(--grund); color: inherit; text-decoration: none; transition: background-color .2s; }
.leistung__bild { overflow: hidden; }
.leistung__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--flaeche); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.leistung__text { display: grid; gap: 10px; align-content: start; padding: 22px 24px 26px; }
.leistung__text p { color: var(--leise); font-size: 16px; }
.leistung:hover { background: var(--flaeche); }
.leistung:hover h3 { color: var(--rot-text); }
.leistung:hover .leistung__bild img { transform: scale(1.04); }
.leistung--anfrage { grid-template-rows: 1fr; }
.leistung--anfrage .leistung__text { align-content: end; padding: 28px 24px; min-height: 220px; }
.leistung--anfrage h3, .leistung--anfrage .pfeil { color: var(--rot-text); }
.leistung--anfrage p { color: var(--leise); }
@media (max-width: 639px) {
  .leistungen__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leistung__text { gap: 6px; padding: 12px 14px 16px; }
  .leistung__text h3 { font-size: 17px; line-height: 1.25; hyphens: manual; }
  .leistung__text p { display: none; }
  .leistung--anfrage .leistung__text { padding: 14px; min-height: 0; align-content: center; }
  .leistung--anfrage .pfeil { font-size: 15px; }
}
@media (min-width: 640px) { .leistungen__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .leistungen__raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Über uns */
/* Über uns: Wandbau in vier Schritten mit Icons */
.wandbau { display: grid; gap: 32px 28px; margin-bottom: clamp(40px, 5vw, 64px); }
.wandbau__schritt { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 28px; border-top: 1px solid var(--linie-stark); }
.wandbau__schritt::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--rot-text); }
.wandbau__icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 8px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.wandbau__icon svg { width: 46px; height: 46px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wandbau__icon .wandbau__rot { stroke: var(--rot-text); stroke-width: 2.2; }
.wandbau__icon .wandbau__punkt { fill: var(--rot-text); stroke: none; }
.wandbau__nr { font-size: 14px; font-weight: 700; color: var(--rot-text); font-variant-numeric: tabular-nums; }
.wandbau__schritt p { color: var(--leise); max-width: 30ch; }
.wandbau__bilder { display: grid; gap: 16px; align-items: center; }
.wandbau__bilder figure { display: grid; gap: 10px; }
.wandbau__bilder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--flaeche); }
.wandbau__bilder figcaption { font-size: 14px; color: var(--leise); }
.wandbau__bilder .wandbau__fertig { color: var(--rot-text); }
.wandbau__pfeil { width: 28px; height: 28px; justify-self: center; color: var(--rot-text); transform: rotate(90deg); }
/* Laserlinie: läuft einmal je Schritt über die Linie, wenn der Abschnitt ins Bild kommt (nur mit JS, nicht bei reduzierter Bewegung) */
.wandbau__schritt:nth-child(2) { --i: 1; }
.wandbau__schritt:nth-child(3) { --i: 2; }
.wandbau__schritt:nth-child(4) { --i: 3; }
.wandbau__schritt::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rot-text); box-shadow: 0 0 6px var(--rot-text); transform-origin: left; transform: scaleX(0); opacity: 0; pointer-events: none; }
.wandbau--bereit .wandbau__schritt > * { opacity: 0; transform: translateY(8px); transition: opacity .5s ease-out, transform .5s ease-out; }
.wandbau--an .wandbau__schritt > * { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .35s + .25s); }
.wandbau--an .wandbau__schritt::after { animation: laser 1s cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * .35s) both; }
@keyframes laser { 0% { transform: scaleX(0); opacity: 1; } 65% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wandbau--bereit .wandbau__schritt > * { opacity: 1; transform: none; transition: none; } .wandbau--an .wandbau__schritt::after { animation: none; } }
@media (max-width: 559px) {
  .wandbau { gap: 0; }
  .wandbau__schritt { padding: 0 0 36px 28px; border-top: 0; border-left: 1px solid var(--linie-stark); }
  .wandbau__schritt:last-child { padding-bottom: 0; }
  .wandbau__schritt::before { left: -5px; top: 0; }
  .wandbau__schritt::after { left: -1px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; transform: scaleY(0); }
  .wandbau--an .wandbau__schritt::after { animation-name: laser-senkrecht; }
}
@keyframes laser-senkrecht { 0% { transform: scaleY(0); opacity: 1; } 65% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 560px) { .wandbau { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .wandbau { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 760px) { .wandbau__bilder { grid-template-columns: 1fr auto 1fr; gap: 20px; } .wandbau__pfeil { transform: none; margin-bottom: 28px; } }
.vorstellung { display: grid; gap: 40px; align-items: center; }
.vorstellung__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--flaeche); }
.vorstellung__text { display: grid; gap: 22px; }
.vorstellung__text > p { color: var(--leise); }
.zitat { padding: 24px 0 0; border-top: 1px solid var(--linie); }
.zitat blockquote { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.zitat figcaption { margin-top: 10px; color: var(--leise); font-size: 15px; }
.punkte { display: grid; gap: 12px; }
.punkte li { display: flex; gap: 12px; align-items: flex-start; }
.punkte svg { width: 22px; height: 22px; color: var(--rot-text); flex: none; margin-top: 3px; }
@media (min-width: 1000px) {
  .vorstellung { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 96px); }
  /* Nur Startseite: Laserbild so hoch wie der Text (QS 4). Das Porträt auf Über uns bleibt 4:5, sonst wird es beschnitten */
  #ueber-uns .vorstellung { align-items: stretch; }
  #ueber-uns .vorstellung__bild { position: relative; min-height: 420px; }
  #ueber-uns .vorstellung__bild img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* Referenzen */
.projekte { display: grid; gap: 32px; }
.projekt { display: grid; gap: 14px; align-content: start; }
.projekt__haupt { position: relative; }
.projekt__haupt img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--grund); }
.projekt__marke { position: absolute; left: 12px; top: 12px; padding: 4px 10px; background: var(--rot); color: #fff; font-size: 13px; font-weight: 700; border-radius: var(--radius); }
.projekt__schritte { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.projekt__schritte figure { display: grid; gap: 6px; }
.projekt__wahl { display: block; padding: 0; border: 0; background: none; border-radius: var(--radius); cursor: pointer; overflow: hidden; }
.projekt__wahl img { transition: transform .3s, opacity .2s; }
.projekt__wahl:hover img { transform: scale(1.04); }
.projekt__wahl:focus-visible { outline: 2px solid var(--rot-text); outline-offset: 2px; }
.projekt__haupt img { transition: opacity .2s; }
.projekt__schritte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--grund); }
.projekt__schritte figcaption { font-size: 13px; color: var(--leise); }
.projekt h3 { margin-top: 6px; }
.projekt p { color: var(--leise); font-size: 16px; }
@media (max-width: 639px) {
  .projekte { gap: 28px; }
  .projekt__haupt img { aspect-ratio: 4 / 3; }
  .projekt__schritte { display: none; }
}
@media (min-width: 900px) { .projekte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* Ablauf: Schritte mit Einstieg zum Handeln, Wochenleiste */
.ablauf { display: grid; gap: 48px; }
.ablauf__kopf { display: grid; gap: 20px; align-content: start; }
.ablauf__kopf h2 { max-width: 14ch; }
.ablauf__schritte { display: grid; border-top: 1px solid var(--linie); }
.ablauf__schritt { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding-block: 28px; border-bottom: 1px solid var(--linie); }
.ablauf__schritt > div { display: grid; gap: 8px; align-content: start; }
.ablauf__schritt p { color: var(--leise); max-width: 48ch; }
.ablauf__schritt .knopfreihe { margin-top: 10px; }
.ablauf__nr { font-size: 64px; font-weight: 800; line-height: .9; letter-spacing: -0.05em; color: var(--linie-stark); font-variant-numeric: tabular-nums; }
.ablauf__schritt--jetzt .ablauf__nr { color: var(--rot-text); }
.ablauf__schritt--jetzt h3 { font-size: clamp(22px, 2vw, 28px); }
.wochen { display: grid; gap: 12px; margin-top: 12px; padding: 24px; background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); }
.wochen__titel { font-size: 14px; font-weight: 700; color: var(--leise); }
.wochen__leiste { position: relative; height: 40px; border-radius: var(--radius); background: repeating-linear-gradient(90deg, var(--flaeche-hell) 0 calc(25% - 2px), var(--grund) calc(25% - 2px) 25%); }
.wochen__auftrag, .wochen__start { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; font-size: 14px; font-weight: 700; }
.wochen__auftrag { left: 0; padding-left: 12px; border-left: 3px solid var(--text); }
.wochen__start { left: 50%; right: 0; justify-content: center; background: var(--rot); color: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.wochen__skala { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 13px; color: var(--leise); }
@media (min-width: 1000px) {
  .ablauf { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); }
  .ablauf__kopf { align-self: start; }
  .ablauf__schritt { grid-template-columns: 96px 1fr; padding-block: 36px; }
  .ablauf__nr { font-size: 80px; }
}


/* Fragen */
.abschnitt--linie { border-top: 1px solid var(--linie); }
.fragen__kopftext { display: grid; gap: 20px; justify-items: start; }
.fragen { display: grid; gap: 16px; }
.frage { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px); background: var(--flaeche); border-radius: var(--radius); }
.frage h3 { font-size: clamp(21px, 1.8vw, 25px); }
.frage p { color: var(--leise); max-width: 52ch; }
.frage strong { color: var(--text); font-weight: 700; }
@media (min-width: 760px) { .fragen { grid-template-columns: 1fr 1fr; } }

/* Schluss: Kontakt auf Bild */
.schluss { position: relative; isolation: isolate; padding-block: clamp(96px, 12vw, 160px); }
.schluss__bild { position: absolute; inset: 0; z-index: -2; }
.schluss__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.schluss::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .93) 0%, rgba(11, 11, 12, .82) 55%, rgba(11, 11, 12, .6) 100%); }
.schluss__innen { display: grid; gap: 40px; }
.kontakt__text { display: grid; gap: 20px; }
.kontakt__text p { color: var(--text-auf-bild); max-width: 52ch; }
.kontaktwege { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; align-self: center; }
.kontaktweg { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 20px; background: rgba(11, 11, 12, .92); text-decoration: none; transition: background-color .2s; }
.kontaktweg:hover { background: var(--flaeche-hell); }
.kontaktweg svg { width: 24px; height: 24px; justify-self: center; color: var(--rot-text); }
.kontaktweg small { display: block; color: var(--leise); font-size: 14px; }
.kontaktweg b { font-weight: 700; font-size: clamp(16px, 1.4vw, 18px); overflow-wrap: anywhere; }
@media (min-width: 1000px) { .schluss__innen { grid-template-columns: 1fr minmax(0, 440px); gap: 80px; align-items: center; } }
@media (max-width: 639px) { .kontaktweg { grid-template-columns: 32px 1fr; gap: 12px; padding: 16px; } }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding-block: 56px 40px; font-size: 15px; }
.fuss__raster { display: grid; gap: 36px; }
.fuss h2 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--leise); margin-bottom: 14px; }
.fuss ul { display: grid; gap: 0; }
.fuss ul a, .fuss address a { display: inline-block; padding-block: 6px; }
.fuss__unten:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--rot-text); }
.fuss address { font-style: normal; display: grid; gap: 0; }
.fuss ul a.fuss__agentur { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.fuss__unten li:has(.fuss__agentur) { flex: none; }
.fuss__agentur img { width: 112px; height: auto; opacity: .85; }
.fuss__agentur:hover img { opacity: 1; }
.fuss__marke { display: grid; gap: 16px; align-content: start; }
.fuss__marke p { color: var(--leise); max-width: 34ch; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--linie); color: var(--leise); font-size: 14px; }
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
@media (max-width: 639px) {
  .fuss { padding-top: 40px; }
  .fuss__raster { gap: 24px; }
  .fuss__marke { gap: 10px; }
  .fuss h2 { margin-bottom: 8px; }
  .fuss__leistungen ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .fuss__raster > div:nth-child(3) ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .fuss__unten { margin-top: 28px; padding-top: 16px; }
}
@media (min-width: 640px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fuss__raster { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }

/* WhatsApp schwebend */
.whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; background: #25d366; color: #0b0b0c; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: background-color .2s, opacity .25s, transform .25s, visibility .25s; }
.whatsapp:hover { background: #1fb457; }
.whatsapp--weg { opacity: 0; visibility: hidden; transform: translateY(12px); }
.whatsapp svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 639px) { .whatsapp { display: none; } }

/* Unterseiten: Seitenkopf mit Brotkrumen */
.kopf__menue a[aria-current="page"], .kopf__leistungen--aktiv { color: var(--rot-text); }
.seitenkopf { padding: calc(var(--kopfhoehe) + clamp(32px, 5vw, 72px)) 0 clamp(56px, 6vw, 96px); }
.seitenkopf--schlicht { padding-bottom: clamp(32px, 4vw, 56px); }
.seitenkopf__innen { display: grid; gap: 40px; align-items: center; }
.seitenkopf__text { display: grid; gap: 24px; justify-items: start; }
.seitenkopf h1 { font-size: clamp(36px, 4.2vw, 62px); max-width: 18ch; }
.seitenkopf__intro { color: var(--text-auf-bild); font-size: clamp(18px, 1.4vw, 20px); max-width: 56ch; }
.seitenkopf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--flaeche); }
@media (max-width: 639px) { .seitenkopf .knopfreihe { width: 100%; } }
@media (min-width: 1000px) { .seitenkopf__innen { grid-template-columns: 6fr 5fr; gap: clamp(48px, 6vw, 96px); } }
.krume ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--leise); }
.krume li + li::before { content: "/"; margin-right: 10px; color: var(--linie-stark); }
.krume a { text-decoration: none; }
.krume a:hover { color: var(--rot-text); }
.krume [aria-current] { color: var(--text); }

/* Leistungsseiten */
.teile { display: grid; gap: 32px 40px; }
.teil { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--linie-stark); }
.teil p { color: var(--leise); }
.symbol { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.symbol svg { width: 38px; height: 38px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.symbol .r { stroke: var(--rot-text); stroke-width: 2.2; }
.symbol .rp { fill: var(--rot-text); stroke: none; }
@media (max-width: 699px) {
  .teile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .teil { gap: 6px; padding-top: 14px; }
  .teil h3 { font-size: 17px; line-height: 1.25; hyphens: manual; }
  .teil p { font-size: 15px; line-height: 1.45; hyphens: auto; }
  .symbol { width: 48px; height: 48px; margin-bottom: 4px; }
  .symbol svg { width: 30px; height: 30px; }
}
@media (min-width: 700px) { .teile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .teile { grid-template-columns: repeat(3, minmax(0, 1fr)); } .teile--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.arbeitsweise { display: grid; gap: 48px; align-items: center; }
.arbeitsweise__text { display: grid; gap: 24px; justify-items: start; }
.arbeitsweise--ohne .arbeitsweise__text { max-width: 760px; }
.abschnitt:has(> .arbeitsweise--ohne) { padding-block: clamp(48px, 6vw, 88px); }
.fliesstext { display: grid; gap: 16px; color: var(--leise); font-size: clamp(17px, 1.3vw, 19px); max-width: 62ch; }
.arbeitsweise .zitat { width: 100%; }
@media (min-width: 1000px) {
  .arbeitsweise { grid-template-columns: 6fr 5fr; gap: clamp(48px, 7vw, 112px); }
  .arbeitsweise--ohne { grid-template-columns: minmax(0, 1fr); }
  .arbeitsweise--ohne .arbeitsweise__text { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 6vw, 96px); align-items: start; }
  .arbeitsweise--ohne .arbeitsweise__text > h2 { grid-row: 1 / span 3; }
  .arbeitsweise--ohne .arbeitsweise__text > :not(h2) { grid-column: 2; }
}
.referenzkarte { display: grid; background: var(--grund); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.referenzkarte__bild { overflow: hidden; }
.referenzkarte__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.referenzkarte__text { display: grid; gap: 8px; padding: 24px; }
.referenzkarte__text small { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.referenzkarte__text p { color: var(--leise); font-size: 16px; }
.referenzkarte .pfeil { margin-top: 6px; }
.referenzkarte:hover h3, .referenzkarte:hover .pfeil { color: var(--rot-text); }
.referenzkarte:hover .pfeil svg { transform: translateX(4px); }
.referenzkarte:hover img { transform: scale(1.03); }
.abschnitt--kurz { padding-block: clamp(56px, 6vw, 88px); }
@media (max-width: 639px) { :root { --abstand: 64px; } .abschnitt--kurz { padding-block: 48px; } .schluss { padding-block: 72px; } }
.weitere { display: grid; gap: 24px; }
.weitere h2 { font-size: clamp(24px, 2.2vw, 32px); }
.weitere__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.weitere__liste li { display: grid; min-width: 0; }
.weitere__karte { display: grid; grid-template-rows: auto 1fr; gap: 0; background: var(--flaeche); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: background-color .2s; }
.weitere__bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.weitere__bild { overflow: hidden; }
.weitere__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; font-weight: 700; font-size: 15px; line-height: 1.3; hyphens: manual; overflow-wrap: anywhere; }
.weitere__name svg { width: 16px; height: 16px; flex: none; color: var(--leise); transition: transform .2s, color .2s; }
.weitere__karte:hover { background: var(--flaeche-hell); }
.weitere__karte:hover .weitere__name { color: var(--rot-text); }
.weitere__karte:hover svg { color: var(--rot-text); transform: translateX(3px); }
.weitere__karte:hover img { transform: scale(1.04); }
@media (max-width: 639px) { .weitere__name { padding: 12px; font-size: 14px; } .weitere__name svg { display: none; } }
@media (min-width: 640px) { .weitere__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .weitere__liste { gap: 20px; } .weitere__name { padding: 18px 20px; font-size: 17px; } }

/* Referenzen: ein Projekt je Abschnitt */
.fall { display: grid; gap: 40px; align-items: center; }
.fall__bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fall__schritt { display: grid; gap: 8px; }
.fall__schritt--fertig { grid-column: 1 / -1; order: -1; }
.fall__schritt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--flaeche); }
.fall__schritt--fertig img { aspect-ratio: 3 / 2; }
.fall__schritt figcaption { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--leise); }
.fall__schritt figcaption span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--linie-stark); font-size: 12px; font-weight: 700; color: var(--text); }
.fall__schritt--fertig figcaption span { background: var(--rot); border-color: var(--rot); color: #fff; }
.fall__text { display: grid; gap: 20px; justify-items: start; }
.fall__text > p:not(.fall__nr) { color: var(--leise); }
.fall__nr { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.fall__links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 4px; }
@media (min-width: 1000px) { .fall { grid-template-columns: 7fr 5fr; gap: clamp(48px, 6vw, 96px); } }

/* Über uns */
.portraet { max-width: 460px; width: 100%; justify-self: center; }
.portraet img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); background: var(--flaeche); }
.eckdaten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; padding-top: 8px; }
.eckdaten li { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--linie-stark); }
.eckdaten b { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; letter-spacing: -0.01em; }
.eckdaten span { color: var(--leise); font-size: 15px; }
@media (min-width: 760px) { .eckdaten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .arbeitsweise:not(.arbeitsweise--ohne) .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Kontaktseite mit Formular */
.kontaktseite { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.formular { display: grid; gap: 20px; padding: clamp(24px, 3vw, 44px); background: var(--flaeche); border-radius: var(--radius); }
.formular__titel { font-size: clamp(26px, 2.4vw, 34px); }
.formular__hinweis, .formular__datenschutz { color: var(--leise); font-size: 15px; }
.formular__datenschutz a { color: var(--text); }
.formular__raster { display: grid; gap: 18px 20px; }
.feld { display: grid; gap: 8px; }
.feld label { font-weight: 700; font-size: 16px; }
.feld__pflicht { color: var(--rot-text); }
.feld__optional { color: var(--leise); font-weight: 400; }
.feld input, .feld textarea { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--grund); color: var(--text); border: 1px solid var(--linie-stark); border-radius: var(--radius); font: inherit; font-size: 17px; }
.feld textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.feld textarea::placeholder { color: #8a867f; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.feld input:user-invalid, .feld textarea:user-invalid { border-color: var(--rot-text); }
.feld--honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf { justify-self: start; }
@media (min-width: 640px) { .formular__raster { grid-template-columns: 1fr 1fr; } .feld--breit { grid-column: 1 / -1; } }
@media (max-width: 639px) { .formular .knopf { justify-self: stretch; } }
.kontaktseite__seite { display: grid; gap: 24px; }
.kontaktwege--seite .kontaktweg { background: var(--grund); }
.kontaktwege--seite .kontaktweg:hover { background: var(--flaeche); }
.kontaktseite__kasten { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--linie); border-radius: var(--radius); }
.kontaktseite__kasten h2 { font-size: 20px; }
.kontaktseite__kasten .punkte { font-size: 16px; }
.kontaktseite__tipp { padding: 20px 24px; border-left: 2px solid #25d366; background: var(--flaeche); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-auf-bild); }
.kontaktseite__adresse { display: grid; gap: 6px; font-style: normal; }
.kontaktseite__adresse a { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.kontaktseite__adresse small { color: var(--leise); text-decoration: underline; text-underline-offset: 3px; }
.kontaktseite__adresse a:hover small { color: var(--text); }
@media (min-width: 1000px) { .kontaktseite { grid-template-columns: 7fr 5fr; gap: clamp(48px, 5vw, 80px); } }

/* Rechtstexte */
.rechtstext { display: grid; gap: 24px; padding-top: calc(var(--kopfhoehe) + clamp(32px, 5vw, 72px)); padding-bottom: var(--abstand); }
.rechtstext h1 { font-size: clamp(30px, 4.2vw, 62px); hyphens: auto; overflow-wrap: break-word; }
.rechtstext__inhalt { display: grid; gap: 16px; max-width: 75ch; color: var(--leise); }
.rechtstext__inhalt h2 { font-size: 24px; color: var(--text); margin-top: 16px; }
.rechtstext__inhalt h3 { font-size: 19px; color: var(--text); }
.platzhalter { padding: 24px; border: 1px dashed var(--linie-stark); border-radius: var(--radius); }

/* Fehlerseite */
.fehler { min-height: 70dvh; display: grid; gap: 24px; align-content: center; padding-top: calc(var(--kopfhoehe) + 48px); padding-bottom: var(--abstand); }
.fehler p { max-width: 56ch; }

/* Schmale Handys: Wortmarke stößt sonst an den Telefonknopf */
@media (max-width: 400px) {
  .kopf .marke { font-size: 17px; gap: 10px; }
  .kopf .marke img { width: 34px; }
}

/* eRecht24-Text: h4 und Absätze ohne Browserabstände, lange Adressen umbrechen */
.rechtstext__inhalt h3, .rechtstext__inhalt h4, .rechtstext__inhalt p { margin: 0; }
.rechtstext__inhalt h3 { margin-top: 8px; }
.rechtstext__inhalt h4 { font-size: 16px; color: var(--text); margin-top: 4px; }
.rechtstext__inhalt a { color: var(--text); overflow-wrap: anywhere; }
