/* Layout: dunkelblaue Flächen, Messing als Akzent, Zollstock-Skalen markieren die Übergänge.
   Die aktuelle Gestaltung steht im Block „Werkstatt & Baustellenschild“ am Ende der Datei. */

/* Schriften liegen auf dem eigenen Server: keine Verbindung zu Google (DSGVO) */
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --navy-950: #0A1424;
  --navy-900: #0F1E33;
  --navy-800: #172A47;
  --navy-700: #243A5E;
  --brass: #C9A45C;
  --brass-light: #E2C68C;
  --brass-deep: #8C6A2B;
  --paper: #F2F4F7;
  --surface: #FFFFFF;
  --ink: #13203A;
  --muted: #566275;
  --line: #DCE1E9;
  --on-navy: #E9EDF3;
  --on-navy-muted: #A9B4C6;
  --line-navy: rgba(201, 164, 92, 0.22);

  --font-display: "Archivo", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --radius: 4px;
  --shadow: 0 24px 48px -24px rgba(10, 20, 36, 0.45);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --header-h: 76px;

  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.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;
}
html.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }

/* Platzhalter: deutlich sichtbar, damit der Kunde sieht, was noch fehlt */
.ph {
  background: rgba(201, 164, 92, 0.16);
  border-bottom: 1px dashed var(--brass-deep);
  padding: 0 0.25em;
  border-radius: 2px;
  font-style: normal;
  white-space: nowrap;
}
.on-navy .ph, .ph--light { color: var(--brass-light); border-bottom-color: var(--brass); background: rgba(201, 164, 92, 0.14); }

/* Wiederkehrende Typo-Bausteine */
.eyebrow {
  display: block;
  line-height: 1.7;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 1px; margin-right: 0.75rem; background: currentColor; }
.on-navy .eyebrow { color: var(--brass); }
.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 760; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.on-navy .lead { color: var(--on-navy-muted); }
.section-head { display: grid; gap: 1.1rem; max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-display); font-stretch: 108%;
  font-weight: 650; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon { width: 20px; height: 20px; transition: transform .2s ease; }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--brass { background: var(--brass); color: var(--navy-950); }
.btn--brass:hover { background: var(--brass-light); }
.btn--ghost { border-color: rgba(233, 237, 243, 0.35); color: var(--on-navy); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-light); }
.btn--navy { background: var(--navy-900); color: var(--on-navy); }
.btn--navy:hover { background: var(--navy-700); }
.btn--small { min-height: 42px; padding: 0 1.1rem; font-size: 0.92rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 650;
  color: var(--brass-deep); text-decoration: none; justify-self: start;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--navy-950);
  color: var(--on-navy);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-navy); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); }
.site-header .container { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--on-navy); min-width: 0; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: grid; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.12rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brand__sub { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.75rem; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--on-navy-muted);
  padding-block: 0.4rem; position: relative; transition: color .2s ease;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover { color: var(--on-navy); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: flex; align-items: center; gap: 0.55rem; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.header-phone .icon { color: var(--brass); width: 20px; height: 20px; }

.burger { display: none; background: none; border: 1px solid var(--line-navy); color: var(--on-navy); width: 46px; height: 46px; border-radius: var(--radius); place-items: center; margin-left: auto; }
.burger .icon--close { display: none; }
.burger[aria-expanded="true"] .icon--menu { display: none; }
.burger[aria-expanded="true"] .icon--close { display: block; }

.mobile-nav {
  background: var(--navy-950);
  border-top: 1px solid var(--line-navy);
  padding-block: 1rem 1.5rem;
}
.site-header .mobile-nav .container { display: block; min-height: 0; }
.mobile-nav ul { display: grid; }
.mobile-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(233, 237, 243, 0.08); text-decoration: none; font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 1.2rem; color: var(--on-navy); }
.mobile-nav .btn { margin-top: 1.25rem; width: 100%; }
.mobile-nav__contact { display: grid; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-navy); font-size: 0.95rem; color: var(--on-navy-muted); }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--on-navy); text-decoration: none; padding-block: 0.25rem; }
.mobile-nav__contact .icon { color: var(--brass); width: 20px; height: 20px; }
html.menu-open .mobile-cta, html.is-locked .mobile-cta { display: none; }

/* ---------- Hero ---------- */
/* Oben Überschrift und Aktionen, darunter ein endlos laufendes Band mit Albrechts Projektfotos */
.hero {
  --band-h: clamp(230px, 22vw, 320px);
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  position: relative;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(900px 520px at 85% 0%, rgba(201, 164, 92, 0.12), transparent 60%),
    linear-gradient(rgba(233, 237, 243, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 237, 243, 0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  color: var(--on-navy);
  overflow: hidden;
}
.hero__top {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: end;
  padding-block: clamp(3rem, 5.5vw, 4.75rem) clamp(2.75rem, 4.5vw, 3.75rem);
}
.hero__headline { display: grid; gap: 1.3rem; min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 780; font-stretch: 114%; line-height: 1.02; }
/* „aus Külsheim“ mit Zollstock-Strich darunter */
.hero h1 em {
  font-style: normal; color: var(--brass);
  padding-bottom: 0.1em;
  background:
    linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(201, 164, 92, 0.8) 0 1.5px, transparent 1.5px 10px) 0 calc(100% - 2px) / 100% 7px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (min-width: 961px) { .hero h1 em { white-space: nowrap; } }
.hero__side { display: grid; gap: 1.3rem; min-width: 0; padding-bottom: 0.35rem; }
.hero__lead { font-size: clamp(1.06rem, 1.3vw, 1.18rem); color: var(--on-navy-muted); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.75rem; }
.text-link--light { color: var(--on-navy); border-bottom-color: var(--brass); }
.text-link--light:hover { color: var(--brass-light); }
.hero__call { font-size: 0.98rem; color: var(--on-navy-muted); display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.hero__call .icon { color: var(--brass); width: 20px; height: 20px; }
.hero__call a { color: var(--on-navy); font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--brass); white-space: nowrap; }
.hero__call a:hover { color: var(--brass-light); }

/* Laufband: feste Höhen statt aspect-ratio, damit Safari nichts zusammenfallen lässt */
.hero__band { position: relative; }
.hero__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.hero__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 80s linear infinite; }
.hero__band.is-paused .hero__track { animation-play-state: paused; }
@media (hover: hover) { .hero__viewport:hover .hero__track { animation-play-state: paused; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero__shot {
  position: relative; flex: none; height: var(--band-h); width: calc(var(--band-h) * 0.75);
  margin-right: 14px; border-radius: var(--radius); overflow: hidden; background: var(--navy-800);
}
.hero__shot--wide { width: calc(var(--band-h) * 1.3); }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .hero__shot:hover img { transform: scale(1.05); } }
.hero__shot .photo-tag { left: 10px; bottom: 10px; white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }

.hero__plate {
  position: absolute; z-index: 3; top: -1.7rem; left: var(--edge);
  background: linear-gradient(135deg, #D8B977 0%, var(--brass) 45%, #A9853F 100%);
  color: var(--navy-950);
  padding: 0.9rem 1.1rem; border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid; gap: 0.15rem; max-width: 300px;
  transform: rotate(-2.5deg);
}
.hero__plate small { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hero__plate strong { font-family: var(--font-display); font-stretch: 118%; font-size: 1.15rem; line-height: 1.15; }
.hero__plate::before, .hero__plate::after { content: ""; position: absolute; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: rgba(10, 20, 36, 0.35); }
.hero__plate::before { left: 8px; }
.hero__plate::after { right: 8px; }

.hero__pause {
  position: absolute; z-index: 3; right: var(--edge); top: 12px;
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(233, 237, 243, 0.35); border-radius: 50%;
  background: rgba(10, 20, 36, 0.6); color: var(--on-navy);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__pause:hover { border-color: var(--brass); color: var(--brass-light); }
.hero__pause .icon { width: 16px; height: 16px; }
.hero__pause .icon--play, .hero__band.is-paused .hero__pause .icon--pause { display: none; }
.hero__band.is-paused .hero__pause .icon--play { display: block; }

.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; padding-block: clamp(1.75rem, 3vw, 2.25rem) clamp(2rem, 3.5vw, 2.75rem); }
.hero__facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; min-width: 0; }
.hero__facts .icon { color: var(--brass); width: 24px; height: 24px; margin-top: 1px; }
.hero__facts span { font-size: 0.9rem; color: var(--on-navy-muted); line-height: 1.4; }
.hero__facts strong { display: block; font-family: var(--font-display); font-stretch: 104%; font-size: 1rem; font-weight: 700; color: var(--on-navy); }

.photo-tag {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(10, 20, 36, 0.82); color: var(--brass-light);
  padding: 0.3rem 0.55rem; border-radius: 2px;
}

/* Zollstock-Skala */
.ruler {
  position: relative; height: 34px;
  border-top: 1px solid var(--brass);
  background-image:
    repeating-linear-gradient(to right, var(--brass) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(to right, rgba(201, 164, 92, 0.75) 0 1px, transparent 1px 19px),
    repeating-linear-gradient(to right, rgba(201, 164, 92, 0.4) 0 1px, transparent 1px 3.8px);
  background-size: 100% 15px, 100% 10px, 100% 5px;
  background-repeat: no-repeat;
  overflow: hidden;
}
.ruler span {
  position: absolute; top: 15px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--brass); line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.hero .ruler { position: relative; }
.ruler--light { border-top-color: var(--brass-deep); opacity: 0.7; }

/* Hero-Einstieg: eine ruhige Lade-Sequenz */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero__headline > *, .hero__side > *, .hero__facts li { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__headline > :nth-child(2) { animation-delay: .08s; }
.hero__side > :nth-child(1) { animation-delay: .16s; }
.hero__side > :nth-child(2) { animation-delay: .22s; }
.hero__side > :nth-child(3) { animation-delay: .28s; }
.hero__facts li:nth-child(1) { animation-delay: .55s; }
.hero__facts li:nth-child(2) { animation-delay: .62s; }
.hero__facts li:nth-child(3) { animation-delay: .69s; }
.hero__facts li:nth-child(4) { animation-delay: .76s; }
/* Das Fotoband gleitet von rechts herein, das Messingschild setzt sich danach darauf */
@keyframes bandin { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes platein { from { opacity: 0; transform: translateY(16px) rotate(-2.5deg); } to { opacity: 1; transform: rotate(-2.5deg); } }
.hero__viewport { animation: bandin 1.3s cubic-bezier(.2, .7, .2, 1) .2s both; }
.hero__plate { animation: platein .8s cubic-bezier(.2, .7, .2, 1) .85s both; }
.hero .ruler { animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) .2s both; }

/* Sanftes Einblenden beim Scrollen. Inhalte sind ohne JS immer sichtbar. */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
/* Fotos zoomen beim Einblenden ganz leicht zurück */
.pillar__media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.reveal-on .pillar__media.reveal img { transform: scale(1.1); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.reveal-on .pillar__media.reveal.is-in img { transform: scale(1); }

/* ---------- Leistungen ---------- */
.services { background: var(--paper); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.pillars { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.pillar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.pillar--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pillar--reverse .pillar__media { order: 2; }
.pillar__media { position: relative; min-height: 420px; }
.pillar__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.pillar__media .photo-tag { left: 14px; bottom: 14px; }
.pillar__body { display: grid; gap: 1.4rem; align-content: center; min-width: 0; }
.pillar__label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); }
.pillar h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 750; }
.pillar__intro { color: var(--muted); max-width: 58ch; }
.subservices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.subservice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1rem; padding: 1.4rem 1.25rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.subservice:nth-child(even) { padding-left: 1.25rem; padding-right: 0; border-left: 1px solid var(--line); }
/* Ungerade Anzahl: die letzte Leistung nimmt die ganze Breite ein, damit keine Lücke bleibt */
.subservice:last-child:nth-child(odd) { grid-column: 1 / -1; padding-right: 0; }
.subservice__icon {
  grid-row: span 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--brass); border-radius: var(--radius); color: var(--brass-deep);
  transition: background-color .25s ease, color .25s ease;
}
@media (hover: hover) { .subservice:hover .subservice__icon { background: var(--navy-900); color: var(--brass); border-color: var(--navy-900); } }
.subservice h4 { font-size: 1.08rem; font-weight: 700; align-self: end; }
.subservice p { font-size: 0.97rem; color: var(--muted); line-height: 1.55; }

/* ---------- Boden-Strecke ---------- */
.floor-story { background: var(--navy-950); color: var(--on-navy); padding-block: clamp(4.5rem, 9vw, 7rem); }
.floor-story__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.floor-story__head .section-head { margin-bottom: 0; }
.floor-story__intro { display: grid; gap: 1.25rem; justify-items: start; color: var(--on-navy-muted); font-size: 1.08rem; }
.floor-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: fstep; }
.floor-step { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); counter-increment: fstep; box-shadow: var(--shadow); }
.floor-step:nth-child(2) { transform: translateY(2rem); }
.floor-step img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .floor-step:hover img { transform: scale(1.04); } }
.floor-step__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 0.15rem; padding: 3.5rem 1.2rem 1.1rem; background: linear-gradient(transparent, rgba(10, 20, 36, 0.92)); }
.floor-step__cap span { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.25rem; }
.floor-step__cap span::before { content: "0" counter(fstep); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--navy-950); background: var(--brass); padding: 0.15rem 0.4rem; border-radius: 2px; margin-right: 0.6rem; vertical-align: 0.2em; }
.floor-step__cap p { font-size: 0.93rem; color: var(--on-navy-muted); }
.floor-story .ruler { margin-top: 4rem; }

.swipe-hint { display: none; align-items: center; gap: 0.5rem; margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.swipe-hint .icon { width: 16px; height: 16px; }
.reviews .swipe-hint { color: var(--brass-deep); }

/* ---------- Über uns ---------- */
.about { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--surface); }
.about__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); }
.about__quote {
  position: relative; margin: -4.5rem 0 0 auto; width: 86%;
  background: var(--navy-900); color: var(--on-navy);
  padding: 1.75rem 1.75rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid; gap: 0.9rem;
}
.about__quote blockquote { margin: 0; font-family: var(--font-display); font-stretch: 110%; font-weight: 600; font-size: 1.22rem; line-height: 1.35; }
.about__quote blockquote::before { content: "„"; color: var(--brass); }
.about__quote blockquote::after { content: "“"; color: var(--brass); }
.about__quote figcaption { font-size: 0.92rem; color: var(--on-navy-muted); }
.about__body { display: grid; gap: 1.4rem; min-width: 0; }
.about__body > p { color: var(--muted); }
.about__badge {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: start;
  padding: 1rem 1.15rem; border: 1px solid var(--line); border-left: 3px solid var(--brass);
  border-radius: var(--radius); background: var(--paper); font-size: 0.95rem; line-height: 1.5;
}
.about__badge .icon { color: var(--brass-deep); width: 28px; height: 28px; }
.about__badge strong { display: block; color: var(--ink); font-family: var(--font-display); font-stretch: 108%; font-size: 1rem; }
.usps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: 0.75rem; }
.usp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0.8rem; }
.usp .icon { grid-row: span 2; color: var(--brass-deep); width: 26px; height: 26px; margin-top: 2px; }
.usp h3 { font-size: 1.05rem; font-weight: 700; }
.usp p { font-size: 0.96rem; color: var(--muted); line-height: 1.55; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.stat { padding: 1.6rem 1.25rem 1.6rem 0; display: grid; gap: 0.25rem; }
.stat + .stat { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stat strong { font-family: var(--font-display); font-stretch: 120%; font-weight: 780; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.stat strong .ph { font-size: 0.7em; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Ablauf ---------- */
.process { background: var(--navy-900); color: var(--on-navy); padding-block: clamp(4.5rem, 9vw, 7rem); position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; display: grid; gap: 0.9rem; padding-top: 2.6rem; border-top: 1px solid var(--line-navy); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -1px; left: 0;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--navy-950);
  background: var(--brass); padding: 0.3rem 0.6rem; border-radius: 0 0 var(--radius) var(--radius);
}
.step__icon { color: var(--brass); width: 34px; height: 34px; }
.step h3 { font-size: 1.4rem; font-weight: 720; }
.step p { color: var(--on-navy-muted); }
.process__cta { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.process__cta p { color: var(--on-navy-muted); }

/* ---------- Einblicke / Galerie ---------- */
.gallery-section { background: var(--paper); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.gallery-section .section-head { margin-bottom: 2rem; }
.gallery-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery-intro .section-head { margin-bottom: 0; }
.gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px;
}
.gallery__item {
  position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800); color: var(--on-navy); text-align: left;
}
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.045); } }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10, 20, 36, 0.78)); }
.gallery__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 0.5rem; }
.gallery__cap span { font-family: var(--font-display); font-stretch: 110%; font-weight: 650; font-size: 1rem; line-height: 1.2; }
.gallery__cap small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-950); background: var(--brass-light); padding: 0.15rem 0.4rem; border-radius: 2px; flex: none; }
.gallery__cap small.own { background: var(--brass); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* Galerie-Filter */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.gallery-filter__btn {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.gallery-filter__btn span { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.gallery-filter__btn:hover { border-color: var(--brass); }
.gallery-filter__btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.gallery-filter__btn.is-active span { color: var(--brass-light); }
.gallery__item.is-hidden { display: none; }
/* Eingeblendete Bilder beim Filterwechsel */
@keyframes galleryin { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.gallery.is-filtered .gallery__item:not(.is-hidden) { animation: galleryin .45s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- Kundenstimmen ---------- */
.reviews { background: var(--surface); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.review {
  display: grid; grid-template-rows: auto 1fr auto; gap: 1.2rem; margin: 0;
  padding: 1.9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.stars { display: flex; gap: 3px; color: var(--brass); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.chip { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-deep); border: 1px dashed var(--brass); padding: 0.15rem 0.45rem; border-radius: 2px; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.review footer { display: grid; gap: 0.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
.review footer span { color: var(--muted); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq__aside { display: grid; gap: 1.3rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__aside p { color: var(--muted); }
.faq__list { border-top: 1px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display); font-stretch: 110%; font-weight: 650; font-size: 1.12rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .icon { color: var(--brass-deep); transition: transform .25s ease; }
.faq__list details[open] summary .icon { transform: rotate(45deg); }
.faq__list details p { padding: 0 3rem 1.4rem 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { background: var(--navy-950); color: var(--on-navy); padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__info { display: grid; gap: 1.5rem; min-width: 0; }
.contact__list { display: grid; margin-top: 0.75rem; border-top: 1px solid var(--line-navy); }
.contact__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-navy); }
.contact__list .icon-box { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-navy); border-radius: var(--radius); color: var(--brass); }
.contact__list small { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-muted); }
.contact__list span, .contact__list a { font-weight: 600; color: var(--on-navy); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--brass-light); }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); position: relative; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brass); border-radius: var(--radius) var(--radius) 0 0; }
.form-card h3 { font-size: 1.5rem; font-weight: 740; margin-bottom: 0.35rem; }
.form-card > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.5rem; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label i { color: var(--brass-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.8rem 0.9rem; min-height: 50px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: var(--surface); box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.25); }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: start; font-size: 0.9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-900); }
.check a { color: var(--ink); }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form__hint { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); text-align: center; }
.form__hint--error { color: #8A2424; background: #FBEEEE; border-radius: var(--radius); padding: 0.65rem 0.85rem; text-align: left; font-size: 0.88rem; line-height: 1.5; }
.form__hint--error a { color: inherit; font-weight: 650; }
/* Unsichtbares Feld gegen Spam-Bots */
.form__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.form-success { display: grid; gap: 1rem; justify-items: start; padding-block: 1rem; }
.form-success .icon { width: 48px; height: 48px; color: var(--brass-deep); }
.form-success h3 { font-size: 1.6rem; }
.form-success p { color: var(--muted); }

/* ---------- Standort / Karte ---------- */
.location { background: var(--surface); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.location__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.location__info { display: grid; gap: 1.4rem; min-width: 0; }
.location__address {
  font-style: normal; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start;
  padding: 1.25rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); line-height: 1.55;
}
.location__address .icon-box { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: var(--radius); color: var(--brass-deep); }
.location__address strong { display: block; font-family: var(--font-display); font-stretch: 110%; font-size: 1.1rem; margin-bottom: 0.2rem; }
.location__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.location__actions .btn .icon { width: 20px; height: 20px; }

/* Feste Höhe statt aspect-ratio: Safari lässt sonst den Container zusammenfallen */
.map {
  position: relative; height: clamp(380px, 40vw, 520px); min-width: 0;
  border-radius: var(--radius); overflow: hidden; background: #E7EBF1;
  box-shadow: var(--shadow); outline: 1px solid var(--brass); outline-offset: 10px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__consent { display: none; }
.map__consent { position: absolute; inset: 0; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.map__pin svg { width: 36px; height: 47px; filter: drop-shadow(0 6px 8px rgba(10, 20, 36, 0.35)); position: relative; z-index: 1; }
.map__label {
  order: -1; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--navy-950); color: var(--brass-light); padding: 0.3rem 0.55rem; border-radius: 2px;
}
.map__pulse {
  position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; background: rgba(201, 164, 92, 0.55);
  animation: mappulse 2.2s ease-out infinite;
}
@keyframes mappulse {
  from { transform: scale(0.6); opacity: 0.9; }
  to { transform: scale(3.2); opacity: 0; }
}
.map__box {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(460px, calc(100% - 32px));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.9rem 1.1rem; align-items: center;
  background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 40px -18px rgba(10, 20, 36, 0.55); border-top: 3px solid var(--brass);
}
.map__text strong { display: block; font-family: var(--font-display); font-stretch: 110%; font-size: 1.02rem; margin-bottom: 0.15rem; }
.map__text p { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.map__text a { color: var(--ink); }
.map__box .btn { min-height: 46px; padding: 0 1.1rem; }
.map__remember { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: var(--muted); cursor: pointer; }
.map__remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { background: #070F1C; color: var(--on-navy-muted); padding-block: 4rem 2rem; font-size: 0.96rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(233, 237, 243, 0.08); }
.footer__brand { display: grid; gap: 1.1rem; align-content: start; }
.footer__brand p { max-width: 36ch; }
.site-footer h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: 0.6rem; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--brass-light); }
.footer__address { font-style: normal; line-height: 1.75; }
.footer__address a { color: var(--on-navy); }
.social { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--on-navy); }
.social .icon { color: var(--brass); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-size: 0.86rem; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rechtstexte (Overlay) ---------- */
.legal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(7, 15, 28, 0.72);
  overflow-y: auto; overscroll-behavior: contain;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
}
.legal__panel {
  position: relative; max-width: 880px; margin: 2rem auto;
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 5vw, 3.5rem);
}
.legal__close {
  position: sticky; top: 0; float: right; margin: -0.5rem -0.5rem 0 1rem; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
.legal__close:hover { border-color: var(--brass); color: var(--brass-deep); }
.legal h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 760; margin-bottom: 1rem; }
.legal h3 { font-size: 1.2rem; font-weight: 700; margin: 2.2rem 0 0.6rem; }
.legal h4 { font-size: 1.02rem; font-weight: 700; margin: 1.4rem 0 0.4rem; }
.legal p, .legal li { color: #2D3A50; font-size: 1rem; }
.legal p + p { margin-top: 0.7rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.3rem; margin-top: 0.5rem; }
.legal address { font-style: normal; line-height: 1.8; }
.legal a { color: var(--ink); }
.legal__inline-btn {
  display: inline-flex; margin-top: 0.4rem; padding: 0.45rem 0.8rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); font-weight: 600; font-size: 0.95rem; text-align: left;
}
.legal__inline-btn:hover:not(:disabled) { border-color: var(--brass); }
.legal__inline-btn:disabled { cursor: default; color: var(--muted); }
.legal__meta { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(7, 15, 28, 0.94);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 8px max(16px, env(safe-area-inset-bottom, 0px));
}
.lightbox figure { margin: 0; display: grid; gap: 0.9rem; justify-items: center; min-width: 0; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: var(--on-navy); font-family: var(--font-display); font-stretch: 110%; font-weight: 600; text-align: center; }
.lightbox button { background: none; border: 1px solid rgba(233, 237, 243, 0.25); color: var(--on-navy); width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; justify-self: center; }
.lightbox button:hover { border-color: var(--brass); color: var(--brass-light); }
.lightbox__close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: 16px; }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav, .header-phone { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .site-header .container { gap: 1rem; }
  .burger { margin-left: 0; }
}
@media (min-width: 1121px) { .mobile-nav { display: none !important; } }

@media (max-width: 960px) {
  /* Hero: Text untereinander, Fakten zweispaltig */
  .hero__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__br { display: none; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar, .pillar--reverse, .about__grid, .faq__grid, .contact__grid, .location__grid { grid-template-columns: minmax(0, 1fr); }
  .pillar--reverse .pillar__media { order: 0; }
  .pillar__media { min-height: 0; }
  .pillar__media img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; object-position: 50% 40%; }
  .about__media { max-width: 560px; }
  .faq__aside { position: static; }
  .floor-story__head { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .reviews__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .header-actions .btn, .hide-mobile { display: none; }
  .site-header .container { min-height: var(--header-h); }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: 0.62rem; letter-spacing: 0.06em; }
  .mobile-nav { min-height: calc(100dvh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-block: 0.5rem 2rem; }
  .mobile-nav ul a { font-size: 1.5rem; padding: 0.95rem 0; }

  /* Mobiler Hero: Fotoband ganz oben, Text darunter */
  .hero { --band-h: 210px; display: flex; flex-direction: column; }
  .hero__band { order: -1; margin-top: 1.1rem; }
  .hero__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .hero__track { animation-duration: 60s; }
  .hero__shot { margin-right: 10px; }
  .hero__shot .photo-tag { display: none; }
  .hero__plate { top: auto; bottom: -1.5rem; left: var(--gutter); max-width: 250px; padding: 0.65rem 0.9rem; }
  .hero__plate small { font-size: 0.6rem; }
  .hero__plate strong { font-size: 0.95rem; }
  .hero__pause { top: 10px; right: var(--gutter); width: 34px; height: 34px; }
  .hero__top { padding-block: 2.75rem 1.25rem; gap: 1.15rem; }
  .hero__headline, .hero__side { gap: 1.1rem; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 2.8rem); }
  .hero__lead { font-size: 1.04rem; line-height: 1.6; }
  .hero__ctas .btn { width: 100%; }
  .hero__call { font-size: 0.95rem; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; padding-block: 0.75rem 2rem; }
  .hero__facts strong { display: inline; }
  .hero__facts span { font-size: 0.92rem; }
  .photo-tag { font-size: 0.6rem; padding: 0.25rem 0.45rem; }

  /* Weniger Weißraum zwischen den Abschnitten */
  .services, .about, .process, .gallery-section, .reviews, .faq, .contact, .floor-story, .location { padding-block: 3.5rem; }

  /* Karte: höher, damit Stecknadel und Hinweis nebeneinander Platz haben */
  .map { height: 480px; outline-offset: 6px; }
  .map__pin { top: 34%; }
  .map__box { grid-template-columns: minmax(0, 1fr); bottom: 14px; width: calc(100% - 24px); padding: 1rem; }
  .map__box .btn { width: 100%; }
  .location__actions .btn { width: 100%; }
  .location__actions .text-link { justify-self: start; }
  .about__badge { padding: 0.9rem 1rem; }
  .section-head { margin-bottom: 2rem; gap: 0.8rem; }
  .lead { font-size: 1.05rem; }

  /* Leistungen: kompaktere Einträge */
  .pillars { gap: 3.25rem; }
  .pillar { gap: 1.5rem; }
  .pillar__media img { aspect-ratio: 5 / 4.2; }
  .pillar__body { gap: 1.1rem; }
  .subservices { grid-template-columns: minmax(0, 1fr); }
  .subservice, .subservice:nth-child(even) { padding: 0.95rem 0; border-left: 0; gap: 0.2rem 0.85rem; }
  .subservice__icon { width: 40px; height: 40px; }
  .subservice__icon .icon { width: 21px; height: 21px; }
  .subservice h4 { font-size: 1.02rem; }
  .subservice p { font-size: 0.93rem; line-height: 1.5; }

  /* Boden-Strecke und Bewertungen als wischbare Reihe */
  .floor-story__head { margin-bottom: 1.75rem; }
  .floor-steps, .reviews__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 1rem;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .floor-steps::-webkit-scrollbar, .reviews__grid::-webkit-scrollbar { display: none; }
  .floor-step, .review { scroll-snap-align: start; }
  .floor-step:nth-child(2) { transform: none; }
  .floor-step img { aspect-ratio: 4 / 4.6; }
  .floor-story .ruler { margin-top: 1rem; }
  .reviews__grid { grid-auto-columns: 86%; max-width: none; }
  .review { padding: 1.4rem; }
  .swipe-hint { display: flex; }

  .usps { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .about__quote { width: 94%; margin-top: -3rem; padding: 1.3rem; }
  .about__quote blockquote { font-size: 1.08rem; }
  .stats { margin-top: 2.5rem; }
  .stat { padding: 1.1rem 0.9rem 1.1rem 0; }
  .stat + .stat { padding-left: 0.9rem; }
  .steps { gap: 1.75rem; }
  .step { padding-top: 2.3rem; gap: 0.6rem; }

  .gallery { grid-auto-rows: 150px; gap: 8px; }
  .gallery__cap { left: 10px; right: 10px; bottom: 9px; }
  .gallery__cap span { font-size: 0.86rem; }
  .faq__list summary { font-size: 1.02rem; padding: 1.1rem 0; }
  .contact__list li { padding: 0.75rem 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 1.4rem 1.15rem; }
  .faq__list details p { padding-right: 0; }
  .site-footer { padding-block: 3rem calc(1.5rem + 70px + env(safe-area-inset-bottom, 0px)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; padding-bottom: 2rem; }
  .footer__brand { grid-column: 1 / -1; }

  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lightbox img { max-height: 68vh; }
  .lightbox figure { padding-bottom: 4.5rem; }
  .lightbox figcaption { padding-inline: 1rem; font-size: 0.95rem; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .legal__panel { margin: 0.5rem auto; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(10, 20, 36, 0.97);
    border-top: 1px solid var(--line-navy);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .mobile-cta .btn { min-height: 50px; padding: 0 0.75rem; }
}

/* Niedrige Bildschirme (z. B. iPhone SE): Menü kompakter, damit Button und Kontakt sichtbar bleiben */
@media (max-width: 640px) and (max-height: 760px) {
  .mobile-nav ul a { font-size: 1.25rem; padding: 0.7rem 0; }
  .mobile-nav .btn { margin-top: 1rem; }
  .mobile-nav__contact { margin-top: 1.1rem; padding-top: 1rem; }
}

/* Sehr schmale Geräte (z. B. iPhone SE): lange Wörter trennen statt überlaufen */
@media (max-width: 400px) {
  h1, h2, h3, h4 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .brand__sub { font-size: 0.56rem; letter-spacing: 0.04em; }
}

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

/* Grid-Karten nicht strecken, damit Icons und Überschriften auf einer Linie bleiben */
.step, .subservice, .usp, .stat, .hero__facts li, .footer__brand { align-content: start; }

/* Größere Tippflächen auf Touch-Geräten */
@media (pointer: coarse) {
  .text-link { padding-block: 0.6rem 0.35rem; }
  .site-footer ul { gap: 0.15rem; }
  .site-footer li a { display: inline-block; padding-block: 0.45rem; }
  .check { padding-block: 0.25rem; }
  .check input { width: 24px; height: 24px; margin-top: 0; }
}

/* =====================================================================
   Gestaltung „Werkstatt & Baustellenschild“
   Kräftige schmale Schrift wie auf Bauschildern und Arbeitskleidung,
   gedecktes Arbeitsblau, warmes Messing, feine Körnung statt Rasterlinien,
   Bildtitel als Kreppband. Aufbau und Effekte bleiben unverändert.
   ===================================================================== */
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-condensed-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
}

:root {
  --navy-950: #0F1621;
  --navy-900: #162131;
  --navy-800: #1F2C40;
  --navy-700: #2C3B52;
  --brass: #C8924A;
  --brass-light: #E2B57A;
  --brass-deep: #8E5F28;
  --paper: #F3EEE6;
  --surface: #FBF9F5;
  --ink: #18202B;
  --muted: #5D6570;
  --line: #E0D8CB;
  --on-navy: #ECE8E1;
  --on-navy-muted: #AEB4BD;
  --line-navy: rgba(200, 146, 74, 0.24);
  --tape: rgba(236, 225, 199, 0.94);

  --font-display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --font-mono: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;

  --radius: 3px;
  --shadow: 0 16px 32px -20px rgba(12, 18, 28, 0.6);
  /* Feine Körnung für dunkle Flächen (wie Lack auf Metall) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Schrift ---------- */
h1, h2, h3, h4 { font-stretch: normal; letter-spacing: 0.005em; line-height: 1; }
.h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 700; text-transform: uppercase; line-height: 0.96; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.16em; }
.eyebrow::before { width: 8px; height: 8px; margin: 0 0.7rem 0.2em 0.1rem; transform: rotate(45deg); }
.lead { font-size: 1.15rem; }

.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  text-transform: uppercase; letter-spacing: 0.07em; min-height: 54px;
}
.btn--brass { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18); }
.btn--brass:hover { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22); }
.btn--small { font-size: 1rem; min-height: 44px; }
.text-link { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; text-transform: uppercase; letter-spacing: 0.07em; }

/* ---------- Kopfbereich ---------- */
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.06em; }
.brand__sub { font-family: var(--font-display); font-weight: 500; font-size: 0.86rem; letter-spacing: 0.18em; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; text-transform: uppercase; letter-spacing: 0.08em; }
.header-phone { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: 0.03em; }
.mobile-nav ul a { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.45rem; }

/* ---------- Dunkle Flächen: Körnung statt Rasterlinien und Leuchten ---------- */
.hero {
  background-color: var(--navy-900);
  background-image: var(--grain), radial-gradient(1100px 520px at 100% 0%, rgba(200, 146, 74, 0.09), transparent 62%), linear-gradient(180deg, #172233 0%, #121B28 100%);
  background-size: 220px 220px, auto, auto;
}
.floor-story, .contact { background-image: var(--grain); background-size: 220px 220px; }
.process { background-image: var(--grain), linear-gradient(180deg, #172233, #131C29); background-size: 220px 220px, auto; }
.site-header, .mobile-nav { background-image: var(--grain); background-size: 220px 220px; }

/* ---------- Einstieg ---------- */
.hero h1 { font-size: clamp(3.1rem, 6.4vw, 5.7rem); font-weight: 700; text-transform: uppercase; line-height: 0.98; letter-spacing: 0.01em; }
.hero h1 em { padding-bottom: 0.08em; }
.hero__plate { background: linear-gradient(135deg, #DDB278 0%, var(--brass) 45%, #9E6C30 100%); }
.hero__plate small { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.18em; }
.hero__plate strong { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.hero__facts strong { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: 0.02em; }
.hero__call { font-size: 1rem; }
.hero__call a { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.03em; }

/* ---------- Bildtitel als Kreppband ---------- */
.photo-tag {
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #2B2418; background: var(--tape);
  padding: 0.32rem 0.85rem 0.26rem; border-radius: 0;
  transform: rotate(-1.5deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  /* leicht ausgefranste Enden wie abgerissenes Klebeband */
  clip-path: polygon(0 8%, 2.5% 0, 97.5% 0, 100% 10%, 98.5% 32%, 100% 54%, 98% 76%, 100% 94%, 97% 100%, 3% 100%, 0 92%, 1.5% 70%, 0 48%, 2% 26%);
}
.hero__shot .photo-tag { left: 12px; bottom: 12px; }

/* ---------- Leistungen ---------- */
.pillar__label { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.16em; }
.pillar h3 { font-size: clamp(2.1rem, 3.4vw, 2.9rem); font-weight: 700; text-transform: uppercase; line-height: 0.95; }
.subservice__icon { width: auto; height: auto; border: 0; border-radius: 0; place-items: start; padding-top: 0.15rem; color: var(--brass-deep); }
.subservice__icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
@media (hover: hover) { .subservice:hover .subservice__icon { background: none; color: var(--brass); } }
.subservice h4 { font-size: 1.32rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- Boden-Strecke ---------- */
.floor-step__cap span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.floor-step__cap span::before { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; }
.swipe-hint { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }

/* ---------- Über uns ---------- */
.about__quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.15; }
.about__badge strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.usp h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.usp .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.stat strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 4rem); }
.stat span { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.02em; }

/* ---------- Ablauf: große Schild-Ziffern ---------- */
.step { padding-top: 1.4rem; gap: 0.75rem; }
.step::before {
  position: static; display: block; background: none; padding: 0; border-radius: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 4.6rem; line-height: 0.85; letter-spacing: 0;
  color: transparent; -webkit-text-stroke: 1.5px var(--brass);
}
.step__icon { position: absolute; top: 1.55rem; right: 0; width: 34px; height: 34px; }
.step h3 { font-size: 1.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---------- Bilder ---------- */
.gallery__cap span { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.01em; }
.gallery__cap small { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; }

/* ---------- Fragen ---------- */
.faq__list summary { font-family: var(--font-display); font-weight: 600; font-size: 1.38rem; letter-spacing: 0.01em; }

/* ---------- Kontakt und Standort: Symbole ohne Kästchen ---------- */
.contact__list li { grid-template-columns: 30px minmax(0, 1fr); }
.contact__list .icon-box, .location__address .icon-box { width: 30px; height: auto; border: 0; border-radius: 0; place-items: start; }
.location__address { grid-template-columns: 30px minmax(0, 1fr); }
.contact__list small { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; }
.contact__list span, .contact__list a { font-size: 1.05rem; }
.location__address strong { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.form-card { box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.75); }
.form-card h3 { font-size: 1.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.form-success h3 { font-size: 1.9rem; }
.map__label { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.1em; }
.map { outline-offset: 8px; }

/* ---------- Fußbereich und Overlays ---------- */
.site-footer { background-color: #0C121B; background-image: var(--grain); background-size: 220px 220px; }
.site-footer h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.16em; }
.legal h2 { font-weight: 700; text-transform: uppercase; }
.legal h3 { font-size: 1.35rem; font-weight: 600; }
.lightbox figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.02em; }
.ruler span { font-family: var(--font-display); font-weight: 500; font-size: 0.78rem; }

/* Die Großbuchstaben-Navigation braucht mehr Platz: Menü-Symbol schon bis 1199 px */
@media (max-width: 1199px) {
  .nav, .header-phone { display: none; }
  /* Menü scrollt selbst, damit auch auf flachen Bildschirmen alles erreichbar ist */
  .mobile-nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 1121px) and (max-width: 1199px) {
  .mobile-nav:not([hidden]) { display: block !important; }
}

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  .brand__name { font-size: 1.35rem; }
  .brand__sub { font-size: 0.74rem; letter-spacing: 0.14em; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .h2 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .pillar h3 { font-size: clamp(1.8rem, 8.4vw, 2.2rem); }
  .hero__plate strong { font-size: 1.15rem; }
  .hero__plate small { font-size: 0.7rem; }
  .mobile-nav ul a { font-size: 1.6rem; padding: 0.8rem 0; }
  .step::before { font-size: 3.8rem; }
  .step__icon { top: 1.4rem; }
  .about__quote blockquote { font-size: 1.3rem; }
  .faq__list summary { font-size: 1.22rem; }
  .photo-tag { font-size: 0.74rem; }
  .mobile-cta .btn { font-size: 1.02rem; letter-spacing: 0.04em; white-space: nowrap; padding: 0 0.6rem; }
}
@media (max-width: 360px) {
  .mobile-cta .btn { font-size: 0.96rem; letter-spacing: 0.03em; gap: 0.4rem; }
}
@media (max-width: 640px) and (max-height: 760px) {
  .mobile-nav ul a { font-size: 1.35rem; padding: 0.65rem 0; }
}
