@import url("fonts.css");

/* ==========================================================================
   World of Less – Logistic Trading
   Design System
   ========================================================================== */

:root {
  /* Markenfarben – abgeleitet aus Logo, E-Mail-Banner und Bestandswebsite */
  --blue-900: #14395f;
  --blue-800: #1a4d85;
  --blue-700: #2161a8; /* Primär – E-Mail-Banner */
  --blue-600: #2a6fbb;
  --blue-500: #337dc8; /* Akzent – Bestandswebsite */
  --blue-300: #7fb2e2;
  --blue-200: #a9cdec;
  --blue-050: #eaf2fa;

  --ink: #39464e;
  --body: #555555;
  --muted: #797b7f;

  --grey-050: #f6f7f8;
  --grey-100: #eceded;
  --grey-200: #e0e2e3;
  --line: #dfe2e5;
  --white: #ffffff;

  --shell: 1200px;
  --gutter: 32px;
  --nav-h: 94px;
  --top-h: 40px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-md: 0 18px 40px -22px rgba(20, 57, 95, 0.45);
  --shadow-lg: 0 40px 80px -40px rgba(20, 57, 95, 0.55);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Raleway", Arial, Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: var(--blue-500); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--blue-700); }
ul { margin: 0; padding: 0; }
button { font: inherit; }

/* ---------------------------------------------------------- Typografie -- */
h1, h2, h3, h4, h5 {
  font-family: "Pathway Gothic One", "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin: 0;
  line-height: 1.02;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(44px, 5.6vw, 78px); }
h2 { font-size: clamp(34px, 3.9vw, 54px); }
h3 { font-size: clamp(24px, 2.2vw, 32px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; letter-spacing: 0.08em; }

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--ink); }

.kicker {
  display: block;
  font-family: "Raleway", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 14px;
  line-height: 1.4;
}
.kicker--light { color: var(--blue-200); }

.lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.8;
  color: var(--body);
}

.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 22px; }
.section-head p { color: var(--muted); }

.head-left { max-width: 620px; margin-bottom: 44px; }
.head-left h2 { margin-bottom: 22px; }

.rule { width: 64px; height: 3px; background: var(--blue-500); border: 0; margin: 0 0 26px; }
.rule--center { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------- Layout -- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  /* Safe-Area: Notch/Dynamic Island im Querformat, Android-Display-Cutouts */
  padding-left: calc(var(--gutter) + env(safe-area-inset-left));
  padding-right: calc(var(--gutter) + env(safe-area-inset-right));
}

.section { padding: clamp(64px, 7vw, 116px) 0; position: relative; }
.section--grey { background: var(--grey-100); }
.section--soft { background: var(--grey-050); }
.section--blue { background: var(--blue-700); color: rgba(255, 255, 255, 0.82); }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--tight { padding: clamp(48px, 5vw, 78px) 0; }

.grid { display: grid; gap: 40px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}

/* ------------------------------------------------------------ Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 36px;
  background: var(--blue-700);
  color: #fff;
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 2px solid var(--blue-700);
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.btn:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--blue-700); }
.btn--ghost:hover { background: var(--blue-700); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--blue-700); }
.btn--light:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.link-arrow::after { content: "→"; font-style: normal; transition: transform 0.28s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--blue-200); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }

/* ------------------------------------------------------------- Header -- */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  height: var(--top-h);
}
.topbar .shell { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.topbar__slogan { font-style: italic; font-weight: 600; color: var(--blue-200); }
.topbar__meta { display: flex; align-items: center; gap: 26px; }
.topbar a { color: rgba(255, 255, 255, 0.78); font-weight: 600; }
.topbar a:hover { color: #fff; }
/* Instagram-Logo (Inline-SVG) – bringt seine eigene Form mit,
   deshalb kein Rahmen mehr. */
.topbar__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.topbar__social-icon { display: block; width: 100%; height: 100%; }
.topbar__social:hover { opacity: 0.82; transform: scale(1.06); }

.site-header { position: sticky; top: 0; z-index: 90; }
.navbar { position: relative; background: var(--blue-700); height: var(--nav-h); transition: height 0.3s var(--ease); }
.navbar .shell { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 30px; }
.brand { display: flex; align-items: center; height: 100%; }
/* Das <picture> darf kein eigenes Kästchen bilden, sonst verliert das Logo
   seine Ausrichtung im Flex-Container. */
.brand picture, .footer picture { display: contents; }
.brand img { height: 76px; width: auto; transition: height 0.3s var(--ease); }

.is-stuck .navbar { height: 70px; }
.is-stuck .brand img { height: 56px; }

.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav__item { position: relative; list-style: none; height: 100%; display: flex; align-items: center; }
.nav__link {
  display: flex; align-items: center; gap: 7px; height: 100%;
  padding: 0 15px;
  font-family: "Pathway Gothic One", "Arial Narrow", sans-serif;
  font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 22px;
  height: 2px; background: var(--blue-200);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: #fff; }
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__caret { font-size: 9px; opacity: 0.75; transition: transform 0.3s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 254px;
  background: #fff; box-shadow: var(--shadow-md);
  padding: 10px 0; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  border-top: 3px solid var(--blue-500);
}
/* Letztes Untermenü nach innen öffnen, sonst ragt es aus dem Viewport */
.nav__item:last-child .submenu { left: auto; right: 0; }
.nav__item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li { list-style: none; }
.submenu a {
  display: block; padding: 11px 24px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  border-left: 3px solid transparent;
}
.submenu a:hover { background: var(--blue-050); color: var(--blue-700); border-left-color: var(--blue-500); }

.burger {
  display: none; width: 46px; height: 46px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.burger span { display: block; width: 26px; height: 2px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.25s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------- Hero -- */
.hero { position: relative; background: var(--grey-200); }
/* Seitenverhältnis exakt wie das Originalbild (1672×941). Dadurch zeigt der
   Hero auf JEDER Bildschirmbreite das komplette Foto – ganzer LKW samt
   Hintergrund, ohne Beschnitt. Gilt bewusst ohne Breakpoint-Ausnahmen. */
.hero__media { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; background: var(--grey-200); }
/* Ab Tablet/Desktop greift eine oben um 150 px beschnittene Fassung, damit der
   Hero nicht zu hoch wird. Der Auflieger beginnt im Original bei y=252, es
   bleibt also ein Streifen Wald über dem Dach stehen. Muss exakt zum
   media-Attribut der <source>-Elemente passen. */
@media (min-width: 861px) {
  .hero__media { aspect-ratio: 1672 / 791; }
}
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 57, 95, 0.34) 0%, rgba(20, 57, 95, 0.05) 42%, rgba(20, 57, 95, 0) 70%);
}

.hero__panel { position: relative; background: var(--grey-200); }
.hero__panel-inner {
  position: relative; z-index: 2;
  background: #fff;
  margin-top: -76px;
  padding: 30px 0 34px;
  width: min(72%, 900px);
  clip-path: polygon(0 0, 100% 0, calc(100% - 62px) 100%, 0 100%);
}
/* Fluchtlinie des Hero-Textes an das Seitenraster angleichen */
.hero__panel-inner .shell {
  max-width: none; margin: 0;
  padding-left: calc(max(0px, (100vw - var(--shell)) / 2) + var(--gutter));
  padding-right: 150px;
}
.hero__panel h1 { font-size: clamp(34px, 3.9vw, 54px); line-height: 0.96; }
.hero__panel .kicker { margin-bottom: 10px; }

/* Diagonale Streifen – Signature-Element */
.stripes {
  position: absolute; pointer-events: none; z-index: 3;
  display: flex; gap: 30px;
}
.stripes span { display: block; width: 30px; background: #fff; transform: skewX(-14deg); }
.hero__stripes {
  top: -132px; bottom: 0;
  left: calc(min(72%, 900px) - 46px);
  width: 300px;
}
.hero__stripes span { height: 100%; }

/* Innenseiten-Hero */
.pagehero { position: relative; background: var(--blue-800); overflow: hidden; }
.pagehero__bg { position: absolute; inset: 0; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.pagehero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 57, 95, 0.92) 0%, rgba(33, 97, 168, 0.72) 60%, rgba(51, 125, 200, 0.5) 100%);
}
.pagehero .shell { position: relative; z-index: 2; padding-top: clamp(66px, 8vw, 116px); padding-bottom: clamp(66px, 8vw, 116px); }
.pagehero h1 { color: #fff; }
.pagehero .kicker { color: var(--blue-200); }
.breadcrumb {
  margin-top: 22px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); font-weight: 600;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 10px; opacity: 0.5; }

/* -------------------------------------------------------------- Video -- */
.videoblock { position: relative; box-shadow: var(--shadow-lg); background: #0d1c2b; }
.videoblock video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #0d1c2b; }
/* Titel unterhalb des Videos. Früher lag er als Balken im Bild – auf dem
   Handy verdeckte das einen sichtbaren Teil des Films. */
.videoblock__titel {
  display: inline-block;
  margin: 0;
  background: var(--blue-700); color: #fff;
  padding: 13px 30px 13px 26px;
  font-family: "Pathway Gothic One", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.videoblock__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 57, 95, 0.28);
  border: 0; cursor: pointer; transition: opacity 0.35s var(--ease), background 0.35s var(--ease);
}
.videoblock__play::before {
  content: ""; width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42);
  animation: pulse 2.6s infinite;
}
.videoblock__play::after {
  content: ""; position: absolute;
  border-style: solid; border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent var(--blue-700);
  margin-left: 7px;
}
.videoblock__play:hover { background: rgba(20, 57, 95, 0.14); }
.videoblock.is-playing .videoblock__play { opacity: 0; visibility: hidden; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42); }
  70% { box-shadow: 0 0 0 34px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ------------------------------------------------ Angled image panels -- */
.angled { position: relative; overflow: hidden; }
.angled__img { width: 100%; height: 100%; object-fit: cover; }

/* Dokument-Abbildung (Stellenanzeige, Broschüre) – ungeschnitten */
.poster { margin: 0; box-shadow: var(--shadow-md); background: #fff; }
.poster img { width: 100%; height: auto; }

.feature { position: relative; }
.feature__row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(36px, 4.5vw, 80px);
}
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature__media--clip-r { clip-path: polygon(0 0, 100% 0, calc(100% - 62px) 100%, 0 100%); }
.feature__media--clip-l { clip-path: polygon(62px 0, 100% 0, 100% 100%, 0 100%); }
.feature__body h3 { margin-bottom: 18px; }
.feature__body .rule { margin-bottom: 24px; }

/* Vollflächige, diagonal beschnittene Bildkante (Fürmetz-Motiv) */
.bleed { position: relative; background: #fff; }
.bleed__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 470px; }
.bleed__text {
  padding-top: clamp(52px, 6vw, 96px);
  padding-bottom: clamp(52px, 6vw, 96px);
  padding-left: calc(max(0px, (100vw - var(--shell)) / 2) + var(--gutter));
  padding-right: clamp(28px, 4vw, 72px);
}
.bleed--left .bleed__text {
  padding-left: clamp(28px, 4vw, 72px);
  padding-right: calc(max(0px, (100vw - var(--shell)) / 2) + var(--gutter));
}
.bleed__media { position: relative; align-self: stretch; }
.bleed__media picture { display: contents; }
.bleed__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed--right .bleed__media { clip-path: polygon(112px 0, 100% 0, 100% 100%, 0 100%); }
.bleed--left .bleed__media { clip-path: polygon(0 0, 100% 0, calc(100% - 112px) 100%, 0 100%); }
.bleed__text-shell { max-width: 560px; }

/* --------------------------------------------------------------- Cards -- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff; overflow: hidden;
  box-shadow: 0 12px 30px -22px rgba(20, 57, 95, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--grey-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); filter: saturate(0.55) contrast(1.02); }
.card:hover .card__media img { transform: scale(1.07); filter: saturate(1) contrast(1.02); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 57, 95, 0) 40%, rgba(20, 57, 95, 0.78) 100%);
}
.card__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px 22px;
  font-family: "Pathway Gothic One", sans-serif; font-size: 25px; letter-spacing: 0.05em;
  color: #fff; text-transform: uppercase; line-height: 1.1;
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 28px; }
.card__text { display: block; font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; flex: 1; }
.card__more {
  display: block; margin-top: auto;
  font-weight: 700; font-style: italic; font-size: 13.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-500);
}
.card__more::after { content: " →"; font-style: normal; }

/* Info-Kachel ohne Bild */
.tile { background: #fff; padding: 34px 32px 36px; border-top: 3px solid var(--blue-500); box-shadow: 0 12px 30px -24px rgba(20, 57, 95, 0.5); height: 100%; }
.tile h4 { margin-bottom: 14px; }
.tile p { font-size: 15px; }
.tile--flat { box-shadow: none; border-top-color: var(--blue-200); }

/* --------------------------------------------------------------- Lists -- */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 11px; height: 11px; background: var(--blue-500);
  transform: skewX(-16deg);
}
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 34px; }
.ticks--light li::before { background: var(--blue-200); }

.plainlist { list-style: none; display: grid; gap: 9px; }
.plainlist li { position: relative; padding-left: 20px; }
.plainlist li::before { content: "–"; position: absolute; left: 0; color: var(--blue-500); }

/* ---------------------------------------------------------- Logo grids -- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logos__item {
  flex: 0 1 calc(25% - 15px);
  display: flex; align-items: center; justify-content: center;
  background: #fff; padding: 22px 26px;
  box-shadow: 0 10px 26px -22px rgba(20, 57, 95, 0.55);
}
.logos__item img {
  width: 100%; aspect-ratio: 575 / 384; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.88; transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
.logos__item:hover img { filter: grayscale(0); opacity: 1; }

/* ------------------------------------------------- Hinweis auf KI-Bilder -- */
/* Kennzeichnung KI-generierter Bilder (Transparenzpflicht nach
   Art. 50 KI-VO). Bewusst zurückhaltend, aber dauerhaft sichtbar:
   ein reines aria-label oder ein Tooltip würde die Pflicht nicht erfüllen.
   Der Elternknoten braucht position: relative. */
.ki-hinweis {
  position: absolute; right: 8px; bottom: 7px; z-index: 4;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 9.5px; line-height: 1; font-weight: 500;
  letter-spacing: 0.055em;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.24);
  padding: 3px 6px;
  border-radius: 2px;
  pointer-events: none;
  /* Auf hellen Bildstellen sonst unlesbar */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
/* Im Hero schiebt sich das Textpanel über die untere Bildkante
   (margin-top: -76px bzw. -84px). Der Hinweis muss oberhalb davon bleiben,
   sonst steht er auf der grauen Panelfläche statt auf dem Bild. */
.hero__media .ki-hinweis { bottom: 86px; }
@media (max-width: 1024px) { .hero__media .ki-hinweis { bottom: 94px; } }
@media (max-width: 860px)  { .hero__media .ki-hinweis { bottom: 7px; } }

@media (max-width: 520px) {
  .ki-hinweis { font-size: 8.5px; right: 6px; padding: 2px 5px; }
  .hero__media .ki-hinweis { bottom: 5px; }
}

/* ------------------------------------------------------------ Trust-Bar -- */
/* Kennzahlenband zwischen Begrüßung und Hauptdienstleistungen.
   Farbverlauf aus den vier Markenblautönen, dazu das Streifen-Signet. */
.trustbar {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg,
    var(--blue-900) 0%, var(--blue-800) 34%, var(--blue-700) 68%, var(--blue-600) 100%);
  padding: clamp(38px, 4.4vw, 62px) 0;
}
.trustbar__stripes { top: -40px; bottom: -40px; right: -30px; width: 260px; opacity: 0.07; }
.trustbar__stripes span { height: 100%; }
.trustbar__grid {
  position: relative; z-index: 2;
  margin: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.trustbar__item { text-align: center; }
/* Nachbarspalten durch feine Trennlinien absetzen */
.trustbar__item + .trustbar__item { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.trustbar__wert {
  margin: 0 0 6px;
  font-family: "Pathway Gothic One", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 4.6vw, 62px); line-height: 1;
  color: #fff; letter-spacing: 0.01em;
  /* Ziffernbreite fixieren, sonst zappelt die Zeile beim Hochzählen */
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
}
.trustbar__label {
  font-size: clamp(12px, 1.05vw, 15px); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-200);
}

.reflist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.reflist__item {
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 12px 18px; text-align: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.reflist__item:hover { border-color: var(--blue-300); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reflist__logo { display: flex; align-items: center; justify-content: center; width: 100%; }
.reflist__logo img { width: 100%; aspect-ratio: 575 / 384; height: auto; object-fit: contain; }
.reflist__name { overflow-wrap: break-word; font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 600; }
.reflist__item.is-hidden { display: none; }

.filterbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 46px; }
.filterbar button {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  padding: 12px 26px; cursor: pointer;
  font-weight: 700; font-style: italic; font-size: 13.5px; letter-spacing: 0.09em; text-transform: uppercase;
  transition: all 0.28s var(--ease);
}
.filterbar button:hover { border-color: var(--blue-300); color: var(--blue-700); }
.filterbar button.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

/* Endlos-Laufband */
.marquee { overflow: hidden; position: relative; background: #fff; padding: 30px 0; }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: slide 58s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 84px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.62; transition: filter 0.3s, opacity 0.3s; }
.marquee img:hover { filter: grayscale(0); opacity: 1; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- Stats -- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats__num { font-family: "Pathway Gothic One", sans-serif; font-size: clamp(46px, 5vw, 68px); color: #fff; line-height: 1; }
.stats__lbl { font-size: 13px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue-200); font-weight: 600; margin-top: 10px; }

/* -------------------------------------------------------------- Kontakt -- */
.contact-band { position: relative; background: var(--grey-100); overflow: hidden; }
.contact-band .stripes { top: 0; left: 0; height: 100%; width: 340px; padding-left: 40px; }
.contact-band .stripes span { height: 100%; }
.contact-band__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
  padding: clamp(58px, 6vw, 104px) 0;
  margin-left: auto; width: min(100%, 790px);
}
.contact-band__data { font-size: 16px; }
.contact-band__data--split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.contact-band__data--split > dt:first-of-type, .contact-band__data--split > dd:first-of-type { grid-column: 1 / -1; }
.contact-band__data dt { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact-band__data dd { margin: 0 0 20px; color: var(--ink); font-weight: 600; }
.contact-band__data a { color: var(--ink); }
.contact-band__data a:hover { color: var(--blue-500); }

.contact-strip { height: clamp(220px, 26vw, 340px); overflow: hidden; }
.contact-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

/* --------------------------------------------------------------- Forms -- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12.5px; letter-spacing: 0.11em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 18px; border: 1px solid var(--line); background: #fff;
  /* 16px ist Pflicht: darunter zoomt iOS Safari beim Fokussieren automatisch hinein. */
  font-family: inherit; font-size: 16px; color: var(--ink); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 168px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(51, 125, 200, 0.14); }
.form__note { font-size: 13px; color: var(--muted); }

.map { border: 0; width: 100%; height: 420px; display: block; filter: grayscale(0.35); }

/* --------------------------------------------------------------- Team -- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team__card { background: #fff; padding: 0 0 32px; border-left: 3px solid var(--blue-500); box-shadow: 0 12px 30px -24px rgba(20, 57, 95, 0.5); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.team__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team__photo { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--grey-200); margin-bottom: 26px; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.7s var(--ease); }
.team__card:hover .team__photo img { transform: scale(1.05); }
.team__card > .team__role,
.team__card > .team__name,
.team__card > .team__meta { padding-left: 30px; padding-right: 30px; }
.team__role { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-500); font-weight: 800; font-style: italic; }
.team__name { font-family: "Pathway Gothic One", sans-serif; font-size: 27px; text-transform: uppercase; color: var(--ink); margin: 8px 0 16px; letter-spacing: 0.02em; }
.team__meta { font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.team__meta a { color: var(--blue-500); word-break: break-word; }
.team__meta span { display: inline-block; min-width: 46px; color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ Accordion -- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tabs button {
  background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  padding: 15px 26px; font-weight: 700; font-style: italic; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 14px; color: var(--muted); transition: all 0.28s var(--ease);
}
.tabs button:hover { color: var(--blue-700); }
.tabs button.is-active { color: var(--blue-700); border-bottom-color: var(--blue-500); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade 0.45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------- Tabelle & Dateiliste -- */
.tablewrap {
  overflow-x: auto; background: #fff; box-shadow: 0 12px 30px -24px rgba(20, 57, 95, 0.5);
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  /* Schatten an den Rändern signalisiert, dass die Tabelle seitlich
     weitergeht – und verschwindet automatisch am jeweiligen Ende.
     (background-attachment: local/scroll, reine CSS-Lösung) */
  background-image:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left,  #fff 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(20, 57, 95, 0.22), rgba(20, 57, 95, 0)),
    linear-gradient(to left,  rgba(20, 57, 95, 0.22), rgba(20, 57, 95, 0));
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 42px 100%, 42px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}
.datatable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.datatable th {
  background: var(--blue-700); color: #fff; text-align: left; padding: 14px 18px;
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.11em; text-transform: uppercase; white-space: nowrap;
}
.datatable td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.datatable tbody tr:nth-child(even) { background: var(--grey-050); }
.datatable tbody tr:hover { background: var(--blue-050); }
.datatable td:first-child { font-weight: 600; }

.filelist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.filelist__item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; padding: 18px 22px;
  color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.45;
  border-left: 3px solid var(--blue-500);
  box-shadow: 0 12px 30px -26px rgba(20, 57, 95, 0.5);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), color 0.28s var(--ease);
}
.filelist__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--blue-700); }
.filelist__icon {
  flex: 0 0 auto; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-050); color: var(--blue-700); font-weight: 700;
}

/* --------------------------------------------------------- Legal pages -- */
.prose { max-width: 860px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 48px 0 18px; }
.prose h3 { font-size: 23px; margin: 36px 0 14px; }
.prose h4 { font-size: 18px; margin: 28px 0 12px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { word-break: break-word; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }

.factbox { background: var(--grey-100); padding: 34px 36px; margin-bottom: 40px; border-left: 3px solid var(--blue-500); }
.factbox p { margin-bottom: 8px; }

/* -------------------------------------------------------------- Footer -- */
.footer { background: var(--blue-700); color: rgba(255, 255, 255, 0.74); font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.25fr 1fr 0.8fr 0.8fr; gap: 46px; padding: clamp(56px, 6vw, 84px) 0 54px; }
.footer h5 { color: #fff; font-family: "Raleway", sans-serif; font-weight: 800; font-style: italic; font-size: 13px; letter-spacing: 0.15em; margin-bottom: 22px; text-transform: uppercase; }
.footer a { color: rgba(255, 255, 255, 0.74); }
.footer a:hover { color: #fff; }
.footer__logo { height: 104px; width: auto; margin-bottom: 24px; }
.footer__links { list-style: none; display: grid; gap: 11px; }
.footer__links li { position: relative; padding-left: 18px; }
.footer__links li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--blue-200); transform: skewX(-16deg); }
.footer__seals { display: flex; align-items: center; gap: 18px; margin-top: 26px; background: #fff; padding: 14px 18px; width: fit-content; }
.footer__seals img { height: 46px; width: auto; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-size: 13px; color: rgba(255, 255, 255, 0.6);
}
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 48px; height: 48px; background: var(--blue-700); color: #fff;
  display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--blue-500); }

/* --------------------------------------------------------- Animationen -- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  * { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- Responsive -- */
@media (max-width: 1180px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .reflist { grid-template-columns: repeat(4, 1fr); }
  .nav__link { padding: 0 11px; font-size: 18px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    /* dvh statt vh: iOS Safari blendet die Adressleiste beim Scrollen ein/aus */
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    overflow-y: auto; background: var(--blue-800);
    flex-direction: column; align-items: stretch; gap: 0; height: auto;
    padding: 12px 0 calc(24px + env(safe-area-inset-bottom));
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__item { height: auto; display: block; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav__link { height: auto; padding: 15px 24px; font-size: 21px; }
  .nav__link::after { display: none; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(0, 0, 0, 0.16); border-top: 0;
    max-height: 0; overflow: hidden; padding: 0;
    transition: max-height 0.35s var(--ease);
  }
  .nav__item.is-expanded .submenu { max-height: 520px; padding: 8px 0; }
  .submenu a { color: rgba(255, 255, 255, 0.82); padding: 11px 34px; border-left: 0; }
  .submenu a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .nav__item.is-expanded .nav__caret { transform: rotate(180deg); }

  .split, .feature__row, .bleed__inner, .contact-band__inner, .footer__top { grid-template-columns: 1fr; }
  .contact-band__inner { width: 100%; margin-left: 0; }
  .contact-band__data--split { grid-template-columns: 1fr 1fr; }
  .bleed__media { min-height: 320px; position: relative; }
  .bleed--right .bleed__media, .bleed--left .bleed__media { clip-path: none; }
  /* Seitlicher Abstand muss erhalten bleiben – ein reines "padding: 56px 0"
     würde den Text bündig an den Bildschirmrand kleben. Gleiche Fluchtlinie
     wie der Rest der Seite (.shell). */
  .bleed__text, .bleed--left .bleed__text {
    padding-top: 56px; padding-bottom: 56px;
    padding-left: calc(var(--gutter) + env(safe-area-inset-left));
    padding-right: calc(var(--gutter) + env(safe-area-inset-right));
  }
  .bleed__text-shell { max-width: none; margin: 0; }
  .feature__media--clip-r, .feature__media--clip-l { clip-path: none; }
  .hero__panel-inner { width: 100%; clip-path: none; margin-top: -84px; }
  .hero__panel-inner .shell { padding-right: var(--gutter); }
  .hero__stripes { display: none; }
  .contact-band .stripes { display: none; }
  .footer__top { gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar { height: auto; padding: 7px 0; font-size: 11px; letter-spacing: 0.05em; }
  .topbar .shell { justify-content: center; gap: 14px; }
  .topbar__slogan { display: none; }
  .topbar__meta { gap: 14px; }
  /* Trust-Bar: untereinander statt nebeneinander, Trennlinien wandern nach oben */
  .trustbar__grid { grid-template-columns: 1fr; gap: 0; }
  .trustbar__item { padding: 20px 0; }
  .trustbar__item + .trustbar__item {
    border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .trustbar__stripes { display: none; }

  .cards, .cards--3, .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .reflist { grid-template-columns: repeat(3, 1fr); }
  .logos__item { flex-basis: calc(33.333% - 14px); }
  .ticks--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  /* Das Textpanel überlappt auf schmalen Geräten nicht,
     sonst würde es den unteren Teil des LKW verdecken. */
  .hero__panel-inner { margin-top: 0; padding-top: 26px; }

  /* Hero-Headline mobil: zentriert und kräftiger.
     „Pathway Gothic One“ gibt es nur in einem Schnitt (400) – es existiert
     kein Fett-Schnitt. Die Stärke kommt deshalb über eine feine Kontur in
     der Textfarbe, was gleichmäßiger rendert als künstliches Fett. */
  .hero__panel .shell { padding-right: var(--gutter); text-align: center; }
  .hero__panel .kicker {
    font-size: 15px;
    letter-spacing: 0.11em;
    margin-bottom: 14px;
    -webkit-text-stroke: 0.35px currentColor;
  }
  /* Einzeilig: der Umbruch aus dem Markup wird ausgeblendet und die
     Schriftgröße an die Viewportbreite gekoppelt, damit die Zeile auch
     auf 360 px nicht bricht. */
  .hero__panel h1 {
    -webkit-text-stroke: 0.9px currentColor;
    letter-spacing: 0.02em;
    font-size: min(10vw, 46px);
    line-height: 1.06;
    white-space: nowrap;
  }
  .hero__panel h1 br { display: none; }

  .section-head { margin-bottom: 38px; }
}

@media (max-width: 520px) {
  .cards, .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .reflist { grid-template-columns: repeat(2, 1fr); }
  .logos__item { flex-basis: calc(50% - 10px); }
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .actions { gap: 16px; }
}

/* ==========================================================================
   Touch- und Mobiloptimierung (iOS / Android)
   ========================================================================== */

/* Kein 300-ms-Delay auf Android, dezentes Marken-Highlight statt
   schwarzem Blitz beim Antippen unter iOS. */
a, button, input, select, textarea, label, summary, [role="button"] {
  -webkit-tap-highlight-color: rgba(33, 97, 168, 0.16);
  touch-action: manipulation;
}

@media (hover: none) and (pointer: coarse) {
  /* Auf Touch-Geräten gibt es kein Hover – Effekte, die einen Hover-Zustand
     „einfrieren“ würden, werden neutralisiert. */
  .logos__item img, .marquee img { filter: none; opacity: 1; }
  .marquee:hover .marquee__track { animation-play-state: running; }
  .link-arrow:hover::after { transform: none; }
}

@media (max-width: 1024px) {
  /* Fingerfreundliche Trefferflächen: 44 px ist Apples HIG-Minimum,
     48 px das von Android/Material. Umgesetzt über ein unsichtbares
     Pseudo-Element, damit das Layout unverändert bleibt. */
  .link-arrow, .contact-band__data a, .footer a:not(.btn) {
    position: relative; z-index: 1;
  }
  .link-arrow::before,
  .contact-band__data a::before, .footer a:not(.btn)::before {
    content: ""; position: absolute; left: 0; right: 0;
    top: 50%; transform: translateY(-50%);
    height: 52px; min-height: 100%;
  }

  /* Telefon- und Mailadressen im Fließtext (Impressum, Datenschutz) sind
     echte Handlungslinks und brauchen deshalb eine volle Trefferzeile. */
  .prose a[href^="tel:"], .prose a[href^="mailto:"] {
    display: inline-block; min-height: 44px; line-height: 44px;
    text-decoration: underline; text-underline-offset: 3px;
  }

  .link-arrow { font-size: 16px; }
  .contact-band__data { font-size: 17px; line-height: 2; }
  .contact-band__data dd { margin-bottom: 24px; }

  /* Die Topbar-Links bekommen echte 44 px Höhe statt einer aufgeblasenen
     Pseudo-Fläche – die würde unter der darüberliegenden Navbar verschwinden. */
  .topbar { font-size: 13px; height: auto; padding: 0; }
  .topbar a { min-height: 44px; display: inline-flex; align-items: center; }
  /* Trefferfläche bleibt 44 px hoch (Elternlink), das Logo selbst 30 px. */
  .topbar__social { width: 30px; height: 30px; }
  .topbar .shell { gap: 18px; }

  .nav__caret { font-size: 12px; opacity: 0.9; }

  /* Breadcrumb: fingerfreundliche Zeilenhöhe statt 15 px hoher Textzeile */
  .breadcrumb { font-size: 14px; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
  .breadcrumb span { margin: 0 8px; }
  .submenu a { padding-top: 14px; padding-bottom: 14px; font-size: 16px; }
  .filterbar button { min-height: 46px; }
  /* Reiter brauchen auf schmalen Displays weniger Seitenpolster,
     sonst zerfällt die Reiterleiste in vier Zeilen. */
  .tabs button { padding: 14px 16px; min-height: 48px; }

  /* Menü offen: Hintergrund darf nicht mitscrollen */
  body.nav-open { overflow: hidden; }
}

/* Die Kurzform der Mailadresse erscheint nur auf sehr schmalen Geräten. */
.topbar__mail-short { display: none; }

@media (max-width: 860px) {
  /* Topbar bei schmalen Geräten: Telefon + Mail nebeneinander,
     ohne unschönen Zeilenumbruch bei 360 px. */
  .topbar { font-size: 12px; letter-spacing: 0.03em; }
  .topbar .shell { gap: 10px; }
  .topbar__meta { gap: 10px; width: 100%; justify-content: space-between; }
  .topbar a { white-space: nowrap; }
}

@media (max-width: 430px) {
  /* iPhone SE/13, Galaxy S8: die volle Adresse würde umbrechen,
     deshalb steht hier nur „E-Mail“ – der mailto-Link bleibt derselbe. */
  .topbar__mail-full { display: none; }
  .topbar__mail-short { display: inline; }
}

/* Querformat auf dem Handy: Höhe ist knapp, deshalb schlankerer Kopfbereich.
   Das Bildverhältnis bleibt unangetastet – der LKW wird nie beschnitten. */
@media (orientation: landscape) and (max-height: 500px) {
  .hero__panel-inner { margin-top: 0; padding-top: 22px; }
  /* Im Querformat ist Höhe knapp: Kontaktleiste weg, Kopfzeile flacher. */
  .topbar { display: none; }
  .navbar { height: 62px; }
  .is-stuck .navbar { height: 54px; }
  .brand img { height: 44px; }
  .is-stuck .brand img { height: 38px; }
  .nav { max-height: calc(100dvh - 62px); }
}

/* Sprungziele nicht unter dem klebenden Header verstecken */
html { scroll-padding-top: calc(var(--nav-h) + 12px); }

/* Unterer Sicherheitsabstand für den Home-Indicator (iPhone ohne Home-Button) */
.footer__bottom { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.totop {
  bottom: calc(26px + env(safe-area-inset-bottom));
  right: calc(26px + env(safe-area-inset-right));
}

/* Lange, umbruchunfähige Zeichenketten (Mailadressen, URLs) dürfen
   den Viewport auf schmalen Geräten nicht sprengen. */
p, li, dd, dt, td, th, figcaption, .card__text, .reflist__name {
  overflow-wrap: break-word;
}
