/* =================================================================
   Beeger Logistik — static site stylesheet
   Design tokens ported 1:1 from the previous globals.css.
   Typography changed to self-hosted Poppins (display) + DM Sans (body).
   ================================================================= */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* The [hidden] attribute must always win. Components below set display
   (flex/grid/block), which would otherwise override the UA stylesheet's
   "[hidden] { display: none }" and leave scripted-hidden elements visible. */
[hidden] {
  display: none !important;
}

/* ---------- Tokens ---------- */
:root {
  --color-red: #b50f1b;
  --color-red-dark: #8f0c15;
  --color-ink: #141416;
  --color-paper: #ffffff;
  --color-offwhite: #f6f4f2;
  --color-hairline: #e7e3de;
  --color-ink-soft: #55565b;

  --background: #ffffff;
  --foreground: #141416;

  /* Accessibility panel — font-size multiplier, default = no change. */
  --a11y-scale: 1;

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-sans: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--color-hairline);
}

html {
  scroll-behavior: smooth;
  font-size: calc(100% * var(--a11y-scale));
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  color: var(--color-ink);
}

p {
  margin: 0;
}

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

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

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

img {
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

::selection {
  background-color: rgba(181, 15, 27, 0.22);
  color: var(--color-ink);
}

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

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

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  background-color: var(--color-red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
}

.container-page {
  width: 100%;
  max-width: 78rem;
  margin-inline: auto;
  /* 1rem on the smallest phones: a 1.5rem gutter left only 327px of usable
     width at 375px, which is narrower than the longest German compound in
     the hero headline ("Transportunternehmen", 335px). */
  padding-inline: 1rem;
}
@media (min-width: 420px) {
  .container-page {
    padding-inline: 1.5rem;
  }
}
@media (min-width: 640px) {
  .container-page {
    padding-inline: 2rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-red);
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-wrap: balance;
}

.section-text {
  margin-top: 1rem;
  color: var(--color-ink-soft);
  line-height: 1.7;
}

.measure {
  max-width: 42rem;
}

.page-section {
  padding-block: 5rem;
}
@media (min-width: 640px) {
  .page-section {
    padding-block: 7rem;
  }
}

.section-tight {
  padding-block: 4rem;
}
@media (min-width: 640px) {
  .section-tight {
    padding-block: 5rem;
  }
}

.bg-offwhite {
  background-color: var(--color-offwhite);
}
.bg-ink {
  background-color: var(--color-ink);
  color: #fff;
}
.bg-ink h1,
.bg-ink h2,
.bg-ink h3 {
  color: #fff;
}
.border-y {
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
}
.border-t {
  border-top: 1px solid var(--color-hairline);
}
.border-b {
  border-bottom: 1px solid var(--color-hairline);
}

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

/* Small spacing / sizing helpers (kept deliberately few — they exist so no
   element needs an inline style attribute). */
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.section-slim {
  padding-block: 4rem;
}
.narrow-col {
  max-width: 42rem;
  margin-inline: auto;
}
.h-sm {
  font-size: 1.25rem;
}
.legal-title {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background-color: var(--color-red);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-red-dark);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
}
.btn-outline {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn-outline:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline-light:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
.btn-sm {
  min-height: 44px;
  padding: 0.625rem 1.25rem;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 70;
  height: 3px;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0;
  background-color: var(--color-red);
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-hairline);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-right: 0.5rem;
}
.site-header__logo img {
  height: 2rem;
  width: auto;
}
@media (min-width: 640px) {
  .site-header__logo img {
    height: 2.25rem;
  }
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  transition: color 0.2s ease;
  padding-block: 0.75rem;
}
.nav-desktop a:hover {
  color: var(--color-red);
}
.nav-desktop a[aria-current="page"] {
  color: var(--color-red);
}
.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.header-actions .link-muted {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: color 0.2s ease;
}
.header-actions .link-muted:hover {
  color: var(--color-red);
}
@media (min-width: 1024px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }
  .header-mobile-actions {
    display: none !important;
  }
}
.header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 999px;
  color: var(--color-ink);
  transition: background-color 0.2s ease;
}
.menu-toggle:hover {
  background-color: var(--color-offwhite);
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--color-hairline);
  background-color: var(--color-paper);
  padding: 0.5rem 1.5rem 1.25rem;
}
.nav-mobile.is-open {
  display: flex;
}
@media (min-width: 1024px) {
  .nav-mobile.is-open {
    display: none;
  }
}
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-block: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  transition: color 0.2s ease;
}
.nav-mobile a:hover {
  color: var(--color-red);
}
.nav-mobile .link-muted {
  color: var(--color-ink-soft);
}
.nav-mobile__cta {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-hairline);
  border-radius: 999px;
  padding: 0.125rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  color: var(--color-ink-soft);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-switch a:hover {
  color: var(--color-ink);
}
.lang-switch a[aria-current="true"] {
  background-color: var(--color-ink);
  color: #fff;
}

/* ---------- Hero intro overlay ---------- */
.hero-intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ink);
  opacity: 1;
  transition: opacity 0.6s ease;
}
/* Only ever shown when JS is available to dismiss it again. */
html.js .hero-intro {
  display: flex;
}
.hero-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero-intro__line1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 9vw, 4rem);
  color: #fff;
  opacity: 0;
  transform: translateY(1rem) scale(0.9);
  filter: blur(10px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-intro.is-playing .hero-intro__line1 {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.hero-intro__row {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-intro__row {
    gap: 1rem;
  }
}
.hero-intro__logo {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.5s ease 0.55s, transform 0.5s ease 0.55s;
}
.hero-intro__logo img {
  height: 2.75rem;
  width: auto;
}
@media (min-width: 640px) {
  .hero-intro__logo img {
    height: 3.5rem;
  }
}
.hero-intro.is-playing .hero-intro__logo {
  opacity: 1;
  transform: translateY(0);
}
.hero-intro__line2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 9vw, 4rem);
  color: #fff;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1) 0.7s;
}
.hero-intro.is-playing .hero-intro__line2 {
  clip-path: inset(0 0 0 0);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--color-ink);
  color: #fff;
}
.hero__bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  transform: scale(1.3);
  will-change: transform;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.hero__scrim--base {
  background-color: rgba(20, 20, 22, 0.25);
}
.hero__scrim--grad {
  background-image: linear-gradient(
    to bottom,
    rgba(20, 20, 22, 0.4),
    rgba(20, 20, 22, 0.5),
    rgba(20, 20, 22, 0.75)
  );
}
.hero__scrim--pool {
  top: auto;
  height: 70%;
  background-image: linear-gradient(
    to top,
    rgba(20, 20, 22, 0.8),
    rgba(20, 20, 22, 0.32),
    transparent
  );
}
.hero__inner {
  position: relative;
  z-index: 20;
  padding-block: 6rem;
}
@media (min-width: 640px) {
  .hero__inner {
    padding-block: 8rem;
  }
}
@media (min-width: 1024px) {
  .hero__inner {
    padding-block: 10rem;
  }
}
/* No right-hand gutter here: the a11y button is a fixed overlay pinned to the
   bottom of the viewport, so it never sits beside the headline — reserving
   5rem only squeezed the text into ~247px on a 375px screen and forced long
   German compounds to break mid-word. */
.hero__headline {
  max-width: 48rem;
  color: #fff;
  /* 1.75rem floor keeps "Transportunternehmen" on one line at 375px. */
  font-size: clamp(1.75rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
  /* Long German compounds ("mittelständisches") must not force a sideways
     scroll on a 375px screen. Hyphenate at real syllable boundaries and only
     hard-break a word that still cannot fit on a line of its own. */
  hyphens: auto;
  overflow-wrap: break-word;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  perspective: 600px;
}
.hero__subline {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
}
@media (min-width: 640px) {
  .hero__subline {
    font-size: 1.125rem;
  }
}
.hero__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero__cta {
    flex-direction: row;
  }
}

/* Word-by-word headline reveal */
/* The hidden "before reveal" states below are scoped to html.js: without
   JavaScript nothing would ever remove them, so the content simply renders
   in its final state instead. */
.split-word {
  display: inline-block;
  max-width: 100%;
  hyphens: auto;
  overflow-wrap: break-word;
  will-change: transform;
}
html.js .split-word {
  opacity: 0;
  transform: translateY(28px) rotateX(-30deg);
}
/* Must out-specify "html.js .split-word" above, otherwise the pre-reveal
   opacity:0 wins and the headline never appears. */
html.js .split-ready .split-word {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .hero__fade {
  opacity: 0;
  transform: translateY(16px);
}
[data-hero-body].is-in .hero__fade {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Magnetic button wrapper */
.magnetic {
  display: inline-block;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reveal on scroll ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
/* Must out-specify the "html.js" pre-reveal rules above, otherwise the
   opacity:0 wins and scroll-revealed content stays invisible for good. */
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
}
html.js .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-gap-lg {
  gap: 2rem;
}
@media (min-width: 640px) {
  .grid-sm-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-sm-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-lg-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-lg-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-lg-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  overflow: hidden;
}
.card__body {
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .card__body {
    padding: 2rem;
  }
}

/* ---------- Standort cards ---------- */
.standort-card__media {
  height: 14rem;
  width: 100%;
}
@media (min-width: 640px) {
  .standort-card__media {
    height: 16rem;
  }
}
.standort-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.standort-card__claim {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-red);
}
.standort-card h2,
.standort-card h3 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}
.standort-card__entity {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.contact-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.contact-list a {
  transition: color 0.2s ease;
}
.contact-list a:hover {
  color: var(--color-ink);
}
.standort-card__extra {
  margin-top: 1.25rem;
  border-top: 1px solid var(--color-hairline);
  padding-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.map-frame {
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
}
.map-frame {
  position: relative;
}
.map-frame iframe {
  width: 100%;
  height: 12rem;
  border: 0;
}
.map-frame--tall iframe {
  height: 16rem;
}
@media (min-width: 640px) {
  .map-frame--tall iframe {
    height: 18rem;
  }
}
/* Consent gate: no request to OpenStreetMap (and no IP address sent)
   until the visitor actively confirms via the button. */
.map-consent {
  display: flex;
  height: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  background-color: var(--color-offwhite);
}
.map-frame--tall .map-consent {
  height: 16rem;
}
@media (min-width: 640px) {
  .map-frame--tall .map-consent {
    height: 18rem;
  }
}
.map-consent__text {
  max-width: 26rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-ink-soft);
}
.map-consent__text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Map that sits flush against the bottom edge of its card. */
.map-frame--flush {
  margin: 1.25rem 0 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.card__body--flush {
  padding-bottom: 0;
}

/* ---------- Trust band ---------- */
.trust-band {
  padding-block: 3rem;
}
.trust-band__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  text-align: center;
}
.trust-band__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Stats ---------- */
.stats {
  padding-block: 4rem;
}
@media (min-width: 640px) {
  .stats {
    padding-block: 5rem;
  }
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.stats__icon {
  margin-inline: auto;
  color: var(--color-red);
}
.stats__value {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3rem);
  color: var(--color-red);
}
.stats__label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}

/* ---------- Service cards ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  transition: border-color 0.2s ease;
}
.service-card:hover {
  border-color: var(--color-red);
}
.service-card__media {
  height: 10rem;
  width: 100%;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.service-card:hover .service-card__media img {
  transform: scale(1.05);
}
.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}
.service-card__body h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
}
.service-card__short {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.service-card__more {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-red);
}
.service-card__more svg {
  transition: transform 0.2s ease;
}
.service-card:hover .service-card__more svg {
  transform: translateX(2px);
}

/* ---------- Feature cards (Nachhaltigkeit) ---------- */
.feature-card {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  padding: 1.5rem;
}
.feature-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
}
.feature-card p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}

/* ---------- Network map ---------- */
.network-map {
  padding-block: 5rem;
}
@media (min-width: 640px) {
  .network-map {
    padding-block: 7rem;
  }
}
.network-map__text {
  margin-top: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.network-map__frame {
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background-color: rgba(255, 255, 255, 0.02);
  padding: 1rem;
}
@media (min-width: 640px) {
  .network-map__frame {
    padding: 2rem;
  }
}
.network-map svg {
  width: 100%;
  height: auto;
}
.network-map .node-label-hub {
  fill: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
}
.network-map .node-label {
  fill: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-family: var(--font-display);
}
@media (min-width: 640px) {
  .network-map .node-label {
    font-size: 10px;
  }
}
@keyframes hub-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
.hub-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: hub-pulse 2.4s ease-out infinite;
}

/* ---------- Marquee (partners + reviews) ---------- */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
.animate-scroll-left {
  animation: scroll-left 38s linear infinite;
}
.animate-scroll-right {
  animation: scroll-right 34s linear infinite;
}
.marquee {
  position: relative;
  overflow: hidden;
}
.marquee__fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 10;
  width: 4rem;
}
@media (min-width: 640px) {
  .marquee__fade {
    width: 8rem;
  }
}
.marquee__fade--left {
  left: 0;
  background-image: linear-gradient(to right, var(--color-offwhite), transparent);
}
.marquee__fade--right {
  right: 0;
  background-image: linear-gradient(to left, var(--color-offwhite), transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  white-space: nowrap;
}
.marquee__track + .marquee__track {
  margin-top: 1rem;
}
.partner-tile {
  display: flex;
  height: 5rem;
  width: 10rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background-color: var(--color-paper);
  padding: 1rem 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.partner-tile:hover,
.partner-tile:focus-visible {
  border-color: var(--color-red);
  transform: translateY(-2px);
}
.partner-tile img {
  max-height: 3rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}
.partner-tile:hover img,
.partner-tile:focus-visible img {
  filter: grayscale(0);
}

.review-card {
  display: flex;
  height: auto;
  width: 18rem;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  padding: 1.25rem;
  white-space: normal;
}
.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-card__text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.review-card__name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ink-soft);
}
.stars {
  display: flex;
  gap: 0.125rem;
  color: var(--color-red);
}
.stars svg {
  fill: currentColor;
}
.reviews__head {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.reviews__rating {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}
.reviews__note {
  font-size: 0.75rem;
  color: rgba(85, 86, 91, 0.75);
}
.section-head-center {
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-head-center h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
}

/* ---------- Video showcase ---------- */
.video-card {
  margin-inline: auto;
  max-width: 24rem;
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-ink);
}
@media (min-width: 640px) {
  .video-card {
    max-width: 28rem;
  }
}
.video-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
}
.video-card__frame video,
.video-card__frame img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.video-card__trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
}
.video-card__trigger img {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.video-card__trigger:hover img {
  opacity: 0.65;
}
.video-card__scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to top,
    rgba(20, 20, 22, 0.7),
    rgba(20, 20, 22, 0.1),
    transparent
  );
}
.video-card__play {
  position: relative;
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--color-red);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
@media (min-width: 640px) {
  .video-card__play {
    height: 5rem;
    width: 5rem;
  }
}
.video-card__trigger:hover .video-card__play {
  transform: scale(1.1);
}
.video-card__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.25rem;
  text-align: left;
}
.video-card__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}
.video-card__caption span {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Closing CTA ---------- */
.closing-cta {
  text-align: center;
}
.closing-cta h2 {
  margin-inline: auto;
  max-width: 42rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-wrap: balance;
}
.closing-cta p {
  margin-inline: auto;
  margin-top: 1rem;
  max-width: 36rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.bg-ink .closing-cta p,
.cta-dark p {
  color: rgba(255, 255, 255, 0.7);
}
.closing-cta__row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .closing-cta__row {
    flex-direction: row;
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: 5rem;
}
@media (min-width: 640px) {
  .page-hero {
    padding-block: 6rem;
  }
}
.page-hero h1 {
  margin-top: 0.75rem;
  max-width: 48rem;
  font-size: clamp(2rem, 5vw, 3rem);
  text-wrap: balance;
}
.page-hero__intro {
  margin-top: 1.25rem;
  max-width: 42rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  text-wrap: balance;
}
/* Zweispaltiger Hero (z. B. Kontaktseite): Text links, ein Hero-Jump-
   Badge rechts im freien Raum statt darunter gestapelt. */
.page-hero__row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .page-hero__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  .page-hero__row .hero-jump {
    margin-top: 0;
    flex-shrink: 0;
  }
}
.hero-badge {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-red);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-red-dark);
  background-color: rgba(181, 15, 27, 0.06);
}
.job-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: var(--radius-lg);
  padding: 2rem;
  background-color: var(--color-red);
  color: #fff;
}
@media (min-width: 640px) {
  .job-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 3rem;
  }
}
.job-cta__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}
.job-cta__title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  line-height: 1.15;
}
.job-cta__text {
  margin-top: 0.625rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 30rem;
}
.job-cta__btn {
  flex-shrink: 0;
  min-height: 56px;
  padding-inline: 1.75rem;
  font-size: 1rem;
  background-color: #fff;
  color: var(--color-red-dark);
  border-color: #fff;
}
.job-cta__btn:hover {
  background-color: var(--color-offwhite);
  border-color: var(--color-offwhite);
}
.job-cta__locations {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.job-cta__loc-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 56px;
  padding: 0.55rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  background-color: #fff;
  color: var(--color-red-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.job-cta__loc-btn:hover,
.job-cta__loc-btn:focus-visible {
  background-color: var(--color-offwhite);
  transform: translateY(-1px);
}
/* Besetzt-Standorte grau hinterlegt statt weiß — dieselbe Abstufung wie
   bei den Standort-Schildern in der Bereichsauswahl weiter unten. */
.job-cta__loc-btn--besetzt {
  background-color: var(--color-hairline);
  color: var(--color-ink-soft);
}
.job-cta__loc-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
}
.job-cta__loc-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.job-cta__loc-sub svg {
  flex-shrink: 0;
}

/* ---------- Leistungen detail ---------- */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
@media (min-width: 640px) {
  .service-detail-list {
    gap: 5rem;
  }
}
.service-detail {
  scroll-margin-top: 6rem;
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--color-hairline);
  padding-top: 2.5rem;
}
.service-detail:first-child {
  border-top: 0;
  padding-top: 0;
}
@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: minmax(0, 320px) 1fr;
    gap: 4rem;
  }
}
.service-detail__media {
  height: 12rem;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
@media (min-width: 640px) {
  .service-detail__media {
    height: 14rem;
  }
}
.service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail__index {
  margin-top: 1.25rem;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-soft);
}
.service-detail__title {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-detail__title h2 {
  font-size: 1.5rem;
}
.service-detail__short {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.service-detail__desc {
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.detail-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-paper);
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}

/* ---------- Über uns ---------- */
.about-hero {
  overflow: hidden;
  border-radius: var(--radius-xl);
  height: 16rem;
}
@media (min-width: 640px) {
  .about-hero {
    height: 20rem;
  }
}
@media (min-width: 1024px) {
  .about-hero {
    height: 24rem;
  }
}
.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.timeline-cols {
  margin-top: 3.5rem;
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 1024px) {
  .timeline-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.timeline-cols h2 {
  font-size: 1.5rem;
}
.timeline-cols__entity {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.timeline {
  position: relative;
  margin-top: 2rem;
  border-left: 1px solid var(--color-hairline);
  padding-left: 1.5rem;
}
.timeline li {
  position: relative;
  margin-bottom: 2rem;
}
.timeline li:last-child {
  margin-bottom: 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.9375rem;
  top: 0.375rem;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 999px;
  border: 2px solid var(--color-red);
  background-color: var(--color-paper);
}
.timeline__year {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-red);
}
.timeline p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.leader-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-red);
}
.leader-card__entity {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.leader-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.leader-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.leader-list__initials {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--color-ink);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}
.leader-list__name {
  font-weight: 500;
  color: var(--color-ink);
}

/* ---------- Hero jump link (kleines rotes Badge, springt weiter unten
   zu einem Abschnitt, z. B. "Zugangsdaten anfordern" auf der Kontaktseite) */
.hero-jump {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  background-color: var(--color-red);
  color: #fff;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}
.hero-jump:hover {
  background-color: var(--color-red-dark);
}
.hero-jump svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* ---------- Karriere ---------- */
.job-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .job-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }
}
.job-header h2 {
  font-size: 1.25rem;
}
.job-header__sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.job-header__contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.job-header__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  transition: color 0.2s ease;
}
.job-header__contact a:hover {
  color: var(--color-ink);
}
@media (min-width: 640px) {
  .job-header__contact {
    text-align: right;
  }
  .job-header__contact a {
    justify-content: flex-end;
  }
}
.job-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.job-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .job-card {
    padding: 2rem;
  }
}
.job-card h3 {
  font-size: 1.25rem;
}
.job-card__quote {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-red);
}
.job-card__desc {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.job-card__cols {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .job-card__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.job-card__subhead {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-soft);
}
.job-card__subhead + ul {
  margin-top: 0.75rem;
}
.job-card__subhead--spaced {
  margin-top: 1.25rem;
}
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.job-card__apply {
  margin-top: 1.75rem;
  align-self: flex-start;
}

/* ---------- Job stack (Bereichsauswahl) ----------
   Einfache statische Liste, kein Sticky-Scroll-Stapeln — drei große
   Karten. Die Standort-Schilder je Zeile (Weyhe/Apen) sind selbst die
   anklickbaren Elemente: offene Schilder starten direkt den Express-Flow
   mit vorgewähltem Standort, besetzte Schilder springen zur
   Initiativbewerbung weiter unten — ebenfalls mit vorgewähltem Standort. */
.job-stack {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.job-stack__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  width: 100%;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-paper);
  padding: 2.25rem 2.5rem;
  text-align: left;
  box-shadow: 0 2px 6px rgba(20, 20, 22, 0.08);
}
.job-stack__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-red);
  min-width: 2.5ch;
}
.job-stack__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-ink);
}
.job-stack__locations {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.job-stack__loc {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.6rem 1.1rem 0.6rem 1.3rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.job-stack__loc:hover,
.job-stack__loc:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(20, 20, 22, 0.18);
}
.job-stack__loc-main {
  font-size: 0.8125rem;
  font-weight: 700;
}
.job-stack__loc-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.job-stack__loc-sub svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
}
.job-stack__loc--offen {
  background-color: var(--color-red);
  color: #fff;
}
.job-stack__loc--offen:hover,
.job-stack__loc--offen:focus-visible {
  box-shadow: 0 6px 14px rgba(181, 15, 27, 0.3);
}
.job-stack__loc--besetzt {
  background-color: var(--color-hairline);
  color: var(--color-ink-soft);
}
@media (max-width: 639px) {
  .job-stack__row {
    padding: 1.5rem;
  }
  .job-stack__num {
    font-size: 2rem;
  }
  .job-stack__title {
    font-size: 1.375rem;
  }
  .job-stack__locations {
    order: 3;
    margin-left: 0;
    width: 100%;
  }
}

/* ---------- Kontakt flow ---------- */
.kontakt-flow {
  position: relative;
  scroll-margin-top: 140px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  padding: 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Scroll-Ziele für scrollIntoView() aus JS (Job-Stack-Kacheln, Zugangs-
   daten-Anfrage): reservieren denselben Abstand, damit der sticky Header
   die Box nicht überlappt und man nicht manuell nachscrollen muss. */
[data-express-flow],
[data-zugangsdaten-wrap] {
  scroll-margin-top: 140px;
}
/* Schließen-Button oben rechts im Express-Flow (Job-Stack-Kacheln) —
   klappt das Feld wieder zu, ohne die Seite neu laden zu müssen. */
.flow-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.flow-close:hover,
.flow-close:focus-visible {
  background-color: var(--color-offwhite);
  color: var(--color-ink);
}
@media (min-width: 640px) {
  .kontakt-flow {
    padding: 2rem;
  }
}
/* Nach Klick auf die offene Fahrer-Kachel: der Express-Flow wird rot
   umrandet hervorgehoben, damit klar ist, dass es hier oben weitergeht
   und nicht im Initiativbewerbungs-Bereich weiter unten. */
.kontakt-flow.is-highlighted {
  border-color: var(--color-red);
  border-width: 2px;
  box-shadow: 0 0 0 6px rgba(181, 15, 27, 0.12), 0 20px 45px rgba(181, 15, 27, 0.18);
}
[data-bewerbung-flow].is-muted {
  opacity: 0.4;
  filter: saturate(0.5);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stepper li {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
}
.stepper__dot {
  display: flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-hairline);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.stepper li.is-active .stepper__dot {
  border: 2px solid var(--color-red);
  color: var(--color-red);
}
.stepper li.is-done .stepper__dot {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}
.stepper__dot .check {
  display: none;
}
.stepper li.is-done .stepper__dot .check {
  display: block;
}
.stepper li.is-done .stepper__dot .num {
  display: none;
}
.stepper__label {
  display: none;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}
@media (min-width: 640px) {
  .stepper__label {
    display: inline;
  }
}
.stepper li.is-active .stepper__label,
.stepper li.is-done .stepper__label {
  color: var(--color-ink);
}
.stepper__line {
  height: 1px;
  flex: 1;
  background-color: var(--color-hairline);
}
.stepper li.is-done .stepper__line {
  background-color: var(--color-red);
}

.flow-panel {
  margin-top: 2rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.flow-panel.is-swapping {
  opacity: 0;
  transform: translateX(-16px);
  transition-duration: 0.18s;
}
.flow-panel.is-entering {
  opacity: 0;
  transform: translateX(16px);
  transition-duration: 0s;
}
.flow-step[hidden] {
  display: none;
}
.flow-step h2 {
  font-size: 1.25rem;
}
.intent-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.intent-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  transition: border-color 0.2s ease;
}
.intent-option:hover,
.intent-option:focus-visible {
  border-color: var(--color-red);
}
.intent-option__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
}
.intent-option__hint {
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.intent-option--muted {
  position: relative;
  overflow: hidden;
  opacity: 0.85;
}
.intent-option--muted:hover,
.intent-option--muted:focus-visible {
  opacity: 1;
}
/* Großer, deutlich roter Kasten über der gesamten Bewerbungs-Box, zwischen
   der Bereichsauswahl und der Box (Festanstellung wie Ausbildung sind
   beides Initiativbewerbungen). */
.intent-lead {
  margin-bottom: 0.75rem;
  text-align: center;
  color: var(--color-red-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
}
/* Diagonal "stamp" ribbon across the corner — noch für die gedämpften
   Initiativ-Kacheln im Stelle-Schritt (Fachlagerist, Disposition, …). */
.intent-option__badge {
  position: absolute;
  top: 0.9rem;
  right: -2.35rem;
  width: 8.5rem;
  transform: rotate(35deg);
  display: block;
  text-align: center;
  padding: 0.2rem 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background-color: var(--color-red);
  box-shadow: 0 1px 3px rgba(20, 20, 22, 0.2);
}
.standort-grid,
.choice-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .standort-grid,
  .choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.standort-option,
.choice-option {
  min-height: 48px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
  transition: border-color 0.2s ease;
}
.standort-option:hover,
.standort-option:focus-visible,
.choice-option:hover,
.choice-option:focus-visible {
  border-color: var(--color-red);
}
.choice-option__hint {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-ink-soft);
}
.choice-option.is-selected {
  border-color: var(--color-red);
  background-color: rgba(181, 15, 27, 0.06);
}
.choice-label {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
}
.flow-step h2 + .choice-label,
.flow-text + .choice-label {
  margin-top: 1.25rem;
}
/* Mehrfachauswahl (z. B. "Wo hast du Erfahrung gesammelt?") — Checkboxen
   statt Einzelklick-Buttons, mit eigenem "Weiter", da mehrere Antworten
   möglich sind. */
.check-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.check-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.check-option:has(input:checked) {
  border-color: var(--color-red);
  background-color: rgba(181, 15, 27, 0.06);
}
.check-option input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  accent-color: var(--color-red);
}
.check-grid + .field {
  margin-top: 1.25rem;
}
[data-erfahrung-weiter] {
  margin-top: 1.5rem;
}
.flag-toggle {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 1px solid var(--color-hairline);
  border-radius: 999px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.flag-toggle:hover {
  border-color: var(--color-red);
}
.flag-toggle input {
  accent-color: var(--color-red);
  width: 1rem;
  height: 1rem;
}
.flag-toggle:has(input:checked) {
  border-color: var(--color-red);
  background-color: rgba(181, 15, 27, 0.06);
}
.flow-back {
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: color 0.2s ease;
}
.flow-back:hover {
  color: var(--color-ink);
}
.flow-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.dept-groups {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dept-group__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-soft);
}
.dept-cards {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .dept-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.dept-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-paper);
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dept-card:hover {
  border-color: var(--color-red);
  box-shadow: 0 8px 20px rgba(181, 15, 27, 0.1);
}
.dept-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-red);
}
.dept-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}
.dept-card__locations {
  display: grid;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 0.75rem;
}
@media (min-width: 480px) {
  .dept-card__locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.dept-card__loc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-hairline);
}
.dept-card__loc-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink-soft);
}
.dept-card__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-hairline);
}
.dept-card__email {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink);
  word-break: break-all;
  transition: color 0.2s ease;
}
.dept-card__email:hover {
  color: var(--color-red);
}
.dept-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 1.125rem;
  border-radius: 999px;
  background-color: var(--color-ink);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
/* Innerhalb einer .dept-card__loc übernimmt die Loc-Box selbst schon die
   Trennlinie/den Abstand nach oben — hier also nicht doppeln. */
.dept-card__loc .dept-card__foot {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.dept-card__btn:hover {
  background-color: #000;
}

/* ---------- Form ---------- */
.form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}
/* Spam honeypot: off-screen for people, still present for bots that
   fill in every field. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink);
}
.field input,
.field textarea {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background-color: var(--color-offwhite);
  padding: 0.75rem 1rem;
  color: var(--color-ink);
  font-weight: 400;
  font-size: 1rem;
  outline: none;
  min-height: 48px;
}
.field textarea {
  resize: none;
  min-height: 7rem;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--color-red);
}
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.field-check input {
  margin-top: 0.25rem;
  height: 1.125rem;
  width: 1.125rem;
  flex-shrink: 0;
  accent-color: var(--color-red);
}
.field-check a {
  text-decoration: underline;
}
.field-check a:hover {
  color: var(--color-ink);
}
.form__error {
  font-size: 0.875rem;
  color: var(--color-red);
}
.form__submit {
  width: fit-content;
}
.form-thanks {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-offwhite);
  padding: 2rem;
  text-align: center;
}
.form-thanks strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ink);
}
.form-thanks p {
  margin-top: 0.5rem;
  color: var(--color-ink-soft);
}

/* ---------- Legal pages ---------- */
.legal-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.legal-entity h2 {
  font-size: 1.25rem;
}
.legal-entity dl {
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}
.legal-entity dt {
  font-weight: 500;
  color: var(--color-ink);
}
.legal-entity dd {
  margin: 0;
}
.legal-entity dd a:hover {
  color: var(--color-ink);
}
.legal-notes {
  margin-top: 2.5rem;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.legal-notes h2 {
  font-size: 1rem;
}
.legal-notes p {
  margin-top: 0.5rem;
}
.legal-sections {
  margin-top: 2.5rem;
  max-width: 48rem;
}
.legal-sections section {
  border-top: 1px solid var(--color-hairline);
  padding-block: 2rem;
}
.legal-sections section:first-child {
  border-top: 0;
  padding-top: 0;
}
.legal-sections h2 {
  font-size: 1.125rem;
}
.legal-sections p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.legal-sections ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  list-style: disc;
}
.legal-sections ul + p {
  margin-top: 1rem;
}
.legal-sections address {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: normal;
  color: var(--color-ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-hairline);
  background-color: var(--color-ink);
  color: #fff;
}
.site-footer__top {
  padding-block: 3.5rem;
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.site-footer__logo {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-footer__tagline {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.social-row {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.social-link {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.footer-col {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-col__head {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.site-footer__bar {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 640px) {
  .site-footer__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.site-footer__bar nav {
  display: flex;
  gap: 1.25rem;
}
.site-footer__bar a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.site-footer__credit {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.site-footer__credit a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.downloads {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 3rem;
}
.downloads__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}
.downloads h2 {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  color: #fff;
}
.downloads__grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .downloads__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .downloads__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.downloads__cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
}
.downloads ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.downloads a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
  padding-block: 0.25rem;
}
.downloads a:hover {
  color: #fff;
}

/* ---------- Accessibility panel ---------- */
.a11y {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
}
@media (min-width: 640px) {
  .a11y {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
.a11y__toggle {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--color-red);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}
.a11y__toggle:hover {
  background-color: var(--color-red-dark);
}
.a11y__panel {
  position: absolute;
  bottom: 4rem;
  right: 0;
  width: 18rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  background-color: var(--color-paper);
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.a11y__panel[hidden] {
  display: none;
}
.a11y__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a11y__head p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
}
.a11y__close {
  display: flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-ink-soft);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.a11y__close:hover {
  background-color: var(--color-offwhite);
  color: var(--color-ink);
}
.a11y__row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink);
}
.a11y__stepbtns {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.a11y__stepbtn {
  display: flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-hairline);
  color: var(--color-ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.a11y__stepbtn:hover:not(:disabled) {
  border-color: var(--color-red);
  color: var(--color-red);
}
.a11y__stepbtn:disabled {
  opacity: 0.4;
  cursor: default;
}
.a11y__row input[type="checkbox"] {
  height: 1.125rem;
  width: 1.125rem;
  accent-color: var(--color-red);
}
.a11y__reset {
  margin-top: 1.25rem;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--color-hairline);
  padding-block: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.a11y__reset:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

/* =================================================================
   Reduced motion — OS preference
   ================================================================= */
/* Bewusst NICHT an die OS-weite prefers-reduced-motion-Abfrage
   gekoppelt: Browser lesen die Windows-Einstellung "Animationseffekte"
   unterschiedlich aus (Firefox/Edge respektieren sie, Chrome oft nicht),
   wodurch Animationen je nach Browser unvorhersehbar ausblieben, obwohl
   niemand das bewusst eingestellt hatte. Reduzierte Bewegung gibt es
   jetzt ausschließlich über den manuellen Schalter im
   Barrierefreiheit-Panel (siehe "Reduced motion — manual
   accessibility-panel override" unten) — der bleibt vollständig
   nutzbar, läuft aber nie automatisch an. */

/* =================================================================
   Reduced motion — manual accessibility-panel override
   ================================================================= */
html.reduce-motion {
  scroll-behavior: auto;
}
html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
html.reduce-motion .reveal,
html.reduce-motion .reveal-stagger > *,
html.reduce-motion .split-word,
html.reduce-motion .hero__fade {
  opacity: 1 !important;
  transform: none !important;
}
html.reduce-motion .animate-scroll-left,
html.reduce-motion .animate-scroll-right {
  animation-play-state: paused !important;
}
html.reduce-motion .hero-intro {
  display: none !important;
}

/* =================================================================
   High contrast
   ================================================================= */
html.high-contrast {
  --color-ink-soft: #141416;
  --color-hairline: #141416;
}
html.high-contrast body {
  color: #000000;
}
html.high-contrast .site-footer__tagline,
html.high-contrast .footer-col,
html.high-contrast .footer-col__head,
html.high-contrast .downloads a,
html.high-contrast .downloads__cat,
html.high-contrast .downloads__eyebrow,
html.high-contrast .site-footer__bar,
html.high-contrast .site-footer__credit,
html.high-contrast .trust-band__list li,
html.high-contrast .network-map__text,
html.high-contrast .hero__subline,
html.high-contrast .cta-dark p,
html.high-contrast .video-card__caption span,
html.high-contrast .social-link {
  color: #ffffff !important;
}
html.high-contrast a,
html.high-contrast button {
  text-decoration-thickness: 2px;
}
html.high-contrast :focus-visible {
  outline-width: 3px;
  outline-offset: 2px;
}

/* =================================================================
   Readable spacing / underline links (opt-in)
   ================================================================= */
html.readable-spacing p,
html.readable-spacing li {
  line-height: 1.8 !important;
  letter-spacing: 0.01em;
}

html.underline-links a:not(.no-underline-override) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =================================================================
   Frachtrechner
   Baut auf den vorhandenen Komponenten auf (.stepper, .flow-panel,
   .form, .field) und ergänzt, was der Rechner zusätzlich braucht.
   ================================================================= */

.fr-laden {
  padding: 3rem 0;
  text-align: center;
  color: var(--color-ink-soft);
}

/* ---------- Select im Feld-Layout ---------- */
.field select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background-color: var(--color-offwhite);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355565b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  color: var(--color-ink);
  font-weight: 400;
  font-size: 1rem;
  outline: none;
  min-height: 48px;
}
.field select:focus {
  border-color: var(--color-red);
}

.fr-optional,
.fr-unit {
  font-weight: 400;
  color: var(--color-ink-soft);
}

.fr-legend {
  margin-bottom: 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-soft);
}

/* ---------- Auswahl-Kacheln ---------- */
.fr-kacheln {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 600px) {
  .fr-kacheln--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr-kacheln--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.fr-kachel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  min-height: 48px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-paper);
  padding: 1.125rem 1.25rem;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.fr-kachel:hover,
.fr-kachel:focus-visible {
  border-color: var(--color-red);
}
.fr-kachel.is-aktiv {
  border-color: var(--color-red);
  background-color: var(--color-offwhite);
}
.fr-kachel__icon {
  display: flex;
  margin-bottom: 0.4rem;
  color: var(--color-red);
}
.fr-kachel__titel {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink);
}
.fr-kachel__zeile {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-ink-soft);
}
.fr-kachel__zeile--klein {
  font-size: 0.8125rem;
}

/* ---------- Hilfe- und Hinweiszeilen ---------- */
.fr-hilfe,
.fr-note {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background-color: var(--color-offwhite);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}
.fr-hilfe .icon,
.fr-note .icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.fr-hilfe strong,
.fr-note strong {
  color: var(--color-ink);
}
.fr-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fr-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Strecke mit Ortssuche ---------- */
.fr-strecke {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  align-items: end;
}
@media (min-width: 700px) {
  .fr-strecke {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
}
.fr-strecke__pfeil {
  display: none;
  padding-bottom: 0.875rem;
  color: var(--color-ink-soft);
}
@media (min-width: 700px) {
  .fr-strecke__pfeil { display: block; }
}

.fr-ortsfeld__label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-ink-soft);
}

.fr-combo {
  position: relative;
  display: block;
}
.fr-vorschlaege {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 19rem;
  overflow-y: auto;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-paper);
  box-shadow: 0 12px 32px rgba(20, 20, 22, 0.12);
  padding: 0.25rem;
}
.fr-vorschlag {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}
.fr-vorschlag:hover,
.fr-vorschlag.is-markiert {
  background-color: var(--color-offwhite);
}
.fr-vorschlag__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--color-red);
}
.fr-vorschlag__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.fr-vorschlag__ort {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-ink);
}
.fr-vorschlag__meta {
  font-size: 0.8125rem;
  color: var(--color-ink-soft);
}
.fr-quelle {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-ink-soft);
}

/* ---------- Positionskarten ----------
   Jede Sendungsposition ist eine eigene Karte mit zwei klar getrennten
   Blöcken: erst der Ladungsträger, dann Menge und Maße. Das nimmt dem
   Formular die Tabellenoptik. */
.fr-packs {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.fr-pack {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-paper);
  overflow: hidden;
}
.fr-pack__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--color-hairline);
  background-color: var(--color-offwhite);
  padding: 0.75rem 1.25rem;
}
.fr-pack__num {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}
.fr-pack__ziffer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.625rem;
  width: 1.625rem;
  border-radius: 999px;
  background-color: var(--color-red);
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0;
  color: #fff;
}
.fr-pack__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  margin-right: -0.625rem;
  border-radius: var(--radius-sm);
  color: var(--color-ink-soft);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.fr-pack__remove:hover,
.fr-pack__remove:focus-visible {
  color: var(--color-red);
  background-color: var(--color-paper);
}
.fr-pack__block {
  padding: 1.25rem;
}
.fr-pack__block + .fr-pack__block {
  border-top: 1px solid var(--color-hairline);
}
.fr-pack__frage {
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink);
}
.fr-pack__grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .fr-pack__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- Ladungsträger als Kacheln ---------- */
.fr-lt-reihe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
@media (min-width: 560px) {
  .fr-lt-reihe {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.fr-lt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 88px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 0.875rem 0.5rem;
  text-align: center;
  color: var(--color-ink-soft);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.fr-lt:hover,
.fr-lt:focus-visible {
  border-color: var(--color-red);
  color: var(--color-ink);
}
.fr-lt.is-aktiv {
  border-color: var(--color-red);
  background-color: var(--color-offwhite);
  color: var(--color-ink);
}
.fr-lt__icon {
  display: flex;
  color: var(--color-ink-soft);
  transition: color 0.2s ease;
}
.fr-lt.is-aktiv .fr-lt__icon,
.fr-lt:hover .fr-lt__icon {
  color: var(--color-red);
}
.fr-lt__name {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
}
.fr-lt.is-aktiv .fr-lt__name {
  font-weight: 600;
}
.fr-lt__mass {
  font-size: 0.6875rem;
  color: var(--color-ink-soft);
}
.fr-lt-weitere {
  margin-top: 0.625rem;
}
.fr-lt-weitere select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background-color: var(--color-paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355565b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding: 0.625rem 2.5rem 0.625rem 0.875rem;
  min-height: 48px;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
  outline: none;
}
.fr-lt-weitere.is-aktiv select {
  border-color: var(--color-red);
  background-color: var(--color-offwhite);
  color: var(--color-ink);
  font-weight: 500;
}
.fr-lt-weitere select:focus {
  border-color: var(--color-red);
}

/* Knopf zum Anlegen einer weiteren Position */
.fr-add {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  border: 1px dashed var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.fr-add:hover,
.fr-add:focus-visible {
  border-color: var(--color-red);
  color: var(--color-ink);
}

/* Beschriftung innerhalb der Eingabefelder */
.field__label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}

/* ---------- Live-Summe ---------- */
.fr-summary {
  margin-top: 1.5rem;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-hairline);
  overflow: hidden;
}
@media (min-width: 640px) {
  .fr-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.fr-summary__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background-color: var(--color-offwhite);
  padding: 0.875rem 1rem;
}
.fr-summary__label {
  font-size: 0.75rem;
  color: var(--color-ink-soft);
}
.fr-summary__item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
}

/* ---------- Lademeter-Eingabe ---------- */
.fr-ldm {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
@media (min-width: 700px) {
  .fr-ldm {
    grid-template-columns: minmax(0, 1fr) minmax(0, 14rem);
    align-items: start;
  }
}
.fr-ldm__schnell {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.fr-chip {
  min-height: 40px;
  min-width: 3rem;
  border: 1px solid var(--color-hairline);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.fr-chip:hover,
.fr-chip:focus-visible {
  border-color: var(--color-red);
  color: var(--color-ink);
}
.fr-chip.is-aktiv {
  border-color: var(--color-red);
  background-color: var(--color-red);
  color: #fff;
}
.fr-ldm__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-offwhite);
  padding: 0.875rem 1rem;
  min-height: 3.5rem;
}
.fr-ldm__info:empty {
  display: none;
}
.fr-ldm__wert {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-ink);
}
.fr-ldm__hinweis {
  font-size: 0.8125rem;
  color: var(--color-ink-soft);
}

/* ---------- Zusatzleistungen als Symbolkarten ---------- */
.fr-opts {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.fr-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.875rem;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.fr-opt:hover,
.fr-opt:focus-visible {
  border-color: var(--color-red);
}
.fr-opt.is-aktiv {
  border-color: var(--color-red);
  background-color: var(--color-offwhite);
}
.fr-opt--breit {
  width: 100%;
}
.fr-opt__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--color-ink-soft);
  transition: color 0.2s ease;
}
.fr-opt.is-aktiv .fr-opt__icon {
  color: var(--color-red);
}
.fr-opt__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}
.fr-opt__label {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-ink);
}
.fr-opt__preis {
  font-size: 0.8125rem;
  color: var(--color-ink-soft);
}
.fr-opt__haken {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 1.375rem;
  width: 1.375rem;
  border: 1px solid var(--color-hairline);
  border-radius: 999px;
  color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fr-opt.is-aktiv .fr-opt__haken {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

.fr-warenwert {
  margin-top: 1rem;
  max-width: 22rem;
}

/* ---------- Ergebnis ---------- */
.fr-result {
  margin-top: 1.5rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-offwhite);
  padding: 2rem 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .fr-result {
    padding: 2.5rem 2rem;
  }
}
.fr-result__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-soft);
}
.fr-result__price {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-ink);
}
.fr-result__currency {
  margin-left: 0.35rem;
  font-size: 0.5em;
  font-weight: 600;
  color: var(--color-red);
}
.fr-result__meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-ink-soft);
}

.fr-facts {
  margin-top: 1rem;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  background-color: var(--color-hairline);
  overflow: hidden;
}
@media (min-width: 768px) {
  .fr-facts {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  }
}
.fr-fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background-color: var(--color-paper);
  padding: 1rem;
}
.fr-fact .icon {
  margin-bottom: 0.15rem;
}
.fr-fact__label {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-ink-soft);
}
.fr-fact strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-ink);
}

/* ---------- Preisaufschlüsselung, direkt sichtbar ---------- */
.fr-breakdown {
  margin-top: 1rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
}
.fr-breakdown__titel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-hairline);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink);
}
.fr-breakdown__list {
  padding: 0.5rem 1.25rem;
}
.fr-breakdown__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-hairline);
}
.fr-breakdown__row:last-child {
  border-bottom: 0;
}
.fr-breakdown__label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-ink);
}
.fr-breakdown__hint {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-ink-soft);
}
.fr-breakdown__value {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink);
}
.fr-breakdown__foot {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.fr-disclaimer {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.25rem;
}
.fr-disclaimer .icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.fr-disclaimer p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-ink-soft);
}
.fr-disclaimer strong {
  color: var(--color-ink);
}
.fr-disclaimer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fr-cta {
  margin-top: 2rem;
  border-top: 1px solid var(--color-hairline);
  padding-top: 2rem;
}
.fr-cta h3,
.fr-anfrage h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ink);
}
.fr-cta p {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-ink-soft);
}
.fr-anfrage {
  margin-top: 2rem;
  border-top: 1px solid var(--color-hairline);
  padding-top: 2rem;
}
.fr-anfrage .form__error a {
  text-decoration: underline;
}

/* Honeypot — für Menschen unsichtbar, für Screenreader ausgeblendet. */
.fr-hp {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ---------- FAQ ---------- */
.fr-faq {
  display: grid;
  gap: 0.625rem;
}
.fr-faq__item {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
}
.fr-faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
}
.fr-faq__item > summary::-webkit-details-marker {
  display: none;
}
.fr-faq__item > summary::after {
  content: "";
  height: 0.5rem;
  width: 0.5rem;
  flex-shrink: 0;
  border-right: 2px solid var(--color-red);
  border-bottom: 2px solid var(--color-red);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.fr-faq__item[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.fr-faq__item > p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.fr-faq__item a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Verladeeinheit und kleine Hinweise ---------- */
.fr-hinweis-klein {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-ink-soft);
}

/* ---------- Herleitung des frachtpflichtigen Gewichts ----------
   Der Kern der Beeger-Rechnung: drei Werte werden verglichen, der
   höchste zählt. Deshalb steht das prominent und nicht versteckt. */
.fr-vergleich {
  margin-top: 1rem;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
}
.fr-vergleich__titel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-hairline);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink);
}
.fr-vgl {
  padding: 0.5rem 1.25rem;
}
.fr-vgl__zeile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-hairline);
}
.fr-vgl__zeile:last-child {
  border-bottom: 0;
}
.fr-vgl__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--color-ink-soft);
}
.fr-vgl__zeile.is-massgebend .fr-vgl__icon {
  color: var(--color-red);
}
.fr-vgl__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
.fr-vgl__label {
  font-size: 0.9375rem;
  color: var(--color-ink-soft);
}
.fr-vgl__zeile.is-massgebend .fr-vgl__label {
  font-weight: 600;
  color: var(--color-ink);
}
.fr-vgl__rechnung {
  font-size: 0.8125rem;
  color: var(--color-ink-soft);
}
.fr-vgl__wert {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-ink-soft);
}
.fr-vgl__zeile.is-massgebend .fr-vgl__wert {
  color: var(--color-ink);
}
.fr-vgl__marke {
  flex-shrink: 0;
  border-radius: 999px;
  background-color: var(--color-red);
  padding: 0.15rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.fr-vergleich__ergebnis {
  border-top: 1px solid var(--color-hairline);
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}
.fr-vergleich__ergebnis strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-ink);
}

/* Abschlusszeile der Preisaufstellung */
.fr-breakdown__row--summe {
  border-top: 2px solid var(--color-ink);
  border-bottom: 0;
  margin-top: 0.25rem;
  padding-top: 0.875rem;
}
.fr-breakdown__row--summe .fr-breakdown__label,
.fr-breakdown__row--summe .fr-breakdown__value {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-ink);
}

/* ---------- Kontrast-Modus ---------- */
html.high-contrast .fr-vgl__label,
html.high-contrast .fr-vgl__rechnung,
html.high-contrast .fr-vgl__wert,
html.high-contrast .fr-vergleich__ergebnis,
html.high-contrast .fr-hinweis-klein,
html.high-contrast .fr-kachel__zeile,
html.high-contrast .fr-legend,
html.high-contrast .fr-pack__num,
html.high-contrast .fr-summary__label,
html.high-contrast .fr-fact__label,
html.high-contrast .fr-opt__preis,
html.high-contrast .fr-breakdown__hint,
html.high-contrast .fr-breakdown__foot,
html.high-contrast .fr-disclaimer p,
html.high-contrast .fr-faq__item > p,
html.high-contrast .fr-note,
html.high-contrast .fr-hilfe,
html.high-contrast .fr-result__eyebrow,
html.high-contrast .fr-result__meta,
html.high-contrast .fr-cta p,
html.high-contrast .fr-optional,
html.high-contrast .fr-unit,
html.high-contrast .fr-quelle,
html.high-contrast .fr-vorschlag__meta,
html.high-contrast .fr-ldm__hinweis,
html.high-contrast .fr-ortsfeld__label,
html.high-contrast .fr-vpk,
html.high-contrast .fr-chip {
  color: var(--color-ink);
}
