/* Nazif Oberflächentechnik – Startseite, Entwurf 1 (16.11.2026)
   Farben: Nazif-Blau + Beton-Grau. Schrift: Barlow / Barlow Condensed, lokal eingebunden. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --blau: #00628B;          /* Nazif-Blau aus dem Logo */
  --blau-tief: #004A69;     /* Hover, aktive Zustände */
  --beton: #D9E2E8;         /* Tags, Bildflächen (kühles Grau mit Blau-Stich) */
  --beton-hell: #EEF3F6;    /* helle Flächen */
  --beton-linie: #C3CED6;   /* Trennlinien */
  --text: #22272A;          /* Anthrazit */
  --text-leise: #5A6064;
  --weiss: #FFFFFF;

  --f-text: "Barlow", system-ui, sans-serif;
  --f-kopf: "Barlow Condensed", "Arial Narrow", sans-serif;

  --wrap: 1360px;
  --rand: clamp(20px, 4vw, 56px);
  --abstand: clamp(48px, min(9vw, 11vh), 136px);
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-text); font-size: 1.125rem; line-height: 1.55; color: var(--text); background: var(--weiss); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--weiss); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--rand); }
.section { padding: var(--abstand) 0; }

.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2, .ref-title, .contact-panel h2 {
  font-family: var(--f-kopf); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -0.005em;
}
.section-head p { color: var(--text-leise); max-width: 34ch; }
/* Überschrift „Was ist Ihre Herausforderung?“ immer einzeilig */
#probleme-titel { grid-column: 1 / -1; white-space: nowrap; font-size: min(clamp(2.4rem, 4.6vw, 4.25rem), 7.4vw); }
#probleme .section-head p { grid-column: 1 / -1; max-width: none; white-space: nowrap; }
@media (max-width: 420px) { #probleme .section-head p { white-space: normal; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  font: 600 1.05rem/1 var(--f-text); text-decoration: none; border: 2px solid transparent; border-radius: 0; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-small { min-height: 44px; padding: 0 18px; font-size: .98rem; }
.btn-blue { background: var(--blau); color: var(--weiss); }
.btn-blue:hover { background: var(--blau-tief); }
.btn-white { background: var(--weiss); color: var(--blau); }
.btn-white:hover { background: var(--beton-hell); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--weiss); }

/* ---------- Tags (pro Verfahren) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags > * { display: inline-block; padding: 4px 9px 5px; background: var(--beton); font-size: .82rem; font-weight: 500; line-height: 1.2; color: var(--text); }

/* =========================================================
   NAVIGATION (angeheftet, Menüs öffnen nur per Klick)
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--weiss); transition: background-color .2s, color .2s, box-shadow .2s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,0)); pointer-events: none; transition: opacity .2s; }
.site-header.is-solid { background: var(--weiss); color: var(--text); box-shadow: 0 1px 0 var(--beton-linie); }
.site-header.is-solid::before { opacity: 0; }
.header-bar { position: relative; max-width: 1600px; margin: 0 auto; height: var(--kopf-h); padding: 0 var(--rand); display: flex; align-items: center; gap: 32px; }

.brand { flex: 0 0 auto; display: block; width: 196px; }
.logo { width: 100%; height: auto; }
.logo-dunkel { display: none; }
.is-solid .logo-hell { display: none; }
.is-solid .logo-dunkel { display: block; }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-trigger, .nav-link {
  position: relative; display: inline-flex; align-items: center; height: var(--kopf-h); padding: 0 12px;
  font: 600 1rem/1 var(--f-text); color: inherit; background: none; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.nav-trigger::after { content: ""; width: 7px; height: 7px; margin-left: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.nav-trigger[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav-trigger[aria-expanded="true"]::before, .nav-link:hover::before, .nav-trigger:hover::before {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--blau);
}
.site-header:not(.is-solid) .nav-link:hover::before, .site-header:not(.is-solid) .nav-trigger:hover::before { background: var(--weiss); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Mailadresse: bei schmaler Desktop-Leiste ausblenden, im Mobilmenü wieder sichtbar */
@media (min-width: 1361px) and (max-width: 1599px) { .nav-mail { display: none; } }

/* Aufklapp-Fläche */
.nav-panel { position: absolute; left: 0; right: 0; top: var(--kopf-h); background: var(--weiss); color: var(--text); border-top: 1px solid var(--beton-linie); box-shadow: 0 24px 40px -24px rgba(0,0,0,.35); display: none; }
.nav-item.is-open .nav-panel { display: block; }
.nav-panel { background: var(--beton-hell); }
.panel-inner { position: relative; max-width: 1600px; margin: 0 auto; padding: 44px var(--rand) 56px; }
.panel-inner:has(.group-list) { min-height: 420px; }
.panel-title { display: inline-flex; align-items: center; gap: 14px; font: 600 2.2rem/1.05 var(--f-kopf); text-decoration: none; margin-bottom: 28px; }
.panel-title .arrow { width: 28px; height: 28px; }
a.panel-title:hover { color: var(--blau); }
.arrow { width: 22px; height: 22px; flex: 0 0 auto; }
.group-list, .panel-links { width: min(400px, 34%); }
.panel-links a { display: block; }
.group-btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.group-btn, .panel-links a { width: 100%; padding: 16px 0; background: none; border: 0; border-top: 1px solid var(--beton-linie); color: var(--text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.group-btn strong, .panel-links strong, .group-items strong { display: block; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.group-btn span span, .panel-links span, .group-items span { display: block; font-size: .96rem; color: var(--text-leise); margin-top: 3px; }
.group-btn:hover strong, .panel-links a:hover strong, .group-items a:hover strong { color: var(--blau); }
.group-btn[aria-expanded="true"] { color: var(--blau); }
.group-btn[aria-expanded="true"] strong { color: var(--blau); }
.group-btn[aria-expanded="true"] .arrow { color: var(--blau); }
.group-items { display: none; position: absolute; top: 44px; left: calc(var(--rand) + min(400px, 34%) + 64px); right: var(--rand); padding-left: 64px; border-left: 1px solid var(--beton-linie); }
.group-btn[aria-expanded="true"] + .group-items { display: block; }
.group-items a { display: block; padding: 14px 0; border-top: 1px solid var(--beton-linie); text-decoration: none; max-width: 520px; }
.group-items li:first-child a { border-top: 0; padding-top: 4px; }

.menu-toggle { display: none; }

/* =========================================================
   STARTBEREICH
   ========================================================= */
.hero { position: relative; min-height: max(620px, 100svh); color: var(--weiss); overflow: hidden; background: #6f7377; }
.hero-media, .hero-media picture, .hero-still, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-still, .hero-video { object-fit: cover; }
.hero-video { opacity: 0; transition: opacity .6s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.5)); pointer-events: none; }

.hero-content { position: absolute; left: var(--rand); right: calc(var(--rand) + 388px); bottom: clamp(48px, 9vh, 104px); }
.hero-title { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--f-kopf); font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.hero-title span { display: inline-block; background: var(--weiss); color: var(--text); padding: .1em .22em .14em; }
.hero-title span:first-child { font-size: clamp(2.6rem, 5.4vw, 5.4rem); }
.hero-title span:last-child { font-size: clamp(1.35rem, 2.7vw, 2.5rem); font-weight: 500; margin-left: clamp(0px, 2.2vw, 40px); background: var(--blau); color: var(--weiss); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.5vh, 40px); }

.hero-teasers { position: absolute; right: var(--rand); bottom: clamp(48px, 9vh, 104px); width: 340px; }
.teaser { display: flex; align-items: center; gap: 16px; padding: 16px 0; text-decoration: none; border-top: 1px solid rgba(255,255,255,.55); }
.teaser:last-child { border-bottom: 1px solid rgba(255,255,255,.55); }
.teaser img { width: 60px; height: 60px; object-fit: cover; flex: 0 0 auto; }
.teaser strong { display: block; font-size: 1.1rem; font-weight: 600; line-height: 1.2; }
.teaser span span { display: block; font-size: .92rem; opacity: .9; }
.teaser:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.video-toggle { position: absolute; right: 0; top: calc(var(--kopf-h) + 24px); display: inline-flex; align-items: center; gap: 12px; padding: 0 0 0 16px; height: 48px; background: none; border: 0; color: var(--weiss); font: 600 .95rem var(--f-text); cursor: pointer; }
.video-toggle-icon { width: 48px; height: 48px; background: var(--blau); position: relative; }
.video-toggle-icon::before, .video-toggle-icon::after { content: ""; position: absolute; top: 16px; width: 4px; height: 16px; background: var(--weiss); }
.video-toggle-icon::before { left: 18px; } .video-toggle-icon::after { left: 26px; }
.video-toggle[aria-pressed="true"] .video-toggle-icon::before { left: 19px; width: 0; height: 0; background: none; border-left: 13px solid var(--weiss); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.video-toggle[aria-pressed="true"] .video-toggle-icon::after { display: none; }

/* =========================================================
   EINSTIEG + KENNZAHLEN
   ========================================================= */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 80px; align-items: end; }
.intro-lead { font: 500 clamp(1.7rem, 2.9vw, 2.6rem)/1.15 var(--f-kopf); max-width: 26ch; }
.intro-area { margin-top: 24px; color: var(--text-leise); max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.facts div { padding: 18px 0 20px; border-bottom: 1px solid var(--beton-linie); }
.facts div:nth-child(odd) { padding-right: 20px; }
.facts dd { font: 600 clamp(2rem, 3.2vw, 2.9rem)/1 var(--f-kopf); color: var(--blau); margin-top: 6px; }
.facts dt { font-size: .98rem; color: var(--text-leise); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* =========================================================
   PROBLEME
   ========================================================= */
.problems { }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.4vw, 32px); }
.tile--a { grid-column: 1 / span 7; }
.tile--b { grid-column: 8 / span 5; }
.tile--c { grid-column: 1 / span 5; }
.tile--d { grid-column: 6 / span 7; }
.tile a { display: block; text-decoration: none; }
.tile figure { overflow: hidden; background: var(--beton); height: clamp(240px, 31vw, 460px); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile a:hover img { transform: scale(1.03); }
.tile h3 { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.08 var(--f-kopf); margin-top: 18px; max-width: 24ch; }
.tile a:hover h3 { color: var(--blau); }
.tile .where { color: var(--text-leise); font-size: 1rem; margin: 6px 0 12px; }

.more { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px 48px; }
.more-title { font: 600 1.6rem/1.1 var(--f-kopf); padding-top: 14px; }
.more-list { columns: 2; column-gap: 48px; border-top: 2px solid var(--text); }
.more-list li { break-inside: avoid; }
.more-list a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 0 16px; border-bottom: 1px solid var(--beton-linie); text-decoration: none; }
.more-name { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.more-list a:hover .more-name { color: var(--blau); text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   VERFAHREN
   ========================================================= */
.methods { background: var(--beton-hell); }
.method-rows { border-top: 2px solid var(--text); }
.method { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 14rem; gap: 16px 48px; padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--beton-linie); align-items: start; }
.method h3 { font: 600 clamp(2rem, 3.6vw, 3.3rem)/1 var(--f-kopf); }
.method-body p { max-width: 54ch; }
.machines { margin-top: 14px; font-weight: 500; display: flex; align-items: baseline; gap: 12px; }
.machines .num { font: 600 2rem/1 var(--f-kopf); color: var(--blau); }
.method-link { justify-self: end; white-space: nowrap; font-weight: 600; color: var(--blau); text-underline-offset: 4px; padding-top: 6px; }
.method-link:hover { color: var(--blau-tief); }

/* =========================================================
   REFERENZ
   ========================================================= */
.crumb { font-size: 1rem; color: var(--text-leise); margin-bottom: 14px; }
.ref-title { margin-bottom: clamp(32px, 4vw, 52px); }
.ref-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 32px 64px; margin-bottom: 40px; }
.empty-photo { aspect-ratio: 16 / 9; width: 100%; background:
  repeating-linear-gradient(135deg, transparent 0 22px, rgba(0,0,0,.035) 22px 23px), var(--beton-hell); }
.ref-meta div { padding: 16px 0 17px; border-top: 1px solid var(--beton-linie); }
.ref-meta dt { font-weight: 600; font-size: 1rem; }
.ref-meta dd { font-size: 1rem; margin-top: 3px; }
.ref-meta .tags { margin-top: 6px; }

/* =========================================================
   TERAVO
   ========================================================= */
.partner { border-top: 1px solid var(--beton-linie); border-bottom: 1px solid var(--beton-linie); }
.partner-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 26px; padding-bottom: 26px; }
.partner p { font-size: 1.1rem; }
.partner-link { font-weight: 600; color: var(--blau); text-underline-offset: 4px; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { padding: clamp(32px, 6vh, 96px) var(--rand); }
.contact-grid { max-width: calc(var(--wrap) - 2 * 56px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; min-height: min(640px, calc(100svh - var(--kopf-h) - 48px)); }
.contact-img { position: relative; background: var(--beton); }
.contact-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-panel { background: var(--blau); color: var(--weiss); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.contact-panel h2 { max-width: 13ch; }
.contact-text { max-width: 52ch; }
.contact-company { font-weight: 600; margin-top: 32px; }
.contact-lines { margin: 10px 0 28px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; padding: 3px 0; text-decoration: none; font-size: 1.1rem; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-lines svg { width: 18px; height: 18px; fill: currentColor; }
.contact-lines svg path[fill="none"] { fill: none; }

/* =========================================================
   FUSSZEILE
   ========================================================= */
.site-footer { background: var(--blau); color: var(--weiss); }
.site-footer a { color: var(--weiss); }
.site-footer :focus-visible { outline-color: var(--weiss); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(48px, 5vw, 72px) 0 clamp(40px, 4.5vw, 64px); }
.footer-logo { width: clamp(200px, 19vw, 270px); height: auto; }
.social-list { display: flex; gap: 8px; margin-right: -10px; }
.social-list a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; opacity: 1; transition: opacity .15s; }
.social-list a:hover { opacity: .75; }
.social-list svg { width: 28px; height: 28px; fill: currentColor; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); padding-bottom: clamp(56px, 6vw, 88px); }
.footer-company { padding-right: 40px; }
.footer-name { font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin-bottom: 18px; }
.footer-address, .footer-reach { font-size: 1.08rem; line-height: 1.6; }
.footer-address { margin-bottom: 22px; }
.footer-reach a { text-decoration: none; }
.footer-reach a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col { border-left: 1px solid rgba(255,255,255,.35); padding: 16px 0 8px 40px; }
.footer-col h2 { font: 600 1.08rem/1.3 var(--f-text); margin-bottom: 14px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; font-size: 1.05rem; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 0 0 36px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1rem; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 600 1rem var(--f-text); cursor: pointer; }
.footer-link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1360px) {
  :root { --kopf-h: 68px; }
  .brand { width: 168px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; height: 44px; padding: 0 0 0 12px; background: none; border: 0; color: inherit; font: 600 1rem var(--f-text); cursor: pointer; }
  .menu-toggle-icon { position: relative; width: 26px; height: 14px; }
  .menu-toggle-icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
  .menu-toggle-icon i:first-child { top: 0; } .menu-toggle-icon i:last-child { top: 12px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child { top: 6px; transform: rotate(-45deg); }

  .main-nav { position: fixed; inset: var(--kopf-h) 0 0 0; background: var(--weiss); color: var(--text); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px var(--rand) 40px; overflow-y: auto; display: none; border-top: 1px solid var(--beton-linie); }
  .site-header.menu-open .main-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--beton-linie); }
  .nav-trigger, .nav-link { width: 100%; height: auto; padding: 18px 0; justify-content: space-between; font: 600 1.6rem/1.1 var(--f-kopf); }
  .nav-trigger::before, .nav-link::before { display: none; }
  .nav-trigger[aria-expanded="true"]::before, .nav-link:hover::before, .nav-trigger:hover::before { display: none; }
  .nav-panel { position: static; box-shadow: none; border-top: 0; }
  .nav-panel { background: transparent; }
  .panel-inner { min-height: 0; padding: 0 0 16px; }
  .panel-title { display: none; }
  .group-list, .panel-links { width: 100%; }
  .group-btn, .panel-links a { padding: 12px 0; }
  .group-btn .arrow { transform: rotate(90deg); transition: transform .15s; }
  .group-btn[aria-expanded="true"] .arrow { transform: rotate(-90deg); }
  .group-items { position: static; padding: 0 0 8px 16px; border-left: 2px solid var(--blau); margin-bottom: 8px; }
  .group-items a { padding: 10px 0; border-top: 0; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
  .nav-phone { font-size: 1.3rem; }
  .nav-actions .btn { min-height: 52px; }
}

@media (max-width: 960px) {
  .section-head, .intro-grid, .more, .ref-grid { grid-template-columns: 1fr; }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: 1 / -1; }
  .tile figure { height: auto; aspect-ratio: 3 / 2; }
  .method { grid-template-columns: 1fr; }
  .method-link { justify-self: start; }
  .contact-grid { grid-template-columns: 1fr; min-height: 0; }
  .contact-img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-company { grid-column: 1 / -1; padding-right: 0; }
  .footer-col { padding-left: 24px; }
  .hero-teasers { display: none; }
  .hero-content { right: var(--rand); }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .hero { min-height: max(560px, 92svh); }
  .hero-content { bottom: 32px; }
  .hero-title span:last-child { margin-left: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .more-list { columns: 1; }
  .contact { padding-left: 0; padding-right: 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .social-list { margin-left: -10px; margin-right: 0; }
  .video-toggle { top: calc(var(--kopf-h) + 12px); }
  .video-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .video-toggle-icon { width: 40px; height: 40px; }
  .video-toggle.needs-tap { top: auto; bottom: 50%; right: 50%; transform: translate(50%, 50%); padding: 0 0 0 14px; background: var(--blau); }
  .video-toggle.needs-tap .video-toggle-text { position: static; width: auto; height: auto; clip: auto; }
  .video-toggle-icon::before, .video-toggle-icon::after { top: 12px; }
  .video-toggle-icon::before { left: 14px; } .video-toggle-icon::after { left: 22px; }
  .video-toggle[aria-pressed="true"] .video-toggle-icon::before { left: 15px; }
}

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



/* ---------- Leistungsgruppen unter den Kacheln ---------- */
.more-groups { margin-top: clamp(56px, 7vw, 96px); }
.more-groups .more-title { padding-top: 0; margin-bottom: 18px; }
.group-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.group-row a { display: block; height: 100%; padding: 20px 24px 22px 0; border-bottom: 1px solid var(--beton-linie); text-decoration: none; }
.group-row li + li a { padding-left: 24px; border-left: 1px solid var(--beton-linie); }
.group-row strong { display: block; font: 600 1.35rem/1.1 var(--f-kopf); }
.group-row span { display: block; margin-top: 6px; font-size: .95rem; color: var(--text-leise); }
.group-row a:hover strong { color: var(--blau); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-weight: 600; color: var(--blau); text-underline-offset: 4px; }

/* ---------- Referenzen ---------- */
.refs-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 40px); margin-bottom: 40px; }
.ref-feature a { display: block; text-decoration: none; }
.ref-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--beton); }
.ref-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ref-feature a:hover img { transform: scale(1.03); }
.ref-body { padding-top: 20px; }
.ref-area { font-weight: 600; color: var(--text-leise); }
.ref-area > span { font: 600 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--f-kopf); color: var(--blau); margin-right: 4px; }
.ref-feature h3 { font: 600 clamp(1.6rem, 2.3vw, 2.1rem)/1.08 var(--f-kopf); margin: 10px 0 10px; }
.ref-feature a:hover h3 { color: var(--blau); }
.ref-feature .ref-body > p:not(.ref-area) { color: var(--text-leise); max-width: 56ch; margin-bottom: 14px; }
.ref-list { border-top: 2px solid var(--text); }
.ref-list a { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--beton-linie); text-decoration: none; }
.ref-list img { width: 136px; height: 102px; object-fit: cover; background: var(--beton); }
.ref-list-body { display: flex; flex-direction: column; gap: 6px; }
.ref-list .ref-area > span { font-size: 1.8rem; }
.ref-list strong { font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.ref-list a:hover strong { color: var(--blau); }

/* ---------- Kontaktfoto mit Bildunterschrift ---------- */
.contact-img figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 16px; background: var(--weiss); font-weight: 600; font-size: .98rem; }
.contact-img img { object-position: center 20%; }

/* ---------- Fußzeile: Partnerhinweis ---------- */
.footer-partner { margin-left: auto; font-size: .98rem; }
.footer-partner a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .group-row { grid-template-columns: 1fr 1fr; }
  .group-row li:nth-child(3) a { padding-left: 0; border-left: 0; }
  .refs-grid { grid-template-columns: 1fr; }
  .footer-partner { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .group-row { grid-template-columns: 1fr; }
  .group-row li + li a { padding-left: 0; border-left: 0; }
  .ref-list a { grid-template-columns: 104px minmax(0, 1fr); }
  .ref-list img { width: 104px; height: 78px; }
}

/* =========================================================
   PROJEKT-CHECK (Startseiten-Hinweis + eigene Seite)
   ========================================================= */
.check-teaser { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(28px, 3.5vw, 44px); border: 2px solid var(--blau); }
.check-teaser h3 { font: 600 clamp(1.6rem, 2.4vw, 2.2rem)/1.05 var(--f-kopf); margin-bottom: 8px; }
.check-teaser p { max-width: 58ch; color: var(--text-leise); }

.check-page { padding: calc(var(--kopf-h) + clamp(40px, 6vw, 80px)) 0 var(--abstand); }
.check-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.check-form, .check-done { grid-column: 1; }
.check-summary { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--kopf-h) + 24px); background: var(--beton-hell); padding: 28px; }
.check-progress { height: 4px; background: var(--beton-hell); margin-bottom: 32px; }
.check-progress span { display: block; height: 100%; width: 0; background: var(--blau); transition: width .3s ease; }
.check-count { font-weight: 600; color: var(--blau); margin-bottom: 10px; }
.check-q { font: 600 clamp(2.1rem, 4vw, 3.6rem)/1.02 var(--f-kopf); max-width: 22ch; outline: none; }
.check-intro { color: var(--text-leise); max-width: 60ch; margin: 16px 0 32px; text-wrap: pretty; }
.check-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-options--compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.check-option { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "mark label" "mark sub"; align-items: baseline; align-content: start; column-gap: 14px; row-gap: 2px; min-height: 76px; padding: 18px 20px; text-align: left; background: var(--weiss); border: 1px solid var(--beton-linie); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.check-option:hover { border-color: var(--blau); }
.check-option[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.opt-mark { grid-area: mark; font: 600 1.3rem/1 var(--f-kopf); color: var(--blau); min-width: 1.6em; }
.check-option[aria-pressed="true"] .opt-mark { color: var(--weiss); }
.opt-label { grid-area: label; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.opt-sub { grid-area: sub; font-size: .95rem; color: var(--text-leise); line-height: 1.35; }
.check-option[aria-pressed="true"] .opt-sub { color: rgba(255,255,255,.88); }
.check-options--compact .check-option { min-height: 64px; grid-template-areas: "label label"; }
.check-error, .field-error { color: #A4161A; font-weight: 600; font-size: .98rem; margin-top: 12px; }
.check-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.check-controls [data-back] { margin-right: auto; }
.check-controls .btn[hidden] { display: none; }

.check-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field-label, .field legend { font-weight: 600; font-size: 1rem; }
.req { color: var(--blau); }
.opt { font-weight: 400; color: var(--text-leise); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--text); background: var(--weiss); border: 1px solid #8E9296; border-radius: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blau); outline-offset: 0; border-color: var(--blau); }
.field [aria-invalid="true"] { border-color: #A4161A; border-width: 2px; }
.field-error { margin-top: 0; }
.contact-way { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
.contact-way legend { margin-bottom: 8px; width: 100%; }
.radio { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--blau); }
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px; border: 1px dashed #8E9296; cursor: pointer; }
.upload:hover { border-color: var(--blau); }
.upload:focus-within { outline: 3px solid var(--blau); outline-offset: 2px; }
.upload-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--beton-hell); font-weight: 600; }
.upload-hint { font-size: .95rem; color: var(--text-leise); flex: 1 1 260px; }
.file-list { margin-top: 8px; font-size: .95rem; }
.file-list li { padding: 4px 0; }
.file-problem { color: #A4161A; font-weight: 600; }
.check-privacy { margin-top: 24px; font-size: .95rem; color: var(--text-leise); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.check-summary h2 { font: 600 1.6rem/1.1 var(--f-kopf); margin-bottom: 16px; }
.summary-empty { color: var(--text-leise); font-size: .98rem; }
.check-summary dl div { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--beton-linie); }
.check-summary dt { font-weight: 600; font-size: .95rem; }
.check-summary dd { grid-column: 1; font-size: .98rem; margin-top: 2px; overflow-wrap: anywhere; }
.summary-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--blau); font: 600 .95rem var(--f-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.check-done { padding-top: 8px; outline: none; }
.check-summary.is-done .summary-edit { display: none; }
.check-done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.draft-note { margin-top: 8px; font-weight: 600; position: relative; display: inline-block; }

@media (max-width: 60em) {
  .check-wrap { grid-template-columns: 1fr; }
  .check-summary { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 40em) {
  .check-options { grid-template-columns: 1fr; }
  .check-fields { grid-template-columns: 1fr; }
  .check-controls .btn { flex: 1 1 auto; }
}


/* =========================================================
   RATGEBER
   ========================================================= */
.guide { background: var(--beton-hell); }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-bottom: 40px; }
.guide-card { display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 2.6vw, 36px); background: var(--weiss); text-decoration: none; border-top: 3px solid var(--blau); transition: box-shadow .2s; }
.guide-card:hover { box-shadow: 0 12px 30px -18px rgba(0,0,0,.35); }
.guide-card:hover h3 { color: var(--blau); }
.guide-cat { display: block; font-weight: 600; font-size: .95rem; color: var(--blau); margin-bottom: 12px; }
.guide-card h3 { font: 600 clamp(1.45rem, 2vw, 1.85rem)/1.08 var(--f-kopf); margin-bottom: 14px; }
.guide-card p { color: var(--text-leise); }

.guide--compact { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--beton-linie); }
.guide-compact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
.guide-compact-head h2 { font: 600 clamp(2rem, 3.4vw, 3rem)/1 var(--f-kopf); margin-bottom: 12px; }
.guide-compact-head p { color: var(--text-leise); max-width: 34ch; margin-bottom: 18px; }
.guide-mini { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--text); position: relative; }
.guide-mini a { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--beton-linie); text-decoration: none; }
.guide-mini .guide-cat { margin: 0; }
.guide-mini-title { font-weight: 600; font-size: 1.08rem; }
.guide-mini a:hover .guide-mini-title { color: var(--blau); }
@media (max-width: 60em) {
  .guide-compact { grid-template-columns: 1fr; }
  .guide-mini a { grid-template-columns: 1fr; row-gap: 4px; }
}
.faq-home { padding: clamp(48px, 6vw, 80px) 0; }
.split-compact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
.split-compact-head h2 { font: 600 clamp(2rem, 3.4vw, 3rem)/1 var(--f-kopf); margin-bottom: 12px; }
.split-compact-head p { color: var(--text-leise); max-width: 34ch; }
.faq-home .faq { max-width: none; position: relative; }
.faq details p a { color: var(--blau); }
@media (max-width: 60em) { .split-compact { grid-template-columns: 1fr; } }
.guide-page { padding-top: var(--kopf-h); }
.guide-intro { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); }
.guide-intro h1 { font: 600 clamp(3rem, 7vw, 6rem)/.95 var(--f-kopf); margin-bottom: 20px; }
.guide-lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--text-leise); max-width: 52ch; position: relative; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.guide-list-section { padding-bottom: var(--abstand); }
.guide-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn { min-height: 44px; padding: 0 16px; background: var(--weiss); border: 1px solid var(--beton-linie); color: var(--text); font: 600 .98rem var(--f-text); cursor: pointer; }
.filter-btn:hover { border-color: var(--blau); }
.filter-btn[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.guide-list { border-top: 2px solid var(--text); position: relative; }
.guide-row a { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--beton-linie); text-decoration: none; }
.guide-row .guide-cat { grid-row: 1 / span 2; margin: 6px 0 0; }
.guide-row h2 { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--f-kopf); }
.guide-row p { color: var(--text-leise); margin-top: 6px; max-width: 70ch; }
.guide-row a:hover h2 { color: var(--blau); }
.guide-empty { padding: 24px 0; color: var(--text-leise); }
.guide-downloads { background: var(--beton-hell); padding: var(--abstand) 0; }
.download-list { border-top: 2px solid var(--text); position: relative; }
.download-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--beton-linie); text-decoration: none; }
.download-list strong { font-size: 1.15rem; font-weight: 600; }
.download-list span { grid-column: 1; color: var(--text-leise); margin-top: 4px; }
.download-list em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 600; color: var(--blau); padding: 6px 10px; border: 1px solid var(--blau); }
.download-list a:hover strong { color: var(--blau); }
.guide-cta { padding-top: var(--abstand); padding-bottom: var(--abstand); }
.guide-cta .check-teaser { margin-top: 0; }
@media (max-width: 60em) {
  .guide-cards { grid-template-columns: 1fr; }
  .guide-row a { grid-template-columns: 1fr; }
  .guide-row .guide-cat { grid-row: auto; margin: 0 0 8px; }
}

/* =========================================================
   UNTERSEITEN (Leistungen, Leistungsseite, Rechtliches)
   ========================================================= */
.sub-page { padding: var(--kopf-h) 0 var(--abstand); }
.breadcrumb { padding: 28px 0 0; font-size: .95rem; color: var(--text-leise); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: var(--beton-linie); }
.breadcrumb a { color: var(--text-leise); text-decoration: none; }
.breadcrumb a:hover { color: var(--blau); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text); }
.sub-intro { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.sub-page h1 { font: 600 clamp(2.8rem, 6.4vw, 5.6rem)/.95 var(--f-kopf); margin-bottom: 20px; overflow-wrap: anywhere; hyphens: auto; }
.sub-lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--text-leise); max-width: 56ch; position: relative; }

.svc-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 48px; padding: clamp(32px, 4vw, 48px) 0; border-top: 2px solid var(--text); }
.svc-group-head h2 { font: 600 clamp(1.7rem, 2.6vw, 2.3rem)/1.05 var(--f-kopf); margin-bottom: 8px; }
.svc-group-head p { color: var(--text-leise); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li + li { border-top: 1px solid var(--beton-linie); }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 4px; padding: 18px 0; text-decoration: none; }
.svc-name { font-size: 1.2rem; font-weight: 600; }
.svc-where { grid-column: 1; color: var(--text-leise); }
.svc-list .tags { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-content: flex-end; }
.svc-list a:hover .svc-name { color: var(--blau); }
.svc-list a[href^="parkhaus"] .svc-name::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; background: var(--blau); vertical-align: middle; }
.svc-list--compact { border-top: 2px solid var(--text); max-width: 760px; }
.sub-cta { margin-top: clamp(40px, 5vw, 64px); }
.sub-cta h3 { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--f-kopf); margin-bottom: 6px; }
.sub-cta p { color: var(--text-leise); max-width: 56ch; }

.service-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(32px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); }
.service-hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.7rem); }
.tags--lg { margin-top: 24px; list-style: none; }
.tags--lg > * { font-size: .95rem; padding: 6px 12px 7px; }
.service-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.service-hero-img { margin: 0; }
.service-hero-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.service-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--text); border-bottom: 1px solid var(--beton-linie); margin-bottom: clamp(24px, 3vw, 40px); }
.service-facts > div { padding: 20px 20px 22px 0; }
.service-facts > div + div { padding-left: 20px; border-left: 1px solid var(--beton-linie); }
.service-facts dt { font-size: .9rem; color: var(--text-leise); margin-bottom: 4px; }
.service-facts dd { font-weight: 600; font-size: 1.08rem; }
.todo-fact dd { color: var(--text-leise); font-style: italic; font-weight: 500; }
.service-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 48px; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--beton-linie); }
.service-block > h2, .service-ref > h2 { font: 600 clamp(1.7rem, 2.6vw, 2.3rem)/1.05 var(--f-kopf); }
.service-text { max-width: 68ch; }
.service-text > * + * { margin-top: 16px; }
.service-text a { color: var(--blau); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps > li { counter-increment: schritt; padding-top: 16px; border-top: 3px solid var(--blau); }
.steps > li::before { content: counter(schritt); display: block; font: 600 1.9rem/1 var(--f-kopf); color: var(--blau); margin-bottom: 10px; }
.steps h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.steps ul { list-style: none; padding: 0; color: var(--text-leise); }
.steps ul li { padding: 4px 0 4px 16px; position: relative; }
.steps ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 2px; background: var(--text-leise); }
.method-mini { list-style: none; padding: 0; border-top: 2px solid var(--text); }
.method-mini li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--beton-linie); align-items: baseline; }
.method-mini strong { font-weight: 600; }
.method-mini span { color: var(--text-leise); }
.method-mini em { font-style: normal; font-size: .92rem; font-weight: 600; color: var(--blau); text-align: right; }
.note { padding: 18px 20px; background: var(--beton-hell); border-left: 3px solid var(--blau); color: var(--text); }
.service-ref { position: relative; padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); margin: clamp(16px, 2vw, 24px) 0; background: var(--beton-hell); }
.service-ref > h2 { margin-bottom: 24px; }
.service-ref-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.service-ref-grid figure { margin: 0; }
.service-ref-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.service-ref-grid h3 { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--f-kopf); margin: 6px 0 16px; }
.ref-facts > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--beton-linie); }
.ref-facts dt { color: var(--text-leise); font-size: .95rem; }

.check-list { list-style: none; padding: 0; border-top: 2px solid var(--text); }
.check-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--beton-linie); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 12px; height: 6px; border-left: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: rotate(-45deg); }
.fact-cols { display: grid; gap: 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--beton-linie); margin-bottom: clamp(24px, 3vw, 40px); grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.fact-cols--3 { --n: 3; } .fact-cols--4 { --n: 4; }
.fact-cols > div { padding: 20px 20px 24px 0; }
.fact-cols > div + div { padding-left: 20px; border-left: 1px solid var(--beton-linie); }
.fact-cols h3 { font-size: .95rem; font-weight: 600; color: var(--text-leise); margin-bottom: 8px; }
.fact-cols ul { list-style: none; padding: 0; }
.fact-cols li { padding: 3px 0; font-weight: 600; }
.fact-cols p { font-weight: 600; }
.block-intro { color: var(--text-leise); max-width: 64ch; margin-bottom: 24px; }
.depth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.depth-grid h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; padding-top: 14px; border-top: 3px solid var(--blau); }
.depth-grid p { color: var(--text-leise); }
.faq { border-top: 2px solid var(--text); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--beton-linie); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--blau); }
.faq details p { padding: 0 0 20px; color: var(--text-leise); max-width: 64ch; }
.svc-static { display: grid; row-gap: 4px; padding: 18px 0; }
.vf-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; border-top: 2px solid var(--text); padding-top: 32px; }
.vf-list a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; text-decoration: none; align-items: start; }
.vf-list img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.vf-text { display: grid; gap: 6px; }
.vf-text .svc-name { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.05 var(--f-kopf); }
.vf-text .svc-where { color: var(--text-leise); }
.vf-mach { font-size: .92rem; font-weight: 600; color: var(--blau); }
.vf-list a:hover .svc-name { color: var(--blau); }
.methods-more { margin-top: 28px; }
@media (max-width: 60em) {
  .fact-cols { --n: 2 !important; }
  .fact-cols > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact-cols > div:nth-child(n+3) { border-top: 1px solid var(--beton-linie); }
  .depth-grid, .vf-list { grid-template-columns: 1fr; }
}
@media (max-width: 40em) {
  .fact-cols { --n: 1 !important; }
  .fact-cols > div, .fact-cols > div + div { padding: 14px 0; border-left: 0; }
  .fact-cols > div + div { border-top: 1px solid var(--beton-linie); }
  .vf-list a { grid-template-columns: 1fr; }
}

.legal-page .breadcrumb { margin-bottom: clamp(32px, 5vw, 64px); }
.legal-page h1 { margin-bottom: 56px; }
.legal { position: relative; max-width: 68ch; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal a { color: var(--blau); }
.legal-lead { color: var(--text-leise); font-size: 1.1rem; margin-bottom: 8px; }
.legal-list { padding-left: 1.2em; }
.legal-list li { padding: 4px 0; }

@media (max-width: 60em) {
  .svc-group, .service-block, .service-hero, .service-ref-grid { grid-template-columns: 1fr; }
  .service-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .service-facts > div:nth-child(n+3) { border-top: 1px solid var(--beton-linie); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 40em) {
  .svc-list a { grid-template-columns: 1fr; }
  .svc-list .tags { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 6px; }
  .method-mini li { grid-template-columns: 1fr; }
  .method-mini em { text-align: left; }
  .ref-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .service-facts { grid-template-columns: 1fr; }
  .service-facts > div, .service-facts > div + div { padding: 14px 0; border-left: 0; }
  .service-facts > div + div { border-top: 1px solid var(--beton-linie); }
}


/* =========================================================
   BILDSCHIRMHÖHE: Abschnitte passen in eine Bildschirmhöhe
   ========================================================= */
.section-head { margin-bottom: clamp(24px, min(5vw, 5vh), 64px); }
@media (min-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: auto; }
  .tile figure { height: clamp(180px, 30vh, 340px); }
  .tile h3 { font-size: clamp(1.3rem, 1.6vw, 1.7rem); }
  .ref-photo { aspect-ratio: auto; height: clamp(220px, 38vh, 440px); }
}
.contact-panel { padding: clamp(28px, min(4vw, 5vh), 56px); gap: clamp(20px, 4vh, 48px); }
.contact-panel h2 { font-size: clamp(2rem, min(3.6vw, 6vh), 3.6rem); }
.service-hero-img img { max-height: calc(100svh - var(--kopf-h) - 140px); }
.vf-list img { max-height: 34vh; }

/* =========================================================
   ENTWURFSHINWEISE (vor Livegang komplett entfernen)
   ========================================================= */
.ph { position: relative; }
.ph::after {
  content: attr(data-ph); position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px);
  padding: 5px 8px; background: #FFD84D; color: #2A2400; font: 600 .78rem/1.3 var(--f-text); pointer-events: none;
}
[data-hinweis] { outline: 2px dashed #E3B400; outline-offset: 6px; }
.intro-lead, .facts, .reference .wrap, .social-list, .hero-title, .check-form, .guide-cards, .service-facts, .todo-fact, .svc-group { position: relative; }
[data-hinweis]::before {
  content: attr(data-hinweis); position: absolute; z-index: 5; left: -6px; top: -32px; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis;
  padding: 3px 7px; background: #FFD84D; color: #2A2400; font: 600 .74rem/1.3 var(--f-text); letter-spacing: 0; pointer-events: none;
}
.hero-media[data-hinweis] { outline: none; }
.hero-media[data-hinweis]::before { left: auto; right: var(--rand); top: calc(var(--kopf-h) + 84px); }
.hero-title[data-hinweis] { outline-color: #FFD84D; }
.todo { color: var(--text-leise); font-style: italic; }
.draft-toggle {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; padding: 10px 14px; background: #FFD84D; color: #2A2400;
  border: 0; font: 600 .85rem var(--f-text); cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
@media (max-width: 640px) { .draft-toggle { left: auto; right: 12px; bottom: 12px; padding: 7px 10px; font-size: .75rem; } }
.menu-open ~ main ~ .draft-toggle, body:has(.menu-open) .draft-toggle { display: none; }
body.ohne-hinweise .ph::after, body.ohne-hinweise [data-hinweis]::before { display: none; }
body.ohne-hinweise [data-hinweis] { outline: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; background: var(--text); color: var(--weiss); font-size: .98rem; transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.legal [data-hinweis], .service-block[data-hinweis] { position: relative; }
.service-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: clamp(24px, 3vw, 40px) 0; }
.service-gallery figure { margin: 0; }
.service-gallery img { width: 100%; height: clamp(160px, 26vh, 300px); object-fit: cover; display: block; }
@media (max-width: 40em) { .service-gallery { grid-template-columns: 1fr; } }
.about-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.film { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(32px, 6vh, 72px) 0; border-top: 1px solid var(--beton-linie); }
.film-text h2 { font: 600 clamp(2rem, min(3.6vw, 6vh), 3.4rem)/1.02 var(--f-kopf); margin-bottom: 16px; }
.film-text > p { color: var(--text-leise); max-width: 48ch; margin-bottom: 20px; }
.film-video { margin: 0; position: relative; }
.film-video video { width: 100%; height: auto; max-height: calc(100svh - var(--kopf-h) - 80px); display: block; background: #000; }
.team-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team-list figure { margin: 0 0 12px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--beton); display: grid; place-items: center; }
.team-list img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.team-ph span { font: 600 2.4rem/1 var(--f-kopf); color: var(--text-leise); }
.team-role { font-size: .9rem; font-weight: 600; color: var(--blau); margin-bottom: 4px; }
.team-list h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.team-list li > p:last-child { color: var(--text-leise); font-size: .98rem; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--blau); position: relative; }
.timeline li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 0 0 24px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; background: var(--blau); }
.tl-year { font: 600 1.3rem/1.1 var(--f-kopf); color: var(--blau); }
.timeline h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.timeline p { color: var(--text-leise); max-width: 60ch; }
@media (max-width: 60em) {
  .film { grid-template-columns: 1fr; }
  .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40em) {
  .about-facts { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Cookie-Einwilligung (consent.js) ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 0 16px 16px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner {
  pointer-events: auto; max-width: 760px; margin: 0 auto; padding: 22px 24px 24px; background: var(--weiss); color: var(--text);
  border-top: 4px solid var(--blau); box-shadow: 0 10px 40px rgba(0, 0, 0, .22);
}
.consent-titel { margin: 0 0 6px; font: 600 1.5rem/1.1 var(--f-kopf); }
.consent-text { margin: 0 0 18px; font-size: 1rem; line-height: 1.5; color: var(--text-leise); }
.consent-text a { color: var(--blau); font-weight: 600; }
.consent-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.consent-btn {
  flex: 1 1 200px; min-height: 48px; padding: 10px 20px; border: 2px solid var(--blau); background: var(--weiss); color: var(--blau);
  font: 600 1.05rem var(--f-text); cursor: pointer;
}
.consent-btn[data-consent="ja"] { background: var(--blau); color: var(--weiss); }
.consent-btn:hover { border-color: var(--blau-tief); }
.consent-btn[data-consent="ja"]:hover { background: var(--blau-tief); }
.consent-btn[data-consent="nein"]:hover { background: var(--beton-hell); }
.consent-btn:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
@media print { .consent { display: none; } }
