/* =================================================================
   Carglanz Autoaufbereitung, Herborn-Merkenbach
   Design-System, von Hand gebaut. Echte CI: Schwarz / Rot / Chrom
   (uebernommen aus dem Original-Logo: "CAR" rot, "GLANZ" chrom auf Schwarz).
   Schriften lokal selbst gehostet (DSGVO). Keine externen Requests.
   ================================================================= */

/* ---------- Fonts: lokal gehostet (woff2), variable ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Echte Markenfarben: Schwarz-Grund, glaenzendes Markenrot, Chrom/Silber.
     Rot per Pixel-Sampling aus dem Original-Logo (vivid #E90510 / avg #D01915). */
  --ink:         #000000; /* dunkelster Grund, Hero/Footer (Logo-Schwarz) */
  --petrol-900:  #0A0A0A;
  --petrol-800:  #121212; /* dunkle Sektion */
  --petrol-700:  #1C1C1C;
  --ceramic:     #0E0E0E; /* Haupt-Grund (dunkel, automotive) */
  --ceramic-2:   #171717; /* Karten / Eingabefelder */
  --mist:        #2A2A2A; /* Linien/Panels */
  --chrome:      #BFBFBF; /* Chrom/Silber (aus "GLANZ"-Schriftzug) */
  --accent:      #E2101A; /* Markenrot ("CAR") */
  --accent-deep: #B00D13; /* Rot fuer Hover/dunklere Flaechen */
  --accent-soft: rgba(226, 16, 26, 0.14);

  --text-on-light:       #ECECEC;
  --text-on-light-muted: #A6A6A6;
  --text-on-dark:        #F2F2F2;
  --text-on-dark-muted:  #AEAEAE;

  /* Spacing-Skala */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --container: 1200px;
  --radius:    14px;
  --radius-sm: 8px;
  --radius-pill: 100px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.45);

  --header-h: 76px;

  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-on-light);
  background: var(--ceramic);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.015em;
  /* umlaut-sicher: grosszuegige Zeilenhoehe, kein overflow:hidden auf Headlines */
  line-height: 1.12;
  color: var(--text-on-light);
}
h2 { line-height: 1.16; }
h3 { line-height: 1.25; font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(64px, 11vw, 128px); }
.section--tight { padding-block: clamp(48px, 8vw, 88px); }

.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-on-dark); }

.section--petrol { background: var(--petrol-800); color: var(--text-on-dark); }
.section--petrol h2, .section--petrol h3 { color: var(--text-on-dark); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.section--dark .eyebrow, .section--petrol .eyebrow { color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-on-light-muted);
  max-width: 56ch;
}
.section--dark .lead, .section--petrol .lead { color: var(--text-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: 15px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent);
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(226,16,26,0.34); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text-on-dark); border-color: rgba(233,239,238,0.35); }
.btn--ghost:hover { background: rgba(233,239,238,0.08); border-color: var(--text-on-dark);
  box-shadow: none; color: var(--text-on-dark); }

.btn--dark { --btn-bg: var(--petrol-800); --btn-fg: var(--text-on-dark); border-color: var(--mist); }
.btn--dark:hover { background: var(--petrol-700); border-color: var(--chrome); box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* Textlink mit Pfeil */
.arrow-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.section--dark .arrow-link, .section--petrol .arrow-link, .map-panel .arrow-link { color: var(--accent); }
.arrow-link:hover { gap: var(--s4); color: var(--accent); }
.arrow-link .ico { width: 16px; height: 16px; }

/* =================================================================
   HEADER / NAV
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-header.header--solid { background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px); }

.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }

.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--text-on-dark); }
/* Echtes Original-Logo (Schwarz-Grund blendet nahtlos in die schwarze Leiste). */
.brand__logo { height: 42px; width: auto; display: block; }
.footer-brand .brand__logo { height: 54px; }
@media (max-width: 560px) { .brand__logo { height: 36px; } }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.16rem; letter-spacing: 0.04em; color: var(--text-on-dark); }
.brand__sub { font-size: 0.61rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--chrome); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: var(--s6); }
.nav__links a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--text-on-dark); position: relative; padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--accent); }

.nav__cta { display: inline-flex; align-items: center; gap: var(--s4); }

.nav__toggle {
  display: none; width: 46px; height: 46px; background: transparent;
  border: 1px solid rgba(233,239,238,0.3); border-radius: 10px; cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--text-on-dark);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after  { transform: translateY(5px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-5px); }

/* =================================================================
   HERO (asymmetrischer Split)
   ================================================================= */
.hero {
  position: relative; background: var(--ink); color: var(--text-on-dark);
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(48px, 8vw, 96px); padding-right: clamp(24px, 4vw, 64px);
}
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1.08; letter-spacing: -0.02em; }
.hero__title .accent { color: var(--accent); }
.hero__sub { margin-top: var(--s5); font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-on-dark-muted); max-width: 46ch; }
.hero__actions { margin-top: var(--s7); }
.hero__meta {
  margin-top: var(--s7); display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7);
  padding-top: var(--s5); border-top: 1px solid rgba(233,239,238,0.12);
}
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta dt { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chrome); }
.hero__meta dd { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--text-on-dark); }

.hero__media { position: relative; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--ink) 0%, rgba(0,0,0,0.55) 22%, rgba(0,0,0,0) 55%); }
.hero__tag {
  position: absolute; left: clamp(20px,4vw,40px); bottom: clamp(20px,4vw,40px); z-index: 2;
  background: rgba(0,0,0,0.62); backdrop-filter: blur(8px);
  border: 1px solid rgba(233,239,238,0.14); border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: center; gap: var(--s3);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--text-on-dark); max-width: 80%;
}
.hero__tag .ico { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* =================================================================
   USP / Werte-Band
   ================================================================= */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.value__ico { width: 44px; height: 44px; color: var(--accent); margin-bottom: var(--s4); }
.section--dark .value__ico, .section--petrol .value__ico { color: var(--accent); }
.value h3 { font-size: 1.22rem; margin-bottom: var(--s3); }
.value p { color: var(--text-on-light-muted); font-size: 0.98rem; }
.section--dark .value p, .section--petrol .value p { color: var(--text-on-dark-muted); }

/* =================================================================
   Section-Heads
   ================================================================= */
.head-block { max-width: 62ch; margin-bottom: clamp(40px, 6vw, 72px); }
.head-block h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.head-block p { margin-top: var(--s4); }

/* =================================================================
   Leistungs-Highlights (Bento, asymmetrisch)
   ================================================================= */
.highlights { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 24px); }
.feature {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--petrol-800); color: var(--text-on-dark); isolation: isolate;
  min-height: 260px; display: flex; align-items: flex-end;
}
.feature--lg { grid-row: span 2; min-height: 420px; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.12) 100%); }
.feature:hover img { transform: scale(1.06); }
.feature__body { padding: clamp(22px, 3vw, 34px); }
.feature__body h3 { color: var(--text-on-dark); font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: var(--s2); }
.feature__body p { color: var(--text-on-dark-muted); font-size: 0.95rem; max-width: 42ch; }
.feature__kicker { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); display: block; }

/* =================================================================
   Split (Bild + Text)
   ================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .badge {
  position: absolute; left: 18px; top: 18px; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  color: var(--text-on-dark); border: 1px solid rgba(233,239,238,0.16); border-radius: var(--radius-pill);
  padding: 8px 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em;
}
.check-list { margin-top: var(--s6); display: grid; gap: var(--s4); }
.check-list li { display: flex; gap: var(--s4); align-items: flex-start; }
.check-list .ico { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 3px; }
.section--dark .check-list .ico, .section--petrol .check-list .ico { color: var(--accent); }
.check-list strong { font-family: var(--font-head); font-weight: 700; display: block; }
.check-list span { color: var(--text-on-light-muted); font-size: 0.95rem; }
.section--dark .check-list span, .section--petrol .check-list span { color: var(--text-on-dark-muted); }

/* =================================================================
   Leistungs-Grid (Service-Karten)
   ================================================================= */
.svc-group { margin-bottom: clamp(48px, 7vw, 88px); }
.svc-group:last-child { margin-bottom: 0; }
.svc-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5);
  flex-wrap: wrap; padding-bottom: var(--s5); margin-bottom: var(--s7); border-bottom: 1px solid var(--mist); }
.svc-group__head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.svc-group__head p { color: var(--text-on-light-muted); font-size: 0.95rem; max-width: 42ch; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.svc-card {
  background: var(--ceramic-2); border: 1px solid var(--mist); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--accent); }
.svc-card__ico { width: 40px; height: 40px; color: var(--accent); margin-bottom: var(--s5); }
.svc-card h3 { font-size: 1.18rem; margin-bottom: var(--s3); }
.svc-card p { color: var(--text-on-light-muted); font-size: 0.95rem; }

/* Bildband */
.media-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(12px, 1.5vw, 20px); margin-top: clamp(40px, 6vw, 72px); }
.media-strip figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.media-strip figure:first-child { aspect-ratio: auto; }
.media-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-strip figure:hover img { transform: scale(1.05); }

/* =================================================================
   Ueber uns
   ================================================================= */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, auto); gap: clamp(12px, 1.5vw, 18px); }
.story-media figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.story-media figure:first-child { grid-row: span 2; aspect-ratio: 3/4.6; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }

.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.principle { padding-top: var(--s5); border-top: 2px solid var(--accent); }
.principle h3 { font-size: 1.2rem; margin-bottom: var(--s3); }
.principle p { color: var(--text-on-dark-muted); font-size: 0.95rem; }

.placeholder-note {
  border: 1px dashed var(--chrome); border-radius: var(--radius); padding: var(--s6);
  background: rgba(143,160,160,0.08); color: var(--text-on-dark-muted); font-size: 0.92rem;
}
.placeholder-note strong { color: var(--text-on-dark); font-family: var(--font-head); }

/* =================================================================
   Kontakt
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.info-list { display: grid; gap: var(--s5); }
.info-item { display: flex; gap: var(--s5); align-items: flex-start; }
.info-item__ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); border-radius: 12px; color: var(--accent); }
.info-item__ico svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-on-light-muted);
  font-family: var(--font-head); font-weight: 600; margin-bottom: 4px; }
.info-item p, .info-item a { font-size: 1.05rem; font-weight: 500; }
.info-item a:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--s3); }
.hours-table th, .hours-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--mist); font-size: 0.98rem; }
.hours-table th { font-family: var(--font-head); font-weight: 600; color: var(--text-on-light); }
.hours-table td { text-align: right; color: var(--text-on-light-muted); }
.hours-table tr.is-closed td { color: var(--accent); font-weight: 600; }

/* Standort-Panel statt externem Karten-Embed (DSGVO: kein externer Request) */
.map-panel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, var(--petrol-700) 0%, var(--ink) 60%);
  color: var(--text-on-dark); min-height: 380px; display: flex; flex-direction: column;
  justify-content: flex-end; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(233,239,238,0.1);
}
.map-panel__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(143,160,160,0.10) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(143,160,160,0.10) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 25%, #000 30%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 70% 25%, #000 30%, transparent 80%);
}
.map-panel__pin { position: absolute; left: 64%; top: 38%; width: 18px; height: 18px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(226,16,26,0.28), 0 0 0 14px rgba(226,16,26,0.12); }
.map-panel__pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%,100% { transform: scale(3.4); opacity: 0; } }
.map-panel__label { position: relative; z-index: 2; }
.map-panel__label strong { font-family: var(--font-head); font-size: 1.15rem; display: block; color: var(--text-on-dark); }
.map-panel__label span { color: var(--text-on-dark-muted); font-size: 0.95rem; }
.map-panel__label .arrow-link { margin-top: var(--s4); }

/* Formular */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-on-light);
  background: var(--ceramic-2); border: 1px solid var(--mist); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6c7c7c; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.form__note { font-size: 0.82rem; color: var(--text-on-light-muted); }

/* =================================================================
   CTA-Band
   ================================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--petrol-800), var(--ink));
  border-radius: var(--radius); padding: clamp(36px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s7);
  flex-wrap: wrap; color: var(--text-on-dark); border: 1px solid rgba(233,239,238,0.08);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text-on-dark); max-width: 18ch; }
.cta-band p { color: var(--text-on-dark-muted); margin-top: var(--s3); max-width: 42ch; }

/* =================================================================
   Rechtsseiten
   ================================================================= */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: var(--s8); margin-bottom: var(--s4); }
.legal h3 { font-size: 1.05rem; margin-top: var(--s6); margin-bottom: var(--s3); }
.legal p, .legal li { color: var(--text-on-light-muted); margin-bottom: var(--s4); }
.legal ul { display: grid; gap: var(--s2); padding-left: var(--s5); list-style: disc; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { display: inline-block; background: var(--accent-soft); border: 1px dashed var(--accent-deep);
  color: var(--accent); border-radius: 6px; padding: 2px 8px; font-size: 0.85rem; font-family: var(--font-head); font-weight: 600; }
.legal__lead { color: var(--text-on-light-muted); font-size: 1.1rem; margin-bottom: var(--s6); }

/* =================================================================
   Page-Hero (Innenseiten)
   ================================================================= */
.page-hero {
  background: var(--ink); color: var(--text-on-dark);
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 120px));
  padding-bottom: clamp(64px, 9vw, 120px); position: relative; overflow: hidden;
  min-height: clamp(340px, 42vw, 480px); display: flex; align-items: center;
}
/* Lokales, themenpassendes Hintergrundfoto (offline-faehig), darunter dunkler Verlauf
   fuer Lesbarkeit der weissen Headline. */
.page-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.84) 38%, rgba(0,0,0,0.5) 100%),
              linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 45%); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(80% 120% at 90% -10%, rgba(226,16,26,0.22), transparent 55%); }
.page-hero .container { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); color: var(--text-on-dark); line-height: 1.1; }
.page-hero p { color: var(--text-on-dark-muted); margin-top: var(--s4); max-width: 58ch; font-size: 1.1rem; }
.page-hero .crumbs { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--chrome); margin-bottom: var(--s5); }
.page-hero .crumbs a:hover { color: var(--accent); }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--ink); color: var(--text-on-dark); padding-top: clamp(56px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 64px); }
.footer-brand .brand { margin-bottom: var(--s5); }
.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chrome); margin-bottom: var(--s5); }
.footer-col ul { display: grid; gap: var(--s3); }
.footer-col a, .footer-col p { color: var(--text-on-dark-muted); font-size: 0.95rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(233,239,238,0.1); padding-block: var(--s5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-size: 0.85rem; color: var(--chrome); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; gap: var(--s5); flex-wrap: wrap; }

/* =================================================================
   Scroll-Reveal (nur >= 861px; Mobile sofort sichtbar)
   ================================================================= */
@media (min-width: 861px) {
  .reveal { opacity: 0; transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: .08s; }
  .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
      transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .map-panel__pin::after { animation: none; }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { min-height: 56vh; order: -1; }
  .hero__media img { position: relative; height: 56vh; }
  .hero__media::after { background: linear-gradient(to top, var(--ink) 2%, rgba(0,0,0,0.15) 60%); }
  .hero__content { padding-top: var(--s7); padding-right: 0; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .feature--lg { grid-row: span 1; grid-column: span 2; min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(0,0,0,0.98); backdrop-filter: blur(12px);
    padding: var(--s4) clamp(20px,5vw,40px) var(--s6); border-top: 1px solid rgba(233,239,238,0.1);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { width: 100%; padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(233,239,238,0.08); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }

  .svc-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; gap: var(--s7); }
  .principle-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .media-strip { grid-template-columns: 1fr 1fr; }
  .media-strip figure:first-child { grid-column: span 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .highlights { grid-template-columns: 1fr; }
  .feature--lg { grid-column: span 1; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .media-strip { grid-template-columns: 1fr; }
  .media-strip figure:first-child { grid-column: span 1; }
  .story-media figure:first-child { aspect-ratio: 3/4; }
}
