* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Verhindert horizontales Scrollen auf Kleinstgeräten */
html, body { max-width: 100%; overflow-x: hidden; }

/* Medien immer innerhalb des Containers skalieren */
img, svg, video { max-width: 100%; height: auto; }

:root {
  /* Harmonisierte Palette (kühles Stahlblau + kühles Weiß passend zum Headerbild) */
  --primary-800: #0e2a3a;  /* Tiefes Stahlblau (Header/Titles) */
  --primary-700: #1d4a67;  /* Mittelblau für Verläufe/Hover */
  --accent: #ff6b35;       /* Primärer Akzent (Rabatt/CTA) */
  --brand: #e74b37;        /* Sekundärer Akzent (nahe am roten Auto) */
  --secondary: #8cc5e6;    /* Zurückgenommenes Hellblau (Outline/Badges) */
  --text: #1f2937;         /* Dunkles Grau für Text */
  --muted: #4b5a6a;        /* Sekundärer Text etwas kühler */
  --bg: #dbe4ec;           /* Deutlich dunkleres, kühles Hellblau */
  --surface: #e3ebf3;      /* Weiter abgedunkeltes Surface-Weiß */
  --card: #ffffff;         /* Karten bleiben weiß für Kontrast */
  /* RGB-Werte für transparente Overlays */
  --primary-800-rgb: 14, 42, 58;
  --primary-700-rgb: 29, 74, 103;
  --radius: 15px;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  /* Einheitliche Headerhöhe für Mobile-Fixierung */
  --header-height: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  /* Weicher Verlauf von kühlem Blau in den Seitenhintergrund */
  background:
    linear-gradient(
      180deg,
      rgba(var(--primary-800-rgb), 0.14) 0%,
      rgba(var(--primary-700-rgb), 0.10) 360px,
      rgba(0,0,0,0) 840px
    ),
    var(--bg);
}

/* Globales Seitenhintergrundbild (fixiert) mit leichter Abdunklung für Lesbarkeit */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("../../medien/Ohne\ schrift.png") center / cover no-repeat fixed;
  filter: brightness(0.78) saturate(1.04);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* leichte, kühle Tönung, damit Text/Karten besser lesbar bleiben */
  background: linear-gradient(
    180deg,
    rgba(var(--primary-800-rgb), 0.22) 0%,
    rgba(var(--primary-700-rgb), 0.16) 40%,
    rgba(0,0,0,0.18) 100%
  );
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-700) 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: var(--header-height);
}

.header.is-scrolled {
  background: rgba(var(--primary-800-rgb), 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start; /* Logo + Burger links nebeneinander */
  align-items: center;
  padding: 0 2rem;
  gap: 0.75rem; /* kleiner Abstand zwischen Logo und Burger */
}

/* Navigation bleibt rechtsbündig – schiebt sich vom linken Cluster (Logo+Burger) weg */
.nav-container > nav { margin-left: auto; }

/* Hamburger Button */
.nav-toggle { display: none; appearance: none; background: transparent; border: 0; width: 42px; height: 42px; border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; color: #fff; }
.nav-toggle:focus { outline: 3px solid rgba(255,255,255,0.35); outline-offset: 2px; }
.nav-toggle .bars { position: relative; width: 22px; height: 2px; background: currentColor; display: block; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease, top .2s ease, opacity .2s ease; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
/* X-State */
body.menu-open .nav-toggle .bars { background: transparent; }
body.menu-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--secondary); }

/* Hero entfernt – globales Hintergrundbild aktiv */

.discount-banner {
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.intro {
  /* transparente Sektion mit sanfter Verlaufs-Überlagerung für Lesbarkeit */
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 260px);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.intro-inner { text-align: center; }
/* Auf Hintergrundbild: helle Typo mit sanftem Schatten */
.intro h1 { font-size: 3rem; margin-bottom: 1rem; color: #f8fbff; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.intro p { font-size: 1.15rem; margin-bottom: 1rem; color: rgba(255,255,255,0.92); max-width: 900px; margin-left: auto; margin-right: auto; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.service-area { font-size: 1.05rem; color: #b45309; font-weight: 700; }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.btn.btn-secondary { background: transparent; border: 2px solid var(--secondary); color: var(--secondary); }
.btn.btn-secondary:hover { background: rgba(111,178,230,0.15); box-shadow: none; transform: translateY(-2px); }

.value-badges { list-style: none; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
/* Invertierte Badges für dunklen Hintergrund im Intro */
.intro .value-badge { background: rgba(255,255,255,0.14); color: #f7fbff; padding: .6rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.30); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.35); }

/* About */
.about { padding: 6rem 0; background: transparent; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 2rem; color: var(--primary-800); }
.about-text p { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--muted); }
/* Lesbarkeits-Panel für den About-Text auf Bildhintergrund */
.about-text {
  background: rgba(255,255,255,0.68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 16px;
  padding: 2rem;
}

.about-image {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(45deg, #e6f0fa, #d8e7f5);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-800-rgb), 0.08);
  display: flex;                 /* Kinder zentrieren */
  flex-direction: column;
  align-items: center;           /* horizontal mittig */
  justify-content: center;       /* vertikal ausgewogen */
}
.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at 50% 32%,
    rgba(var(--primary-800-rgb), 0.26) 0%,
    rgba(var(--primary-800-rgb), 0.18) 34%,
    rgba(var(--primary-800-rgb), 0.12) 58%,
    rgba(0,0,0,0) 78%
  );
}
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -8px 24px rgba(var(--primary-800-rgb), 0.06);
}
.car-icon { width: clamp(240px, 50vw, 520px); height: clamp(140px, 28vw, 300px); background: transparent; border-radius: 16px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.car-icon::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 64%;
  border-radius: 50%;
  filter: blur(18px);
  background: radial-gradient(ellipse at center, rgba(var(--primary-700-rgb), 0.32), rgba(0,0,0,0) 70%);
  z-index: 0;
}
.car-icon img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.18)); margin-left: auto; margin-right: auto; }
.about-image h3 { position: relative; z-index: 1; color: var(--primary-800); margin-top: 0.75rem; }
.about-image h3::before {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  margin: 0.75rem auto 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(var(--primary-700-rgb), 0) 0%,
    rgba(var(--primary-700-rgb), 0.35) 20%,
    rgba(var(--primary-700-rgb), 0.35) 80%,
    rgba(var(--primary-700-rgb), 0) 100%
  );
}

/* Services */
.services { padding: 6rem 0; background: transparent; }
/* Titel/Untertitel auf Hintergrundbild heller mit Schatten */
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 1rem; color: #f8fbff; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.section-subtitle { text-align: center; font-size: 1.2rem; margin-bottom: 4rem; color: rgba(255,255,255,0.9); text-shadow: 0 1px 6px rgba(0,0,0,0.35); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.25rem; margin-top: 3rem; }
.service-card {
  position: relative;
  background: rgba(255,255,255,0.62); /* halbtransparentes Weiß */
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  border: 1px solid rgba(255,255,255,0.35);
  overflow: hidden;
}
.service-card::after {
  /* feiner innerer Glanz für Glas-Look */
  content: "";
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
.service-card.has-media { padding-top: 0; border-top: none; overflow: hidden; }
.service-card.has-media .service-icon { display: none; }
.service-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; display: block; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.service-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 44%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%); }
.service-chip { position: absolute; bottom: 10px; left: 10px; z-index: 1; background: rgba(255,255,255,0.9); color: var(--primary-800); font-weight: 800; padding: .35rem .6rem; border-radius: 999px; font-size: .9rem; box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.service-card.has-media h3 { margin-top: 1rem; }
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}
.service-card:hover { transform: translateY(-12px); box-shadow: 0 18px 42px rgba(0,0,0,0.16); border-color: rgba(255,255,255,0.45); }
.service-card:focus-within { outline: 3px solid rgba(12, 113, 195, 0.16); outline-offset: 2px; }
.service-icon {
  width: clamp(96px, 12vw, 136px);
  height: clamp(96px, 12vw, 136px);
  background: var(--brand);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(231, 75, 55, 0.16);
}
.service-icon--img { background: #fff; border: 2px solid rgba(0,0,0,0.06); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.service-icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; padding: clamp(4px, 0.6vw, 10px); }
.service-card h3 { font-size: 1.6rem; margin-bottom: 0.9rem; color: var(--primary-800); letter-spacing: .2px; }
.price {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff;
  background: linear-gradient(90deg, var(--accent) 0%, #ff834f 100%);
  padding: .4rem .8rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255,107,53,0.25);
}
.service-features { list-style: none; text-align: left; margin-top: 1.5rem; }
.service-features li { padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); position: relative; padding-left: 2rem; }
.service-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: #32CD32; /* kräftiges Grasgrün, vollflächig */
  color: #ffffff; /* weißes Häkchen für maximalen Kontrast */
  font-weight: 900; font-size: 14px; line-height: 1;
  text-shadow: none; /* Reset */
  box-shadow: 0 2px 10px rgba(50,205,50,0.35);
  display: inline-flex; align-items: center; justify-content: center;
}

/* CTA in einzelnen Service-Karten */
.card-cta { margin-top: 1.25rem; display: flex; justify-content: center; }


/* CTA unter den Service-Karten */
.services-cta { display: flex; gap: 1rem; justify-content: center; align-items: center; margin-top: 2rem; flex-wrap: wrap; }
.services-cta .btn { min-width: 220px; }

@media (max-width: 900px){
  .services-cta { flex-direction: column; }
  .services-cta .btn { width: 100%; max-width: 420px; }
}

/* Price Notice entfernt */

/* Modal (Buchung) */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; width: min(720px, 94vw); max-height: 88vh; overflow: auto; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 16px; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.modal h3 { color: var(--primary-800); margin-bottom: 1rem; text-align: center; }
.modal .modal-close { position: absolute; right: .75rem; top: .5rem; background: transparent; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-800); }
.modal .form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.modal .modal-actions { display:flex; gap: .75rem; justify-content:flex-end; margin-top: .75rem; }
@media (max-width: 640px){
  .modal .form-row { grid-template-columns: 1fr; }
  .modal .modal-actions { justify-content: center; }
}

/* Features */
.features { background: transparent; padding: 6rem 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem; margin-top: 2rem; }
/* Glas-Look wie bei Service-Karten, aber kompakter */
.feature-card {
  position: relative;
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  border: 1px solid rgba(255,255,255,0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.feature-card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 5px; border-top-left-radius: inherit; border-top-right-radius: inherit;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}
.feature-card::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.16); border-color: rgba(255,255,255,0.45); }
/* Icon-Container entfällt, daher Überschrift optisch nach oben rücken */
.feature-card h3 { margin-top: .25rem; margin-bottom: .5rem; color: var(--primary-800); font-size: 1.25rem; }
.feature-card p { color: var(--muted); }

/* Partner */
.partners { padding: 6rem 0; background: transparent; }
.partner-logo {
  width: 100%;               /* füllt die Karte von links nach rechts */
  max-width: 100%;
  height: auto;
  max-height: 260px;         /* größer dargestellt */
  object-fit: contain;
  display: block;
  margin: 0 0 .75rem 0;      /* links ausgerichtet */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}

@media (max-width: 600px) {
  .partner-logo { max-height: 200px; }
}
.partner-list { list-style: none; margin: .75rem 0 0; padding: 0; text-align: left; color: var(--muted); }
.partner-list li { padding: .4rem 0 .4rem 1.4rem; position: relative; border-bottom: 1px solid rgba(0,0,0,0.06); }
.partner-list li::before { content: "•"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }

/* Rechtliches (Impressum/Datenschutz/AGB) */
.legal { padding: 3rem 0 6rem; background: transparent; }
.legal .about-content { grid-template-columns: 1fr; }
.legal h1 { margin-bottom: 1rem; color: var(--primary-800); }
.legal h2 { margin-top: 1rem; color: var(--primary-800); }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { padding-left: 1.2rem; }
.legal .about-text { overflow-wrap: anywhere; word-break: break-word; }
.legal a { word-break: break-word; }

/* Mobile-Verfeinerungen für Rechteseiten */
@media (max-width: 768px) {
  .legal { padding: 2rem 0 4rem; }
  .legal .about-text { padding: 1.25rem; }
  .legal h1 { font-size: 1.8rem; }
  .legal h2 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .legal h1 { font-size: 1.6rem; }
  .legal h2 { font-size: 1.15rem; }
  .legal p, .legal li { font-size: 1rem; }
}

/* Location */
.location { background: transparent; padding: 4rem 0; }
.location-content { text-align: center; }
/* Heller Titel/Text über Bildhintergrund */
.location h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #f8fbff; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.location-content p { color: rgba(255,255,255,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
/* Glas-Karten mit linken Akzentstreifen */
.location-option {
  position: relative;
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 2rem 2rem 2rem 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}
.location-option::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-top-left-radius: 16px; border-bottom-left-radius: 16px; background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 100%); }
.location-option h3 { color: var(--primary-800); margin-bottom: .5rem; }

/* Testimonials */
.testimonials { padding: 6rem 0; background: transparent; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial { background: var(--card); padding: 2rem; border-radius: var(--radius); box-shadow: 0 5px 15px rgba(0,0,0,0.1); position: relative; }
.testimonial::before { content: '"'; position: absolute; top: -10px; left: 20px; font-size: 4rem; color: var(--brand); opacity: 0.3; }
.testimonial p { font-style: italic; margin-bottom: 1rem; color: var(--muted); }
.testimonial-author { font-weight: bold; color: var(--primary-800); }

/* How it works */
.how { padding: 6rem 0; background: transparent; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.how-step { background: var(--card); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); position: relative; }
.step-num { position: absolute; top: -14px; left: -14px; background: var(--accent); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 6px 18px rgba(255,107,53,.35); }
.how-cta { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* Medien/Galerie */
.media { padding: 6rem 0; background: transparent; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.media-card { background: rgba(255,255,255,0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.35); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,0.10); transition: transform .2s ease, box-shadow .2s ease; }
.media-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,0.14); }
.media-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.media-meta { padding: .9rem .9rem 1.1rem; }
.media-meta h3 { color: var(--primary-800); font-size: 1.05rem; margin-bottom: .35rem; }
.media-meta p { color: var(--muted); font-size: .98rem; }
.gallery-cta { margin-top: 2rem; }

/* Pricing */
.pricing { padding: 6rem 0; background: transparent; }
.pricing-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; }
.pricing-tab {
  background: rgba(255,255,255,0.14);
  color: #f7fbff;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  padding: .6rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pricing-tab:hover { background: rgba(255,255,255,0.22); }
.pricing-tab.is-active { background: var(--accent); border-color: transparent; color: #fff; }

.pricing-panels { margin-top: 1rem; }
.pricing-panel { display: block; }
.pricing-panel[hidden] { display: none; }

.price-card {
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}
.price-card-title { color: var(--primary-800); margin-bottom: .75rem; }
.price-list { list-style: none; margin: 1rem 0 1.5rem; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.price-name { color: var(--muted); }
.price-value { font-weight: 800; color: var(--primary-800); }
.package-prices { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.package { background: rgba(14,42,58,0.10); border: 1px solid rgba(14,42,58,0.22); border-radius: 12px; padding: .6rem .8rem; display: inline-flex; align-items: baseline; gap: .5rem; }
.package span { color: var(--primary-700); font-weight: 700; }
.package strong { color: var(--primary-800); font-size: 1.1rem; }
.price-hint { margin-top: 1rem; color: #856404; background: #fff3cd; border: 1px solid #ffeaa7; border-radius: 10px; padding: .9rem 1rem; }

/* CTA Band (entfernt) */

/* Contact */
.contact { padding: 6rem 0; background: rgba(14,42,58,0.50); color: white; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,0.18); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact h2 { font-size: 2.5rem; margin-bottom: 2rem; }
.contact-form { background: rgba(255,255,255,0.1); padding: 2rem; border-radius: var(--radius); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.contact-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.contact-form .form-group label { display:block; font-weight:600; margin-bottom: .35rem; }
.contact-form input, .contact-form textarea, .contact-form select { width:100%; padding:.75rem .9rem; border-radius:.75rem; border:1px solid rgba(var(--card-rgb,225,232,239),.35); background: rgba(var(--surface-rgb,20,28,36), .6); color: var(--text, #eaf1f7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.contact-form textarea { min-height: 120px; resize: vertical; }

@media (max-width: 768px){
  .contact-form .form-row { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group label.required::after { content: ' *'; color: #d32f2f; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: none; border-radius: 8px; font-size: 1rem; background: rgba(255,255,255,0.9); }
.form-group textarea { height: 120px; resize: vertical; }

/* Checkboxen im Formular */
.form-check { display: flex; align-items: flex-start; gap: .5rem; margin: .45rem 0; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--accent); }
.form-check label { color: var(--text, #eaf1f7); }
.contact .form-check label a { color: #eaf1f7; text-decoration: underline; }

.btn { background: var(--accent); color: white; padding: 1rem 2rem; border: none; border-radius: 50px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block; }
.btn:hover { background: #e55a2e; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4); }
.whatsapp-btn { background: #25d366; margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.whatsapp-btn:hover { background: #20ba5a; }

/* Footer */
.footer { background: rgba(0,0,0,0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: white; padding: 3rem 0 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 2rem; align-items: start; margin-bottom: 1.5rem; }
.footer-brand p { color: #cfcfcf; margin: .5rem 0 1rem; }
.footer-col h4 { margin-bottom: .75rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { color: #ddd; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-address { font-style: normal; color: #ddd; line-height: 1.6; }
.footer-address a { color: #ddd; }
.footer-address a:hover { color: #fff; text-decoration: underline; }
.social-links { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.social-link { display: inline-flex; width: 50px; height: 50px; background: transparent; border: 2px solid rgba(255,255,255,0.35); border-radius: 50%; color: white; text-decoration: none; align-items: center; justify-content: center; font-size: 1.2rem; transition: border-color 0.3s, background 0.3s; }
.social-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.65); }
.social-link img { width: 26px; height: 26px; object-fit: contain; display: block; filter: none; }
.footer-copy { text-align: center; color: #bdbdbd; margin-top: 1rem; }

/* Animations on scroll (initial state set via JS) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

/* Admin page helpers */
.admin-wrap { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.admin-card {
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
  margin-bottom: 1.25rem;
}
.admin-card h2 { color: var(--primary-800); margin: .25rem 0 .5rem; font-size: 1.6rem; letter-spacing: .2px; }
.admin-card .muted { color: #6b7280; margin-bottom: .75rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px){ .admin-grid { grid-template-columns: 1fr; } }
.admin-inline { margin:.5rem 0 1rem; display:flex; gap:.75rem; align-items:center; flex-wrap: wrap; }
/* Settings: Labels/Inputs verbessern */
.admin-card .settings-grid label { font-weight: 700; color: var(--primary-800); opacity: .95; }
.admin-card .settings-grid input { background: rgba(255,255,255,0.95); border: 1px solid rgba(0,0,0,0.06); border-radius: 10px; }
.admin-card .settings-grid input:focus { outline: none; border-color: rgba(12,113,195,0.35); box-shadow: 0 0 0 3px rgba(12,113,195,0.15); }
.admin-card .help-inline { color: #6b7280; margin-top: -0.35rem; margin-bottom: .25rem; }
.status-badge { display:inline-block; padding:.25rem .5rem; border-radius:999px; font-size:.85rem; line-height:1; }
.status-badge.is-new { background:#e0f2fe; color:#0369a1; }
.status-badge.is-noted { background:#fef9c3; color:#92400e; }
.status-badge.is-progress { background:#e0e7ff; color:#3730a3; }
.status-badge.is-done { background:#dcfce7; color:#166534; }
/* Tabellen optisch verfeinern */
.admin-card table { width: 100%; border-collapse: collapse; border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.68); }
.admin-card thead th { background: rgba(var(--primary-800-rgb), 0.06); color: var(--primary-800); font-weight: 700; }
.admin-card tbody tr:nth-child(odd) { background: rgba(255,255,255,0.55); }
.admin-card tbody tr:hover { background: rgba(12,113,195,0.06); transition: background .15s ease; }
.admin-card td, .admin-card th { padding: .65rem .75rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.admin-card tbody td[colspan] { color: #6b7280; }
/* Settings-Karte nutzt wieder volle Kartenbreite des Containers */

/* Responsive */
@media (max-width: 768px) {
  /* Header bleibt stets sichtbar */
  .header { position: fixed; left: 0; right: 0; top: 0; }
  body { padding-top: var(--header-height); }
  /* Hamburger sichtbar */
  .nav-toggle { display: inline-flex; }
  /* Burger vor die Schrift (links außen) */
  .nav-toggle { order: -1; }
  /* Mobile-Navigation als schwebende Karte */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 1rem;
    right: 1rem;
    z-index: 150;
    flex-direction: column;
    gap: .5rem;
    padding: .9rem;
    background: rgba(255,255,255,0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  }
  .nav-links li { display: block; }
  .nav-links a { display: block; padding: .7rem .9rem; border-radius: 10px; color: var(--primary-800); background: transparent; }
  .nav-links a:hover { background: rgba(14,42,58,0.06); color: var(--primary-800); text-decoration: none; }
  body.menu-open .nav-links { display: flex; }
  .hero h1 { font-size: 2rem; }
  .cta-band-inner { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-content, .contact-content { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .location-options { grid-template-columns: 1fr; }
  .nav-container { padding: 0 1rem; }
  .container { padding: 0 1rem; }
}

/* Scroll-Sperre, wenn Menü geöffnet ist */
body.menu-open { overflow: hidden; }

/* Zusätzliche Verfeinerungen für sehr kleine Geräte */
@media (max-width: 600px) {
  .services-grid { gap: 1.5rem; }
  .service-card { padding: 1.6rem; }
  .price { font-size: 1rem; }
  .social-link { width: 46px; height: 46px; }
}

@media (max-width: 480px) {
  .intro h1 { font-size: 2.2rem; }
  .intro p { font-size: 1rem; }
  .section-title { font-size: 1.9rem; }
  .section-subtitle { font-size: 1.05rem; margin-bottom: 2.5rem; }
  .service-card { padding: 1.4rem; }
  .feature-card { padding: 1.25rem; }
  .contact { padding: 4rem 0; }
  .social-link { width: 44px; height: 44px; }
}
