/*
Theme Name: Autohaus Hütter
Theme URI: https://autohaus-huetter.de
Author: Autohaus Hütter
Description: Custom Block Theme für Autohaus Hütter – mit Scroll-Animation Hero
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autohaus-huetter
Template:
Tags: full-site-editing, block-theme, one-column, custom-colors
*/

/* ============================================================
   ACCESSIBILITY 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: 0;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --ah-navy: #1a2e6b;
  --ah-navy-dark: #0f1c42;
  --ah-forest: #1a2a1e;
  --ah-forest-mid: #243528;
  --ah-white: #ffffff;
  --ah-offwhite: #f4f4f0;
  --ah-amber: #d4870a;
  --ah-amber-light: #f0a830;
  --ah-mist: #8fa8b0;
  --ah-dark: #0c0e10;

  /* Typography */
  --ah-font-head: 'Barlow Condensed', system-ui, sans-serif;
  --ah-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ah-font-price: 'Inter', system-ui, -apple-system, sans-serif;
  /* Headings: ExtraBold (800) */

  /* Spacing */
  --ah-s4: 0.25rem;
  --ah-s8: 0.5rem;
  --ah-s12: 0.75rem;
  --ah-s16: 1rem;
  --ah-s24: 1.5rem;
  --ah-s32: 2rem;
  --ah-s48: 3rem;
  --ah-s64: 4rem;
  --ah-s80: 5rem;
  --ah-s96: 6rem;
  --ah-s128: 8rem;

  /* Header */
  --ah-header-height: 5.5rem;
  --ah-header-radius: 90px;
  --ah-logo-size: 6rem;
}

/* ============================================================
   PRICE TYPOGRAPHY – Inter Black
   Verwendung: <span class="price">3.250 €</span>
   ============================================================ */
.price {
  font-family: var(--ah-font-price);
  font-weight: 900;
  /* Inter Black */
  font-variant-numeric: tabular-nums;
  /* Ziffern gleich breit */
  letter-spacing: -0.03em;
  color: var(--ah-amber);
  line-height: 1;
}

.price-lg {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.price-xl {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.price-sm {
  font-size: 1.1rem;
}

.price-white {
  color: var(--ah-white);
}

.price-muted {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  font-size: 0.85em;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--ah-dark);
  color: var(--ah-white);
  font-family: var(--ah-font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ah-font-head);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

/* ============================================================
   HEADER – zwei abgerundete Rechtecke
   ============================================================ */
.site-header {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  /* nur rechts, kein left/right span */
  left: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  height: var(--ah-header-height);
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* ── REAKTIVES LOGO-COMPONENT ──────────────────────────────
   Normal:  Kreis  (width = height = --ah-logo-size)
   Hover:   Abgerundetes Rechteck (breiter, größer)
   ─────────────────────────────────────────────────────── */
.header-logo-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: all;
  cursor: pointer;
  text-decoration: none;
  gap: 0;

  /* Kreis-Zustand */
  width: var(--ah-logo-size);
  height: var(--ah-logo-size);
  border-radius: 50%;
  background: rgba(10, 14, 30, 0.82);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1.5px solid rgba(212, 135, 10, 0.35);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);

  /* Übergang: Kreis → Rect */
  transition:
    width 0.38s cubic-bezier(0.34, 1.3, 0.64, 1),
    height 0.38s cubic-bezier(0.34, 1.3, 0.64, 1),
    border-radius 0.38s cubic-bezier(0.34, 1.3, 0.64, 1),
    gap 0.38s cubic-bezier(0.34, 1.3, 0.64, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Logo-Bild im Kreis */
.header-logo-pill .logo-img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  flex-shrink: 0;
  transition:
    width 0.38s cubic-bezier(0.34, 1.3, 0.64, 1),
    height 0.38s cubic-bezier(0.34, 1.3, 0.64, 1),
    opacity 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

/* Logo-Text / Wordmark – erst beim Hover sichtbar */
.header-logo-pill .logo-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    opacity 0.25s ease 0.08s,
    max-width 0.38s cubic-bezier(0.34, 1.3, 0.64, 1);
  pointer-events: none;
}

/* Wordmark-Bild (Huetter.png) */
.header-logo-pill .logo-wordmark {
  height: 2rem;
  width: auto;
  object-fit: contain;
  display: block;
  align-self: center;   /* vertikale Zentrierung im Flex-Container */
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
}

/* ── HOVER-ZUSTAND: Abgerundetes Rechteck ── */
.header-logo-pill:hover,
.header-logo-pill:focus-visible {
  width: 15rem;
  height: calc(var(--ah-logo-size) + 0.5rem);
  border-radius: 90px;
  background: rgba(26, 46, 107, 0.88);
  border-color: rgba(212, 135, 10, 0.7);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 135, 10, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  gap: 0.75rem;
  padding: 0 1.5rem;
  justify-content: center;
  align-items: center;
}

.header-logo-pill:hover .logo-img,
.header-logo-pill:focus-visible .logo-img {
  width: 2.8rem;
  height: 2.8rem;
}

.header-logo-pill:hover .logo-label,
.header-logo-pill:focus-visible .logo-label {
  opacity: 1;
  max-width: 10rem;
}

/* Amber glow ring beim Hover */
.header-logo-pill::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 135, 10, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.header-logo-pill:hover::after {
  opacity: 1;
}

/* (Logo-Text ist jetzt .logo-label innerhalb .header-logo-pill) */

/* Pill 2: Navigation + CTA */
.header-nav-pill {
  display: flex;
  align-items: center;
  gap: var(--ah-s8);
  background: rgba(10, 15, 35, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ah-header-radius);
  padding: var(--ah-s8) var(--ah-s12) var(--ah-s8) var(--ah-s24);
  height: 3.78rem;          /* 3.6rem × 1.05 = +5% */
  pointer-events: all;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transform: scale(1.07);
  transform-origin: top right;
}

.header-nav-pill nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--ah-s4);
}

.header-nav-pill nav ul li a {
  display: block;
  font-family: var(--ah-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: var(--ah-s4) var(--ah-s12);
  border-radius: 2rem;
  transition: color 0.2s, background 0.2s;
}

.header-nav-pill nav ul li a:hover {
  color: var(--ah-white);
  background: rgba(255, 255, 255, 0.1);
}

/* CTA Button in Nav Pill */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--ah-s8);
  background: var(--ah-amber);
  color: var(--ah-dark);
  font-family: var(--ah-font-head);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--ah-s8) var(--ah-s20, 1.25rem);
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta:hover {
  background: var(--ah-amber-light);
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.header-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--ah-s8);
  color: var(--ah-white);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.header-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── GLOBAL HEADER SCROLL STATES ──────────────────────────── */
/* Scrolled: pill becomes more opaque */
.site-header.is-scrolled .header-nav-pill {
  background: rgba(10, 15, 35, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Hidden: slide out on scroll down */
.site-header.is-hidden {
  transform: translateY(-130%);
}

/* Sticky variant – used on Leistungen & Team */
/* Header stays at top while page scrolls, always visible */
.site-header--sticky {
  position: sticky !important;
  top: 1rem !important;
  /* align to the right within a full-width flex row wrapper */
  align-self: flex-start;
}

/* Logo wrapper sticky variant */
.logo-fixed-wrap--sticky {
  position: sticky !important;
  top: 1rem !important;
  z-index: 10000;
  pointer-events: all;
  float: left; /* keeps it left while header goes right */
}

/* ============================================================
   HERO – Scroll-Animation Canvas
   ============================================================ */
.hero-section {
  position: relative;
  height: 255vh;
  /* scroll distance for animation */
  width: 100%;
}

.hero-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.05) 40%,
      rgba(0, 0, 0, 0.45) 80%,
      rgba(12, 14, 16, 0.95) 100%);
  pointer-events: none;
}

/* ── HERO TEXT OVERLAY ── */
.hero-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 10;
  padding: var(--ah-s24);
}

.hero-text-step {
  position: absolute;
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
  max-width: 1000px;
  width: 100%;
}

.hero-text-step.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.hero-sublabel {
  display: inline-block;
  font-family: var(--ah-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ah-amber);
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-text-title {
  font-family: var(--ah-font-head);
  font-size: clamp(2.2rem, 5.8vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ah-white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.8);
  margin: 0;
}

.hero-text-title .brand-accent {
  color: var(--ah-amber);
  background: linear-gradient(135deg, #f0a830 0%, #d4870a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-animated {
  animation: heroBrandGlow 3s ease-in-out infinite alternate;
}

@keyframes heroBrandGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(212, 135, 10, 0.3));
    transform: scale(1);
  }
  100% {
    filter: drop-shadow(0 0 28px rgba(212, 135, 10, 0.85));
    transform: scale(1.02);
  }
}

/* ── TRABITREFFEN EVENT BUTTON ── */
.hero-trabi-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.9rem 2.8rem;
  border-radius: 50px;
  position: relative;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  isolation: isolate;

  /* Frosted amber glass interior */
  background: rgba(212, 135, 10, 0.13);
  backdrop-filter: blur(28px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.08);

  /* The concave moat rim + inner highlights */
  border: 1.5px solid rgba(255, 190, 80, 0.35);
  box-shadow:
    /* Outer dark concave moat */
    0 0 0 5px rgba(0, 0, 0, 0.28),
    /* Soft ambient shadow */
    0 10px 40px rgba(0, 0, 0, 0.35),
    /* Top inner highlight (light hits glass top) */
    0 1.5px 0 rgba(255, 210, 100, 0.45) inset,
    /* Bottom inner shadow (depth) */
    0 -1.5px 0 rgba(0, 0, 0, 0.2) inset,
    /* Left edge subtle glow */
    1.5px 0 0 rgba(255, 200, 80, 0.18) inset;

  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

/* Specular highlight – cursor-reactive light flare */
.hero-trabi-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse 50% 80% at var(--mx, 88%) var(--my, 50%),
      rgba(255, 220, 100, 0.6) 0%,
      rgba(255, 160, 30, 0.2)  40%,
      transparent 75%
    ),
    radial-gradient(
      ellipse 40% 40% at calc(100% - var(--mx, 88%)) calc(100% - var(--my, 50%)),
      rgba(212, 135, 10, 0.15) 0%,
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
  transition: background 0.05s linear;
}

/* Specular rim highlight – thin bright line on upper edge */
.hero-trabi-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1.5px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 220, 100, 0.8) 30%,
    rgba(255, 255, 200, 0.9) 50%,
    rgba(255, 220, 100, 0.8) 70%,
    transparent 100%
  );
  pointer-events: none;
}

@keyframes liquidShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-trabi-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(212, 135, 10, 0.2);
  box-shadow:
    0 0 0 5px rgba(0, 0, 0, 0.32),
    0 14px 50px rgba(0, 0, 0, 0.4),
    0 1.5px 0 rgba(255, 210, 100, 0.55) inset,
    0 -1.5px 0 rgba(0, 0, 0, 0.22) inset,
    1.5px 0 0 rgba(255, 200, 80, 0.25) inset;
}

.hero-trabi-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.trabi-btn-title {
  font-family: var(--ah-font-body);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.trabi-btn-sub {
  font-family: var(--ah-font-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: rgba(255, 230, 160, 0.85);
  line-height: 1.2;
  margin-top: 0.15rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-text-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
  .hero-sublabel {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }
  .hero-trabi-btn {
    padding: 0.75rem 1.8rem;
    margin-top: 1.25rem;
  }
  .trabi-btn-title {
    font-size: 0.95rem;
  }
  .trabi-btn-sub {
    font-size: 0.78rem;
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--ah-s48);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ah-s8);
  color: var(--ah-amber);
  font-size: 0.83rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--ah-amber), transparent);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.8;
  }

  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 1;
  }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  position: relative;
  padding: var(--ah-s80) var(--ah-s24);
  max-width: 1280px;
  margin: 0 auto;
}

.section-full {
  position: relative;
  padding: var(--ah-s80) var(--ah-s24);
}

.section-label {
  font-family: var(--ah-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ah-amber);
  margin-bottom: var(--ah-s16);
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--ah-white);
  margin-bottom: var(--ah-s24);
}

.section-title em {
  font-style: normal;
  color: var(--ah-amber);
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-bg {
  background: var(--ah-forest);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--ah-s24);
  margin-top: var(--ah-s48);
}

.service-card {
  position: relative;
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: var(--ah-s32);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 135, 10, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 135, 10, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--ah-amber);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ah-s20, 1.25rem);
  font-size: 1.5rem;
}

.service-card-title {
  font-size: 1.4rem;
  color: var(--ah-white);
  margin-bottom: var(--ah-s8);
}

.service-card-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ============================================================
   WHY US – Stats / USP
   ============================================================ */
.why-us-bg {
  background: var(--ah-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--ah-s32);
  margin-top: var(--ah-s48);
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--ah-font-head);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--ah-amber);
  line-height: 1;
  display: block;
}

.stat-suffix {
  font-size: 0.6em;
  vertical-align: super;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--ah-s8);
  letter-spacing: 0.05em;
}

/* USP List */
.usp-list {
  list-style: none;
  margin: var(--ah-s32) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ah-s16);
}

.usp-list li {
  display: flex;
  align-items: center;
  gap: var(--ah-s16);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.usp-list li::before {
  content: '';
  width: 1.5rem;
  height: 1.5rem;
  background: var(--ah-amber);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%230c0e10' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-bg {
  background: linear-gradient(135deg, var(--ah-navy-dark) 0%, var(--ah-navy) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ah-s64);
  margin-top: var(--ah-s48);
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--ah-s16);
  margin-bottom: var(--ah-s24);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info-item svg {
  color: var(--ah-amber);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--ah-s16);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--ah-s8);
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: var(--ah-s12) var(--ah-s16);
  color: var(--ah-white);
  font-family: var(--ah-font-body);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ah-amber);
  background: rgba(255, 255, 255, 0.09);
}

.form-group textarea {
  min-height: 130px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ah-s8);
  background: var(--ah-amber);
  color: var(--ah-dark);
  font-family: var(--ah-font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--ah-s16) var(--ah-s32);
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--ah-amber-light);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ah-forest);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--ah-s64) var(--ah-s24) var(--ah-s32);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--ah-s48);
}

.footer-brand-name {
  font-family: var(--ah-font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-white);
  margin-bottom: var(--ah-s8);
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--ah-s24);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--ah-font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ah-amber);
  margin-bottom: var(--ah-s16);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ah-s8);
}

.footer-links li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: var(--ah-white);
}

.footer-social {
  display: flex;
  gap: var(--ah-s12);
  margin-top: var(--ah-s24);
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
  border-color: var(--ah-amber);
  color: var(--ah-amber);
  background: rgba(212, 135, 10, 0.1);
}

.footer-bottom {
  max-width: 1280px;
  margin: var(--ah-s48) auto 0;
  padding-top: var(--ah-s24);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 35, 0.97);
  backdrop-filter: blur(20px);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ah-s24);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ah-s8);
  text-align: center;
}

.mobile-menu nav ul li a {
  font-family: var(--ah-font-head);
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.mobile-menu nav ul li a:hover {
  color: var(--ah-amber);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--ah-s48);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--ah-s32);
  }
}

@media (max-width: 768px) {
  :root {
    --ah-header-height: 5rem;
    --ah-logo-size: 4rem;
  }

  .site-header {
    top: 0.75rem;
    padding: 0 var(--ah-s16);
  }

  .header-nav-pill nav,
  .header-cta {
    display: none;
  }

  .header-hamburger {
    display: flex;
  }

  .header-nav-pill {
    padding: var(--ah-s8);
    height: 3.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--ah-s32);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--ah-s12);
    text-align: center;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.animate-up[data-delay="1"] {
  animation-delay: 0.1s;
}

.animate-up[data-delay="2"] {
  animation-delay: 0.2s;
}

.animate-up[data-delay="3"] {
  animation-delay: 0.3s;
}

.animate-up[data-delay="4"] {
  animation-delay: 0.4s;
}

/* ============================================================
   FAHRZEUGE PAGE
   ============================================================ */
.fz-hero {
  padding: calc(var(--ah-header-height, 5.5rem) + 3rem) 2rem 3rem;
  background: var(--ah-forest);
  position: relative;
  overflow: hidden;
}

.fz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(26, 46, 107, .35) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(212, 135, 10, .1) 0%, transparent 50%);
}

.fz-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.fz-hero-label {
  font-family: var(--ah-font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ah-amber);
  margin-bottom: .75rem;
}

.fz-hero-title {
  font-family: var(--ah-font-head);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ah-white);
  line-height: .9;
}

.fz-hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .55);
  margin-top: 1rem;
  max-width: 480px;
}

.fz-section {
  background: var(--ah-dark);
  padding: 3rem 2rem 5rem;
}

.fz-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.fz-card {
  background: var(--ah-forest);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.34, 1.2, .64, 1), box-shadow .3s ease, border-color .3s ease;
}

.fz-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(212, 135, 10, .3);
  border-color: rgba(212, 135, 10, .4);
}

.fz-card-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

.fz-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.fz-card:hover .fz-card-img-wrap img {
  transform: scale(1.05);
}

.fz-badge {
  position: absolute;
  top: .875rem;
  right: .875rem;
  background: var(--ah-amber);
  color: var(--ah-dark);
  font-family: var(--ah-font-head);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.fz-badge svg {
  flex-shrink: 0;
}

.fz-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fz-card-make {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ah-amber);
  margin-bottom: .25rem;
}

.fz-card-title {
  font-family: var(--ah-font-head);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ah-white);
  line-height: 1.1;
  margin-bottom: .75rem;
}

.fz-card-desc {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

.fz-specs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.fz-spec {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .775rem;
  color: rgba(255, 255, 255, .5);
}

.fz-spec svg {
  color: var(--ah-amber);
  flex-shrink: 0;
}

.fz-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  gap: 1rem;
}

.fz-price {
  font-family: var(--ah-font-price);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 1.75rem;
  color: var(--ah-amber);
  letter-spacing: -.03em;
  line-height: 1;
}

.fz-price small {
  font-size: .75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .4);
  margin-left: .25rem;
  letter-spacing: 0;
}

.fz-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--ah-amber);
  color: var(--ah-dark);
  font-family: var(--ah-font-head);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .6rem 1.25rem;
  border-radius: 2rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}

.fz-btn:hover {
  background: var(--ah-amber-light);
  transform: translateY(-1px);
}

/* Reveal for fahrzeuge */
.page-fahrzeuge [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.page-fahrzeuge [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo fixed wrapper (shared across pages) */
.logo-fixed-wrap {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  z-index: 10000;
  pointer-events: all;
}

/* ============================================================
   PIXEL BLOCK TRANSITION
   ============================================================ */
.pixel-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  display: grid;
  /* columns/rows set via JS */
}

.pixel-block {
  width: 35px;
  height: 35px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0s, transform 0s;
}

.pixel-block.is-on {
  opacity: 1;
  transform: scale(1);
}


/* ============================================================
   SHOP SOON PAGE
   ============================================================ */
.shop-soon-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ah-dark);
  position: relative;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
}

.shop-soon-page::before,
.shop-soon-page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.shop-soon-page::before {
  width: 60vw; height: 60vw;
  top: -20%; left: -15%;
  background: radial-gradient(circle, rgba(26,46,107,0.4) 0%, transparent 70%);
}
.shop-soon-page::after {
  width: 50vw; height: 50vw;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, rgba(212,135,10,0.12) 0%, transparent 70%);
}

.shop-soon-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.shop-soon-icon {
  display: inline-flex;
  align-items: flex-end;
  margin-bottom: 2rem;
  color: var(--ah-amber);
  filter: drop-shadow(0 0 24px rgba(212,135,10,0.45));
}
.shop-soon-gear--big   { animation: gearSpin 7s linear infinite; }
.shop-soon-gear--small { animation: gearSpin 4.5s linear infinite reverse; margin-left: -1rem; margin-bottom: 0.2rem; opacity: 0.65; }

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.shop-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,135,10,0.1);
  border: 1px solid rgba(212,135,10,0.3);
  color: var(--ah-amber);
  font-family: var(--ah-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.shop-soon-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ah-amber);
  box-shadow: 0 0 6px var(--ah-amber);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}

.shop-soon-title {
  font-family: var(--ah-font-head);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--ah-white);
  margin-bottom: 1.5rem;
}
.shop-soon-title-accent {
  color: var(--ah-amber);
  display: block;
}

.shop-soon-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto 2.5rem;
}
.shop-soon-sub strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.shop-soon-progress {
  width: 100%;
  max-width: 380px;
  margin: 0 auto 2.5rem;
}
.shop-soon-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.6rem;
}
.shop-soon-progress-track {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.shop-soon-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ah-amber), var(--ah-amber-light));
  border-radius: 2px;
  transition: width 2.2s cubic-bezier(0.34,1.2,0.64,1) 0.6s;
}
.shop-soon-progress-fill.is-animated { width: 68%; }

.shop-soon-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.shop-soon-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ah-amber); color: var(--ah-dark);
  font-family: var(--ah-font-head); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.8rem 1.75rem; border-radius: 2rem;
  transition: background 0.2s, transform 0.15s;
}
.shop-soon-btn-primary:hover { background: var(--ah-amber-light); transform: translateY(-2px); }
.shop-soon-btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65); font-family: var(--ah-font-body); font-size: 0.875rem; font-weight: 500;
  padding: 0.8rem 1.75rem; border-radius: 2rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.shop-soon-btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: var(--ah-white); transform: translateY(-2px); }

.shop-soon-footer-note {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.1em;
  white-space: nowrap;
}