/* ==========================================================================
   MD Transporte – Stylesheet
   Keine externen Ressourcen (DSGVO): Schriften werden lokal ausgeliefert.
   ========================================================================== */

/* ---------- Fonts (SIL Open Font License) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #0c1618;
  --ink-2: #102225;
  --navy: #163a40;
  --text: #1a2426;
  --slate: #4b5759;
  --muted: #6f7a7b;
  --line: #e3dfd6;
  --line-dark: rgba(255, 255, 255, 0.12);
  --bg: #ffffff;
  --bg-soft: #f5f2ec;
  --accent: #c6a26a;
  --accent-hover: #d4b47f;
  --accent-text: #7f6130;      /* Messing-Ton für Text auf hellem Grund (WCAG AA) */
  --accent-on-dark: #d9bd8b;   /* Messing-Ton für Text auf dunklem Grund */
  --accent-soft: #f4ecdf;
  --success: #15803d;
  --error: #b91c1c;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 22, 24, 0.06), 0 2px 8px rgba(12, 22, 24, 0.05);
  --shadow: 0 10px 30px -12px rgba(12, 22, 24, 0.18), 0 4px 10px -6px rgba(12, 22, 24, 0.08);
  --shadow-lg: 0 30px 60px -20px rgba(12, 22, 24, 0.35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c9d3d1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.125rem; }
.section--dark .section-head p { color: #a9b6b4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-stretch: 112%;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.section--dark .eyebrow, .page-hero .eyebrow { color: var(--accent-on-dark); }
.h-xl { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.h-lg { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--ink); box-shadow: 0 10px 30px -12px rgba(198, 162, 106, 0.55); }
.btn--primary:hover { --btn-bg: var(--accent-hover); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.16); border-color: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink);
  text-decoration: none; font-family: var(--font-display); font-stretch: 108%;
}
.link-arrow svg { width: 18px; height: 18px; color: var(--accent-text); transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color 0.35s, box-shadow 0.35s, color 0.35s, height 0.35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 22, 24, 0.55), rgba(12, 22, 24, 0));
  transition: opacity 0.35s;
}
.site-header.is-solid { background: rgba(12, 22, 24, 0.92); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-solid::before { opacity: 0; }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.1875rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__claim { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; margin-top: 5px; }

.header-tools { display: flex; align-items: center; gap: 10px; order: 3; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.05); }
.lang-switch a {
  min-width: 40px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; color: inherit; opacity: 0.75; transition: background-color 0.2s, opacity 0.2s;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { background: var(--accent); color: var(--ink); opacity: 1; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.9688rem; text-decoration: none; color: inherit; opacity: 0.9;
  transition: background-color 0.2s, opacity 0.2s;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.1); opacity: 1; }
.nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent);
}
.nav__cta { margin-left: 12px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-tools, .site-header .brand { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 28px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--ink); visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { font-family: var(--font-display); font-stretch: 112%; font-size: 1.75rem; font-weight: 800; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line-dark); }
  .nav__link:hover { background: none; color: var(--accent-on-dark); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--accent-on-dark); }
  .nav__cta { margin: 0; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero (video) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: #fff; background: var(--ink); isolation: isolate; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media picture, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media picture { position: absolute; inset: 0; }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 22, 24, 0.85) 0%, rgba(12, 22, 24, 0.55) 45%, rgba(12, 22, 24, 0.15) 100%),
    linear-gradient(180deg, rgba(12, 22, 24, 0.35) 0%, rgba(12, 22, 24, 0) 30%, rgba(12, 22, 24, 0.0) 60%, rgba(12, 22, 24, 0.9) 100%);
}
.hero__content { padding-block: calc(var(--header-h) + 48px) 180px; max-width: 820px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px);
  font-size: 0.875rem; font-weight: 600;
}
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.8); opacity: 0; } }

.hero__title { margin: 0 0 24px; color: #fff; }
.hero__brand {
  display: block; font-size: clamp(1rem, 1.6vw, 1.25rem); font-stretch: 125%; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent-on-dark); margin-bottom: 18px;
}
.hero__slogan { display: block; font-size: clamp(2.875rem, 8vw, 6.25rem); line-height: 0.98; letter-spacing: -0.03em; }
.hero__slogan em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; }
@supports not (-webkit-text-stroke: 2px #fff) { .hero__slogan em { color: var(--accent); } }
.hero__lead { font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); max-width: 620px; color: rgba(255, 255, 255, 0.86); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(12, 22, 24, 0.2), rgba(12, 22, 24, 0.6)); backdrop-filter: blur(6px);
}
.hero__facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__facts li { padding: 22px 20px 22px 0; display: flex; align-items: center; gap: 14px; }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero__facts .icon { color: var(--accent-on-dark); width: 28px; height: 28px; }
.hero__facts strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 1.125rem; color: #fff; line-height: 1.2; }
.hero__facts span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }

.hero__controls { position: absolute; right: var(--gutter); bottom: calc(100% + 16px); display: flex; gap: 10px; z-index: 2; }
.video-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(12, 22, 24, 0.4);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px);
}
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%); width: 28px; height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 16px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff;
  animation: scroll-cue 1.8s infinite var(--ease);
}
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 900px) {
  .hero__facts ul { grid-template-columns: repeat(2, 1fr); }
  .hero__facts li { padding: 14px 12px 14px 0; }
  .hero__facts li + li { padding-left: 0; border-left: 0; }
  .hero__facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .hero__facts li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .hero__content { padding-bottom: 280px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero__facts strong { font-size: 1rem; }
  .hero__facts .icon { display: none; }
}

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero {
  position: relative; color: #fff; padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(56px, 8vw, 96px);
  background: var(--ink); overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../video/hero-poster.webp") center 60% / cover no-repeat; opacity: 0.45;
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 15%, rgba(12, 22, 24, 0.6)); }
.page-hero h1 { color: #fff; font-size: clamp(2.375rem, 6vw, 4.25rem); max-width: 900px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 680px; margin: 0; }
.page-hero--compact { padding-bottom: clamp(40px, 6vw, 64px); }
.page-hero--compact h1 { font-size: clamp(2rem, 5vw, 3.25rem); }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 20px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Size cards (Klein / Mittel / Groß) ---------- */
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.size-card {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.size-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.size-card__tag {
  align-self: flex-start; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 0.8125rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text);
}
.size-card__img { height: 130px; margin: 24px -8px 8px; display: flex; align-items: flex-end; justify-content: center; }
.size-card__img img { max-height: 100%; width: auto; transition: transform 0.6s var(--ease); }
.size-card:hover .size-card__img img { transform: translateX(10px); }
.size-card h3 { font-size: 1.625rem; margin: 12px 0 4px; }
.size-card__weight { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; color: var(--slate); margin-bottom: 14px; }
.size-card p { color: var(--slate); }
.checklist { list-style: none; display: grid; gap: 10px; margin: 4px 0 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9688rem; }
.checklist .icon { width: 20px; height: 20px; color: var(--accent-text); margin-top: 3px; }
.size-card .link-arrow { margin-top: auto; }
.size-card--featured { background: var(--ink); color: #c9d3d1; border-color: var(--ink); }
.size-card--featured h3 { color: #fff; }
.size-card--featured p, .size-card--featured .size-card__weight { color: #a9b6b4; }
.size-card--featured .link-arrow { color: #fff; }
.size-card--featured .checklist .icon, .size-card--featured .link-arrow svg { color: var(--accent-on-dark); }
.size-card--featured .size-card__tag { background: rgba(198, 162, 106, 0.16); color: var(--accent-on-dark); }
@media (max-width: 960px) { .size-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- About / features ---------- */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.about__intro p { color: var(--slate); }
.about__quote {
  margin: 32px 0 0; padding: 24px 28px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.1875rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.feature:hover { border-color: rgba(198, 162, 106, 0.45); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--ink); color: var(--accent-on-dark);
}
.feature h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: 0.9688rem; margin: 0; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .about__intro { position: static; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Fleet ---------- */
.fleet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.fleet-head .section-head { margin-bottom: 0; }
.fleet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vehicle {
  position: relative; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.35s var(--ease);
}
.vehicle:hover { border-color: rgba(217, 189, 139, 0.5); transform: translateY(-4px); }
.vehicle.is-match { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px -20px rgba(198, 162, 106, 0.45); }
.vehicle__stage {
  position: relative; height: 220px; display: flex; align-items: flex-end; justify-content: center; padding: 28px 28px 30px;
  background: radial-gradient(120% 90% at 50% 100%, #18363a 0%, var(--ink-2) 70%);
}
.vehicle__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 26px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent); }
.vehicle__stage img { max-height: 100%; width: auto; position: relative; z-index: 1; }
.vehicle__class {
  position: absolute; top: 20px; left: 20px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255, 255, 255, 0.08); color: #dce4e2;
}
.vehicle__match {
  position: absolute; top: 20px; right: 20px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800;
  background: var(--accent); color: var(--ink); opacity: 0; transform: translateY(-6px); transition: 0.3s var(--ease);
}
.vehicle.is-match .vehicle__match { opacity: 1; transform: none; }
.vehicle__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.vehicle__body h3 { font-size: 1.5rem; margin-bottom: 6px; }
.vehicle__body > p { color: #a9b6b4; font-size: 0.9688rem; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 8px 0 0; background: var(--line-dark); border-radius: var(--radius-sm); overflow: hidden; }
.specs div { background: var(--ink-2); padding: 12px 14px; }
.specs dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8a9796; }
.specs dd { margin: 2px 0 0; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; color: #fff; font-size: 1.0625rem; }
.fleet-note { margin-top: 28px; font-size: 0.875rem; color: #8a9796; }
@media (max-width: 900px) { .fleet-grid { grid-template-columns: 1fr; } .vehicle__stage { height: 190px; } }

/* Paletten-Rechner */
.calc {
  width: min(100%, 420px); padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark);
}
.calc label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: #fff; }
.calc output { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.75rem; color: var(--accent-on-dark); }
.calc input[type="range"] { width: 100%; margin: 14px 0 10px; accent-color: var(--accent); height: 28px; cursor: pointer; }
.calc__result { font-size: 0.9375rem; color: #a9b6b4; margin: 0; }
.calc__result strong { color: #fff; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 3.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: 0; left: 0; right: -24px; height: 3px; background: var(--line); }
.step:first-child::after { background: linear-gradient(90deg, var(--accent) 0%, var(--line) 100%); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--slate); font-size: 0.9688rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .step::after { right: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; box-shadow: var(--shadow-sm);
}
.chip .icon { color: var(--accent-text); width: 22px; height: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color 0.25s, box-shadow 0.25s; }
.faq details[open] { border-color: rgba(198, 162, 106, 0.45); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.125rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--accent); }
.faq__answer { padding: 0 26px 24px; color: var(--slate); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  background: var(--navy); color: #c9d3d1; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -70%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 162, 106, 0.28), rgba(198, 162, 106, 0) 65%);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band h2 { font-size: clamp(1.875rem, 4vw, 3rem); margin-bottom: 12px; color: #fff; }
.cta-band p { margin: 0; font-size: 1.125rem; max-width: 560px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cta-band .btn { white-space: normal; text-align: center; }
.cta-band .btn--outline { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cta-band .btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band__actions .btn { width: 100%; } }

/* ---------- Services page ---------- */
.service-nav {
  position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.service-nav ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; background: #fff; transition: 0.2s;
}
.service-nav a:hover, .service-nav a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-group + .service-group { margin-top: clamp(72px, 9vw, 112px); }
.service-group__head { display: flex; gap: 24px; align-items: center; margin-bottom: 32px; flex-wrap: wrap; }
.service-group__head img { height: 64px; width: auto; }
.service-group__head h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.service-group__head p { margin: 4px 0 0; color: var(--slate); }
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.service:hover { border-color: rgba(198, 162, 106, 0.45); box-shadow: var(--shadow); transform: translateY(-4px); }
.service:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198, 162, 106, 0.25); }
.service h3 { font-size: 1.375rem; margin: 18px 0 10px; }
.service > p { color: var(--slate); font-size: 0.9688rem; }
.service .checklist { margin-bottom: 20px; }
.service__meta { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 0.8125rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--slate); }
.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.extras li { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); }
.extras .icon { color: var(--accent-on-dark); width: 28px; height: 28px; margin-bottom: 14px; }
.extras strong { display: block; color: #fff; font-family: var(--font-display); font-stretch: 108%; margin-bottom: 4px; }
.extras span { font-size: 0.9063rem; color: #a9b6b4; }
@media (max-width: 960px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 8px; color: var(--ink); }
.field .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #d6d1c6; background: #fbfcfd;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bab3a5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(198, 162, 106, 0.18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field__error { display: none; color: var(--error); font-size: 0.875rem; margin-top: 6px; }
.field.is-invalid .field__error { display: block; }
.field__hint { font-size: 0.8125rem; color: var(--muted); margin-top: 6px; }
.size-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; padding: 0; margin: 0; }
.size-picker legend { grid-column: 1 / -1; }
.size-picker label { margin: 0; cursor: pointer; }
.size-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-picker span {
  display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; border: 1.5px solid #d6d1c6; background: #fbfcfd;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; transition: 0.2s; height: 100%;
}
.size-picker small { font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; color: var(--muted); }
.size-picker input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(198, 162, 106, 0.15); }
.size-picker input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 520px) { .size-picker { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9063rem; color: var(--slate); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--ink); font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form-status.is-success { display: block; background: #ecfdf3; color: var(--success); border: 1px solid #b7ebc9; }
.form-status.is-error { display: block; background: #fef2f2; color: var(--error); border: 1px solid #fbcaca; }
.form-status.is-info { display: block; background: var(--accent-soft); color: #5c4520; border: 1px solid #e8d9bd; }
.form-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.form-footer small { color: var(--muted); }
.btn.is-loading { pointer-events: none; opacity: 0.7; }

.contact-aside { display: grid; gap: 16px; }
.contact-tile {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
a.contact-tile:hover { border-color: rgba(198, 162, 106, 0.5); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-tile__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--accent-on-dark); display: grid; place-items: center; flex: none; }
.contact-tile small { display: block; font-size: 0.8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-tile strong { display: block; font-family: var(--font-display); font-stretch: 108%; font-size: 1.1875rem; color: var(--ink); word-break: break-word; }
.contact-tile span { font-size: 0.9375rem; color: var(--slate); }
.contact-tile--dark { background: var(--ink); border-color: var(--ink); color: #c9d3d1; }
.contact-tile--dark strong { color: #fff; }
.contact-tile--dark .contact-tile__icon { background: var(--accent); color: var(--ink); }
.copy-btn {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 0.8125rem; font-weight: 600;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; cursor: pointer;
}
.copy-btn svg { width: 14px; height: 14px; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin-top: 6px; }
.hours td { padding: 4px 0; color: var(--slate); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

/* ---------- Legal pages ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.1875rem; margin: 1.8em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #374255; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.prose address { font-style: normal; }
.prose .note {
  padding: 16px 20px; border-radius: 12px; background: var(--accent-soft); border: 1px solid #e8d9bd; color: #5c4520; font-size: 0.9375rem;
}
.placeholder { background: #fff7d6; border-radius: 4px; padding: 0 4px; color: #6b4f00; font-weight: 600; }
.legal-meta { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-bottom: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9b6b4; padding-top: clamp(64px, 8vw, 96px); font-size: 0.9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h2 { font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-stretch: 112%; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 20px; height: 20px; color: var(--accent-on-dark); margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: 0.875rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.footer-legal button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: inherit; }
.footer-legal button:hover { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; z-index: 200; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); max-width: 560px; margin-left: auto;
  padding: 24px; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: translateY(24px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s;
}
.cookie.is-visible { transform: none; opacity: 1; }
.cookie h2 { font-size: 1.125rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.cookie p { font-size: 0.9063rem; color: var(--slate); margin-bottom: 16px; }
.cookie a { color: var(--ink); font-weight: 600; }
.cookie__options { display: grid; gap: 10px; margin-bottom: 16px; }
.cookie__option { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 0.875rem; }
.cookie__option input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; flex: none; }
.cookie__option strong { display: block; color: var(--ink); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { flex: 1 1 auto; min-height: 46px; padding: 10px 18px; font-size: 0.9375rem; }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.error-page__code { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 22vw, 14rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--accent); }

/* ---------- Reveal animation (nur mit JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__media, .hero__controls, .cookie, .cta-band, .nav-toggle { display: none !important; }
  .hero, .page-hero { min-height: 0; color: var(--ink); background: none; padding: 24px 0; }
  .hero::after, .page-hero::before, .page-hero::after { display: none; }
  .hero__title, .page-hero h1 { color: var(--ink); }
}
.calc .link-arrow { color: #fff; margin-top: 12px; }
.calc .link-arrow svg { color: var(--accent-on-dark); }
.error-page h1 { color: #fff; }
.error-page .lead { color: #a9b6b4; margin-inline: auto; max-width: 560px; }
.error-page__actions { justify-content: center; margin-top: 32px; }
.fleet-head .section-head { max-width: 640px; }
.brand__name { white-space: nowrap; }
@media (max-width: 520px) {
  .site-header__inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1rem; }
  .site-header .brand__claim { display: none; }
  .header-tools { gap: 8px; }
  .lang-switch a { min-width: 34px; min-height: 32px; padding: 0 8px; }
  .nav-toggle { width: 44px; height: 44px; }
}
@media (max-width: 370px) { .site-header .brand__text { display: none; } }
