/* ==========================================================================
   STC Extrusion GmbH – Stylesheet
   --------------------------------------------------------------------------
   1. Design-Variablen (Farben, Schrift, Abstände)
   2. Grundlagen
   3. Monofilament-Motiv
   4. Layout-Bausteine
   5. Kopfzeile & Navigation
   6. Hero-Bereich
   7. Inhaltsbausteine (Karten, Buttons, …)
   8. Fußzeile
   9. Responsive
   ========================================================================== */

/* 1. Design-Variablen ------------------------------------------------------ */
:root {
  /* Unternehmensfarben */
  --stc-rot:          #D40B2B;   /* Hauptfarbe – RGB 212, 11, 43 (Logo) */
  --stc-rot-dunkel:   #AE0923;   /* Hover-/Aktiv-Zustand */
  --stc-anthrazit:    #383E42;   /* Akzent – angelehnt an RAL 7016 */
  --stc-mausgrau:     #646B63;   /* Akzent – angelehnt an RAL 7005 */
  --stc-weiss:        #FFFFFF;

  /* Abgeleitete Töne */
  --stc-grau-hell:    #F2F3F2;   /* Flächen-Hintergrund */
  --stc-grau-linie:   #D9DCD9;   /* Trennlinien */
  --text:             var(--stc-anthrazit);
  --text-leise:       var(--stc-mausgrau);

  /* Schrift: Verdana, sonst metrisch ähnliche Alternativen */
  --font: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Geneva, Tahoma, sans-serif;

  /* Abstände & Maße */
  --max-breite: 1200px;
  --rand: clamp(1rem, 4vw, 2rem);
  --abschnitt: clamp(3.5rem, 8vw, 6rem);
  --radius: 2px;
  --schatten: 0 6px 24px rgba(56, 62, 66, .10);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--stc-weiss);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 700;
  color: var(--stc-anthrazit);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--stc-rot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--stc-rot-dunkel); }

:focus-visible { outline: 2px solid var(--stc-rot); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  padding: .5rem 1rem; background: var(--stc-rot); color: var(--stc-weiss);
}
.skip-link:focus { top: 1rem; color: var(--stc-weiss); }

/* 3. Monofilament-Motiv ----------------------------------------------------
   Feine, parallele Linien wie einzelne Kunststofffäden. Dezent eingesetzt:
   als Trenner, Überschriften-Akzent, Kanten und Flächenstruktur.            */

/* Fadenbündel: kleines Paket aus 4 feinen Linien (z. B. vor Überschriften) */
.faden {
  display: inline-block;
  width: 48px;
  height: 11px;
  background: repeating-linear-gradient(
    to bottom,
    var(--stc-rot) 0 1px,
    transparent 1px 3.33px
  );
  vertical-align: middle;
}

/* Kopf-/Fußkante: drei Fäden in Rot, Anthrazit und Mausgrau */
.faden-kante {
  height: 7px;
  background:
    linear-gradient(var(--stc-rot), var(--stc-rot)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--stc-mausgrau), var(--stc-mausgrau)) 0 3px / 100% 1px no-repeat,
    linear-gradient(var(--stc-grau-linie), var(--stc-grau-linie)) 0 6px / 100% 1px no-repeat;
}

/* Trenner zwischen Inhalten: Fäden, die zur Mitte hin auslaufen */
.faden-trenner {
  height: 9px;
  margin: 0 auto;
  width: min(320px, 60%);
  background: repeating-linear-gradient(
    to bottom,
    var(--stc-grau-linie) 0 1px,
    transparent 1px 4px
  );
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
}

/* Flächenstruktur: kaum sichtbare, schräge Fäden */
.faden-flaeche {
  background-color: var(--stc-grau-hell);
  background-image: repeating-linear-gradient(
    -24deg,
    rgba(100, 107, 99, .07) 0 1px,
    transparent 1px 14px
  );
}

/* 4. Layout-Bausteine ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.abschnitt { padding: var(--abschnitt) 0; }

.abschnitt-kopf { max-width: 720px; margin-bottom: 2.5rem; }
.abschnitt-kopf--mitte { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stc-rot);
}
.abschnitt-kopf--mitte .eyebrow { justify-content: center; }

.lead { font-size: 1.1rem; color: var(--text-leise); }

.raster {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.zwei-spalten {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* 5. Kopfzeile & Navigation ------------------------------------------------ */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--stc-weiss);
  box-shadow: 0 1px 0 rgba(56, 62, 66, .06);
}

.kopf-inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100px;
  transition: min-height .3s ease;
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 76px; width: auto; transition: height .3s ease; }

/* Beim Scrollen wird die Kopfzeile etwas schmaler */
.kopf--kompakt .kopf-inhalt { min-height: 72px; }
.kopf--kompakt .logo img { height: 54px; }
.kopf--kompakt { box-shadow: 0 6px 20px rgba(56, 62, 66, .08); }

.nav-liste {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-punkt { position: relative; }

/* Oberpunkt: öffnet das Dropdown */
.nav-oberpunkt {
  position: relative;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .85rem;
  font: inherit;
  font-size: .9rem;
  color: var(--stc-anthrazit);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-oberpunkt::before {                 /* kleiner Pfeil */
  content: "";
  order: 2;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.nav-oberpunkt[aria-expanded="true"]::before { transform: translateY(3px) rotate(-135deg); }

/* Aktiver Bereich / Hover: zwei feine rote Fäden unter dem Oberpunkt */
.nav-oberpunkt::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .3rem;
  height: 4px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 3px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-oberpunkt:hover::after,
.nav-oberpunkt[aria-expanded="true"]::after,
.nav-punkt[data-aktiv] .nav-oberpunkt::after { transform: scaleX(1); }
.nav-punkt[data-aktiv] .nav-oberpunkt { color: var(--stc-rot); }

/* Dropdown */
.untermenue {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: none;
  min-width: 290px;
  margin: 0;
  padding: .6rem 0;
  list-style: none;
  background: var(--stc-weiss);
  border: 1px solid var(--stc-grau-linie);
  border-top: 0;
  box-shadow: var(--schatten);
}
.untermenue::before {                    /* Faden-Oberkante */
  content: "";
  position: absolute;
  top: 0; left: -1px; right: -1px;
  height: 5px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 2px);
}
.nav-oberpunkt[aria-expanded="true"] + .untermenue { display: block; }
.untermenue a {
  display: block;
  padding: .65rem 1.25rem .65rem 1.4rem;
  color: var(--stc-anthrazit);
  text-decoration: none;
  border-left: 2px solid transparent;
}
.untermenue strong { display: block; font-size: .9rem; }
.untermenue span { display: block; font-size: .75rem; color: var(--text-leise); }
.untermenue a:hover { background: var(--stc-grau-hell); border-left-color: var(--stc-rot); }
.untermenue a[aria-current="page"] { border-left-color: var(--stc-rot); }
.untermenue a[aria-current="page"] strong { color: var(--stc-rot); }

.nav-cta { margin-left: .75rem; }
.nav-kontakt {
  display: block;
  padding: .6rem 1.1rem;
  font-size: .9rem;
  color: var(--stc-weiss);
  text-decoration: none;
  background: var(--stc-rot);
  border-radius: var(--radius);
}
.nav-kontakt:hover,
.nav-kontakt[aria-current="page"] { color: var(--stc-weiss); background: var(--stc-rot-dunkel); }

.menu-knopf {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-strich,
.menu-strich::before,
.menu-strich::after {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--stc-anthrazit);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-strich { position: relative; }
.menu-strich::before,
.menu-strich::after { content: ""; position: absolute; left: 0; }
.menu-strich::before { top: -7px; }
.menu-strich::after  { top: 7px; }
.menu-knopf[aria-expanded="true"] .menu-strich { background: transparent; }
.menu-knopf[aria-expanded="true"] .menu-strich::before { transform: translateY(7px) rotate(45deg); }
.menu-knopf[aria-expanded="true"] .menu-strich::after  { transform: translateY(-7px) rotate(-45deg); }

/* 6. Hero-Bereich ---------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--stc-weiss);
  background: var(--stc-anthrazit);
}

/* Fließende Monofilamente als Hintergrund */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/filamente.svg") right center / cover no-repeat;
  opacity: .9;
}

.hero-inhalt {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4.5rem, 10vw, 7.5rem);
  max-width: 680px;
}

.hero h1 { color: var(--stc-weiss); }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero .eyebrow { color: var(--stc-weiss); }
.hero .eyebrow .faden {
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 3.33px);
}

.hero-aktionen { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.seiten-hero .hero-inhalt { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }

/* 7. Inhaltsbausteine ------------------------------------------------------ */
.knopf {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: var(--stc-weiss);
  background: var(--stc-rot);
  border: 1px solid var(--stc-rot);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.knopf:hover { color: var(--stc-weiss); background: var(--stc-rot-dunkel); border-color: var(--stc-rot-dunkel); }

.knopf--linie { color: var(--stc-weiss); background: transparent; border-color: rgba(255, 255, 255, .6); }
.knopf--linie:hover { background: var(--stc-weiss); border-color: var(--stc-weiss); color: var(--stc-anthrazit); }

.knopf--dunkel { color: var(--stc-anthrazit); background: transparent; border-color: var(--stc-anthrazit); }
.knopf--dunkel:hover { color: var(--stc-weiss); background: var(--stc-anthrazit); border-color: var(--stc-anthrazit); }

/* Karte mit Faden-Oberkante */
.karte {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--stc-weiss);
  border: 1px solid var(--stc-grau-linie);
  border-radius: var(--radius);
  transition: box-shadow .25s ease, transform .25s ease;
}
.karte::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 5px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 2px);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .35s ease;
}
.karte:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.karte:hover::before { transform: scaleX(1); }
.karte p:last-child { margin-bottom: 0; }
.karte .mehr { font-size: .85rem; font-weight: 700; text-decoration: none; }

/* Kennzahlen */
.zahlen {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.zahl { padding-left: 1.25rem; border-left: 1px solid var(--stc-rot); }
.zahl strong { display: block; font-size: 2rem; line-height: 1.1; color: var(--stc-anthrazit); }
.zahl span { font-size: .85rem; color: var(--text-leise); }

/* Bild-Platzhalter (bis echte Fotos vorliegen) */
.bild-platzhalter {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  font-size: .8rem;
  color: var(--stc-mausgrau);
  border: 1px dashed var(--stc-grau-linie);
  border-radius: var(--radius);
}

/* Standortkarte (Google Maps erst nach Klick laden) */
.standortkarte {
  position: relative;
  min-height: 340px;
  border: 1px solid var(--stc-grau-linie);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(100, 107, 99, .08) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(100, 107, 99, .08) 27px 28px),
    var(--stc-grau-hell);
}
.standortkarte-hinweis {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .25rem;
  min-height: 340px;
  padding: 2rem;
  font-size: .9rem;
  color: var(--text-leise);
}
.standortkarte-hinweis p { margin: 0 0 .5rem; max-width: 44ch; }
.standortkarte-hinweis strong { color: var(--text); font-size: 1rem; }
.standortkarte-hinweis .knopf { margin: .5rem 0 1rem; }
.standortkarte iframe { display: block; width: 100%; height: 400px; border: 0; }

/* Hinweis auf noch fehlende Inhalte */
.platzhalter-hinweis {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--stc-rot);
  background: var(--stc-grau-hell);
  color: var(--text-leise);
}

/* Handlungsaufruf-Band */
.cta-band {
  color: var(--stc-weiss);
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .08) 0 1px, transparent 1px 6px),
    var(--stc-rot);
}
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.cta-band h2 { color: var(--stc-weiss); margin: 0; }
.cta-band p { margin: .4rem 0 0; color: rgba(255, 255, 255, .88); }
.cta-band .knopf { color: var(--stc-rot); background: var(--stc-weiss); border-color: var(--stc-weiss); }
.cta-band .knopf:hover { color: var(--stc-weiss); background: var(--stc-anthrazit); border-color: var(--stc-anthrazit); }

/* 8. Fußzeile -------------------------------------------------------------- */
.fuss {
  color: rgba(255, 255, 255, .75);
  background: var(--stc-anthrazit);
  font-size: .875rem;
}
.fuss-raster {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}
.fuss h2 {
  margin-bottom: 1rem;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stc-weiss);
}
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li { margin-bottom: .4rem; }
.fuss a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.fuss a:hover { color: var(--stc-weiss); text-decoration: underline; }
.fuss address { margin-top: 1rem; font-style: normal; line-height: 1.8; }
.fuss .logo img { height: 80px; margin-bottom: 1.25rem; }

.fuss-unten {
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.fuss-unten .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: .8rem;
}
.fuss-unten ul { display: flex; gap: 1.5rem; }

/* 9. Responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1020px) {
  .menu-knopf { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: var(--stc-weiss);
    border-top: 1px solid var(--stc-grau-linie);
    box-shadow: var(--schatten);
  }
  .nav.offen { display: block; }
  .nav-liste { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--rand) 1.25rem; }
  .nav-punkt { border-bottom: 1px solid var(--stc-grau-linie); }
  .nav-oberpunkt { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1rem; }
  .nav-oberpunkt::after { left: 0; right: auto; width: 48px; bottom: .45rem; }
  .untermenue {
    position: static;
    min-width: 0;
    padding: 0 0 .75rem;
    border: 0;
    box-shadow: none;
  }
  .untermenue::before { display: none; }
  .untermenue a { padding: .55rem 0 .55rem 1rem; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-kontakt { padding: .9rem 1rem; text-align: center; }
}

@media (max-width: 860px) {
  .zwei-spalten { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .fuss-raster { grid-template-columns: 1fr; }
  .hero::before { background-position: 70% center; opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* 10. Bausteine Startseite ------------------------------------------------- */

/* Hero mit Foto: Anthrazit-Verlauf links für Lesbarkeit, Fäden darüber */
.hero--bild { background: var(--stc-anthrazit); }
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero--bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(56, 62, 66, .97) 0%,
    rgba(56, 62, 66, .90) 38%,
    rgba(56, 62, 66, .35) 75%,
    rgba(56, 62, 66, .15) 100%);
}
.hero--bild::before { z-index: 1; opacity: .55; }
/* Sanfte Variante (Gruppenfoto): nur hinter dem Text abdunkeln, Personen bleiben sichtbar */
.hero--sanft::after {
  background: linear-gradient(90deg,
    rgba(56, 62, 66, .82) 0%,
    rgba(56, 62, 66, .62) 40%,
    rgba(56, 62, 66, .15) 70%,
    rgba(56, 62, 66, 0) 100%);
}
.hero--sanft .hero-inhalt { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero--sanft .hero-foto { object-position: center 20%; }   /* Schild am Gebäude ganz zeigen */
@media (min-width: 701px) {
  /* Gruppenfoto: Kopf auf breiten Bildschirmen höher, damit nicht zu stark beschnitten wird */
  .hero--sanft { display: flex; align-items: center; min-height: min(31vw, 620px); }
  .hero--sanft > .container { width: 100%; }
}
@media (max-width: 700px) {
  .hero--sanft::after { background: rgba(56, 62, 66, .62); }
}
.hero--bild .container { position: relative; z-index: 2; }

.abschnitt--eng { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }

/* Prozesskette: drei Karten, verbunden durch einen Faden */
.prozess {
  position: relative;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.prozess::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 110px;
  height: 7px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 3px);
  opacity: .5;
}

.karte--bild { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.karte--bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.karte--bild::before { z-index: 1; }
.karte-text { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.karte-text .mehr { margin-top: auto; }

.prozess-schritt {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stc-rot);
}
.prozess-schritt span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--stc-weiss);
  background: var(--stc-rot);
  border-radius: 50%;
  letter-spacing: 0;
}

/* Starlinger-Gruppe: Logos als Links */
.gruppen-logos {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.gruppen-logos a {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 240px;
  padding: 2.5rem;
  background: var(--stc-weiss);
  border: 1px solid var(--stc-grau-linie);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.gruppen-logos a:hover,
.gruppen-logos a:focus-visible { border-color: var(--stc-rot); box-shadow: 0 6px 20px rgba(56, 62, 66, .12); }
.gruppen-logos img { width: auto; max-width: 100%; max-height: 150px; }

/* Anwendungen: Fotokacheln mit Überschrift */
.anwendungs-kacheln {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.anwendungs-kachel {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stc-anthrazit);
}
.anwendungs-kachel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.anwendungs-kachel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 33, 36, .85), rgba(30, 33, 36, 0) 55%);
  pointer-events: none;
}
.anwendungs-kachel h3 {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  margin: 0;
  color: var(--stc-weiss);
  font-size: clamp(.95rem, 3.6vw, 1.05rem);
  line-height: 1.3;
  hyphens: auto;
  overflow-wrap: break-word;
}
.anwendungs-kachel h3::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  margin-bottom: .6rem;
  background: var(--stc-rot);
}
.anwendungs-kachel:hover img { transform: scale(1.04); }
@media (max-width: 560px) {
  .anwendungs-kachel h3 { left: .8rem; right: .6rem; bottom: .9rem; font-size: .88rem; }
}

/* Listen mit kurzem Faden als Aufzählungszeichen */
.liste { margin: 0 0 1rem; padding: 0; list-style: none; }
.liste li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; font-size: .92rem; }
.liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 1rem;
  height: 5px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 2px);
}

.bild-rahmen {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 -1px var(--stc-grau-hell), 14px 14px 0 0 var(--stc-grau-linie);
}

@media (max-width: 960px) {
  .prozess { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .prozess::before { display: none; }
}

@media (max-width: 560px) {
  .hero--bild::after { background: rgba(56, 62, 66, .85); }
}

/* Anlagen-Rendering mit nummerierten Prozessschritten */
.abschnitt--rendering { padding-bottom: calc(var(--abschnitt) * .8); }
.anlage { position: relative; margin: 0 0 2rem; }
.anlage img { width: 100%; }
.anlage-punkt {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  transform: translate(-1rem, -50%);
  font-size: .8rem;
  font-weight: 700;
  color: var(--stc-anthrazit);
  white-space: nowrap;
}
.anlage-punkt b,
.anlage-legende b {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  font-size: .85rem;
  color: var(--stc-weiss);
  background: var(--stc-rot);
  border-radius: 50%;
}
.anlage-punkt b { box-shadow: 0 0 0 5px rgba(212, 11, 43, .18); }
.anlage-punkt > span {
  padding: .2rem .55rem;
  background: rgba(255, 255, 255, .92);
  border-left: 2px solid var(--stc-rot);
}
.anlage-etikett {
  position: absolute;
  transform: translateY(-50%);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stc-mausgrau);
}
.anlage-legende {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 1.75rem 0 0;
  list-style: none;
  border-top: 1px solid var(--stc-grau-linie);
}
.anlage-legende li { display: flex; gap: .9rem; font-size: .9rem; color: var(--text-leise); }
.anlage-legende strong { display: block; margin-bottom: .2rem; color: var(--stc-anthrazit); }

@media (max-width: 860px) {
  .anlage-punkt > span, .anlage-etikett { display: none; }
  .anlage-punkt b { width: 1.6rem; height: 1.6rem; font-size: .75rem; }
  .anlage-legende { grid-template-columns: 1fr; }
}

/* 11. Bausteine Unterseiten ------------------------------------------------ */

/* Unternavigation unter dem Seitenkopf */
.unternavi {
  background: var(--stc-weiss);
  border-bottom: 1px solid var(--stc-grau-linie);
}
.unternavi ul {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.unternavi a {
  position: relative;
  display: block;
  padding: 1rem 1rem;
  font-size: .85rem;
  color: var(--text-leise);
  text-decoration: none;
  white-space: nowrap;
}
.unternavi li:first-child a { padding-left: 0; }
.unternavi a:hover,
.unternavi a[aria-current="page"] { color: var(--stc-rot); }
.unternavi a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: -1px;
  height: 4px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 3px);
}

/* Zeitstrahl: ein Faden, an dem die Jahre hängen */
.zeitstrahl {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 820px;
}
.zeitstrahl::before {
  content: "";
  position: absolute;
  top: .6rem; bottom: .6rem;
  left: 6.25rem;
  width: 7px;
  background: repeating-linear-gradient(to right, var(--stc-rot) 0 1px, transparent 1px 3px);
  opacity: .55;
}
.zeitstrahl li {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2.75rem;
  padding-bottom: 1.75rem;
}
.zeitstrahl li::before {
  content: "";
  position: absolute;
  left: calc(6.25rem - 4px);
  top: .45rem;
  width: 15px;
  height: 15px;
  background: var(--stc-weiss);
  border: 3px solid var(--stc-rot);
  border-radius: 50%;
}
.zeitstrahl li:first-child::before { background: var(--stc-rot); }
.zeitstrahl time {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--stc-anthrazit);
  text-align: right;
}
.zeitstrahl h3 { margin-bottom: .25rem; font-size: 1rem; }
.zeitstrahl p { margin: 0; font-size: .92rem; color: var(--text-leise); }

.zahlen--drei { grid-template-columns: repeat(3, 1fr); }

.karte-ort {
  margin-bottom: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stc-mausgrau);
}
.karte--wir { border-color: var(--stc-rot); }
.karte--wir::before { transform: scaleX(1); }

.hinweis-text { margin-top: 2rem; font-size: .9rem; color: var(--text-leise); }

.adresse { margin: 0 0 1.75rem; font-style: normal; line-height: 1.8; }

@media (max-width: 700px) {
  .zahlen--drei { grid-template-columns: 1fr; }
  .zeitstrahl::before { left: .45rem; }
  .zeitstrahl li { grid-template-columns: 1fr; gap: .2rem; padding-left: 2.25rem; }
  .zeitstrahl li::before { left: 0; }
  .zeitstrahl time { text-align: left; }
}
.rendering { width: 100%; }
.anlage-punkt--links { flex-direction: row-reverse; transform: translate(calc(-100% + 1rem), -50%); }
.anlage-punkt--links > span { border-left: 0; border-right: 2px solid var(--stc-rot); }

/* Personen (Team, Ansprechpartner) */
.personen-gruppe + .personen-gruppe { margin-top: 3.5rem; }
.gruppe-titel {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.25rem;
}
.gruppe-titel::before {
  content: "";
  width: 32px;
  height: 9px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 2.67px);
}
.gruppe-text { margin: -.25rem 0 1.5rem; color: var(--text-leise); }
.personen {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-top: 1.25rem;
}
.person {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--stc-weiss);
  border: 1px solid var(--stc-grau-linie);
  border-radius: var(--radius);
}
.person-foto {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(-24deg, rgba(100, 107, 99, .12) 0 1px, transparent 1px 6px),
    var(--stc-grau-hell);
  border: 1px solid var(--stc-grau-linie);
}
.person h3 { margin-bottom: .15rem; font-size: 1rem; }
.person-rolle { margin-bottom: .5rem; font-size: .85rem; color: var(--text-leise); }
.person-kontakt { margin: 0; font-size: .85rem; line-height: 1.7; }

.mehr-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: auto 0 0; }

img.person-foto { object-fit: cover; background: var(--stc-grau-hell); }

/* Zentrale Kontaktdaten */
.kontakt-zentrale {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 3.5rem;
  padding: 1.75rem 2rem;
  background: var(--stc-grau-hell);
  border-left: 3px solid var(--stc-rot);
}
.kontakt-zentrale h2 { margin-bottom: .2rem; font-size: 1.25rem; }
.kontakt-zentrale p { margin: 0; color: var(--text-leise); }
.kontakt-gross { font-size: 1.15rem; font-weight: 700; line-height: 1.6; text-align: right; }
.kontakt-gross a { text-decoration: none; }

.keine-stellen {
  padding: 1.75rem 2rem;
  background: var(--stc-weiss);
  border: 1px solid var(--stc-grau-linie);
  border-left: 3px solid var(--stc-rot);
}
.keine-stellen p { margin: 0; }
.keine-stellen p + p { margin-top: .4rem; color: var(--text-leise); }

/* Nummerierte Schritte */
.schritte {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.schritt-nr {
  display: block;
  margin-bottom: .75rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--stc-rot);
}

.zwei-spalten--oben { align-items: start; }
.liste--gross li { margin-bottom: .9rem; font-size: 1rem; }

@media (max-width: 560px) {
  .kontakt-gross { text-align: left; }
}

/* Technikum-Teaser auf der Startseite */
.technikum-band {
  padding: var(--abschnitt) 0;
  color: var(--stc-weiss);
  background:
    repeating-linear-gradient(-24deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 14px),
    var(--stc-anthrazit);
}
.technikum-band h2 { color: var(--stc-weiss); }
.technikum-band .lead { color: rgba(255, 255, 255, .85); }
.technikum-band p { color: rgba(255, 255, 255, .75); }
.technikum-band .eyebrow { color: var(--stc-weiss); }
.technikum-band .rendering { border-radius: var(--radius); background: var(--stc-weiss); padding: 1.5rem; }

/* 12. Produktseiten -------------------------------------------------------- */
.produkt-intro { grid-template-columns: 5fr 6fr; }
.produkt-intro--breit { display: block; }
.produkt-intro--breit > div { max-width: 760px; }
.produkt-intro--breit > img { width: 100%; margin-top: 2.5rem; }

/* Hauptmerkmale: Raster mit Faden-Markierung */
.merkmale {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin: 0;
  padding: 0 1px 1px 0;
  list-style: none;
}
.merkmale li {
  position: relative;
  margin: 0 -1px -1px 0;
  padding: 1.5rem;
  background: var(--stc-weiss);
  border: 1px solid var(--stc-grau-linie);
}
.merkmale li::before {
  content: "";
  display: block;
  width: 28px;
  height: 7px;
  margin-bottom: .9rem;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 3px);
}
.merkmale strong { display: block; margin-bottom: .3rem; color: var(--stc-anthrazit); }
.merkmale span { display: block; font-size: .9rem; color: var(--text-leise); }

/* Technische Daten */
.daten-raster {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
}
.daten-block { min-width: 0; }
.daten-block h3,
.daten-block h4 { margin-bottom: .75rem; font-size: 1rem; }
.daten-rahmen { overflow-x: auto; }
.daten {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  border-top: 3px solid var(--stc-rot);
}
.daten th,
.daten td {
  padding: .75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--stc-grau-linie);
}
.daten th, .daten td { overflow-wrap: break-word; hyphens: auto; }
.daten tbody th { width: 42%; font-weight: 400; color: var(--text-leise); }
.daten td { font-weight: 700; color: var(--stc-anthrazit); }
.daten tbody tr:nth-child(even) { background: var(--stc-grau-hell); }
.daten thead th {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stc-anthrazit);
  background: var(--stc-grau-hell);
}
.daten--vergleich tbody th { width: 30%; }
.daten--vergleich td { font-weight: 400; }
.daten-hinweis { margin: .75rem 0 0; font-size: .8rem; color: var(--text-leise); }

/* Bildergalerie mit nummerierten Bildunterschriften */
.galerie {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: end;
}
.galerie figure { margin: 0; }
.galerie img { width: 100%; }
.galerie figcaption {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: .75rem;
  padding-top: .75rem;
  font-size: .85rem;
  color: var(--text-leise);
  border-top: 1px solid var(--stc-grau-linie);
}
.galerie figcaption b {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  font-size: .75rem;
  color: var(--stc-weiss);
  background: var(--stc-rot);
  border-radius: 50%;
}

/* Versionen (DD2000) */
.versionen { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.versionen-wert { margin-top: 1rem; font-size: 1.35rem; font-weight: 700; color: var(--stc-rot); }

/* Aufklappbare Varianten */
.variante {
  margin-bottom: 1rem;
  background: var(--stc-weiss);
  border: 1px solid var(--stc-grau-linie);
  border-left: 3px solid var(--stc-rot);
}
.variante summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  list-style: none;
}
.variante summary::-webkit-details-marker { display: none; }
.variante summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--stc-rot);
  border-bottom: 2px solid var(--stc-rot);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.variante[open] summary::after { transform: rotate(-135deg); }
.variante summary strong { color: var(--stc-anthrazit); }
.variante summary span { color: var(--text-leise); }
.variante-inhalt { padding: 0 1.5rem 1.5rem; }

/* Blättern zwischen Produkten */
.produkt-navi { border-top: 1px solid var(--stc-grau-linie); }
.produkt-navi .container { display: flex; justify-content: space-between; gap: 1rem; }
.produkt-navi a {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  text-decoration: none;
}
.produkt-navi span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); }
.produkt-navi strong { font-size: 1.1rem; color: var(--stc-anthrazit); }
.produkt-navi a:hover strong { color: var(--stc-rot); }
.produkt-navi-zurueck strong::before { content: "← "; color: var(--stc-rot); }
.produkt-navi-weiter { margin-left: auto; text-align: right; }
.produkt-navi-weiter strong::after { content: " →"; color: var(--stc-rot); }

@media (max-width: 860px) {
  .produkt-intro { grid-template-columns: 1fr; }
  .galerie, .versionen { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .daten-raster { grid-template-columns: 1fr; }
  .daten th, .daten td { padding: .6rem .7rem; }
}

/* 13. Bewegung ------------------------------------------------------------- */

/* Rahmen-Fäden neben dem Inhalt (per JavaScript erzeugt) */
main { position: relative; }
main > :not(.rahmen-faeden) { position: relative; z-index: 1; }
.rahmen-faeden {
  position: absolute;
  left: 0;
  z-index: 0;
  pointer-events: none;
  fill: none;
  stroke-width: 1.25;
  --abgespult: 1;
}
.rahmen-faeden path {
  stroke-dasharray: 1;
  stroke-dashoffset: var(--abgespult);
}

/* Inhalte sanft einblenden */
.einblenden:not(.sichtbar) { opacity: 0; }
.einblenden.sichtbar { animation: einblenden .7s cubic-bezier(.2, .7, .2, 1) var(--verzoegerung, 0ms) backwards; }
@keyframes einblenden {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Seitenkopf: Text erscheint nacheinander, Fäden bewegen sich langsam */
.hero-inhalt > * { animation: einblenden .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-inhalt > :nth-child(2) { animation-delay: .1s; }
.hero-inhalt > :nth-child(3) { animation-delay: .2s; }
.hero-inhalt > :nth-child(4) { animation-delay: .3s; }
.hero::before {
  inset: -20px -60px;
  animation: faden-welle 6s ease-in-out infinite alternate;
}
@keyframes faden-welle {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50px, 14px, 0); }
}

/* Fadenbündel vor Überschriften wird beim Einblenden "gezogen" */
.abschnitt-kopf.sichtbar .faden { animation: faden-ziehen .9s cubic-bezier(.2, .7, .2, 1) .15s backwards; }
@keyframes faden-ziehen { from { transform: scaleX(0); transform-origin: left; } }

/* Pulsierende Markierungen auf dem Anlagen-Rendering */
.anlage-punkt b { animation: puls 2.6s ease-out infinite; }
.anlage-punkt:nth-of-type(2) b { animation-delay: .8s; }
.anlage-punkt:nth-of-type(3) b { animation-delay: 1.6s; }
@keyframes puls {
  0%   { box-shadow: 0 0 0 0 rgba(212, 11, 43, .45); }
  70%  { box-shadow: 0 0 0 12px rgba(212, 11, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 11, 43, 0); }
}

@media (max-width: 1020px) {
  .logo img { height: 60px; }
  .kopf-inhalt { min-height: 84px; }
  .kopf--kompakt .logo img { height: 48px; }
  .kopf--kompakt .kopf-inhalt { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-inhalt > *, .anlage-punkt b, .einblenden.sichtbar,
  .abschnitt-kopf.sichtbar .faden { animation: none !important; }
  .einblenden:not(.sichtbar) { opacity: 1; }
}

/* Personenkarten im Hochformat (überschreibt die frühere runde Variante) */
.personen { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; }   /* 5 Kacheln je Reihe (Geschäftsleitung) */
.person {
  position: relative;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.person::before {                         /* Faden-Oberkante wie bei den Karten */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1;
  height: 5px;
  background: repeating-linear-gradient(to bottom, var(--stc-rot) 0 1px, transparent 1px 2px);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .35s ease;
}
.person:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.person:hover::before { transform: scaleX(1); }
img.person-foto {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform .5s ease;
}
.person:hover img.person-foto { transform: scale(1.03); }
.person-text { padding: 1rem 1.1rem 1.2rem; background: var(--stc-weiss); position: relative; }
.person-kontakt { font-size: .8rem; overflow-wrap: anywhere; }


/* Zeitstrahl: Neustart 2026 bewusst getrennt vom durchgehenden Faden
   (die STC Extrusion GmbH ist rechtlich eigenständig) */
.zeitstrahl-neustart {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2.75rem;
  max-width: 820px;
  margin-bottom: 3rem;
  padding: 1.5rem 0;
}
.zeitstrahl-neustart::before {                 /* eigener Punkt, ohne Verbindung */
  content: "";
  position: absolute;
  left: calc(6.25rem - 6px);
  top: 1.85rem;
  width: 19px;
  height: 19px;
  background: var(--stc-rot);
  border: 3px solid var(--stc-weiss);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--stc-rot);
}
.zeitstrahl-neustart time {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--stc-rot);
  text-align: right;
}
.zeitstrahl-neustart h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.zeitstrahl-neustart p { margin: 0; color: var(--text-leise); max-width: 60ch; }
.zeitstrahl-neustart .neustart-marke {
  margin-bottom: .2rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--stc-rot);
}
.zeitstrahl-ueberschrift {
  margin: 0 0 1.25rem 8.5rem;
  padding-top: 1.75rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--stc-mausgrau);
  border-top: 1px dashed var(--stc-grau-linie);
  max-width: calc(820px - 8.5rem);
}
.zeitstrahl li:first-child::before { background: var(--stc-weiss); }   /* nur der Neustart ist gefüllt */

@media (max-width: 700px) {
  .zeitstrahl-neustart { grid-template-columns: 1fr; gap: .2rem; padding-left: 2.25rem; }
  .zeitstrahl-neustart::before { left: -3px; top: 1.9rem; }
  .zeitstrahl-neustart time { text-align: left; }
  .zeitstrahl-ueberschrift { margin-left: 0; }
}

/* 16. Kontaktformular ------------------------------------------------------ */
.kontakt-raster { max-width: 820px; }
.kontaktformular {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
  margin-top: 2rem;
}
.feld { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-size: .85rem; font-weight: 700; color: var(--stc-anthrazit); }
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: .75rem .85rem;
  font: inherit;
  font-size: .95rem;
  color: var(--stc-anthrazit);
  background: var(--stc-weiss);
  border: 1px solid #B7BCB7;
  border-radius: var(--radius);
}
.feld textarea { resize: vertical; min-height: 9rem; }
.feld input:focus,
.feld select:focus,
.feld textarea:focus { outline: 2px solid var(--stc-rot); outline-offset: 0; border-color: var(--stc-rot); }
.feld [aria-invalid="true"] { border-color: var(--stc-rot); background: #FDF3F4; }
.feld--haken { flex-direction: row; align-items: flex-start; gap: .75rem; }
.feld--haken input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--stc-rot); }
.feld--haken label { font-weight: 400; color: var(--text-leise); line-height: 1.6; }
.pflicht { color: var(--stc-rot); }
.formular-hinweis { margin: .75rem 0 0; font-size: .8rem; color: var(--text-leise); }
.formular-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-meldung {
  grid-column: 1 / -1;
  margin: 0;
  padding: .9rem 1.1rem;
  font-size: .92rem;
  border-left: 3px solid;
}
.formular-meldung--fehler { color: #8E0F19; background: #FDF3F4; border-color: var(--stc-rot); }
.formular-meldung--erfolg { color: #1E5631; background: #EFF7F1; border-color: #2E7D46; }

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

/* Slogan: "Die Kunst" weiß auf rotem Balken (auf dem dunklen Foto ist rote Schrift zu kontrastarm) */
.slogan { line-height: 1.25; }
.slogan em {
  font-style: normal;
  color: var(--stc-weiss);
  background: var(--stc-rot);
  padding: .02em .28em .08em;
  margin-left: -.28em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
/* Hintergrund-Fäden im Einstiegsbild nur rechts – nicht hinter dem Text */
.hero--bild::before {
  -webkit-mask-image: linear-gradient(90deg, transparent 0 48%, #000 72%);
          mask-image: linear-gradient(90deg, transparent 0 48%, #000 72%);
}

/* 17. Rechtstexte, Platzhalter, Downloads ---------------------------------- */
.rechtstext > * { max-width: 820px; }
.rechtstext { overflow-wrap: anywhere; }
.rechtstext ol { padding-left: 1.4rem; }
.rechtstext h2 { margin-top: 2.5rem; font-size: 1.35rem; }
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext h3 { margin-top: 1.75rem; margin-bottom: .4rem; font-size: 1.05rem; }
.rechtstext p { color: var(--text); }
.rechtstext-stand { margin-top: 2.5rem; font-size: .85rem; color: var(--text-leise); }
.rechtstext-tabelle { margin: 1rem 0 1.5rem; overflow-x: auto; }
.rechtstext-tabelle table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rechtstext-tabelle th,
.rechtstext-tabelle td { padding: .55rem .75rem; overflow-wrap: break-word; hyphens: auto; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stc-grau-linie); }
.rechtstext-tabelle th { color: var(--stc-anthrazit); border-bottom: 2px solid var(--stc-anthrazit); }
.rechtstext-tabelle td:first-child { width: 34%; font-weight: 600; }

/* Gelb markierte, noch fehlende Angaben (vor Veröffentlichung entfernen) */
mark.offen { padding: 0 .25em; color: var(--stc-anthrazit); background: #FFE680; border-radius: 2px; }
.entwurf-hinweis {
  margin-bottom: 2.5rem;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  background: #FFF6CC;
  border-left: 3px solid #E0B400;
}

.downloads { margin: 1.5rem 0; padding: 0; list-style: none; }
.downloads li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--stc-grau-linie);
}
.download-name { font-weight: 700; color: var(--stc-anthrazit); }
.download-status { font-size: .85rem; color: var(--text-leise); }

/* Sprachumschalter DE | EN */
.nav-sprache {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin-left: .9rem;
  font-size: .8rem;
  font-weight: 700;
}
.nav-sprache .sprache-aktiv,
.nav-sprache a { padding: .35rem .4rem; letter-spacing: .04em; }
.nav-sprache .sprache-aktiv { color: var(--stc-anthrazit); }
.nav-sprache a { color: var(--text-leise); text-decoration: none; border-left: 1px solid var(--stc-grau-linie); padding-left: .55rem; }
.nav-sprache a:hover { color: var(--stc-rot); }

.nav-social { display: flex; align-items: center; margin-left: .5rem; }
.nav-social a {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: var(--stc-mausgrau);
  border-radius: var(--radius);
  transition: color .2s ease;
}
.nav-social a:hover,
.nav-social a:focus-visible { color: #0A66C2; }

@media (max-width: 1020px) {
  .nav-sprache { margin: 1rem 0 0; justify-content: center; font-size: .9rem; }
  .nav-social { justify-content: center; margin: .5rem 0 0; }
}

/* 18. Fotoreihe ------------------------------------------------------------ */
.fotoreihe {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.fotoreihe figure { margin: 0; }
.fotoreihe img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.fotoreihe figcaption {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--stc-grau-linie);
  color: var(--text-leise);
  font-size: .9rem;
}
@media (max-width: 860px) {
  .fotoreihe { grid-template-columns: 1fr; }
}

/* build-test-20261127-1205 */
