/* ============================================================
   Fahrzeugtechnik Aboklam · KFZ-Meisterbetrieb Göttingen
   Farben & Formensprache 1:1 vom Firmenpylon:
   Schild-Blau + mattes Schild-Gold, Goldlinien-Rahmen,
   Icon-Kästchen, Chevron-Ornamente. Rot NUR im Liqui-Moly-Badge.
   Dazu: Waben-LED-Decke wie im Werkstattfoto.
   Mobile-First · Vanilla CSS
   ============================================================ */

:root {
  /* --- Basis: Blau vom Schild, durchgehende Rampe dunkel -> hell --- */
  --blue-950: #0c2444;
  --blue-900: #102d52;
  --blue-850: #143761;
  --blue-800: #184170;
  --blue-700: #1c4b7f;   /* Schild-Blau */
  --blue-600: #225995;

  /* --- Gold vom Schild: matt, kein Verlauf --- */
  --gold: #d9b256;
  --gold-soft: #f0d79b;
  --gold-deep: #a8842f;

  /* --- Rot: ausschließlich Liqui-Moly-Badge --- */
  --red: #e2001a;

  /* --- Licht: warmes Werkstatt-LED (Wabenpanel) --- */
  --led: #ffbe55;
  --led-soft: #ffd9a0;
  --led-glow: rgba(255, 190, 85, 0.55);
  --led-haze: rgba(255, 186, 80, 0.14);

  /* --- Flächen & Text --- */
  --paper: #f2f5fa;
  --paper-2: #ffffff;
  --ink: #16396c;
  --ink-soft: #4a5a72;
  --text: #eaf0f8;
  --muted: #b4c6dd;
  --muted-deep: #8ba3c1;

  --line: rgba(217, 178, 86, 0.22);      /* Goldlinie, dezent */
  --line-strong: rgba(217, 178, 86, 0.55);
  --line-cool: rgba(160, 195, 240, 0.14);

  /* --- Typo --- */
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Archivo", sans-serif;

  /* --- Spacing & Radius --- */
  --space-s: clamp(1rem, 2vw, 1.5rem);
  --space-m: clamp(2rem, 4vw, 3.5rem);
  --space-l: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 6px;
  --wrap: 1160px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Sicherung: horizontaler Überlauf darf nie den Viewport aufweiten
   (sonst hängen position:fixed-Modals auf Mobilgeräten versetzt) */
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(48rem 26rem at 22% -8%, rgba(255, 190, 85, 0.15), transparent 68%),
    radial-gradient(52rem 30rem at 82% -2%, rgba(255, 190, 85, 0.1), transparent 70%),
    radial-gradient(60rem 34rem at 50% 108%, rgba(34, 89, 149, 0.24), transparent 70%),
    linear-gradient(180deg, var(--blue-900) 0%, var(--blue-950) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Feines Korn über allem – gegen die tote Farbfläche */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text);
}

h1 { font-size: clamp(2.3rem, 1.4rem + 4.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.55rem); }

/* Hervorhebung in Schild-Gold, vom Werkstattlicht angestrahlt */
h1 em, h2 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 26px rgba(255, 190, 85, 0.32);
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.section { padding-block: var(--space-l); position: relative; }

.section-dark {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 65, 112, 0.85), rgba(16, 45, 82, 0.94));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* Waben-Echo der Deckenleuchte – nur angedeutet, unter dem Inhalt */
.section-dark::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 0;
  height: 20rem;
  background: linear-gradient(180deg, rgba(255, 200, 110, 0.5), rgba(255, 180, 60, 0) 82%);
  -webkit-mask: url("wabenlicht.svg") top center / 118% auto no-repeat;
  mask: url("wabenlicht.svg") top center / 118% auto no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

/* ---------- LED-Lichtleiste (Sektionskante) ---------- */
.led-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 190, 85, 0.15) 8%,
    var(--led) 28%,
    var(--led-soft) 50%,
    var(--led) 72%,
    rgba(255, 190, 85, 0.15) 92%,
    transparent 100%);
  box-shadow: 0 0 18px 1px var(--led-glow);
  pointer-events: none;
  z-index: 2;
}
.led-rail::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 16rem;
  background: linear-gradient(180deg, var(--led-haze), transparent 78%);
  filter: blur(6px);
}

/* Goldlinie wie die Trennstriche auf dem Pylon */
.rule-gold {
  border: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

.section-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.section-kicker::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--gold);
}

/* Chevron-Ornament wie »ALLE MARKEN & MODELLE« auf dem Schild */
.chevrons {
  display: inline-flex;
  gap: 0.12em;
  color: var(--gold);
  font-size: 0.9em;
  letter-spacing: -0.1em;
}

.only-desktop { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 1rem 1.9rem;
  border-radius: 3px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Gold auf Blau – genau wie die Beschriftung auf dem Pylon */
.btn-primary {
  background: var(--gold);
  color: #14243d;
  box-shadow: 0 8px 24px rgba(217, 178, 86, 0.26);
}
.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 178, 86, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 22px rgba(255, 190, 85, 0.2);
  color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--blue-800);
  box-shadow: inset 0 0 0 1px rgba(24, 65, 112, 0.3);
}
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1px var(--gold-deep); color: var(--gold-deep); }

.btn-block { width: 100%; }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linklike:hover { color: var(--gold-soft); }

/* ---------- Logo-Lockup (vom Pylon übernommen) ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  --brand-chip: var(--blue-700);
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--brand-chip);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}
.brand-mark svg { width: 34px; height: 34px; display: block; }
.logo-gear { fill: #fff; }
/* Sechskant-Maulschlüssel: harte Ecken, flache Maulenden */
.logo-wrench { fill: none; stroke: #fff; stroke-width: 6.5; stroke-linecap: butt; stroke-linejoin: miter; }
/* Freistellung, damit der Schlüssel sich vom Zahnrad absetzt */
.logo-knockout { fill: none; stroke: var(--brand-chip); stroke-width: 13; stroke-linecap: square; stroke-linejoin: miter; }

.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--gold);
  white-space: nowrap;
}
/* "FAHRZEUGTECHNIK" spannt auf die Breite von "ABOKLAM" – wie auf dem Schild */
.brand-text .brand-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.235em;
  color: #fff;
  white-space: nowrap;
  margin-top: 0.14rem;
}
.brand-text small {
  display: none;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  padding-top: 0.28rem;
  border-top: 1px solid var(--line);
}

/* ---------- Liqui-Moly-Partnerzeile ---------- */
.partner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(24, 65, 112, 0.5);
}
.partner-logo {
  flex: none;
  display: grid;
  gap: 1px;
  padding: 3px;
  background: #fff;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.62rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-align: center;
}
.partner-logo span {
  background: var(--red);
  color: #fff;
  padding: 0.1rem 0.34rem;
  border-radius: 1px;
}
.partner-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 45, 82, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--led-glow) 30%, var(--led) 50%, var(--led-glow) 70%, transparent);
  opacity: 0.6;
}
.site-header.scrolled { box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.main-nav {
  position: fixed;
  inset: 0;
  top: 66px;
  background:
    radial-gradient(30rem 16rem at 50% 0%, rgba(255, 190, 85, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(20, 55, 97, 0.98), rgba(12, 36, 68, 0.99));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.75rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.main-nav.open { transform: translateX(0); }

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.main-nav a:hover { color: var(--gold-soft); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold) !important;
}
.nav-phone svg { width: 1.05em; height: 1.05em; }

.burger {
  display: grid;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.55rem;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero: Werkstatthalle unter der Waben-LED ---------- */
.hero {
  position: relative;
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(28, 75, 127, 0.6) 0%, rgba(12, 36, 68, 0.92) 72%);
}

.hero-grid {
  display: block;
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(160, 195, 240, 0.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(160, 195, 240, 0.035) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 88%);
}

/* --- Waben-LED-Decke: dem echten Hexagon-Panel der Werkstatt nachgebaut --- */
.led-ceiling {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1500px;
}

.led-ceiling .hex {
  position: absolute;
  top: -5%;
  left: -18%;
  right: -18%;
  height: 95%;
  /* Röhren: heiß an der Vorderkante, nach hinten ins Dunkel auslaufend */
  background: linear-gradient(180deg, #fff6e6 0%, var(--led-soft) 12%, var(--led) 26%, rgba(255, 150, 40, 0) 52%);
  -webkit-mask: url("wabenlicht.svg") top center / 100% 100% no-repeat;
  mask: url("wabenlicht.svg") top center / 100% 100% no-repeat;
  transform: rotateX(60deg);
  transform-origin: top center;
  filter:
    drop-shadow(0 0 10px rgba(255, 200, 115, 0.8))
    drop-shadow(0 0 34px rgba(255, 175, 55, 0.42));
  opacity: 0.9;
  animation: led-breathe 9s ease-in-out infinite;
}

.led-ceiling .hex-bloom {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -10%;
  height: 78%;
  background:
    radial-gradient(58% 44% at 50% 8%, rgba(255, 196, 96, 0.32), transparent 72%),
    radial-gradient(84% 62% at 50% 0%, rgba(255, 174, 58, 0.17), transparent 76%);
  filter: blur(14px);
}

@keyframes led-breathe {
  0%, 100% { opacity: 0.9; }
  44%      { opacity: 1; }
  72%      { opacity: 0.83; }
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38rem 22rem at 26% 6%, rgba(255, 190, 85, 0.18), transparent 70%),
    radial-gradient(40rem 24rem at 74% 2%, rgba(255, 190, 85, 0.14), transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-block: clamp(6rem, 14vw, 12rem) clamp(6rem, 13vw, 11rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

/* EU-Kennzeichen – blaues Feld links, wie im Original */
.plate {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #0b1729;
  background: #fff;
  border: 1px solid #c9d6e6;
  border-radius: 4px;
  padding: 0.18rem 0.6rem 0.18rem 1.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 22px rgba(255, 190, 85, 0.18);
}
.plate::before {
  content: "D";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.95rem;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-850));
  color: #f5c518;
  font-size: 0.52rem;
  display: grid;
  place-items: end center;
  padding-bottom: 2px;
}

.hero h1 { max-width: 17ch; margin-bottom: 1.4rem; }

.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  font-weight: 300;
  color: #c3d3e8;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.hero-partner { margin-bottom: 2.2rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Goldene Abschlusskante – die Rahmenlinie des Pylons */
.hero-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(217, 178, 86, 0.45);
  z-index: 3;
}

/* ---------- Trust-Bar ---------- */
.trustbar {
  position: relative;
  background: rgba(20, 55, 97, 0.72);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding-block: 1.1rem;
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  hyphens: auto;
}
.trust-item svg { width: 1.45rem; height: 1.45rem; flex: none; color: var(--gold); }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: var(--space-m); align-items: center; }

.about-media { position: relative; }

/* Goldrahmen wie die Rahmenlinie des Schildes */
.about-photo {
  position: relative;
  border-radius: var(--radius);
  padding: 4px;
  background: var(--blue-800);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--gold);
}
.about-photo::after {
  /* zweite, innere Goldlinie – der Pylon hat einen doppelten Rahmen */
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(217, 178, 86, 0.45);
  border-radius: 3px;
  pointer-events: none;
}
.about-photo img {
  width: 100%;
  border-radius: calc(var(--radius) - 3px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ph {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.7rem;
  background:
    linear-gradient(160deg, rgba(217, 178, 86, 0.07), transparent 60%),
    rgba(24, 65, 112, 0.55);
  border: 1px dashed rgba(217, 178, 86, 0.3);
  border-radius: var(--radius);
  color: var(--muted-deep);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  min-height: 100%;
  padding: 1rem;
  text-align: center;
}
.ph svg { width: 2.4rem; height: 2.4rem; opacity: 0.45; color: var(--gold); }

.about-badge {
  position: absolute;
  right: -0.4rem;
  bottom: -1.1rem;
  background: var(--gold);
  color: #14243d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy p:not(.section-kicker) { margin-bottom: 1rem; color: #bccbdf; font-weight: 300; }

.about-points {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.about-points li {
  position: relative;
  padding-left: 2rem;
  font-weight: 400;
}
/* Chevron statt Punkt – das Ornament vom Schild */
.about-points li::before {
  content: "»";
  position: absolute;
  left: 0.15rem;
  top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.55;
}

/* ---------- Leistungen: die Icon-Kästchen-Liste des Pylons ---------- */
.services h2 { margin-bottom: var(--space-m); }

.service-grid { display: grid; gap: 1.1rem; }

.service-card {
  position: relative;
  background: linear-gradient(180deg, rgba(28, 75, 127, 0.6), rgba(20, 55, 97, 0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.6rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--led-soft) 50%, transparent);
  box-shadow: 0 0 16px 1px var(--led-glow);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.3s ease, transform 0.35s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 9rem;
  background: linear-gradient(180deg, rgba(255, 186, 80, 0.15), transparent 85%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.4);
  outline: none;
}
.service-card:hover::before,
.service-card:focus-visible::before { opacity: 1; transform: scaleX(1); }
.service-card:hover::after,
.service-card:focus-visible::after { opacity: 1; }

.card-num {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 178, 86, 0.3);
}

/* Gold umrandetes Kästchen – exakt die Icon-Boxen auf dem Schild */
.card-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: 9px;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 27px; height: 27px; }

.service-card h3,
.service-card p,
.card-more { position: relative; z-index: 1; }

.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; font-weight: 300; margin-bottom: 1.3rem; }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.card-more svg { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.service-card:hover .card-more svg { transform: translateX(4px); }

/* "«« ALLE MARKEN & MODELLE »»" – der Abschluss-Block des Pylons */
.marken-bar {
  margin-top: var(--space-m);
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 1.2vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  text-align: center;
}

.services-note {
  margin-top: 1.6rem;
  color: var(--muted);
  text-align: center;
  font-weight: 300;
}

/* ---------- Galerie ---------- */
.gallery h2 { margin-bottom: var(--space-m); }

.gallery-grid { display: grid; gap: 1rem; }

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .ph { height: 100%; border: 0; border-radius: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: var(--space-m); }

.contact-lead { color: var(--muted); max-width: 46ch; margin-top: 1rem; font-weight: 300; }

.contact-list {
  list-style: none;
  margin-top: 2.2rem;
  display: grid;
  gap: 1.5rem;
}
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--gold); margin-top: 0.2rem; }
.contact-list strong {
  display: block;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted-deep);
  margin-bottom: 0.2rem;
}
.contact-list a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.contact-list a:hover { color: var(--gold-soft); }

.contact-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45);
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gold);
}
.contact-form h3 { margin-bottom: 1.5rem; color: var(--ink); }

.field { margin-bottom: 1.05rem; }
.field-row { display: grid; gap: 1.05rem 0.9rem; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid #ccd7e6;
  border-radius: 3px;
  padding: 0.72rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(34, 89, 149, 0.2);
}
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(226, 0, 26, 0.14); }
.field textarea { resize: vertical; }

.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.9rem; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #e5f0e6;
  color: #256b2c;
  border-radius: 4px;
  font-weight: 500;
}
.form-success svg { width: 1.4rem; height: 1.4rem; flex: none; }

.form-error {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #fdeaea;
  color: #9c1c1c;
  border-radius: 4px;
  font-weight: 500;
}
.form-error svg { width: 1.4rem; height: 1.4rem; flex: none; }
.form-error a { color: inherit; font-weight: 700; }

/* Spam-Falle – darf für Menschen nie sichtbar oder fokussierbar sein */
.gotcha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

button[type="submit"][disabled] { opacity: 0.65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--blue-950);
  color: var(--muted-deep);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding-block: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  text-align: center;
}
.footer-inner nav { display: flex; gap: 1.5rem; }
.footer-inner .linklike { color: var(--muted-deep); text-decoration: none; }
.footer-inner .linklike:hover { color: var(--gold-soft); }

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(12, 36, 68, 0.8);
  backdrop-filter: blur(5px);
}
.modal[hidden] { display: none; }

.modal-box {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(85vh, 42rem);
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  animation: modal-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(11, 23, 41, 0.22);
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.modal-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14243d;
  transform: rotate(90deg);
}

.modal-kicker {
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.modal-box h3 { margin-bottom: 1rem; padding-right: 2.2rem; color: var(--ink); }
.modal-box > p { margin-bottom: 1rem; color: var(--ink-soft); }

.modal-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.7rem;
}
.modal-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.97rem;
  color: #2b3a4f;
}
.modal-list li::before {
  content: "»";
  position: absolute;
  left: 0.1rem;
  top: 0;
  color: var(--gold-deep);
  font-weight: 700;
  line-height: 1.55;
}

.modal-cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-block: 1.2rem 1rem; }
.modal-hours { font-size: 0.88rem; color: var(--ink-soft); }

.modal-box-text p { margin-bottom: 0.9rem; font-size: 0.95rem; color: var(--ink-soft); }
.legal-note {
  font-style: italic;
  color: #8496ab !important;
  border-top: 1px dashed #ccd7e6;
  padding-top: 0.9rem;
  font-size: 0.85rem !important;
}

body.modal-open { overflow: hidden; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-box { animation: none; }
  .led-ceiling .hex { animation: none; }
}

/* ============================================================
   Tablet & Desktop
   ============================================================ */
@media (max-width: 639px) {
  /* Schmaler Viewport: Decke flacher anstellen, sonst kippt das Muster weg */
  .led-ceiling { perspective: 900px; }
  .led-ceiling .hex { height: 70%; transform: rotateX(52deg); }

  .brand-mark { width: 40px; height: 40px; }
  .brand-mark svg { width: 29px; height: 29px; }
  .brand-text strong { font-size: 1.12rem; }
  .brand-text .brand-sub { font-size: 0.56rem; letter-spacing: 0.2em; }
}

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-item { justify-content: center; font-size: 0.8rem; letter-spacing: 0.1em; }
  .brand-text small { display: block; }
}

@media (min-width: 900px) {
  .only-desktop { display: inline; }

  .burger { display: none; }

  .main-nav {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    background: none;
    padding: 0;
  }
  .main-nav a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-bottom: 0;
    padding: 0.3rem 0;
    position: relative;
  }
  .main-nav a:not(.nav-phone)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--gold);
    transition: right 0.22s ease;
  }
  .main-nav a:not(.nav-phone):hover::after { right: 0; }

  .about-grid { grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 5vw, 5rem); }

  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item.g-wide { grid-column: span 2; }

  .contact-grid { grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
}

@media (min-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
