/* =====================================================================
   Anhänger-Express – Stylesheet (mobile-first)
   Farben: Dunkel #1D2630 · Orange #FF7A00 · Hellgrau #E6E7E8
           Grau #9DA3A8 · Weiß #FFFFFF
   ===================================================================== */

/* ---- Schrift: Montserrat lokal ---- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700.woff2') format('woff2');
}

/* ---- Variablen & Reset ---- */
:root {
  --dunkel: #1D2630;
  --dunkel-2: #29343f;
  --orange: #FF7A00;
  --orange-dunkel: #e06c00;
  --hellgrau: #E6E7E8;
  --grau: #9DA3A8;
  --weiss: #FFFFFF;
  --radius: 12px;
  --schatten: 0 2px 12px rgba(29, 38, 48, 0.10);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dunkel);
  background: var(--weiss);
}

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--orange-dunkel); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange); color: var(--dunkel);
  padding: 0.5rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-primary {
  background: var(--orange);
  color: var(--dunkel);
}
.btn-primary:hover { background: #ff8d24; }
.btn-primary:active { transform: translateY(1px); }
.btn-sekundaer {
  background: transparent;
  color: var(--weiss);
  border: 2px solid var(--grau);
}
.btn-sekundaer:hover { border-color: var(--weiss); }

/* ---- Kopfbereich ---- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dunkel);
  border-bottom: 1px solid var(--dunkel-2);
}
.kopf-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.kopf-logo { display: flex; }
.kopf-logo img { display: block; height: 46px; width: auto; }
.fuss-logo { height: 56px; width: auto; margin-bottom: 0.5rem; }

.kopf-menue-knopf {
  background: none;
  border: 0;
  padding: 0.75rem;
  cursor: pointer;
}
.menue-balken,
.menue-balken::before,
.menue-balken::after {
  display: block;
  width: 24px; height: 3px;
  background: var(--weiss);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: '';
}
.menue-balken { position: relative; }
.menue-balken::before { position: absolute; top: -8px; }
.menue-balken::after { position: absolute; top: 8px; }
.kopf-menue-knopf[aria-expanded="true"] .menue-balken { background: transparent; }
.kopf-menue-knopf[aria-expanded="true"] .menue-balken::before { transform: translateY(8px) rotate(45deg); }
.kopf-menue-knopf[aria-expanded="true"] .menue-balken::after { transform: translateY(-8px) rotate(-45deg); }

.kopf-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: var(--dunkel);
  padding: 0.5rem 1rem 1.25rem;
  border-bottom: 1px solid var(--dunkel-2);
}
.kopf-nav.offen { display: flex; }
.kopf-nav a {
  color: var(--weiss);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 0;
}
.kopf-nav a:hover { color: var(--orange); }
.kopf-nav .kopf-cta { margin-top: 0.5rem; text-align: center; color: var(--dunkel); }

@media (min-width: 800px) {
  .kopf-menue-knopf { display: none; }
  .kopf-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    background: none;
  }
  .kopf-nav a { padding: 0.25rem 0; }
  .kopf-nav .kopf-cta { margin: 0; padding: 0.6rem 1.2rem; }
}

/* ---- Hero ---- */
.hero {
  background: var(--dunkel);
  color: var(--weiss);
  padding: 3.5rem 0 4rem;
}
.hero-kicker {
  color: var(--grau);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}
.hero-slogan {
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1.5rem;
}
.hero-slogan span { display: block; }
.hero-slogan .slogan-akzent { color: var(--orange); padding-left: 0.6em; }
.hero-slogan span:last-child { padding-left: 1.2em; }
.hero-text {
  color: var(--hellgrau);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Zweispaltiger Hero mit Anhängerfoto */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-bild {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-bild img { display: block; width: 100%; height: auto; }
.hero-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--orange);
  color: var(--dunkel);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.15;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}
.hero-badge strong { font-size: 1.5rem; font-weight: 800; }

@media (min-width: 800px) {
  .hero { padding: 5rem 0 5.5rem; }
}
@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .hero-bild-spalte { order: 2; }
}

/* Vertrauensleiste unter dem Hero */
.trust-leiste { background: var(--orange); color: var(--dunkel); }
.trust-inhalt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: center;
  padding: 0.9rem 1rem;
}
.trust-punkt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.trust-punkt svg { width: 1.05rem; height: 1.05rem; }

/* ---- Sektionen ---- */
.section { padding: 3.5rem 0; }
.section-grau { background: var(--hellgrau); }
.section-dunkel { background: var(--dunkel); color: var(--weiss); }
.section-kicker {
  color: var(--orange-dunkel);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}
.section-dunkel .section-kicker { color: var(--orange); }
.section-intro { max-width: 38rem; color: var(--grau); }

/* ---- So funktioniert's: Schritte mit Straßenlinie ---- */
.schritte {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
  position: relative;
}
.schritt { position: relative; padding-left: 4.5rem; }
.schritt-nummer {
  position: absolute;
  left: 0; top: 0;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: var(--dunkel);
  color: var(--weiss);
  display: grid;
  place-items: center;
}
.schritt-nummer svg { width: 1.6rem; height: 1.6rem; }
/* Gestrichelte "Straßenlinie" zwischen den Schritten (mobil vertikal) */
.schritt:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.55rem;
  top: 3.5rem;
  bottom: -2.5rem;
  border-left: 3px dashed var(--orange);
}

@media (min-width: 800px) {
  .schritte { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .schritt { padding-left: 0; padding-top: 4.25rem; }
  .schritt-nummer { top: 0; left: 0; }
  .schritt:not(:last-child)::after {
    left: 4rem;
    right: -1rem;
    top: 1.55rem;
    bottom: auto;
    border-left: 0;
    border-top: 3px dashed var(--orange);
  }
}

/* ---- Fuhrpark-Karten ---- */
.karten-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.karte {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.karte:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(29, 38, 48, 0.18);
}
.karte-bild {
  background: var(--hellgrau);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.karte-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  backface-visibility: hidden;
  will-change: transform;
}
.karte:hover .karte-bild img { transform: scale(1.04); }
.karte-inhalt {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.karte-beschreibung { color: var(--grau); font-size: 0.92rem; margin: 0; flex: 1; }
.karte-preise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}
.karte-preis {
  background: var(--hellgrau);
  border-radius: 8px;
  padding: 0.5rem 0.25rem;
}
.karte-preis dt {
  font-size: 0.72rem;
  color: var(--grau);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.karte-preis dd { margin: 0; font-weight: 700; }
.karte-hinweis { font-size: 0.8rem; color: var(--grau); margin: 0; }
.karte .btn { text-align: center; }

/* ---- Vorteile ---- */
.vorteile-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.vorteil {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--schatten);
}
.vorteil-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 10px;
  background: var(--dunkel);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.vorteil-icon svg { width: 1.5rem; height: 1.5rem; }
.vorteil p { color: var(--grau); font-size: 0.95rem; margin: 0; }

/* ---- FAQ ---- */
.faq-liste { margin-top: 2rem; max-width: 46rem; }
.faq-eintrag {
  border-bottom: 1px solid var(--hellgrau);
}
.faq-eintrag summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 2.5rem 1rem 0;
  position: relative;
  list-style: none;
}
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-eintrag summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.15s ease;
}
.faq-eintrag[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-eintrag p { color: var(--grau); padding-bottom: 1rem; margin: 0; max-width: 42rem; }

/* ---- Kontakt ---- */
.kontakt-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
.kontakt-block h3 { color: var(--orange); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.kontakt-block a { color: var(--weiss); }
.kontakt-block p, .kontakt-block address { color: var(--hellgrau); font-style: normal; margin: 0; }

@media (min-width: 800px) {
  .kontakt-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Formulare (Basis) ---- */
label { font-weight: 600; display: block; margin-bottom: 0.3rem; }
input[type="text"], input[type="email"], input[type="tel"],
select, textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--hellgrau);
  border-radius: 8px;
  font: inherit;
  background: var(--weiss);
  color: var(--dunkel);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
}

/* ---- Buchungsformular ---- */
.buchung-formular { margin-top: 2rem; }
.buchung-spalten { display: grid; gap: 2.5rem; }
.feld { margin-bottom: 1.25rem; }
.feld-label { font-weight: 600; display: block; margin-bottom: 0.3rem; }

.kalender-hilfe { color: var(--grau); font-size: 0.85rem; margin: 0 0 0.5rem; }
.kalender {
  background: var(--weiss);
  border: 2px solid var(--hellgrau);
  border-radius: var(--radius);
  padding: 0.75rem;
  max-width: 26rem;
}
.kal-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.kal-nav {
  background: var(--hellgrau);
  border: 0;
  border-radius: 8px;
  width: 2.25rem; height: 2.25rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--dunkel);
}
.kal-nav:disabled { opacity: 0.35; cursor: default; }
.kal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.kal-wochentag {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grau);
  padding: 0.25rem 0;
  text-transform: uppercase;
}
.kal-tag {
  border: 0;
  background: var(--weiss);
  border-radius: 8px;
  aspect-ratio: 1;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--dunkel);
  position: relative;
}
.kal-tag:hover:not(:disabled) { background: var(--hellgrau); }
.kal-vergangen { color: var(--grau); opacity: 0.4; cursor: default; }
.kal-belegt {
  color: var(--grau);
  background: var(--hellgrau);
  cursor: default;
  text-decoration: line-through;
}
.kal-teilweise::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.kal-gewaehlt {
  background: var(--orange) !important;
  color: var(--dunkel);
  font-weight: 700;
}
.kal-zeitraum { background: #ffe3c7; }
.kalender-legende {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--grau);
  margin: 0.5rem 0 0;
}
.legende-punkt {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 4px;
  margin-left: 0.75rem;
}
.legende-punkt:first-child { margin-left: 0; }
.legende-frei { background: var(--weiss); border: 2px solid var(--hellgrau); }
.legende-teilweise { background: var(--weiss); border: 2px solid var(--orange); }
.legende-belegt { background: var(--hellgrau); }

.zeiten-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.zeit-zeile { display: grid; gap: 0.4rem; }
.datum-anzeige {
  display: block;
  padding: 0.7rem 0.9rem;
  background: var(--hellgrau);
  border-radius: 8px;
  font-weight: 600;
}

.zubehoer-feld { border: 2px solid var(--hellgrau); border-radius: var(--radius); padding: 1rem; }
.zubehoer-feld legend { font-weight: 600; padding: 0 0.4rem; }
.zubehoer-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  padding: 0.35rem 0;
  cursor: pointer;
}
.zubehoer-option input { width: 1.15rem; height: 1.15rem; accent-color: var(--orange); }
.zubehoer-preis { margin-left: auto; color: var(--grau); font-weight: 600; }

.preisbox {
  background: var(--dunkel);
  color: var(--weiss);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.preisbox-hinweis { color: var(--grau); margin: 0; }
.preisbox-tarif { color: var(--orange); font-weight: 600; margin: 0 0 0.25rem; font-size: 0.9rem; }
.preisbox-summe { font-size: 2rem; font-weight: 700; margin: 0 0 0.5rem; }
.preisbox-detail { color: var(--hellgrau); font-size: 0.85rem; margin: 0 0 0.25rem; }
.preisbox-fehler { color: #ffb27a; font-weight: 600; margin: 0; }

/* Honeypot: visuell versteckt, für Bots aber "echtes" Feld */
.hp-feld {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.agb-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}
.agb-option input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--orange); flex-shrink: 0; }

.formular-fehler {
  background: #fdecec;
  color: #a03030;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
.buchung-submit { width: 100%; font-size: 1.05rem; padding: 1rem; }
.buchung-submit:disabled { opacity: 0.5; cursor: default; }
.buchung-fussnote { color: var(--grau); font-size: 0.8rem; margin-top: 0.75rem; }

.buchung-erfolg {
  background: var(--hellgrau);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  max-width: 40rem;
}
.buchung-erfolg p { margin: 0; }

@media (min-width: 900px) {
  .buchung-spalten { grid-template-columns: 1.1fr 1fr; }
}

/* ---- Fußbereich ---- */
.fuss {
  background: var(--dunkel);
  color: var(--hellgrau);
  padding: 3rem 0 1.5rem;
}
.fuss-innen {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--dunkel-2);
}
.fuss-slogan { color: var(--grau); margin-top: 1rem; }
.fuss-titel {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.fuss-adresse { font-style: normal; line-height: 1.8; }
.fuss a { color: var(--hellgrau); }
.fuss a:hover { color: var(--orange); }
.fuss-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.fuss-links a { text-decoration: none; }
.fuss-zeile { padding-top: 1.5rem; font-size: 0.85rem; color: var(--grau); }
.fuss-zeile p { margin: 0; }

@media (min-width: 800px) {
  .fuss-innen { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---- Rechtstext-Seiten ---- */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { margin-top: 2.5rem; font-size: 1.3rem; }
.rechtstext h3 { margin-top: 1.5rem; }

/* ---- Admin-Bereich ---- */
.admin-body { background: #f6f7f8; }
.admin-kopf { background: var(--dunkel); padding: 0.6rem 0; }
.admin-kopf img { height: 34px; width: auto; }
.admin-kopf-innen {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.admin-nav { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.admin-nav a {
  color: var(--hellgrau);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0;
}
.admin-nav a:hover { color: var(--orange); }
.admin-nav-aktiv { color: var(--orange) !important; border-bottom: 2px solid var(--orange); }
.admin-main { padding: 2rem 1rem 4rem; }
.admin-main h1 { font-size: 1.5rem; }

.admin-meldung { border-radius: 8px; padding: 0.75rem 1rem; font-weight: 600; }
.admin-meldung-ok { background: #e7f5e9; color: #1d6b2a; }
.admin-meldung-fehler { background: #fdecec; color: #a03030; }

.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.filter-tab {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--weiss);
  border: 2px solid var(--hellgrau);
  color: var(--dunkel);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.filter-tab-aktiv { border-color: var(--orange); background: var(--orange); }

.tabelle-umbruch { overflow-x: auto; background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 720px; }
.tabelle th, .tabelle td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--hellgrau); vertical-align: top; }
.tabelle th { background: var(--hellgrau); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.tabelle tr:last-child td { border-bottom: 0; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-offen { background: #fff1e0; color: #a35a00; }
.badge-bestaetigt { background: #e7f5e9; color: #1d6b2a; }
.badge-abgelehnt { background: #fdecec; color: #a03030; }
.badge-storniert { background: var(--hellgrau); color: var(--grau); }

.btn-klein {
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-gruen { background: #2e9940; color: var(--weiss); }
.btn-rot { background: #c94040; color: var(--weiss); }
.btn-grau { background: var(--hellgrau); color: var(--dunkel); }
.btn-klein:hover { filter: brightness(1.08); }
.aktions-zeile { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.aktions-zeile form { margin: 0; }

.detail-zeile summary { cursor: pointer; color: var(--orange-dunkel); font-weight: 600; font-size: 0.85rem; }
.detail-inhalt { margin: 0.5rem 0 0; font-size: 0.88rem; line-height: 1.7; color: #45505b; }

/* ---- Admin-Kalender ---- */
.kal-admin-kopf {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}
.kal-admin-kopf strong { font-size: 1.1rem; min-width: 11rem; text-align: center; }
.kal-admin-kopf a { text-decoration: none; }
.kal-admin-legende {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--grau);
  flex-wrap: wrap;
}
.kal-admin-farbfeld {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 4px;
  margin-left: 0.75rem;
}
.kal-admin-farbfeld:first-child { margin-left: 0; }
.kal-admin-tabelle { min-width: 1100px; }
.kal-admin-tabelle th.kal-admin-tag {
  text-align: center;
  padding: 0.4rem 0.15rem;
  font-size: 0.72rem;
  min-width: 26px;
}
.kal-admin-tabelle th small { color: var(--grau); font-weight: 400; }
.kal-admin-fahrzeug { white-space: nowrap; font-weight: 600; font-size: 0.85rem; }
.kal-admin-zelle { padding: 0 !important; height: 2.2rem; border-left: 1px solid #f0f1f2; }
.kal-admin-we { background: #f2f3f5; }
th.kal-admin-heute { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: 4px; }
td.kal-admin-bestaetigt, span.kal-admin-bestaetigt { background: var(--orange) !important; }
td.kal-admin-offen, span.kal-admin-offen {
  background: repeating-linear-gradient(45deg, #ffd9b3, #ffd9b3 4px, #fff 4px, #fff 8px) !important;
}
td.kal-admin-bestaetigt, td.kal-admin-offen { cursor: help; }

/* ---- Admin-Fuhrpark / Zubehör ---- */
.typ-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.typ-karte summary {
  cursor: pointer;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
}
.typ-karte summary::-webkit-details-marker { display: none; }
.typ-karte summary::before { content: '▸'; color: var(--orange); }
.typ-karte[open] summary::before { content: '▾'; }
.typ-karte-preise { margin-left: auto; color: var(--grau); font-size: 0.88rem; }
.typ-karte-inhalt { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--hellgrau); }
.typ-karte-neu summary { color: var(--orange-dunkel); }
.formular-raster {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin-top: 1rem;
}
.feld-breit { grid-column: 1 / -1; }
.exemplar-titel { margin-top: 1.5rem; font-size: 0.95rem; }
.exemplar-liste { list-style: none; padding: 0; margin: 0.5rem 0; }
.exemplar-liste li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  flex-wrap: wrap;
}
.exemplar-neu { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.exemplar-neu input[type="text"] { max-width: 20rem; }

/* ---- Scroll-Reveal (dezent, nur mit aktivem JavaScript) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.sichtbar {
  opacity: 1;
  transform: none;
}

/* ---- Mobiler Sticky-CTA ---- */
.mobil-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  background: var(--weiss);
  box-shadow: 0 -4px 16px rgba(29,38,48,0.14);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  transform: translateY(120%);
  transition: transform 0.25s ease;
}
.mobil-cta.sichtbar { transform: none; }
.mobil-cta .btn { display: block; text-align: center; width: 100%; }
@media (min-width: 800px) { .mobil-cta { display: none; } }

/* ---- Reduzierte Bewegung ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
