/* ============================================================
   Elektromotoreninstandsetzung Guben GmbH
   Aesthetik: Industrie-Präzision / Blueprint
   Schiefer #303E46 · Rot #E31E24 · Papier #F4F1EA
   Typo: Archivo (Display) · IBM Plex Sans (Text) · IBM Plex Mono (Technik)
   ============================================================ */

:root {
  --slate:      #303e46;   /* Markenfarbe */
  --slate-950:  #131a1f;
  --slate-900:  #1a232a;
  --slate-850:  #1f2932;
  --slate-800:  #25313a;
  --slate-700:  #3a4a54;
  --slate-600:  #51646f;

  --red:        #e31e24;   /* Markenakzent */
  --red-600:    #c4161c;
  --red-300:    #ff5a5f;

  --paper:      #f4f1ea;
  --paper-2:    #ebe6db;
  --paper-3:    #ddd6c7;
  --ink:        #1a232a;
  --ink-soft:   #44525c;

  --line-dark:  rgba(244, 241, 234, 0.10);
  --line-light: rgba(48, 62, 70, 0.12);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --grid-dark: linear-gradient(var(--line-dark) 1px, transparent 1px),
               linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 1.075rem;          /* großzügig für gute Lesbarkeit */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

[data-mono] { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.02em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: break-word; }

.accent { color: var(--red); }

::selection { background: var(--red); color: #fff; }

/* Fokus-Sichtbarkeit (wichtig für ältere Nutzer/Tastatur) */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--red); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: var(--radius); font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1100;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-300));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
  padding: 0.95rem 1.6rem; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
  text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 22px -8px rgba(227,30,36,0.7); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(227,30,36,0.8); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(244,241,234,0.08); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; padding-block: 1.1rem; font-size: 1.1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(19, 26, 31, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 0.85rem; margin-right: auto; }
.brand-logo { height: 38px; width: auto; }
.brand-sub {
  font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.15;
  letter-spacing: 0.04em; text-transform: uppercase; color: rgba(244,241,234,0.55);
  max-width: 12ch; padding-left: 0.85rem; border-left: 1px solid var(--line-dark);
}
.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  font-weight: 500; font-size: 1rem; color: rgba(244,241,234,0.82);
  position: relative; padding-block: 0.25rem; transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width 0.28s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.btn-phone {
  background: rgba(244,241,234,0.06); border: 1px solid var(--line-dark);
  color: var(--paper); padding: 0.6rem 1rem; font-size: 0.92rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s;
}
.btn-phone svg { color: var(--red-300); }
.btn-phone:hover { background: var(--red); border-color: var(--red); }
.btn-phone:hover svg { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--paper); transition: 0.3s var(--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); }

.mobile-nav { display: none; flex-direction: column; background: var(--slate-950); border-bottom: 1px solid var(--line-dark); padding: 0.5rem 1.5rem 1.25rem; }
.mobile-nav a { color: var(--paper); padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
.mobile-nav .mobile-phone { color: var(--red-300); font-weight: 600; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--slate-950);
  color: var(--paper);
  padding-block: clamp(4rem, 11vh, 8rem) clamp(3.5rem, 8vh, 6rem);
  min-height: min(92vh, 880px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero::before { /* Blueprint-Raster */
  content: ""; position: absolute; inset: 0;
  background-image: var(--grid-dark); background-size: 44px 44px;
  mask-image: radial-gradient(120% 100% at 20% 30%, #000 30%, transparent 75%);
  opacity: 0.6; pointer-events: none;
}
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: min(62%, 920px);
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--slate-950) 6%, rgba(19,26,31,0.55) 38%, rgba(19,26,31,0.25) 100%),
    linear-gradient(0deg, var(--slate-950) 2%, transparent 30%);
}

.rotor-ring {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: clamp(420px, 48vw, 720px); aspect-ratio: 1; z-index: 1;
  opacity: 0.6; pointer-events: none; mix-blend-mode: screen;
}
.ring-track { fill: none; stroke: rgba(244,241,234,0.16); stroke-width: 1; }
.ring-ticks { fill: none; stroke: rgba(244,241,234,0.5); stroke-width: 3; stroke-dasharray: 2 18; }
.ring-ticks-fine { fill: none; stroke: var(--red-300); stroke-width: 2; stroke-dasharray: 1.5 10; opacity: 0.7; }
.ring-spin { transform-origin: 300px 300px; animation: spin 60s linear infinite; }
.ring-spin-rev { transform-origin: 300px 300px; animation: spin 42s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(244,241,234,0.7);
  padding: 0.5rem 0.9rem; border: 1px solid var(--line-dark); border-radius: 100px;
  background: rgba(244,241,234,0.03); margin-bottom: 1.6rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,30,36,0.6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227,30,36,0.55);} 70%{ box-shadow: 0 0 0 9px rgba(227,30,36,0);} 100%{ box-shadow:0 0 0 0 rgba(227,30,36,0);} }

.hero-title { font-size: clamp(2.5rem, 6.5vw, 5rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero-lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); max-width: 38ch; color: rgba(244,241,234,0.86); margin-bottom: 2.2rem; }
.hero-lead strong { color: #fff; font-weight: 600; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-dark); padding-top: 1.6rem; }
.hero-stats .stat dt { font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(244,241,234,0.55); margin-bottom: 0.35rem; }
.hero-stats .stat dd { display: flex; align-items: baseline; gap: 0.4rem; font-family: var(--font-display); }
.hero-stats .num { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #fff; }
.hero-stats .unit { font-size: 1rem; font-weight: 600; color: var(--red-300); font-family: var(--font-mono); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  z-index: 3; display: inline-flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(244,241,234,0.5);
}
.scroll-cue svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }

/* ============================================================
   GEMEINSAME SECTION-ELEMENTE
   ============================================================ */
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--red); margin-bottom: 1.1rem;
}
.section-tag.light { color: var(--red-300); }
.tag-idx {
  font-size: 0.72rem; padding: 0.2rem 0.5rem; border: 1px solid currentColor;
  border-radius: 3px; opacity: 0.8;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.section-intro { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Intro / Leitbild ---------- */
.intro { padding-block: clamp(4rem, 9vw, 7rem); background: var(--paper); position: relative; }
.intro::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.4;
  mask-image: radial-gradient(100% 80% at 80% 0%, #000, transparent 70%); pointer-events: none;
}
.intro-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 1.4rem; }
.intro-text .lead { font-size: 1.2rem; color: var(--ink); margin-bottom: 1.2rem; }
.intro-text p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.intro-marks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.intro-marks li {
  font-size: 0.82rem; padding: 0.45rem 0.85rem; background: var(--slate); color: var(--paper);
  border-radius: 100px; letter-spacing: 0.01em;
}
.intro-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(26,35,42,0.55); }
.intro-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-figure figcaption, .ws-figure figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; color: var(--paper); padding: 1.4rem 1.1rem 0.9rem;
  background: linear-gradient(0deg, rgba(19,26,31,0.85), transparent);
}
.cap-tick { width: 10px; height: 10px; border: 2px solid var(--red); border-radius: 50%; flex: none; }

/* ---------- Leistungen ---------- */
.services { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--slate-900); color: var(--paper); position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; background-image: var(--grid-dark); background-size: 50px 50px; opacity: 0.5; pointer-events: none;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 80%);
}
.services .section-head h2 { color: #fff; }
.services .section-intro { color: rgba(244,241,234,0.7); }
.service-grid {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden;
}
.service-card {
  background: var(--slate-900); padding: 2rem 1.6rem 2.2rem;
  display: flex; flex-direction: column; position: relative;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--red); transition: width 0.4s var(--ease);
}
.service-card:hover { background: var(--slate-850); }
.service-card:hover::after { width: 100%; }
.svc-idx { font-size: 0.78rem; color: var(--red-300); margin-bottom: 1.4rem; letter-spacing: 0.05em; }
.svc-idx i { color: rgba(244,241,234,0.4); font-style: normal; }
.svc-icon { width: 48px; height: 48px; margin-bottom: 1.1rem; color: var(--paper); }
.svc-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .svc-icon { color: var(--red-300); }
.service-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.6rem; color: #fff; }
.service-card p { font-size: 0.96rem; color: rgba(244,241,234,0.72); line-height: 1.55; }
.service-note { background: var(--slate-850); }
.service-note .svc-icon { color: var(--red-300); }

/* ---------- Werkstatt ---------- */
.workshop { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--paper-2); position: relative; }
.workshop-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; }
.ws-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(26,35,42,0.5); }
.ws-figure img { width: 100%; height: 100%; object-fit: cover; }
.ws-tall { grid-row: span 1; }
.ws-figure.ws-tall img { aspect-ratio: 16 / 11; }
.ws-figure:not(.ws-tall) img { aspect-ratio: 4 / 5; }
.workshop-grid { grid-template-rows: auto; }

/* ---------- Qualität ---------- */
.quality { position: relative; color: var(--paper); overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); background: var(--slate-950); }
.quality-media { position: absolute; inset: 0; z-index: 0; }
.quality-media img { width: 100%; height: 100%; object-fit: cover; }
.quality-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--slate-950) 12%, rgba(19,26,31,0.78) 50%, rgba(19,26,31,0.45) 100%),
    radial-gradient(60% 80% at 80% 50%, rgba(227,30,36,0.18), transparent 60%);
}
.quality-inner { position: relative; z-index: 1; max-width: 640px; }
.quality-inner h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1.3rem; color: #fff; }
.quality-lead { font-size: 1.18rem; color: rgba(244,241,234,0.85); margin-bottom: 2.5rem; max-width: 48ch; }
.quality-points { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-dark); }
.quality-points li { display: flex; align-items: center; gap: 1.2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-dark); }
.qp-num {
  font-size: 1.5rem; width: 48px; height: 48px; flex: none;
  display: grid; place-items: center; color: var(--red-300);
  border: 1px solid var(--line-dark); border-radius: 50%; background: rgba(244,241,234,0.03);
}
.quality-points strong { display: block; font-size: 1.12rem; font-family: var(--font-display); font-weight: 700; color: #fff; }
.quality-points span { font-size: 0.95rem; color: rgba(244,241,234,0.65); }

/* ---------- Kontakt ---------- */
.contact { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--paper); position: relative; }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.2rem; }
.contact-info .lead { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 2.2rem; max-width: 44ch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.c-card {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.25rem 1.3rem; background: #fff; border: 1px solid var(--line-light);
  border-radius: var(--radius); transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
a.c-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 16px 30px -18px rgba(26,35,42,0.4); }
.c-label { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--red); }
.c-value { font-size: 1.05rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.c-hint { font-size: 0.78rem; color: var(--ink-soft); }
.c-static { background: var(--slate-900); color: var(--paper); border-color: transparent; }
.c-static .c-value { color: #fff; } .c-static .c-hint { color: rgba(244,241,234,0.6); } .c-static .c-label { color: var(--red-300); }

/* Formular */
.contact-form-wrap {
  background: var(--slate-900); color: var(--paper); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: 0 30px 70px -35px rgba(19,26,31,0.7);
  position: relative; overflow: hidden;
}
.contact-form-wrap::before {
  content: ""; position: absolute; inset: 0; background-image: var(--grid-dark); background-size: 40px 40px; opacity: 0.4; pointer-events: none;
  mask-image: radial-gradient(120% 80% at 100% 0%, #000, transparent 70%);
}
.contact-form { position: relative; display: flex; flex-direction: column; gap: 1.1rem; }
.form-head { font-size: 0.78rem; color: var(--red-300); letter-spacing: 0.12em; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label, .field-consent label { font-size: 0.9rem; font-weight: 500; color: rgba(244,241,234,0.82); }
.req { color: var(--red-300); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1.02rem; color: #fff;
  background: rgba(244,241,234,0.05); border: 1.5px solid var(--line-dark);
  border-radius: var(--radius); padding: 0.85rem 1rem; transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244,241,234,0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: rgba(244,241,234,0.08); }
.field textarea { resize: vertical; min-height: 120px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.cf-turnstile { min-height: 0; }
.cf-turnstile:not(:empty) { margin-block: 0.2rem; }

.field-consent { display: flex; align-items: flex-start; gap: 0.7rem; }
.field-consent input { margin-top: 0.3rem; width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.field-consent label { font-size: 0.85rem; line-height: 1.5; color: rgba(244,241,234,0.75); }
.field-consent a { color: var(--red-300); text-decoration: underline; text-underline-offset: 2px; }

.form-status { font-size: 0.95rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-error { color: var(--red-300); }
.form-status.is-ok { color: #7ee0a0; }
.form-status.is-loading { color: rgba(244,241,234,0.7); }
.form-fallback { font-size: 0.82rem; color: rgba(244,241,234,0.6); text-align: center; }
.form-fallback a { color: var(--red-300); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }

/* ============================================================
   STANDORT / KARTE
   ============================================================ */
.location { position: relative; background: var(--slate-900); }
.map {
  width: 100%; height: clamp(420px, 58vh, 600px); z-index: 0;
  background: var(--slate-800); /* Platzhalter bis Tiles laden */
}
.map-noscript { color: var(--paper); padding: 2rem; text-align: center; }

.map-card {
  position: absolute; z-index: 500; top: 50%; left: clamp(1.25rem, 5vw, 4rem);
  transform: translateY(-50%);
  width: min(360px, calc(100% - 2.5rem));
  background: var(--slate-950); color: var(--paper);
  border: 1px solid var(--line-dark); border-top: 3px solid var(--red);
  border-radius: var(--radius); padding: 1.8rem 1.8rem 1.6rem;
  box-shadow: 0 28px 60px -28px rgba(0,0,0,0.7);
}
.map-card .section-tag { margin-bottom: 0.9rem; }
.map-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; line-height: 1.1; margin-bottom: 0.7rem; }
.map-hours { font-size: 0.85rem; color: rgba(244,241,234,0.7); margin-bottom: 1.4rem; }
.map-card .btn { width: 100%; justify-content: center; }

/* Routen-Auswahlmenü */
.route-chooser { position: relative; }
.route-toggle { width: 100%; }
.route-caret { transition: transform 0.25s var(--ease); }
.route-toggle[aria-expanded="true"] .route-caret { transform: rotate(180deg); }
.route-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); z-index: 600;
  background: var(--slate-850); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 0.5rem; box-shadow: 0 20px 44px -18px rgba(0,0,0,0.75);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.route-menu[hidden] { display: none; }
.route-menu-head { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,241,234,0.45); padding: 0.4rem 0.6rem 0.2rem; }
.route-menu a {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.65rem 0.7rem; border-radius: 3px; transition: background 0.18s;
}
.route-menu a strong { font-size: 0.98rem; font-weight: 600; color: #fff; font-family: var(--font-display); }
.route-menu a span { font-size: 0.76rem; color: rgba(244,241,234,0.6); }
.route-menu a:hover, .route-menu a:focus-visible { background: rgba(227,30,36,0.18); outline: none; }
.route-menu a:hover strong, .route-menu a:focus-visible strong { color: var(--red-300); }

.map-osm { display: inline-block; margin-top: 1rem; font-size: 0.8rem; color: var(--red-300); }
.map-osm:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Markenfarbener Pin */
.elmo-pin { position: relative; }
.elmo-pin .pin-dot {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--red);
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.5); z-index: 2;
}
.elmo-pin .pin-pulse {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%; background: rgba(227,30,36,0.5); z-index: 1;
  animation: pinPulse 2.2s var(--ease) infinite;
}
@keyframes pinPulse { 0% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; } 70% { transform: translate(-50%,-50%) scale(3); opacity: 0; } 100% { opacity: 0; } }

/* Leaflet-Anpassungen */
.leaflet-container { font-family: var(--font-body); }
.leaflet-bar a { color: var(--slate); }
.leaflet-popup-content-wrapper { border-radius: var(--radius); }
.leaflet-popup-content { font-size: 0.92rem; line-height: 1.5; }
.leaflet-control-attribution { font-size: 0.68rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--slate-950); color: var(--paper); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 3rem; }
.footer-logo { height: 42px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; color: rgba(244,241,234,0.65); line-height: 1.7; }
.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav-title { font-size: 0.7rem; letter-spacing: 0.14em; color: rgba(244,241,234,0.4); margin-bottom: 0.3rem; }
.footer-nav a, .footer-contact a, .footer-contact span { font-size: 0.95rem; color: rgba(244,241,234,0.78); transition: color 0.2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--red-300); }
.footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.4rem; border-top: 1px solid var(--line-dark);
  font-size: 0.78rem; color: rgba(244,241,234,0.45);
}

/* ============================================================
   REVEAL-ANIMATIONEN
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.service-card.reveal:nth-child(2) { transition-delay: 0.06s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.12s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.18s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .main-nav, .btn-phone { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: none; }
  .mobile-nav[data-open="true"] { display: flex; }
  .brand-sub { display: none; }

  .hero-media { width: 100%; opacity: 0.5; }
  .hero-media-veil { background: linear-gradient(0deg, var(--slate-950) 18%, rgba(19,26,31,0.7) 60%, rgba(19,26,31,0.5)); }
  .rotor-ring { right: -25%; opacity: 0.35; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-figure { order: -1; }
  .intro-figure img { aspect-ratio: 16 / 11; }
  .workshop-grid { grid-template-columns: 1fr; }
  .ws-figure.ws-tall img, .ws-figure:not(.ws-tall) img { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .location { display: flex; flex-direction: column; }
  .map-card {
    position: static; transform: none; width: 100%;
    border-radius: 0; border-top: 3px solid var(--red); border-left: 0; border-right: 0;
  }
  .map { height: clamp(340px, 50vh, 460px); order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .header-inner { min-height: 64px; }
  .hero-title { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .hero { min-height: auto; padding-block: 3rem 2.5rem; }
  .section-head h2, .intro-text h2, .contact-info h2, .quality-inner h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .hero-stats { gap: 1.25rem 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer-base { flex-direction: column; gap: 0.4rem; }
}

/* ============================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal { padding-block: clamp(3rem, 7vw, 6rem); background: var(--paper); min-height: 60vh; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.6rem; }
.legal .legal-tag { color: var(--red); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.8rem; }
.legal p, .legal address { font-style: normal; color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.75; }
.legal a { color: var(--red-600); text-decoration: underline; text-underline-offset: 2px; }
.legal .todo {
  background: #fff6e9; border: 1px solid #e8c98a; border-left: 4px solid #e0a93a;
  border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0; color: #6b4e15; font-size: 0.95rem;
}
.legal .back { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2.5rem; font-weight: 600; color: var(--ink); }
.legal .back:hover { color: var(--red); }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ring-spin, .ring-spin-rev { animation: none; }
}
