/* ─── AVENIR (lokal eingebunden) ─── */
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir/Avenir Light/Avenir Light.ttf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir/Avenir Book/Avenir Book.ttf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir/Avenir Regular/Avenir Regular.ttf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir/Avenir Heavy/Avenir Heavy.ttf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir/Avenir Black/Avenir Black.ttf') format('opentype');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ─── JOST (Futura-Interpretation, SIL OFL, lokal eingebunden) ─────────────
   Variabler Schnitt 100–900, TrueType-Outlines und damit gehintet.
   Avenir liegt als OpenType/CFF ohne Hinting vor — daher lief der Kleintext
   in Versalien oben und unten aus. Jost übernimmt alles Nicht-Fette.        */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost/Jost-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost/Jost-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===========================
   WELKLOHS v3 — style.css  ·  Clean · Light/Dark
   =========================== */

:root {
  /* Zwei Rollen, zwei Variablen — umschaltbar in preview.html:
     --font-display  nur Display: Headlines, Logo, Kennzahlen
     --font-text     alles Uebrige: Text, Nav, Buttons, Labels, Formular            */
  --font-display: 'Avenir', 'Jost', sans-serif;
  --font-text:    'Jost', 'Avenir', sans-serif;

  --font: var(--font-text);
  --font-body: var(--font-text);

  /* Button-Form: eine Stelle, ein Wert (Vorschläge in preview.html) */
  --btn-radius: 8px;
  --radius: 6px;

  --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-w: 1200px;
  --pad: clamp(24px, 5vw, 80px);
  /* Luft über/unter jeder Sektion: 60px am Handy, 80px am großen Bildschirm */
  --sec-pad: clamp(60px, 6vw, 80px);

  /* Fließtext wächst mit dem Bildschirm, Überschriften bleiben wie sie sind.
     --fs-text  Absätze, Hinweise, Kontaktwerte   16 → 18px
     --fs-small Kartentexte, Details              15 → 16px */
  --fs-text:  clamp(1rem, 0.94rem + 0.25vw, 1.125rem);
  --fs-small: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);

  /* Markenfarben WELKLOHS (im Live-Stand nur für Fokus/Link genutzt,
     Farbansichten siehe preview.html) */
  --wk-blue: #0075FF;
  --wk-blue-mid: #2340FF;
  --wk-violet: #2A0098;
}

/* LIGHT (Standard) */
:root, [data-theme="light"] {
  --black:  #ffffff;   /* Seiten-Hintergrund */
  --dark:   #f5f5f5;   /* Footer / sekundär  */
  --panel:  #f0f0f0;   /* Panels / Karten    */
  --border: #d6d6d6;   /* Linien             */
  --steel:  #c4c4c4;
  --muted:  #6a6a6a;   /* gedämpfter Text    */
  --light:  #444444;   /* Sekundärtext       */
  --white:  #0a0a0a;   /* Primärtext         */
  --accent: #0a0a0a;   /* monochrom = Text   */
  --wa:     #0a0a0a;
  --navbg:  rgba(255,255,255,0.85);
  color-scheme: light;   /* native Auswahllisten passend zum Theme */
}

/* DARK */
html[data-theme="dark"] {
  --black:  #0a0a0a;
  --dark:   #131313;
  --panel:  #181818;
  --border: #2b2b2b;
  --steel:  #333333;
  --muted:  #8a8a8a;
  --light:  #aaaaaa;
  --white:  #f4f4f4;
  --accent: #f4f4f4;
  --wa:     #f4f4f4;
  --navbg:  rgba(10,10,10,0.9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100vw; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

/* Fokus sichtbar (Tastatur) */
:focus-visible { outline: 2px solid var(--wk-blue); outline-offset: 3px; }

/* ─── ICONS (Ersatz für Emojis) ─── */
.ico {
  width: 22px; height: 22px; flex-shrink: 0;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ico--sm { width: 16px; height: 16px; }
.ico--fill { fill: currentColor; stroke: none; }

/* ─── SECTION LABEL ─── */
.section-label {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  border-radius: var(--btn-radius);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { background: var(--black); color: var(--white); transform: translateY(-1px); }

.btn--nav { padding: 10px 20px; font-size: 0.8125rem; }

.btn--wa, .btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn--wa:hover, .btn--outline:hover { background: var(--panel); color: var(--white); border-color: var(--white); }

.btn--full { width: 100%; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(600px, calc(100vw - 32px));
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}
.cookie-consented .cookie-banner { display: none; }
.cookie-banner p { font-size: 0.8125rem; color: var(--light); line-height: 1.6; flex: 1; }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-banner__inner { display: flex; align-items: center; gap: 20px; width: 100%; flex-wrap: wrap; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie {
  padding: 8px 18px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-cookie--reject { background: transparent; border: 1px solid var(--border); color: var(--light); }
.btn-cookie--reject:hover { border-color: var(--white); color: var(--white); }
.btn-cookie--accept { background: var(--white); color: var(--black); border: 1px solid var(--white); }
.btn-cookie--accept:hover { background: var(--black); color: var(--white); }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px var(--pad);
  background: var(--navbg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding var(--transition);
}
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav__line { display: none; }

/* Abstände in em, damit Signet und Wortmarke bei jeder Größe als ein Block
   zusammenhalten. font-size ist hier nur noch die Maßeinheit fürs Logo. */
.nav__logo {
  display: inline-flex; align-items: center; gap: 0.28em;
  font-size: 1.5rem;
  line-height: 1;
  margin-right: auto;
}
/* Blüte hat im viewBox etwas Luft links/rechts — leicht an die Schrift ziehen */
.nav__logo .logo-mark { height: 1.4em; margin-right: -0.06em; }
/* Wortmarke wie im Logo: WELKLOHS (Avenir Heavy) und Fahrzeugtechnik
   (Avenir Light) nebeneinander — als Vektorpfad, nicht als Schrift.
   Avenir liegt nur lückenhaft gehintet vor; als Text sprangen die Buchstaben
   bei 100 % Zoom ungleichmäßig aufs Pixelraster. Pfade erzeugt aus den
   Schriftdateien (Sperrung 0.035em / 0.01em, Abstand 0.28em, mit Kerning).
   Höhe 1.188em = viewBox-Höhe / 1000; die Versalien liegen darin mittig. */
.logo-word { height: 1.188em; width: auto; flex-shrink: 0; display: block; }

/* Lotus-Signet — nimmt die Textfarbe an, funktioniert hell wie dunkel */
.logo-mark { height: 1.15em; width: auto; flex-shrink: 0; display: block; }

.nav__links { list-style: none; display: flex; gap: 32px; }
.nav__links a {
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: all var(--transition); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
body.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 24px 0; }
.mobile-menu ul li a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--muted); }
.mobile-menu { flex-direction: column; }
.mobile-menu__cta { margin-top: 16px; }

/* ─── THEME-TOGGLE ─── */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--border); background: var(--panel); color: var(--white);
  padding: 8px 14px; border-radius: 30px; font-family: var(--font);
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
  transition: all var(--transition); margin-left: 8px;
}
.theme-toggle:hover { border-color: var(--white); }
.theme-toggle .ic { width: 17px; height: 17px; display: block; }
.theme-toggle .cut { fill: var(--panel); }
.theme-toggle .ic-sun, .theme-toggle .lbl-hell { display: none; }
.theme-toggle .ic-moon { display: block; }
.theme-toggle .lbl-dunkel { display: inline; }
html[data-theme="dark"] .theme-toggle .ic-moon, html[data-theme="dark"] .theme-toggle .lbl-dunkel { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
html[data-theme="dark"] .theme-toggle .lbl-hell { display: inline; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  color: #f4f4f4;
}
.hero__bg { position: absolute; inset: 0; }
.hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.4) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 820px; width: 100%; }
.hero__title {
  font-size: clamp(2.4rem, 12vw, 14rem);
  line-height: 0.9;
  margin-bottom: 28px;
  max-width: 100%;
  white-space: nowrap;
}
.hero__sub { font-size: clamp(1.0625rem, 1.6vw, 1.375rem); color: #f4f4f4; margin-bottom: 12px; line-height: 1.5; }
.hero__tags {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.65);
  margin-bottom: 40px;
}
.hero__sep {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; overflow: hidden; text-indent: 100%; white-space: nowrap;
  vertical-align: 0.25em; margin: 0 0.35em 0 0.15em;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero .btn { background: #f4f4f4; color: #0a0a0a; border-color: #f4f4f4; }
.hero .btn:hover { background: transparent; color: #f4f4f4; }
.hero .btn--wa, .hero .btn--outline { background: transparent; color: #f4f4f4; border-color: rgba(255,255,255,0.2); }
.hero .btn--wa:hover, .hero .btn--outline:hover { background: rgba(255,255,255,0.08); border-color: #f4f4f4; }

/* ─── INTRO ─── */
.intro { border-top: 1px solid var(--border); padding: var(--sec-pad) var(--pad); }
.intro__inner { max-width: var(--max-w); margin: 0 auto; }
.intro__grid { display: grid; grid-template-columns: 1fr; gap: 80px; align-items: start; }
.intro__text { max-width: 800px; }
.intro__text h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 24px; }
.intro__text p { color: var(--light); font-size: var(--fs-text); margin-bottom: 14px; line-height: 1.75; }
.intro__text strong { color: var(--white); }
.intro__text a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.intro__stats { display: flex; flex-direction: column; gap: 2px; }
.stat { background: var(--panel); border: 1px solid var(--border); padding: 28px 32px; }
.stat:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.stat:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.375rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ─── LEISTUNGEN ─── */
.leistungen {
  border-top: 1px solid var(--border);
  padding: var(--sec-pad) var(--pad);
  background: var(--panel);
}
.leistungen__inner { max-width: var(--max-w); margin: 0 auto; }
.leistungen__inner > h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 36px; }
.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.leistung-card {
  container-type: inline-size;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition);
}
.leistung-card:hover { border-color: var(--white); }
.leistung-card__icon { display: block; color: var(--white); margin-bottom: 16px; }
.leistung-card__icon .ico { width: 28px; height: 28px; }
.leistung-card h3 {
  font-size: 1.375rem;
  font-size: min(1.375rem, 9cqi); /* lange Wörter wie „Individualisierung“ passen auch in schmale Kacheln */
  margin-bottom: 12px;
}
.leistung-card p { font-size: var(--fs-small); color: var(--light); line-height: 1.65; }

.leistungen__anfrage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--black);
}
.leistungen__anfrage p { color: var(--light); font-size: var(--fs-text); margin: 0; }
.leistungen__anfrage .btn { flex-shrink: 0; }

/* ─── TERMIN ─── */
.termin { border-top: 1px solid var(--border); padding: var(--sec-pad) var(--pad); }
.termin__inner { max-width: var(--max-w); margin: 0 auto; }
.termin__grid { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }
.termin__info h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 20px; }
.termin__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--white);
  font-size: 0.8125rem;
  font-family: var(--font-text);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  margin-bottom: 24px;
}
.termin__info > p { color: var(--light); font-size: var(--fs-text); margin-bottom: 12px; }

/* Pfeil zu „Kontakt“ — ersetzt die doppelten Kontakt-Buttons */
.termin__to-kontakt {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-top: 8px;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--white);
  transition: border-color var(--transition), transform var(--transition);
}
.termin__to-kontakt .ico { width: 26px; height: 26px; }
.termin__to-kontakt:hover { border-color: var(--white); transform: translateY(4px); }

/* Kalender-Box */
.termin__form { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.termin__cal { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; overflow: hidden; }

/* ---- Kalender Widget ---- */
.cal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cal__arrow {
  background: none; border: 1px solid var(--border); border-radius: var(--btn-radius); color: var(--white);
  width: 36px; height: 36px; font-size: 1.1875rem; cursor: pointer; transition: border-color .2s;
}
.cal__arrow:hover { border-color: var(--wk-blue); color: var(--wk-blue); }
.cal__title { font-size: 0.9375rem; font-family: var(--font-text); font-weight: 700; letter-spacing: 0.06em; min-width: 160px; text-align: center; }

.cal__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.cal__weekdays span { text-align: center; font-size: 0.6875rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); padding: 6px 0; }

.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 20px; }
.cal__day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-family: var(--font-text); font-weight: 700; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--panel); color: var(--white); cursor: default; transition: all .15s;
}
.cal__day--empty { border: none; background: transparent; }
.cal__day--past  { opacity: 0.2; }
.cal__day--off   { opacity: 0.12; }
.cal__day--full  { opacity: 0.3; color: var(--muted); }

/* Freie Tage liegen neutral da. Farbe kommt erst beim Anfassen — und
   jeder Wochentag hat seine eigene aus dem Spektrum des Logos.
   --hov setzt calendar.js pro Kachel. */
.cal__day--free { cursor: pointer; background: var(--black); }
.cal__day--free:hover {
  border-color: var(--hov, var(--wk-blue));
  color: var(--hov, var(--wk-blue));
}

/* Heute: gestrichelt, damit es nicht mit der Auswahl verwechselt wird */
.cal__day--today { border-style: dashed; border-color: var(--steel); }

/* Auswahl: kraeftigere Umrandung, keine Fuellung */
.cal__day--sel, .cal__day--free.cal__day--sel {
  border-color: var(--hov, var(--wk-blue));
  border-style: solid;
  box-shadow: inset 0 0 0 2px var(--hov, var(--wk-blue));
  color: var(--hov, var(--wk-blue));
  background: var(--black);
}
.cal__loading, .cal__error { text-align: center; color: var(--muted); font-size: 0.875rem; padding: 40px 0; grid-column: 1 / -1; }

/* Uhrzeit: natives Auswahlfeld (iPhone: Drehrad), Farbe des gewählten Tages */
.cal__time { margin-bottom: 24px; }
.cal__time select { font-weight: 700; }
.cal__time select:hover { border-color: var(--hov, var(--wk-blue)); }
.cal__time select.is-set, .cal__time select.is-set:focus {
  border-color: var(--hov, var(--wk-blue));
  box-shadow: inset 0 0 0 1px var(--hov, var(--wk-blue));
  color: var(--hov, var(--wk-blue));
}

.cal__form-label { font-size: 0.875rem; font-family: var(--font-text); font-weight: 700; margin-bottom: 20px; color: var(--white); }
.cal__msg { margin-top: 12px; font-size: 0.875rem; }
.cal__msg--err { color: #d23b3b; }

.cal__ok { text-align: center; padding: 40px 20px; }
.cal__ok-icon { display: block; margin: 0 auto 12px; width: 44px; height: 44px; color: var(--wk-blue); }
.cal__ok-icon svg { width: 100%; height: 100%; }
.cal__ok-title { font-size: 1.125rem; font-family: var(--font-text); font-weight: 700; margin-bottom: 8px; }
.cal__ok p { color: var(--muted); font-size: var(--fs-small); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition);
  border-radius: var(--radius);
  appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--white); }
.form-group textarea { min-height: 100px; resize: vertical; }
/* Pfeil nach unten aus zwei Verläufen — nimmt die Textfarbe an, hell wie dunkel */
.form-group select {
  cursor: pointer;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 20px center, right 15px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.form-group--check { margin-bottom: 14px; position: relative; z-index: 1; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  font-size: 0.8125rem; color: var(--light); line-height: 1.6;
  position: relative; z-index: 1; padding: 6px 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}
.checkbox-label input[type="checkbox"] {
  -webkit-appearance: auto; appearance: auto;
  width: 22px; height: 22px; min-width: 22px; margin: 0;
  accent-color: var(--white); cursor: pointer;
  position: relative; z-index: 2; flex-shrink: 0;
}
.checkbox-label a { color: var(--white); text-decoration: underline; }
.form-hint { margin-top: 12px; font-size: 0.75rem; color: var(--muted); text-align: center; }

/* ─── KONTAKT SECTION ─── */
.kontakt-section { border-top: 1px solid var(--border); padding: var(--sec-pad) var(--pad); background: var(--panel); }
.kontakt-section__inner { max-width: var(--max-w); margin: 0 auto; }
.kontakt-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 32px; }
.kontakt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 40px; }
.kontakt-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  transition: border-color var(--transition), color var(--transition);
}
.kontakt-card__icon { grid-row: 1 / 3; color: var(--white); display: flex; transition: color var(--transition); }
.kontakt-card__icon .ico { width: 24px; height: 24px; }

/* Akzent nur ueber die Umrandung. Telefon und Mail nehmen zwei Blautoene
   aus dem Logo, WhatsApp sein eigenes Gruen. */
.kontakt-card, .social__link { --mark: var(--white); }
.kontakt-card--tel  { --mark: #2E8FFF; }
.kontakt-card--mail { --mark: var(--wk-blue); }
.kontakt-card--wa   { --mark: #25D366; }
.kontakt-card:hover { border-color: var(--mark); }
.kontakt-card:hover .kontakt-card__icon { color: var(--mark); }
.kontakt-card:hover .kontakt-card__value { color: var(--white); }
.kontakt-card__label { font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.kontakt-card__value { font-size: var(--fs-text); color: var(--light); }

/* Social */
.social {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.social__label { font-family: var(--font-text); font-size: var(--fs-text); font-weight: 700; letter-spacing: 0.03em; color: var(--white); margin: 0; }
.social__links { display: flex; gap: 10px; flex-wrap: wrap; }
.social__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--light);
  transition: border-color var(--transition), color var(--transition);
}
.social__link--ig { --mark: #DD2A7B; }
.social__link--yt { --mark: #FF0000; }
.social__link:hover { border-color: var(--mark); color: var(--white); }
.social__link svg { transition: fill var(--transition); }
.social__link--yt:hover svg { fill: var(--mark); }
.social__link--ig:hover svg { fill: url(#ig-grad); }

/* ─── AUFLEUCHTEN ───
   Ab und zu leuchtet ein zufälliges klickbares Element in seiner Akzentfarbe
   auf — höchstens 3× pro Minute, nur was gerade ganz im Bild ist (main.js).
   Akzent: WhatsApp grün, Telefon/Mail/Social wie beim Hover, Kalendertage in
   ihrer Wochentagsfarbe, alles andere im Logo-Blau.
   Die Keyframes setzen nur die Mitte (30–70 %); Anfang und Ende nimmt der
   Browser vom jeweiligen Element — passt so für hell, dunkel und Hero. */
.nav__links a, .btn, .theme-toggle, .termin__to-kontakt, .cal__arrow,
.intro__text a, .footer__nav a, .footer__legal a { --mark: var(--wk-blue); }
.btn--wa { --mark: #25D366; }
.cal__day--free, .cal__time select { --mark: var(--hov, var(--wk-blue)); }

@keyframes glow-line { 30%, 70% { border-color: var(--mark); color: var(--mark); } }
@keyframes glow-fill { 30%, 70% { border-color: var(--mark); box-shadow: 0 0 0 1px var(--mark), 0 0 22px -4px var(--mark); } }
@keyframes glow-text { 30%, 70% { color: var(--mark); } }
@keyframes glow-edge { 30%, 70% { border-color: var(--mark); } }

.is-glowing { animation: glow-line 3s ease-in-out; }
.btn.is-glowing:not(.btn--wa):not(.btn--outline) { animation-name: glow-fill; }
:is(.nav__links a, .intro__text a, .footer__nav a, .footer__legal a).is-glowing { animation-name: glow-text; }
.kontakt-card.is-glowing { animation-name: glow-edge; }
.kontakt-card.is-glowing .kontakt-card__icon { animation: glow-text 3s ease-in-out; }

/* Social-Buttons wie beim Hover: Rand in Akzentfarbe, Text hell, Logo farbig */
@keyframes social-glow {
  0%, 100% { border-color: var(--border); color: var(--light); }
  30%, 70% { border-color: var(--mark);   color: var(--white); }
}
@keyframes social-glow-yt { 0%, 100% { fill: currentColor; } 30%, 70% { fill: var(--mark); } }
@keyframes social-glow-ig { 0%, 100% { fill: currentColor; } 30%, 70% { fill: url(#ig-grad); } }
.social__link.is-glowing { animation: social-glow 3s ease-in-out; }
.social__link--yt.is-glowing svg { animation: social-glow-yt 3s ease-in-out; }
.social__link--ig.is-glowing svg { animation: social-glow-ig 3s ease-in-out; }

/* ─── STANDORT ─── */
.standort { border-top: 1px solid var(--border); padding: var(--sec-pad) var(--pad); }
.standort__inner { max-width: var(--max-w); margin: 0 auto; }
.standort__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.standort__info h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 32px; }
.standort__details { display: flex; flex-direction: column; gap: 24px; }
.standort__item { display: flex; gap: 16px; align-items: flex-start; }
.standort__icon { flex-shrink: 0; margin-top: 1px; color: var(--white); }
.standort__item strong { display: block; font-family: var(--font-text); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.03em; margin-bottom: 4px; }
.standort__item p { font-size: var(--fs-small); color: var(--light); line-height: 1.65; }
.standort__map { position: relative; height: 480px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.standort__map iframe { display: block; }
[data-theme="dark"] .standort__map iframe { filter: grayscale(80%) invert(90%) contrast(90%); }

/* Platzhalter, bis die Karte geladen werden darf */
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px; text-align: center;
  background: var(--panel);
}
.map-consent__icon { color: var(--white); }
.map-consent__icon .ico { width: 32px; height: 32px; }
.map-consent p { max-width: 340px; font-size: var(--fs-small); color: var(--light); line-height: 1.6; }
.map-consent a { font-size: 0.8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.map-consent a:hover { color: var(--white); }
.standort__map.is-loaded .map-consent { display: none; }

/* ─── FOOTER ─── */
.footer { border-top: 1px solid var(--border); background: var(--dark); }
.footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto 1fr;
  /* Copyright links unten, auf einer Linie mit den letzten Links */
  grid-template-areas: "brand nav legal" "copy nav legal";
  gap: 24px 60px;
  align-items: start;
}
.footer__brand { grid-area: brand; }
.footer__nav   { grid-area: nav; }
.footer__legal { grid-area: legal; }
.footer__copy  { grid-area: copy; align-self: end; font-size: 0.8125rem; color: var(--muted); }
.footer__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.375rem; letter-spacing: 0.1em;
}
/* Originallogo (aus og-image.png zugeschnitten). Im Dunkel-Modus komplett
   weiß (#f5f5f5): erst alles schwarz, dann invertieren — Transparenz bleibt. */
.footer__logo-img { display: block; height: 56px; width: auto; }
html[data-theme="dark"] .footer__logo-img { filter: brightness(0) invert(0.96); }
.footer__nav, .footer__legal { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a, .footer__legal a, .footer__cookie {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__cookie {
  background: none; border: none; padding: 0; cursor: pointer; text-align: left;
  font-family: var(--font); line-height: inherit;
}
.footer__nav a:hover, .footer__legal a:hover, .footer__cookie:hover { color: var(--white); }

/* ─── SUBPAGES ─── */
.page-wrap { min-height: 100vh; padding: 130px var(--pad) 100px; max-width: 820px; margin: 0 auto; }
.page-wrap h1 { font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 60px; }
.page-wrap h2 { font-family: var(--font-display); font-size: 1.3125rem; letter-spacing: 0.03em; margin: 48px 0 14px; color: var(--white); }
.page-wrap [id] { scroll-margin-top: 100px; } /* Sprungziele nicht unter der festen Navigation */
.page-wrap p, .page-wrap li { color: var(--light); font-size: var(--fs-small); line-height: 1.8; margin-bottom: 10px; }
.page-wrap ul { list-style: none; padding: 0; }
.page-wrap ul li { padding-left: 16px; position: relative; }
.page-wrap ul li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.page-wrap a { color: var(--white); text-decoration: underline; }
.page-back {
  display: inline-block;
  margin-top: 60px;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.page-back:hover { color: var(--white); }

/* ─── RESPONSIVE ─── */
/* Mit „Fahrzeugtechnik“ im Logo braucht die volle Navigation ~1080px */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__burger { display: flex; flex: 0 0 auto; }
  .nav { gap: 14px; }
  .theme-toggle { margin-left: 0; }
}

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; gap: 48px; }
  .termin__grid { grid-template-columns: 1fr; gap: 48px; }
  .kontakt-cards { grid-template-columns: 1fr; }
  .leistungen__anfrage { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; }
  .social { flex-direction: column; align-items: flex-start; gap: 14px; }
  .standort__grid { grid-template-columns: 1fr; }
  .standort__map { height: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "brand" "nav" "legal" "copy"; gap: 32px; }
}

@media (max-width: 600px) {
  /* Wortmarke skaliert mit, Hell/Dunkel nur als Icon — damit alles in eine Zeile passt */
  .nav { gap: 10px; }
  .nav__logo { font-size: min(1.5rem, 4.3vw); }
  .theme-toggle { padding: 8px; }
  html[data-theme] .theme-toggle .lbl { display: none; }

  .termin__form { padding: 24px; }
  .termin__cal { padding: 20px; }
  .cal__day { font-size: 0.8125rem; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .hero__actions { flex-direction: column; }

  .btn { white-space: normal; text-align: center; max-width: 100%; padding: 14px 24px; font-size: 0.9375rem; }
  .hero__actions .btn { width: 100%; }
  .leistungen__anfrage .btn--outline { width: 100%; }
}

@media (max-width: 380px) {
  .nav { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
