/* ==========================================================================
   Stephan Siegele Industrievertretungen – iv-siegele.de
   Farbwelt in Anlehnung an die Hausfarben des Drahtwerk Elisental.
   Keine externen Abhängigkeiten (keine CDN, keine Webfonts, keine Cookies).
   ========================================================================== */

/* --------------------------------------------------------------- Farben & Maße */
:root {
  /* Markenfarben */
  --navy: #00203e;
  --navy-800: #052c50;
  --navy-700: #0b3c68;
  --blue: #0069b4;
  --blue-dark: #005490;
  --lime: #b6ff47;

  /* Neutrale Töne */
  --steel-50: #f5f8fa;
  --steel-100: #e9eef1;
  --steel-200: #d7e0e6;
  --steel-400: #95acba;
  --ink: #10222f;
  --muted: #4f6c7d;
  --white: #fff;

  /* Flächen */
  --surface: var(--white);
  --surface-alt: var(--steel-50);
  --line: var(--steel-200);

  /* Maße */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --section-y: clamp(3.5rem, 8vw, 7rem);

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(0, 32, 62, .06), 0 2px 8px rgba(0, 32, 62, .05);
  --shadow-md: 0 2px 4px rgba(0, 32, 62, .06), 0 12px 32px rgba(0, 32, 62, .09);
  --shadow-lg: 0 4px 8px rgba(0, 32, 62, .07), 0 24px 56px rgba(0, 32, 62, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------- Grundlagen */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Platz für den fixierten Kopfbereich beim Ansteuern von Ankern */
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .55vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }

ul { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

strong { font-weight: 700; color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--blue); color: #fff; }

/* -------------------------------------------------------------------- Bausteine */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--line); }

.section--navy {
  background: var(--navy);
  color: #dbe6ee;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #cdefa0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Abschnittskopf */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 3px;
  background: var(--lime);
  flex: none;
}
.section--navy .eyebrow { color: var(--lime); }
.section--navy .eyebrow::before { background: var(--blue); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .lead { margin-bottom: 0; }

.lead {
  font-size: clamp(1.0625rem, 1rem + .38vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--navy .lead { color: #a9c2d3; }

/* Schaltflächen */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); background: rgba(182, 255, 71, .08); }

.btn--outline { border-color: var(--steel-200); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------------------------------------------------------------- Kopfbereich */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--navy);
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { margin-inline: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li { margin: 0; }

.site-nav a {
  display: block;
  position: relative;
  padding: .55rem .85rem;
  border-radius: var(--radius);
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .3rem;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.site-nav a:hover { color: var(--blue); }
.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav a[aria-current="true"] { color: var(--blue); }

/* a.btn statt .btn: sonst gewinnt `.site-nav a` bei display und color */
.site-nav a.btn {
  display: inline-flex;
  margin-left: .6rem;
  padding: .6rem 1.15rem;
  font-size: .9375rem;
  color: #fff;
}
.site-nav a.btn::after { display: none; }

/* --------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #dbe6ee;
  padding-block: clamp(3rem, 7vw, 6rem);
}

/* Schräge Streifen – Anspielung auf die kursive Elisental-Wortmarke */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(107deg,
      rgba(255, 255, 255, .05) 0 2px,
      transparent 2px 84px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -30%;
  width: 60vw;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(0, 105, 180, .45), transparent 62%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero__lead {
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
  line-height: 1.6;
  color: #b3cadb;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.75rem;
  padding: .4rem .9rem .4rem .5rem;
  border: 1px solid rgba(182, 255, 71, .3);
  border-radius: 999px;
  background: rgba(182, 255, 71, .07);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime);
}
.hero__badge span {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: .35rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy);
  font-size: .6875rem;
  font-weight: 800;
}

.hero__figure { position: relative; }

/* Der blaue Fokusring aus dem Grundlagenteil erreicht auf dem dunklen
   Hero-Untergrund keine 3:1-Kontraststufe; hier deshalb in Limette. */
.hero :focus-visible { outline-color: var(--lime); }

/* ---------------------------------------------------------- Hero-Slideshow */
/* Die drei Produktbilder liegen übereinander und werden überblendet.
   Ohne JavaScript bleibt das erste Bild stehen (Klasse `is-current` steht
   im HTML) und die Bedienleiste bleibt über `hidden` ausgeblendet. */
.slideshow { position: relative; }

/* Fester Bildausschnitt: kein Springen beim Laden und beim Wechsel, auch
   wenn ein späteres Bild ein anderes Seitenverhältnis mitbringt. */
.slideshow__viewport {
  position: relative;
  aspect-ratio: 3 / 2;
}

.slideshow__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .7s var(--ease);
}
/* Das einlaufende Bild liegt oben und deckt das alte zu – so entsteht beim
   Überblenden keine Helligkeitsdelle. */
.slideshow__slide.is-current { z-index: 1; opacity: 1; }

.slideshow__slide picture { height: 100%; }
.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.slideshow__controls {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1.1rem;
}
/* Muss `display: flex` überstimmen, solange main.js nicht gelaufen ist */
.slideshow__controls[hidden] { display: none; }

.slideshow__btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #dbe6ee;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease);
}
.slideshow__btn:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(182, 255, 71, .55);
  color: #fff;
}

.slideshow__toggle .icon-play { display: none; }
.slideshow__toggle.is-paused .icon-pause { display: none; }
.slideshow__toggle.is-paused .icon-play { display: block; }

.slideshow__dots {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin-right: auto;
}

/* Schaltfläche 28 px, damit die Trefferfläche groß genug bleibt; der
   sichtbare Punkt entsteht im ::before. */
.slideshow__dot {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.slideshow__dot::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
  transition: background-color .18s var(--ease), width .18s var(--ease);
}
.slideshow__dot:hover::before { background: rgba(255, 255, 255, .62); }
.slideshow__dot[aria-current]::before { width: 1.4rem; background: var(--lime); }

.hero__caption {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  max-width: 15rem;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(0, 32, 62, .92);
  backdrop-filter: blur(6px);
  font-size: .875rem;
  line-height: 1.4;
  color: #cddbe6;
}
.hero__caption strong { display: block; color: #fff; }

/* ------------------------------------------------------------------ Kennzahlen */
.facts {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
}
.facts__item {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  background: var(--navy-800);
}
.facts__value {
  display: block;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.02em;
}
.facts__value small { font-size: .55em; font-weight: 700; color: var(--lime); }
.facts__label {
  display: block;
  margin-top: .4rem;
  font-size: .875rem;
  line-height: 1.4;
  color: #94b0c4;
}

/* -------------------------------------------------------------------- Raster */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

/* ---------------------------------------------------------------- Leistungen */
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel-400); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .9375rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: var(--steel-100);
  color: var(--blue);
}
.card:hover .card__icon { background: var(--blue); color: #fff; }
.card__icon svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ Produkte */
.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product__media { position: relative; overflow: hidden; background: var(--navy); }
.product__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product:hover .product__media img { transform: scale(1.04); }

.product__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: .4rem .9rem;
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product__body { padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.product__body p { color: var(--muted); font-size: .9375rem; }

.specs {
  margin: 0 0 1.25rem;
  padding: 0;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }

.product .btn { margin-top: auto; align-self: flex-start; }

/* Legierungsübersicht */
.alloys {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.alloys li { margin: 0; }
.alloys span {
  display: inline-block;
  padding: .4rem .85rem;
  border: 1px solid var(--steel-200);
  border-radius: 999px;
  background: #fff;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
}
.section--navy .alloys span {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #e3edf4;
}

/* ------------------------------------------------------------------- Partner */
.partner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.partner__logo {
  width: min(280px, 70%);
  margin-bottom: 1.5rem;
}
.partner__figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.partner__figure figcaption {
  margin-top: .75rem;
  font-size: .8125rem;
  color: var(--steel-400);
}

.partner-card {
  margin-top: 1.75rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}
.partner-card h3 { font-size: 1.0625rem; margin-bottom: .35em; }
.partner-card p { font-size: .9375rem; margin-bottom: .75rem; color: #a9c2d3; }
.partner-card a { font-weight: 600; }

/* ------------------------------------------------------------------ Branchen */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.industries li { margin: 0; }
.industries span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border: 1px solid var(--steel-200);
  border-radius: 999px;
  background: #fff;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.industries span::before {
  content: "";
  width: .4rem;
  height: .4rem;
  border-radius: 999px;
  background: var(--blue);
}
.industries li:hover span { border-color: var(--blue); color: var(--blue); }

/* ------------------------------------------------------------------- Ablauf */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  position: relative;
  margin: 0;
  padding: 0 0 2rem 3.5rem;
  border-left: 2px solid var(--line);
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.25rem;
  top: -.15rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: .9375rem; margin-bottom: 0; }

/* ------------------------------------------------------------------- Kontakt */
.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
}

.contact-list { margin: 0 0 2rem; padding: 0; list-style: none; }
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { flex: none; width: 20px; height: 20px; margin-top: .25rem; color: var(--blue); }
.contact-list .label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .1rem;
}
.contact-list a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--steel-400);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.contact-list a:hover { color: var(--blue); text-decoration-color: currentColor; }
.contact-list address { font-style: normal; font-weight: 600; color: var(--navy); }

/* Karte mit Zwei-Klick-Lösung */
.map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--steel-100);
  aspect-ratio: 4 / 3;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(rgba(0, 32, 62, .82), rgba(0, 32, 62, .82)),
    repeating-linear-gradient(45deg, var(--steel-100) 0 12px, var(--steel-200) 12px 24px);
  color: #cfdde7;
}
.map__consent h3 { color: #fff; font-size: 1.125rem; margin-bottom: .25em; }
.map__consent p { font-size: .875rem; max-width: 34ch; margin-bottom: .5rem; }
.map__consent svg { width: 34px; height: 34px; color: var(--lime); }

/* ------------------------------------------------------------------- Fußzeile */
.site-footer {
  background: var(--navy);
  color: #93aec2;
  font-size: .9375rem;
  padding-block: clamp(2.5rem, 5vw, 4rem) 0;
}
.site-footer h4 {
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: #c3d6e3; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }

.site-footer__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__sub { color: var(--steel-400); }
.site-footer__about { max-width: 34ch; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__bottom li { margin: 0; }

/* --------------------------------------------------------------- Rechtstexte */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal h1 { margin-bottom: .6em; }
.legal h2 {
  margin-top: 2.25em;
  padding-top: .9em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
}
.legal h3 { margin-top: 1.9em; font-size: 1.125rem; }
.legal h4 { margin-top: 1.5em; color: var(--muted); }
.legal p, .legal li { font-size: .9375rem; line-height: 1.7; }
.legal ul { padding-left: 1.3em; }
.legal a { word-break: break-word; }

.legal__toc {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.legal__toc h2 {
  margin: 0 0 .6rem;
  padding: 0;
  border: 0;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__toc ol { margin: 0; padding-left: 1.2em; font-size: .9375rem; }

.note {
  margin: 1.5rem 0;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--lime);
  border-radius: var(--radius);
  background: var(--steel-100);
  font-size: .9375rem;
}
.note p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- 404-Seite */
.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.error-page__code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--steel-200);
  letter-spacing: -.04em;
}

/* ------------------------------------------------------------ Einblenden */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Umbrüche */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 30rem; }
  .hero__caption { left: auto; right: 1rem; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner, .contact-grid, .split { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: .75rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a {
    padding: .9rem .25rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.0625rem;
  }
  .site-nav a::after { display: none; }
  .site-nav a.btn {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0;
    padding: .85rem 1.5rem;
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  /* Auf schmalen Geräten sitzt die Bildunterschrift als Leiste am unteren
     Bildrand. Sie kann hier nicht in den Textfluss rutschen, weil die
     Slideshow-Bilder übereinander liegen und keine Höhe im Fluss belegen. */
  .hero__caption {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-left: 0;
    border-top: 3px solid var(--lime);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: rgba(0, 32, 62, .95);
  }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: auto; flex: 1 1 12rem; }
  .brand__sub { display: none; }
}

/* ------------------------------------------------------ Bewegung & Kontrast */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #2c4859; --line: #8ba3b2; }
}

/* ------------------------------------------------------------------- Druck */
@media print {
  .site-header, .site-footer, .hero__actions, .map, .skip-link, .nav-toggle,
  .slideshow__controls { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .hero, .section--navy, .facts { background: #fff !important; color: #000 !important; }
  .hero h1, .section--navy h2, .section--navy h3 { color: #000 !important; }
  .card, .product { break-inside: avoid; border: 1px solid #999; }
  /* Das Partnerlogo liegt als weiße Freistellung vor und wäre auf Papier unsichtbar */
  .partner__logo { filter: brightness(0); }
}
