/* Fahrzeugtechnik Marcel Wagenlöhner – Grundstil
   Farben: Midnight Black #050606 · Silver Birch #C9C8C0 · Crimson Red #A31C18 */
/* Schriften lokal eingebunden (keine Verbindung zu Google, DSGVO) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }

:root {
  --schwarz: #050606;
  --silber: #C9C8C0;
  --rot: #A31C18;
  --rot-hell: #D23A33;
  --hell: #ECEAE3;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--schwarz); color: var(--silber); font-family: Inter, system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--hell); }
:focus-visible { outline: 2px solid var(--rot-hell); outline-offset: 3px; }
main { display: block; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--rot); color: #fff; padding: 12px 18px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Kopfzeile bleibt oben stehen */
.site-header { position: sticky; top: 0; z-index: 50; }
.nav-toggle { display: none; }

/* Filter-Chips auf der Leistungsseite */
.chip { background: transparent; color: var(--silber); border: 1px solid #353B3A; }
.chip[aria-pressed="true"] { background: var(--silber); color: var(--schwarz); border-color: var(--silber); }
.chip[aria-pressed="false"]:hover { border-color: var(--silber); }
.svc[hidden] { display: none !important; }

/* Karte im Kontaktbereich */
#karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 48px; height: 48px; padding: 0 12px; margin-left: auto;
    background: transparent; border: 1px solid #353B3A; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1px; background: var(--hell); transition: transform .3s ease, opacity .3s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { flex-wrap: wrap !important; }
  .site-header nav > a:first-child img { height: 48px !important; }
  .site-header .nav-links { display: none !important; flex-basis: 100%; flex-direction: column; gap: 0 !important; padding: 8px 0 12px; }
  .site-header .nav-links a { padding: 14px 0 !important; border-bottom: 1px solid #252A29 !important; font-size: 13px; }
  .site-header .nav-links a[aria-current="page"] { color: var(--hell); border-left: 2px solid var(--rot) !important; padding-left: 12px !important; }
  .site-header.offen .nav-links { display: flex !important; }
  .site-header .hcta { display: none !important; }
  .site-header.offen .hcta { display: inline-flex !important; flex-basis: 100%; justify-content: center; }

  /* große Abstände für kleine Bildschirme verringern */
  [style*="padding: 128px"], [style*="padding: 120px"], [style*="padding: 112px"], [style*="padding: 96px"] { padding-top: 72px !important; padding-bottom: 64px !important; }
  [style*="gap: 64px"], [style*="gap: 80px"], [style*="gap: 96px"] { gap: 40px !important; }
  [style*="padding: 48px"] { padding: 28px 22px !important; }
  [style*="min-height: 760px"] { min-height: 640px !important; }
}
@media (max-width: 600px) {
  /* Kopfzeile oben: nur Telefonnummern */
  .site-header > div:first-of-type > div > span:first-child { display: none; }
  .site-header > div:first-of-type > div { justify-content: center !important; }
  [style*="minmax(300px"], [style*="minmax(320px"], [style*="minmax(340px"], [style*="minmax(360px"], [style*="minmax(380px"], [style*="minmax(420px"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="border-left: 1px solid #252A29"] { border-left: 0 !important; }
  [style*="padding: 40px 24px"] { padding-left: 0 !important; border-top: 1px solid #252A29; }
  [style*="font-size: 52px"] { font-size: 42px !important; }
  [style*="padding: 26px 28px"] { padding: 22px !important; }
  h1[style*="clamp(52px"] { font-size: 46px !important; }
  /* Umzugsbalken auf dem Handy kurz halten */
  .umzug .umzug-text { display: none; }
  .umzug strong { letter-spacing: .1em !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ---- aus dem Entwurf ---- */
/* Header */

.hn{color:#C9C8C0;text-decoration:none}
.hn:hover{color:#ffffff}
.hcta:hover{background:#BC241F !important}
/* Footer */

.fl{color:#C9C8C0;text-decoration:none}
.fl:hover{color:#ffffff}
/* Bewertungen */

/* Main */

*{box-sizing:border-box}
a{color:#ECEAE3}
.lk{color:#ECEAE3;text-decoration:none;border-bottom:1px solid #A31C18;padding-bottom:6px}
.lk:hover{color:#ffffff}
.btn-wm:hover{background:#BC241F !important}
.btn-ol:hover{background:rgba(201,200,192,.08) !important}
.card:hover img{transform:scale(1.03)}
.card img{transition:transform .6s ease}
.path:hover{border-color:#A31C18 !important}
.kacheln{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
@media (max-width:1180px){.kacheln{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:48px}.kacheln>a{grid-column:span 2}.kacheln>a:nth-child(n+4){grid-column:span 3}.kacheln>a:nth-child(n+4)>div{aspect-ratio:16/10 !important}}
@media (max-width:640px){.kacheln{grid-template-columns:minmax(0,1fr)}.kacheln>a,.kacheln>a:nth-child(n+4){grid-column:auto}}
/* Leistungen */

*{box-sizing:border-box}
.chip:hover{border-color:#C9C8C0 !important}
.btn-wm:hover{background:#BC241F !important}
.btn-ol:hover{background:rgba(201,200,192,.08) !important}
.svc:hover{background:#111414}
/* MotoCar */

*{box-sizing:border-box}
.btn-wm:hover{background:#BC241F !important}
.btn-ol:hover{background:rgba(201,200,192,.08) !important}
/* UeberUns */

*{box-sizing:border-box}
.btn-wm:hover{background:#BC241F !important}
/* Kontakt */

*{box-sizing:border-box}
.btn-wm:hover{background:#BC241F !important}
.btn-ol:hover{background:rgba(201,200,192,.08) !important}
input:focus,select:focus,textarea:focus{outline:2px solid #A31C18;outline-offset:0}
/* Rechtliches */

*{box-sizing:border-box}
.toc{color:#C9C8C0;text-decoration:none}
.toc:hover{color:#ffffff}

/* ---------- Anbindung an das CMS (Formular, Spamschutz, Verwaltung) ---------- */
.anfrage .feld { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9FA8A3; }
.anfrage .feld input, .anfrage .feld textarea, .anfrage .feld select {
  background: transparent; border: 0; border-bottom: 1px solid #353B3A; color: #ECEAE3;
  font: 400 16px Inter, sans-serif; letter-spacing: normal; text-transform: none; border-radius: 0;
}
.anfrage .feld input { height: 50px; padding: 0 2px; }
.anfrage .feld select { height: 50px; padding: 0; background: #111414; }
.anfrage .feld textarea { padding: 10px 2px; line-height: 1.6; resize: vertical; }
.anfrage .feld input:focus, .anfrage .feld textarea:focus, .anfrage .feld select:focus { outline: 2px solid #A31C18; outline-offset: 2px; }
.anfrage .feld-fehler { color: #E5615B; font-size: 12.5px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.honigtopf { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aufgabe { grid-column: 1 / -1; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.aufgabe.is-offen { opacity: 1; transform: none; }
.aufgabe__kasten { border-left: 2px solid #A31C18; background: #0D0F0F; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.aufgabe__marke { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #9FA8A3; }
.aufgabe__frage { margin: 0; font-size: 18px; color: #ECEAE3; }
.aufgabe__eingabe { height: 46px; max-width: 160px; background: transparent; border: 0; border-bottom: 1px solid #353B3A; color: #ECEAE3; font: 400 18px Inter, sans-serif; }
.aufgabe__hinweis { margin: 0; font-size: 13px; color: #9FA8A3; }
.aufgabe__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.schalter { background: #A31C18; color: #F3F1EA; border: 1px solid #A31C18; font: 700 11.5px Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; padding: 14px 22px; min-height: 46px; cursor: pointer; }
.schalter--rand { background: transparent; border-color: #C9C8C0; color: #ECEAE3; }
.bearbeitenleiste { position: fixed; left: 16px; bottom: 16px; z-index: 9999; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; background: #ECEAE3; color: #050606; font: 600 12.5px Inter, sans-serif; padding: 10px 16px; box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.bearbeitenleiste a { color: #A31C18; }
/* GSAP-Animationen: Inhalt bis zum Start der Animation kurz zurückhalten (max. 2,5 s) */
.anim:not(.anim-bereit) #inhalt { opacity: 0; }
