﻿/* ═══════════════════════════════════════════════════
   Layout & Komponenten — Farben in variables.css
   ═══════════════════════════════════════════════════ */

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--scroll-gap));
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  position: relative;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(140% 120% at 50% 38%, transparent 55%, rgba(0, 0, 0, 0.5) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(1200px 680px at 10% -12%, rgba(255, 122, 26, 0.18), transparent 62%),
    radial-gradient(1000px 620px at 104% 6%, var(--color-cool-glow), transparent 58%),
    radial-gradient(820px 560px at 50% 112%, rgba(255, 122, 26, 0.1), transparent 62%),
    radial-gradient(600px 420px at -6% 60%, var(--color-cool-glow-soft), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 340px),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-repeat: no-repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-position: center, 0 0, top left, top right, bottom center, center left, top center, 0 0;
  background-size: auto, 140px 140px, auto, auto, auto, auto, auto, 26px 26px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* Zusätzliche, langsam driftende Lichter für ein "lebendiges" Premium-Hintergrundgefühl.
   Rein dekorativ, ohne Layout-Einfluss (position: fixed, hinter dem Inhalt). */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  will-change: transform;
}

body::before {
  top: -12vw;
  right: -10vw;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.18), transparent 70%);
  animation: bgDrift1 34s ease-in-out infinite alternate;
}

body::after {
  bottom: -16vw;
  left: -12vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-cool-glow), transparent 72%);
  animation: bgDrift2 40s ease-in-out infinite alternate;
}

@keyframes bgDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 3%) scale(1.08); }
}

@keyframes bgDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, -4%) scale(1.06); }
}

/* Sanftes Parallax-Gefühl auf größeren Bildschirmen (auf Mobile aus Performance-Gründen aus) */
@media (min-width: 900px) {
  body {
    background-attachment: fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

@media (max-width: 900px) {
  body::before,
  body::after {
    display: none;
  }
}

/* Feiner Chrom-Scrollbalken für den Premium-Look */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-border-strong), var(--color-surface-3));
  border-radius: 999px;
  border: 3px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

* {
  scrollbar-color: var(--color-border-strong) var(--color-bg);
}

/* In-Game-Browser: keine Auto-Links für erkannte Nummern/Daten */
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* Chrom-Verlauf für Überschriften, passend zum Logo-Schriftzug */
.chrome-text {
  background: linear-gradient(180deg, var(--color-chrome-1) 10%, var(--color-chrome-2) 55%, var(--color-chrome-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--color-chrome-2);
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

code {
  font-size: 0.9em;
  background: var(--color-surface-2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.text-center {
  text-align: center;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

/* Feiner Glas-Highlight am oberen Rand für mehr Tiefe/Modernität */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 50%, transparent);
  pointer-events: none;
}

.site-main {
  flex: 1;
  padding: 32px 0 48px;
}

#page-content {
  min-height: 200px;
}

.page-loading {
  text-align: center;
  padding: 48px;
  color: var(--color-text-muted);
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.alert-error {
  background: var(--color-closed-bg);
  color: var(--color-closed);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ── Hinweis-Banner (ersetzt vorheriges Lauftext/Marquee) ──
   Statt endlos scrollendem Text: ruhige Karte mit wackelndem
   Glocken-Icon und einem dezenten Lichtschein, der einmalig alle
   paar Sekunden durchläuft — wirkt lebendig, bleibt aber lesbar. */

.notice-banner {
  padding: 0 0 28px;
}

.notice-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--container-max);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.14), rgba(255, 122, 26, 0.04));
  border: 1px solid rgba(255, 122, 26, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.06), 0 8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-sizing: border-box;
}

.notice-banner-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.14) 45%, transparent 60%);
  transform: translateX(-120%);
  animation: noticeShine 5s ease-in-out infinite;
  pointer-events: none;
}

.notice-banner-icon {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-2);
  transform-origin: top center;
  animation: noticeBell 3.4s ease-in-out infinite;
}

.notice-banner-icon svg {
  width: 19px;
  height: 19px;
}

.notice-banner-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-2);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

@keyframes noticeShine {
  0% { transform: translateX(-120%); }
  35%, 100% { transform: translateX(220%); }
}

@keyframes noticeBell {
  0%, 92%, 100% { transform: rotate(0deg); }
  93% { transform: rotate(-12deg); }
  94.5% { transform: rotate(10deg); }
  96% { transform: rotate(-7deg); }
  97.5% { transform: rotate(4deg); }
}

@media (max-width: 640px) {
  .notice-banner-inner {
    padding: 12px 16px;
    gap: 10px;
  }

  .notice-banner-text {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-banner-inner::before,
  .notice-banner-icon {
    animation: none;
  }
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(600px 80px at 15% 0%, rgba(255, 122, 26, 0.08), transparent 70%),
    rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(255, 122, 26, 0.15), var(--shadow-sm);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-glow) 50%, transparent);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: var(--header-height);
  padding: 12px 0 8px;
  box-sizing: border-box;
}

.logo-link {
  display: flex;
  align-items: center;
  align-self: stretch;
  max-width: min(360px, 42vw);
  padding: 4px 0 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-logo {
  display: block;
  height: calc(var(--header-height) - 24px);
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 122, 26, 0.25));
  transition: filter var(--transition);
}

.logo-link:hover .site-logo {
  filter: drop-shadow(0 0 18px rgba(255, 122, 26, 0.5));
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  white-space: nowrap;
}

.text-phone {
  font-weight: 600;
  color: var(--color-text);
}

.text-email {
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

/* ── Copy to clipboard ── */

.copy-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.copy-btn:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.copy-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.copy-btn--success {
  color: var(--color-open);
  border-color: var(--color-open);
  background: var(--color-open-bg);
}

.copy-btn--error {
  color: var(--color-closed);
  border-color: var(--color-closed);
  background: var(--color-closed-bg);
}

.site-footer .copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #b8bec8;
}

.site-footer .copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.open {
  background: var(--color-open-bg);
  color: var(--color-open);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.35);
}

.status-badge.closed {
  background: var(--color-closed-bg);
  color: var(--color-closed);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

/* ── Navigation ── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.site-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-2);
  background: var(--color-accent-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.25), 0 0 16px rgba(255, 122, 26, 0.18);
}

/* CTA-Button in der Navigation (öffnet Modal statt Sektion, daher <button> statt <a>) */
.nav-link--cta {
  background: none;
  border: none;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  color: var(--color-accent-2);
}

/* ── Footer ── */

.site-footer {
  background: linear-gradient(180deg, #0c0d10 0%, #060708 100%);
  color: #b8bec8;
  padding: 40px 0 36px;
  margin-top: auto;
  position: relative;
  border-top: 1px solid var(--color-border);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 20%, var(--color-accent-2) 50%, var(--color-accent) 80%, transparent);
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo {
  height: 64px;
  width: auto;
}

.footer-brand-text strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-brand-text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b939f;
  margin-bottom: 8px;
}

.footer-contact p {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #e8eaed;
}

.footer-contact p:last-of-type {
  margin-bottom: 0;
}

.footer-contact .text-phone,
.footer-contact .text-email {
  color: #fff;
}

.contact-map-info .text-email {
  color: var(--color-accent);
}

.footer-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
}

.footer-link:hover {
  color: #ff7a2e;
}

.footer-verified {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.verified-logo {
  height: 34px;
  width: auto;
  display: block;
}

.verified-fallback {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #fff;
  opacity: 0.85;
}

/* ── Footer: Eventkalender ── */

.footer-events-wrap {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.footer-event {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 9px 14px 9px 9px;
  min-width: 220px;
  text-decoration: none;
  transition: border-color var(--transition, 0.2s ease), background var(--transition, 0.2s ease);
}

a.footer-event:hover {
  border-color: var(--color-border-strong, #3a3f4a);
  background: rgba(255, 255, 255, 0.06);
}

.footer-event.is-highlight {
  border-color: var(--color-accent);
}

.footer-event-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 48px;
  line-height: 1.15;
  text-align: center;
}

.footer-event-date .d {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.footer-event-date .m {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-event-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-event-info strong {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.3;
}

.footer-event-info span {
  font-size: 0.8rem;
  color: #a7adb8;
  margin-top: 2px;
}

/* ── Footer: Stellenangebote ── */

.footer-jobs-wrap {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-jobs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.footer-job {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 240px;
  max-width: 320px;
  transition: border-color var(--transition, 0.2s ease), background var(--transition, 0.2s ease);
}

.footer-job:hover {
  border-color: var(--color-border-strong, #3a3f4a);
  background: rgba(255, 255, 255, 0.06);
}

.footer-job.is-highlight {
  border-color: var(--color-accent);
}

.footer-job-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.footer-job-info strong {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.3;
}

.footer-job-info span {
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-top: 2px;
  font-weight: 600;
}

.footer-job-info p {
  font-size: 0.8rem;
  color: #a7adb8;
  margin: 4px 0 0;
  line-height: 1.4;
}

.footer-job-apply {
  flex-shrink: 0;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition, 0.2s ease);
}

.footer-job-apply:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* ── Mobile bar ── */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 16px;
  background: rgba(12, 13, 16, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.15;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.mobile-bar-btn--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.mobile-bar-btn--accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* ── Responsive header ── */

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .header-meta .header-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .site-nav.nav-open {
    max-height: 480px;
  }

  .nav-list {
    flex-direction: column;
    padding: 8px 0;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1.2rem;
  }

  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: var(--mobile-bar-height);
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 16px);
    scroll-padding-bottom: var(--mobile-bar-height);
  }

  .page-section {
    scroll-margin-top: calc(var(--header-height) + 16px);
    scroll-margin-bottom: var(--mobile-bar-height);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 12px;
  }

  .footer-contact {
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-verified {
    justify-content: center;
    padding-top: 8px;
  }

  .verified-logo {
    margin: 0 auto;
  }

    .footer-events-list {
    justify-content: center;
  }

  .footer-event {
    min-width: 0;
    width: 100%;
    max-width: 340px;
  }

  .footer-jobs-list {
    justify-content: center;
  }

  .footer-job {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .footer-job-apply {
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .header-meta .status-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent) 60%, var(--color-accent-hover));
  color: #1a0f04;
  font-weight: 700;
  border-color: transparent;
  box-shadow: var(--glow-accent);
}

.btn-primary:hover {
  box-shadow: var(--glow-accent-strong);
  transform: translateY(-1px);
  color: #1a0f04;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-2);
  box-shadow: 0 0 16px rgba(255, 122, 26, 0.2);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Filter chips ── */

.list-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.list-filter:empty {
  display: none;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-2);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent));
  border-color: var(--color-accent);
  color: #1a0f04;
  font-weight: 700;
  box-shadow: var(--glow-accent);
}

.filter-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.sort-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.sort-chip-arrow {
  font-size: 0.95rem;
  line-height: 1;
}

.sort-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-2);
}

.sort-chip.active {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent-2);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.25);
}

/* ── Filter zurücksetzen ── */

.filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  border: 1px dashed var(--color-border-strong);
  border-radius: 999px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-reset-icon {
  width: 13px;
  height: 13px;
  transition: transform 0.35s ease;
}

.filter-reset:hover:not(:disabled) {
  border-style: solid;
  border-color: var(--color-accent);
  color: var(--color-accent-2);
  background: var(--color-accent-soft);
}

.filter-reset:hover:not(:disabled) .filter-reset-icon {
  transform: rotate(-90deg);
}

.filter-reset:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .list-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-sort {
    margin-left: 0;
  }

  .filter-reset {
    justify-content: center;
  }
}

/* ── Vehicle cards ── */

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vehicle-list-item {
  position: relative;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.vehicle-list-item::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18) 50%, transparent);
  pointer-events: none;
}

.vehicle-list-item:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 122, 26, 0.32), 0 0 34px rgba(255, 122, 26, 0.18);
  border-color: var(--color-accent);
  transform: translateY(-6px);
}

/* ── Modal ── */
.vehicle-list-item--compact {
  cursor: pointer;
}

.vehicle-list-item--compact:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Modal ohne Bild */
.vehicle-modal-top--no-image {
  grid-template-columns: 1fr;
}

.vehicle-body--compact {
  padding: 12px 14px 14px;
  gap: 6px;
}

.vehicle-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 2px 0 4px;
}

.vehicle-list-meta .vehicle-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
}

.vehicle-price-compact {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}

.vehicle-price-compact small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.vehicle-price-more {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.vehicle-list-item .picture {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 45% at 50% 82%, rgba(255, 122, 26, 0.16), transparent 70%),
    radial-gradient(ellipse 75% 65% at 50% 30%, rgba(255, 255, 255, 0.05), transparent 65%),
    var(--color-surface-2);
}

.vehicle-list-item .picture img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.vehicle-list-item:hover .picture img {
  transform: scale(1.12);
  filter: brightness(1.05) saturate(1.08);
}

/* ── Bild-Lightbox (Verkauf & Vermietung) ── */
.image-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lightbox-fade-in 0.2s ease;
  cursor: zoom-out;
}

.image-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 122, 26, 0.15);
  animation: lightbox-zoom-in 0.25s ease;
  cursor: default;
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lightbox-zoom-in {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.picture-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.vehicle-badge {
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  color: #fff;
}

.vehicle-badge.action-price { background: #2563eb; box-shadow: 0 0 10px rgba(37, 99, 235, 0.5); }
.vehicle-badge.new-vehicle,
.vehicle-badge.available { background: var(--color-open); box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.vehicle-badge.not-available { background: var(--color-closed); box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.vehicle-badge.used-vehicle { background: #7c3aed; box-shadow: 0 0 10px rgba(124, 58, 237, 0.5); }
.vehicle-badge.order-only { background: #d97706; box-shadow: 0 0 10px rgba(217, 119, 6, 0.5); }

.vehicle-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.vehicle-body .caption {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 8px;
}

.vehicle-spec {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.data-caption {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.data-value {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
}

.vehicle-price-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
}

.vehicle-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.vehicle-price-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-2);
  text-shadow: 0 0 16px rgba(255, 122, 26, 0.35);
}

.vehicle-price-value small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.vehicle-prices-compact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
}

.vehicle-price-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.vehicle-price-line span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.vehicle-inquiry-btn {
  width: 100%;
  margin-top: auto;
  padding: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--color-surface-3);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vehicle-inquiry-btn:hover {
  background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent));
  color: #1a0f04;
  border-color: var(--color-accent);
  box-shadow: var(--glow-accent);
}

.no-entries {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
}

/* ── People cards ── */

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.people-card {
  overflow: hidden;
}

.people-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-2);
}

.people-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#partner-grid .people-card-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#partner-grid .people-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#contacts-grid .people-card-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--color-surface-2);
}

#contacts-grid .people-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  background: var(--color-surface);
}

.people-card-body {
  padding: 16px;
}

.people-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.people-info,
.people-role {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.people-phone {
  margin-top: 8px;
  font-weight: 600;
  color: var(--color-accent);
}

/* ── Ansprechpartner (#contacts-grid) — eigenes, edleres Kartendesign:
   runder Avatar mit Chrom-Ring, Hover-Lift/Glow, Rolle als Pill-Badge,
   Telefonnummer als Chip. Nur für Kontakt-Sektion, Partner-Grid bleibt
   unverändert. */

#contacts-grid.people-grid {
  gap: 24px;
}

#contacts-grid .people-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#contacts-grid .people-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 26, 0.4);
  box-shadow: var(--glow-accent);
}

#contacts-grid .people-card-image {
  width: 112px;
  height: 112px;
  aspect-ratio: auto;
  padding: 0;
  margin: 0 0 16px;
  border-radius: 50%;
  background: none;
  flex: none;
}

#contacts-grid .people-card-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-surface-3);
  box-shadow: 0 0 0 4px var(--color-bg), 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: border-color var(--transition);
}

#contacts-grid .people-card:hover .people-card-image img {
  border-color: var(--color-accent);
}

#contacts-grid .people-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contacts-grid .people-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-chrome-1);
}

#contacts-grid .people-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  background: var(--color-accent-soft);
  border: 1px solid rgba(255, 122, 26, 0.3);
  padding: 4px 14px;
  border-radius: 999px;
}

#contacts-grid .people-phone {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 999px;
}

/* ── Partner (#partner-grid) — eigenes Kartendesign für Firmenlogos:
   Logo-Kachel mit dezentem Glow-Hintergrund, Hover-Lift und sanftem
   Graustufen-zu-Farbe-Reveal beim Hover. Nur für die Partner-Sektion,
   Ansprechpartner/andere people-grids bleiben unverändert. */

#partner-grid.people-grid {
  gap: 24px;
}

#partner-grid .people-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

#partner-grid .people-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 26, 0.4);
  box-shadow: var(--glow-accent);
}

#partner-grid .people-card-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 38%, var(--color-surface-3), var(--color-surface-2) 72%);
  border-bottom: 1px solid var(--color-border);
}

#partner-grid .people-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(45%) brightness(1.05);
  transition: filter var(--transition), transform var(--transition);
}

#partner-grid .people-card:hover .people-card-image img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

#partner-grid .people-card-body {
  padding: 18px 20px 22px;
}

#partner-grid .people-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--color-chrome-1);
}

#partner-grid .people-info {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

#partner-grid .people-phone {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 999px;
}

/* ── Forms ── */

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-row input,
.form-row textarea,
.form-row select {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.phone-select {
  width: auto;
  max-width: 100%;
  min-width: 9.5rem;
  align-self: flex-start;
  padding: 8px 28px 8px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color var(--transition);
}

.form-row:has(.phone-select) {
  align-items: flex-start;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus,
.phone-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.18);
}

.form-row input:disabled,
.form-row textarea:disabled,
.form-row select:disabled,
.phone-select:disabled {
  background: var(--color-surface-2);
  opacity: 0.7;
}

.contact-form {
  padding: 24px;
}

.form-banner {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.form-banner-warning {
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.form-banner-info {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.form-banner-success {
  background: var(--color-open-bg);
  color: var(--color-open);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.form-banner-error {
  background: var(--color-closed-bg);
  color: var(--color-closed);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Spam-Schutz: Rest-Kontingent bzw. laufende Sperre */
.form-limit-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-align: center;
}

.form-limit-hint--blocked {
  color: #fbbf24;
  font-weight: 600;
}

/* ── Modal ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 122, 26, 0.1);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 24px 24px;
}

.modal-dialog--vehicle {
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px 24px 16px;
}

.vehicle-modal-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.vehicle-modal-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-2);
  min-height: 0;
  cursor: zoom-in;
}

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

.vehicle-modal-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  pointer-events: none;
  transition: background var(--transition);
}

.vehicle-modal-image:hover .vehicle-modal-zoom-hint {
  background: rgba(255, 122, 26, 0.85);
}

.vehicle-modal-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-modal-info .modal-title {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.vehicle-modal-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.vehicle-modal-details .vehicle-specs {
  gap: 4px 6px;
}

.vehicle-modal-info .vehicle-price-main--modal {
  align-items: flex-end;
  text-align: right;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.vehicle-modal-info .vehicle-price-main--modal .vehicle-price-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.vehicle-modal-info .vehicle-prices-compact--modal {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

.vehicle-modal-info .vehicle-prices-compact--modal .vehicle-price-line span:last-child {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
}

.inquiry-meta-row dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  word-break: break-word;
  text-align: right;
}

.inquiry-meta-price-value {
  font-weight: 600;
  color: var(--color-accent);
}

.inquiry-meta-row--rent-price dd {
  white-space: nowrap;
}

.inquiry-meta-row--phone dd {
  display: flex;
  justify-content: flex-end;
}

.phone-select:disabled {
  opacity: 0.85;
  cursor: default;
}

/* Automatisch zugewiesenes Kennzeichen (Vermietung) — nur Anzeige, nicht wählbar */
.plate-auto {
  display: inline-flex;
  align-items: center;
  min-width: 9.5rem;
  justify-content: center;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
}

.inquiry-phone-empty {
  color: var(--color-text-muted);
}

.vehicle-modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
}

.vehicle-modal-form-meta {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
}

.inquiry-meta-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inquiry-meta-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: start;
}

.inquiry-meta-row dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  margin: 0;
}

.vehicle-modal-form-message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}

.vehicle-modal-form-message label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.vehicle-modal-form-message textarea {
  flex: 1;
  min-height: 88px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  resize: vertical;
}

.vehicle-modal-form-message textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Legacy-Klassen (falls noch referenziert) */
.vehicle-modal-hero {
  display: none;
}

.picture-badges--modal {
  position: static;
  margin-bottom: 4px;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 14px 0 10px;
}

.modal-section-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.modal-close {
  position: absolute;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--color-surface-2);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text-muted);
}

.modal-close:hover {
  background: var(--color-border);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.modal-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.inquiry-vehicle-summary {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
}

.inquiry-vehicle-summary img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.inquiry-vehicle-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.inquiry-vehicle-price {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

.inquiry-vehicle-subject {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .vehicle-grid,
  .people-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .vehicle-grid,
  .people-grid { grid-template-columns: 1fr; }

  .vehicle-specs { grid-template-columns: repeat(2, 1fr); }

  .modal-dialog--vehicle {
    max-width: 100%;
    padding: 20px 16px 16px;
  }

  .vehicle-modal-top,
  .vehicle-modal-form-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-modal-image {
    aspect-ratio: 16 / 10;
    max-height: 200px;
  }

  .vehicle-modal-image img {
    min-height: 0;
  }

  .vehicle-modal-info {
    min-height: auto;
  }
}

/* ── Page headers ── */

.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 8px;
}

.page-intro {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero (Startseite) ── */

.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(255, 122, 26, 0.22), transparent 65%),
    linear-gradient(180deg, var(--color-surface) 0%, #0c0d10 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.06), var(--shadow-lg);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dezenter Leucht-Rahmen, damit sich der Banner vom neuen, reicheren
   Seitenhintergrund abhebt statt flach darauf zu liegen */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 40px 80px -60px rgba(255, 122, 26, 0.25);
}

.hero--has-banner {
  display: block;
  min-height: 0;
  background: transparent;
}

.hero--has-banner .hero-banner {
  position: static;
}

.hero--has-banner .hero-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero--has-banner .hero-content,
.hero--has-banner .hero-overlay {
  display: none;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-pattern svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-pattern-wave--1 {
  animation: heroPatternDrift1 16s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-pattern-wave--2 {
  animation: heroPatternDrift2 20s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-pattern-wave--3 {
  animation: heroPatternDrift3 24s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes heroPatternDrift1 {
  from { transform: translate(0, 0); }
  to { transform: translate(-1.5%, -1.5%); }
}

@keyframes heroPatternDrift2 {
  from { transform: translate(0, 0); }
  to { transform: translate(1.5%, 1%); }
}

@keyframes heroPatternDrift3 {
  from { transform: translate(0, 0); }
  to { transform: translate(-1%, 1.5%); }
}

/* Zwei sanft driftende Leucht-Blobs — bleiben auch sichtbar, wenn ein
   Banner-Bild geladen ist (im Gegensatz zu .hero-bg-pattern), sodass
   im Front-Bereich immer etwas Bewegung zu sehen ist. */
.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero-glow--1 {
  width: 320px;
  height: 320px;
  top: -90px;
  left: 6%;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  animation: heroGlowFloat1 14s ease-in-out infinite;
}

.hero-glow--2 {
  width: 260px;
  height: 260px;
  bottom: -70px;
  right: 8%;
  background: radial-gradient(circle, var(--color-cool-glow) 0%, transparent 70%);
  animation: heroGlowFloat2 18s ease-in-out infinite;
}

@keyframes heroGlowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.15); }
}

@keyframes heroGlowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -15px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow {
    animation: none;
  }
}

.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 32px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero--has-banner .hero-content {
  color: #fff;
}

.hero--no-banner .hero-content {
  color: var(--color-text);
}

.hero-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.hero--has-banner .hero-eyebrow {
  opacity: 0.85;
}

.hero--no-banner .hero-eyebrow {
  color: var(--color-text-muted);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--color-chrome-1) 0%, var(--color-chrome-2) 45%, var(--color-accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(255, 122, 26, 0.35));
}

.hero-eyebrow {
  color: var(--color-accent-2) !important;
  font-weight: 700;
  letter-spacing: 0.16em !important;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero--has-banner .hero-subtitle {
  opacity: 0.9;
}

.hero--no-banner .hero-subtitle {
  color: var(--color-text-muted);
}

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

.hero--has-banner .hero-actions .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero--has-banner .hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.hero--no-banner .hero-actions .btn-secondary {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}

.hero--no-banner .hero-actions .btn-secondary:hover {
  background: var(--color-surface-2);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .hero-pattern-wave--1,
  .hero-pattern-wave--2,
  .hero-pattern-wave--3 {
    animation: none;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 22px;
  list-style: none;
  padding: 0;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.hero-badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(255, 122, 26, 0.6);
}

.hero--has-banner .hero-badges li {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Services grid ── */

.services-section {
  margin-bottom: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 28px 24px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.service-card--featured {
  background: linear-gradient(160deg, var(--color-surface-2) 0%, var(--color-surface) 60%, #14110c 100%);
  border-color: rgba(255, 122, 26, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.08), var(--shadow-sm);
}

.service-card--featured .service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(160deg, rgba(255, 122, 26, 0.32) 0%, rgba(255, 122, 26, 0.08) 100%);
}

.service-card--featured .service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card--featured h3 {
  font-size: 1.5rem;
}

.service-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-accent-soft);
  border: 1px solid rgba(255, 122, 26, 0.4);
  color: var(--color-accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 140px at 20% 0%, rgba(255, 122, 26, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 122, 26, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  box-shadow: var(--shadow-lg), 0 0 24px rgba(255, 122, 26, 0.12);
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  color: inherit;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--color-accent-soft) 0%, rgba(255, 122, 26, 0.04) 100%);
  border: 1px solid rgba(255, 122, 26, 0.25);
  color: var(--color-accent-2);
  margin-bottom: 4px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  background: linear-gradient(160deg, rgba(255, 122, 26, 0.28) 0%, rgba(255, 122, 26, 0.06) 100%);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.3), 0 0 20px rgba(255, 122, 26, 0.2);
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--color-text);
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.service-card:hover .service-link-arrow {
  transform: translateX(3px);
}

/* ── Kontakt ── */

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 48px;
}

.contact-info {
  padding: 28px;
  height: 100%;
  box-sizing: border-box;
}

.contact-block-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  color: var(--color-text);
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-form-column .contact-form-wrap {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-column .contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.contact-form-column .form-row:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.contact-form-column .form-row:has(textarea) textarea {
  flex: 1;
  min-height: 120px;
  resize: vertical;
}

.contact-form-column .contact-form .btn-primary {
  margin-top: auto;
}

.contact-form-intro {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-form .contact-block-title {
  margin-bottom: 8px;
}

.contact-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.contact-map-image img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.contact-map-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.hours-section {
  margin-bottom: 40px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.hours-table td:first-child {
  font-weight: 600;
  color: var(--color-text-muted);
  width: 42%;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.hours-table tr.hours-today td {
  color: var(--color-accent);
}

.hours-table tr.hours-today td:first-child {
  color: var(--color-accent);
}

.contacts-section {
  margin-top: 8px;
  margin-bottom: 40px;
}

/* ── Fahrzeug-Highlights (Slideshow auf der Startseite) ── */

.vehicle-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.06), var(--shadow-lg);
  background: var(--color-surface);
  margin-bottom: 32px;
}

.vehicle-slideshow-track {
  position: relative;
  min-height: 420px;
}

.vehicle-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.vehicle-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

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

.vehicle-slide-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px clamp(20px, 5vw, 48px);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.85) 100%);
  color: #fff;
}

.vehicle-slide-vendor {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-2);
  margin-bottom: 4px;
}

.vehicle-slide-name {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 6px;
  color: #fff;
}

.vehicle-slide-text {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.vehicle-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 9, 11, 0.5);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.vehicle-slideshow-nav:hover {
  background: rgba(255, 122, 26, 0.35);
  border-color: var(--color-accent);
}

.vehicle-slideshow-nav svg {
  width: 20px;
  height: 20px;
}

.vehicle-slideshow-nav--prev {
  left: 16px;
}

.vehicle-slideshow-nav--next {
  right: 16px;
}

.vehicle-slideshow-dots {
  position: absolute;
  bottom: 14px;
  right: clamp(20px, 5vw, 48px);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.vehicle-slideshow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.vehicle-slideshow-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .vehicle-slide img {
    height: 320px;
  }

  .vehicle-slideshow-track {
    min-height: 320px;
  }

  .vehicle-slideshow-nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-tag {
    position: static;
    align-self: flex-start;
    order: -1;
  }
}

@media (max-width: 900px) {
  .contact-map {
    grid-template-columns: 1fr;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 28px 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ── Onepager: Sektionen & Lazy-Load ── */

main {
  flex: 1;
}

.page-section {
  display: none;
  padding: 56px 0;
}

.page-section.is-active {
  display: block;
  animation: pageEnter 0.38s ease forwards;
}

.page-section.is-leaving {
  display: block;
  animation: pageLeave 0.22s ease forwards;
}

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

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

.start-leistungen {
  padding: 56px 0;
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .page-section.is-active,
  .page-section.is-leaving {
    animation: none;
  }
}

.page-section--alt {
  position: relative;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(255, 122, 26, 0.05), transparent 65%),
    radial-gradient(800px 420px at 90% 100%, var(--color-cool-glow-soft), transparent 60%),
    linear-gradient(180deg, #0c0d10, #08090b);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  background: linear-gradient(180deg, var(--color-chrome-1), var(--color-chrome-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading {
  text-align: center;
  margin-bottom: 8px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--color-accent-soft);
  border: 1px solid rgba(255, 122, 26, 0.3);
  color: var(--color-accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subsection-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 32px 0 16px;
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}

.section-status {
  text-align: center;
  padding: 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.section-status--error {
  color: var(--color-closed);
}



/* ── Preloader (Logo + Ladebalken beim Seitenaufruf) ──────────────────── */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(900px 500px at 50% 42%, rgba(255, 122, 26, 0.08), transparent 70%),
    var(--color-bg);
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  filter: blur(6px);
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 280px;
  padding: 0 32px;
}

/* Sanft pulsierender Lichtschein hinter dem Logo */
.preloader-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  filter: blur(20px);
  animation: preloaderGlowPulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

.preloader-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 220px;
  height: auto;
  animation: preloader-pulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 24px var(--color-accent-glow));
}

.preloader-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.preloader-bar-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  box-shadow: 0 0 10px var(--color-accent-glow);
  animation: preloader-fill 2.4s ease-out forwards;
  overflow: hidden;
}

/* Lichtstreifen, der über den gefüllten Balken läuft */
.preloader-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: preloaderShimmer 1.4s ease-in-out infinite;
}

@keyframes preloaderGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.65; }
  50% { transform: translate(-50%, -50%) scale(1.22); opacity: 1; }
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
}

@keyframes preloader-fill {
  0% { width: 0%; }
  70% { width: 85%; }
  100% { width: 96%; }
}

@keyframes preloaderShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-logo,
  .preloader-glow,
  .preloader-bar-fill::after {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════
   BERATUNGSTERMIN-HINWEIS (Sektion #kontakt)
   ═══════════════════════════════════════════════════ */

.beratung-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 20px 24px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-glow);
  border-radius: var(--radius-lg);
}

.beratung-cta-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-glow);
}

.beratung-cta-icon svg {
  width: 28px;
  height: 28px;
}

.beratung-cta-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--color-text);
}

.beratung-cta-text p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .beratung-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
  }
}
