@charset "utf-8";
/* ==========================================================================
   Madyel Industrie – Metallsonderanfertigung
   Ein Stylesheet, in Abschnitten. Reihenfolge:
   01 Schriften · 02 Tokens · 03 Reset · 04 Typografie · 05 Layout
   06 Kopfzeile · 07 Buttons · 08 Hero · 09 Vertrauensleiste · 10 Eingangswege
   11 Leistungen · 12 Projektraster · 13 Lightbox · 14 Zeitstrahl · 15 Ablauf
   16 Branchen · 17 Unternehmen · 18 Formular · 19 Fusszeile
   20 Rechtstexte · 21 Bewegung · 22 Druck
   ========================================================================== */

/* 01 ---------------------------------------------------------- Schriften */
/* Selbst gehostet: keine Anfrage an Dritte, damit auch datenschutzrechtlich
   nichts zu erklaeren ist. Variable Schrift, ein einziger Download. */
@font-face {
  font-family: "InterVar";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  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;
}

/* 02 ------------------------------------------------------------- Tokens */
:root {
  --ink: #0d1012;
  --ink-90: #161a1d;
  --ink-80: #1f262a;
  --steel-70: #3b454b;
  --steel-60: #4f5a61;
  --steel-50: #67737b;
  --steel-40: #8c979e;
  --steel-30: #b3bcc1;
  --steel-20: #cfd5d9;
  --steel-10: #e4e8ea;
  --steel-05: #eef1f2;
  --paper: #f5f6f7;
  --white: #ffffff;

  --accent: #c0521f;
  --accent-strong: #9c4218;
  --accent-tint: rgba(192, 82, 31, 0.1);

  --font: "InterVar", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1280px;
  --wrap-narrow: 780px;
  --section-y: clamp(64px, 9vw, 132px);

  --rule: 1px solid var(--steel-10);
  --rule-dark: 1px solid rgba(255, 255, 255, 0.14);

  --shadow-card: 0 1px 2px rgba(13, 16, 18, 0.04),
    0 12px 32px -18px rgba(13, 16, 18, 0.35);
  --shadow-lift: 0 2px 4px rgba(13, 16, 18, 0.06),
    0 26px 48px -24px rgba(13, 16, 18, 0.45);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-80);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: "kern" 1, "liga" 1, "cv05" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

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

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

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

::selection {
  background: var(--ink);
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 04 ---------------------------------------------------------- Typografie */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  color: var(--ink);
  font-weight: 640;
  line-height: 1.1;
  letter-spacing: -0.021em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.25rem + 3.1vw, 3.7rem);
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.85vw, 2.7rem);
}

h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  letter-spacing: -0.014em;
}

h4 {
  font-size: 1.0625rem;
  letter-spacing: -0.008em;
}

p {
  margin: 0 0 1.15em;
}

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

strong {
  font-weight: 620;
  color: var(--ink);
}

.eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--steel-50);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow--accent {
  color: var(--accent-strong);
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.42vw, 1.28rem);
  line-height: 1.62;
  color: var(--steel-60);
  max-width: 62ch;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-head p {
  color: var(--steel-60);
  font-size: clamp(1rem, 0.97rem + 0.3vw, 1.16rem);
  max-width: 60ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-tint);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
  border-color: var(--accent);
  gap: 14px;
}

.text-link .arrow {
  transition: transform 0.25s var(--ease);
}

.text-link:hover .arrow {
  transform: translateX(3px);
}

/* 05 -------------------------------------------------------------- Layout */
.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(var(--wrap-narrow), 100% - 2 * var(--gutter));
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}

.section--paper {
  background: var(--paper);
}

.section--line {
  border-top: var(--rule);
}

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--steel-40);
}

.section--dark .lead,
.section--dark .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.grid {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split--wide-left {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .split--wide-right {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.media {
  position: relative;
  overflow: hidden;
  background: var(--steel-05);
}

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

.ratio-43 {
  aspect-ratio: 4 / 3;
}

.ratio-32 {
  aspect-ratio: 3 / 2;
}

.ratio-11 {
  aspect-ratio: 1 / 1;
}

/* 06 ------------------------------------------------------------ Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand__sub {
  margin-top: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel-50);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.845rem;
  font-weight: 560;
  letter-spacing: 0.03em;
  color: var(--steel-60);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--ink);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--steel-20);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
  flex: 0 0 18px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}

.nav-toggle__bars span:nth-child(1) {
  top: 0;
}

.nav-toggle__bars span:nth-child(2) {
  top: 5px;
}

.nav-toggle__bars span:nth-child(3) {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1119px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: block;
    background: var(--white);
    border-bottom: var(--rule);
    padding: 8px var(--gutter) 32px;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
      visibility 0.24s;
    box-shadow: 0 24px 40px -28px rgba(13, 16, 18, 0.5);
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    display: block;
  }

  .site-nav__list li + li {
    border-top: var(--rule);
  }

  .site-nav__link {
    display: block;
    padding: 16px 0;
    font-size: 1.02rem;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link[aria-current="page"] {
    color: var(--accent-strong);
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 22px;
    justify-content: center;
  }
}

/* 07 -------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 620;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.btn .arrow {
  transition: transform 0.24s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

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

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--steel-20);
}

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

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.83rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.site-header .btn {
  padding: 12px 20px;
  font-size: 0.845rem;
}

/* 08 ----------------------------------------------------------------- Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(1.18) contrast(1.04);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Nur so viel Abdunklung, wie der Text braucht - das Motiv soll sichtbar
     bleiben. Die Aufnahme ist bereits dunkel; ein kraeftiger Verlauf machte
     daraus eine schwarze Flaeche. */
  background: linear-gradient(
      100deg,
      rgba(8, 10, 12, 0.86) 0%,
      rgba(8, 10, 12, 0.62) 34%,
      rgba(8, 10, 12, 0.18) 66%,
      rgba(8, 10, 12, 0.05) 100%
    ),
    linear-gradient(to top, rgba(8, 10, 12, 0.5), rgba(8, 10, 12, 0) 48%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(74vh, 720px);
  padding-block: clamp(72px, 11vw, 128px);
}

.hero__content {
  max-width: 46rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem);
  font-weight: 660;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin-bottom: 26px;
}

.hero__sub {
  font-size: clamp(1.05rem, 0.99rem + 0.5vw, 1.3rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.8);
  max-width: 46ch;
  margin: 0;
}

/* Hero – Vertrauensfakten */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0.015em;
}

.hero__facts span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hero__facts span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 22px;
  border-radius: 50%;
  background: var(--accent);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-1px);
}

/* Kompakter Kopf fuer die Unterseiten */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

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

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    95deg,
    rgba(8, 10, 12, 0.95) 0%,
    rgba(8, 10, 12, 0.86) 45%,
    rgba(8, 10, 12, 0.5) 100%
  );
}

.page-hero__inner {
  padding-block: clamp(56px, 8vw, 104px);
  max-width: 48rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.2rem);
  max-width: 56ch;
}

.breadcrumb {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

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

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* 09 --------------------------------------------------- Vertrauensleiste */
.trust {
  border-bottom: var(--rule);
  background: var(--white);
}

.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 560px) {
  .trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .trust__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust__item {
  padding: clamp(26px, 3.4vw, 44px) clamp(18px, 2.4vw, 34px);
  border-top: var(--rule);
}

/* Senkrechte Trennlinien nur dort, wo tatsaechlich nebeneinander gesetzt wird -
   in der einspaltigen Ansicht waere die Linie eine Kante ohne Nachbarn. */
@media (min-width: 560px) {
  .trust__item {
    border-right: var(--rule);
  }

  .trust__grid .trust__item:nth-child(2n) {
    border-right: 0;
  }
}

@media (min-width: 860px) {
  .trust__grid .trust__item:nth-child(2n) {
    border-right: var(--rule);
  }

  .trust__grid .trust__item:last-child {
    border-right: 0;
  }
}

.trust__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 14px;
}

.trust__item h2,
.trust__item h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.trust__item p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--steel-50);
  margin: 0;
}

/* 10 --------------------------------------------------------- Eingangswege */
.ways {
  display: grid;
  gap: 1px;
  background: var(--steel-10);
  border: var(--rule);
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .ways {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.way {
  background: var(--white);
  padding: clamp(26px, 3vw, 38px);
  transition: background-color 0.3s var(--ease);
}

.way:hover {
  background: var(--paper);
}

.way__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--accent);
}

.way h3 {
  margin-bottom: 8px;
}

.way p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--steel-50);
}

/* 11 --------------------------------------------------------- Leistungen */
.cat-list {
  border-top: var(--rule);
}

.cat-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: var(--rule);
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}

.cat-row::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--gutter) / 2);
  right: calc(-1 * var(--gutter) / 2);
  top: 0;
  bottom: 0;
  background: var(--paper);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}

.cat-row:hover::before {
  opacity: 1;
}

.cat-row__num {
  font-size: 0.78rem;
  font-weight: 660;
  letter-spacing: 0.14em;
  color: var(--steel-30);
  transition: color 0.3s var(--ease);
  padding-top: 4px;
  align-self: start;
}

.cat-row:hover .cat-row__num {
  color: var(--accent);
}

.cat-row__body {
  display: grid;
  gap: clamp(14px, 2vw, 32px);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .cat-row__body {
    grid-template-columns: 1fr auto auto;
  }
}

.cat-row__text h3 {
  margin-bottom: 6px;
  transition: color 0.3s var(--ease);
}

.cat-row:hover .cat-row__text h3 {
  color: var(--accent-strong);
}

.cat-row__text p {
  margin: 0;
  color: var(--steel-50);
  font-size: 0.96rem;
  max-width: 56ch;
}

.cat-row__thumb {
  width: 200px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel-05);
  order: -1;
}

@media (min-width: 780px) {
  .cat-row__thumb {
    order: 0;
  }
}

.cat-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cat-row:hover .cat-row__thumb img {
  transform: scale(1.06);
}

.cat-row__go {
  display: none;
  color: var(--steel-30);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

@media (min-width: 780px) {
  .cat-row__go {
    display: block;
  }
}

.cat-row:hover .cat-row__go {
  color: var(--accent);
  transform: translateX(5px);
}

/* Ausfuehrliche Leistungsbloecke */
.service-block {
  padding-block: clamp(48px, 6vw, 90px);
  border-top: var(--rule);
  scroll-margin-top: 96px;
}

.service-block__num {
  font-size: 0.76rem;
  font-weight: 660;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 16px;
  display: block;
}

.service-block h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.35vw, 2.3rem);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.tag-list li {
  border: var(--rule);
  padding: 7px 13px;
  font-size: 0.815rem;
  color: var(--steel-60);
  background: var(--white);
  border-radius: 2px;
}

.section--dark .tag-list li {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
}

/* 12 ----------------------------------------------------- Projektraster */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: 4px;
}

.filter-btn {
  background: var(--white);
  border: var(--rule);
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 560;
  color: var(--steel-60);
  cursor: pointer;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease),
    background-color 0.22s var(--ease);
}

.filter-btn:hover {
  border-color: var(--steel-40);
  color: var(--ink);
}

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.filter-count {
  margin-left: auto;
  align-self: center;
  font-size: 0.82rem;
  color: var(--steel-50);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Der Listeneintrag traegt den Rasterplatz, die Schaltflaeche fuellt ihn aus -
   sonst enden die Karten einer Zeile auf unterschiedlicher Hoehe. */
.project-grid > li {
  display: flex;
}

/* Diese Regel MUSS bleiben: die Zeile darueber ist spezifischer als das
   [hidden] des Browsers. Ohne sie behalten ausgefilterte Karten ihren Platz
   im Raster - die Seite waere voller leerer Kaesten, obwohl der Zaehler die
   richtige Zahl nennt. */
.project-grid > li[hidden] {
  display: none;
}

.project-card {
  display: flex;
  flex-direction: column;
  border: var(--rule);
  background: var(--white);
  text-align: left;
  padding: 0;
  cursor: zoom-in;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
  width: 100%;
  flex: 1;
  font: inherit;
  color: inherit;
}

.project-card:hover {
  border-color: var(--steel-30);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.project-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel-05);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.project-card:hover .project-card__media img {
  transform: scale(1.05);
}

.project-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.project-card__cat {
  font-size: 0.68rem;
  font-weight: 640;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.project-card__title {
  font-size: 1.01rem;
  font-weight: 620;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.project-card__desc {
  font-size: 0.885rem;
  line-height: 1.55;
  color: var(--steel-50);
  margin: 0;
}

.project-empty {
  padding: 48px 0;
  color: var(--steel-50);
}

.grid-note {
  margin-top: 30px;
  font-size: 0.86rem;
  color: var(--steel-50);
}

/* 13 ------------------------------------------------------------ Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 44px);
  background: rgba(8, 10, 12, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1180px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lightbox__figure img {
  max-height: min(72vh, 800px);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  background: #000;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.82);
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
}

.lightbox__caption strong {
  display: block;
  color: var(--white);
  font-size: 1.06rem;
  margin-bottom: 4px;
}

.lightbox__caption span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.22s var(--ease);
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
  top: clamp(12px, 2.4vw, 28px);
  right: clamp(12px, 2.4vw, 28px);
}

.lightbox__prev {
  left: clamp(8px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: clamp(8px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: clamp(12px, 2.4vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

body.is-locked {
  overflow: hidden;
}

/* 14 ---------------------------------------------------------- Zeitstrahl */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--steel-20);
}

@media (min-width: 900px) {
  .timeline::before {
    left: 132px;
  }
}

.timeline__fill {
  position: absolute;
  left: 7px;
  top: 12px;
  width: 1px;
  height: 0;
  background: var(--accent);
  transition: height 0.9s var(--ease);
}

@media (min-width: 900px) {
  .timeline__fill {
    left: 132px;
  }
}

.tl-item {
  position: relative;
  padding: 0 0 clamp(38px, 4.5vw, 62px) 34px;
}

@media (min-width: 900px) {
  .tl-item {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 60px;
    padding-left: 0;
  }
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item__year {
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

@media (min-width: 900px) {
  .tl-item__year {
    text-align: right;
    margin-bottom: 0;
    padding-top: 2px;
  }
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--steel-30);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

@media (min-width: 900px) {
  .tl-item::before {
    left: 128px;
  }
}

.tl-item.is-visible::before {
  border-color: var(--accent);
  background: var(--accent);
}

.tl-item__body p {
  color: var(--steel-60);
  margin: 0;
  max-width: 58ch;
}

.tl-item__media {
  margin-top: 20px;
  max-width: 540px;
  overflow: hidden;
  background: var(--steel-05);
}

.tl-item__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tl-item__media figcaption {
  font-size: 0.78rem;
  color: var(--steel-50);
  padding-top: 8px;
}

/* Bildstreifen */
.strip {
  display: grid;
  gap: 1px;
  background: var(--steel-10);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 780px) {
  .strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}

.strip figure {
  margin: 0;
  overflow: hidden;
  background: var(--steel-05);
}

.strip figure:hover img {
  filter: none;
  transform: scale(1.05);
}

/* 15 -------------------------------------------------------------- Ablauf */
.steps {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  grid-template-columns: 1fr;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  background: var(--ink);
  padding: clamp(26px, 3vw, 38px);
  transition: background-color 0.35s var(--ease);
}

.step:hover {
  background: var(--ink-80);
}

.step__num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 660;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 20px;
}

.step__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.step__icon {
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.step h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.62);
}

/* Ablauf hell (Anfrageseite) */
.steps--light {
  background: var(--steel-10);
  border-color: var(--steel-10);
}

.steps--light .step {
  background: var(--white);
}

.steps--light .step:hover {
  background: var(--paper);
}

.steps--light .step__num::after {
  background: var(--steel-10);
}

.steps--light .step__icon {
  color: var(--steel-40);
}

.steps--light .step h3 {
  color: var(--ink);
}

.steps--light .step p {
  color: var(--steel-50);
}

/* 16 ------------------------------------------------------------ Branchen */
.industries {
  display: grid;
  gap: 1px;
  background: var(--steel-10);
  border: var(--rule);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 700px) {
  .industries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.industry {
  background: var(--white);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color 0.3s var(--ease);
}

.industry:hover {
  background: var(--paper);
}

.industry svg {
  width: 26px;
  height: 26px;
  color: var(--steel-40);
  transition: color 0.3s var(--ease);
}

.industry:hover svg {
  color: var(--accent);
}

.industry span {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.97rem;
  letter-spacing: -0.005em;
}

/* 17 ---------------------------------------------------------- Unternehmen */
.facts {
  display: grid;
  gap: 1px;
  background: var(--steel-10);
  border: var(--rule);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 860px) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fact {
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
}

.fact__value {
  display: block;
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}

.fact__label {
  font-size: 0.88rem;
  color: var(--steel-50);
  line-height: 1.5;
  display: block;
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule);
}

.principles li {
  padding: 24px 0;
  border-bottom: var(--rule);
  display: grid;
  gap: 6px;
}

@media (min-width: 760px) {
  .principles li {
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: baseline;
  }
}

.principles h3 {
  margin: 0;
  font-size: 1.05rem;
}

.principles p {
  margin: 0;
  color: var(--steel-60);
  font-size: 0.98rem;
}

.callout {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 26px;
  margin: 34px 0;
}

.callout p {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.42rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 560;
  letter-spacing: -0.015em;
  margin: 0;
}

/* CTA-Band */
.cta-band {
  background: var(--ink);
  color: var(--white);
}

.cta-band__inner {
  padding-block: clamp(56px, 7vw, 96px);
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 64px;
  }
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 52ch;
}

.cta-band .btn-row {
  margin-top: 0;
}

@media (min-width: 900px) {
  .cta-band .btn-row {
    justify-content: flex-end;
  }
}

/* 18 ------------------------------------------------------------ Formular */
.form-layout {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 1000px) {
  .form-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  }
}

.rfq {
  border: var(--rule);
  background: var(--white);
  padding: clamp(24px, 3.4vw, 44px);
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(30px, 3.4vw, 44px);
}

.fieldset:last-of-type {
  margin-bottom: 0;
}

.fieldset > legend {
  padding: 0;
  margin-bottom: 22px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  border-bottom: var(--rule);
  width: 100%;
  padding-bottom: 12px;
}

.field-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .field-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.003em;
}

.field .req {
  color: var(--accent);
  margin-left: 2px;
}

.field .hint {
  font-size: 0.8rem;
  color: var(--steel-50);
  line-height: 1.5;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--steel-20);
  border-radius: 2px;
  padding: 13px 15px;
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 168px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2367737b' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(13, 16, 18, 0.08);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.field-error {
  font-size: 0.81rem;
  color: var(--accent-strong);
  font-weight: 560;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

/* Dateiauswahl */
.dropzone {
  position: relative;
  border: 1px dashed var(--steel-30);
  border-radius: 2px;
  background: var(--paper);
  padding: clamp(24px, 3vw, 34px);
  text-align: center;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.dropzone.is-hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone svg {
  width: 28px;
  height: 28px;
  color: var(--steel-40);
  margin: 0 auto 12px;
}

.dropzone__title {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.dropzone__meta {
  font-size: 0.81rem;
  color: var(--steel-50);
  margin-top: 6px;
}

.file-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border: var(--rule);
  padding: 10px 14px;
  font-size: 0.87rem;
  background: var(--white);
}

.file-list .name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}

.file-list .size {
  color: var(--steel-50);
  font-variant-numeric: tabular-nums;
}

.file-list .bad {
  color: var(--accent-strong);
  font-weight: 600;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 4px;
}

.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: 0 0 20px;
}

.consent label {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--steel-60);
  font-weight: 400;
}

.consent a {
  color: var(--accent-strong);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: var(--rule);
}

.form-actions .note {
  font-size: 0.82rem;
  color: var(--steel-50);
  max-width: 42ch;
}

.form-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--steel-30);
  background: var(--paper);
  font-size: 0.93rem;
}

.form-status:empty {
  display: none;
}

.form-status--ok {
  border-color: #1d7a4c;
  background: rgba(29, 122, 76, 0.07);
}

.form-status--error {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.form-status--busy {
  border-color: var(--steel-40);
}

.btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

/* Seitliche Infospalte */
.aside-card {
  border: var(--rule);
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
}

.aside-card + .aside-card {
  margin-top: 24px;
}

.aside-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.aside-card p {
  font-size: 0.93rem;
  color: var(--steel-60);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-list dt,
.contact-list .label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-50);
  margin-bottom: 4px;
}

.contact-list dd {
  /* Der Standardeinzug der Browser laesst die Werte gegenueber den
     Beschriftungen verrutschen. */
  margin: 0;
}

.contact-list a {
  color: var(--ink);
  font-weight: 560;
  text-decoration: none;
  border-bottom: 1px solid var(--steel-20);
}

.contact-list a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--steel-60);
  line-height: 1.55;
}

.checklist svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-top: 4px;
}

/* 19 ------------------------------------------------------------ Fusszeile */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-top {
  display: grid;
  gap: clamp(34px, 4vw, 56px);
  padding-block: clamp(52px, 6vw, 82px);
}

@media (min-width: 860px) {
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

.footer-brand .brand__name,
.footer-brand .brand__sub {
  color: var(--white);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-bottom {
  border-top: var(--rule-dark);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* 20 --------------------------------------------------------- Rechtstexte */
.prose {
  max-width: 74ch;
}

.prose h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  margin-top: 2.2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.08rem;
  margin-top: 1.9em;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
  margin: 0 0 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose a {
  color: var(--accent-strong);
}

.prose dl {
  margin: 0 0 1.4em;
  display: grid;
  gap: 4px 24px;
}

@media (min-width: 620px) {
  .prose dl {
    grid-template-columns: 220px 1fr;
  }
}

.prose dt {
  font-weight: 600;
  color: var(--ink);
}

.prose dd {
  margin: 0 0 10px;
}

.prose .placeholder {
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 1.4em;
}

.toc {
  border: var(--rule);
  padding: 22px 26px;
  background: var(--paper);
  margin-bottom: 2.4em;
}

.toc h2 {
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-50);
  margin: 0 0 14px !important;
}

.toc ol {
  margin: 0;
  padding-left: 1.3em;
  font-size: 0.93rem;
}

/* 21 ------------------------------------------------------------ Bewegung */
/* Sichtbarkeit haengt nie an einer einzelnen Mechanik: ohne JS greift die
   Regel gar nicht erst (Klasse .js fehlt), und main.js hat zusaetzlich einen
   Scroll- und einen Zeitfallback. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js [data-reveal][data-reveal-delay="1"].is-visible {
  transition-delay: 0.09s;
}

.js [data-reveal][data-reveal-delay="2"].is-visible {
  transition-delay: 0.18s;
}

.js [data-reveal][data-reveal-delay="3"].is-visible {
  transition-delay: 0.27s;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 22 --------------------------------------------------------------- Druck */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .lightbox,
  .filter-bar {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}

/* 23 ------------------------------------------------------- Bild-Miniaturen */
.thumb-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

@media (min-width: 900px) {
  .thumb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.strip-thumb {
  display: block;
  padding: 0;
  margin: 0;
  width: 100%;
  border: var(--rule);
  background: var(--steel-05);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.3s var(--ease);
}

.strip-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.strip-thumb:hover {
  border-color: var(--steel-30);
}

.strip-thumb:hover img {
  transform: scale(1.05);
}

.figure-plain {
  margin: 0;
}

.figure-plain figcaption {
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--steel-50);
  line-height: 1.5;
}

.section--dark .figure-plain figcaption {
  color: rgba(255, 255, 255, 0.55);
}

/* 24 --------------------------------------------------- Wechselnde Spalten */
@media (min-width: 900px) {
  .split--flip > *:first-child {
    order: 2;
  }
}

.footer-brand .mail {
  margin-top: 14px;
}

.inline-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--steel-50);
}

.spec-grid {
  display: grid;
  gap: 1px;
  background: var(--steel-10);
  border: var(--rule);
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .spec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.spec {
  background: var(--white);
  padding: clamp(24px, 3vw, 34px);
}

.spec h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.spec p {
  font-size: 0.93rem;
  color: var(--steel-50);
  margin: 0;
}

/* 25 -------------------------------------------------------------- Fallen */
/* Zwei Koeder gegen automatisierte Einsendungen. Die Namen sind bewusst
   nichtssagend: Felder mit sprechenden Namen fuellt der Browser aus der
   Autovervollstaendigung, und die Einsendung landet faelschlich im Verdacht. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 26 ------------------------------------------------- Kopf ohne Bild */
.page-hero--plain {
  background: var(--ink);
}

.page-hero--plain .page-hero__inner {
  padding-block: clamp(48px, 6vw, 82px);
}

.page-hero--plain h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
}

.legal-meta {
  margin-top: 2.6em;
  padding-top: 1.4em;
  border-top: var(--rule);
  font-size: 0.86rem;
  color: var(--steel-50);
}

/* Zentrierte Kurzseiten (Danke, 404) */
.stub {
  display: grid;
  place-items: center;
  min-height: 58vh;
  text-align: center;
  padding-block: clamp(56px, 8vw, 110px);
}

.stub__inner {
  max-width: 46rem;
}

.stub .btn-row {
  justify-content: center;
}




/* 27 --------------------------------------------------- Cookie-Banner */

/* Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  background: rgba(13, 16, 18, 0.98);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -18px 42px rgba(13, 16, 18, 0.18);
  padding: 20px var(--gutter);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner__inner {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: center;
}

.cookie-banner__content {
  max-width: 760px;
}

.cookie-banner__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.cookie-banner h2 {
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 0 0 7px;
  letter-spacing: -0.012em;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.55;
  max-width: 72ch;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.cookie-banner__actions .btn {
  padding: 11px 17px;
  font-size: 0.79rem;
  white-space: nowrap;
}

.cookie-banner__actions .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
}

.cookie-banner__actions .btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.cookie-banner__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

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

.cookie-banner__settings {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  padding: 10px 8px;
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}

.cookie-banner__settings:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

/* Einstellungen-Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(4px);
}

.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  overflow-y: auto;
  background: var(--white);
  color: var(--ink-80);
  border: 1px solid var(--steel-10);
  box-shadow: var(--shadow-lift);
  padding: clamp(26px, 4vw, 42px);
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.cookie-modal.is-visible .cookie-modal__dialog {
  opacity: 1;
  transform: none;
}

.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--steel-20);
  background: var(--white);
  color: var(--steel-60);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.cookie-modal__close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.cookie-modal h2 {
  margin-right: 48px;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
}

.cookie-modal__intro {
  color: var(--steel-60);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 62ch;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: var(--rule);
}

.cookie-option:last-of-type {
  border-bottom: var(--rule);
}

.cookie-option strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.96rem;
}

.cookie-option p {
  margin: 0;
  color: var(--steel-50);
  font-size: 0.84rem;
  line-height: 1.55;
  max-width: 58ch;
}

.cookie-option__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: var(--steel-05);
  color: var(--steel-60);
  font-size: 0.72rem;
  font-weight: 650;
  white-space: nowrap;
}

/* Toggle */
.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 28px;
  flex: 0 0 48px;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cookie-switch__slider {
  position: absolute;
  inset: 0;
  background: var(--steel-20);
  border-radius: 999px;
  transition: background-color 0.2s var(--ease);
}

.cookie-switch__slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(13, 16, 18, 0.18);
  transition: transform 0.2s var(--ease);
}

.cookie-switch input:checked + .cookie-switch__slider {
  background: var(--accent);
}

.cookie-switch input:checked + .cookie-switch__slider::before {
  transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch__slider {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cookie-modal__actions .btn {
  padding: 12px 20px;
  font-size: 0.82rem;
}

.cookie-modal__privacy {
  margin-top: 20px;
  color: var(--steel-50);
  font-size: 0.78rem;
  line-height: 1.5;
}

.cookie-modal__privacy a {
  color: var(--accent-strong);
}

/* Mobil */
@media (max-width: 820px) {
  .cookie-banner {
    padding: 18px var(--gutter);
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .cookie-banner {
    padding: 16px var(--gutter);
  }

  .cookie-banner h2 {
    font-size: 1rem;
  }

  .cookie-banner p {
    font-size: 0.79rem;
    line-height: 1.5;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .cookie-banner__settings {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .cookie-modal {
    padding: 12px;
  }

  .cookie-modal__dialog {
    max-height: calc(100dvh - 24px);
    padding: 24px 20px;
  }

  .cookie-option {
    gap: 16px;
  }

  .cookie-option p {
    font-size: 0.8rem;
  }

  .cookie-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-modal__actions .btn {
    width: 100%;
  }
}

/* Mobilde banner ekranın tamamını kaplamasın */
@media (max-width: 420px) {
  .cookie-banner {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .cookie-banner__content {
    max-height: 34vh;
    overflow-y: auto;
  }
}

/* Mobil: die Vertrauensfakten untereinander statt nebeneinander.
   Diese Regeln standen versehentlich INNERHALB von @media print - damit galten
   sie nur beim Drucken auf schmalem Papier und auf keinem Telefon. */
@media (max-width: 600px) {
  .hero__facts {
    display: grid;
    gap: 9px;
    margin-top: 22px;
    font-size: 0.79rem;
  }

  .hero__facts span + span::before {
    display: none;
  }
}

/* Druck */
@media print {
  .cookie-banner,
  .cookie-modal {
    display: none !important;
  }
}