/*
 * jentner.de – Globales Stylesheet
 * Alle Komponenten nach SKILL.md V1.1
 * Stand: 2026-07-22
 */

/* ======================================
   SELF-HOSTED FONTS (DSGVO-konform)
   Dateien: assets/fonts/montserrat-{400,500,600,700,800}.woff2
   Download: https://gwfh.mranftl.com/fonts/montserrat
   ====================================== */

@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* ======================================
   DESIGN TOKENS
   ====================================== */

:root {
  /* Farben */
  --c-red:               #D20A11;
  --c-red-dark:          #A50509;
  --c-ink:               #333333;
  --c-text:              #555555;
  --c-line:              #E5E5E5;
  --c-bg:                #FFFFFF;
  --c-bg-soft:           #F5F5F5;
  --c-white:             #FFFFFF;
  --c-check:             #70AD47;
  --overlay:             rgba(0, 0, 0, .45);
  --text-on-dark-muted:  rgba(255, 255, 255, .7);

  /* Typografie */
  --f-sans:      "Montserrat", Arial, sans-serif;
  --fs-display:  clamp(1.75rem, 5.5vw, 5rem);
  --fs-h1:       clamp(1.75rem, 3.6vw, 3rem);
  --fs-h2:       clamp(1.625rem, 2.6vw, 2.5rem);
  --fs-h3:       1.25rem;
  --fs-lead:     clamp(1rem, 1.2vw, 1.125rem);
  --fs-body:     1rem;
  --fs-small:    0.875rem;
  --fs-card:     1rem;
  --fs-xs:       0.75rem;
  --fs-stat:     clamp(2.5rem, 4vw, 3.5rem);
  --fs-accent:   1.5rem;
  --fs-accent-lg: 1.75rem;
  --fs-subhead:  clamp(1.25rem, 2vw, 1.75rem);
  --fs-year:     clamp(3.5rem, 10vw, 8rem);

  /* Abstände */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  /* Layout */
  --maxw: 1400px;
}

/* ======================================
   RESET / BASIS
   ====================================== */

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

html {
  scroll-behavior: smooth;
  /* Sprungmarken (#eigenschaften usw.) nicht unter der Sticky-Navigation (73 px) verstecken */
  scroll-padding-top: calc(73px + var(--sp-3));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 var(--sp-3);
}

p:last-child {
  margin-bottom: 0;
}

/* ======================================
   CONTAINER / LAYOUT
   ====================================== */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(var(--sp-4), 5vw, var(--sp-6));
}

section {
  padding: var(--sp-7) 0;
}

/* ======================================
   HINTERGRUND-UTILS
   ====================================== */

.bg-white { background: var(--c-bg); }
.bg-soft  { background: var(--c-bg-soft); }


/* ======================================
   ABSCHNITTS-TYPOGRAFIE
   ====================================== */

.section-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 .75rem;
}

.section-title {
  color: var(--c-ink);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -.5px;
  text-transform: uppercase;
  margin: 0 0 var(--sp-4);
  line-height: 1.15;
}


.section-subtitle {
  font-family: var(--f-sans);
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--c-red);
  text-transform: none;
  line-height: 1.3;
  margin: -.75rem 0 var(--sp-3);
}

.section-lead {
  color: var(--c-text);
  font-size: var(--fs-body);
  line-height: 1.7;
  max-width: none;
  margin: calc(-1 * var(--sp-2)) 0 var(--sp-4);
}

/* ======================================
   BUTTONS
   ====================================== */

.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: .3px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
}

.btn--primary {
  background: var(--c-red);
  color: var(--c-white);
  border-color: var(--c-red);
}

.btn--primary:hover {
  background: var(--c-red-dark);
  border-color: var(--c-red-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}

.btn--ghost:hover {
  background: var(--c-white);
  color: var(--c-ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .h1--desktop { display: none; }
  .h1--mobile { display: block; }
  .btn {
    width: 100%;
    text-align: center;
  }
  .btn-row {
    flex-direction: column;
  }
}

/* ======================================
   CHIPS
   ====================================== */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: var(--sp-3);
}

.chip-label {
  width: 100%;
  color: var(--c-text);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.chip {
  display: inline-block;
  padding: .4rem 1rem;
  border: 1px solid var(--c-red);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-red);
  text-decoration: none;
}

/* ======================================
   LOGO-STAMP
   ====================================== */

.logo-stamp {
  position: absolute;
  right: clamp(16px, 2.5vw, 32px);
  bottom: 0;
  width: clamp(160px, 28vw, 420px);
  aspect-ratio: 21 / 8;
  pointer-events: none;
  z-index: 3;
}

.logo-stamp img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

/* ======================================
   SKIP-LINK (Barrierefreiheit)
   ====================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: .75rem 1.5rem;
  background: var(--c-red);
  color: var(--c-white);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* Fokusrahmen (Barrierefreiheit): nur bei Tastaturbedienung (:focus-visible), nie beim Mausklick.
   Rot mit Abstand, damit er auch an roten Buttons sichtbar bleibt; auf Foto, Rot und Dunkel weiß. */
:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}
.hero:not(.hero--light) :focus-visible,
.news-hero :focus-visible,
.bg-section :focus-visible,
.history-scene :focus-visible,
.quote-scene :focus-visible,
.cta-banner--red :focus-visible,
.cta-banner--image :focus-visible,
.teaser-bar:focus-visible,
.card--overlay:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--c-white);
}

/* ======================================
   NAV
   ====================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  height: 72px;
}

.nav__logo {
  display: block;
  flex-shrink: 0;
}

.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-ink);
}

.nav__menu li {
  position: relative;
}

.nav__menu > li + li::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 50%;
  width: 1px;
  height: 1.2rem;
  background: var(--c-line);
  transform: translateY(-50%);
}

.nav__menu > li > a {
  position: relative;
  padding: .35rem 0;
  display: inline-block;
  transition: color .15s ease;
}
/* aria-current="page" = die Seite selbst, "true" = uebergeordneter Bereich */
.nav__menu > li > a[aria-current] { color: var(--c-red); }

.nav__menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav__menu > li > a:hover { color: var(--c-red); }
.nav__menu > li > a:hover::after { transform: scaleX(1); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav__lang {
  display: none; /* Sprachumschalter vorerst ausgeblendet (EN-Version fehlt noch), Markup bleibt im Header */
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-ink);
}

.nav__lang strong { font-weight: 600; color: var(--c-ink); }

.nav__cta {
  display: inline-block;
  background: var(--c-red);
  color: var(--c-white);
  padding: .65rem 1.25rem;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: .3px;
  border-radius: 999px;
  transition: background .15s ease;
  text-decoration: none;
}

.nav__cta:hover { background: var(--c-red-dark); }

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .12);
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: .5rem 0;
  padding-top: calc(.5rem + 8px);
  z-index: 100;
}

@media (hover: hover) {
  .nav__menu li:hover .nav__dropdown { display: block; }
}

.nav__toggle { display: none; }

.nav__dropdown li a {
  display: block;
  padding: .55rem 1.1rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
}

.nav__dropdown li a::after { display: none !important; }
.nav__dropdown li a:hover { color: var(--c-red); background: var(--c-bg-soft); }

/* Level-3-Dropdown: nested Submenüs innerhalb .nav__dropdown */
.nav__dropdown li { position: relative; }
.nav__dropdown .nav__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  padding: .55rem 1.1rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-ink);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  font-family: inherit;
  line-height: inherit;
}
.nav__dropdown .nav__parent:hover { color: var(--c-red); background: var(--c-bg-soft); }
.nav__dropdown .nav__parent svg { flex-shrink: 0; transition: transform .2s ease; }

/* Level-3 mit eigenem Linkziel (Zinn, Nickel, Chemisch Nickel, Passivierung):
   Pfeil sitzt als Deko-SVG im Link selbst, nicht im (auf Desktop verborgenen) Toggle-Button */
.nav__dropdown li.nav__has-link > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.nav__dropdown li.nav__has-link > a .nav__caret { flex-shrink: 0; }
.nav__dropdown .nav__submenu {
  display: none;
  position: absolute;
  top: -8px;
  left: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.12);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: .5rem 0;
  z-index: 101;
}
@media (hover: hover) {
  .nav__dropdown li:hover > .nav__submenu { display: block; }
}
.nav__dropdown .nav__submenu li a {
  display: block;
  padding: .55rem 1.1rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
}
.nav__dropdown .nav__submenu li a:hover { color: var(--c-red); background: var(--c-bg-soft); }

/* Desktop-Untermenüs per Tastatur (Barrierefreiheit): Der Pfeil-Knopf neben dem Menüpunkt
   ist unsichtbar und erscheint nur bei Tastaturfokus. Enter öffnet das Untermenü (li.is-open),
   Escape schließt es. Mausbedienung (Hover) bleibt unverändert. */
@media (min-width: 1051px) {
  .nav__menu .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 22px;
    height: 22px;
    padding: 0;
    background: var(--c-white);
    border: 0;
    border-radius: 3px;
    color: var(--c-red);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
  }
  .nav__menu > li > .nav__toggle { top: 50%; right: -24px; transform: translateY(-50%); }
  .nav__dropdown li.nav__has-link > .nav__toggle { top: 50%; right: .8rem; transform: translateY(-50%); }
  .nav__menu .nav__toggle:focus-visible { opacity: 1; pointer-events: auto; }
  .nav__menu li.is-open > .nav__toggle svg { transform: rotate(180deg); }
  .nav__menu > li.is-open > .nav__dropdown,
  .nav__dropdown li.is-open > .nav__submenu { display: block; }
}

/* Hamburger-Button (nur mobil sichtbar) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.nav__burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] .nav__burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__menu { gap: 1.6rem; font-size: var(--fs-small); }
}

@media (max-width: 1050px) {
  .nav__inner { gap: .5rem; padding: 0 1rem; }
  .nav__logo img { height: 28px; }
  .nav__cta { padding: .55rem .9rem; }
  .nav__menu, .nav__lang { display: none; }
  .nav__burger { display: flex; }

  .nav__menu > li + li::before { display: none; }

  /* Mobile-Menü-Panel */
  .nav__menu.is-open {
    display: flex !important;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    background: var(--c-white);
    border-bottom: 3px solid var(--c-red);
    box-shadow: 0 8px 24px -8px rgba(0,0,0,.15);
    padding: .5rem 0 var(--sp-3);
    z-index: 40;
    list-style: none;
  }
  .nav__menu.is-open > li {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid var(--c-line);
  }
  .nav__menu.is-open > li > a {
    flex: 1;
    display: block;
    padding: .75rem clamp(1rem, 5vw, 2rem);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--c-ink);
    border-bottom: none;
  }
  .nav__menu.is-open > li > a:hover { color: var(--c-red); }
  .nav__menu.is-open .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-text);
    padding: 0;
    transition: color .15s ease;
  }
  .nav__menu.is-open .nav__toggle:hover,
  .nav__menu.is-open li.is-open > .nav__toggle { color: var(--c-red); }
  .nav__menu.is-open .nav__toggle svg { transition: transform .25s ease; }
  .nav__menu.is-open li.is-open > .nav__toggle svg { transform: rotate(180deg); }

  .nav__menu.is-open > li > .nav__dropdown {
    display: none;
    width: 100%;
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--c-line);
    min-width: auto;
    padding: .25rem 0 .5rem clamp(1.5rem, 7vw, 3rem);
    background: var(--c-bg-soft);
  }
  .nav__menu.is-open > li.is-open > .nav__dropdown { display: block; }
  .nav__menu.is-open .nav__dropdown li a {
    padding: .4rem 0;
    font-size: var(--fs-small);
    white-space: normal;
    color: var(--c-text);
  }
  .nav__menu.is-open .nav__dropdown li a:hover { color: var(--c-red); background: none; }

  /* Level-3 mobile: nested submenu ausklappen */
  .nav__menu.is-open .nav__dropdown .nav__parent {
    display: flex;
    padding: .4rem 0;
    font-size: var(--fs-small);
    color: var(--c-text);
    background: none;
  }
  .nav__menu.is-open .nav__dropdown .nav__parent svg { transition: transform .25s ease; }
  .nav__menu.is-open .nav__dropdown li.is-open > .nav__parent { color: var(--c-red); }
  .nav__menu.is-open .nav__dropdown li.is-open > .nav__parent svg { transform: rotate(180deg); }
  .nav__menu.is-open .nav__dropdown .nav__submenu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    min-width: auto;
    padding: 0 0 .25rem 1rem;
    background: none;
  }
  .nav__menu.is-open .nav__dropdown li.is-open > .nav__submenu { display: block; }
  .nav__menu.is-open .nav__dropdown .nav__submenu li a {
    padding: .35rem 0;
    font-size: var(--fs-small);
    color: var(--c-text);
  }
  .nav__menu.is-open .nav__dropdown .nav__submenu li a:hover { color: var(--c-red); background: none; }

  /* Level-3 mit eigenem Linkziel (Zinn, Nickel, Chemisch Nickel, Passivierung):
     Label-Link und Toggle-Button nebeneinander, analog Level-1 */
  .nav__menu.is-open .nav__dropdown li.nav__has-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav__menu.is-open .nav__dropdown li.nav__has-link > a {
    flex: 1;
  }
  .nav__menu.is-open .nav__dropdown li.nav__has-link > a .nav__caret {
    display: none;
  }
  .nav__menu.is-open .nav__dropdown li.nav__has-link > .nav__submenu {
    width: 100%;
  }
}

/* ======================================
   HERO – STATISCH (3.2)
   ====================================== */

.hero {
  position: relative;
  min-height: clamp(480px, 75vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--sp-8) 0 var(--sp-7);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ausschnitt unten ausrichten, z. B. Defense-Hero (Räder der Drohne sichtbar) */
.hero__bg--bottom img { object-position: center bottom; }

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 2;
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  max-width: 640px;
  width: 100%;
  color: var(--c-white);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

@media (min-width: 601px) { .h1--mobile { display: none; } }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  margin: 0 0 var(--sp-3);
}

@media (max-width: 600px) {
  /* Überschriften skalieren auf schmalen Displays mit, damit lange
     Einzelwörter (Galvanik-Komposita in Versalien) in die Zeile passen. */
  :root { --fs-h2: clamp(1.25rem, 6.4vw, 1.625rem); }
  .hero__title { font-size: clamp(1.5rem, 7.6vw, 2.4rem); }
  /* Lange Einzelwörter in Überschriften nie abschneiden: getrennt wird nur an
     gesetzten Trennstellen (&shy; an der Wortfuge), als Rückfallebene Umbruch im Wort.
     Keine automatische Silbentrennung, die trennt unschön (z. B. „Metallverede-lung"). */
  h1, h2, h3, h4 { hyphens: manual; overflow-wrap: break-word; }
}

.hero__sub {
  font-size: var(--fs-lead);
  color: var(--c-white);
  max-width: 52ch;
  margin: 0 0 var(--sp-4);
  text-align: left;
}

.hero__actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* Hero – Variante --light (SKILL 3.2): kein Foto, heller Hintergrund,
   dunkler Text. Für Seiten mit eigenständigem Metall-Motiv statt Produktionsfoto. */
.hero--light {
  background: var(--c-bg-soft);
}
.hero--light .hero__kicker { color: var(--c-red); }
.hero--light .hero__title  { color: var(--c-ink); }
.hero--light .hero__sub    { color: var(--c-text); }
.hero--light .btn--ghost   { color: var(--c-ink); border-color: var(--c-ink); }
.hero--light .btn--ghost:hover { background: var(--c-ink); color: var(--c-white); }

/* Hero-Motiv (SKILL 3.2): animierter Metall-Akzent über die volle Hero-Höhe
   am rechten Rand, nach links in den hellen Hintergrund auslaufend
   (z-index 1, unter .hero__container [2] und .logo-stamp [3]) */
.hero__motiv {
  position: absolute;
  inset: 0;
  left: auto;
  z-index: 1;
  width: clamp(340px, 55vw, 1100px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 100%);
  mask-image: linear-gradient(to left, #000 45%, transparent 100%);
}

.hero__motiv .cj-schmelze { width: 100%; height: 100%; }

@media (max-width: 900px) { .hero__motiv { display: none; } }

/* Hero-Splash (SKILL 3.2): statisches Produkt-Splash-Bild rechts im hellen Hero,
   mit Abstand zum .logo-stamp unten rechts (z-index 1, unter .hero__container [2]
   und .logo-stamp [3]) */
.hero__splash {
  position: absolute;
  z-index: 1;
  right: clamp(60px, 10vw, 180px);
  top: 50%;
  transform: translateY(-56%);
  width: clamp(340px, 46vw, 720px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.hero__splash img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 900px) { .hero__splash { display: none; } }

/* News-Artikel Hero (SKILL 3.20): Roter Split, Bild+Netz links, Text rechts */
.news-hero {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  min-height: 62vh;
  background: var(--c-red);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.news-hero > .netz-img {
  z-index: 0;
  width: 150%;
  top: -80%;
  left: -80%;
  right: auto;
  transform: rotate(213deg);
  transform-origin: center center;
}
.news-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5) 0 var(--sp-5) var(--sp-6);
  position: relative;
  z-index: 1;
}
.news-hero__media img {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.news-hero__content {
  padding-block: var(--sp-7);
  padding-left: var(--sp-6);
  padding-right: max(var(--sp-5), calc((100vw - var(--maxw)) / 2 + clamp(var(--sp-4), 5vw, var(--sp-6))));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.news-hero__kicker {
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.news-hero__title {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -.5px;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  margin: 0 0 var(--sp-3);
  max-width: 22ch;
}
.news-hero__sub {
  font-size: var(--fs-lead);
  color: var(--c-white);
  max-width: 52ch;
  margin: 0 0 var(--sp-4);
  line-height: 1.55;
  text-align: left;
}
.news-hero__caption {
  font-size: var(--fs-small);
  color: var(--c-white);
  margin: .75rem 0 0;
  line-height: 1.45;
}
/* Variante ohne News-Bild: Media-Slot leer lassen, Text nimmt volle Breite mit Container-Alignment */
.news-hero--text-only { grid-template-columns: 1fr; }
.news-hero--text-only .news-hero__content {
  padding-left: max(var(--sp-4), calc((100vw - var(--maxw)) / 2 + clamp(var(--sp-4), 5vw, var(--sp-6))));
}
@media (max-width: 900px) {
  .news-hero { grid-template-columns: 1fr; min-height: 0; }
  .news-hero__media { padding: var(--sp-4); min-height: 260px; }
  .news-hero__content { padding: var(--sp-6) var(--sp-4); }
}

/* Inline-Figure im Artikel-Body (Bild + Bildunterschrift, linksb&uuml;ndig zum Flie&szlig;text) */
.article-figure {
  margin: var(--sp-4) 0 0;
  max-width: 800px;
}
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  font-size: var(--fs-small);
  color: var(--c-text);
  margin-top: .5rem;
  line-height: 1.4;
}

/* Textlink mit Pfeil-Prefix f&uuml;r Cross-Link-Cards (SKILL 3.8 Variante A) */
.card--title-desc__link {
  display: inline-block;
  color: var(--c-red);
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: none;
  margin-top: var(--sp-2);
}
.card--title-desc__link:hover { text-decoration: underline; }

/* Karte als Ganzes verlinkt (a.card--title-desc): Pfeil-Text ist dort ein
   nicht-interaktives <span> (kein verschachteltes <a>), Unterstreichen folgt
   dem Hover der ganzen Karte statt eines eigenen :hover. */
a.card--title-desc:hover .card--title-desc__link { text-decoration: underline; }


/* ======================================
   HERO – SLIDESHOW (3.3)
   ====================================== */

.hero__slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* !important, weil die Ken-Burns-Regeln weiter unten die Animation per Kurzschreibweise neu setzen */
.hero__slideshow.is-paused .slide img { animation-play-state: paused !important; }

/* Pause-Knopf der Hero-Slideshow (Barrierefreiheit), oben rechts in der Ecke (gleicher Abstand oben und rechts).
   Wird von main.js erzeugt, bei „Bewegung reduzieren“ entfällt er (dann kein Bildwechsel). */
.slideshow-pause {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  z-index: 5;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--text-on-dark-muted);
  border-radius: 50%;
  background: rgba(0, 0, 0, .2);
  color: var(--c-white);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.slideshow-pause:hover { background: rgba(0, 0, 0, .4); border-color: var(--c-white); }
.slideshow-pause svg { display: block; }

.hero__slideshow .slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slideshow .slide.is-active {
  z-index: 2;
}

.hero__slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  will-change: transform;
}

.hero__slideshow .slide.is-active img {
  animation: kenBurns 6s ease-out forwards;
}

.hero__slideshow .slide:nth-child(2n).is-active img {
  animation-name: kenBurnsReverse;
}

.hero__slideshow .slide:nth-child(3n).is-active img {
  animation-name: kenBurnsDiag;
}

@keyframes kenBurns {
  from { transform: scale(1)    translate(0,    0   ); }
  to   { transform: scale(1.07) translate(-.8%, -.4%); }
}

@keyframes kenBurnsReverse {
  from { transform: scale(1.07) translate(0,   0  ); }
  to   { transform: scale(1)    translate(.8%, .4%); }
}

@keyframes kenBurnsDiag {
  from { transform: scale(1.02) translate( .4%, -.4%); }
  to   { transform: scale(1.07) translate(-.6%,  .4%); }
}

/* ======================================
   STATS (3.6)
   ====================================== */

.stats {
  display: flex;
  align-items: stretch;
  margin-top: var(--sp-5);
}

.stats .stat {
  flex: 1;
  text-align: center;
  padding: var(--sp-3) 0;
}

.stats .sep {
  width: 1px;
  background: var(--c-line);
  flex-shrink: 0;
  margin: 0 2rem;
}

.stats .stat__num {
  font-size: var(--fs-stat);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -1px;
}

.stats--red .stat__num {
  color: var(--c-red);
}

.stats .stat__label {
  margin-top: .5rem;
  color: var(--c-text);
  font-size: var(--fs-body);
}

@media (max-width: 900px) {
  .stats { flex-direction: column; gap: var(--sp-3); }
  .stats .sep { width: 100%; height: 1px; margin: 0; }
}

/* ======================================
   TWO-COL (3.5)
   ====================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}

.two-col > * { min-width: 0; } /* lange Wörter dürfen die Spalte nicht aufdrücken */
.two-col--reverse > :first-child { order: 2; }

.two-col img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse > :first-child { order: 0; }
}

.two-col--stretch { align-items: stretch; }
.two-col--stretch .two-col__media { overflow: hidden; }
.two-col--stretch .two-col__media img { height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 900px) {
  .two-col--stretch .two-col__media { min-height: 280px; }
}

/* ======================================
   SPLASH – GESTALTUNGSELEMENTE
   Option A: Hintergrund-Dekor (absolut, transparent)
   Option B: Inline-Visual (im Textfluss)
   ====================================== */

.splash-bg {
  position: relative;
  overflow: hidden;
}
.splash-bg .container { position: relative; z-index: 1; }

.splash-grid-wrap {
  position: relative;
}

.splash-deco {
  position: absolute;
  right: -25%;
  bottom: -8rem;
  width: 520px;
  height: auto;
  max-width: 44%;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

/* Splash sitzt standardmäßig unten (Saskia, 2026-10-01). --bottom ist damit
   gleichbedeutend und bleibt nur für bestehendes Markup bestehen. */
.splash-deco--bottom { top: auto; bottom: -8rem; }

.splash-inline {
  width: 100%;
  max-width: 340px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.10));
}

@media (max-width: 1200px) {
  .splash-deco { width: 400px; right: -15%; bottom: -5rem; }
  .splash-deco--bottom { top: auto; bottom: -5rem; }
}

@media (max-width: 900px) {
  .splash-deco { display: none; }
  .splash-inline { max-width: 240px; }
}

/* ======================================
   NETZ – DEKORATIVE HINTERGRUNDGRAFIKEN
   ====================================== */

.has-netz {
  position: relative;
  overflow: hidden;
}
.netz-img {
  position: absolute;
  pointer-events: none;
  user-select: none;
  display: block;
  z-index: 0;
}
.has-netz .container { position: relative; z-index: 1; }

.netz-img--r {
  width: 160%;
  top: -60%;
  right: -98%;
  transform: rotate(30deg);
  transform-origin: top right;
}
/* Wie --r, an der Waagerechten gespiegelt: Netz unten rechts (z. B. wenn
   der Abschnitt darüber schon einen Splash trägt) */
.netz-img--rb {
  width: 160%;
  bottom: -60%;
  right: -98%;
  transform: rotate(-30deg) translateY(-100%) scaleY(-1);
  transform-origin: bottom right;
}
.netz-img--red-r {
  width: 150%;
  bottom: -65%;
  right: -92%;
  transform: rotate(-22deg);
  transform-origin: bottom right;
}

@media (max-width: 1200px) {
  .netz-img--r    { width: 130%; top: -60%; right: -90%; }
  .netz-img--rb   { width: 130%; bottom: -60%; right: -90%; }
  .netz-img--red-r { width: 120%; bottom: -65%; right: -85%; }
}

@media (max-width: 900px) {
  .netz-img { display: none; }
}

/* ======================================
   GOLD-SPAN – sectionübergreifende Dekoration
   ====================================== */

.gold-span {
  position: relative;
  background: var(--c-bg);
  overflow: hidden;
}

.gold-span > section {
  background: transparent;
}

.gold-span > section .container {
  position: relative;
  z-index: 1;
}

.gold-span__deco {
  position: absolute;
  right: 10%;
  top: 80%;
  transform: translateY(-50%);
  width: 560px;
  height: auto;
  max-width: 45%;
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

@media (max-width: 1079px) {
  .gold-span__deco { right: -5%; }
}

@media (min-width: 1080px) and (max-width: 1320px) {
  .gold-span__deco { display: none; }
}

@media (max-width: 900px) {
  .gold-span__deco { display: none; }
}

/* ======================================
   BULLET-LIST
   ====================================== */

.bullet-list {
  list-style: none;
  margin: var(--sp-3) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--fs-body);
  color: var(--c-text);
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  line-height: 1.5;
}

.bullet-list li::before {
  content: "→";
  color: var(--c-red);
  flex-shrink: 0;
  margin-top: .08em;
}

/* Kurzer Klarstellungshinweis nach einer Bulletliste oder einem Fließtextabsatz,
   z. B. "individuelle Maße auf Anfrage". Nutzt --fs-xs (Typografie-Skala: Rechtshinweise). */
.text-note {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--c-text);
}

/* DNA-Bullet-Liste: großer roter Buchstabe als visueller Anker */
.dna-bullet-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-4); margin-top: var(--sp-4); padding: 0; }
.dna-bullet-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.dna-bullet-list__letter { font-size: var(--fs-accent-lg); font-weight: 700; color: var(--c-red); line-height: 1.1; letter-spacing: -1px; }
.dna-bullet-list__text strong { display: block; font-size: var(--fs-body); font-weight: 700; color: var(--c-ink); text-transform: uppercase; letter-spacing: .4px; margin-bottom: .3rem; }
.dna-bullet-list__text span { font-size: var(--fs-body); color: var(--c-text); line-height: 1.65; }

/* ======================================
   CARD-GRID (3.7)
   ====================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

/* Icon-Variante für .card--inset */
.card-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-2);
}

/* Titel klebt an vorangehendem Icon – kein doppelter Abstand */
.card-icon + .card--inset__title {
  margin-top: 0;
}

/* Variante A – .card--inset
   Baustein-Zeilenausrichtung: In jeder .card-grid, die .card--inset-Karten
   enthält, werden Icon/Titel/Text/Liste/Link per CSS-Subgrid zeilenweise über
   alle Karten hinweg ausgerichtet. So beginnen z. B. Pfeile in Bullet-Listen
   unabhängig von unterschiedlich langem Fließtext auf gleicher Höhe – nicht nur
   auf einer einzelnen Seite, sondern bei jeder Verwendung dieses Bausteins.
   5 Zeilen decken die aktuell größte Karten-Variante ab (Icon, Titel, Text,
   Liste, Link); bei einer künftigen Variante mit mehr Elementen beide Werte
   (repeat/span) entsprechend erhöhen. Überzählige Zeilen bei kürzeren Karten
   bleiben leer und ohne Höhe – unschädlich.

   Eigener row-gap (statt des row-gap-Anteils aus dem .card-grid-Shorthand
   „gap: var(--sp-4)"): Der row-gap bildet die Basis für den Abstand
   zwischen Titel/Text/Link innerhalb einer Karte (0.75rem, bewusst enger,
   da Titel und Text als Einheit wirken sollen) sowie – bei mehr als einer
   Kartenreihe, z. B. sechs Karten auf /karriere/ oder umgebrochene Spalten –
   für den Abstand zwischen den Kartenreihen. Der Bild-Titel-Abstand ist
   bewusst größer als der Titel-Text-Abstand (Bild und Text sollen sich
   optisch trennen) und kommt aus row-gap + zusätzlichem margin-top auf
   .card--inset__title, siehe dort – zusammen 1.5rem, abgestimmt auf
   .card--title-desc__body/-title (dieselben zwei Werte). column-gap bleibt
   unverändert var(--sp-4) aus dem Shorthand oben. Bewusst bei jeder Breite
   gleich (kein Mobil-Sonderwert): der zusätzliche Mobil-Abstand zwischen
   gestapelten Karten kommt aus .card--inset { margin-bottom } weiter unten,
   damit die Abstände innerhalb einer Karte davon unberührt bleiben. */
.card-grid:has(> .card--inset) {
  grid-template-rows: repeat(5, auto);
  row-gap: 0.75rem;
}

.card--inset {
  overflow: hidden;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
}

/* Zusätzlicher Abstand zwischen gestapelten Karten ab 600px (einspaltiges
   Layout, siehe .card-grid Media Query oben) – unabhängig vom row-gap, damit
   der Bild-Titel-Abstand innerhalb einer Karte unverändert bleibt. Wirkt bei
   jeder Kartenreihe außer der letzten (grid-row: span 5 reicht bis zum Ende
   der eigenen Zeilen, margin-bottom setzt danach an). */
@media (max-width: 600px) {
  .card--inset:not(:last-child) { margin-bottom: var(--sp-4); }
}

.card--inset > a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.card--inset > a > img,
.card--inset > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Eigener Bild-Wrapper mit eigenem overflow:hidden (bislang nur Trommelgalvanik-Card
   Startseite): notwendig für Zoom-Modifier weiter unten, da .card--inset selbst über die
   gesamte Karte (Bild + Titel + Text) spannt und ein skaliertes Bild sonst erst an der
   Kartenunterkante geklippt würde, statt an der eigenen Bildzeile. */
.card--inset__media {
  display: block;
  overflow: hidden;
}
.card--inset__media > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Modifier: 50 % Zoom, unterer Bildteil wird abgeschnitten (nur Trommelgalvanik-Card Startseite) */
.card--inset--zoom-top .card--inset__media > img {
  transform: scale(1.5);
  transform-origin: top right;
}
.card--inset--zoom-top:hover .card--inset__media > img { transform: scale(1.59); }

/* Modifier: Zentrierter Zoom, nach rechts + nach unten verschoben */
.card--inset--zoom-center > a > img,
.card--inset--zoom-center > img {
  transform: scale(1.4) translateX(6%) translateY(14%);
  transform-origin: center center;
}
.card--inset--zoom-center:hover > a > img,
.card--inset--zoom-center:hover > img { transform: scale(1.48) translateX(6%) translateY(14%); }

.card--inset__title {
  font-size: var(--fs-card);
  font-weight: 700;
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: .5px;
  /* Kein margin-bottom: Der Titel-Text-Abstand kommt allein aus dem
     row-gap (0.75rem, s. .card-grid:has(> .card--inset)). margin-top
     addiert sich zum row-gap auf 30px (1.125rem + 0.75rem row-gap)
     Bild-Titel-Abstand – bewusst größer als der Titel-Text-Abstand,
     abgestimmt auf .card--title-desc__body/-title (dieselben zwei
     Werte). */
  margin: 1.125rem 0 0;
}

.card--inset__lead {
  color: var(--c-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0 0 var(--sp-2);
}

.card--inset__link {
  display: inline-block;
  color: var(--c-red);
  font-weight: 600;
  font-size: var(--fs-small);
}

/* Variante B – .card--title */
.card--title {
  overflow: hidden;
  border-top: 3px solid var(--c-red);
}

.card--title__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card--title__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card--title__title {
  font-size: var(--fs-card);
  font-weight: 700;
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: var(--sp-3) 0;
  margin: 0;
}

/* Variante C – News-Card */
.news-card {
  overflow: hidden;
  border-top: 3px solid var(--c-red);
  display: flex;
  flex-direction: column;
}

.news-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__body {
  padding: var(--sp-3) 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  color: var(--c-red);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 1.5px;
  margin-bottom: var(--sp-2);
}

.news-card__title {
  color: var(--c-ink);
  font-size: var(--fs-h3);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 .75rem;
  line-height: 1.25;
}

.news-card__body p {
  color: var(--c-text);
  font-size: var(--fs-body);
  flex: 1;
  margin: 0 0 var(--sp-2);
}

.news-card__link {
  display: inline-block;
  color: var(--c-red);
  font-weight: 600;
  font-size: var(--fs-small);
}

/* ======================================
   AUTO-GRID (3.8)
   ====================================== */

.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

/* Variante A – mit Bild (.card--title-desc) */
.card--title-desc {
  overflow: hidden;
  border-top: 3px solid var(--c-red);
}

.card--title-desc__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card--title-desc__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo statt Foto (z. B. Karte „Alle News“): eingepasst statt beschnitten */
.card--title-desc__image--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  background: var(--c-bg-soft);
}
.card--title-desc__image--logo img { object-fit: contain; }

.card--title-desc__body {
  /* Bild-Titel-Abstand auf 1.875rem = 30px (größer als der Titel-Text-
     Abstand darunter, abgestimmt auf .card--inset__title + row-gap) */
  padding: 1.875rem 0 var(--sp-3);
}

.card--title-desc__title {
  font-size: var(--fs-card);
  font-weight: 700;
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: .5px;
  /* Titel-Text-Abstand auf 0.75rem (enger als der Bild-Titel-Abstand
     oben, abgestimmt auf den row-gap von .card--inset) */
  margin: 0 0 0.75rem;
}

.card--title-desc__desc {
  color: var(--c-text);
  font-size: var(--fs-small);
  line-height: 1.5;
  margin: 0;
}

/* Kachel als Ganzes verlinkt: .card--title-desc auf einem <a> statt <article>.
   Nur wirksam auf dem <a>-Tag, bestehende <article>-Verwendungen (z.B. Startseite
   #oberflaechen ohne Link) bleiben unveraendert. */
a.card--title-desc {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Zeilenausrichtung .card--title-desc (analog .card--inset): Bild, Titel, Text
   und Link liegen per CSS-Subgrid über alle Karten einer .auto-grid hinweg auf
   gleichen Zeilen. Texte beginnen so auf gleicher Höhe, auch wenn ein Titel
   zweizeilig umbricht. row-gap 0, weil die Abstände innerhalb der Karte aus
   Padding/Margin von __body und __title kommen. Der Abstand zwischen
   Kartenreihen (bisher row-gap var(--sp-2)) kommt aus margin-bottom der Karte,
   die negative margin-bottom der Grid hebt ihn nach der letzten Reihe auf. */
.auto-grid:has(> .card--title-desc) {
  row-gap: 0;
  margin-bottom: calc(-1 * var(--sp-2));
}
.auto-grid > .card--title-desc {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  margin-bottom: var(--sp-2);
}
.auto-grid > .card--title-desc > .card--title-desc__body {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  align-items: start;
}

/* Variante B – nur Text (.card--text) */
.card--text {
  border-top: 3px solid var(--c-red);
  padding: var(--sp-3) 0 var(--sp-4);
  display: flex;
  flex-direction: column;
}
.card--text .card--title-desc__link { margin-top: auto; padding-top: var(--sp-3); }

.card--text h3 {
  color: var(--c-ink);
  font-size: var(--fs-card);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 var(--sp-2);
  hyphens: auto;
}

.card--text p {
  color: var(--c-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
}

/* Variante C – Overlay-Kachel (.card--overlay) */
.card--overlay {
  display: block;
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--c-text) center/cover no-repeat;
}

.card--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 100%);
  transition: background .2s ease;
}

.card--overlay:hover::after {
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.75) 100%);
}

.card--overlay__label {
  position: absolute;
  bottom: var(--sp-1);
  left: var(--sp-3);
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

/* ======================================
   ZERTIFIKATE (3.9)
   ====================================== */

.cert {
  text-align: center;
  padding: var(--sp-3);
}

.cert__badge {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto var(--sp-2);
}

.cert__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 .25rem;
}

.cert__norm {
  font-size: var(--fs-xs);
  color: var(--c-text);
}

/* ======================================
   PERKS (3.8 D — Icon-Kachel kompakt)
   ====================================== */

.perk {
  text-align: center;
  padding: var(--sp-3);
}

.perk__icon {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto var(--sp-2);
}

.perk__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* ======================================
   PROZESSSCHRITTE (3.10)
   ====================================== */

.step {
  padding-top: var(--sp-3);
}

.step__num {
  font-size: var(--fs-accent);
  font-weight: 800;
  color: var(--c-red);
  line-height: 1;
  margin-bottom: var(--sp-2);
}


.step__title {
  color: var(--c-ink);
  font-size: var(--fs-h3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 var(--sp-2);
}

.step__text {
  color: var(--c-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
}

/* ======================================
   SLIDER (3.11)
   ====================================== */

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.slider__track {
  display: flex;
  transition: transform .5s ease;
}

.slider__slide {
  flex: 0 0 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--overlay);
  color: var(--c-white);
  border: none;
  cursor: pointer;
  font-size: var(--fs-h3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
  z-index: 2;
  border-radius: 999px;
  font-family: var(--f-sans);
}

.slider__nav:hover {
  background: var(--c-red);
  transform: translateY(-50%) scale(1.05);
}

.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }

.slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.slider__dot:hover { background: rgba(255, 255, 255, .85); }
.slider__dot.is-active { background: var(--c-red); }

.slider__counter {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 1px;
  z-index: 2;
}

/* ======================================
   BACKGROUND-SEKTION (3.12)
   ====================================== */

.bg-section {
  position: relative;
  overflow: hidden;
  padding: var(--sp-7) 0;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.bg-section__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.bg-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .50);
  z-index: 1;
}

.bg-section__content {
  position: relative;
  z-index: 2;
  color: var(--c-white);
  max-width: 66%;
}

.bg-section__content .section-title { color: var(--c-white); }

.bg-section__content p {
  color: var(--c-white);
  max-width: 600px;
  margin-bottom: var(--sp-3);
}

.bg-section__lead {
  font-size: var(--fs-lead);
  opacity: .85;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.bg-section__content--wide {
  max-width: 90%;
}

.bg-section__content--wide p {
  max-width: none;
}

@media (max-width: 700px) {
  .bg-section__content { max-width: 100%; }
  .bg-section__content--wide { max-width: 100%; }
}

/* ======================================
   TEASER-BALKEN (roter Hinweis mit Link, z. B. Bandgalvanik: zweite Bandanlage)
   ====================================== */

.teaser-bar {
  display: block;
  background: var(--c-red);
  color: var(--c-white);
  text-decoration: none;
  transition: background .2s ease;
}
.teaser-bar:hover { background: var(--c-red-dark); }

.teaser-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-5);
}

.teaser-bar__tag {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: .6rem;
}

.teaser-bar__title {
  display: block;
  font-size: var(--fs-subhead);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.4px;
  line-height: 1.15;
}

.teaser-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; }
.teaser-bar:hover .btn--ghost { background: var(--c-white); color: var(--c-red); }

.ico-arrow { display: inline-block; vertical-align: middle; flex: none; transition: transform .2s ease; }
.teaser-bar:hover .ico-arrow { transform: translateX(4px); }

/* ======================================
   CTA-BANNER (3.13)
   ====================================== */

/* Variante A – Rot */
.cta-banner--red {
  background: var(--c-red);
  padding: var(--sp-7) 0;
  text-align: center;
}

.cta-banner--red .cta-banner__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0 0 1rem;
}

.cta-banner--red .cta-banner__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -.5px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.cta-banner--red .cta-banner__lead {
  font-size: var(--fs-body);
  color: var(--c-white);
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 560px;
}

/* Variante C – Roter Streifen mit Bild */
.cta-banner--image {
  background: var(--c-red);
  padding: var(--sp-7) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner--image .cta-banner__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-white);
  margin: 0 0 1rem;
}

.cta-banner--image .cta-banner__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -.5px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.cta-banner--image .cta-banner__lead {
  font-size: var(--fs-body);
  color: var(--c-white);
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 560px;
}

.cta-banner--image .btn-row { justify-content: center; }

.cta-banner__deco {
  position: absolute;
  right: 3rem;
  bottom: -5px;
  height: 85%;
  width: auto;
  pointer-events: none;
  user-select: none;
}
.cta-banner__deco--portrait { right: 12%; height: 100%; bottom: 0; }
.cta-banner__contact { margin: .5rem 0 1.5rem; font-size: var(--fs-small); color: var(--c-white); }
.cta-banner__contact a { color: var(--c-white); text-decoration: none; }
.cta-banner__contact a:hover { text-decoration: underline; }

@media (max-width: 1700px) {
  .cta-banner--image { text-align: left; }
  .cta-banner--image .cta-banner__lead { margin: 0 0 2rem; }
  .cta-banner--image .btn-row { justify-content: flex-start; }
}

@media (max-width: 1079px) {
  .cta-banner--image { padding-bottom: 0; text-align: center; }
  .cta-banner--image .cta-banner__lead { margin: 0 auto 2rem; }
  .cta-banner--image .btn-row { justify-content: center; }
  .cta-banner__deco {
    position: static;
    display: block;
    height: auto;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    object-position: bottom center;
    margin-top: var(--sp-5);
  }
}

/* Variante B – Hell */
.cta-banner--light {
  background: var(--c-bg);
  border-top: 3px solid var(--c-red);
  padding: var(--sp-7) 0;
  text-align: center;
}

.cta-banner--light .cta-banner__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 1rem;
}

.cta-banner--light .cta-banner__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.5px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.cta-banner--light .cta-banner__lead {
  font-size: var(--fs-body);
  color: var(--c-text);
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 560px;
}

/* ======================================
   ANSPRECHPARTNER-KARTE (3.14)
   ====================================== */

/* A – Einzelkarte */
.contact-card {
  width: 310px;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-red);
  background: var(--c-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contact-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.contact-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-card__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-card__name {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 .2rem;
}

.contact-card__role {
  font-size: var(--fs-xs);
  color: var(--c-text);
  margin: 0 0 .75rem;
  line-height: 1.4;
  flex: 1;
}

.contact-card__links {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.contact-card__links a {
  font-size: var(--fs-xs);
  color: var(--c-red);
  text-decoration: none;
  font-weight: 500;
}

.contact-card__links a:hover { text-decoration: underline; }

@media (max-width: 380px) {
  .contact-card { width: 100%; }
}

/* B – Team-Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  max-width: 1440px;
  margin: 0 auto;
}

.team-card {
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-red);
  background: var(--c-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card__name {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 .2rem;
}

.team-card__role {
  font-size: var(--fs-xs);
  color: var(--c-text);
  margin: 0 0 .75rem;
  line-height: 1.4;
  flex: 1;
}

.team-card__links {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.team-card__links a {
  font-size: var(--fs-xs);
  color: var(--c-red);
  text-decoration: none;
  font-weight: 500;
}

.team-card__links a:hover { text-decoration: underline; }
/* Rückfallebene: lange Mailadressen brechen um statt über den Kartenrand zu laufen */
.team-card__links a { overflow-wrap: anywhere; }

/* Klickfläche mind. 24 px hoch (Barrierefreiheit), optisch unverändert:
   Padding vergrößert die Trefferfläche, negativer Margin hebt den Platzbedarf wieder auf */
.contact-card__links a,
.team-card__links a { padding-block: .2rem; margin-block: -.2rem; }

/* Spaltenzahl richtet sich nach der längsten Mailadresse (ca. 210 px + 40 px Padding):
   Karten brauchen mindestens ca. 250 px, sonst läuft die Adresse über */
@media (max-width: 1380px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .team-grid { grid-template-columns: 1fr; gap: var(--sp-4); max-width: 360px; }
}

/* ======================================
   SEO-TEXT / TEXTBLOCK 1-SPALTIG (3.4)
   ====================================== */

.seo-text__body {
  margin-top: var(--sp-4);
}

.seo-text__q {
  color: var(--c-ink);
  font-size: var(--fs-h3);
  font-weight: 700;
  text-transform: none;
  margin: var(--sp-4) 0 var(--sp-2);
  letter-spacing: .2px;
}

.seo-text__q:first-child { margin-top: 0; }

.seo-text p {
  color: var(--c-text);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin: 0 0 var(--sp-3);
}

.seo-text p:last-child { margin-bottom: 0; }
.seo-text strong { color: var(--c-ink); font-weight: 600; }
/* Unterstrichen, damit Links nicht nur an der Farbe erkennbar sind (Barrierefreiheit) */
/* Links im Fließtext: Textfarbe, nur per Unterstreichung erkennbar (Saskia, 2026-10-02) */
.seo-text p a:not(.btn),
.faq__a-inner a:not(.btn),
.section-lead a:not(.btn),
.two-col p a:not(.btn),
.bullet-list li a:not(.btn),
.card--inset__lead a:not(.btn) { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.seo-text p a:not(.btn):hover,
.faq__a-inner a:not(.btn):hover,
.section-lead a:not(.btn):hover,
.two-col p a:not(.btn):hover,
.bullet-list li a:not(.btn):hover,
.card--inset__lead a:not(.btn):hover { text-decoration-thickness: 2px; }

/* ======================================
   FAQ-AKKORDEON (3.15)
   ====================================== */

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-line);
  margin-top: var(--sp-4);
  max-width: 900px;
}

.faq__item {
  border-bottom: 1px solid var(--c-line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: none;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--c-ink);
  text-align: left;
  overflow-wrap: anywhere; /* lange Komposita drücken das Icon nicht aus dem Bild */
  transition: color .15s ease;
}

.faq__q:hover,
.faq__q[aria-expanded="true"] { color: var(--c-red); }

.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  color: var(--c-text);
  transition: background .15s ease, border-color .15s ease, transform .25s ease, color .15s ease;
}

.faq__q:hover .faq__icon,
.faq__q[aria-expanded="true"] .faq__icon {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}

.faq__a-inner {
  padding: 0 0 1.25rem;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-text);
}

.faq__a-inner p { margin: 0 0 .75rem; }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ======================================
   KONTAKTFORMULAR (3.16)
   ====================================== */

.contact-section {
  padding: var(--sp-7) 0;
  background: var(--c-bg);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.contact-section__info { padding-top: .5rem; }

.contact-section__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-red);
  margin: 0 0 .75rem;
}

.contact-section__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.3px;
  text-transform: uppercase;
  margin: 0 0 2rem;
  line-height: 1.2;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}

.contact-detail a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-red);
  text-decoration: none;
}

.contact-detail a:hover { text-decoration: underline; }

.contact-address {
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--c-text);
  border-top: 1px solid var(--c-line);
  padding-top: 1.5rem;
}

/* Hinweis ueber dem Formular, wenn includes/contact.php mit ?fehler=
   zurueckleitet. Rolle und Sichtbarkeit setzt includes/form-meldung.php. */
.form-hinweis {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  margin-bottom: var(--sp-3);
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--c-red);
  background: var(--c-bg-soft);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--c-ink);
}

.form-hinweis svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: .1rem;
}

.form-hinweis strong { display: block; }

/* Honigtopf gegen einfache Bots: fuer Menschen unsichtbar, fuer
   Bildschirmleser ausgeblendet, aber im Formular vorhanden. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.form-field {
  position: relative;
  margin-bottom: 2rem;
}

.form-field--full { grid-column: 1 / -1; }

.form-field label {
  position: absolute;
  left: 0;
  top: .6rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-text);
  pointer-events: none;
  transition: top .18s ease, font-size .18s ease, color .18s ease;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--f-sans);
  font-size: var(--fs-small);
  color: var(--c-ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--c-line);
  padding: .6rem 0 .45rem;
  width: 100%;
  outline: none;
  transition: border-color .18s ease;
  appearance: none;
  border-radius: 0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--c-red); }

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label,
.form-field select.has-value ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: -1rem;
  font-size: var(--fs-xs);
  color: var(--c-red);
  letter-spacing: .5px;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: transparent; }

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .25rem center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-red);
  transition: width .25s ease;
}

.form-field:focus-within::after { width: 100%; }

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

.contact-form__legal {
  font-size: var(--fs-xs);
  color: var(--c-text);
  line-height: 1.5;
  max-width: 340px;
}

.contact-form__legal a { color: var(--c-text); text-decoration: underline; }
.contact-form__legal a:hover { color: var(--c-red); }

@media (max-width: 900px) {
  .contact-section__inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 600px) {
  .contact-form__footer { flex-direction: column; align-items: flex-start; }
}

/* ======================================
   FOOTER
   ====================================== */

.footer {
  background: var(--c-bg);
  color: var(--c-text);
  padding: var(--sp-6) 0 var(--sp-4);
  font-size: var(--fs-small);
  border-top: 1px solid var(--c-line);
}

.footer--soft { background: var(--c-bg-soft); }

.footer__top {
  margin-bottom: var(--sp-5);
  padding-bottom: 0;
  border-bottom: none;
  display: flex;
  justify-content: flex-end;
  overflow: visible;
}

.footer__certs {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: var(--sp-3);
}

.footer__certs img {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.75;
  transition: opacity .2s;
}

.footer__certs img:hover { opacity: 1; }

.footer__logo {
  max-width: 280px;
  padding: 0 var(--sp-2);
}
.footer__logo img { width: 100%; height: auto; display: block; }

.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  overflow: visible;
}

.footer h2 {
  color: var(--c-ink);
  font-size: var(--fs-small);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 var(--sp-2);
}

.footer a { color: var(--c-text); }
.footer a:hover { color: var(--c-red); }

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer p {
  font-size: var(--fs-small);
  line-height: 1.7;
  margin: 0 0 var(--sp-2);
}

.footer__col--logo {
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.footer__col--logo .footer__logo {
  margin-top: auto;
  width: 320px;
  overflow: visible;
  /* nach unten um den Abstand .footer__cols → .footer__bottom, Logo-Unterkante sitzt auf der Trennlinie */
  transform: translate(-1.25rem, var(--sp-4));
}

.footer__bottom {
  border-top: 1px solid var(--c-line);
  padding-top: var(--sp-3);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-text);
  font-size: var(--fs-small);
}

.footer__bottom > span:last-child { text-align: right; }

.footer__social {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  align-items: center;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  opacity: 0.65;
  transition: opacity .2s, color .2s;
}

.footer__social a:hover {
  color: var(--c-red);
  opacity: 1;
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__col--logo .footer__logo { width: min(280px, 100%); margin-left: auto; margin-right: auto; transform: translateY(var(--sp-4)); }
  .footer__bottom { grid-template-columns: 1fr; justify-items: center; }
  .footer__bottom > span { text-align: center; }
}

/* ── VORTEILE-CHECK-ROWS (3.17) ── */
.vorteile-rows {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-4);
  border-top: 1px solid var(--c-line);
}
.vorteile-rows__item {
  display: grid;
  grid-template-columns: 4rem 1px 1fr;
  align-items: stretch;
  gap: 0 var(--sp-4);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--c-line);
}
.vorteile-rows__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .15rem;
  padding: .25rem 0;
  min-width: 0;
  overflow-wrap: break-word;
}
.vorteile-rows__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: .2px;
  margin: 0;
}
.vorteile-rows__text {
  font-size: var(--fs-small);
  color: var(--c-text);
  line-height: 1.6;
  margin: 0;
}
/* Modifier: Check-Icons statt Zahlen, ohne äußere Trennlinien */
.vorteile-rows--check {
  border-top: none;
}
.vorteile-rows--check .vorteile-rows__item {
  grid-template-columns: 36px 1fr;
  gap: 0 1.75rem;
  align-items: center;
}
.vorteile-rows--check .vorteile-rows__item:last-child {
  border-bottom: none;
}
.check-icon {
  width: 36px;
  height: 36px;
  background: var(--c-check);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-white);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 600px) {
  .vorteile-rows--check .vorteile-rows__item { gap: 0 var(--sp-2); }
}

/* =========================================================================
   ANIMATIONS – dezente Bewegung (globale Regel für alle Seiten)
   ========================================================================= */

/* Reveal-on-scroll: kurz und klein */
.anim-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.anim-reveal.is-in { opacity: 1; transform: none; }

/* Section-Title: dünne rote Underline schiebt sich ein */
.section-title { position: relative; padding-bottom: .3em; }
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--c-red);
  transition: width .5s ease-out .1s;
}
.anim-reveal.section-title.is-in::after { width: 144px; }

/* Hero: Ken-Burns dezent auf aktivem Slide */
.hero { overflow: hidden; }
.hero__slideshow .slide.is-active img {
  animation: kbSoft 14s ease-out both;
}
@keyframes kbSoft {
  0%   { transform: scale(1.03); }
  100% { transform: scale(1.08); }
}

/* Hero: Content-Fade beim Laden */
.hero__content {
  animation: heroFade .8s ease-out both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Cards: nur Bild-Zoom beim Hover, kein Lift */
.card--inset img,
.card--title-desc__image img,
.news-card__image img {
  transition: transform .5s ease-out;
}
.card--inset:hover img,
.card--title-desc:hover .card--title-desc__image img,
.news-card:hover .news-card__image img { transform: scale(1.06); }
.card--inset,
.card--title-desc__image,
.news-card__image { overflow: hidden; }

/* ======================================
   DATENTABELLE (z. B. Verfahrensvergleich /techniken/)
   ====================================== */

.data-table-wrap {
  overflow-x: auto;
  margin-top: var(--sp-4);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  color: var(--c-text);
}

.data-table th,
.data-table td {
  text-align: left;
  padding: .75rem 1.25rem;
}

.data-table thead tr { border-bottom: 2px solid var(--c-red); }
.data-table tbody tr { border-bottom: 1px solid var(--c-line); }
.data-table tbody tr:last-child { border-bottom: 0; }

.data-table thead th {
  font-weight: 700;
  color: var(--c-ink);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.data-table thead th:first-child { min-width: 140px; }

/* Erste Spalte: Zeilenkopf ohne linken Innenabstand */
.data-table thead th:first-child,
.data-table tbody th { padding-left: 0; }

.data-table tbody th {
  font-weight: 600;
  color: var(--c-ink);
}

/* Telefonnummern nicht umbrechen (DIN-5008-Bindestrich bleibt erhalten) */
a[href^="tel:"],
.tel-nr {
  white-space: nowrap;
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  .anim-reveal,
  .hero__content,
  .hero__slideshow .slide.is-active img,
  .card--inset img,
  .card--title-desc__image img,
  .news-card__image img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===================================================================
   HISTORIE / ZEITLEISTE (Baustein 3.18)
   Wechsel zwischen Full-Bleed Bild-Sektionen (.history-scene) und
   hellen Textsektionen (.history-block). Bild überall links.
   =================================================================== */
.history-scene { position: relative; min-height: 75vh; display: flex; align-items: center; overflow: hidden; }
.history-scene__bg { position: absolute; inset: 0; z-index: 0; }
.history-scene__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.05); transition: transform 1.4s ease; }
.history-scene.is-visible .history-scene__bg img { transform: scale(1); }
.history-scene__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.2) 100%); z-index: 1; }
.history-scene--noise .history-scene__bg::after { background: url("../img/global/noise.svg") repeat, linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.2) 100%); background-size: 240px 240px, auto; }
.history-scene__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--sp-7) var(--sp-4); }
.history-scene__content { max-width: 640px; color: var(--c-white); }
.history-scene__eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--c-white); margin: 0 0 var(--sp-3); }
.history-scene__year { font-size: var(--fs-year); font-weight: 800; color: var(--c-white); line-height: .85; letter-spacing: -3px; margin: 0 0 var(--sp-3); text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.history-scene__title { font-size: var(--fs-h2); font-weight: 700; color: var(--c-white); text-transform: uppercase; letter-spacing: -.3px; margin: 0 0 var(--sp-2); }
.history-scene__text { font-size: var(--fs-body); color: var(--c-white); line-height: 1.65; max-width: 540px; }
.history-scene__badge { position: absolute; right: var(--sp-7); bottom: var(--sp-5); z-index: 2; max-width: 230px; text-align: center; }
.history-scene__badge img { display: block; width: 110px; height: 110px; margin: 0 auto; filter: drop-shadow(0 4px 16px rgba(0,0,0,.4)); }
.history-scene__badge-label { margin: var(--sp-2) 0 0; font-size: var(--fs-xs); line-height: 1.4; color: var(--c-white); text-shadow: 0 2px 8px rgba(0,0,0,.6); }

.history-block { padding: var(--sp-7) 0; background: var(--c-bg); }
.history-block--soft { background: var(--c-bg-soft); }
.history-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-4); align-items: center; }
.history-block__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-soft); }
.history-block__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.history-block__media:hover img { transform: scale(1.04); }
.history-block__text { max-width: 520px; }
.history-block__eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--c-red); margin: 0 0 var(--sp-3); }
.history-block__year { font-size: var(--fs-year); font-weight: 800; color: var(--c-red); line-height: .85; letter-spacing: -4px; margin: 0 0 var(--sp-3); }
.history-block__title { font-size: var(--fs-accent-lg); font-weight: 700; color: var(--c-ink); text-transform: uppercase; letter-spacing: .3px; margin: 0 0 var(--sp-3); line-height: 1.2; }
.history-block__body { font-size: var(--fs-body); color: var(--c-text); line-height: 1.7; }

/* Portrait-Ausrichtung: Kopf im oberen Drittel */
.history-scene__bg img.is-portrait,
.history-block__media img.is-portrait { object-position: center 22%; }

/* Pull-Quote (für Zitate realer Personen, inline in einer Sektion) */
.pull-quote { margin: var(--sp-5) 0 0; padding: var(--sp-4) var(--sp-5); border-left: 4px solid var(--c-red); background: var(--c-bg); max-width: 820px; }
.pull-quote__text { font-size: var(--fs-lead); color: var(--c-ink); line-height: 1.55; font-style: italic; margin: 0 0 var(--sp-2); }
.pull-quote__cite { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--c-text); font-style: normal; text-transform: uppercase; letter-spacing: .3px; }

/* ===================================================================
   QUOTE-SCENE (Baustein 3.19)
   Full-Bleed Zitat-Sektion mit Personen-Foto links, Text rechts.
   Gradient-Overlay macht den rechten Teil textlesbar, Personenmotiv
   links bleibt sichtbar. Bild-Format: 16:9, Person im linken Drittel.
   =================================================================== */
.quote-scene { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.quote-scene__bg { position: absolute; inset: 0; z-index: 0; }
.quote-scene__bg img { width: 116%; height: 100%; object-fit: cover; object-position: center 25%; transform: translateX(-8%); display: block; }
.quote-scene__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, #000 0%, #000 8%, rgba(0,0,0,.7) 30%, rgba(0,0,0,.3) 55%, rgba(0,0,0,0) 80%); z-index: 1; }
.quote-scene__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: var(--sp-7) var(--sp-4); }
.quote-scene__content { max-width: 620px; margin-left: auto; }
.quote-scene__eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--text-on-dark-muted); margin: 0 0 var(--sp-3); }
.quote-scene__text { font-size: var(--fs-subhead); line-height: 1.45; color: var(--c-white); font-weight: 500; margin: 0 0 var(--sp-4); text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.quote-scene__cite { font-size: var(--fs-small); color: var(--text-on-dark-muted); border-left: 3px solid var(--c-red); padding-left: var(--sp-3); }
.quote-scene__cite strong { display: block; color: var(--c-white); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin-bottom: .2rem; }

@media (max-width: 700px) {
  .quote-scene__bg::after { background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.75) 100%); }
  .quote-scene__content { margin-left: 0; }
  /* Person steht im Motiv links (ca. 20 bis 43 % der Bildbreite): Ausschnitt mobil auf sie zentrieren */
  .quote-scene__bg img { width: 100%; transform: none; object-position: 24% 20%; }
}

@media (max-width: 800px) {
  .history-scene { min-height: 65vh; }
  .history-scene__bg::after { background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.65) 100%); }
  .history-scene__badge { right: var(--sp-3); bottom: var(--sp-3); max-width: 190px; }
  .history-scene__badge img { width: 70px; height: 70px; }
  .history-block__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* Sponsoring-Logos in card--text */
.spons-logo-wrap { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-3); }
.spons-logo { display: block; max-height: 150px; width: auto; height: auto; max-width: 100%; }
.spons-logo--sm { max-height: 100px; }

/* ===================================================================
   NACHHALTIGKEIT-ACCORDION (Baustein 3.NH)
   =================================================================== */
.nh-band {
  margin-top: var(--sp-5);
  display: flex;
  height: clamp(400px, 54vh, 580px);
}
.nh-panel {
  position: relative;
  min-width: 148px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  flex: 1 1 0%;
  background: var(--c-bg-soft);
  transition: flex .7s cubic-bezier(.16,1,.3,1);
  border: 0;
  padding: 0;
  font-family: var(--f-sans);
  text-align: left;
  color: var(--c-ink);
}
.nh-panel + .nh-panel { margin-left: var(--sp-1); }
.nh-panel.is-active { flex: 2.4 1 0%; }
.nh-panel:focus-visible { outline: 2px solid var(--c-red); outline-offset: -2px; }

.nh-panel__bg {
  position: absolute; inset: 0;
  background-size: cover;
  opacity: .18;
  filter: grayscale(1) contrast(.9);
  transform: scale(1.08);
  transition: opacity .6s ease, filter .6s ease, transform 1.2s cubic-bezier(.16,1,.3,1);
}
.nh-panel.is-active .nh-panel__bg {
  opacity: 1;
  filter: none;
  transform: scale(1.02);
}

.nh-panel__scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,16,15,.32) 0%, rgba(20,16,15,.42) 38%, rgba(20,16,15,.68) 68%, rgba(20,16,15,.9) 100%);
  opacity: 0;
  transition: opacity .5s ease;
}
.nh-panel.is-active .nh-panel__scrim { opacity: 1; }

.nh-panel__inner {
  position: relative;
  width: clamp(340px, 30vw, 460px);
  box-sizing: border-box;
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  height: 100%;
  pointer-events: none;
}
.nh-panel.is-active .nh-panel__inner { text-shadow: 0 1px 3px rgba(0,0,0,.55); }
/* Branchen-Band (6 Panels): aktives Panel ist schmaler, Textbreite daran anpassen, sonst wird der Text rechts abgeschnitten */
.nh-band--branchen .nh-panel__inner { width: clamp(260px, 22vw, 380px); }
.nh-band--branchen .nh-panel.is-active .nh-panel__detail { max-height: 18rem; }

.nh-panel__num {
  font-size: var(--fs-accent);
  font-weight: 700;
  line-height: 1;
  color: var(--c-ink);
  opacity: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow-wrap: anywhere;
  transform-origin: left top;
  transition: transform .55s cubic-bezier(.16,1,.3,1), color .4s ease, opacity .4s ease;
  margin-top: auto;
}
.nh-panel__num small { font-size: .55em; font-weight: 700; margin-left: .15rem; }
.nh-panel.is-active .nh-panel__num {
  color: var(--c-white);
  font-size: var(--fs-accent-lg);
  opacity: 1;
}

.nh-panel__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--c-white);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
.nh-panel.is-active .nh-panel__label { opacity: 1; transform: translateY(0); }

.nh-panel__detail {
  margin: 0;
  max-width: 54ch;
  max-height: 0;
  overflow: hidden;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--c-white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
.nh-panel.is-active .nh-panel__detail {
  max-height: 10rem;
  opacity: 1;
  transform: translateY(0);
}

.nh-panel__link-row {
  margin-top: var(--sp-1);
}

.nh-panel__link {
  display: inline-block;
  color: var(--c-white);
  font-weight: 600;
  font-size: var(--fs-small);
  pointer-events: auto;
}
.nh-panel__link:hover,
.nh-panel__link:focus-visible {
  text-decoration: underline;
}

.nh-foot {
  margin-top: var(--sp-4);
  display: flex;
  justify-content: flex-end;
}
.nh-foot__progress { display: flex; align-items: center; gap: var(--sp-2); min-width: 200px; }
.nh-foot__bar {
  position: relative;
  height: 2px;
  background: var(--c-line);
  flex: 1;
  min-width: 120px;
}
.nh-foot__bar-fill {
  position: absolute; inset: 0;
  background: var(--c-red);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .1s linear;
}

@media (max-width: 1180px) {
  .nh-band { flex-direction: column; height: auto; }
  .nh-panel { flex: none; min-width: 0; height: 110px; transition: height .7s cubic-bezier(.16,1,.3,1); }
  .nh-panel + .nh-panel { margin-left: 0; margin-top: var(--sp-1); }
  .nh-panel.is-active { height: auto; min-height: 360px; }
  .nh-panel.is-active .nh-panel__detail { max-height: none; }
  .nh-panel__inner { width: 100%; }
  .nh-panel__num { white-space: normal; hyphens: manual; overflow-wrap: break-word; }
  .nh-panel__label { opacity: 1; transform: none; }
  /* Branchen-Variante: Branchenname wie das Label auch im inaktiven Panel sichtbar */
  .nh-band--branchen .nh-panel__num { opacity: 1; }
  /* Inaktive Panels: Überschrift unabhängig von der Textlänge vertikal mittig */
  .nh-panel:not(.is-active) .nh-panel__inner { justify-content: center; }
  .nh-panel:not(.is-active) .nh-panel__detail { display: none; }
  /* dunkle Schrift auf dem hellen, ausgegrauten Panel (Kontrast) */
  .nh-panel:not(.is-active) .nh-panel__label { color: var(--c-ink); }
  /* Branchenname im inaktiven Panel in der Optik von .nh-panel__label */
  .nh-band--branchen .nh-panel:not(.is-active) .nh-panel__num {
    margin-top: 0;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    line-height: 1.3;
    color: var(--c-ink);
  }
  .nh-band:not(.nh-band--branchen) .nh-panel:not(.is-active) .nh-panel__num { display: none; }
  .nh-foot__progress { min-width: 0; }
}

/* Hinweis auf KI-generierte Bilder (Hero, Kachel, Branchen-Accordion) */
/* Bezugsrahmen für den KI-Hinweis, wenn das Bild in keinem positionierten Container steht */
.ki-wrap { position: relative; }

.ki-hinweis {
  position: absolute;
  top: var(--sp-1);
  right: var(--sp-1);
  z-index: 3;
  padding: .2rem .5rem;
  background: rgba(0, 0, 0, .55);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .3px;
  white-space: nowrap;
  pointer-events: none;
}
/* Variante unten rechts, z. B. Basismetalle /techniken/bandgalvanik/ */
.ki-hinweis--unten-rechts { top: auto; bottom: var(--sp-1); }
.hero > .ki-hinweis { top: auto; right: auto; bottom: var(--sp-2); left: var(--sp-2); }
/* Branchen-Accordion: unten rechts, im ausgegrauten Panel blasser */
.nh-panel .ki-hinweis {
  top: auto;
  bottom: var(--sp-1);
  opacity: .25;
  transition: opacity .6s ease;
}
.nh-panel.is-active .ki-hinweis { opacity: 1; }
