/* ==========================================================================
   Grünwald GmbH – „Werkstück“
   Eigenes CSS ohne Framework. Farben und Schriften nur über die Tokens unten.
   ========================================================================== */

/* --- Schriften (lokal, OFL) ---------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* CI */
  --blau: #243875;          /* Logo – Pixelanalyse */
  --blau-tief: #18265a;
  --blau-kraeftig: #3550b5; /* Flächen/Hover, gleicher Farbton */
  --blau-licht: #9fb2ff;    /* Akzent auf Dunkel */

  /* Graphit & Stahl */
  --schwarz: #0a0c0f;
  --graphit: #111419;
  --anthrazit: #1b1f26;
  --stahl-700: #2b313a;
  --stahl-500: #6a727e;
  --stahl-400: #8d95a1;
  --stahl-300: #b3b9c2;
  --stahl-100: #e3e5e8;
  --papier: #f2f1ed;        /* helle Flächen wie Zeichenpapier */
  --weiss: #ffffff;
  --fehler: #c4321f;
  --erfolg: #1f7a4d;

  /* Semantik – Standard: dunkle Fläche */
  --bg: var(--schwarz);
  --flaeche: var(--anthrazit);
  --text: var(--stahl-100);
  --text-leise: var(--stahl-400);
  --ueberschrift: var(--weiss);
  --linie: rgb(255 255 255 / 0.1);
  --linie-stark: rgb(255 255 255 / 0.24);
  --akzent: var(--blau-licht);
  --raster-linie: rgb(255 255 255 / 0.018);

  /* Schrift */
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Größen (fluid 360 → 1440 px) */
  --t-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.8rem);
  --t-s: clamp(0.875rem, 0.85rem + 0.1vw, 0.94rem);
  --t-m: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-l: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  --t-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  --t-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);
  --t-3xl: clamp(1.8rem, 0.4rem + 6.4vw, 6rem);
  /* Mega: an die Breite gekoppelt, damit 9–10 breite Versalien immer passen */
  --t-mega: clamp(2.4rem, 11.2vw, 11.5rem);

  /* Raum */
  --r-1: 0.5rem;
  --r-2: 1rem;
  --r-3: 1.5rem;
  --r-4: 2.5rem;
  --r-5: 4rem;
  --r-6: clamp(5rem, 3rem + 8vw, 10rem);
  --rand: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --breite: 92rem;
  --kopf: 4.75rem;

  --ecke: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-inout: cubic-bezier(0.7, 0, 0.2, 1);
  --dauer: 0.6s;
}

/* Helle Flächen */
.hell {
  --bg: var(--papier);
  --flaeche: var(--weiss);
  --text: #2b313a;
  --text-leise: #5a616c;
  --ueberschrift: var(--schwarz);
  --linie: rgb(10 12 15 / 0.12);
  --linie-stark: rgb(10 12 15 / 0.3);
  --akzent: var(--blau);
  --raster-linie: rgb(36 56 117 / 0.028);
}

/* CI-Blau als Fläche */
.blau {
  --bg: var(--blau);
  --flaeche: var(--blau-tief);
  --text: #dfe5fb;
  --text-leise: #b3c0ee;
  --ueberschrift: var(--weiss);
  --linie: rgb(255 255 255 / 0.18);
  --linie-stark: rgb(255 255 255 / 0.4);
  --akzent: var(--weiss);
  --raster-linie: rgb(255 255 255 / 0.03);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dauer: 0s;
  }
}

/* --- Basis ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf) + 1rem);
  background: var(--schwarz);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--ueberschrift);
  line-height: 1.05;
  font-weight: 800;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

strong {
  font-weight: 650;
  color: var(--ueberschrift);
}

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

::selection {
  background: var(--blau);
  color: var(--weiss);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -10rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--weiss);
  color: var(--schwarz);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Layout-Hilfen -------------------------------------------------------- */
.rahmen {
  width: min(100% - 2 * var(--rand), var(--breite));
  margin-inline: auto;
}

.sektion {
  position: relative;
  padding-block: var(--r-6);
  background: var(--bg);
  color: var(--text);
}

.raster {
  background-image:
    linear-gradient(var(--raster-linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster-linie) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}

/* --- Typo-Bausteine -------------------------------------------------------- */
.label {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-leise);
}

/* Nummer im blauen Quadrat – Motiv aus der Logo-Wortmarke */
.nr {
  display: inline-grid;
  place-items: center;
  min-width: 2.1em;
  height: 2.1em;
  padding-inline: 0.35em;
  background: var(--blau);
  color: var(--weiss);
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.blau .nr {
  background: var(--weiss);
  color: var(--blau);
}

.mega,
.riesig {
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
}

.mega {
  font-size: var(--t-mega);
}

.riesig {
  font-size: var(--t-3xl);
}

.gross {
  font-size: var(--t-2xl);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1;
}

/* Konturschrift: Strichstärke wächst mit der Schriftgröße */
.kontur {
  color: transparent;
  -webkit-text-stroke: max(1.5px, 0.016em) var(--kontur-farbe, var(--ueberschrift));
}

.lead {
  font-size: var(--t-l);
  line-height: 1.5;
  color: var(--text);
  max-width: 40ch;
}

.leise {
  color: var(--text-leise);
}

.mono {
  font-family: var(--mono);
}

.fliesstext {
  max-width: 62ch;
}

.fliesstext > * + * {
  margin-top: 1em;
}

/* --- Knöpfe --------------------------------------------------------------- */
.knopf {
  --k-bg: var(--weiss);
  --k-fg: var(--schwarz);
  --k-rand: var(--weiss);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--k-rand);
  border-radius: var(--ecke);
  background: var(--k-bg);
  color: var(--k-fg);
  font-weight: 650;
  font-size: var(--t-s);
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* Füllung fährt von links ein */
.knopf::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--k-hover, var(--blau-kraeftig));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.knopf:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.knopf:hover {
  color: var(--weiss);
  border-color: var(--k-hover, var(--blau-kraeftig));
}

.knopf .icon {
  transition: transform 0.35s var(--ease);
}

.knopf:hover .icon {
  transform: translateX(3px);
}

.knopf--blau {
  --k-bg: var(--blau);
  --k-fg: var(--weiss);
  --k-rand: var(--blau);
}

.knopf--hell {
  --k-bg: var(--weiss);
  --k-fg: var(--schwarz);
  --k-rand: var(--weiss);
}

.knopf--linie {
  --k-bg: transparent;
  --k-fg: var(--ueberschrift);
  --k-rand: var(--linie-stark);
}

.hell .knopf--hell {
  --k-bg: var(--schwarz);
  --k-fg: var(--weiss);
  --k-rand: var(--schwarz);
  --k-hover: var(--blau);
}

.blau .knopf--hell {
  --k-hover: var(--schwarz);
}

.knopf--klein {
  min-height: 2.6rem;
  padding: 0.55rem 0.95rem;
}

.zaehler {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: var(--weiss);
  color: var(--blau);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  color: var(--ueberschrift);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.2rem;
  transition: background-size 0.4s var(--ease);
}

.textlink:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}

/* --- Kopfleiste ------------------------------------------------------------ */
.kopfleiste {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--weiss);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.kopfleiste.ist-gescrollt {
  background: rgb(10 12 15 / 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: rgb(255 255 255 / 0.08);
}

.kopfleiste.ist-versteckt {
  transform: translateY(-100%);
}

.kopfleiste__inner {
  display: flex;
  align-items: center;
  gap: var(--r-2);
  height: var(--kopf);
}

.kopfleiste__logo {
  margin-right: auto;
  flex-shrink: 0;
}

.kopfleiste__logo img {
  width: clamp(104px, 9vw + 80px, 180px);
}

.kopfleiste__nav {
  display: none;
}

.kopfleiste__nav ul {
  display: flex;
  gap: clamp(1rem, 1.8vw, 2.25rem);
  padding: 0;
  list-style: none;
}

.kopfleiste__nav a {
  position: relative;
  display: block;
  padding-block: 0.5rem;
  font-size: var(--t-s);
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  color: rgb(255 255 255 / 0.82);
  transition: color 0.3s;
}

.kopfleiste__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  background: var(--blau-licht);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.kopfleiste__nav a:hover,
.kopfleiste__nav a[aria-current='page'] {
  color: var(--weiss);
}

.kopfleiste__nav a:hover::after,
.kopfleiste__nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.kopfleiste__aktionen {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kopfleiste__tel {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: var(--ecke);
  text-decoration: none;
  transition: border-color 0.3s;
}

.kopfleiste__tel span {
  display: none;
}

.kopfleiste__tel:hover {
  border-color: var(--weiss);
}

.kopfleiste__menue {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.kopfleiste__menue-linien,
.kopfleiste__menue-linien::before {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.kopfleiste__menue-linien {
  position: relative;
  transform: translateY(-4px);
}

.kopfleiste__menue-linien::before {
  content: '';
  position: absolute;
  top: 8px;
  width: 16px;
}

.kopfleiste__menue:hover .kopfleiste__menue-linien::before {
  transform: scaleX(1.5);
  transform-origin: left;
}

@media (min-width: 75rem) {
  .kopfleiste__nav {
    display: block;
  }

  .kopfleiste__menue {
    display: none;
  }
}

@media (min-width: 92rem) {
  .kopfleiste__tel {
    width: auto;
    padding-inline: 0.9rem;
    gap: 0.5rem;
    display: inline-flex;
    font-size: var(--t-s);
    font-weight: 550;
  }

  .kopfleiste__tel span {
    display: inline;
  }
}

/* --- Vollbild-Menü --------------------------------------------------------- */
.menue {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--blau);
  color: var(--weiss);
  overflow-y: auto;
}

.menue[open] {
  display: flex;
  flex-direction: column;
}

.menue::backdrop {
  background: var(--blau);
}

.menue__kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--kopf);
  border-bottom: 1px solid rgb(255 255 255 / 0.18);
}

.menue .label {
  color: rgb(255 255 255 / 0.7);
}

.menue__zu {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.menue__nav ol {
  padding: var(--r-3) 0;
  list-style: none;
}

.menue__nav a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-block: 0.35rem;
  font-size: clamp(2rem, 1.2rem + 4vw, 3.5rem);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  text-decoration: none;
  transition: color 0.3s, transform 0.4s var(--ease);
}

.menue__nav a:hover {
  transform: translateX(0.5rem);
}

.menue__nav a[aria-current='page'] {
  color: transparent;
  -webkit-text-stroke: max(1.5px, 0.02em) var(--weiss);
}

.menue__nr {
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgb(255 255 255 / 0.6);
  -webkit-text-stroke: 0;
}

.menue__nav .zaehler {
  align-self: center;
}

.menue__kontakt {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  padding-block: var(--r-3) var(--r-4);
}

.menue__kontakt .knopf {
  justify-content: flex-start;
}

.menue[open] .menue__nav li {
  animation: menue-ein 0.6s var(--ease) both;
}

.menue[open] .menue__nav li:nth-child(2) { animation-delay: 0.04s; }
.menue[open] .menue__nav li:nth-child(3) { animation-delay: 0.08s; }
.menue[open] .menue__nav li:nth-child(4) { animation-delay: 0.12s; }
.menue[open] .menue__nav li:nth-child(5) { animation-delay: 0.16s; }
.menue[open] .menue__nav li:nth-child(6) { animation-delay: 0.2s; }
.menue[open] .menue__nav li:nth-child(7) { animation-delay: 0.24s; }

/* Nur Bewegung – bleibt die Animation hängen, ist der Inhalt trotzdem sichtbar */
@keyframes menue-ein {
  from {
    transform: translateY(1.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menue[open] .menue__nav li {
    animation: none;
  }
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-content: end;
  padding-block: calc(var(--kopf) + var(--r-5)) var(--r-4);
  overflow: hidden;
  isolation: isolate;
  background: var(--schwarz);
  color: var(--weiss);
}

.hero--kurz {
  min-height: clamp(30rem, 72svh, 46rem);
}

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

.hero__medien picture,
.hero__medien img,
.hero__medien video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__medien picture img {
    animation: kenburns 24s ease-out both;
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.hero__medien video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero__medien video.laeuft {
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(10 12 15 / 0.55) 0%, rgb(10 12 15 / 0.1) 30%, rgb(10 12 15 / 0.35) 60%, rgb(10 12 15 / 0.92) 100%),
    linear-gradient(90deg, rgb(10 12 15 / 0.55), transparent 65%);
}

.hero__label {
  margin-bottom: var(--r-3);
  color: rgb(255 255 255 / 0.8);
}

.hero__titel {
  color: var(--weiss);
}

.hero__titel .zeile {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero__titel .zeile > span {
  display: inline-block;
}

.js .hero__titel .zeile > span {
  animation: zeile-hoch 1.1s var(--ease) both;
}

.js .hero__titel .zeile:nth-child(2) > span {
  animation-delay: 0.12s;
}

@keyframes zeile-hoch {
  from {
    transform: translateY(105%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__titel .zeile > span {
    animation: none;
  }
}

.hero__fuss {
  display: grid;
  gap: var(--r-3);
  margin-top: var(--r-4);
  padding-top: var(--r-3);
  border-top: 1px solid rgb(255 255 255 / 0.22);
}

@media (min-width: 60rem) {
  .hero__fuss {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.hero__text {
  max-width: 34ch;
  font-size: var(--t-l);
  line-height: 1.4;
  color: rgb(255 255 255 / 0.88);
}

.hero__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  right: var(--rand);
  top: 50%;
  display: none;
  writing-mode: vertical-rl;
  align-items: center;
  gap: 1rem;
  color: rgb(255 255 255 / 0.6);
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 4rem;
  background: linear-gradient(currentColor, transparent);
}

@media (min-width: 75rem) {
  .hero__scroll {
    display: inline-flex;
  }
}

/* --- Laufband -------------------------------------------------------------- */
.laufband {
  display: flex;
  overflow: hidden;
  padding-block: clamp(1rem, 2vw, 1.75rem);
  background: var(--blau);
  color: var(--weiss);
  border-block: 1px solid rgb(255 255 255 / 0.12);
  user-select: none;
}

.laufband__spur {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-right: clamp(1.5rem, 3vw, 3rem);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 3.25rem);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  animation: laufen 38s linear infinite;
}

.laufband__spur span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: max(1.5px, 0.02em) rgb(255 255 255 / 0.85);
}

.laufband__spur i {
  width: 0.5em;
  height: 0.5em;
  background: var(--weiss);
  flex-shrink: 0;
}

.laufband:hover .laufband__spur {
  animation-play-state: paused;
}

@keyframes laufen {
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .laufband__spur {
    animation: none;
  }
}

/* --- Intro / Statement ----------------------------------------------------- */
.intro {
  display: grid;
  gap: var(--r-4);
}

@media (min-width: 64rem) {
  .intro {
    grid-template-columns: 4fr 8fr;
    gap: var(--r-5);
  }
}

.intro__kopf {
  display: grid;
  gap: var(--r-2);
  align-content: start;
}

.statement {
  font-size: var(--t-2xl);
  font-stretch: 110%;
  font-weight: 700;
  line-height: 1.12;
  color: var(--ueberschrift);
  text-wrap: balance;
}

.statement em {
  font-style: normal;
  color: var(--akzent);
}

/* Wörter hellen beim Scrollen nacheinander auf (nur wenn unterstützt) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .statement .wort {
      animation: wort-an linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 45%;
    }
  }
}

@keyframes wort-an {
  from {
    opacity: 0.18;
  }
}

.intro__text {
  display: grid;
  gap: var(--r-3);
  margin-top: var(--r-4);
  max-width: 60ch;
}

@media (min-width: 48rem) {
  .intro__text {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

/* --- Kennzahlen ------------------------------------------------------------ */
.zahlen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--r-5);
  border-top: 1px solid var(--linie);
}

@media (min-width: 64rem) {
  .zahlen {
    grid-template-columns: repeat(4, 1fr);
  }
}

.zahl {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: var(--r-3) var(--r-2) var(--r-3) 0;
  border-bottom: 1px solid var(--linie);
}

.zahl + .zahl {
  padding-left: var(--r-2);
  border-left: 1px solid var(--linie);
}

@media (max-width: 63.99rem) {
  .zahl:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

.zahl dd {
  font-size: clamp(1.45rem, 6.4vw, 4.25rem);
  font-stretch: 125%;
  font-weight: 900;
  line-height: 0.95;
  color: var(--ueberschrift);
}

.zahl dd small {
  font-family: var(--mono);
  font-size: 0.32em;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.04em;
  color: var(--akzent);
  margin-left: 0.2em;
}

.zahl dt {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-leise);
}

/* --- Leistungs-Karten (stapeln sich beim Scrollen) -------------------------- */
.stapel {
  display: grid;
  gap: var(--r-3);
  margin-top: var(--r-5);
}

.karte {
  position: sticky;
  top: calc(var(--kopf) + 1rem);
  display: grid;
  min-height: min(78svh, 44rem);
  overflow: hidden;
  border-radius: var(--ecke);
  background: var(--anthrazit);
  color: var(--weiss);
  isolation: isolate;
  text-decoration: none;
  box-shadow: 0 -20px 60px -30px rgb(0 0 0 / 0.7);
}

.karte:nth-child(2) {
  top: calc(var(--kopf) + 2.5rem);
}

.karte:nth-child(3) {
  top: calc(var(--kopf) + 4rem);
}

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

.karte__bild picture,
.karte__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.karte:hover .karte__bild picture,
.karte__bild img {
  transform: scale(1.04);
}

.karte::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(10 12 15 / 0.2), rgb(10 12 15 / 0.85) 75%);
}

.karte__inhalt {
  display: grid;
  align-content: space-between;
  gap: var(--r-4);
  padding: clamp(1.25rem, 3vw, 3rem);
}

.karte__kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.karte__titel {
  font-size: clamp(1.35rem, 7.2vw, 5.25rem);
  hyphens: manual;
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--weiss);
  max-width: 16ch;
}

.karte__fuss {
  display: grid;
  gap: var(--r-3);
}

.karte__werte {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.karte__werte li {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: var(--ecke);
  background: rgb(10 12 15 / 0.35);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.karte__pfeil {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--weiss);
  color: var(--schwarz);
  transition: transform 0.5s var(--ease), background-color 0.3s;
}

.karte:hover .karte__pfeil {
  transform: rotate(-45deg);
  background: var(--blau-licht);
}

/* --- Bild-Rahmen mit CAD-Eckmarken ---------------------------------------- */
.cad {
  position: relative;
  padding: 0.9rem;
}

.cad::before,
.cad::after,
.cad > .cad__ecke::before,
.cad > .cad__ecke::after {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-color: var(--akzent);
  border-style: solid;
  border-width: 0;
}

.cad::before {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
}

.cad::after {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
}

.cad > .cad__ecke::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.cad > .cad__ecke::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.cad img {
  width: 100%;
  object-fit: cover;
}

.cad__mass {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-leise);
}

/* Bemaßungslinie mit Pfeilspitzen */
.cad__mass span {
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
}

.cad__mass::before,
.cad__mass::after {
  content: '';
  flex: 1 0 1.5rem;
  height: 1px;
  background: currentColor;
}

/* --- Split (Bild + Text) ---------------------------------------------------- */
.split .riesig {
  font-size: clamp(1.3rem, 7.4vw, 4.25rem);
}

@media (min-width: 64rem) {
  .split .riesig {
    font-size: clamp(2rem, 0.3rem + 3.1vw, 3.9rem);
  }
}

/* Raster-Spalten dürfen nicht über ihren Inhalt wachsen */
.split > *,
.intro > * {
  min-width: 0;
}

.split {
  display: grid;
  gap: var(--r-4);
  align-items: center;
}

@media (min-width: 64rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--r-5);
  }

  .split--umgekehrt > :first-child {
    order: 2;
  }
}

.split__text {
  display: grid;
  gap: var(--r-3);
  align-content: start;
}

/* --- Horizontaler Bildstreifen --------------------------------------------- */
.streifen {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 26rem);
  gap: var(--r-2);
  margin-top: var(--r-4);
  padding-inline: var(--rand);
  padding-bottom: var(--r-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rand);
  scrollbar-width: thin;
  scrollbar-color: var(--stahl-700) transparent;
}

.streifen > * {
  scroll-snap-align: start;
}

.streifen figure {
  display: grid;
  gap: 0.75rem;
}

.streifen img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: var(--ecke);
}

.streifen figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-leise);
}

/* --- Karriere-Band --------------------------------------------------------- */
.karriere-band {
  overflow: hidden;
}

.karriere-band__titel {
  /* „VERSTÄRKUNG!“ = 12 breite Zeichen */
  font-size: clamp(2rem, 8.4vw, 8.2rem);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  color: var(--weiss);
}

.karriere-band__unten {
  display: grid;
  gap: var(--r-4);
  margin-top: var(--r-4);
}

@media (min-width: 64rem) {
  .karriere-band__unten {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.karriere-band__zahl {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.karriere-band__zahl strong {
  display: inline-grid;
  place-items: center;
  width: clamp(4.5rem, 3rem + 5vw, 7rem);
  aspect-ratio: 1;
  background: var(--weiss);
  color: var(--blau);
  font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem);
  font-stretch: 125%;
  font-weight: 900;
}

/* --- Fuß ------------------------------------------------------------------- */
.fuss {
  padding-top: var(--r-6);
  background: var(--schwarz);
  color: var(--stahl-300);
  font-size: var(--t-s);
  overflow: hidden;
}

.fuss__oben {
  display: grid;
  gap: var(--r-4);
  padding-bottom: var(--r-5);
  border-bottom: 1px solid var(--linie);
}

@media (min-width: 64rem) {
  .fuss__oben {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.fuss__claim {
  font-size: var(--t-3xl);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  color: var(--weiss);
}

.fuss__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fuss__raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: var(--r-4) var(--r-3);
  padding-block: var(--r-5);
}

.fuss .label {
  display: block;
  margin-bottom: 0.6rem;
}

.fuss .label:not(:first-child) {
  margin-top: var(--r-3);
}

.fuss address {
  font-style: normal;
  color: var(--stahl-100);
}

.fuss ul {
  display: grid;
  gap: 0.3rem;
  padding: 0;
  list-style: none;
}

.fuss a:not(.knopf) {
  color: var(--stahl-100);
  text-decoration: none;
  transition: color 0.3s;
}

.fuss a:not(.knopf):hover {
  color: var(--blau-licht);
}

.fuss p a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fuss__social {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--r-3);
}

.fuss__social a {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--linie-stark);
  border-radius: var(--ecke);
}

/* Riesige Wortmarke aus Quadraten – Motiv des Logos */
.fuss__marke {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: clamp(0.25rem, 0.8vw, 0.75rem);
}

.fuss__marke span {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.05;
  background: var(--blau);
  color: var(--weiss);
  font-size: clamp(1.8rem, 0.5rem + 8.5vw, 10rem);
  font-weight: 900;
  font-stretch: 100%;
  line-height: 1;
  transition: background-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.fuss__marke span:hover {
  background: var(--blau-kraeftig);
  transform: translateY(-6px);
}

.fuss__unten {
  padding-block: var(--r-3);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  color: var(--stahl-500);
}

/* --- Einblenden beim Scrollen ---------------------------------------------- */
.js [data-einblenden] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--verzoegerung, 0s);
}

.js [data-einblenden].ist-sichtbar {
  opacity: 1;
  transform: none;
}

/* Bild wird von unten aufgedeckt */
.js [data-aufdecken] {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease-inout);
}

.js [data-aufdecken].ist-sichtbar {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-einblenden],
  .js [data-aufdecken] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */

.abschnittskopf {
  margin-bottom: var(--r-5);
}

.fliesstext p,
.split__text p {
  max-width: 62ch;
}

.adresse {
  font-style: normal;
  padding-left: var(--r-2);
  border-left: 3px solid var(--blau);
  color: var(--ueberschrift);
}

/* --- Zeitleiste ------------------------------------------------------------ */
.zeitleiste {
  display: grid;
  gap: var(--r-4);
  padding: 0;
  list-style: none;
}

@media (min-width: 64rem) {
  .zeitleiste {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--r-3);
  }
}

.zeitleiste__eintrag {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding-top: var(--r-3);
  border-top: 1px solid var(--linie-stark);
}

/* Messmarke im Logo-Blau */
.zeitleiste__eintrag::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--blau-kraeftig);
}

.zeitleiste__jahr {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  font-stretch: 125%;
  font-weight: 900;
  line-height: 1;
  color: var(--ueberschrift);
}

.zeitleiste__eintrag h3 {
  font-size: var(--t-l);
}

.zeitleiste__eintrag p {
  color: var(--text-leise);
}

.galerie-titel {
  display: block;
  margin: var(--r-5) 0 var(--r-2);
}

/* --- Galerie --------------------------------------------------------------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: var(--r-1);
  padding: 0;
  list-style: none;
}

.galerie a {
  display: block;
  overflow: hidden;
  border-radius: var(--ecke);
  background: var(--flaeche);
}

.galerie img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
}

.galerie a:hover img {
  transform: scale(1.05);
}

.galerie--bento {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.galerie--bento > li:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.galerie--bento > li:first-child a,
.galerie--bento > li:first-child picture {
  height: 100%;
}

.galerie--bento > li:first-child img {
  height: 100%;
  aspect-ratio: auto !important;
}

@media (min-width: 48rem) {
  .galerie--bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .galerie--bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.galerie--teile .galerie {
  grid-template-columns: repeat(auto-fill, minmax(min(46%, 11rem), 1fr));
}

.galerie--teile .galerie a {
  background: var(--weiss);
}

/* --- Leistungen ------------------------------------------------------------ */
.usps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--linie);
  border: 1px solid var(--linie);
}

@media (min-width: 64rem) {
  .usps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.usp {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: var(--r-4);
  min-height: clamp(11rem, 8rem + 8vw, 16rem);
  padding: var(--r-3);
  background: var(--bg);
  transition: background-color 0.4s var(--ease);
}

.usp:hover {
  background: var(--blau);
}

.usp .icon {
  color: var(--akzent);
}

.usp:hover .icon {
  color: var(--weiss);
}

.usp__nr {
  position: absolute;
  top: var(--r-3);
  right: var(--r-3);
  font-size: var(--t-xs);
  color: var(--text-leise);
}

.usp__titel {
  font-size: var(--t-l);
  font-weight: 750;
  font-stretch: 110%;
  line-height: 1.15;
  color: var(--ueberschrift);
}

.leistungen-statement {
  margin-top: var(--r-5);
  max-width: 24ch;
}

.verfahren {
  display: grid;
  gap: var(--r-2);
}

@media (min-width: 56rem) {
  .verfahren {
    grid-template-columns: 1fr 1fr;
  }
}

.verfahren__spalte {
  container-type: inline-size;
  display: grid;
  align-content: start;
  gap: var(--r-2);
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--ecke);
}

.verfahren__spalte h3 {
  font-size: var(--t-xl);
  font-stretch: 112%;
}

/* Bemaßung wie auf der technischen Zeichnung: Wert über einer Maßlinie mit Endmarken */
.bemassung {
  display: grid;
  gap: 0.5rem;
  margin-block: var(--r-2);
}

.bemassung__wert {
  /* an die Spaltenbreite gekoppelt, damit „400 × 1.000“ immer passt */
  font-size: clamp(1.5rem, 9.5cqi, 5rem);
  font-stretch: 125%;
  font-weight: 900;
  line-height: 0.9;
  color: var(--blau);
  white-space: nowrap;
}

.bemassung__wert small {
  margin-left: 0.25em;
  font-family: var(--mono);
  font-size: 0.28em;
  font-weight: 500;
  font-stretch: 100%;
  color: var(--text-leise);
}

.bemassung__linie {
  position: relative;
  height: 1px;
  background: var(--linie-stark);
}

.bemassung__linie::before,
.bemassung__linie::after {
  content: '';
  position: absolute;
  top: -6px;
  width: 1px;
  height: 13px;
  background: var(--linie-stark);
}

.bemassung__linie::before {
  left: 0;
}

.bemassung__linie::after {
  right: 0;
}

.haken {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.haken li {
  position: relative;
  padding-left: 1.5rem;
}

.haken li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.7rem;
  height: 2px;
  background: var(--akzent);
}

.sonder {
  display: flex;
  gap: var(--r-3);
  align-items: flex-start;
  margin-top: var(--r-2);
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--schwarz);
  color: var(--stahl-100);
  border-radius: var(--ecke);
}

.sonder h3 {
  color: var(--weiss);
  font-size: var(--t-xl);
  margin-bottom: 0.5rem;
}

.sonder .nr {
  flex-shrink: 0;
  font-size: var(--t-m);
}

.branchen {
  display: grid;
  gap: var(--r-2);
}

@media (min-width: 48rem) {
  .branchen {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 75rem) {
  .branchen {
    grid-template-columns: repeat(4, 1fr);
  }
}

.branche {
  display: grid;
  align-content: start;
  gap: var(--r-2);
  min-height: 14rem;
  padding: var(--r-3);
  border-top: 2px solid var(--blau-kraeftig);
  background: var(--flaeche);
}

.branche h3 {
  font-size: var(--t-l);
  font-stretch: 112%;
}

.branche p {
  color: var(--text-leise);
}

.branche__nr {
  font-size: var(--t-xs);
  color: var(--text-leise);
}

.und-mehr {
  display: block;
  margin-top: var(--r-3);
}

.unterzeile {
  margin: var(--r-2) 0 0.75rem;
  font-size: var(--t-l);
  font-stretch: 110%;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--linie-stark);
  border-radius: var(--ecke);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ueberschrift);
}

.querverweis {
  margin-top: var(--r-5);
  padding-top: var(--r-3);
  border-top: 1px solid var(--linie);
}

.querverweis .textlink {
  font-size: var(--t-l);
}

/* ==========================================================================
   Kontakt & Formulare
   ========================================================================== */
.kontakt {
  display: grid;
  gap: var(--r-5);
}

@media (min-width: 72rem) {
  .kontakt {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

.kontakt__daten {
  display: grid;
  gap: var(--r-3);
  align-content: start;
}

.kontaktliste {
  display: grid;
  border-top: 1px solid var(--linie);
}

.kontaktliste > div {
  display: grid;
  gap: 0.3rem;
  padding-block: var(--r-2);
  border-bottom: 1px solid var(--linie);
}

.kontaktliste dt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.kontaktliste dt .icon {
  color: var(--akzent);
}

.kontaktliste dd {
  font-size: var(--t-l);
  font-weight: 650;
  color: var(--ueberschrift);
  overflow-wrap: anywhere;
}

.kontaktliste a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}

.kontaktliste a:hover {
  background-size: 100% 1px;
}

.formular-box {
  padding: clamp(1.25rem, 3.5vw, 3.5rem);
  background: var(--flaeche);
  color: var(--text);
  border-top: 6px solid var(--blau);
  border-radius: var(--ecke);
}

.formular-box__titel {
  margin-bottom: var(--r-3);
  font-size: var(--t-xl);
  font-stretch: 112%;
}

.formular {
  display: grid;
  gap: var(--r-3) var(--r-2);
}

@media (min-width: 40rem) {
  .formular {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .feld--voll {
    grid-column: 1 / -1;
  }
}

.feld {
  display: grid;
  gap: 0.4rem;
}

.feld__label {
  font-size: var(--t-s);
  font-weight: 600;
  color: var(--ueberschrift);
}

.feld input:not([type='checkbox']):not([type='file']),
.feld textarea,
.feld select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--linie-stark);
  border-radius: var(--ecke);
  background: var(--bg);
  color: var(--ueberschrift);
  font-size: 1rem; /* ≥ 16 px: kein Zoom auf iOS */
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feld textarea {
  resize: vertical;
  min-height: 9rem;
}

.feld input:focus-visible,
.feld textarea:focus-visible,
.feld select:focus-visible {
  outline: none;
  border-color: var(--blau);
  box-shadow: 0 0 0 3px rgb(53 80 181 / 0.25);
}

.hat-fehler input,
.hat-fehler textarea,
.hat-fehler select,
.hat-fehler .upload__zone {
  border-color: var(--fehler) !important;
}

.feld__fehler {
  font-size: var(--t-s);
  font-weight: 600;
  color: var(--fehler);
}

.feld__fehler:empty {
  display: none;
}

.feld__hinweis {
  font-size: var(--t-s);
  color: var(--text-leise);
}

.feld--haken {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.75rem;
}

.feld--haken input {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  accent-color: var(--blau);
}

.feld--haken label {
  font-size: var(--t-s);
}

.feld--haken .feld__fehler {
  grid-column: 2;
}

.formular__absenden {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--r-2);
}

.meldung {
  margin-bottom: var(--r-3);
  padding: var(--r-2);
  border-left: 4px solid currentColor;
  font-weight: 600;
}

.meldung--fehler {
  color: var(--fehler);
  background: rgb(196 50 31 / 0.08);
}

.meldung--erfolg {
  color: var(--erfolg);
  background: rgb(31 122 77 / 0.08);
}

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Upload-Zone */
.upload__zone {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--r-2);
  padding: var(--r-3);
  border: 1px dashed var(--linie-stark);
  border-radius: var(--ecke);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.upload__zone .icon {
  flex-shrink: 0;
  color: var(--blau);
}

.upload__zone:hover,
.upload.ist-drag .upload__zone {
  border-color: var(--blau);
  background: rgb(36 56 117 / 0.06);
}

.upload__zone:focus-within {
  outline: 2px solid var(--blau);
  outline-offset: 2px;
}

.upload__text {
  display: grid;
  font-size: var(--t-s);
  color: var(--text-leise);
}

.upload__text strong {
  font-size: var(--t-m);
  color: var(--blau);
}

.upload__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload__liste {
  display: grid;
  gap: 0.3rem;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: var(--t-xs);
}

.upload__liste:empty {
  display: none;
}

.upload__liste li {
  padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--blau);
  background: var(--bg);
}

.aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Aktuelles & Fließtext
   ========================================================================== */
.beitraege {
  display: grid;
  gap: var(--r-2);
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .beitraege {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 72rem) {
  .beitraege {
    grid-template-columns: repeat(3, 1fr);
  }

  .beitrag--erster {
    grid-column: 1 / -1;
  }

  .beitrag--erster .beitrag__link {
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
  }

  .beitrag--erster .beitrag__bild img {
    aspect-ratio: auto;
    height: 100%;
  }

  .beitrag--erster .beitrag__titel {
    font-size: var(--t-2xl);
  }
}

.beitrag__link {
  display: grid;
  height: 100%;
  background: var(--flaeche);
  border-radius: var(--ecke);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--linie);
  transition: border-color 0.3s;
}

.beitrag__link:hover {
  border-color: var(--blau-licht);
}

.beitrag__bild {
  overflow: hidden;
}

.beitrag__bild picture,
.beitrag__bild img {
  width: 100%;
  height: 100%;
}

.beitrag__bild img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.beitrag__link:hover .beitrag__bild img {
  transform: scale(1.04);
}

.beitrag__text {
  display: grid;
  align-content: end;
  gap: var(--r-2);
  padding: var(--r-3);
}

.beitrag__titel {
  font-size: var(--t-xl);
  font-stretch: 112%;
}

.beitrag__mehr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  color: var(--akzent);
}

.beitrag__mehr .icon {
  transition: transform 0.3s var(--ease);
}

.beitrag__link:hover .beitrag__mehr .icon {
  transform: translateX(4px);
}

.beitrag-titel {
  font-size: clamp(1.8rem, 0.4rem + 5vw, 5rem);
  max-width: 20ch;
}

.pfeil-zurueck {
  transform: rotate(180deg);
}

.hero__label a.nr {
  text-decoration: none;
}

.beitrag-inhalt {
  max-width: 52rem;
}

.prosa {
  font-size: var(--t-m);
  line-height: 1.7;
  max-width: 68ch;
}

.prosa > * + * {
  margin-top: 1.1em;
}

.prosa h2,
.prosa h3,
.prosa h4 {
  margin-top: 2em;
  font-stretch: 105%;
}

.prosa h2 {
  font-size: var(--t-xl);
}

.prosa h3 {
  font-size: var(--t-l);
}

.prosa h4 {
  font-size: var(--t-m);
}

.prosa h2 + *,
.prosa h3 + *,
.prosa h4 + * {
  margin-top: 0.6em;
}

.prosa ul,
.prosa ol {
  display: grid;
  gap: 0.4em;
  padding-left: 1.4rem;
}

.prosa li::marker {
  color: var(--akzent);
}

.prosa a {
  color: var(--akzent);
  overflow-wrap: anywhere;
}

.prosa > p:first-child {
  font-size: var(--t-l);
  line-height: 1.5;
}

.prosa--recht > p:first-child,
.prosa--weiter > p:first-child {
  font-size: inherit;
  line-height: inherit;
}

/* Medien im Blogtext (Platzhalter [[video: …]] / [[bild: …]]) */
.beitrag-film,
.beitrag-bilder {
  margin: var(--r-4) 0;
}

.beitrag-film__bild {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--ecke);
  background: var(--flaeche);
}

.beitrag-film__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beitrag-film figcaption {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.beitrag-bilder {
  display: grid;
  gap: var(--r-1);
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .beitrag-bilder--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

.beitrag-bilder a {
  display: block;
  overflow: hidden;
  border-radius: var(--ecke);
}

.beitrag-bilder img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: scale var(--dauer) var(--ease);
}

.beitrag-bilder--1 img {
  aspect-ratio: 16 / 9;
}

.beitrag-bilder a:hover img {
  scale: 1.04;
}

/* ==========================================================================
   Karriere
   ========================================================================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--linie);
  border: 1px solid var(--linie);
}

.benefit {
  display: grid;
  align-content: space-between;
  gap: var(--r-4);
  min-height: 11rem;
  padding: var(--r-3);
  background: var(--bg);
  font-size: var(--t-l);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.2;
  color: var(--ueberschrift);
  transition: background-color 0.4s var(--ease);
}

.benefit .icon {
  color: var(--akzent);
}

.benefit:hover {
  background: var(--blau);
}

.benefit:hover .icon {
  color: var(--weiss);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--r-3);
}

.filter__knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  background: transparent;
  font-size: var(--t-s);
  font-weight: 600;
  color: var(--ueberschrift);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.filter__knopf:hover {
  border-color: var(--blau);
}

.filter__knopf[aria-pressed='true'] {
  background: var(--blau);
  border-color: var(--blau);
  color: var(--weiss);
}

.filter__zahl {
  font-family: var(--mono);
  font-size: var(--t-xs);
  opacity: 0.7;
}

.filter__leer {
  padding: var(--r-3);
  border: 1px dashed var(--linie-stark);
}

.jobs {
  display: grid;
  gap: var(--r-1);
  padding: 0;
  list-style: none;
}

.job[hidden] {
  display: none;
}

.job__link {
  position: relative;
  display: grid;
  gap: 0.6rem;
  padding: var(--r-3) calc(var(--r-3) + 4rem) var(--r-3) var(--r-3);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--blau);
  border-radius: var(--ecke);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.job__link:hover {
  transform: translateX(6px);
  box-shadow: 0 18px 40px -24px rgb(10 12 15 / 0.45);
}

.job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--linie-stark);
  border-radius: var(--ecke);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.chip--blau {
  background: var(--blau);
  border-color: var(--blau);
  color: var(--weiss);
}

.job__titel {
  font-size: var(--t-xl);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.1;
  color: var(--ueberschrift);
}

.job__unter {
  color: var(--text-leise);
}

.job__pfeil {
  position: absolute;
  top: 50%;
  right: var(--r-3);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--schwarz);
  color: var(--weiss);
  transform: translateY(-50%);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}

.job__link:hover .job__pfeil {
  background: var(--blau);
  transform: translateY(-50%) rotate(-45deg);
}

.schritte {
  display: grid;
  gap: var(--r-2);
  padding: 0;
  list-style: none;
  counter-reset: schritt;
}

@media (min-width: 56rem) {
  .schritte {
    grid-template-columns: repeat(3, 1fr);
  }
}

.schritte li {
  display: grid;
  align-content: start;
  gap: var(--r-1);
  padding: var(--r-3);
  border-top: 2px solid var(--blau-kraeftig);
  background: var(--flaeche);
}

.schritte__nr {
  font-size: clamp(3rem, 2rem + 3vw, 5rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: max(1.5px, 0.02em) var(--akzent);
}

.schritte h3 {
  font-size: var(--t-l);
}

.schritte p {
  color: var(--text-leise);
}

/* Detailseite */
.job-kopf__titel {
  font-size: clamp(1.6rem, 0.5rem + 5vw, 5.5rem);
  max-width: 18ch;
  /* Lange Berufsbezeichnungen (Zerspanungsmechaniker) dürfen getrennt werden */
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
  overflow-wrap: break-word;
}

.beitrag-titel,
.zeitleiste__jahr,
.job__titel {
  hyphens: auto;
  overflow-wrap: break-word;
}

.job-kopf__unter {
  margin-top: var(--r-2);
  font-family: var(--mono);
  font-size: var(--t-m);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blau-licht);
}

.job__meta--gross .chip {
  padding: 0.45rem 0.8rem;
  color: var(--stahl-100);
}

.job__meta--gross .chip--blau {
  color: var(--weiss);
}

.job-inhalt {
  display: grid;
  gap: var(--r-5);
}

@media (min-width: 64rem) {
  .job-inhalt {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: var(--r-4);
  }
}

.job-block {
  display: grid;
  align-content: start;
  gap: var(--r-2);
}

.job-block .gross {
  font-size: var(--t-xl);
}

.haken--gross li {
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--linie);
  font-size: var(--t-m);
  color: var(--ueberschrift);
}

.haken--gross li::before {
  top: 1.25em;
}

/* Fixierter Bewerben-Knopf (nur mobil) */
.bewerben-leiste {
  position: fixed;
  left: var(--r-2);
  right: var(--r-2);
  bottom: max(var(--r-2), env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  border-radius: var(--ecke);
  background: var(--blau);
  color: var(--weiss);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.6);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.bewerben-leiste.ist-weg {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 64rem) {
  .bewerben-leiste {
    display: none;
  }
}

.sonder > div {
  min-width: 0;
}

.sonder h3 {
  hyphens: auto;
  overflow-wrap: break-word;
}

/* ==========================================================================
   Maschinenpark
   ========================================================================== */
/* Hersteller-Band */
.marken {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 var(--r-5);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linie-stark);
}

.marken li {
  border-bottom: 1px solid var(--linie-stark);
}

.marken a {
  display: grid;
  gap: 0.35rem;
  padding: var(--r-3) var(--r-2) var(--r-3) 0;
  text-decoration: none;
  color: var(--ueberschrift);
}

.marken__name {
  font-size: clamp(1.35rem, 4.2vw, 3.75rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: max(1.5px, 0.016em) var(--ueberschrift);
  transition: color 0.4s var(--ease);
}

.marken a:hover .marken__name,
.marken a:focus-visible .marken__name {
  color: var(--akzent);
  -webkit-text-stroke-color: var(--akzent);
}

.marken__art {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.marken li:nth-child(even) a {
  padding-left: var(--r-2);
  border-left: 1px solid var(--linie-stark);
}

@media (min-width: 48rem) {
  .marken {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .marken li + li a {
    padding-left: var(--r-2);
    border-left: 1px solid var(--linie-stark);
  }
}

/* Gruppe je Kategorie: Kopf links (sticky), Karten rechts */
.mgruppe {
  display: grid;
  gap: var(--r-3);
}

.mgruppe + .mgruppe {
  margin-top: var(--r-5);
}

.mgruppe__kopf {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.mgruppe__zahl {
  font-family: var(--mono);
  font-size: var(--t-s);
  color: var(--akzent);
}

.mgruppe__titel {
  font-size: clamp(2.2rem, 1rem + 2.8vw, 4.25rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.95;
  letter-spacing: -0.03em;
  hyphens: manual;
}

.mgruppe__bereich {
  max-width: 18rem;
  color: var(--text-leise);
}

@media (min-width: 64rem) {
  .mgruppe {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: var(--r-4);
  }

  .mgruppe__kopf {
    position: sticky;
    top: calc(var(--kopf) + var(--r-3));
  }
}

.maschinen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: var(--r-2);
  padding: 0;
  list-style: none;
}

.maschine {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--ecke);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.maschine:hover {
  border-color: var(--akzent);
  box-shadow: 0 1.5rem 3rem -2rem rgb(10 12 15 / 0.45);
}

.maschine__bilder {
  position: relative;
  overflow: hidden;
  background: var(--schwarz);
}

.maschine__bilder a {
  display: block;
}

.maschine__bilder img {
  width: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.maschine:hover .maschine__bilder img {
  transform: scale(1.05);
}

.maschine__platzhalter {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: var(--stahl-500);
}

.maschine__nr,
.maschine__anzahl {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: var(--ecke);
  font-family: var(--mono);
  font-size: var(--t-xs);
  pointer-events: none;
}

.maschine__nr {
  top: 0.75rem;
  left: 0.75rem;
  background: var(--blau);
  color: var(--weiss);
}

.maschine__anzahl {
  right: 0.75rem;
  bottom: 0.75rem;
  background: rgb(10 12 15 / 0.75);
  color: var(--weiss);
}

.maschine__text {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding: var(--r-3) var(--r-3) var(--r-2);
}

.maschine__hersteller {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent);
}

.maschine__modell {
  font-size: var(--t-xl);
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1.05;
  overflow-wrap: anywhere;
  color: var(--ueberschrift);
}

.maschine__daten {
  display: grid;
  width: 100%;
  margin-top: var(--r-1);
  border-top: 1px solid var(--linie);
}

.maschine__daten > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--linie);
  font-size: var(--t-s);
}

.maschine__daten dt {
  color: var(--text-leise);
}

.maschine__daten dd {
  font-weight: 600;
  color: var(--ueberschrift);
  text-align: right;
}

.maschine__vorschau {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0 var(--r-3) var(--r-3);
  list-style: none;
}

.maschine__vorschau a {
  display: block;
  overflow: hidden;
  border-radius: var(--ecke);
  outline: 1px solid var(--linie);
}

.maschine__vorschau img {
  width: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.6s var(--ease);
}

.maschine__vorschau a:hover img,
.maschine__vorschau a:focus-visible img {
  opacity: 1;
  transform: scale(1.08);
}

/* --- Maschinenpark: Werkzeugraum mit Markierungen ---------------------------- */
.wraum {
  display: grid;
  gap: var(--r-3);
  margin-top: var(--r-4);
}

@media (min-width: 64rem) {
  .wraum {
    grid-template-columns: 2fr 1fr;
    gap: var(--r-4);
    align-items: start;
  }
}

.wraum__bild {
  margin: 0;
}

.wraum__bild a {
  display: block;
}

/* Markierung: Punkt auf dem Gerät, Ring pulsiert leicht */
.wraum__punkt {
  position: absolute;
  left: calc(0.9rem + (100% - 1.8rem) * var(--x) / 100);
  top: calc(0.9rem + (100% - 1.8rem) * var(--y) / 100);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  translate: -50% -50%;
  border: 2px solid var(--weiss);
  border-radius: 50%;
  background: var(--blau);
  color: var(--weiss);
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 600;
  box-shadow: 0 0.3rem 1rem rgb(0 0 0 / 0.35);
  pointer-events: none;
  transition: background var(--dauer) var(--ease), scale var(--dauer) var(--ease);
}

.wraum__punkt::after {
  content: '';
  position: absolute;
  inset: -0.45rem;
  border: 1px solid var(--weiss);
  border-radius: 50%;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .wraum__punkt::after {
    animation: wraum-puls 2.6s var(--ease) infinite;
    animation-delay: var(--verzoegerung, 0s);
  }
}

@keyframes wraum-puls {
  0% { opacity: 0.8; scale: 0.7; }
  70%, 100% { opacity: 0; scale: 1.5; }
}

/* Legende hervorheben → passende Markierung wird größer */
.wraum:has(.wraum__liste li[data-punkt="1"]:hover) .wraum__punkt[data-punkt="1"],
.wraum:has(.wraum__liste li[data-punkt="2"]:hover) .wraum__punkt[data-punkt="2"],
.wraum:has(.wraum__liste li[data-punkt="3"]:hover) .wraum__punkt[data-punkt="3"],
.wraum:has(.wraum__liste li[data-punkt="4"]:hover) .wraum__punkt[data-punkt="4"] {
  background: var(--blau-kraeftig);
  scale: 1.25;
}

.wraum__seite {
  display: grid;
  gap: var(--r-3);
}

.wraum__liste {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linie);
}

.wraum__liste li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--r-2);
  align-items: baseline;
  padding: var(--r-2) 0;
  border-bottom: 1px solid var(--linie);
  transition: background var(--dauer) var(--ease);
}

.wraum__liste li:hover {
  background: rgb(255 255 255 / 0.03);
}

.wraum__nr {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--akzent);
}

.wraum__name {
  display: block;
  font-size: var(--t-l);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ueberschrift);
}

.wraum__art {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--t-s);
  color: var(--text-leise);
}

/* Hinweis auf die passende Stelle */
.wraum__stelle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem var(--r-2);
  align-items: center;
  margin-top: var(--r-4);
  padding: var(--r-3);
  border: 1px solid var(--linie-stark);
  border-radius: var(--ecke);
  color: var(--ueberschrift);
  text-decoration: none;
  transition: background var(--dauer) var(--ease), border-color var(--dauer) var(--ease);
}

.wraum__stelle:hover {
  background: var(--blau);
  border-color: var(--blau);
}

.wraum__stelle-label {
  grid-column: 1;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--akzent);
}

.wraum__stelle:hover .wraum__stelle-label {
  color: var(--weiss);
}

.wraum__stelle-titel {
  grid-column: 1;
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.wraum__stelle-pfeil {
  grid-column: 2;
  grid-row: 1 / span 2;
  transition: translate var(--dauer) var(--ease);
}

.wraum__stelle:hover .wraum__stelle-pfeil {
  translate: 0.3rem 0;
}

@media (max-width: 30rem) {
  .wraum__punkt {
    width: 1.6rem;
    height: 1.6rem;
  }
}

/* ==========================================================================
   Hintergrund-Videos & Film-Band
   ========================================================================== */
video[data-video] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

video[data-video].laeuft {
  opacity: 1;
}

/* Während das Video läuft, Ken-Burns-Zoom des Standbilds stoppen */
.hero__medien:has(video.laeuft) picture img {
  animation: none;
}

.filmband {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(22rem, 62svh, 44rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--schwarz);
  color: var(--weiss);
}

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

.filmband__medien picture,
.filmband__medien img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filmband::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(10 12 15 / 0.35), rgb(10 12 15 / 0) 30%, rgb(10 12 15 / 0) 55%, rgb(10 12 15 / 0.85));
}

.filmband__inhalt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: var(--r-2);
  padding-block: var(--r-4);
}

.filmband .label {
  color: rgb(255 255 255 / 0.85);
}

/* ==========================================================================
   Stellenanzeige – Details
   ========================================================================== */
.stelle {
  --bg: #e9ebee;
  --flaeche: var(--weiss);
  --text: #2b313a;
  --text-leise: #5a616c;
  --ueberschrift: var(--schwarz);
  --linie: rgb(10 12 15 / 0.1);
  --linie-stark: rgb(10 12 15 / 0.25);
  --akzent: var(--blau);
  padding-block: var(--r-5) var(--r-6);
}

.stelle__karten {
  display: grid;
  gap: var(--r-2);
  align-items: start;
}

@media (min-width: 64rem) {
  .stelle__karten--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.stelle-karte {
  position: relative;
  background: var(--flaeche);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgb(10 12 15 / 0.06), 0 18px 40px -28px rgb(10 12 15 / 0.35);
  overflow: hidden;
}

/* Blaue Kante oben – Logo-Blau */
.stelle-karte::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--blau);
}

.stelle-karte__kopf {
  display: flex;
  align-items: center;
  gap: var(--r-2);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem) var(--r-2);
}

.stelle-karte__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgb(36 56 117 / 0.08);
  color: var(--blau);
}

.stelle-karte__nr {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  color: var(--text-leise);
}

.stelle-karte__titel {
  margin-top: 0.15rem;
  font-size: var(--t-xl);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.1;
}

.stelle-liste {
  display: grid;
  padding: 0 clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  counter-reset: none;
}

.stelle-liste li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: start;
  gap: var(--r-2);
  padding-block: 0.9rem;
  border-top: 1px solid var(--linie);
  font-size: var(--t-m);
  line-height: 1.45;
  color: var(--ueberschrift);
}

.stelle-liste li:first-child {
  border-top: 0;
}

.stelle-liste__marke {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -0.3rem;
  border-radius: 50%;
  background: var(--blau);
  color: var(--weiss);
}

/* Aufgaben: Nummern wie Arbeitsschritte */
.stelle-karte--aufgaben .stelle-liste__marke {
  border-radius: 4px;
  background: transparent;
  border: 1.5px solid var(--blau);
  color: var(--blau);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
}

/* Vorteile: blauer Block mit Icon-Kacheln */
.vorteile {
  position: relative;
  margin-top: var(--r-2);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background-color: var(--blau);
  background-image:
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  border-radius: 6px;
  color: var(--text);
  overflow: hidden;
}

.vorteile .stelle-karte__nr {
  color: var(--text-leise);
}

.vorteile__titel {
  margin: 0.3rem 0 var(--r-4);
  font-size: var(--t-2xl);
  font-stretch: 120%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--weiss);
}

.vorteile__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: var(--r-1);
  padding: 0;
  list-style: none;
}

.vorteile__liste li {
  display: flex;
  align-items: center;
  gap: var(--r-2);
  min-height: 5rem;
  padding: var(--r-2) var(--r-3) var(--r-2) var(--r-2);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 6px;
  font-weight: 650;
  font-size: var(--t-m);
  line-height: 1.3;
  color: var(--weiss);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.vorteile__liste li:hover {
  background: rgb(255 255 255 / 0.16);
  transform: translateY(-2px);
}

.vorteile__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--weiss);
  color: var(--blau);
}

/* Nur eine Liste (z. B. ohne Aufgaben): auf breiten Bildschirmen zweispaltig */
@media (min-width: 64rem) {
  .stelle__karten--1 .stelle-liste {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--r-4);
  }

  .stelle__karten--1 .stelle-liste li:nth-child(2) {
    border-top: 0;
  }
}

/* Stellenanzeige: Einleitung und Benefits mit Kurzbeschreibung */
.stelle__intro {
  display: grid;
  gap: var(--r-2) var(--r-5);
  margin-bottom: var(--r-4);
}

@media (min-width: 64rem) {
  .stelle__intro {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }
}

.stelle__lead {
  font-size: var(--t-xl);
  font-stretch: 105%;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ueberschrift);
  max-width: 32ch;
}

.stelle__firma {
  padding-left: var(--r-2);
  border-left: 3px solid var(--blau);
  color: var(--text-leise);
}

.vorteile__name {
  display: block;
  color: var(--weiss);
  font-weight: 700;
}

.vorteile__text {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--t-s);
  font-weight: 400;
  line-height: 1.4;
  color: rgb(255 255 255 / 0.78);
}
