/* =========================================================================
   Spedition Schreyer GmbH – Website 2026
   Stylesheet, mobile first. Breakpoints: 640px (Tablet), 1024px (Desktop)
   ========================================================================= */

/* -------------------------------------------------------------- 1. Fonts */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/quicksand-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;
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/quicksand-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/heebo-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;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/heebo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------- 2. Tokens */
:root {
  /* Schrift: 'quicksandregular' / 'heeboregular' als Alias, falls das
     WordPress-Theme die Webfonts unter diesen Namen mitbringt. */
  --font-display: 'Quicksand', 'quicksandregular', 'Trebuchet MS', sans-serif;
  --font-text: 'Heebo', 'heeboregular', 'Helvetica Neue', Arial, sans-serif;

  /* CI-Farben */
  --red: #E1000D;          /* CI-Rot aus der Original-Logovorlage */
  --red-deep: #E1000D;     /* CI-Rot aus der Original-Logovorlage */
  --ink: #333333;          /* CI-Schwarz, Grundschrift */
  --ink-strong: #1d1d1b;   /* Headlines, Logo-Schwarz */
  --ink-muted: #63656a;
  --ink-soft: #8e9096;

  --paper: #ffffff;
  --paper-soft: #f4f5f6;
  --paper-line: #e3e5e8;
  --dark: #262728;
  --dark-deep: #1d1d1b;

  --shadow-sm: 0 1px 2px rgba(29, 29, 27, .06), 0 4px 12px rgba(29, 29, 27, .05);
  --shadow-md: 0 6px 18px rgba(29, 29, 27, .08), 0 20px 40px rgba(29, 29, 27, .07);

  --radius: 4px;
  --radius-lg: 8px;

  --gutter: 1.25rem;
  --header-h: 72px;
  --maxw: 1280px;

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

/* --------------------------------------------------------------- 3. Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* clip statt hidden: hidden würde den Body zum Scroll-Container machen und
     damit window.scrollTo sowie position: sticky aushebeln. */
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

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

a { color: var(--red-deep); text-decoration: none; }
a:hover { color: var(--red); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--ink-strong);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* ------------------------------------------------------------- 4. Layout */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(3.25rem, 8vw, 7rem); }
.section--soft { background: var(--paper-soft); }
.section--dark { background: var(--dark); color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section[id], .hero[id], .quote[id], .anchor { scroll-margin-top: calc(var(--header-h) + 12px); }

.rule {
  width: 56px;
  height: 3px;
  background: var(--red);
  border: 0;
  margin: 1.5rem 0;
}
.rule--center { margin-inline: auto; }

/* --------------------------------------------------------- 5. Typografie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-strong);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 6.4vw, 4.05rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.005em; }

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

.kicker {
  display: block;
  margin-bottom: .85rem;
  color: var(--red-deep);
  font-family: var(--font-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
}
.section--dark .kicker { color: #ff5a5a; }

.lead {
  font-size: clamp(1.03rem, 1.9vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-muted);
}
.muted { color: var(--ink-muted); }
.section--dark .muted { color: rgba(255, 255, 255, .74); }

.headline-accent { color: var(--red); display: block; }

.text-center { text-align: center; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-muted); }
.section-head h2 + p { margin-top: 1.1rem; }

/* ------------------------------------------------------------ 6. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.7rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff;
  box-shadow: 0 8px 20px rgba(250, 20, 20, .28);
}

.btn--outline { background: transparent; border-color: var(--ink-strong); color: var(--ink-strong); }
.btn--outline:hover { background: var(--ink-strong); color: #fff; }

.btn--light { background: #fff; border-color: #fff; color: var(--ink-strong); }
.btn--light:hover { background: var(--red); border-color: var(--red); color: #fff; }

.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink-strong); }

.btn--sm { padding: .65rem 1.2rem; font-size: .92rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--red-deep);
  font-weight: 700;
  font-size: .95rem;
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- 7. Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Kein backdrop-filter und kein transform hier: beides würde den Header zum
     Containing Block machen und das mobile Menü (position: fixed) zusammenfallen
     lassen. */
  background: #fff;
  border-bottom: 1px solid var(--paper-line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(29, 29, 27, .09); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }

.header__cta { display: none; }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-right: -.5rem;
  background: none;
  border: 0;
  padding: 0;
}
.burger__box { position: relative; width: 24px; height: 16px; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink-strong);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .18s var(--ease), top .25s var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 7px; }
.burger__box span:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Mobile-Panel */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__list { display: flex; flex-direction: column; }
.nav__list > li { border-bottom: 1px solid var(--paper-line); }

.nav__link {
  display: block;
  padding: 1.05rem .25rem;
  color: var(--ink-strong);
  font-family: var(--font-text);
  font-size: 1.14rem;
  font-weight: 500;
}
.nav__link:hover, .nav__link.is-active { color: var(--red-deep); }
.nav__link.is-active { font-weight: 700; }

/* Untermenü Leistungen: mobil eingerückt sichtbar, am Desktop als Klappmenü */
.nav__sub {
  padding: 0 0 .9rem .25rem;
  display: grid;
  gap: .1rem;
}
.nav__sub-link {
  display: block;
  padding: .42rem 0 .42rem 1rem;
  border-left: 2px solid var(--paper-line);
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 400;
}
.nav__sub-link:hover, .nav__sub-link.is-active {
  color: var(--red-deep);
  border-left-color: var(--red);
}

.nav__foot { margin-top: auto; padding-top: 2rem; }
.nav__foot .btn { width: 100%; }
.nav__meta {
  margin-top: 1.5rem;
  font-size: .92rem;
  color: var(--ink-muted);
  line-height: 1.9;
}
.nav__meta a { color: var(--ink-muted); font-weight: 500; }
.nav__meta a:hover { color: var(--red-deep); }

/* ---------------------------------------------------------------- 8. Hero
   Smartphone und Tablet: Foto als eigener Block über dem Text, der untere
   Bildrand läuft weich in die weiße Textfläche aus.
   Ab Desktop liegt das Foto vollflächig hinter dem Inhalt, ein langer, weicher
   Weißverlauf lässt Bild und Text ineinander übergehen. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 34%;
}
/* weicher Auslauf nach unten, damit keine harte Kante entsteht */
.hero__media::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 38%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .35) 42%,
    rgba(255, 255, 255, .78) 72%,
    #fff 100%
  );
}
/* verhält sich bis Tablet wie .container */
.hero__text {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__content {
  position: relative;
  max-width: 34rem;
  padding-block: clamp(1.9rem, 6vw, 2.75rem) clamp(2.5rem, 7vw, 3.25rem);
}
.hero h1 {
  text-transform: uppercase;
  letter-spacing: -.02em;
  /* etwas kleiner als die globale h1, damit „In besten Händen." in der
     Textspalte auf einer Zeile bleibt */
  font-size: clamp(1.95rem, 4.1vw, 3.5rem);
}
.hero p {
  max-width: 32rem;
  font-size: clamp(1rem, 1.9vw, 1.16rem);
  color: var(--ink-muted);
}
.hero .rule { margin: 1.35rem 0; }

/* Telefonzeile unter den Buttons */
.hero__call {
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--ink-muted);
}
.hero__call a {
  color: var(--ink-strong);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid rgba(250, 20, 20, .35);
}
.hero__call a:hover { color: var(--red-deep); border-bottom-color: var(--red); }

/* ---------------------------------------------------- 9. Vertrauensleiste */
.trustbar { border-bottom: 1px solid var(--paper-line); }
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
}
.trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  text-align: center;
  padding-inline: .35rem;
}
.trust svg { width: 34px; height: 34px; color: var(--red); stroke-width: 1.5; }
.trust h3,.trust h2 { font-size: 1rem; font-weight: 700; font-family: var(--font-text); letter-spacing: 0; }
.trust p { font-size: .89rem; line-height: 1.55; color: var(--ink-muted); max-width: 20rem; }

/* ---------------------------------------------------------- 10. Split-Bau */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.split__head .kicker { margin-bottom: .7rem; }
.split__body > p + p { margin-top: 0; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); }
.split__media figcaption {
  margin-top: .75rem;
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.checklist { display: grid; gap: .7rem; margin-top: 1.6rem; }
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  font-size: .97rem;
  line-height: 1.55;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .43em;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--red);
  /* Häkchen als Maske, damit keine Extra-Datei nötig ist */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 13 9 18 20 6'/%3E%3C/svg%3E");
  background-size: .72rem;
  background-repeat: no-repeat;
  background-position: center;
}
.section--dark .checklist li { color: rgba(255, 255, 255, .86); }

/* --------------------------------------------------------- 11. Kennzahlen */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.25rem;
}
.stat { text-align: center; }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 3.35rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -.03em;
}
.stat__label {
  display: block;
  margin-top: .6rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.stat::after {
  content: '';
  display: block;
  width: 28px; height: 2px;
  margin: .95rem auto 0;
  background: var(--red);
}

/* ------------------------------------------------- 12. Ansprechpartner */
.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
.person {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .8rem;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.person:hover {
  border-color: rgba(250, 20, 20, .5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.person__photo {
  flex: 0 0 auto;
  width: 74px;
  aspect-ratio: 255 / 331;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-soft);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { min-width: 0; }
.person__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.25;
}
.person__role {
  margin-top: .1rem;
  font-size: .82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.person__links {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  margin-top: .45rem;
  font-size: .82rem;
  line-height: 1.5;
}
.person__links a { color: var(--ink-muted); font-weight: 500; word-break: break-word; }
.person__links a:hover { color: var(--red-deep); }

/* ------------------------------------------------------- 13. Leistungen */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: rgba(250, 20, 20, .45); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__media { overflow: hidden; background: var(--paper-soft); }
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: .45rem;
  padding: 1.35rem 1.35rem 1.5rem;
}
.card__body h3 { letter-spacing: -.01em; }
.card__body p { font-size: .94rem; color: var(--ink-muted); }
.card__body .link-arrow { margin-top: auto; padding-top: .9rem; }
.card--link::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* rote CTA-Kachel im Leistungs-Raster */
.card--cta {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 13rem;
}
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255, 255, 255, .88); }
.card--cta .link-arrow { color: #fff; }
.card--cta:hover { background: var(--red-deep); border-color: var(--red-deep); }

/* ---------------------------------------------------------- 14. Fuhrpark */
.fleet { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.vehicle {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.vehicle:hover { border-color: rgba(250, 20, 20, .4); box-shadow: var(--shadow-sm); }
.vehicle__media { background: var(--paper-soft); }
/* Fahrzeug-Seitenansichten werden nicht beschnitten, damit der ganze Zug zu sehen ist. */
.vehicle__media img { width: 100%; height: auto; }
.vehicle__media--crop img { aspect-ratio: 1100 / 363; object-fit: cover; }
.vehicle__body { padding: 1.25rem 1.35rem 1.4rem; }
.vehicle__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem .8rem;
  margin-bottom: .9rem;
}
.badge {
  display: inline-block;
  padding: .28rem .6rem;
  background: rgba(250, 20, 20, .1);
  color: var(--red-deep);
  border-radius: 2px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.specs { display: grid; gap: .45rem; }
.specs li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.specs li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ------------------------------------------------------------- 15. Zitat */
.quote {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 10vw, 7rem);
  color: #fff;
  overflow: hidden;
}
.quote__media { position: absolute; inset: 0; z-index: -2; }
.quote__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 42%; }
/* Schmale Displays: gleichmäßiger Schleier, damit das Zitat überall lesbar bleibt */
.quote__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 29, 27, .9) 0%, rgba(29, 29, 27, .82) 55%, rgba(29, 29, 27, .66) 100%);
}
.quote blockquote { margin: 0; max-width: 40rem; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-text);
  font-style: normal;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
}
.quote cite span { display: block; font-weight: 400; color: rgba(255, 255, 255, .6); }

/* -------------------------------------------------------------- 16. Video */
.videobox {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-deep);
}
.videobox video { width: 100%; height: auto; display: block; }

/* --------------------------------------------------------------- 17. Jobs */
.benefits { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.benefit {
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
}
.benefit h4 { margin-bottom: .4rem; }
.benefit p { font-size: .93rem; color: var(--ink-muted); }

.jobs { display: grid; gap: .85rem; margin-top: clamp(2rem, 4vw, 3rem); }
.job {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.job:hover { border-color: rgba(250, 20, 20, .45); box-shadow: var(--shadow-sm); }
.job__title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--ink-strong); line-height: 1.3; }
.job__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .22rem .58rem;
  background: var(--paper-soft);
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.job__action { flex: 0 0 auto; }

/* ------------------------------------------- 17b. Panels und Prozess */
.panels { display: grid; gap: 1.15rem; }
.panel {
  padding: clamp(1.3rem, 3.5vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
}
.panel h3 { margin-bottom: .45rem; }
.panel > p { font-size: .95rem; color: var(--ink-muted); }
.panel .checklist { margin-top: 1.1rem; }
.panel .checklist li { font-size: .93rem; }

.steps { display: grid; gap: 1.35rem; }
.step { position: relative; padding-left: 3.4rem; }
.step__num {
  position: absolute;
  left: 0;
  top: -.15rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.step h3 { font-size: 1.02rem; font-family: var(--font-text); font-weight: 700; letter-spacing: 0; margin-bottom: .3rem; }
.step p { font-size: .93rem; color: var(--ink-muted); }

/* ---------------------------------------------------------- 18. Spenden */
.donation {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.donation img { width: 190px; }

/* ---------------------------------------------------------- 19. Kontakt */
.contact { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }

.contact-facts { display: grid; gap: 1.35rem; }
.fact { display: flex; gap: .9rem; }
.fact svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--red); margin-top: .28rem; stroke-width: 1.6; }
.fact__label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .12rem;
}
.fact__value { font-size: 1.02rem; line-height: 1.55; color: var(--ink-strong); font-weight: 500; }
.fact__value a { color: var(--ink-strong); }
.fact__value a:hover { color: var(--red-deep); }

.form {
  padding: clamp(1.35rem, 4vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.form__grid { display: grid; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-strong);
}
.field label .req { color: var(--red-deep); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .78rem .9rem;
  background: #fff;
  border: 1px solid #cfd2d6;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(250, 20, 20, .14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.consent input {
  flex: 0 0 auto;
  width: 1.1rem; height: 1.1rem;
  margin-top: .22rem;
  accent-color: var(--red);
}
.form__note { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); }

/* ---------------------------------------------------------- 20. Footer */
.footer {
  background: var(--dark-deep);
  color: rgba(255, 255, 255, .74);
  font-size: .94rem;
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}
.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: 1.1rem;
  /* Logo ist einfarbig schwarz+rot – auf dunklem Grund invertieren wir das Schwarz */
  filter: brightness(0) invert(1);
}
.footer h4 {
  color: #fff;
  font-family: var(--font-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
}
.footer a { color: rgba(255, 255, 255, .74); }
.footer a:hover { color: #fff; }
.footer__links { display: grid; gap: .6rem; }
.footer__claim { max-width: 22rem; line-height: 1.7; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.btn-as-link {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: rgba(255, 255, 255, .55);
  text-align: left;
}
.btn-as-link:hover { color: #fff; }

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s, background-color .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red-deep); }
.to-top svg { width: 20px; height: 20px; }

/* ------------------------------------------------------- 21. Unterseiten */
.pagehead {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  background: var(--dark-deep);
  color: #fff;
  overflow: hidden;
}
.pagehead__media { position: absolute; inset: 0; z-index: -2; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 29, 27, .92) 0%, rgba(29, 29, 27, .78) 60%, rgba(29, 29, 27, .55) 100%);
}
.pagehead h1 {
  color: #fff;
  font-size: clamp(1.85rem, 5.6vw, 3.1rem);
  text-transform: uppercase;
}
.pagehead p { margin-top: 1rem; max-width: 34rem; color: rgba(255, 255, 255, .8); }
.pagehead .rule { margin: 1.1rem 0 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  margin-bottom: 1.1rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}
.breadcrumb a { color: rgba(255, 255, 255, .72); font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li::after { content: '/'; margin-left: .5rem; color: rgba(255, 255, 255, .35); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb ol, .breadcrumb ul { display: flex; flex-wrap: wrap; gap: .35rem .5rem; }

.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose p { color: var(--ink-muted); }

.callout {
  padding: clamp(1.35rem, 3.5vw, 2rem);
  background: var(--paper-soft);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.callout h3 { margin-bottom: .6rem; }
.callout p { color: var(--ink-muted); }

.cta-band {
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 40rem; margin-inline: auto; color: rgba(255, 255, 255, .76); }
.cta-band .btn-row { justify-content: center; }

.crosslinks { display: grid; gap: .75rem; }
.crosslink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-weight: 600;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.crosslink svg { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; color: var(--red); transition: transform .2s var(--ease); }
.crosslink:hover { border-color: rgba(250, 20, 20, .45); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink-strong); }
.crosslink:hover svg { transform: translateX(4px); }

/* Bildgalerie (Impressionen) */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}
/* Uniform photo windows; captions remain outside the cropped image area. */
.gallery--3 img { height: auto; aspect-ratio: auto; }
.gallery--4 .sr-gallery-image {
  display: block;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.gallery figure { margin: 0; }
.gallery--feature > *:first-child { grid-column: span 2; }
.gallery--feature > *:first-child img { aspect-ratio: 16 / 9; }
.gallery figcaption {
  margin-top: .5rem;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* einzelnes breites Bild mit Bildunterschrift */
.figure-wide { margin: 0; }
.figure-wide img { width: 100%; border-radius: var(--radius); }
.figure-wide figcaption {
  margin-top: .75rem;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.section--dark .figure-wide figcaption { color: rgba(255, 255, 255, .6); }

/* -------------------------------------------- 22. Reveal / Utilities */
/* Auf schmalen Displays stehen die Hero-Buttons voll ausgefüllt untereinander */
@media (max-width: 39.99em) {
  .hero .btn-row .btn { width: 100%; }
}

.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .person:hover, .crosslink:hover { transform: none; }
  .card:hover .card__media img { transform: none; }
}

/* =====================================================================
   TABLET  ab 640px
   ===================================================================== */
@media (min-width: 40em) {
  :root { --gutter: 2rem; }

  .trustbar__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem 0; }
  .trust { border-left: 1px solid var(--paper-line); padding-inline: .8rem; }
  .trust:first-child { border-left: 0; }
  /* Im Tablet-Bereich sind die vier Spalten schmal, deshalb etwas kleinere Schrift */
  .trust h3,.trust h2 { font-size: .92rem; }
  .trust p { font-size: .84rem; }

  .stats { grid-template-columns: repeat(4, 1fr); }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .crosslinks { grid-template-columns: repeat(2, 1fr); }

  .job { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.35rem 1.5rem; }

  .panels { grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2rem; }

  .donation { grid-template-columns: 190px 1fr; gap: 2.25rem; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

  .gallery { gap: .75rem; }

  .split--media-first .split__media { order: -1; }

  /* Tablet: flacherer Bildblock, damit Headline und Buttons sichtbar bleiben */
  .hero__media img { aspect-ratio: 2 / 1; object-position: 50% 36%; }
}

/* =====================================================================
   DESKTOP  ab 1024px
   ===================================================================== */
@media (min-width: 64em) {
  :root { --gutter: 2.5rem; --header-h: 100px; }

  .brand img { height: 66px; }

  .burger { display: none; }

  .header__cta { display: inline-flex; }

  /* Navigation horizontal, mittig */
  .nav {
    position: static;
    inset: auto;
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__list { flex-direction: row; gap: .35rem; }
  .nav__list > li { border: 0; }
  .nav__link {
    position: relative;
    padding: .55rem .85rem;
    font-size: .97rem;
    font-weight: 500;
    white-space: nowrap;
  }
  .nav__link::after {
    content: '';
    position: absolute;
    left: .85rem; right: .85rem;
    bottom: .1rem;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__foot, .nav__meta { display: none; }

  /* Klappmenü Leistungen */
  .nav__list > li.has-sub { position: relative; }
  .nav__sub {
    position: absolute;
    top: 100%;
    left: .35rem;
    z-index: 20;
    min-width: 15rem;
    padding: .5rem;
    background: #fff;
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  .has-sub:hover .nav__sub,
  .has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__sub-link {
    padding: .5rem .7rem;
    border-left: 0;
    border-radius: 3px;
    font-size: .93rem;
    color: var(--ink);
    white-space: nowrap;
  }
  .nav__sub-link:hover, .nav__sub-link.is-active { background: var(--paper-soft); color: var(--red-deep); }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.75rem; }

  /* Ab Desktop liegt das Foto vollflächig hinter dem Inhalt. Der Weißverlauf
     ist lang und flach angelegt, dadurch geht die Textfläche ohne sichtbare
     Kante in das Bild über. Rechts bleibt das Motiv nahezu unangetastet. */
  .hero {
    display: flex;
    align-items: center;
    min-height: min(37rem, 74vh);
  }
  .hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
  }
  .hero__media img {
    height: 100%;
    aspect-ratio: auto;
    object-position: 50% 24%;
    /* Das Motiv ist bei bedecktem Himmel aufgenommen und von Natur aus flach.
       Ein Hauch mehr Kontrast gibt den Zugmaschinen Tiefe. */
    filter: saturate(1.05) contrast(1.06);
  }
  .hero__media::after {
    inset: 0;
    height: auto;
    background: linear-gradient(
      94deg,
      rgba(255, 255, 255, .99) 0%,
      rgba(255, 255, 255, .97) 22%,
      rgba(255, 255, 255, .88) 36%,
      rgba(255, 255, 255, .64) 48%,
      rgba(255, 255, 255, .32) 62%,
      rgba(255, 255, 255, .09) 78%,
      rgba(255, 255, 255, 0) 92%
    );
  }
  .hero__text {
    display: flex;
    align-items: center;
  }
  .hero__content {
    max-width: 34rem;
    padding-block: clamp(2.75rem, 6vw, 4.5rem);
  }

  /* Ab Desktop läuft der Schleier des Zitats von links nach rechts,
     Alexandra Schreyer bleibt rechts im Bild sichtbar. */
  .quote {
    display: flex;
    align-items: center;
    min-height: 32rem;
  }
  .quote__media img { object-position: 50% 34%; }
  .quote__media::after {
    background: linear-gradient(90deg, rgba(29, 29, 27, .93) 0%, rgba(29, 29, 27, .86) 40%, rgba(29, 29, 27, .5) 74%, rgba(29, 29, 27, .34) 100%);
  }

  .trust { padding-inline: 1.25rem; }
  .trust h3,.trust h2 { font-size: 1rem; }
  .trust p { font-size: .89rem; }

  /* Über-uns-Raster: Headline | Text | Bild */
  .split--about {
    grid-template-columns: 5fr 4fr 4.6fr;
    gap: 2.75rem;
    align-items: start;
  }
  .split--about .split__head h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); }
  .split--about .split__media { position: sticky; top: calc(var(--header-h) + 2rem); }

  .split--2 { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
  .split--top { align-items: start; }
  .split--top > *:last-child { position: sticky; top: calc(var(--header-h) + 2rem); }
  .split--2-wide-media { grid-template-columns: 5fr 6fr; }
  .split--2-wide-text { grid-template-columns: 6fr 5fr; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .crosslinks { grid-template-columns: repeat(3, 1fr); }

  .contact { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .contact-facts { gap: 1.6rem; }

  .form__grid--2 { grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
  .form__grid--2 .field--full { grid-column: 1 / -1; }

  .footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: 3rem; }

  .gallery--feature { grid-template-columns: repeat(3, 1fr); }
  .gallery--feature > *:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery--feature > *:first-child img { aspect-ratio: auto; height: 100%; }
  .gallery--3 { grid-template-columns: repeat(3, 1fr); }
  .gallery--4 { grid-template-columns: repeat(4, 1fr); }

  .to-top { right: 1.75rem; bottom: 1.75rem; }
}

/* =====================================================================
   GROSSE MONITORE ab 1440px
   ===================================================================== */
@media (min-width: 90em) {
  :root { --gutter: 3rem; }
  .hero { min-height: min(40rem, 76vh); }
  .hero__content { max-width: 36rem; }
}

/* ------------------------------------------------------------- 23. Print */
@media print {
  .header, .nav, .to-top, .hero__media, .quote__media, .form, .burger { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}


/* Solo package: links to documents outside this package stay visibly intact but inactive. */
.is-dead-link, .is-dead-link:hover { pointer-events: none; cursor: default; }

/* Native WordPress integration; approved reference layout stays unchanged. */
@media(min-width:40em){.stats.stats--three{grid-template-columns:repeat(3,1fr)}}
.video-description{font-size:.875rem;color:var(--ink-muted);padding:1rem;background:var(--paper-soft);margin:0}
/* Contrast fix for small reference captions, without changing layout. */
.gallery figcaption,.figure-wide figcaption{color:var(--ink-muted)}
/* Measured WCAG contrast/touch corrections in the approved card system. */
.card--cta p{color:#fff;opacity:1}
.person__links a{min-height:24px;display:inline-flex;align-items:center}
.person__role{color:var(--ink-muted)}
.split--about .split__media figcaption{color:var(--ink-muted)}
