/* ==========================================================================
   AUTOGALERIE HERFORD - APPLE AESTHETIC WITH MOTION & GLASS
   ========================================================================== */

:root {
  --bg-main: #09090b;
  --bg-card: rgba(255, 255, 255, 0.038);
  --border-card: rgba(255, 255, 255, 0.085);
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --header-bg: rgba(9, 9, 11, 0.82);
  --input-bg: rgba(255, 255, 255, 0.06);
  --select-option-bg: #1c1c1e;
  --select-option-text: #f5f5f7;
  --wa-green: #25d366;
  --bg-sticky-wrapper: #09090b;
  --bg-topbar: #09090b;
  --text-topbar: #86868b;
  --border-header: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
  --bg-main: #f5f5f7;
  --bg-card: #ffffff;
  --border-card: rgba(0, 0, 0, 0.08);
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --header-bg: rgba(255, 255, 255, 0.88);
  --input-bg: #f0f0f2;
  --select-option-bg: #ffffff;
  --select-option-text: #1d1d1f;
  --wa-green: #25d366;
  --bg-sticky-wrapper: #ffffff;
  --bg-topbar: #f5f5f7;
  --text-topbar: #515154;
  --border-header: rgba(0, 0, 0, 0.08);
}

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

html, body {
  margin: 0 !important;
  padding: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* TOP CONTACT BAR */
.top-bar {
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid var(--border-card);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 6px 24px;
}

.top-bar-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sep { opacity: 0.3; }

.top-contact-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.top-contact-link:hover {
  color: var(--text-main);
}

.wa-pill {
  color: #25d366 !important;
  font-weight: 600;
}

@media (max-width: 820px) {
  .top-bar { display: none; }
}

/* HEADER */
header {
  width: 100%;
  height: 72px;
  background: var(--header-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border-card);
  z-index: 10000;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 24px;
}

.brand-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain;
  display: block;
}

[data-theme="dark"] .brand-logo,
[data-theme="dark"] .brand-logo-footer {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--text-main);
}

.nav-menu a.active {
  color: #2997ff !important;
}

[data-theme="light"] .nav-menu a.active {
  color: #0071e3 !important;
}

@media (max-width: 1140px) and (min-width: 901px) {
  .header-container { padding: 0 16px; }
  .brand-link { margin-right: 14px; }
  .brand-logo { height: 38px !important; max-width: 170px !important; }
  .nav-menu { gap: 14px; }
  .nav-menu a { font-size: 0.82rem; }
  .header-actions { margin-left: 12px; gap: 8px; }
  .btn-cta { padding: 7px 14px; font-size: 0.8rem; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 16px;
}

.btn-theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-theme-toggle:hover {
  transform: scale(1.05);
}

.btn-cta {
  background: #ffffff;
  color: #000000;
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.btn-cta:hover {
  transform: scale(1.02);
  background: #e5e5ea;
}

/* BURGER MENU MOBILE (APPLE LUXURY DESIGN) */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0;
  z-index: 100002;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.04);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle { display: flex !important; }
  .nav-menu {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(9, 9, 11, 0.94) !important;
    backdrop-filter: blur(36px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(180%) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    z-index: 100001 !important;
    padding: 70px 24px 40px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
  }
  .nav-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-menu a {
    font-size: 1.18rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: #f5f5f7 !important;
    padding: 8px 24px !important;
    border-radius: 980px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
  }
  .header-actions .btn-cta { display: none; }
}

/* HERO SECTION MIT ANIMIERTEM AUTO */
.section-hero {
  position: relative;
  padding: 60px 24px 80px;
  overflow: hidden;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-ambient-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.18) 0%, rgba(0,0,0,0) 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.25);
  padding: 6px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary-apple {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-apple:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.btn-secondary-apple {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary-apple:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-wa-hero {
  background: rgba(37, 211, 102, 0.14);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}

.btn-wa-hero:hover {
  background: rgba(37, 211, 102, 0.24);
  transform: translateY(-2px);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 16px 28px;
  border-radius: 18px;
  gap: 24px;
}

.stat-number {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-card);
}

/* HERO CAR ANIMATIONS-STAGE */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-car-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-moving-car {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 113, 227, 0.2);
  animation: carFloat 5s infinite ease-in-out;
  display: block;
}

@keyframes carFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.5deg);
  }
}

.car-floating-badge {
  position: absolute;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 980px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.badge-top {
  top: -14px;
  right: -10px;
  animation: carFloat 5s infinite ease-in-out 0.5s;
}

.badge-bottom {
  bottom: -14px;
  left: -10px;
  animation: carFloat 5s infinite ease-in-out 1s;
}

@media (max-width: 980px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { width: 100%; justify-content: space-around; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.5rem; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat-divider { display: none; }
}

/* SECTIONS ALLGEMEIN */
.section-bestand {
  max-width: 1240px;
  margin: 90px auto 24px auto;
  padding: 0 24px;
}

.section-service, .section-team, .section-about, .section-faq, .section-contact {
  max-width: 1240px;
  margin: 90px auto;
  padding: 0 24px;
}

.section-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}

/* FILTER LEISTE */
.filter-bar-wrapper {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.filter-bar {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 980px;
  border: 1px solid var(--border-card);
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active {
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* FAHRZEUGKARTEN */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.vehicle-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #141416;
}

.vehicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 980px;
}

.vehicle-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 6px;
}

.brand-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
  background: rgba(0, 113, 227, 0.15);
  color: #2997ff;
}

.vehicle-name {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.vehicle-specs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.vehicle-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-tax {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-details {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-details:hover {
  background: #ffffff;
  color: #000000;
}

.bestand-cta-wrap {
  margin-top: 36px;
  margin-bottom: 8px;
  text-align: center;
}

.btn-outline-apple {
  display: inline-block;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-card);
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
}

.btn-outline-apple:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* SECTION BEWERTUNG */
.section-valuation {
  max-width: 880px;
  margin: 100px auto;
  padding: 0 24px;
}

.valuation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 44px 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.section-header-center {
  text-align: center;
  margin-bottom: 28px;
}

.section-title-sm {
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 6px 0;
}

.section-sub-sm {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.val-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.val-tab-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.val-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

.val-tab-content { display: none; }
.val-tab-content.active { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group.full-width { grid-column: span 2; }

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* WICHTIG: FORM SELECT & OPTION CONTRAST FIX */
.form-input {
  background: var(--input-bg);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus { border-color: var(--accent); }
.form-input:disabled { opacity: 0.35; cursor: not-allowed; }

select.form-input option {
  background-color: var(--select-option-bg) !important;
  color: var(--select-option-text) !important;
}

.btn-submit-val {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn-submit-val:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* BEWERTUNGS ERGEBNIS KARTE */
.valuation-result-box {
  margin-top: 28px;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.3);
  padding: 24px;
  border-radius: 18px;
  text-align: center;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge-est {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.result-price-range {
  margin: 14px 0;
}

.price-est-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-est-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.result-disclaimer {
  font-size: 0.74rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 20px;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* BOSCH SERVICE GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.2s;
}

.service-card:hover { transform: translateY(-3px); }
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* ABOUT SECTION */
.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.about-text .section-title, .about-text .section-badge { text-align: left; }
.about-text p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.7; margin-bottom: 24px; }
.about-usps { display: flex; flex-direction: column; gap: 12px; }
.usp-row { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; }
.usp-check { color: #34c759; font-weight: 700; font-size: 1.1rem; }

.about-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 36px;
  text-align: left;
}

.address-lead { color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.about-metrics { margin-bottom: 24px; padding: 16px 0; border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card); }
.about-metrics strong { display: block; font-size: 1.3rem; color: var(--accent); }
.about-metrics span { font-size: 0.82rem; color: var(--text-muted); }

.btn-maps {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

/* FAQ SECTION (ACCORDION) */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.faq-item:hover {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 10px 28px -6px rgba(0, 113, 227, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: #0071e3 !important;
  box-shadow: 0 16px 38px -8px rgba(0, 113, 227, 0.35), 0 0 0 1px rgba(0, 113, 227, 0.55), 0 0 25px rgba(0, 113, 227, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.07) 0%, var(--bg-card) 100%) !important;
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-item:hover .faq-question {
  color: var(--text-main);
}

.faq-item.active .faq-question {
  color: #ffffff;
}

.faq-arrow {
  font-size: 1.45rem;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease, text-shadow 0.25s ease;
  line-height: 1;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item:hover .faq-arrow {
  color: #2997ff;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
  color: #2997ff;
  text-shadow: 0 0 12px rgba(0, 113, 227, 0.7);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .faq-item:hover {
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 10px 26px -6px rgba(0, 113, 227, 0.2);
}

[data-theme="light"] .faq-item.active {
  border-color: #0071e3 !important;
  box-shadow: 0 14px 34px -8px rgba(0, 113, 227, 0.28), 0 0 0 1px rgba(0, 113, 227, 0.4), 0 0 20px rgba(0, 113, 227, 0.15) !important;
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.04) 0%, #ffffff 100%) !important;
}

[data-theme="light"] .faq-item.active .faq-question {
  color: #0071e3;
}

/* REVIEWS SECTION */
.section-reviews {
  max-width: 980px;
  margin: 70px auto;
  padding: 0 24px;
  text-align: center;
}

.reviews-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 44px 32px;
  border-radius: 24px;
}

.review-score { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.review-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-card); padding: 24px; border-radius: 16px; }
.review-stars { color: #ffb800; font-size: 1.1rem; margin-bottom: 8px; }
.review-card p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 12px; }
.review-author { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

.btn-google-reviews {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-card);
  padding: 10px 22px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.2s;
}

.btn-google-reviews:hover { background: #fff; color: #000; }

/* KONTAKT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  height: 100%;
  box-sizing: border-box;
}

.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 600; }
.contact-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card-actions {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
}

.card-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  color: #fff;
  padding: 10px 18px;
  border-radius: 980px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  line-height: 1.2;
}

.card-btn-action:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wa-bg {
  background: rgba(37, 211, 102, 0.18) !important;
  color: #25d366 !important;
  border-color: rgba(37, 211, 102, 0.4) !important;
}

.wa-bg:hover {
  background: #25d366 !important;
  color: #ffffff !important;
}

[data-theme="light"] .contact-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card-btn-action {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.1);
  color: #1d1d1f;
}

[data-theme="light"] .card-btn-action:hover {
  background: #000000;
  color: #ffffff;
}

[data-theme="light"] .wa-bg {
  background: rgba(37, 211, 102, 0.12) !important;
  color: #128c7e !important;
  border-color: rgba(37, 211, 102, 0.3) !important;
}

[data-theme="light"] .wa-bg:hover {
  background: #25d366 !important;
  color: #ffffff !important;
}

/* MODAL DETAIL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}

.modal-img-wrap { width: 100%; height: 260px; background: #000; }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 24px; text-align: left; }
.modal-specs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 16px 0; font-size: 0.85rem; color: var(--text-muted); }
.modal-price-wrap { display: flex; align-items: baseline; gap: 8px; margin: 18px 0; }
.modal-price-label { font-size: 0.85rem; color: var(--text-muted); }
.modal-price { font-size: 1.8rem; font-weight: 800; color: #fff; }
.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.modal-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  border-radius: 980px !important;
  line-height: 1.2 !important;
}
.modal-action-btn .btn-icon {
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

/* STICKY FLOATING QUICK ACTIONS (WHATSAPP & CALL) */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  padding: 0 !important;
  line-height: 1 !important;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn svg {
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.float-call {
  background: #ffffff;
  color: #111111;
}

.float-call svg {
  stroke: #111111;
}

.float-wa {
  background: var(--wa-green);
  color: #ffffff;
  animation: pulseWa 2.5s infinite;
}

.float-wa svg {
  stroke: #ffffff;
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(10px);
}

.float-wa:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-card);
  padding: 60px 24px 30px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  text-align: left;
}

.brand-logo-footer {
  height: 44px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}
.footer-col h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 14px; color: var(--text-main); }
.footer-col p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }

.footer-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-card);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); text-decoration: none; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
  .about-container { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .vehicle-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
}


[data-theme="light"] .brand-logo,
[data-theme="light"] .brand-logo-footer {
  filter: brightness(0.15) contrast(1.2);
}
[data-theme="dark"] .brand-logo,
[data-theme="dark"] .brand-logo-footer {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45));
}

[data-theme="light"] .nav-menu a {
  color: #1d1d1f;
}
[data-theme="light"] .nav-menu a:hover {
  color: #0071e3;
}
[data-theme="light"] .btn-cta {
  background: #000000;
  color: #ffffff;
}
[data-theme="light"] .btn-theme-toggle {
  color: #1d1d1f;
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .menu-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .menu-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .menu-toggle span {
  background: #1d1d1f !important;
}

@media (max-width: 900px) {
  [data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  [data-theme="light"] .nav-menu a {
    color: #1d1d1f !important;
  }
  [data-theme="light"] .nav-menu a:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0071e3 !important;
  }
}

.opening-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
}
.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-open .status-indicator-dot {
  background-color: #34c759;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.7);
  animation: statusPulse 2s infinite ease-in-out;
}
.status-open .status-text { color: #34c759; }
.status-closed .status-indicator-dot { background-color: #8e8e93; }
.status-closed .status-text { color: #8e8e93; }
@keyframes statusPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.2); }
}

svg.icon-inline {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
/* ==========================================================================
   KLICK-BLOCKADEN FIX & INTERAKTIONS-PRIORISIERUNG
   ========================================================================== */

/* 1. Deko- & Ambient-Elemente klick-durchlässig machen */
.hero-ambient-glow,
.car-headlight-beam,
.car-road-glow,
.pulse-dot {
  pointer-events: none !important;
}

/* 2. Modal standardmäßig komplett deaktivieren */
#car-modal:not(.is-open) {
  display: none !important;
  pointer-events: none !important;
}
#car-modal.is-open {
  display: flex !important;
  pointer-events: auto !important;
}

/* 3. Alle Buttons, Filter und Eingabefelder klick-priorisieren */
.filter-bar-wrapper,
.filter-bar,
.filter-btn,
.val-tabs-nav,
.val-tab-btn,
.form-grid,
.form-group,
.form-input,
select,
input,
button {
  position: relative;
  z-index: 25 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

input, select {
  cursor: text;
}
select {
  cursor: pointer;
}
/* === 1. FLUSH STICKY FIX === */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Der Wrapper klebt exakt bei 0px ganz oben */
.sticky-header-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--bg-sticky-wrapper) !important;
  border-bottom: 1px solid var(--border-header) !important;
}

.top-bar {
  margin: 0 !important;
  background-color: var(--bg-topbar) !important;
  color: var(--text-topbar) !important;
  border-bottom: 1px solid var(--border-header) !important;
}

[data-theme="light"] .top-bar span,
[data-theme="light"] .top-contact-link {
  color: #515154 !important;
}
[data-theme="light"] .top-contact-link:hover {
  color: #000000 !important;
}

header, #main-header {
  position: static !important; /* Nicht mehr separat sticky/fixed, das macht der Wrapper */
  top: auto !important;
  margin: 0 !important;
}

/* Body erhält genau den Abstand der beiden Leisten zusammen (ca. 120px), damit nichts verdeckt wird */
body {
  padding-top: 120px !important;
}

@media (max-width: 820px) {
  body {
    padding-top: 72px !important;
  }
}

/* === 2. ICON BADGES & HOVER GLOW & ZENTRIERUNG === */
.service-card,
.contact-card,
.partner-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.service-icon,
.service-icon-badge,
.contact-icon,
.partner-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  background: rgba(0, 113, 227, 0.12) !important;
  border: 1px solid rgba(0, 113, 227, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 18px auto !important;
  line-height: 1 !important;
  padding: 0 !important;
  color: #2997ff;
}

.service-icon-badge span,
.service-icon-badge svg,
.service-icon span,
.service-icon svg,
.contact-icon span,
.contact-icon svg,
.partner-icon span,
.partner-icon svg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.service-card p,
.contact-card p,
.partner-box p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* === MOBIL BURGER CLOSE BUTTON === */
.nav-close-wrapper {
  display: none;
  width: 100%;
  justify-content: flex-end;
  padding: 10px 24px 0;
}

@media (max-width: 900px) {
  .nav-close-wrapper {
    display: flex !important;
    position: absolute;
    top: 18px;
    right: 18px;
  }
  .nav-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.06);
  }
  [data-theme="light"] .nav-close-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
    color: #1d1d1f;
  }
  [data-theme="light"] .nav-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 960px;
  background: rgba(18, 18, 22, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 22px 28px;
  z-index: 9999999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
[data-theme="light"] .cookie-banner {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-text h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-main);
}
.cookie-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}
.btn-cookie-essential {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-card);
  padding: 10px 20px;
  border-radius: 980px;
  font-size: 0.86rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .cookie-content { flex-direction: column; text-align: left; }
  .cookie-actions { width: 100%; flex-direction: column; }
  .btn-cookie-accept, .btn-cookie-essential { width: 100%; }
}

.service-card:hover, .contact-card:hover, .partner-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 113, 227, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* === 3. REVIEWS SLIDER === */
.reviews-wrap {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.reviews-carousel {
  position: relative;
  max-width: 960px;
  margin: 30px auto 0;
  overflow: hidden;
  padding-bottom: 50px;
}
.reviews-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.review-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 16px 72px; /* Ausreichend Abstand, damit Pfeile die Kachel niemals überdecken */
}
.review-card-modern {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.review-stars {
  color: #ffd700;
  margin-bottom: 16px;
  font-size: 1.25rem;
  letter-spacing: 2px;
}
.review-text {
  font-size: 1.12rem;
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
  color: var(--text-main);
}
.review-author {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.review-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.slider-controls {
  position: absolute;
  top: calc(50% - 25px); /* Exakt vertikal auf die Rezensionskarte zentriert */
  left: 8px;
  width: calc(100% - 16px);
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-main);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.35);
}
[data-theme="light"] .review-card-modern {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .slider-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .slider-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
[data-theme="light"] .slider-dot {
  background: rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .slider-dot.active {
  background: var(--accent);
}

.reviews-cta-wrap {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.btn-google-reviews-prominent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}
.btn-google-reviews-prominent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}
[data-theme="light"] .btn-google-reviews-prominent {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .btn-google-reviews-prominent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.google-review-header-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s;
}
.google-review-header-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .review-slide {
    padding: 12px 56px;
  }
  .review-card-modern {
    padding: 28px 18px;
  }
  .slider-controls {
    left: 4px;
    width: calc(100% - 8px);
  }
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .review-slide {
    padding: 10px 12px 64px 12px;
  }
  .slider-controls {
    top: auto;
    bottom: 2px;
    transform: none;
    left: 18px;
    width: calc(100% - 36px);
    justify-content: space-between;
  }
  .slider-dots {
    bottom: 14px;
  }
}

/* === 4. KOMMISSION === */
.section-commission,
.section-kommission {
  padding: 20px 24px 60px;
  max-width: 1240px;
  margin: 0 auto;
}
.commission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  backdrop-filter: blur(20px);
}
.commission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 36px 0;
  text-align: center;
}
.com-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}
.com-col:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.4);
}
.com-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.com-col h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}
.com-col p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.com-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
[data-theme="light"] .commission-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .com-col {
  background: #fbfbfd;
  border-color: rgba(0, 0, 0, 0.06);
}

/* === RECHTLICHE SEITEN (IMPRESSUM, DATENSCHUTZ, AGB) === */
.section-legal {
  padding: 60px 24px 100px;
  max-width: 1000px;
  margin: 0 auto;
}
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}
[data-theme="light"] .legal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}
.legal-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text-main);
}
.legal-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 20px;
}
.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text-main);
}
.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text-main);
}
.legal-content p, .legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-highlight-box {
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-highlight-box p {
  margin: 0;
  color: var(--text-main);
}
@media (max-width: 768px) {
  .legal-card {
    padding: 28px 20px;
  }
  .legal-title {
    font-size: 1.8rem;
  }
}

/* === GOOGLE MAPS 2-CLICK EMBED === */
.map-wrapper {
  margin-top: 40px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}
.map-placeholder {
  padding: 60px 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 113, 227, 0.08) 0%, rgba(9, 9, 11, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="light"] .map-placeholder {
  background: radial-gradient(circle at center, rgba(0, 113, 227, 0.05) 0%, rgba(245, 245, 247, 0.8) 100%);
}
.map-placeholder-content {
  max-width: 580px;
  margin: 0 auto;
}
.map-placeholder-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}
.map-placeholder-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.map-direct-links {
  margin-top: 18px;
}
.map-external-link {
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s;
}
.map-external-link:hover {
  opacity: 0.8;
}
.map-iframe-container iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

.com-badge {
  background: rgba(0, 113, 227, 0.14) !important;
  border: 1px solid rgba(0, 113, 227, 0.3) !important;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2) !important;
  color: #2997ff !important;
}

/* ==========================================================================
   TEAM SECTION (APPLE LUXURY DESIGN)
   ========================================================================== */
.section-team {
  max-width: 1240px;
  margin: 90px auto;
  padding: 0 24px;
}

.team-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 44px;
  max-width: 920px;
}

.team-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.team-filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.team-filter-btn.active {
  background: var(--text-main);
  color: var(--bg-main);
  border-color: var(--text-main);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .team-filter-btn {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.08);
  color: #6e6e73;
}

[data-theme="light"] .team-filter-btn:hover {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .team-filter-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 113, 227, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.team-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.8;
  overflow: hidden;
  background: #111114;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-dept-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 980px;
  z-index: 2;
}

.team-info {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.team-role {
  color: #0071e3;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.4;
}

.team-contact-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  transition: all 0.2s ease;
  word-break: break-all;
}

.team-contact-link:hover {
  background: rgba(0, 113, 227, 0.14);
  border-color: rgba(0, 113, 227, 0.38);
  color: #ffffff;
  transform: translateX(2px);
}

.team-contact-link svg {
  flex-shrink: 0;
  color: #0071e3;
}

[data-theme="light"] .team-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .team-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 113, 227, 0.15), 0 2px 8px rgba(0,0,0,0.04);
  border-color: rgba(0, 113, 227, 0.35);
}

[data-theme="light"] .team-img-wrap {
  background: #f0f0f2;
}

[data-theme="light"] .team-contact-link {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.06);
  color: #515154;
}

[data-theme="light"] .team-contact-link:hover {
  background: rgba(0, 113, 227, 0.08);
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.3);
}

.team-card.is-hidden {
  display: none !important;
}

/* ==========================================================================
   KONTAKTFORMULAR & VALIDIERUNG (APPLE LUXURY STYLE)
   ========================================================================== */
.contact-form-section {
  margin-top: 48px;
  margin-bottom: 48px;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: start;
}

.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 36px 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.contact-info-panel h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.contact-info-panel p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.45;
}

.contact-benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.15);
  color: #0071e3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

.contact-quick-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-quick-item:hover {
  color: #0071e3;
  transform: translateX(3px);
}

.contact-quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0071e3;
}

/* FORMULAR KARTE */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px 36px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.contact-form-card .form-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  margin-bottom: 18px;
}

.form-grid-row .form-group {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .req-star {
  color: #ff453a;
  margin-left: 3px;
}

.form-label .label-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-size: 0.94rem;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.22);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2386868b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select.form-control option {
  background: #1c1c1e;
  color: #ffffff;
}

/* VALIDIERUNG STATUS-KLASSEN */
.form-control.is-invalid {
  border-color: #ff453a !important;
  background: rgba(255, 69, 58, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.18) !important;
}

.form-control.is-valid {
  border-color: #30d158 !important;
  background: rgba(48, 209, 88, 0.04) !important;
}

.field-error-msg {
  display: none;
  font-size: 0.78rem;
  color: #ff453a;
  line-height: 1.35;
  margin-top: 2px;
}

.form-control.is-invalid + .field-error-msg,
.form-group.has-error .field-error-msg {
  display: block;
}

/* SPAM HONEYPOT TRAP (UNSICHTBAR FÜR MENSCHEN) */
.form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* DATENSCHUTZ CHECKBOX */
.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 24px 0;
  cursor: pointer;
  user-select: none;
}

.form-checkbox-row input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #0071e3;
  margin-top: 2px;
  cursor: pointer;
  border-radius: 5px;
  flex-shrink: 0;
}

.checkbox-label-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkbox-label-text a {
  color: #0071e3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox-label-text a:hover {
  color: #2997ff;
}

/* SUBMIT BUTTON */
.btn-submit-contact {
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.35);
}

.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 113, 227, 0.5);
  background: linear-gradient(135deg, #0077ed 0%, #0060c4 100%);
}

.btn-submit-contact:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

.btn-submit-contact.is-loading .btn-spinner {
  display: inline-block;
}

.btn-submit-contact.is-loading .btn-text-content {
  opacity: 0.8;
}

/* SUCCESS BANNER NACH VERSAND */
.form-success-banner {
  display: none;
  background: rgba(48, 209, 88, 0.08);
  border: 1px solid rgba(48, 209, 88, 0.35);
  border-radius: 18px;
  padding: 24px;
  margin-top: 20px;
  animation: fadeInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-banner.is-active {
  display: block;
}

.success-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.success-check-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #30d158;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.form-success-banner h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #30d158;
  margin: 0;
}

.form-success-banner p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.success-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-preview-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 113, 227, 0.15);
  border: 1px solid rgba(0, 113, 227, 0.4);
  color: #2997ff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preview-email:hover {
  background: #0071e3;
  color: #ffffff;
}

.btn-reset-form {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 980px;
  cursor: pointer;
}

.btn-reset-form:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.3);
}

/* EMAIL PREVIEW MODAL */
.email-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 100060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.email-preview-modal.is-open {
  display: flex;
}

.email-preview-dialog {
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
  animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.email-preview-header {
  padding: 16px 22px;
  background: #1f1f22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.email-preview-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.email-tab-switch {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.email-tab-btn {
  background: transparent;
  border: none;
  color: #a1a1a6;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.email-tab-btn.active {
  background: #0071e3;
  color: #ffffff;
}

.email-preview-close {
  background: transparent;
  border: none;
  color: #a1a1a6;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.email-preview-close:hover {
  color: #ffffff;
}

.email-preview-body {
  flex: 1;
  overflow-y: auto;
  background: #0b0b0c;
  padding: 20px;
}

.email-preview-iframe {
  width: 100%;
  height: 520px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
}

/* ==========================================================================
   SUBPAGES DESIGN SYSTEM (HERO, BREADCRUMBS, SEO & GEO BLOCKS)
   ========================================================================== */
.subpage-hero {
  position: relative;
  padding: 40px 24px 60px 24px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 113, 227, 0.16) 0%, transparent 65%);
  border-bottom: 1px solid var(--border-card);
}

.subpage-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* BREADCRUMBS */
.breadcrumb-nav {
  margin-bottom: 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #0071e3;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.breadcrumb-list span[aria-current="page"] {
  color: var(--text-main);
  font-weight: 500;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.12);
  padding: 6px 14px;
  border-radius: 980px;
  border: 1px solid rgba(0, 113, 227, 0.25);
  margin-bottom: 16px;
}

.subpage-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 18px;
}

.subpage-lead {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 30px;
}

.subpage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}

.subpage-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 22px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  margin-top: 10px;
}

.subpage-stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.subpage-stat-val {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.subpage-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* INHALTSLAYOUT FÜR SUBPAGES */
.subpage-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}

.seo-rich-article {
  margin-bottom: 60px;
}

.seo-rich-article h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  line-height: 1.25;
}

.seo-rich-article p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.seo-rich-article p strong {
  color: var(--text-main);
}

/* BENEFIT / FEATURE GRIDS */
.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.seo-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.seo-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.seo-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 113, 227, 0.12);
  color: #0071e3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.seo-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.seo-feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* SCHRITTE / PROCESS FLOW */
.process-flow-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 36px 0;
  position: relative;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
}

.step-number-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.12);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.process-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.process-step-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* VERGLEICHSTABELLE */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 36px 0;
  border-radius: 18px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table th.col-highlight {
  background: rgba(0, 113, 227, 0.12);
  color: #2997ff;
}

.comparison-table td.col-highlight {
  background: rgba(0, 113, 227, 0.04);
  font-weight: 600;
  color: var(--text-main);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* GEO KEYWORD CHIPS & REGIONS BOX */
.geo-regions-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px;
  margin: 48px 0;
}

.geo-regions-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.geo-regions-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.geo-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.geo-tag:hover {
  background: rgba(0, 113, 227, 0.12);
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.35);
  transform: translateY(-1px);
}

/* PROMINENTE CTA BANNER BOX */
.page-cta-banner {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.2) 0%, rgba(20, 20, 24, 0.9) 100%);
  border: 1px solid rgba(0, 113, 227, 0.4);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-cta-banner h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-cta-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.page-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* FAQ SUCHE AUF SUBPAGE */
.faq-search-wrapper {
  margin-bottom: 32px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 16px 20px 16px 46px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* LIGHT THEME OVERRIDES FÜR FORMULARE & SUBPAGES */
[data-theme="light"] .contact-info-panel,
[data-theme="light"] .contact-form-card,
[data-theme="light"] .subpage-stats-bar,
[data-theme="light"] .seo-feature-card,
[data-theme="light"] .process-step-card,
[data-theme="light"] .comparison-table-wrapper,
[data-theme="light"] .geo-regions-box,
[data-theme="light"] .faq-search-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .form-control {
  background: #fbfbfd;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
}

[data-theme="light"] .form-control:focus {
  background: #ffffff;
  border-color: #0071e3;
}

[data-theme="light"] select.form-control option {
  background: #ffffff;
  color: #1d1d1f;
}

[data-theme="light"] .contact-quick-box {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .contact-quick-icon {
  background: #ffffff;
}

[data-theme="light"] .geo-tag {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.08);
  color: #515154;
}

[data-theme="light"] .subpage-hero {
  background: radial-gradient(circle at 50% 10%, rgba(0, 113, 227, 0.08) 0%, transparent 65%);
}

[data-theme="light"] .page-cta-banner {
  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
  border: none;
  box-shadow: 0 16px 40px rgba(0, 113, 227, 0.25);
}

/* RESPONSIVE DESIGN FÜR FORMULAR & SUBPAGES */
@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .form-grid-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .contact-form-card {
    padding: 28px 20px;
  }

  .subpage-hero {
    padding: 30px 18px 40px 18px;
  }

  .subpage-stats-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .subpage-stats-bar {
    grid-template-columns: 1fr;
  }

  .page-cta-banner {
    padding: 36px 20px;
  }

  .email-preview-modal {
    padding: 10px;
  }
}