/* ===== Variables (Mobile First) ===== */
:root {
  --color-bg: #0f1419;
  --color-surface: #1a222d;
  --color-surface-alt: #232d3a;
  --color-text: #e8ecf0;
  --color-text-muted: #8b9aaa;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-border: #2d3a48;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --transition: 0.2s ease;
  --touch-target: 44px; /* Mindestgröße für Touch (WCAG) */
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable; /* Verhindert Header-Verschiebung bei Scrollbar */
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Ab 480px etwas mehr Innenabstand für Komfort */
@media (min-width: 480px) {
  .container { padding: 0 1.5rem; }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
  flex-wrap: nowrap;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo:hover { color: var(--color-accent); }

/* Navigation */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav a:hover { color: var(--color-text); }

/* Header-Kontakt (Standort + Buttons) */
.header-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-location {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  max-width: 10ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-header {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--color-surface-alt);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-header:hover {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile: Kontakt im Menü */
.nav-mobile-contact {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.nav.open .nav-mobile-contact { display: flex; }
.nav-mobile-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  padding: 0 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  color: var(--color-accent);
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-contact-link:hover {
  background: rgba(245, 158, 11, 0.25);
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Tablet: 769px – Logo | Nav | Kontakt in einer Zeile */
@media (min-width: 769px) {
  .header-inner .nav-toggle { display: none; }
  .header-inner {
    gap: 1rem;
    min-height: 68px;
  }
  .header-inner .logo { flex-shrink: 0; }
  .header-inner .nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
  }
  .header-inner .nav-list {
    flex-wrap: nowrap;
    gap: 1.25rem;
    justify-content: flex-end;
  }
  .header-inner .header-contact {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }
  .header-location {
    max-width: none;
    font-size: 0.8rem;
  }
  .btn-header {
    padding: 0.4rem 0.75rem;
    font-size: 0.825rem;
  }
}

/* Desktop: ab 1025px – 3 Spalten, Nav zentriert */
@media (min-width: 1025px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    min-height: 72px;
    padding: 0 0.25rem;
  }
  .header-inner .logo { justify-self: start; }
  .header-inner .nav {
    justify-self: center;
    flex: none;
    display: flex;
    justify-content: center;
  }
  .header-inner .nav-list {
    justify-content: center;
    gap: 1.75rem;
  }
  .header-inner .header-contact {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .header-location {
    font-size: 0.875rem;
  }
  .btn-header {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 20, 25, 0.82) 0%, rgba(15, 20, 25, 0.45) 42%, rgba(26, 34, 45, 0.88) 100%),
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(245, 158, 11, 0.14) 0%, transparent 52%);
  pointer-events: none;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 18ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(232, 236, 240, 0.92);
  max-width: 42ch;
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
/* Hero CTA: Mobile = untereinander */
.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.hero-address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}
.hero-address-text {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}
.btn-nav-hero {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  white-space: nowrap;
}
.btn-nav-hero:hover { background: rgba(245, 158, 11, 0.15); color: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  min-height: var(--touch-target);
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  white-space: nowrap;
}
.btn-phone:hover { background: rgba(245, 158, 11, 0.15); color: var(--color-accent-hover); border-color: var(--color-accent-hover); }
/* PC: Hero CTA in einer Zeile, klare Abstände */
@media (min-width: 1025px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
  }
  .hero-address {
    margin: 0;
    flex-wrap: nowrap;
  }
  .hero-address-text { white-space: nowrap; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 480px) {
  .btn { padding: 0.9rem 1.75rem; }
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: #0f1419;
}
.btn-primary:hover { background: var(--color-accent-hover); }

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.section-intro {
  color: var(--color-text-muted);
  max-width: 55ch;
  margin: 0 0 2.5rem;
}

/* ===== Leistungen ===== */
.section-leistungen { background: var(--color-surface); }
.leistungen-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.leistung-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.leistung-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow);
}
.leistung-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}
.leistung-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.leistung-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== Unsere Werkstatt (Galerie) ===== */
.section-werkstatt {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.werkstatt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.werkstatt-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.werkstatt-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow);
}
.werkstatt-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 52% 42%;
}
.werkstatt-card figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ===== Warum wir? ===== */
.section-warum { background: var(--color-bg); }
.warum-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 769px) {
  .warum-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }
}
.warum-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  box-shadow: var(--shadow);
}
.warum-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}
.warum-split .warum-list {
  max-width: none;
}
.warum-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 720px;
}
.warum-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.warum-check {
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== Anfrage Form ===== */
.section-anfrage { padding-bottom: 5rem; }
.anfrage-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 48px; /* Touch-freundlich, verhindert iOS-Zoom bei 16px */
  font-family: var(--font);
  font-size: 1rem; /* Mind. 16px für kein Auto-Zoom auf iOS */
  color: var(--color-text);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--color-text-muted); opacity: 0.8; }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-datenschutz .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 400;
  cursor: pointer;
}
.form-datenschutz input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-accent);
}
.anfrage-form .btn { align-self: flex-start; margin-top: 0.25rem; }

/* Öffnungszeiten in der Anfrage-Sektion */
.anfrage-with-oeffnung { margin-bottom: 2rem; }
.oeffnungszeiten-box {
  display: inline-block;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 520px;
}
.oeffnungszeiten-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}
.oeffnungszeiten-list {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.oeffnungszeiten-list dt {
  font-weight: 600;
  color: var(--color-text);
  margin-top: 0.6rem;
}
.oeffnungszeiten-list dt:first-child { margin-top: 0; }
.oeffnungszeiten-list dd {
  margin: 0.2rem 0 0;
  padding-left: 0;
}
.oeffnung-trenner {
  color: var(--color-border);
  margin: 0 0.35rem;
  font-weight: 400;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.form-status.success { background: rgba(34, 197, 94, 0.2); border: 1px solid rgba(34, 197, 94, 0.5); color: #86efac; }
.form-status.error { background: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.5); color: #fca5a5; }

/* ===== Footer ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}
.footer-logo { font-weight: 700; margin: 0 0 0.25rem; }
.footer-block p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
.footer-block-title {
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.footer-oeffnung-line { margin: 0; }
.footer-oeffnung-note { margin: 0.35rem 0 0; font-size: 0.88rem; opacity: 0.9; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-links a { color: var(--color-text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-text); }

/* Footer: Anrufen/E-Mail auf Mobil prominent */
.footer-mobile-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-mobile-cta a {
  flex: 1 1 auto;
  min-width: 140px;
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}
.footer-mobile-cta .footer-cta-call {
  background: var(--color-accent);
  color: #0f1419;
}
.footer-mobile-cta .footer-cta-call:hover { background: var(--color-accent-hover); color: #0f1419; }
.footer-mobile-cta .footer-cta-mail {
  background: var(--color-surface-alt);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.footer-mobile-cta .footer-cta-mail:hover { background: rgba(245, 158, 11, 0.15); color: var(--color-accent-hover); border-color: var(--color-accent-hover); }
@media (min-width: 769px) {
  .footer-mobile-cta { display: none; }
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
}
.footer-bottom p { margin: 0; color: var(--color-text-muted); font-size: 0.85rem; }

/* ===== Subpages (Impressum, Datenschutz, AGB, Widerruf) ===== */
.page-header {
  padding: 6rem 0 2rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0;
}
.page-content {
  padding: 2.5rem 0 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.page-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.page-content p, .page-content ul { margin: 0 0 1rem; color: var(--color-text-muted); }
.page-content ul { padding-left: 1.5rem; }
.page-content a { text-decoration: underline; }
.page-content a.btn { text-decoration: none; }
.page-content .widerruf-formular {
  margin: 1.5rem 0; padding: 1.25rem; background: var(--color-bg-subtle, #f5f5f5);
  border: 1px solid var(--color-border, #e0e0e0); border-radius: 6px;
}
.page-content .widerruf-formular p { margin: 0.5rem 0; }
.page-content .widerruf-formular p:first-child { margin-top: 0; }
.page-header-lead { margin: 0.5rem 0 0; color: var(--color-text-muted); font-size: 1.1rem; }
.container--wide { max-width: 720px; }

/* ===== Karriere ===== */
.karriere-block {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}
.karriere-block--highlight { border-color: rgba(245, 158, 11, 0.35); }
.karriere-block h2 { margin: 0 0 0.5rem; font-size: 1.35rem; display: flex; align-items: center; gap: 0.5rem; }
.karriere-block h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }
.karriere-icon { font-size: 1.5rem; }
.karriere-meta { margin: 0 0 1rem; color: var(--color-accent); font-weight: 500; }
.karriere-intro { font-weight: 600; color: var(--color-text); margin-bottom: 0.5rem; }
.karriere-aufgaben { list-style: disc; padding-left: 1.5rem; margin: 0 0 1rem; color: var(--color-text-muted); }
.karriere-aufgaben li { margin-bottom: 0.35rem; }
.karriere-benefits {
  list-style: none; padding-left: 0; margin: 0;
}
.karriere-benefits li {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--color-text);
}
.karriere-benefits .warum-check { color: var(--color-accent); }
.karriere-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin: 2.5rem 0 2rem;
}
.karriere-cta h2 { margin: 0 0 0.75rem; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.karriere-cta p { margin: 0 0 0.5rem; color: var(--color-text); }
.karriere-cta-contact { margin-bottom: 1.5rem !important; font-weight: 500; }
.karriere-cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.page-back { margin-top: 2rem; }

/* ===== Landing: Karriere-Banner ===== */
.section-karriere-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}
.karriere-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.karriere-banner-text h2 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.karriere-banner-text p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
.karriere-banner-cta { flex-shrink: 0; }

/* ===== Karriere: Werkstatt-Banner unter Page-Header ===== */
.karriere-page-banner {
  margin: 0;
  padding: 0;
  max-height: min(38vh, 300px);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.karriere-page-banner img {
  width: 100%;
  height: min(38vh, 300px);
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}

/* ===== Skip-Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #0f1419;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* Body-Scroll sperren wenn Menü offen (nur Mobil) */
body.nav-open { overflow: hidden; }

/* Desktop: Mobile-Kontaktblock ausblenden */
@media (min-width: 769px) {
  .nav-mobile-contact { display: none !important; }
}

/* ===== Mobile First: bis 768px ===== */
@media (max-width: 768px) {
  .header-inner { display: flex; flex-wrap: nowrap; grid-template-columns: none; }
  .header-contact { display: none !important; }
  .nav { display: none; }
  .nav.open {
    display: block;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.5rem;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.open ul {
    flex-direction: column;
    gap: 0;
  }
  .nav.open ul a {
    display: flex;
    align-items: center;
    min-height: var(--touch-target);
    padding: 0.75rem 0;
    font-size: 1.05rem;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--touch-target);
    min-height: var(--touch-target);
    padding: 8px;
  }
  .hero { min-height: 75vh; padding: 5rem 0 3rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-oeffnungszeiten { order: 0; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .warum-list { grid-template-columns: 1fr; }
  .warum-split .warum-list { grid-template-columns: 1fr; }
  .werkstatt-grid { grid-template-columns: 1fr; }
  .karriere-banner-inner { flex-direction: column; text-align: center; }
  .anfrage-form { gap: 1.5rem; }
  .form-row input, .form-row textarea { padding: 0.875rem 1rem; }
}

/* Sehr kleine Displays (z. B. 320–480px) */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  .hero-lead { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: clamp(1.5rem, 4vw, 1.75rem); }
  .leistung-card { padding: 1.25rem; }
  .oeffnungszeiten-box { padding: 1rem 1.25rem; max-width: 100%; }
}

/* Tablet: 769px–1024px (Header kompakt) */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-inner { gap: 0.75rem; }
  .nav-list { gap: 0.9rem; }
  .nav a { font-size: 0.9rem; }
  .header-location { font-size: 0.75rem; }
  .btn-header { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
}

/* ===== Focus & Accessibility ===== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .nav-toggle span { transition: none; }
  .nav-toggle.open span:nth-child(1),
  .nav-toggle.open span:nth-child(3) { transform: none; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
}
