/* ============================================================
   SANS Transport und Logistik GmbH — Landing Page CSS
   Mobile-first · Full light/dark mode · Clean & professional
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ── Design Tokens — DARK (default) ────────────────────────── */
:root,
[data-theme="dark"] {
  --color-bg:           #0B1628;
  --color-bg-alt:       #111827;
  --color-card:         #111827;
  --color-card-hover:   #1a2234;
  --color-blue:         #1B4FFF;
  --color-blue-hover:   #1440E0;
  --color-gold:         #F59E0B;
  --color-accent:       #F59E0B;
  --color-accent-hover: #D97706;
  --color-text:         #E8EAF0;
  --color-text-muted:   rgba(232,234,240,0.60);
  --color-border:       rgba(232,234,240,0.10);
  --color-surface:      rgba(255,255,255,0.04);
  --color-overlay-card: rgba(11,22,40,0.82);
  --color-overlay-hero-t: rgba(11,22,40,0.50);
  --color-overlay-hero-b: rgba(11,22,40,0.93);
  --color-kpi-bg:       rgba(255,255,255,0.07);
  --color-kpi-border:   rgba(255,255,255,0.14);
  --color-toggle-bg:    rgba(255,255,255,0.06);
  --header-bg:          rgba(11,22,40,0.96);
  --mobile-nav-bg:      rgba(11,22,40,0.99);

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.50);
  --shadow-md: 0 4px 20px rgba(0,0,0,.55);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.65);

  --header-h: 64px;
}

/* ── Design Tokens — LIGHT ──────────────────────────────────── */
[data-theme="light"] {
  --color-bg:           #F4F6FB;
  --color-bg-alt:       #FFFFFF;
  --color-card:         #FFFFFF;
  --color-card-hover:   #F0F3FA;
  --color-blue:         #1B4FFF;
  --color-blue-hover:   #1440E0;
  --color-gold:         #D97706;
  --color-accent:       #D97706;
  --color-accent-hover: #B45309;
  --color-text:         #0B1628;
  --color-text-muted:   rgba(11,22,40,0.55);
  --color-border:       rgba(11,22,40,0.10);
  --color-surface:      rgba(11,22,40,0.04);
  --color-overlay-card: rgba(11,22,40,0.72);
  --color-overlay-hero-t: rgba(11,22,40,0.45);
  --color-overlay-hero-b: rgba(11,22,40,0.88);
  --color-kpi-bg:       rgba(255,255,255,0.80);
  --color-kpi-border:   rgba(11,22,40,0.15);
  --color-toggle-bg:    rgba(11,22,40,0.06);
  --header-bg:          rgba(244,246,251,0.97);
  --mobile-nav-bg:      rgba(244,246,251,0.99);
}

/* ── Base ───────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.75rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ── Utility ───────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s, border-color .3s;
}
.header--scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img   { height: 38px; width: auto; object-fit: contain; }
/* Dark mode: logo invert → alb pe fond întunecat; Light mode: original (negru pe fond deschis) */
[data-theme="dark"]  .logo-img { filter: invert(1); }
[data-theme="light"] .logo-img { filter: none; }

/* Desktop nav */
.nav { display: none; }
@media (min-width: 768px) {
  .nav { display: flex; gap: 2rem; align-items: center; }
}
.nav-link {
  font-size: .875rem; font-weight: 500;
  color: var(--color-text-muted);
  transition: color .2s;
}
.nav-link:hover { color: var(--color-text); }

/* Header actions */
.header-actions {
  display: flex; gap: .75rem; align-items: center;
}

/* Theme toggle button */
.btn-ghost {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-toggle-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.btn-ghost:hover {
  background: var(--color-border);
  color: var(--color-text);
  border-color: var(--color-gold);
}

/* Desktop CTA */
.btn-primary {
  display: none;
  padding: .55rem 1.25rem;
  background: var(--color-blue); color: #fff;
  border-radius: var(--radius-full);
  font-size: .875rem; font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--color-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,79,255,.35);
}
@media (min-width: 768px) {
  .btn-primary { display: inline-flex; align-items: center; }
}

/* Mobile hamburger */
.mobile-menu-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--color-toggle-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  transition: background .2s;
}
.mobile-menu-btn span {
  display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; top: var(--header-h); z-index: 999;
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2rem;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: none; }
.mobile-nav-link {
  font-size: 1.6rem; font-weight: 800;
  color: var(--color-text);
  font-family: var(--font-display);
  transition: color .2s;
}
.mobile-nav-link:hover { color: var(--color-gold); }
.mobile-nav .btn-full {
  width: 100%; max-width: 280px; text-align: center;
  padding: 1rem 2rem; background: var(--color-blue); color: #fff;
  border-radius: var(--radius-full); font-weight: 700; font-size: 1rem;
  margin-top: .5rem;
  transition: background .2s;
}
.mobile-nav .btn-full:hover { background: var(--color-blue-hover); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--color-overlay-hero-t) 0%,
    rgba(11,22,40,0.78) 50%,
    var(--color-overlay-hero-b) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: var(--radius-full);
  border: 1px solid rgba(245,158,11,.45);
  background: rgba(245,158,11,.12);
  font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  color: #FBBF24; text-transform: uppercase; margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FBBF24; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.85); }
}

/* Headline */
.hero-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero-heading-accent {
  color: #FBBF24;
  font-style: italic;
}

/* Sub */
.hero-sub {
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.72;
}

/* KPI bar */
.kpi-bar {
  display: flex; flex-wrap: nowrap; gap: .65rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: .5rem;
  margin-bottom: 2.25rem;
}
.kpi-bar::-webkit-scrollbar { display: none; }

.kpi-chip {
  flex-shrink: 0;
  /* Fixed dark style — never changes with theme */
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: .75rem 1rem;
  display: flex; flex-direction: column; gap: .25rem;
  min-width: 120px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s, background .2s;
}
.kpi-chip:hover {
  border-color: rgba(245,158,11,.45);
  background: rgba(245,158,11,.10);
}
.kpi-svg-icon { color: #FBBF24; margin-bottom: .1rem; }
.kpi-val {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem;
  color: #FBBF24; line-height: 1;
}
.kpi-label {
  font-size: .68rem; font-weight: 500;
  color: rgba(255,255,255,.65); line-height: 1.3;
}

/* CTAs */
.hero-ctas {
  display: flex; flex-direction: column; gap: .85rem; width: 100%;
}
@media (min-width: 480px) {
  .hero-ctas { flex-direction: row; width: auto; }
}

.btn-hero-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.25rem; border-radius: var(--radius-full);
  background: var(--color-blue); color: #fff;
  font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-align: center;
}
.btn-hero-primary:hover {
  background: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(27,79,255,.45);
}

.btn-hero-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.25rem; border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  font-weight: 600; font-size: 1rem;
  transition: border-color .2s, color .2s, background .2s;
  text-align: center;
}
.btn-hero-outline:hover {
  border-color: #FBBF24; color: #FBBF24;
  background: rgba(245,158,11,.08);
}

/* Scroll arrow */
.hero-scroll {
  position: absolute; bottom: 1.75rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.55);
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(9px); }
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════════ */
.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }
.section--contact { background: var(--color-bg); }
@media (min-width: 768px) { .section { padding: 7rem 0; } }

.section-header {
  text-align: center; max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: .9rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 2.9rem);
  line-height: 1.12; letter-spacing: -0.025em;
  color: var(--color-text); margin-bottom: .85rem;
}
.section-desc {
  font-size: 1rem; color: var(--color-text-muted); line-height: 1.72;
}

/* ══════════════════════════════════════════════════════════════
   LEISTUNGEN — SERVICE CARDS
══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card--wide { grid-column: span 3; }
}

.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  min-height: 280px;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245,158,11,.30);
}

/* Photo cards */
.service-card--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    175deg,
    rgba(11,22,40,.75) 0%,
    rgba(11,22,40,.88) 60%,
    rgba(11,22,40,.96) 100%
  );
  z-index: 0; border-radius: inherit;
  transition: opacity .3s;
}
.service-card--photo:hover .service-card-overlay {
  opacity: .85;
}
.service-card--photo > *:not(.service-card-overlay) {
  position: relative; z-index: 1;
}
.service-card--photo .service-title { color: #fff; }
.service-card--photo .service-desc  { color: rgba(255,255,255,.82); }

/* Wide card layout */
.service-card--wide {
  flex-direction: column;
}
@media (min-width: 1024px) {
  .service-card--wide {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .service-card--wide .depot-info { flex: 1; }
  .service-card--wide .depot-tags { flex: 1.2; }
}

.service-icon {
  width: 54px; height: 54px; border-radius: var(--radius-md);
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold); flex-shrink: 0;
}
.service-card--photo .service-icon {
  background: rgba(245,158,11,.18);
  border-color: rgba(245,158,11,.35);
}
[data-theme="light"] .service-icon {
  background: rgba(217,119,6,.10);
  border-color: rgba(217,119,6,.20);
}

.service-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -0.015em;
  color: var(--color-text);
}
.service-desc {
  font-size: .9rem; color: var(--color-text-muted);
  line-height: 1.68; flex: 1;
}
.service-region, .service-tag {
  display: inline-flex; align-items: center;
  padding: .35rem .9rem; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  width: fit-content;
}
.service-region {
  background: rgba(245,158,11,.12); color: var(--color-gold);
  border: 1px solid rgba(245,158,11,.25);
}
.service-card--photo .service-region {
  background: rgba(245,158,11,.22); color: #FBBF24;
  border-color: rgba(245,158,11,.40);
}
.service-tag {
  background: rgba(27,79,255,.14); color: #7BA4FF;
  border: 1px solid rgba(27,79,255,.28);
}
.service-card--photo .service-tag {
  background: rgba(245,158,11,.22); color: #FBBF24;
  border-color: rgba(245,158,11,.40);
}

/* Zone chips */
.sameday-zones { display: flex; flex-direction: column; gap: .5rem; }
.zone-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .85rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,.10); color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .78rem; font-weight: 500; width: fit-content;
}

/* Depot tags */
.depot-tags { display: flex; flex-direction: column; gap: .75rem; }
.depot-tag-item {
  display: flex; align-items: center; gap: .65rem;
  font-size: .9rem; color: rgba(255,255,255,.82);
}
.depot-tag-item svg { flex-shrink: 0; color: #FBBF24; }

/* ══════════════════════════════════════════════════════════════
   STANDORTE STRIP
══════════════════════════════════════════════════════════════ */
.standorte-strip {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}
.standorte-strip .container {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.standorte-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-gold);
}

/* Grid: 1 col mobile → 2 col 480px → 4 col 900px */
.standorte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 480px) {
  .standorte-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .standorte-grid { grid-template-columns: repeat(4, 1fr); }
}

.standort-card {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color .2s;
}
.standort-card:hover { border-color: rgba(245,158,11,.30); }

.standort-icon {
  width: 34px; height: 34px; border-radius: var(--radius-md); flex-shrink: 0;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold);
}

.standort-info {
  display: flex; flex-direction: column; gap: .1rem; flex: 1;
}
.standort-name {
  font-size: .9rem; font-weight: 600; color: var(--color-text);
  font-family: var(--font-display);
}
.standort-plz {
  font-size: .72rem; color: var(--color-text-muted);
}

.standort-type {
  font-size: .62rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: .2rem .6rem;
  border-radius: var(--radius-full); flex-shrink: 0;
  background: rgba(232,234,240,.08); color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
[data-theme="light"] .standort-type {
  background: rgba(11,22,40,.06);
}
.standort-type.depot {
  background: rgba(245,158,11,.12); color: var(--color-gold);
  border-color: rgba(245,158,11,.25);
}

/* ══════════════════════════════════════════════════════════════
   LAGE & REICHWEITE
══════════════════════════════════════════════════════════════ */
.section--lage { background: var(--color-bg); }

.lage-header {
  text-align: center; max-width: 680px;
  margin: 0 auto 3rem;
}
.lage-intro {
  font-size: 1.05rem; color: var(--color-text-muted);
  line-height: 1.72; margin-top: .85rem;
}

/* Grid: 1col → 2col → 4col */
.lage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 560px) {
  .lage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .lage-grid { grid-template-columns: repeat(4, 1fr); }
}

.lage-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .25s, transform .25s;
}
.lage-card:hover {
  border-color: rgba(245,158,11,.30);
  transform: translateY(-3px);
}
.lage-card--featured {
  border-color: rgba(245,158,11,.25);
  background: linear-gradient(135deg, rgba(245,158,11,.06) 0%, var(--color-card) 100%);
}
.lage-card--featured:hover {
  border-color: rgba(245,158,11,.50);
}

.lage-card-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold); flex-shrink: 0;
}
.lage-card--featured .lage-card-icon {
  background: rgba(245,158,11,.18);
  border-color: rgba(245,158,11,.35);
}

.lage-card-label {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--color-gold);
  line-height: 1.2;
}
.lage-card--featured .lage-card-label {
  font-size: 1.25rem;
}

.lage-card-text {
  font-size: .875rem; color: var(--color-text-muted);
  line-height: 1.6;
}

.lage-footer {
  text-align: center;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 1.1rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  display: inline-block;
  width: 100%;
  background: var(--color-surface);
}

/* ══════════════════════════════════════════════════════════════
   ÜBER UNS
══════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center; gap: 5rem;
  }
}
.about-visual { position: relative; }

/* Logo box replacing the about image */
.about-logo-box {
  width: 100%;
  min-height: 340px;
  border-radius: var(--radius-xl);
  background: #0B1628;
  border: 1px solid rgba(245,158,11,.15);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 3rem 2rem;
}
@media (min-width: 768px) { .about-logo-box { min-height: 420px; } }

.about-logo {
  width: auto;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(245,158,11,.18));
}
@media (min-width: 768px) { .about-logo { max-width: 300px; } }

.about-logo-sub {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(232,234,240,.40);
  text-align: center;
  text-transform: uppercase;
}

.about-text {
  font-size: .97rem; color: var(--color-text-muted);
  line-height: 1.78; margin-bottom: 1rem;
}
.values-list {
  display: flex; flex-direction: column; gap: .85rem; margin-top: 1.75rem;
}
.value-item {
  display: flex; align-items: center; gap: .8rem;
  font-size: .92rem; color: var(--color-text);
}

/* ══════════════════════════════════════════════════════════════
   TECHNOLOGIE
══════════════════════════════════════════════════════════════ */
.tech-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

.tech-feature {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  min-height: 240px;
}
.tech-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245,158,11,.25);
}

.tech-feature--photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.tech-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11,22,40,.85) 0%,
    rgba(11,22,40,.75) 100%
  );
  z-index: 0; border-radius: inherit;
  transition: opacity .3s;
}
.tech-feature--photo:hover .tech-card-overlay { opacity: .8; }
.tech-feature--photo > *:not(.tech-card-overlay) {
  position: relative; z-index: 1;
}
.tech-feature--photo .tech-title { color: #fff; }
.tech-feature--photo .tech-desc  { color: rgba(255,255,255,.78); }

.tech-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold);
}
.tech-feature--photo .tech-icon-wrap {
  background: rgba(245,158,11,.2);
  border-color: rgba(245,158,11,.38);
  color: #FBBF24;
}
.tech-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.05rem; letter-spacing: -0.01em;
  color: var(--color-text);
}
.tech-desc {
  font-size: .875rem; color: var(--color-text-muted); line-height: 1.62;
}

/* Tech bar */
.tech-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .75rem 2rem;
  margin-top: 3rem; padding: 1.35rem 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.tech-bar-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600;
  color: var(--color-text-muted); letter-spacing: .04em;
}
.tech-bar-item svg { color: var(--color-gold); flex-shrink: 0; }
.tech-bar-sep {
  width: 1px; height: 20px;
  background: var(--color-border);
  display: none;
}
@media (min-width: 640px) { .tech-bar-sep { display: block; } }

/* ══════════════════════════════════════════════════════════════
   KONTAKT
══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: start;
  }
}

.contact-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.025em; color: var(--color-text);
  margin-bottom: .85rem; margin-top: .5rem;
}
.contact-desc {
  font-size: .97rem; color: var(--color-text-muted);
  margin-bottom: 2.25rem; line-height: 1.72;
}
.contact-details { display: flex; flex-direction: column; gap: 1.35rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold);
}
[data-theme="light"] .contact-icon {
  background: rgba(217,119,6,.09);
  border-color: rgba(217,119,6,.18);
}
.contact-item > div {
  display: flex; flex-direction: column; gap: .2rem;
}
.contact-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.contact-value {
  font-size: .97rem; color: var(--color-text);
}
.contact-link { color: var(--color-gold); transition: opacity .2s; }
.contact-link:hover { opacity: .75; }

/* Form */
.contact-form {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.form-group {
  display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem;
}
.form-row {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin-bottom: 1.1rem;
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-label {
  font-size: .8rem; font-weight: 600; color: var(--color-text-muted);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .8rem 1rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body); font-size: .92rem;
  transition: border-color .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background: var(--color-bg);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--color-text-muted); opacity: .6;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8EAF0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px; padding-right: 2.75rem;
}
[data-theme="light"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1628' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.form-select option { background: var(--color-card); color: var(--color-text); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: .75rem; color: var(--color-text-muted); margin-top: .35rem;
}
.btn-submit {
  width: 100%; padding: 1rem;
  border-radius: var(--radius-full);
  background: var(--color-blue); color: #fff;
  font-weight: 700; font-size: 1rem;
  font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-bottom: .75rem;
}
.btn-submit:hover {
  background: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,79,255,.40);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-success {
  display: none; text-align: center; padding: 2rem;
  color: var(--color-gold); font-weight: 600; font-size: 1rem;
  border: 1px solid rgba(245,158,11,.25); border-radius: var(--radius-lg);
  background: rgba(245,158,11,.08);
}
.form-success.visible { display: flex; align-items: center; justify-content: center; gap: .75rem; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 1.75rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand { display: flex; flex-direction: column; gap: .85rem; }
.footer-logo-img {
  height: 34px; width: auto; object-fit: contain;
}
[data-theme="dark"]  .footer-logo-img { filter: invert(1); }
[data-theme="light"] .footer-logo-img { filter: none; }

.footer-tagline {
  font-size: .875rem; color: var(--color-text-muted);
  max-width: 250px; line-height: 1.65;
}
.footer-heading {
  font-size: .7rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--color-gold);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-link {
  font-size: .875rem; color: var(--color-text-muted);
  transition: color .2s;
}
.footer-link:hover { color: var(--color-text); }

.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.footer-bottom-inner {
  display: flex; flex-direction: column; gap: .5rem;
  align-items: center; text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row; justify-content: space-between; text-align: left;
  }
}
.footer-copy { font-size: .8rem; color: var(--color-text-muted); }

/* ══════════════════════════════════════════════════════════════
   FORM btn-full (mobile nav CTA)
══════════════════════════════════════════════════════════════ */
.btn-full {
  display: block; width: 100%; text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first deep polish
   320px · 375px · 480px · 640px · 768px · 1024px · 1280px
══════════════════════════════════════════════════════════════ */

/* ── Global touch targets & spacing ── */
@media (max-width: 767px) {
  /* Larger tap targets on mobile */
  .nav-link, .footer-link { min-height: 44px; display: flex; align-items: center; }
  .btn-hero-primary, .btn-hero-outline { min-height: 52px; font-size: .95rem; }
  .btn-submit { min-height: 52px; }

  /* Sections less padded on small screens */
  .section { padding: 3.5rem 0; }

  /* Section titles smaller */
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Section header less margin */
  .section-header { margin-bottom: 2rem; }
}

/* ── Hero ── */
@media (max-width: 479px) {
  .hero { padding-bottom: 3.5rem; }
  .hero-heading { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero-sub { font-size: .9rem; }
  .hero-badge { font-size: .68rem; padding: .35rem .85rem; }

  /* KPI chips smaller on very small screens */
  .kpi-chip { min-width: 100px; padding: .6rem .8rem; }
  .kpi-val { font-size: 1rem; }
  .kpi-label { font-size: .65rem; }

  /* CTAs full width on tiny screens */
  .btn-hero-primary, .btn-hero-outline {
    width: 100%; padding: .95rem 1.5rem;
  }
}

/* ── Services grid ── */
@media (max-width: 639px) {
  .service-card { min-height: 240px; padding: 1.5rem; }
  .service-card--wide { min-height: auto; }
  .service-title { font-size: 1.05rem; }
  .service-desc { font-size: .875rem; }

  /* Wide card: depot tags wrap cleanly */
  .depot-tags { gap: .5rem; }
  .depot-tag-item { font-size: .82rem; }
}

/* ── Standorte grid — always stacked on mobile ── */
@media (max-width: 479px) {
  .standorte-grid { grid-template-columns: 1fr; }
  .standort-card { padding: .75rem 1rem; }
  .standort-name { font-size: .85rem; }
}

/* ── Lage section ── */
@media (max-width: 559px) {
  .lage-grid { grid-template-columns: 1fr; }
  .lage-card { padding: 1.35rem 1.25rem; }
  .lage-card-label { font-size: 1rem; }
  .lage-footer { font-size: .72rem; letter-spacing: .06em; border-radius: var(--radius-lg); }
  .lage-intro { font-size: .95rem; }
}

/* ── Tech grid ── */
@media (max-width: 639px) {
  .tech-feature { min-height: 200px; padding: 1.5rem 1.25rem; }
  .tech-icon-wrap { width: 52px; height: 52px; }
  .tech-title { font-size: .95rem; }
  .tech-desc { font-size: .82rem; }
}
@media (max-width: 479px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* ── Tech bar wraps cleanly ── */
@media (max-width: 639px) {
  .tech-bar { gap: .6rem 1rem; padding: 1rem; }
  .tech-bar-item { font-size: .75rem; }
  .tech-bar-sep { display: none; }
}

/* ── About section ── */
@media (max-width: 899px) {
  .about-grid { gap: 2rem; }
  .about-logo-box { min-height: 260px; padding: 2.5rem 1.5rem; }
  .about-logo { max-width: 200px; }
}
@media (max-width: 479px) {
  .about-logo-box { min-height: 220px; }
  .about-logo { max-width: 160px; }
  .about-logo-sub { font-size: .68rem; }
  .about-text { font-size: .9rem; }
  .values-list { gap: .65rem; }
  .value-item { font-size: .85rem; }
}

/* ── Contact section ── */
@media (max-width: 899px) {
  .contact-grid { gap: 2rem; }
}
@media (max-width: 479px) {
  .contact-form { padding: 1.35rem 1.1rem; }
  .contact-title { font-size: 1.5rem; }
  .contact-desc { font-size: .88rem; }
  .contact-icon { width: 38px; height: 38px; }
  .contact-value { font-size: .88rem; }
  .form-input, .form-select, .form-textarea { padding: .7rem .85rem; font-size: .875rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Footer ── */
@media (max-width: 639px) {
  .footer { padding: 2.5rem 0 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-logo-img { height: 28px; }
  .footer-tagline { font-size: .8rem; }
  .footer-heading { margin-bottom: .65rem; }
  .footer-links { gap: .5rem; }
  .footer-link { font-size: .82rem; }
}

/* ── Mobile nav ── */
@media (max-width: 767px) {
  .mobile-nav-link { font-size: 1.4rem; }
}

/* ── Header shrinks on very small ── */
@media (max-width: 359px) {
  :root { --header-h: 56px; }
  .logo-img { height: 30px; }
  .mobile-menu-btn { width: 36px; height: 36px; }
}

/* ── Smooth image rendering on all sizes ── */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
@media (max-width: 767px) {
  img { image-rendering: auto; }
}

/* ── Prevent font zoom on iOS ── */
@media (max-width: 767px) {
  input, select, textarea { font-size: 16px !important; }
}

/* ── Improve scroll performance ── */
.hero-bg, .service-card--photo, .tech-feature--photo {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ── Safe area for notch phones ── */
@supports (padding: env(safe-area-inset-left)) {
  .container {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  @media (min-width: 640px) {
    .container {
      padding-left: max(1.75rem, env(safe-area-inset-left));
      padding-right: max(1.75rem, env(safe-area-inset-right));
    }
  }
  .header { padding-top: env(safe-area-inset-top); }
  .footer { padding-bottom: max(1.75rem, env(safe-area-inset-bottom)); }
}
