/* Fahrzeugschmiede – Designsystem „Boxengasse“ (durchgehend dunkel)
   Palette: Graphit #24282B, Rubinrot #B7193F (statt Signalorange), Hellgrau #F1F3F4, Mittelhellgrau #E2E5E7, Weiß.
   Leitbild ist die Kachel-Sektion: dunkler Grund, Bilder in Graustufen (Farbe beim Überfahren),
   kräftige weiße Versalien, Rubinrot als Signal. */

@font-face { font-family: "Barlow"; src: url("/fonts/barlow_400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow_500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow_600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow_condensed_600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow_condensed_700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #1b1e21;           /* Grundfläche (Graphit, eine Stufe dunkler) */
  --dark: #24282b;         /* Graphit: abgesetzte Sektionen, Kopf, Fuß */
  --dark-2: #2e3337;       /* Karten, Panels */
  --dark-line: rgba(255, 255, 255, .12);
  --accent: #b7193f;       /* Rubinrot: Flächen (Buttons, Telefonfeld, Markierungen) mit weißer Schrift */
  --accent-hover: #9e1536;
  --accent-line: #d6284f;  /* helleres Rubin: Linien, Rauten, Balken (dekorativ) */
  --accent-text: #f27a93;  /* helles Rubin: kleine farbige Texte auf Dunkel (>= 4,5:1) */
  --band: #e2e5e7;         /* Fließtext auf Dunkel (Mittelhellgrau) */
  --white: #ffffff;        /* Überschriften */
  --mute: #b4b9bd;         /* Sekundärtext */
  --field: #15181a;        /* Eingabefelder */
  --error: #ff8f80;
  --focus: var(--accent-text);

  --font-body: "Barlow", "Arial Narrow", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-h2: clamp(2.5rem, 3.6vw + 1.2rem, 4.75rem);
  --fs-display: clamp(2.6rem, 5.2vw + 1rem, 6.25rem);
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 78rem;
  --cut: clamp(1.5rem, 3vw, 3rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6.5rem; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--band); font: 400 var(--fs-body)/1.65 var(--font-body); overflow-wrap: break-word; overflow-x: clip; }
body::after { /* feine Körnung gegen sterile Flächen, rein dekorativ */
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: .005em; color: var(--white); text-wrap: balance; overflow-wrap: normal; hyphens: manual; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.5rem; line-height: 1.05; letter-spacing: .02em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--accent); color: var(--white); padding: .75rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }
.hl { background: var(--accent); color: var(--white); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Flächen */
.dark, .site-header, .site-footer, .section-raised { background: var(--dark); }

/* Kicker: Satzschreibung statt Versalien, damit nicht alles schreit */
.kicker { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem; font: 600 1rem/1.3 var(--font-body); letter-spacing: .01em; color: var(--accent-text); }
.kicker::before { content: ""; width: 1.75rem; height: 3px; background: var(--accent-line); flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .8rem 1.6rem; border: 2px solid transparent; border-radius: 2px;
  font: 700 1.125rem/1.1 var(--font-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1rem; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost, .btn-line, .btn-outline { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn-ghost:hover, .btn-line:hover, .btn-outline:hover { border-color: var(--white); background: var(--white); color: var(--bg); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* Header */
/* Fester Header: bleibt beim Scrollen oben, leicht durchscheinend */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--dark-line); background: rgba(36, 40, 43, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.header-bar { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.625rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--white); }
.brand-sub { font: 600 .75rem/1.4 var(--font-body); color: var(--accent-text); margin-top: .2rem; }
.brand:hover .brand-name { color: var(--white); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.75rem; }
.main-nav ul a { display: inline-block; padding: .5rem 0; font: 700 1.125rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--band); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.main-nav ul a:hover { color: var(--white); border-bottom-color: rgba(214, 40, 79, .6); }
.main-nav ul a[aria-current="page"] { color: var(--white); border-bottom-color: var(--accent-line); }
.nav-toggle { display: none; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .5rem .9rem; background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .45); border-radius: 2px; font: 700 1rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 56rem) {
  .header-bar { flex-wrap: wrap; gap: 1rem; padding-block: .75rem; }
  .main-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding-bottom: 1rem; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li + li { border-top: 1px solid var(--dark-line); }
  .main-nav ul a { display: block; padding: .9rem 0; font-size: 1.75rem; border-bottom: 0; }
  .main-nav ul a[aria-current="page"] { color: var(--accent-text); }
  .js .nav-toggle { display: inline-flex; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; max-height: calc(100dvh - 5rem); overflow-y: auto; }
}

/* Hero: Vollbild mit Graustufen-Foto */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: grayscale(1) brightness(.5) contrast(1.1); transform: translateY(var(--py, 0)) scale(1.12); will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(27, 30, 33, .97) 0%, rgba(27, 30, 33, .82) 45%, rgba(27, 30, 33, .35) 100%), linear-gradient(0deg, rgba(27, 30, 33, 1) 0%, rgba(27, 30, 33, 0) 35%); }
.hero > .wrap { z-index: 1; }
.hero-inner { padding-block: clamp(5rem, 11vw, 9.5rem) clamp(3rem, 6vw, 5rem); }
.hero h1 { max-width: 13ch; }
.display { font-size: var(--fs-display); line-height: 1; letter-spacing: -.005em; }
.lead { font-size: clamp(1.125rem, .5vw + 1rem, 1.3125rem); line-height: 1.55; max-width: 34rem; margin-top: 1.75rem; color: var(--band); }
.hero-credit { position: absolute; right: var(--gutter); top: 1rem; z-index: 1; margin: 0; font-size: .8125rem; color: var(--mute); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin: 0; border-top: 1px solid var(--dark-line); }
.facts > div { padding: 1.4rem 1.5rem 1.6rem 0; }
.facts > div + div { padding-left: 1.5rem; border-left: 1px solid var(--dark-line); }
.facts dt { font: 600 .9375rem/1.3 var(--font-body); color: var(--accent-text); }
.facts dd { margin: .35rem 0 0; font: 700 1.5rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--white); }

/* Laufband: ruhiger in Graphit, Orange nur als Raute */
.ticker { background: var(--dark); color: var(--white); overflow: hidden; border-block: 1px solid var(--dark-line); }
.ticker-track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 1.75rem; padding: 1rem 0 1rem 1.75rem; font: 700 clamp(1.25rem, 1vw + 1rem, 1.75rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ticker span::after { content: ""; width: .5rem; height: .5rem; background: var(--accent-line); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sektionen */
.section { padding-block: var(--space-section) calc(var(--space-section) + 1rem); position: relative; }
.angled { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-block: calc(var(--space-section) + var(--cut)); margin-block: calc(var(--cut) * -1); z-index: 1; }
.section-head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head > p:not(.kicker) { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--mute); max-width: 36rem; }
.section-head .btn { margin-top: 2rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.section-head-row .btn { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split .section-head { margin-bottom: 0; }
.note { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--mute); }

/* Bild-Features (Schwerpunkt) – gleiche Bildsprache wie die Kacheln, größer */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature { position: relative; min-height: clamp(24rem, 36vw, 32rem); overflow: hidden; background: var(--dark-2); display: flex; align-items: flex-end; }
.feature picture { position: absolute; inset: 0; }
.feature img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(1) contrast(1.05); transform: translateY(var(--py, 0)) scale(var(--s, 1.14)); transition: filter .4s, transform .6s var(--ease); }
/* Bildausschnitt je Motiv: Steuergerät bzw. Laptop bleibt im Bild */
.focus-ecu img { object-position: 28% 45%; }
.focus-laptop img { object-position: 78% 40%; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 22, 24, .92) 8%, rgba(20, 22, 24, .55) 40%, rgba(20, 22, 24, 0) 65%); }
.feature::before { content: ""; position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 4px; background: var(--accent-line); transition: width .35s var(--ease); }
.feature:hover img { filter: grayscale(0) brightness(1.08); --s: 1.19; }
.feature:hover::before { width: 100%; }
.feature-body { position: relative; z-index: 1; padding: clamp(1.5rem, 3vw, 2.5rem); max-width: 34rem; }
.feature-no { display: block; font: 700 1.125rem/1 var(--font-display); letter-spacing: .1em; color: var(--accent-text); margin-bottom: .75rem; }
.feature h3 { font-size: clamp(2.5rem, 3vw + 1.2rem, 3.75rem); margin-bottom: .75rem; }
.feature p { color: var(--band); font-size: 1.125rem; }

/* Bildkarten (Leitbild – unverändert) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { position: relative; display: block; height: 100%; overflow: hidden; background: var(--dark-2); color: var(--white); text-decoration: none; }
.card picture { aspect-ratio: 4 / 3; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.72) contrast(1.1); transition: filter .35s, transform .5s; }
.card-title { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: linear-gradient(to top, rgba(20, 22, 24, .92), rgba(20, 22, 24, 0)); font: 700 1.625rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.card-title::after { content: "→"; color: var(--accent-text); transition: transform .2s; }
a.card:hover, a.card:focus-visible { color: var(--white); }
a.card:hover img, a.card:focus-visible img, .cards-text .card:hover img { filter: none; transform: scale(1.04); }
a.card:hover .card-title::after { transform: translateX(4px); }
.card::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 0; height: 4px; background: var(--accent-line); transition: width .3s; }
.card:hover::before { width: 100%; }
.cards-text .card picture { aspect-ratio: 3 / 2; }
.card-body { padding: 1.25rem 1.4rem 1.5rem; }
.card-body h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.card-body p { color: var(--mute); font-size: var(--fs-small); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 2rem 1.5rem 1.75rem; background: var(--dark-2); overflow: hidden; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 3.5rem; height: 4px; background: var(--accent-line); transition: width .35s var(--ease); }
.steps li:hover::before { width: 100%; }
.steps li::after { content: counter(step, decimal-leading-zero); position: absolute; right: .75rem; bottom: -.75rem; font: 700 6rem/1 var(--font-display); color: rgba(255, 255, 255, .05); pointer-events: none; }
.steps h3 { position: relative; font-size: 1.625rem; margin-bottom: .75rem; }
.steps p { position: relative; color: var(--mute); }

/* Fragen: offene Liste statt Akkordeon */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4rem); margin: 0; }
.qa > div { border-top: 2px solid var(--dark-line); padding-top: 1.5rem; position: relative; }
.qa > div::before { content: ""; position: absolute; left: 0; top: -2px; width: 2.5rem; height: 2px; background: var(--accent-line); }
.qa dt { font: 700 1.5rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--white); margin-bottom: .75rem; }
.qa dd { margin: 0; color: var(--mute); }

/* Anrufband mit Bild */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(5rem, 9vw, 8rem); border-top: 4px solid var(--accent-line); }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.3) contrast(1.1); transform: translateY(var(--py, 0)) scale(1.15); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(183, 25, 63, .95) 0%, rgba(158, 21, 54, .85) 45%, rgba(27, 30, 33, .7) 100%); }
.cta-band .wrap { z-index: 1; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.cta-phone { display: inline-flex; align-items: center; gap: .15em; font: 700 clamp(2.75rem, 6.5vw + .5rem, 6.5rem)/.9 var(--font-display); letter-spacing: -.005em; text-decoration: none; color: var(--white); }
.cta-phone .icon { width: .7em; height: .7em; margin-right: .15em; }
.cta-phone:hover { color: var(--white); text-decoration: underline; text-decoration-thickness: 4px; }
.cta-grid .btn { margin-top: 1.25rem; }
.cta-band .kicker { color: var(--white); }
.cta-band .kicker::before { background: var(--white); }
.cta-band .btn-primary { background: var(--white); color: var(--accent); }
.cta-band .btn-primary:hover { background: var(--band); color: var(--accent); }

/* Seitenkopf */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--dark-line); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); }

/* Leistungen */
.panel { margin-top: 1rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--dark-2); }
.signs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.signs h3 { font-size: 2rem; margin-bottom: 1rem; }
.signs p { color: var(--mute); }
.check-list li { position: relative; padding: .75rem 0 .75rem 1.9rem; border-bottom: 1px solid var(--dark-line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .55rem; height: .55rem; background: var(--accent-line); transform: rotate(45deg); }

.rows { border-top: 2px solid var(--dark-line); }
.rows > li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--dark-line); }
.row-no { font: 700 1.75rem/1 var(--font-display); color: var(--accent-text); }
.rows h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.rows p { color: var(--mute); }

/* Über uns */
.figure { margin: 0 0 clamp(3rem, 6vw, 5rem); position: relative; }
.figure picture { overflow: hidden; border-top: 4px solid var(--accent-line); }
.figure img { filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.figure:hover img { filter: none; }
.figure figcaption { margin-top: .75rem; font-size: var(--fs-small); color: var(--mute); }
.lead-dark { font: 700 clamp(1.75rem, 1.5vw + 1.2rem, 2.5rem)/1.05 var(--font-display); text-transform: uppercase; color: var(--white); }
.prose { max-width: 44rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.contact-phone { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.6rem; background: var(--accent); color: var(--white); text-decoration: none; font: 700 clamp(2rem, 2vw + 1.2rem, 2.75rem)/1 var(--font-display); transition: background-color .2s; }
.contact-phone .icon { width: 2rem; height: 2rem; }
.contact-phone .label { display: block; margin-bottom: .35rem; font: 600 .9375rem/1.3 var(--font-body); }
.contact-phone:hover { background: var(--accent-hover); color: var(--white); }
.contact-phone:focus-visible { outline-color: var(--white); }
.contact-list { margin: 1.5rem 0 0; border-top: 2px solid var(--dark-line); }
.contact-list > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--dark-line); }
.contact-list dt { font: 600 .9375rem/1.7 var(--font-body); color: var(--accent-text); }
.contact-list dd { margin: 0; }
.map { display: flex; flex-direction: column; min-height: 24rem; background: var(--dark-2); border-top: 4px solid var(--accent-line); }
.map-consent { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 3rem); }
.map-consent p { max-width: 30rem; margin: 0; color: var(--mute); }
.map-consent .map-title { font: 700 2rem/1 var(--font-display); text-transform: uppercase; color: var(--white); }
.map iframe { flex: 1; width: 100%; min-height: 24rem; border: 0; }
.map-foot { margin: 0; padding: .9rem 1.25rem; border-top: 1px solid var(--dark-line); font-size: var(--fs-small); color: var(--mute); }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.form-grid .section-head > p { color: var(--mute); margin-top: 1.25rem; }
.form { display: grid; gap: 1.25rem; background: var(--dark-2); border-top: 4px solid var(--accent-line); padding: clamp(1.25rem, 3.5vw, 2.5rem); }
.form .note { margin: 0; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--white); }
.optional { font-weight: 400; color: var(--mute); }
.field input, .field textarea { width: 100%; padding: .85rem .9rem; border: 2px solid #7a8086; border-radius: 2px; background: var(--field); color: var(--white); font: inherit; transition: border-color .2s; }
.field input:hover, .field textarea:hover { border-color: var(--mute); }
.field input::placeholder { color: #8f959a; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 0; border-color: var(--accent-text); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; color: var(--error); font-weight: 600; font-size: var(--fs-small); }
.form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { background: var(--field); border-top: 3px solid var(--accent-line); padding: 1rem; }

/* Rechtstexte */
.legal h2 { font-size: 2rem; margin: 2.75rem 0 .75rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.legal ul { list-style: square; padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: .4rem; }
.legal li::marker { color: var(--accent-text); }
.legal a { color: var(--white); }

/* Footer */
.site-footer { border-top: 1px solid var(--dark-line); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 60px; height: 60px; }
.footer-brand p { color: var(--mute); }
.footer-brand strong { color: var(--white); font: 700 1.5rem/1.3 var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.site-footer .label { margin: 0 0 .9rem; font: 600 .9375rem/1.3 var(--font-body); color: var(--accent-text); }
.site-footer ul li { margin-bottom: .1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul a, .site-footer address a { display: inline-block; padding-block: .25rem; }
.footer-base { border-top: 1px solid var(--dark-line); padding-block: 1.25rem; font-size: var(--fs-small); color: var(--mute); }



/* Leistungskarten mit aufklappbarem Detailtext */
.cards-text .card { display: flex; flex-direction: column; }
.cards-text .card-body { flex: 1; display: flex; flex-direction: column; }
.more { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--dark-line); }
.card-body > p { margin-bottom: 1.25rem; }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; font: 700 1.0625rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); transition: color .2s; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border: 1px solid currentColor; font: 600 1.125rem/1 var(--font-body); transition: transform .25s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more summary:hover { color: var(--white); }
.more summary:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.more p { margin: .5rem 0 0; color: var(--band); font-size: var(--fs-small); line-height: 1.6; }
.cards-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; margin-top: 2rem; }
.cards-cta .note { margin: 0; }

/* Riesiges Hintergrundwort, wandert beim Scrollen seitlich (dekorativ) */
.has-bgword { overflow: clip; }
.has-bgword > .wrap { z-index: 1; }
.bg-word { position: absolute; left: 0; top: clamp(2rem, 5vw, 4rem); z-index: 0; white-space: nowrap; pointer-events: none;
  font: 700 clamp(7rem, 19vw, 20rem)/.8 var(--font-display); text-transform: uppercase; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07); transform: translateX(var(--px, 0)); will-change: transform; }

/* Header beim Scrollen: kompakter, mit Schatten */
.header-bar { transition: min-height .35s var(--ease); }
.brand img { transition: width .35s var(--ease), height .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.site-header.is-scrolled .header-bar { min-height: 4rem; }
.site-header.is-scrolled .brand img { width: 38px; height: 38px; }

/* Bewegung – nur aktiv, wenn JS läuft und keine reduzierte Bewegung gewünscht ist */
@keyframes hero-zoom { from { transform: scale(1.15); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.motion .hero-bg { animation: hero-zoom 2.4s var(--ease) both; }
.motion .hero-inner > *, .motion .page-hero .wrap > * { animation: rise 1s var(--ease) both; }
.motion .hero-inner > :nth-child(2), .motion .page-hero .wrap > :nth-child(2) { animation-delay: .12s; }
.motion .hero-inner > :nth-child(3), .motion .page-hero .wrap > :nth-child(3) { animation-delay: .24s; }
.motion .hero-inner > :nth-child(4) { animation-delay: .36s; }

.motion .reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.motion .reveal.in { opacity: 1; transform: none; }
/* Bilder öffnen sich wie ein Vorhang */
.motion .feature.reveal picture, .motion .card.reveal picture, .motion .figure.reveal picture { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + .15s); }
.motion .feature.reveal.in picture, .motion .card.reveal.in picture, .motion .figure.reveal.in picture { clip-path: inset(0 0 0 0); }

/* Responsive */
@media (max-width: 64rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 48rem) {
  .features, .qa, .split, .cta-grid, .signs, .contact-grid, .form-grid, .field-row { grid-template-columns: 1fr; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--dark-line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero::after { background: linear-gradient(0deg, rgba(27, 30, 33, .98) 0%, rgba(27, 30, 33, .8) 60%, rgba(27, 30, 33, .55) 100%); }
  .hero-credit { top: auto; bottom: .5rem; }
}
@media (max-width: 30rem) {
  .cards, .steps { grid-template-columns: 1fr; }
  .cards-cta .btn { width: 100%; }
  .contact-phone { padding: 1.1rem; font-size: 1.75rem; gap: .75rem; }
  .contact-list > div { grid-template-columns: 1fr; gap: .1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.25rem; }
  .nav-toggle { padding: .5rem .7rem; }
  .actions .btn { width: 100%; }
}
@media (max-width: 22.5rem) {
  .nav-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { min-width: 2.75rem; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .btn:active, a.card:hover img { transform: none; }
}
