/* ============================================================
   KFZ-Service Schöllnach – Stylesheet
   Design: modern, technisch, seriös. Anthrazit/Schwarz/Weiß + Rot.
   Aufbau: 1) Variablen 2) Basis 3) Buttons 4) Header 5) Hero
           6) Sektionen 7) Kacheln 8) Vorteile 9) Service
           10) Ablauf 11) FAQ 12) Kontakt 13) Footer
           14) Mobile-CTA 15) Animationen 16) Responsive
   ============================================================ */

/* -------------------- 1) VARIABLEN -------------------- */
:root {
  /* Farben */
  --bg-950: #0c0e11;   /* tiefstes Anthrazit */
  --bg-900: #111419;
  --bg-850: #161a20;
  --bg-800: #1c212a;
  --surface: #14181e;
  --surface-2: #1a1f27;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f3f5f8;
  --text-soft: #c3cad4;
  --muted: #8a94a2;

  --accent: #e11d29;        /* Signalrot */
  --accent-600: #c4111c;
  --accent-400: #ff3b47;
  --accent-glow: rgba(225, 29, 41, 0.35);

  /* Typo */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-tech: "Chakra Petch", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Maße */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-soft: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
  --header-h: 74px;
}

/* -------------------- 2) BASIS -------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-950);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--text-soft); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.narrow { max-width: 860px; }

/* Kicker / Eyebrow / Labels (technische Schrift) */
.kicker, .eyebrow {
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-400);
  margin: 0 0 .9rem;
}
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-soft); flex-wrap: wrap; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }

.accent-text { color: var(--accent-400); }

/* Skip-Link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent-400); outline-offset: 2px; border-radius: 4px; }

/* -------------------- 3) BUTTONS -------------------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  letter-spacing: .01em; line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px -10px var(--accent-glow);
}
.btn-accent:hover { background: var(--accent-400); box-shadow: 0 14px 30px -8px var(--accent-glow); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent-400); color: #fff; background: rgba(255,255,255,.04); transform: translateY(-2px); }

.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .7rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* -------------------- 4) HEADER -------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(12, 14, 17, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(12, 14, 17, 0.92); border-bottom-color: var(--line); }

.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.brand-mark { color: var(--text); display: grid; place-items: center; flex-shrink: 0; }
.brand-text { font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; }
/* Logo-Bild (Header) */
.brand-logo { height: 46px; width: auto; display: block; }
.brand-footer .brand-logo { height: 54px; }
@media (max-width: 560px) { .brand-logo { height: 40px; } }
.brand-text b { color: var(--accent-400); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 1.3rem; }
.main-nav a { font-weight: 600; font-size: .96rem; color: var(--text-soft); position: relative; transition: color .18s ease; }
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent); transition: width .22s ease;
}
.main-nav a:not(.nav-cta):hover { color: #fff; }
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { color: #fff; }

/* Burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { height: 2.5px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -------------------- 5) HERO -------------------- */
.hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 9vw, 7rem);
  overflow: hidden;
  background: radial-gradient(120% 90% at 80% -10%, #1b2028 0%, var(--bg-950) 55%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
/* technisches Raster */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 70%);
  opacity: .6;
}
.hero-glow { position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%); filter: blur(20px); }
/* diagonaler roter Akzentstreifen */
.hero-stripe { position: absolute; left: -10%; bottom: -30%; width: 55%; height: 120%;
  background: linear-gradient(120deg, transparent 45%, rgba(225,29,41,.10) 46%, rgba(225,29,41,.10) 49%, transparent 50%); }

.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--text-soft); max-width: 640px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3rem; }

.hero-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hero-trust li { background: rgba(20,24,30,.7); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .15rem; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.hero-trust span { font-size: .84rem; color: var(--muted); }

/* -------------------- 6) SEKTIONEN -------------------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-alt { background: var(--bg-900); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-lead { font-size: 1.08rem; color: var(--text-soft); }

/* -------------------- 7) KACHELN -------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .55rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.tile::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .25s ease; }
.tile:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.tile:hover::before { width: 100%; }
.tile-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(225,29,41,.10); border: 1px solid rgba(225,29,41,.22); color: var(--text); margin-bottom: .4rem; }
.tile-icon svg { width: 26px; height: 26px; }
.tile h3 { margin: 0; }
.tile p { margin: 0; font-size: .93rem; color: var(--muted); }

/* -------------------- 8) VORTEILE -------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; position: relative; }
.benefit-num { font-family: var(--font-tech); font-size: .9rem; font-weight: 700; color: var(--accent-400); letter-spacing: .1em; }
.benefit h3 { margin: .5rem 0 .4rem; }
.benefit p { margin: 0; font-size: .95rem; color: var(--muted); }

/* -------------------- 9) SERVICE-DETAIL -------------------- */
.service-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.service-grid.reverse .service-media { order: 2; }
.service-media { min-width: 0; }
.media-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-800), var(--bg-950));
  box-shadow: var(--shadow); position: relative;
}
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
/* Echtes Foto im Seitenverhältnis der Datei zeigen – nichts abschneiden.
   (Das B&R-Banner ist ein breites 2,7:1-Motiv mit Schrift am Rand;
   ein 4:3-Zuschnitt würde die Schrift zerschneiden.) */
.media-frame img.service-photo { width: 100%; height: auto; display: block; object-fit: contain; }
.service-text .lead { font-size: 1.12rem; color: #fff; font-weight: 600; margin-bottom: 1rem; }

/* Partner-Badge (z. B. Stützpunkt von B&R Chiptuning) */
.partner-badge { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem;
  padding: .5rem .9rem; border-radius: 999px; background: rgba(225,29,41,.1);
  border: 1px solid rgba(225,29,41,.3); color: var(--text); font-size: .92rem; font-weight: 600; }
.partner-badge strong { color: var(--accent-400); }
.partner-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }

/* Eingebetteter Leistungsdaten-Finder im Chiptuning-Bereich */
.tuning-finder { margin-top: clamp(2.2rem, 5vw, 4rem); padding: clamp(1rem, 2.5vw, 1.6rem);
  background: linear-gradient(145deg, var(--surface), var(--bg-950)); border: 1px solid var(--line-strong);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.tuning-finder-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.2rem; }
.tuning-finder-head h3 { margin-bottom: .35rem; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.tuning-finder-head p:not(.kicker) { max-width: 720px; margin: 0; color: var(--text-soft); }
.tuning-finder-head .btn { flex-shrink: 0; }
.tuning-finder-frame { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; line-height: 0; }
.tuning-finder-frame iframe { display: block; width: 100%; height: clamp(720px, 78vh, 880px); border: 0; background: #fff; }
.tuning-finder-note { margin: .9rem .2rem 0; color: var(--muted); font-size: .82rem; }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--text-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 5px;
  background: rgba(225,29,41,.14); border: 1px solid rgba(225,29,41,.35);
}
.check-list li::after { content: ""; position: absolute; left: 6px; top: .48em; width: 6px; height: 9px;
  border: solid var(--accent-400); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* -------------------- 10) ABLAUF -------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem; position: relative; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.step h3 { margin: 0 0 .35rem; }
.step p { margin: 0; font-size: .93rem; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.7rem; right: -.7rem; width: 1.4rem; height: 2px; background: var(--line-strong); z-index: 1; }

/* -------------------- 11) FAQ -------------------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.3rem; font-family: var(--font-display); font-weight: 700;
  font-size: 1.03rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-tech); font-size: 1.5rem; color: var(--accent-400); transition: transform .25s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.2rem; }
.faq-a p { margin: 0; color: var(--text-soft); }

/* -------------------- 11b) REFERENZEN / GALERIE -------------------- */
.section-showcase { background: linear-gradient(180deg, var(--bg-950), var(--bg-900)); border-block: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.gallery-empty { grid-column: 1 / -1; display: grid; place-items: center; margin: 0; padding: 2rem;
  border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; height: 100%;
  border: 1px solid var(--line); cursor: pointer; background: var(--surface); }
.gallery-item.featured { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.06) contrast(1.03); transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.06); }
/* Verlauf für Lesbarkeit der Bildunterschrift */
.gallery-item::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,10,13,.88) 0%, rgba(8,10,13,.18) 40%, transparent 62%); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.1rem 1.2rem;
  color: var(--text-soft); font-size: .86rem; pointer-events: none; }
.gallery-item figcaption span { display: block; font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: 1.02rem; margin-bottom: .1rem; letter-spacing: -.01em; }
/* Zoom-Hinweis */
.gallery-item::before { content: "⤢"; position: absolute; top: .7rem; right: .8rem; z-index: 2;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: rgba(12,14,17,.6); border: 1px solid var(--line-strong); color: #fff; font-size: 1rem;
  opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; }
.gallery-item:hover::before { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4vw;
  background: rgba(6,7,9,.93); backdrop-filter: blur(6px); animation: fadeIn .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-strong); }
.lightbox-close { position: absolute; top: 1.1rem; right: 1.4rem; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-strong); color: #fff; font-size: 1.9rem; line-height: 1;
  cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* -------------------- 12) KONTAKT / TERMIN -------------------- */
.section-contact { background: radial-gradient(120% 80% at 15% 0%, #171b22 0%, var(--bg-950) 55%); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.booking-container { max-width: 960px; }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); margin-top: 1.4rem; box-shadow: var(--shadow-soft); }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg-950); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .8rem .9rem; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.field textarea { resize: vertical; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: .4rem 0 1.2rem; cursor: pointer; }
.consent input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.consent a { color: var(--accent-400); text-decoration: underline; }

.form-note { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }
.form-error { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: rgba(225,29,41,.12); border: 1px solid rgba(225,29,41,.45); color: #ff9aa0; font-weight: 600; }

/* -------------------- 12b) BUCHUNGS-ASSISTENT -------------------- */
.bk-step { padding-bottom: .4rem; }
.bk-step + .bk-step { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.bk-label { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800;
  font-size: 1.02rem; color: #fff; margin: 0 0 .9rem; }
.bk-label span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: .82rem; flex-shrink: 0; }
.bk-hint { font-size: .84rem; color: var(--muted); margin: .5rem 0 0; }
.bk-loading { font-size: .9rem; color: var(--muted); margin: .6rem 0; grid-column: 1 / -1; }

/* Monatskalender */
.bk-cal { background: var(--bg-950); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .9rem; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.bk-cal-head strong { font-family: var(--font-display); font-size: 1.02rem; }
.bk-cal-head button { width: 38px; height: 38px; border-radius: 9px; background: var(--surface-2);
  border: 1px solid var(--line-strong); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.bk-cal-head button:hover { border-color: var(--accent-400); color: var(--accent-400); }
.bk-dow, .bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-dow span { text-align: center; font-family: var(--font-tech); font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; padding-bottom: .3rem; }
.bk-day { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-soft); font-family: var(--font-body); font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s; }
.bk-day.empty { border: 0; background: none; pointer-events: none; }
.bk-day.has-free { border-color: rgba(225,29,41,.35); color: #fff; }
.bk-day.has-free:hover { background: rgba(225,29,41,.16); border-color: var(--accent); transform: translateY(-2px); }
.bk-day.no-free, .bk-day[disabled] { opacity: .32; cursor: not-allowed; }
.bk-day.is-sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.bk-legend { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); margin: .8rem 0 0; }
.bk-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.bk-legend i.free { background: rgba(225,29,41,.25); border: 1px solid var(--accent); }
.bk-legend i.none { background: var(--surface); border: 1px solid var(--line); opacity: .5; }

/* Uhrzeiten */
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.bk-slot { padding: .75rem .4rem; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s; }
.bk-slot:hover { border-color: var(--accent-400); transform: translateY(-2px); }
.bk-slot.is-sel { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Zusammenfassung */
.bk-summary { background: rgba(225,29,41,.08); border: 1px solid rgba(225,29,41,.3);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.2rem; }
.bk-summary strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.bk-summary span { font-size: .9rem; color: var(--text-soft); }

/* Honeypot: für Menschen unsichtbar, für Bots sichtbar */
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: rgba(46,160,67,.12); border: 1px solid rgba(46,160,67,.4); color: #8ff0a4; font-weight: 600; }

/* Kontaktinfos */
.contact-info { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.contact-info-title { font-size: 1.45rem; margin-bottom: 1.3rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(225,29,41,.1); border: 1px solid rgba(225,29,41,.22); color: var(--accent-400); }
.info-ic svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--font-display); color: #fff; font-size: .98rem; margin-bottom: .1rem; }
.info-list span, .info-list a { color: var(--text-soft); font-size: .95rem; }
.info-list a:hover { color: var(--accent-400); }

/* Google-Maps-Einbindung */
.map-embed { margin-top: 1.2rem; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-strong); line-height: 0; }
.map-embed iframe { display: block; width: 100%; height: 240px; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* -------------------- 13) FOOTER -------------------- */
.site-footer { background: var(--bg-900); border-top: 1px solid var(--line); padding-top: clamp(2.6rem, 6vw, 4rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.brand-footer { margin-bottom: 1rem; }
.footer-about { color: var(--muted); font-size: .93rem; max-width: 340px; }
.footer-col h3 { font-family: var(--font-tech); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--text); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .55rem; }
.footer-col li, .footer-col a { color: var(--muted); font-size: .93rem; }
.footer-col a:hover { color: var(--accent-400); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.3rem 0; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .86rem; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: var(--text-soft); font-size: .86rem; }
.footer-legal a:hover { color: var(--accent-400); }
.credit-link { color: var(--muted) !important; }
.credit-link:hover { color: var(--accent-400) !important; }

/* Admin-Login: bewusst dezent – für Kunden uninteressant, für den Inhaber schnell erreichbar */
.admin-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted) !important;
  border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; transition: border-color .2s ease, color .2s ease; }
.admin-link:hover { color: var(--accent-400) !important; border-color: rgba(225,29,41,.45); }
.admin-link svg { flex-shrink: 0; }

/* -------------------- 14) STICKY MOBILE-CTA -------------------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(12,14,17,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: .55rem .7rem; grid-template-columns: 1fr 1fr; gap: .55rem; padding-bottom: max(.55rem, env(safe-area-inset-bottom)); }
.mcta { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.mcta-call { background: var(--surface-2); color: #fff; border: 1px solid var(--line-strong); }
.mcta-book { background: var(--accent); color: #fff; }

/* -------------------- 15) ANIMATIONEN -------------------- */
.reveal { opacity: 0; transform: translateY(20px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .34s; }
.delay-4 { animation-delay: .46s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Scroll-Reveal (per JS aktiviert) */
.in-view-target { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.in-view-target.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .in-view-target { opacity: 1 !important; transform: none !important; }
}

/* -------------------- 15b) RECHTSSEITEN (Impressum/Datenschutz) -------------------- */
.legal { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)); padding-bottom: clamp(3rem, 7vw, 5rem); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .7rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal a { color: var(--accent-400); text-decoration: underline; }
.legal .lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 2rem; }
.legal .placeholder { background: rgba(225,29,41,.07); border: 1px dashed rgba(225,29,41,.4); border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; margin: 1.2rem 0; color: var(--text-soft); font-size: .95rem; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-tech);
  text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--accent-400); margin-bottom: 2rem; }

/* -------------------- 16) RESPONSIVE -------------------- */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .gallery-item.featured { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 1080px) {
  /* Mobile Navigation */
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(12,14,17,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.1rem, 4vw, 2.2rem) 1.4rem;
    transform: translateY(-140%); transition: transform .3s ease; z-index: 99;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .95rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .nav-cta { margin-top: .9rem; border-bottom: 0 !important; }
  .nav-toggle { display: flex; }

  .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid.reverse .service-media { order: 0; }
  .tuning-finder-head { align-items: flex-start; flex-direction: column; }

  .mobile-cta { display: grid; }
  body { padding-bottom: 4.4rem; }  /* Platz für Mobile-CTA */
}

@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.featured { grid-column: span 1; }
  .tuning-finder { padding: .75rem; }
  .tuning-finder-frame iframe { height: 820px; }
  .footer-bottom { justify-content: flex-start; }
}
