/* stahl-kreativ-saar.de – Stylesheet (von Hand gepflegt).
   Nach Änderungen: python3 scripts/build.py (setzt den ?v=<hash> in allen Seiten). */

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

:root {
  /* Farben aus dem Logo: Dunkelblau, Hellblau, Rot – dazu Stahlgrau */
  --steel-950: #0a0d12;
  --steel-900: #0d1117;
  --steel-800: #151b24;
  --steel-700: #212a36;
  --steel-500: #5c6877;
  --steel-300: #aab4c0;
  --steel-100: #e6e9ee;
  --paper: #f4f5f7;
  --white: #fff;
  --ink: #12161d;
  --muted: #55606e;
  --blue: #9bd5f4;
  --blue-deep: #1f6f9c;
  --navy: #221c63;
  --red: #d9000f;
  --red-dark: #b3000c;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(18, 22, 29, .12);
  --radius: 6px;
  --shadow: 0 18px 40px -18px rgba(10, 13, 18, .45);
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
picture { display: block; }
picture img { width: 100%; height: auto; }
a { color: var(--blue-deep); text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.5rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem;
  font-family: var(--head); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; line-height: 1;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark { background: var(--steel-900); color: var(--white); }
.btn-dark:hover { background: var(--navy); color: var(--white); }
.btn-call { background: var(--blue); color: var(--steel-900); padding: .65rem 1rem; font-size: 1.05rem; }
.btn-call:hover { background: var(--white); color: var(--steel-900); }
/* Lichtkante, die beim Überfahren über den Button läuft */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  translate: -120% 0;
}
.btn:hover::after { translate: 120% 0; transition: translate .7s var(--ease); }

.more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--head); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--red);
}
.more .icon { transition: transform .25s var(--ease); }
a.more:hover .icon, .card:hover .more .icon { transform: translateX(5px); }

.eyebrow {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--head); font-weight: 600; font-size: 1.05rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin: 0 0 .8rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 3px; background: currentColor; flex: none; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  color: var(--white);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { height: 56px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.brand:hover { color: var(--white); }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: var(--head); font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-text span { font-size: .78rem; color: var(--steel-300); letter-spacing: .04em; }
.nav ul { display: flex; gap: .3rem; }
.nav a {
  position: relative; display: block; padding: .6rem .8rem;
  font-family: var(--head); font-weight: 600; font-size: 1.15rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--steel-100);
}
.nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 3px;
  background: var(--red); scale: 0 1; transform-origin: left; transition: scale .3s var(--ease);
}
.nav a:hover, .nav a[aria-current] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current]::after { scale: 1 1; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }

/* ---------- Diagonales Band (aus dem Logo) ---------- */
.band {
  position: absolute; top: -20%; bottom: -20%; right: 12%; width: clamp(90px, 14vw, 220px);
  background: var(--blue); opacity: .13;
  border-inline: clamp(6px, .9vw, 14px) solid var(--red);
  transform: skewX(-22deg);
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero, .page-head {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(80rem 40rem at 85% -10%, rgba(155, 213, 244, .16), transparent 60%),
    radial-gradient(50rem 30rem at -10% 110%, rgba(217, 0, 15, .14), transparent 60%),
    var(--steel-900);
}
/* feines Raster wie auf einer Konstruktionszeichnung */
.hero::before, .page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero .band, .page-head .band { z-index: -1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7.5rem);
}
.hero .eyebrow, .page-head .eyebrow { color: var(--blue); }
.hero h1 { margin-bottom: .25em; }
.hero h1 .w { display: inline-block; }
.hero h1 .w:last-child { color: var(--blue); }
.hero .lead, .page-head .lead { color: var(--steel-100); }
.weld {
  height: 4px; width: min(100%, 22rem); margin: 0 0 1.6rem;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 2px; transform-origin: left;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-media { position: relative; padding: 0 0 14% 12%; }
.hero-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-main { border: 1px solid var(--line); }
.hero-side {
  position: absolute; left: 0; bottom: 0; width: 44%;
  border: 5px solid var(--steel-900);
}
.hero-badge {
  position: absolute; right: -.6rem; top: -1.2rem; margin: 0;
  display: flex; align-items: center; gap: .7rem;
  background: var(--white); color: var(--ink); padding: .7rem 1rem; border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: .9rem; line-height: 1.2;
}
.hero-badge .icon { width: 2rem; height: 2rem; color: var(--red); }
.hero-badge strong { display: block; font-family: var(--head); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Laufband ---------- */
.marquee { background: var(--red); color: var(--white); overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee span {
  display: flex; align-items: center; gap: 1.6rem; padding: .7rem 0 .7rem 1.6rem;
  font-family: var(--head); font-weight: 600; font-size: 1.3rem; letter-spacing: .12em;
  text-transform: uppercase; white-space: nowrap;
}
.marquee span::after { content: ""; width: .5rem; height: .5rem; background: var(--white); rotate: 45deg; opacity: .7; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-alt { background: var(--paper); }
.section-dark { background: var(--steel-900); color: var(--white); }
.section-dark .lead { color: var(--steel-300); }
.section-dark .eyebrow { color: var(--blue); }
.section-head { margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head h2 { position: relative; padding-bottom: .45em; margin-bottom: .45em; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 5rem; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 2px;
  transform-origin: left;
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.2rem; margin-bottom: 1em; }

.frame { margin: 0; }
.frame-pic { position: relative; }
.frame picture { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.frame-pic::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; z-index: -1;
  border: 3px solid var(--blue); border-radius: var(--radius);
}
figcaption { font-size: .88rem; color: var(--muted); margin-top: 1.9rem; }
.frame figcaption { padding-left: 1.1rem; border-left: 3px solid var(--red); line-height: 1.3; }
.split-media, .service-media { position: relative; isolation: isolate; }

/* ---------- Fakten ---------- */
.facts { background: var(--steel-900); color: var(--white); border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid li { padding: 2.2rem 1.6rem; border-left: 1px solid var(--line); display: grid; gap: .35rem; align-content: start; }
.facts-grid li:first-child { border-left: 0; padding-left: 0; }
.facts-grid .icon { width: 2.2rem; height: 2.2rem; color: var(--blue); margin-bottom: .4rem; }
.facts-grid strong { font-family: var(--head); font-size: 1.45rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.facts-grid span { color: var(--steel-300); font-size: .95rem; line-height: 1.5; }

/* ---------- Leistungskarten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); color: var(--ink); text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-dark);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card-media { overflow: hidden; position: relative; }
.card-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  scale: 0 1; transform-origin: left; transition: scale .45s var(--ease);
}
.card:hover .card-media::after { scale: 1 1; }
.card-media img { transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-body .more { margin-top: auto; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 1.7rem; right: 1.7rem; top: 1.7rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--steel-300) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step .icon {
  width: 3.4rem; height: 3.4rem; padding: .8rem; margin-bottom: 1.1rem;
  background: var(--steel-900); color: var(--blue); border-radius: 50%;
  box-shadow: 0 0 0 6px var(--white);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.step:hover .icon { background: var(--red); color: var(--white); transform: rotate(-8deg) scale(1.08); }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Referenzbilder ---------- */
.shot {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--steel-800); color: var(--white);
}
.shot picture, .shot img { width: 100%; height: 100%; }
.shot img { transition: transform .7s var(--ease), filter .4s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); filter: brightness(.82); }
.shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .7rem;
  font-size: .88rem; line-height: 1.3;
  background: linear-gradient(transparent, rgba(10, 13, 18, .85));
  opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s var(--ease);
}
.shot:hover .shot-cap, .shot:focus-visible .shot-cap { opacity: 1; translate: 0 0; }
.shots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.4rem; }

/* Galerie: Zeilen gleicher Höhe, jedes Foto in seinem Seitenverhältnis (kein Beschnitt) */
.shots-flow { display: flex; flex-wrap: wrap; gap: .9rem; --row: 230px; }
.shots-flow::after { content: ""; flex-grow: 1000; }
.shots-flow .shot { flex: var(--r) 1 calc(var(--r) * var(--row)); aspect-ratio: var(--r); }
.r-quer { --r: 1.667; }
.r-fast-quadrat { --r: 1.165; }
.r-hoch-breit { --r: .77; }
.r-hoch { --r: .563; }
.gallery-group + .gallery-group { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.gallery-group h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); padding-bottom: .4em; border-bottom: 3px solid var(--steel-100); margin-bottom: 1.2rem; }

/* Sprungmarken unter dem Seitenkopf */
.jump { background: var(--steel-800); border-bottom: 1px solid var(--line); position: sticky; top: 77px; z-index: 40; }
.jump ul { display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; margin-inline: -.8rem; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a {
  display: block; padding: .8rem; white-space: nowrap; text-decoration: none;
  font-family: var(--head); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--steel-300);
}
.jump a:hover { color: var(--blue); }

/* ---------- Großansicht (per JavaScript) ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  background: rgba(10, 13, 18, .96); color: var(--white);
}
.lightbox::backdrop { background: rgba(10, 13, 18, .9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lb-in .3s var(--ease); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 3.5rem 1rem 0; }
.lb-stage img { max-width: min(100%, 1600px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); animation: lb-img .35s var(--ease); }
.lb-bar { display: flex; align-items: center; justify-content: center; gap: 1.2rem; padding: 1rem; text-align: center; font-size: .95rem; }
.lb-count { color: var(--steel-300); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem;
  background: rgba(255, 255, 255, .1); color: var(--white); border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.lb-btn:hover { background: var(--red); transform: scale(1.08); }
.lb-btn svg { width: 1.4rem; height: 1.4rem; }
.lb-close { top: .8rem; right: .8rem; }
.lb-prev { left: .8rem; top: 50%; margin-top: -1.5rem; }
.lb-next { right: .8rem; top: 50%; margin-top: -1.5rem; }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-img { from { opacity: 0; scale: .96; } }

/* ---------- Handlungsaufruf ---------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(115deg, var(--navy), var(--steel-900) 70%);
}
.cta-band::before {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: 58%; width: clamp(70px, 10vw, 150px);
  background: var(--blue); opacity: .14; border-inline: 8px solid var(--red); transform: skewX(-22deg);
}
.cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: var(--steel-100); max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .3em; }
.page-head .lead { margin: 0; }

.services { display: grid; gap: clamp(3.5rem, 8vw, 7rem); }
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.service:nth-child(even) .service-text { order: 2; }
.service .eyebrow::before { display: none; }
.service .eyebrow .icon { width: 1.6rem; height: 1.6rem; }
.service-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.service-thumbs figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.checks { display: grid; gap: .55rem; margin: 1.4rem 0 1.6rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before {
  content: ""; position: absolute; left: .1rem; top: .45em; width: .95rem; height: .5rem;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); rotate: -45deg;
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-card { background: var(--steel-900); color: var(--white); padding: 2rem; border-radius: var(--radius); border-top: 4px solid var(--red); }
.info-card h2 { font-size: 2rem; margin-bottom: .3em; }
.info-card address { color: var(--steel-100); margin-bottom: 1.4rem; }
.contact-list { display: grid; gap: .8rem; }
.contact-list li { display: grid; grid-template-columns: 1.6rem 4.6rem 1fr; gap: .6rem; align-items: center; }
.contact-list .icon { color: var(--blue); }
.contact-list span { color: var(--steel-300); font-size: .88rem; }
.contact-list a { color: var(--white); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); }
.map { margin: 1.6rem 0 0; }
.map picture { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.map figcaption { margin-top: .5rem; font-size: .8rem; }
.map-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.2rem; }

.form-card { background: var(--paper); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); border-top: 4px solid var(--blue); }
.form-card h2 { font-size: 2rem; margin-bottom: .3em; }
.form-card > p { color: var(--muted); }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
label { font-weight: 600; font-size: .92rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .9rem; background: var(--white);
  border: 1.5px solid var(--steel-300); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(155, 213, 244, .6); }
textarea { resize: vertical; min-height: 9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-weight: 400; margin-bottom: 1.4rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--red); }
.form-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Fuß ---------- */
.site-footer { background: var(--steel-950); color: var(--steel-300); font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.footer-brand img { width: 130px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 20rem; }
.site-footer h2 { font-size: 1.15rem; letter-spacing: .12em; color: var(--white); margin-bottom: .9rem; }
.site-footer a { color: var(--steel-100); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer li { margin-bottom: .35rem; }
.site-footer address { margin-bottom: 1em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .service, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 620px; }
  .service:nth-child(even) .service-text { order: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .steps::before { display: none; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts-grid li:nth-child(-n+2) { border-top: 0; }
  .facts-grid li:nth-child(odd) { padding-right: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .frame-pic::before { inset: .8rem -.6rem -.8rem .8rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 170px; }
  .header-inner { flex-wrap: wrap; gap: 0 1rem; padding-top: .5rem; min-height: 0; }
  .brand img { height: 46px; }
  .nav { order: 3; width: 100%; }
  .nav ul { justify-content: space-between; gap: 0; }
  .nav a { padding: .55rem .3rem; font-size: 1.05rem; }
  .nav a::after { left: .3rem; right: .3rem; }
  .btn-call span { display: none; }
  .btn-call { padding: .7rem; border-radius: 50%; }
  .jump { top: 100px; }
  .shots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .shots-flow { --row: 150px; gap: .6rem; }
  .shot-cap { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand-text span { display: none; }
  .cards, .field-row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-badge { right: 0; top: -1.6rem; }
  .hero-media { margin-top: 1.6rem; }
  .eyebrow { font-size: .95rem; letter-spacing: .12em; }
  .eyebrow::before { width: 1.4rem; }
  .lead { font-size: 1.08rem; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .steps { gap: 1.6rem 1rem; }
  .facts-grid li { padding-block: 1.5rem; }
  .contact-list li { grid-template-columns: 1.6rem 1fr; }
  .contact-list span { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 4.5rem; }
}

/* ---------- Animationen ----------
   Grundzustand ist immer „sichtbar“. Versteckt wird nur, wenn site.js läuft
   (html.js) – und nie bei „Bewegung reduzieren“. Es werden translate/scale
   animiert (nicht transform), damit Hover-Effekte danach weiter funktionieren. */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  /* Start: Wörter der Überschrift nacheinander, dann Schweißnaht, Text, Buttons */
  .hero .eyebrow, .hero .lead, .hero-actions, .page-head .eyebrow, .page-head h1, .page-head .lead {
    animation: rise .8s var(--ease) backwards;
  }
  .hero h1 .w { animation: word .8s var(--ease) backwards; }
  .hero h1 .w:nth-child(1) { animation-delay: .1s; }
  .hero h1 .w:nth-child(2) { animation-delay: .2s; }
  .hero h1 .w:nth-child(3) { animation-delay: .3s; }
  .hero h1 .w:nth-child(4) { animation-delay: .4s; }
  .weld { animation: weld 1.1s .6s var(--ease) backwards; position: relative; }
  .weld::after {
    content: ""; position: absolute; right: -3px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
    border-radius: 50%; background: var(--white);
    box-shadow: 0 0 12px 4px rgba(155, 213, 244, .9), 0 0 30px 10px rgba(155, 213, 244, .45);
    animation: glow 1.9s .6s ease-out forwards;
  }
  .hero .lead { animation-delay: .7s; }
  .hero-actions { animation-delay: .85s; }
  .page-head h1 { animation-delay: .1s; }
  .page-head .lead { animation-delay: .22s; }
  .band { animation: band 1.4s var(--ease) backwards; }
  .hero-main { animation: wipe 1.2s .25s var(--ease) backwards; }
  .hero-main img { animation: kenburns 16s ease-out forwards; }
  .hero-side { animation: pop .8s .8s var(--ease) backwards; }
  .hero-badge { animation: pop .7s 1.1s var(--ease) backwards, float 6s 2s ease-in-out infinite; }
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  /* Beim Scrollen (site.js setzt .in, --d staffelt gleichzeitig Erscheinendes) */
  .js .rv:not(.in), .js .cards > :not(.in), .js .steps > :not(.in), .js .shots > :not(.in) { opacity: 0; }
  .js .rv.in, .js .cards > .in, .js .steps > .in, .js .shots > .in {
    animation: rise .8s var(--d, 0ms) var(--ease) backwards;
  }
  .js .rv-img:not(.in) picture { clip-path: inset(0 100% 0 0); }
  .js .rv-img.in picture { animation: wipe 1.1s var(--d, 0ms) var(--ease) backwards; }
  .js .rv-img.in img { animation: settle 1.5s var(--d, 0ms) var(--ease) backwards; }
  .js .rv-img:not(.in) .frame-pic::before, .js .rv-img:not(.in) figcaption { opacity: 0; }
  .js .rv-img.in .frame-pic::before { animation: frame .9s calc(var(--d, 0ms) + .5s) var(--ease) backwards; }
  .js .rv-img.in figcaption { animation: rise .7s calc(var(--d, 0ms) + .6s) var(--ease) backwards; }
  .js .section-head:not(.in) h2::after { scale: 0 1; }
  .js .section-head.in h2::after { animation: weld .9s calc(var(--d, 0ms) + .35s) var(--ease) backwards; }

  /* Lesefortschritt unter der Kopfzeile (Chrome, Edge, Safari 26+) */
  @supports (animation-timeline: scroll()) {
    .progress {
      background: linear-gradient(90deg, var(--red), var(--blue));
      transform-origin: left; scale: 0 1;
      animation: progress linear both; animation-timeline: scroll(root);
    }
  }
}

@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@keyframes word { from { opacity: 0; translate: 0 .5em; rotate: 3deg; } }
@keyframes weld { from { scale: 0 1; } }
@keyframes glow { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes band { from { opacity: 0; translate: 40% 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { scale: 1.12; } }
@keyframes kenburns { from { scale: 1.1; } to { scale: 1; } }
@keyframes pop { from { opacity: 0; scale: .8; translate: 0 20px; } }
@keyframes float { 50% { translate: 0 -8px; } }
@keyframes frame { from { opacity: 0; translate: -1.1rem -1.1rem; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes progress { to { scale: 1 1; } }

@media print {
  .site-header, .marquee, .jump, .cta-band, .progress, .btn { display: none !important; }
  .js .rv, .js .rv-img picture, .js .cards > *, .js .steps > *, .js .shots > * { opacity: 1 !important; clip-path: none !important; }
  .hero, .page-head, .section-dark, .facts { background: none; color: #000; }
}
