/* =============================================================
   GTUE PRUEFZENTRUM RUESSELSHEIM
   Industrial Design System — v3.0 (2026)
   Farben: GTÜ-Blau · Dunkelgrau · Bernstein-Akzent
   ============================================================= */

:root {
  --brand-red:      #DA1F3D;
  --brand-red-dark: #A5182C;
  --brand-red-deep: #6E0F1C;
  --brand-blue:     #DA1F3D;
  --brand-blue-dark:#A5182C;
  --brand-blue-light:#F2D6DC;
  --brand-grey:     #C2C4C6;
  --grey-80:        #555555;
  --grey-60:        #727272;
  --grey-20:        #DADBDD;
  --grey-10:        #F2F2F2;

  --blue:          var(--brand-blue);
  --blue-dark:     var(--brand-blue-dark);
  --blue-light:    var(--brand-blue-light);
  --blue-pale:     rgba(218, 31, 61, 0.10);
  --amber:         var(--brand-red);
  --amber-dark:    var(--brand-red-dark);
  --amber-deep:    var(--brand-red-deep);
  --amber-pale:    rgba(218, 31, 61, 0.14);
  --dark:          var(--grey-80);
  --dark-2:        #4A4A4A;
  --dark-surface:  #676767;
  --dark-border:   rgba(255, 255, 255, 0.12);
  --dark-text:     #FFFFFF;
  --dark-muted:    rgba(255, 255, 255, 0.90);
  --bg:            var(--grey-10);
  --bg-alt:        #FFFFFF;
  --ink:           var(--grey-80);
  --muted:         var(--grey-60);
  --border:        rgba(194, 196, 198, 0.55);
  --surface:       #FFFFFF;
  --site-width:    min(1240px, calc(100% - 2rem));
  --section-py:    clamp(4rem, 8vw, 6.5rem);
  --font:          "Poppins", system-ui, sans-serif;
  --font-display:  "Space Grotesk", system-ui, sans-serif;
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-2xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 56px rgba(0,0,0,.15);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.20);
  --scroll-depth: 0;

  /* Legacy aliases — beibehalten fuer alten Code */
  --site-bg: var(--grey-10);
  --site-surface: #FFFFFF;
  --site-surface-strong: #FFFFFF;
  --site-ink: var(--grey-80);
  --site-muted: var(--grey-60);
  --site-line: rgba(194,196,198,0.55);
  --site-accent: var(--brand-red);
  --site-accent-deep: var(--brand-red-dark);
  --site-accent-soft: rgba(218,31,61,0.10);
  --site-dark: var(--grey-80);
  --site-highlight: var(--brand-blue);
  --site-shadow-lg: 0 20px 56px rgba(0,0,0,.15);
  --site-shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --site-shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --site-radius-xl: 24px;
  --site-radius-lg: 18px;
  --site-radius-md: 12px;
}

/* ===========================
   BASE RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.home-page {
  --section-py: clamp(3.3rem, 6.8vw, 5.4rem);
}

/* Fortschrittsleiste */
body::after {
  content: "";
  position: fixed;
  inset: 0 auto auto 0;
  width: calc(var(--scroll-depth) * 1%);
  height: 4px;
  background: linear-gradient(90deg, var(--brand-grey) 0%, var(--blue) 34%, var(--amber) 72%, var(--amber-dark) 100%);
  border-radius: 0 999px 999px 0;
  box-shadow:
    0 0 10px rgba(194, 196, 198, 0.72),
    0 0 22px rgba(218, 31, 61, 0.34),
    0 0 34px rgba(165, 24, 44, 0.20);
  z-index: 200;
  pointer-events: none;
}

::selection { background: var(--amber-pale); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ===========================
   LAYOUT
   =========================== */
.container,
.section-shell,
.page-shell,
.footer-shell {
  width: var(--site-width);
  margin-inline: auto;
}

.section { padding-block: var(--section-py); }
.section--raised { padding-top: calc(var(--section-py) - 1rem); }
.section--dark    { background: var(--dark);   color: var(--dark-text); overflow-x: clip; }
.section--darker  { background: var(--dark-2); color: var(--dark-text); }
.section--light   { background: var(--bg); }
.section--white   { background: var(--bg-alt); }

/* ===========================
   SUBPAGE RHYTHM
   =========================== */
.services-page main > .section-shell,
.company-page main > .section-shell,
.booking-page main > .section-shell,
.legal-page main > .section-shell,
.cancel-page main > .section-shell,
.inspector-page main > .section-shell,
.inspector-page main > .inspector-layout {
  margin-top: 0;
  margin-bottom: 0;
}

.services-page main > .section-shell:first-child,
.company-page main > .section-shell:first-child,
.booking-page main > .section-shell:first-child,
.legal-page main > .section-shell:first-child,
.inspector-page main > .section-shell:first-child,
.cancel-page main > .page-hero + .section-shell {
  margin-top: clamp(1.6rem, 3vw, 2.25rem);
}

.services-page main > .section-shell + .section-shell,
.company-page main > .section-shell + .section-shell,
.booking-page main > .section-shell + .section-shell,
.legal-page main > .section-shell + .section-shell,
.cancel-page main > .section-shell + .section-shell,
.inspector-page main > .section-shell + .section-shell,
.inspector-page main > .section-shell + .inspector-layout,
.inspector-page main > .inspector-layout + .section-shell {
  margin-top: clamp(2.8rem, 5vw, 4.2rem);
}

.services-page main > .section-shell:last-child,
.company-page main > .section-shell:last-child,
.booking-page main > .section-shell:last-child,
.legal-page main > .section-shell:last-child,
.cancel-page main > .section-shell:last-child,
.inspector-page main > .section-shell:last-child,
.inspector-page main > .inspector-layout:last-child {
  margin-bottom: clamp(3rem, 6vw, 4.6rem);
}

/* ===========================
   COMPANY PAGE AMBIENCE
   =========================== */
.company-page {
  background: linear-gradient(180deg, #050607 0%, #0b0d10 18%, #111417 100%);
}

.company-page .page-hero::after {
  content: '';
  position: absolute;
  top: 44%;
  right: clamp(-8rem, -4vw, -1rem);
  width: min(64vw, 760px);
  aspect-ratio: 840 / 628;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 52% 50%, rgba(214,0,28,0.2) 0%, rgba(214,0,28,0.11) 28%, rgba(214,0,28,0) 70%),
    url('./atlan-logo-transparent.png') center / contain no-repeat;
  filter:
    grayscale(0.14)
    contrast(1.12)
    brightness(0.82)
    drop-shadow(0 0 28px rgba(214,0,28,0.12));
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: page-hero-watermark-breathe 16s ease-in-out infinite;
}

.company-page main {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background:
    linear-gradient(
      180deg,
      rgba(7, 8, 10, 0.98) 0%,
      rgba(12, 14, 17, 0.96) 20%,
      rgba(24, 28, 33, 0.92) 38%,
      rgba(67, 72, 78, 0.72) 60%,
      rgba(203, 207, 212, 0.3) 82%,
      rgba(242, 242, 242, 0) 100%
    );
}

.company-page main::before {
  content: "";
  position: absolute;
  inset: 0 0 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 12%, rgba(214,0,28,0.12), transparent 22%),
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(rgba(214,0,28,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,0,28,0.08) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px, 174px 174px, 174px 174px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.76) 30%, rgba(0,0,0,0.36) 68%, transparent 100%);
  pointer-events: none;
}

.company-page main::after {
  content: "";
  display: none;
  pointer-events: none;
}

.company-page main > .section-shell:not(:last-child) {
  position: relative;
  padding: clamp(1.7rem, 3vw, 2.35rem);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%),
    rgba(10, 12, 15, 0.56);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 24px 54px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.company-page main > .section-shell:not(:last-child)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(214,0,28,0.08), rgba(214,0,28,0));
  opacity: 0.9;
  pointer-events: none;
}

.company-page main > .section-shell:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.2;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.56) 0%, transparent 100%);
  pointer-events: none;
}

.company-page main > .section-shell .section-heading h2,
.company-page main > .section-shell .split-copy h2 {
  color: var(--dark-text);
}

.company-page main > .section-shell .section-heading p,
.company-page main > .section-shell .split-copy p {
  color: rgba(228,236,247,0.78);
}

.company-page .feature-card,
.company-page .timeline-card,
.company-page .faq-card,
.company-page .split-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.035) 100%),
    rgba(8, 10, 13, 0.48);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 18px 40px rgba(0,0,0,0.18);
}

.company-page .faq-card {
  border-radius: var(--r-xl);
  padding: 1.45rem 1.5rem;
}

.company-page .feature-card h3,
.company-page .timeline-card h3,
.company-page .faq-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--dark-text);
}

.company-page .feature-card p,
.company-page .timeline-card p,
.company-page .faq-card p {
  margin: 0;
  color: rgba(228,236,247,0.74);
  line-height: 1.7;
}

.company-page .feature-card > i {
  background: linear-gradient(135deg, rgba(214,0,28,0.16) 0%, rgba(165,24,44,0.24) 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 12px 24px rgba(165,24,44,0.18);
}

.company-page .timeline-step {
  color: rgba(248,88,108,0.92);
}

.company-page .split-panel {
  align-items: stretch;
}

.company-page .media-note {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    rgba(8, 10, 13, 0.42);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 34px rgba(0,0,0,0.16);
}

.company-page .media-note strong {
  color: var(--dark-text);
}

.company-page .media-note p {
  color: rgba(228,236,247,0.74);
}

.company-page .media-note__chips span {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(244,248,255,0.88);
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main {
  --bg: #0c1014;
  --bg-alt: rgba(14, 18, 22, 0.92);
  --surface: rgba(8, 10, 13, 0.52);
  --ink: #f4f8ff;
  --muted: rgba(228,236,247,0.78);
  --border: rgba(255,255,255,0.1);
  --dark-border: rgba(255,255,255,0.12);
  --dark-surface: rgba(30, 34, 40, 0.86);
  --shadow-sm: 0 10px 24px rgba(0,0,0,0.16);
  --shadow-md: 0 18px 40px rgba(0,0,0,0.18);
  --shadow-lg: 0 24px 54px rgba(0,0,0,0.2);
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background:
    linear-gradient(
      180deg,
      rgba(7, 8, 10, 0.98) 0%,
      rgba(12, 14, 17, 0.96) 20%,
      rgba(24, 28, 33, 0.92) 38%,
      rgba(67, 72, 78, 0.72) 60%,
      rgba(203, 207, 212, 0.3) 82%,
      rgba(242, 242, 242, 0) 100%
    );
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 12%, rgba(214,0,28,0.12), transparent 22%),
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(rgba(214,0,28,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,0,28,0.08) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px, 174px 174px, 174px 174px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.76) 30%, rgba(0,0,0,0.36) 68%, transparent 100%);
  pointer-events: none;
}

html[data-site-theme="dark"] .home-page main > .section.section--light {
  background: transparent;
}

html[data-site-theme="dark"] .home-page main > .section:not(:last-child) > .container,
html[data-site-theme="dark"] body:is(.services-page, .booking-page, .legal-page, .cancel-page) main > .section-shell:not(:last-child) {
  position: relative;
  padding: clamp(1.7rem, 3vw, 2.35rem);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%),
    rgba(10, 12, 15, 0.56);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 24px 54px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

html[data-site-theme="dark"] .home-page main > .section:not(:last-child) > .container::before,
html[data-site-theme="dark"] body:is(.services-page, .booking-page, .legal-page, .cancel-page) main > .section-shell:not(:last-child)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(214,0,28,0.08), rgba(214,0,28,0));
  opacity: 0.9;
  pointer-events: none;
}

html[data-site-theme="dark"] .home-page main > .section:not(:last-child) > .container::after,
html[data-site-theme="dark"] body:is(.services-page, .booking-page, .legal-page, .cancel-page) main > .section-shell:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.2;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.56) 0%, transparent 100%);
  pointer-events: none;
}

html[data-site-theme="dark"] .home-page main > .section:not(:last-child) > .container > *,
html[data-site-theme="dark"] body:is(.services-page, .booking-page, .legal-page, .cancel-page) main > .section-shell:not(:last-child) > * {
  position: relative;
  z-index: 1;
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .trust-item,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .feature-card,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .stat-card,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .timeline-card,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .split-panel,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .media-note,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .contact-card,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .map-card,
html[data-site-theme="dark"] body:is(.booking-page, .legal-page, .cancel-page) main .info-card,
html[data-site-theme="dark"] body:is(.booking-page, .cancel-page) main .status-panel,
html[data-site-theme="dark"] body:is(.booking-page, .cancel-page) main .calendar-stage,
html[data-site-theme="dark"] .legal-page main .legal-card,
html[data-site-theme="dark"] .legal-page main .legal-anchor-nav,
html[data-site-theme="dark"] .legal-page main .legal-note {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.035) 100%),
    rgba(8, 10, 13, 0.48);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 18px 40px rgba(0,0,0,0.18);
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .feature-card > i {
  background: linear-gradient(135deg, rgba(214,0,28,0.16) 0%, rgba(165,24,44,0.24) 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 12px 24px rgba(165,24,44,0.18);
}

html[data-site-theme="dark"] .booking-page main .booking-flow-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.035) 100%),
    rgba(8, 10, 13, 0.48);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 18px 40px rgba(0,0,0,0.18);
}

html[data-site-theme="dark"] .booking-page main .booking-flow-card h3 {
  color: var(--dark-text);
}

html[data-site-theme="dark"] .booking-page main .booking-flow-card p {
  color: rgba(228,236,247,0.78);
}

html[data-site-theme="dark"] .booking-page main .booking-flow-card__icon {
  background: linear-gradient(135deg, rgba(214,0,28,0.16) 0%, rgba(165,24,44,0.24) 100%);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 12px 24px rgba(165,24,44,0.18);
}

html[data-site-theme="dark"] .home-page main .stat-row.stat-row--light {
  background: rgba(30, 34, 40, 0.86);
  border-color: rgba(255,255,255,0.1);
}

html[data-site-theme="dark"] .home-page main .stat-row.stat-row--light .stat-item {
  border-right-color: rgba(255,255,255,0.1);
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .stat-row.stat-row--light .stat-item span,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .contact-list strong {
  color: rgba(228,236,247,0.7);
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .media-note__chips span,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .media-frame__badge,
html[data-site-theme="dark"] .legal-page main .legal-anchor-nav a {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  color: rgba(244,248,255,0.88);
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .section-heading h2,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .split-copy h2,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .contact-card h2,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .feature-card h3,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .stat-card strong,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .timeline-card h3,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .trust-item strong,
html[data-site-theme="dark"] .legal-page main .legal-card h2,
html[data-site-theme="dark"] .legal-page main .legal-card h3 {
  color: var(--dark-text);
}

html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .section-heading p,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .feature-card p,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .stat-card p,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .timeline-card p,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .trust-item span,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .split-copy p,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .media-note p,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .contact-list span,
html[data-site-theme="dark"] body:is(.home-page, .services-page, .booking-page, .legal-page, .cancel-page) main .contact-list a,
html[data-site-theme="dark"] .legal-page main .legal-card p,
html[data-site-theme="dark"] .legal-page main .legal-card li,
html[data-site-theme="dark"] .legal-page main .legal-card a,
html[data-site-theme="dark"] .legal-page main .legal-note {
  color: rgba(228,236,247,0.78);
}

html[data-site-theme="bright"] .company-page main {
  background: transparent;
}

html[data-site-theme="bright"] .company-page {
  background:
    radial-gradient(circle at top left, rgba(218,31,61,0.08) 0%, rgba(218,31,61,0) 26%),
    linear-gradient(180deg, #f7f7f8 0%, #f2f2f2 100%);
  color: var(--ink);
}

html[data-site-theme="bright"] .company-page .page-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(218,31,61,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,245,246,0.98) 100%);
}

html[data-site-theme="bright"] .company-page .page-hero::before {
  background:
    radial-gradient(circle at 72% 44%, rgba(218,31,61,0.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,244,245,0.9) 100%),
    linear-gradient(rgba(85,85,85,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,85,85,0.03) 1px, transparent 1px),
    linear-gradient(rgba(218,31,61,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218,31,61,0.05) 1px, transparent 1px);
  opacity: 1;
}

html[data-site-theme="bright"] .company-page .page-hero::after {
  opacity: 0.1;
  mix-blend-mode: multiply;
  filter:
    grayscale(0.06)
    contrast(1)
    brightness(0.94)
    drop-shadow(0 0 18px rgba(218,31,61,0.08));
}

html[data-site-theme="bright"] .company-page .hero-grid::before {
  border-color: rgba(218,31,61,0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.3),
    0 0 0 18px rgba(218,31,61,0.03);
  opacity: 0.85;
}

html[data-site-theme="bright"] .company-page .hero-grid::after {
  background: radial-gradient(circle, rgba(218,31,61,0.12) 0%, rgba(218,31,61,0.06) 30%, rgba(218,31,61,0) 72%);
  opacity: 0.6;
}

html[data-site-theme="bright"] .company-page .hero-copy,
html[data-site-theme="bright"] .company-page .hero-visual {
  border: 1px solid rgba(194,196,198,0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,248,249,0.92) 100%);
  box-shadow: 0 18px 42px rgba(85,85,85,0.08);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .company-page .hero-copy h1 {
  color: var(--ink);
}

html[data-site-theme="bright"] .company-page .hero-copy p {
  color: var(--muted);
}

html[data-site-theme="bright"] .company-page .hero-points {
  border-top-color: rgba(194,196,198,0.55);
}

html[data-site-theme="bright"] .company-page .hero-point strong,
html[data-site-theme="bright"] .company-page .hero-panel__label {
  color: var(--ink);
}

html[data-site-theme="bright"] .company-page .hero-point span,
html[data-site-theme="bright"] .company-page .hero-stat span,
html[data-site-theme="bright"] .company-page .hero-checklist li {
  color: var(--muted);
}

html[data-site-theme="bright"] .company-page .hero-panel {
  background: rgba(255,255,255,0.9);
  border-color: rgba(194,196,198,0.55);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .company-page .hero-stat {
  background: rgba(245,245,246,0.95);
  border-color: rgba(194,196,198,0.5);
}

html[data-site-theme="bright"] .company-page .hero-checklist {
  background: rgba(255,255,255,0.9);
  border-color: rgba(194,196,198,0.55);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .company-page .hero-checklist li {
  border-bottom-color: rgba(194,196,198,0.38);
}

html[data-site-theme="bright"] .company-page .page-hero .btn.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border-color: rgba(218,31,61,0.18);
  box-shadow: 0 10px 24px rgba(218,31,61,0.08);
}

html[data-site-theme="bright"] .company-page .page-hero .btn.btn-outline:hover {
  background: #fff3f7;
  color: var(--blue);
  border-color: rgba(218,31,61,0.34);
  box-shadow: 0 10px 24px rgba(218,31,61,0.12);
}

html[data-site-theme="bright"] .company-page main::before {
  display: none;
}

html[data-site-theme="bright"] .company-page main > .section-shell:not(:last-child) {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

html[data-site-theme="bright"] .company-page main > .section-shell:not(:last-child)::before,
html[data-site-theme="bright"] .company-page main > .section-shell:not(:last-child)::after {
  display: none;
}

html[data-site-theme="bright"] .company-page .feature-card,
html[data-site-theme="bright"] .company-page .timeline-card,
html[data-site-theme="bright"] .company-page .faq-card,
html[data-site-theme="bright"] .company-page .split-panel,
html[data-site-theme="bright"] .company-page .media-note {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

html[data-site-theme="bright"] .company-page .feature-card > i {
  background: linear-gradient(135deg, rgba(218,31,61,0.1) 0%, rgba(165,24,44,0.18) 100%);
  color: var(--amber-dark);
  box-shadow: inset 0 0 0 1px rgba(165,24,44,0.08);
}

html[data-site-theme="bright"] .company-page .feature-card h3,
html[data-site-theme="bright"] .company-page .timeline-card h3,
html[data-site-theme="bright"] .company-page .faq-card h3,
html[data-site-theme="bright"] .company-page main > .section-shell .section-heading h2,
html[data-site-theme="bright"] .company-page main > .section-shell .split-copy h2,
html[data-site-theme="bright"] .company-page .media-note strong {
  color: var(--ink);
}

html[data-site-theme="bright"] .company-page .feature-card p,
html[data-site-theme="bright"] .company-page .timeline-card p,
html[data-site-theme="bright"] .company-page .faq-card p,
html[data-site-theme="bright"] .company-page main > .section-shell .section-heading p,
html[data-site-theme="bright"] .company-page main > .section-shell .split-copy p,
html[data-site-theme="bright"] .company-page .media-note p {
  color: var(--muted);
}

html[data-site-theme="bright"] .company-page .media-note__chips span {
  background: rgba(255,255,255,0.9);
  border-color: rgba(218,31,61,0.14);
  color: var(--ink);
}

html[data-site-theme="bright"] .company-page main > .section-shell:first-child .feature-grid {
  grid-template-columns: repeat(3, minmax(250px, 320px));
  justify-content: center;
  max-width: 1040px;
  margin-inline: auto;
}

html[data-site-theme="bright"] .services-page {
  background:
    radial-gradient(circle at top left, rgba(218,31,61,0.08) 0%, rgba(218,31,61,0) 26%),
    linear-gradient(180deg, #f7f7f8 0%, #f2f2f2 100%);
  color: var(--ink);
}

html[data-site-theme="bright"] .services-page .page-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(218,31,61,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,245,246,0.98) 100%);
}

html[data-site-theme="bright"] .services-page .page-hero::before {
  background:
    radial-gradient(circle at 72% 44%, rgba(218,31,61,0.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,244,245,0.9) 100%),
    linear-gradient(rgba(85,85,85,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,85,85,0.03) 1px, transparent 1px),
    linear-gradient(rgba(218,31,61,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218,31,61,0.05) 1px, transparent 1px);
  opacity: 1;
}

html[data-site-theme="bright"] .services-page .hero-grid::before {
  border-color: rgba(218,31,61,0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.3),
    0 0 0 18px rgba(218,31,61,0.03);
  opacity: 0.85;
}

html[data-site-theme="bright"] .services-page .hero-grid::after {
  background: radial-gradient(circle, rgba(218,31,61,0.12) 0%, rgba(218,31,61,0.06) 30%, rgba(218,31,61,0) 72%);
  opacity: 0.6;
}

html[data-site-theme="bright"] .services-page .hero-copy,
html[data-site-theme="bright"] .services-page .hero-visual {
  border: 1px solid rgba(194,196,198,0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,248,249,0.92) 100%);
  box-shadow: 0 18px 42px rgba(85,85,85,0.08);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .services-page .hero-copy h1 {
  color: var(--ink);
}

html[data-site-theme="bright"] .services-page .hero-copy p {
  color: var(--muted);
}

html[data-site-theme="bright"] .services-page .hero-points {
  border-top-color: rgba(194,196,198,0.55);
}

html[data-site-theme="bright"] .services-page .hero-point strong,
html[data-site-theme="bright"] .services-page .hero-panel__label {
  color: var(--ink);
}

html[data-site-theme="bright"] .services-page .hero-point span,
html[data-site-theme="bright"] .services-page .hero-stat span,
html[data-site-theme="bright"] .services-page .hero-checklist li {
  color: var(--muted);
}

html[data-site-theme="bright"] .services-page .hero-panel {
  background: rgba(255,255,255,0.9);
  border-color: rgba(194,196,198,0.55);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .services-page .hero-stat {
  background: rgba(245,245,246,0.95);
  border-color: rgba(194,196,198,0.5);
}

html[data-site-theme="bright"] .services-page .hero-checklist {
  background: rgba(255,255,255,0.9);
  border-color: rgba(194,196,198,0.55);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .services-page .hero-checklist li {
  border-bottom-color: rgba(194,196,198,0.38);
}

html[data-site-theme="bright"] .services-page .page-hero .btn.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border-color: rgba(218,31,61,0.18);
  box-shadow: 0 10px 24px rgba(218,31,61,0.08);
}

html[data-site-theme="bright"] .services-page .page-hero .btn.btn-outline:hover {
  background: #fff3f7;
  color: var(--blue);
  border-color: rgba(218,31,61,0.34);
  box-shadow: 0 10px 24px rgba(218,31,61,0.12);
}

html[data-site-theme="bright"] .services-page .top-bar {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.72) 100%),
    linear-gradient(135deg, #f8f8f9 0%, #f1f1f2 100%);
  border-bottom-color: rgba(194,196,198,0.55);
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,0.5),
    0 12px 30px rgba(85,85,85,0.06);
}

html[data-site-theme="bright"] .services-page .top-bar::before {
  background-image:
    linear-gradient(rgba(85,85,85,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,85,85,0.03) 1px, transparent 1px);
  opacity: 0.16;
}

html[data-site-theme="bright"] .services-page .top-bar::after {
  background: linear-gradient(90deg, rgba(218,31,61,0), rgba(218,31,61,0.28), rgba(218,31,61,0));
  box-shadow: 0 0 14px rgba(218,31,61,0.14);
}

html[data-site-theme="bright"] .services-page .top-bar-shell {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,244,245,0.88) 100%),
    rgba(255,255,255,0.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 10px 24px rgba(85,85,85,0.08);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .services-page .top-bar-shell::before {
  background: linear-gradient(120deg, rgba(218,31,61,0.06), rgba(218,31,61,0));
}

html[data-site-theme="bright"] .services-page .top-bar span,
html[data-site-theme="bright"] .services-page .top-bar a {
  color: var(--ink);
}

html[data-site-theme="bright"] .services-page .top-bar a:hover,
html[data-site-theme="bright"] .services-page .top-bar-item:hover {
  color: var(--blue-dark);
}

html[data-site-theme="bright"] .services-page .top-bar i {
  background: rgba(218,31,61,0.08);
  color: var(--amber-dark);
  text-shadow: none;
}

html[data-site-theme="bright"] .booking-page {
  background:
    radial-gradient(circle at top left, rgba(218,31,61,0.08) 0%, rgba(218,31,61,0) 26%),
    linear-gradient(180deg, #f7f7f8 0%, #f2f2f2 100%);
  color: var(--ink);
}

html[data-site-theme="bright"] .booking-page .page-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(218,31,61,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,245,246,0.98) 100%);
}

html[data-site-theme="bright"] .booking-page .page-hero::before {
  background:
    radial-gradient(circle at 72% 44%, rgba(218,31,61,0.09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(247,244,245,0.9) 100%),
    linear-gradient(rgba(85,85,85,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,85,85,0.03) 1px, transparent 1px),
    linear-gradient(rgba(218,31,61,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218,31,61,0.05) 1px, transparent 1px);
  opacity: 1;
}

html[data-site-theme="bright"] .booking-page .hero-grid::before {
  border-color: rgba(218,31,61,0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.3),
    0 0 0 18px rgba(218,31,61,0.03);
  opacity: 0.85;
}

html[data-site-theme="bright"] .booking-page .hero-grid::after {
  background: radial-gradient(circle, rgba(218,31,61,0.12) 0%, rgba(218,31,61,0.06) 30%, rgba(218,31,61,0) 72%);
  opacity: 0.6;
}

html[data-site-theme="bright"] .booking-page .hero-copy,
html[data-site-theme="bright"] .booking-page .hero-visual {
  border: 1px solid rgba(194,196,198,0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(250,248,249,0.92) 100%);
  box-shadow: 0 18px 42px rgba(85,85,85,0.08);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .booking-page .hero-copy h1 {
  color: var(--ink);
}

html[data-site-theme="bright"] .booking-page .hero-copy p {
  color: var(--muted);
}

html[data-site-theme="bright"] .booking-page .hero-points {
  border-top-color: rgba(194,196,198,0.55);
}

html[data-site-theme="bright"] .booking-page .hero-point strong,
html[data-site-theme="bright"] .booking-page .hero-panel__label {
  color: var(--ink);
}

html[data-site-theme="bright"] .booking-page .hero-point span,
html[data-site-theme="bright"] .booking-page .hero-stat span,
html[data-site-theme="bright"] .booking-page .hero-checklist li {
  color: var(--muted);
}

html[data-site-theme="bright"] .booking-page .hero-panel {
  background: rgba(255,255,255,0.9);
  border-color: rgba(194,196,198,0.55);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .booking-page .hero-stat {
  background: rgba(245,245,246,0.95);
  border-color: rgba(194,196,198,0.5);
}

html[data-site-theme="bright"] .booking-page .hero-checklist {
  background: rgba(255,255,255,0.9);
  border-color: rgba(194,196,198,0.55);
  backdrop-filter: none;
}

html[data-site-theme="bright"] .booking-page .hero-checklist li {
  border-bottom-color: rgba(194,196,198,0.38);
}

html[data-site-theme="bright"] .booking-page .page-hero .btn.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border-color: rgba(218,31,61,0.18);
  box-shadow: 0 10px 24px rgba(218,31,61,0.08);
}

html[data-site-theme="bright"] .booking-page .page-hero .btn.btn-outline:hover {
  background: #fff3f7;
  color: var(--blue);
  border-color: rgba(218,31,61,0.34);
  box-shadow: 0 10px 24px rgba(218,31,61,0.12);
}

/* ===========================
   SCROLL-REVEAL
   =========================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal="left"]  { transform: translateX(-22px); opacity: 0; }
[data-reveal="right"] { transform: translateX(22px);  opacity: 0; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ===========================
   TOP BAR
   =========================== */
.top-bar,
.home-page .top-bar,
.services-page .top-bar,
.company-page .top-bar,
.booking-page .top-bar,
.legal-page .top-bar,
.inspector-page .top-bar,
.cancel-page .top-bar {
  color: var(--dark-muted);
  font-size: 0.86rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 0.95rem;
  padding: 0.8rem max(1rem, calc((100vw - 1240px) / 2));
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, #050607 0%, #0d1013 52%, #171a1e 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  position: relative;
  z-index: 15;
  width: 100%;
  margin: 0;
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,0.03),
    0 12px 34px rgba(0,0,0,0.16);
  overflow: hidden;
}
.top-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.22;
  pointer-events: none;
}
.top-bar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(214,0,28,0), rgba(214,0,28,0.68), rgba(214,0,28,0));
  box-shadow: 0 0 18px rgba(214,0,28,0.34);
  pointer-events: none;
}
.top-bar-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem 1.45rem;
  width: fit-content;
  max-width: min(100%, 1120px);
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
}
.top-bar-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(214,0,28,0.1), rgba(214,0,28,0));
  opacity: 0.9;
  pointer-events: none;
}
.top-bar-left, .top-bar-center, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.top-bar-right { display: none; }
.top-bar-left > span,
.top-bar-center > span,
.top-bar-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 2.1rem;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  backdrop-filter: none;
}
.top-bar span,
.top-bar a {
  color: rgba(255,255,255,0.94);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.top-bar-left span,
.top-bar-center span {
  padding-right: 0;
}
.top-bar-left span::after,
.top-bar-center span::after {
  display: none !important;
  content: none !important;
}
.top-bar a:hover {
  color: #fff;
  opacity: 1;
}
.top-bar-left > span:last-child,
.top-bar-item--location {
  max-width: min(100%, 38rem);
}
.top-bar-left > span:last-child a,
.top-bar-item--location span {
  white-space: normal;
}
.top-bar i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 0;
  border-radius: 50%;
  background: rgba(214,0,28,0.12);
  color: var(--amber);
  font-size: 0.8rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(218,31,61,0.32);
}
.top-bar-item {
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.top-bar-item span {
  color: inherit;
}
.top-bar-item:hover {
  color: var(--dark-text);
  transform: translateY(-1px);
}
.top-bar-right a,
.home-page .top-bar-right a,
.services-page .top-bar-right a,
.company-page .top-bar-right a,
.booking-page .top-bar-right a,
.inspector-page .top-bar-right a,
.cancel-page .top-bar-right a {
  display: none;
}
.top-bar-right a i {
  margin-right: 0;
  display: block;
  font-size: 0.92rem;
  line-height: 1;
}
.top-bar-right a:hover { color: var(--dark-text); }

/* ===========================
   NAVIGATION
   =========================== */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  padding-inline: max(1rem, calc((100vw - 1240px) / 2));
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: rgba(12, 18, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  box-shadow: none;
  transition: box-shadow 0.3s, transform 0.3s;
  will-change: transform;
}
nav.nav-scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.35); }
nav.nav-hidden   { transform: translate3d(0, calc(-100% - 4px), 0); }

nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
nav .brand .logo {
  width: 2.5rem; height: 2.5rem; object-fit: contain;
  border-radius: var(--r-sm); background: transparent; padding: 0;
  transform: scale(1.16); transform-origin: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.95rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(228, 236, 247, 0.62);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
}
.nav-btn::after,
.home-page .nav-btn::after,
.services-page .nav-btn::after,
.company-page .nav-btn::after,
.booking-page .nav-btn::after,
.inspector-page .nav-btn::after,
.cancel-page .nav-btn::after { display: none; }
.nav-btn:hover, .nav-btn.nav-active { color: #fff; background: rgba(255,255,255,0.07); }

/* Amber Nav-CTA */
.nav-btn.button-like,
.home-page .nav-btn.button-like,
.services-page .nav-btn.button-like,
.company-page .nav-btn.button-like,
.booking-page .nav-btn.button-like,
.inspector-page .nav-btn.button-like,
.cancel-page .nav-btn.button-like {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.6rem 1.35rem;
  border-radius: var(--r-md);
  box-shadow: 0 8px 20px rgba(165,24,44,0.24);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-btn.button-like:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber-deep) 100%) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(165,24,44,0.34) !important;
}
.nav-btn.button-like::after { display: none !important; }

.nav-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.22rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 22px rgba(0,0,0,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.theme-toggle-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.72);
  min-width: 4.8rem;
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.theme-toggle-btn:hover {
  color: #fff;
}

.theme-toggle-btn.is-active {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(165,24,44,0.24);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.72);
  outline-offset: 2px;
}

/* Mobile Nav-Toggle */
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dark-border);
  color: #fff;
  font-size: 1.2rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  z-index: 2;
}
.nav-toggle:hover { background: rgba(255,255,255,0.10); }

/* ===========================
   HERO (Startseite – Vollbild)
   =========================== */
.site-hero {
  position: relative;
  min-height: clamp(560px, 88vh, 840px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 18%, rgba(214,0,28,0.18), transparent 26%),
    linear-gradient(135deg, #050607 0%, #111315 48%, #181a1d 100%);
  --hero-parallax-x: 0;
  --hero-parallax-y: 0;
}

.site-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 24%, rgba(214,0,28,0.14) 0%, rgba(214,0,28,0.14) 10%, rgba(214,0,28,0) 22%),
    radial-gradient(circle at 76% 24%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 8%, rgba(255,255,255,0) 18%),
    radial-gradient(circle at 72% 68%, rgba(214,0,28,0.12) 0%, rgba(214,0,28,0.12) 14%, rgba(214,0,28,0) 28%),
    linear-gradient(160deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 34%, rgba(0,0,0,0) 34.5%),
    linear-gradient(132deg, #060709 0%, #111315 46%, #191b1f 100%);
  transform: translate3d(
    calc(var(--hero-parallax-x) * -14px),
    calc(var(--hero-parallax-y) * -10px),
    0
  ) scale(1.03);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 44%, rgba(214,0,28,0.16), transparent 30%),
    linear-gradient(104deg, rgba(5,6,8,0.94) 0%, rgba(9,11,14,0.82) 46%, rgba(11,13,16,0.58) 100%);
}

/* Industrielles Gittermuster */
.site-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.034) 1px, transparent 1px),
    linear-gradient(rgba(214,0,28,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,0,28,0.09) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 192px 192px, 192px 192px;
  background-position:
    calc(var(--hero-parallax-x) * -8px) calc(var(--hero-parallax-y) * -6px),
    calc(var(--hero-parallax-x) * -8px) calc(var(--hero-parallax-y) * -6px),
    calc(var(--hero-parallax-x) * -14px) calc(var(--hero-parallax-y) * -10px),
    calc(var(--hero-parallax-x) * -14px) calc(var(--hero-parallax-y) * -10px);
  opacity: 0.46;
  pointer-events: none;
}

.site-hero__engineering {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.site-hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.site-hero__logo-scene {
  position: absolute;
  top: 52%;
  right: clamp(-5rem, -2vw, -1rem);
  width: min(78vw, 920px);
  aspect-ratio: 840 / 628;
  transform:
    translate3d(calc(var(--hero-parallax-x) * 26px), calc(var(--hero-parallax-y) * 20px), 0)
    translateY(-50%);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.95;
}

.site-hero__logo-glow,
.site-hero__logo-ring,
.site-hero__logo-watermark,
.site-hero__logo-vector {
  position: absolute;
  inset: 0;
}

.site-hero__logo-glow {
  inset: 12% 10% 12% 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(214,0,28,0.22) 0%, rgba(214,0,28,0.12) 28%, rgba(214,0,28,0) 68%);
  filter: blur(26px);
  transform: translate3d(
    calc(var(--hero-parallax-x) * 14px),
    calc(var(--hero-parallax-y) * 12px),
    0
  );
  animation: hero-red-pulse 7.5s ease-in-out infinite;
}

.site-hero__logo-ring {
  inset: 8% 8% 10% 44%;
  border: 1px solid rgba(194,196,198,0.14);
  border-radius: 44% 56% 52% 48% / 48% 44% 56% 52%;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 0 0 18px rgba(255,255,255,0.012);
  transform:
    translate3d(calc(var(--hero-parallax-x) * 10px), calc(var(--hero-parallax-y) * 8px), 0)
    rotate(-10deg);
  animation: hero-ring-orbit 24s linear infinite;
}

.site-hero__logo-watermark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.17;
  filter:
    grayscale(0.14)
    contrast(1.12)
    brightness(0.82)
    drop-shadow(0 0 28px rgba(214,0,28,0.12));
  transform: translate3d(
    calc(var(--hero-parallax-x) * 16px),
    calc(var(--hero-parallax-y) * 12px),
    0
  );
  animation: hero-watermark-breathe 16s ease-in-out infinite;
}

.site-hero__logo-vector {
  width: 100%;
  height: 100%;
  overflow: visible;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.logo-draw line,
.logo-draw path,
.logo-draw text {
  fill: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.logo-draw--guides line,
.logo-draw--accent path,
.logo-draw--wordmark text {
  stroke-dasharray: var(--dash-start, 1000);
  stroke-dashoffset: var(--dash-start, 1000);
  animation: technical-trace 15s ease-in-out infinite;
}

.logo-draw--guides line {
  --dash-start: 420;
  stroke: rgba(226,230,234,0.22);
  stroke-width: 1.65;
}

.logo-draw--guides line:nth-child(2) { --dash-start: 260; animation-delay: 0.25s; }
.logo-draw--guides line:nth-child(3) { --dash-start: 180; animation-delay: 0.45s; }
.logo-draw--guides line:nth-child(4) { --dash-start: 140; animation-delay: 0.65s; }
.logo-draw--guides line:nth-child(5) { --dash-start: 210; animation-delay: 0.85s; }
.logo-draw--guides line:nth-child(6) { --dash-start: 210; animation-delay: 1.05s; }

.logo-draw--accent path {
  stroke: rgba(214,0,28,0.88);
  filter: drop-shadow(0 0 12px rgba(214,0,28,0.34));
}

.logo-draw--accent path:first-child {
  --dash-start: 1320;
  stroke-width: 9;
}

.logo-draw--accent path:last-child {
  --dash-start: 320;
  stroke-width: 6;
  animation-delay: 0.5s;
}

.logo-draw--wordmark text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-draw--wordmark text:nth-child(1) {
  --dash-start: 980;
  font-size: 58px;
  font-weight: 500;
  stroke-width: 1.45;
  stroke: rgba(235,239,244,0.38);
  fill: rgba(235,239,244,0.02);
  animation-delay: 0.3s;
}

.logo-draw--wordmark text:nth-child(2) {
  --dash-start: 1260;
  font-size: 122px;
  stroke-width: 2.55;
  stroke: rgba(248,88,108,0.72);
  fill: rgba(214,0,28,0.08);
  filter: drop-shadow(0 0 14px rgba(214,0,28,0.22));
  animation-delay: 0.55s;
}

.logo-draw--wordmark text:nth-child(3) {
  --dash-start: 720;
  font-size: 114px;
  stroke-width: 2.4;
  stroke: rgba(214,218,223,0.58);
  fill: rgba(214,218,223,0.04);
  animation-delay: 0.9s;
}

.logo-draw--wordmark text:nth-child(4) {
  --dash-start: 360;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.18em;
  stroke-width: 1.1;
  stroke: rgba(235,239,244,0.28);
  fill: rgba(235,239,244,0.03);
  animation-delay: 1.15s;
}

@keyframes technical-trace {
  0% {
    stroke-dashoffset: var(--dash-start, 1000);
    opacity: 0.04;
  }
  14% {
    opacity: 0.84;
  }
  42%,
  62% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: var(--dash-start, 1000);
    opacity: 0.08;
  }
}

@keyframes hero-red-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translate3d(
      calc(var(--hero-parallax-x) * 14px),
      calc(var(--hero-parallax-y) * 12px),
      0
    ) scale(0.96);
  }
  50% {
    opacity: 0.82;
    transform: translate3d(
      calc(var(--hero-parallax-x) * 14px),
      calc(var(--hero-parallax-y) * 12px),
      0
    ) scale(1.04);
  }
}

@keyframes hero-ring-orbit {
  0% {
    transform:
      translate3d(calc(var(--hero-parallax-x) * 10px), calc(var(--hero-parallax-y) * 8px), 0)
      rotate(-10deg);
  }
  50% {
    transform:
      translate3d(calc(var(--hero-parallax-x) * 10px), calc(var(--hero-parallax-y) * 8px), 0)
      rotate(2deg);
  }
  100% {
    transform:
      translate3d(calc(var(--hero-parallax-x) * 10px), calc(var(--hero-parallax-y) * 8px), 0)
      rotate(14deg);
  }
}

@keyframes hero-watermark-breathe {
  0%,
  100% {
    opacity: 0.14;
    transform: translate3d(
      calc(var(--hero-parallax-x) * 16px),
      calc(var(--hero-parallax-y) * 12px),
      0
    ) scale(0.992);
  }
  50% {
    opacity: 0.2;
    transform: translate3d(
      calc(var(--hero-parallax-x) * 16px),
      calc(var(--hero-parallax-y) * 12px),
      0
    ) scale(1.01);
  }
}

/* Diagonaler Schnitt unten */
.site-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 6;
}

.site-hero__content {
  position: relative;
  z-index: 5;
  width: var(--site-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding-block: 5.6rem 6.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .site-hero__bg,
  .site-hero__grid,
  .site-hero__logo-scene,
  .site-hero__logo-glow,
  .site-hero__logo-ring,
  .site-hero__logo-watermark,
  .page-hero::after,
  .hero-grid::before,
  .hero-grid::after,
  .logo-draw--guides line,
  .logo-draw--accent path,
  .logo-draw--wordmark text {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .site-hero__particles {
    display: none;
  }
}

/* Hero Kicker */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 1.1rem;
}
.hero-kicker i { font-size: 0.8rem; }

/* Hero H1 */
.site-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
}
.site-hero h1 em { font-style: normal; color: var(--amber); }

.site-hero__desc {
  font-size: 1.05rem;
  color: rgba(228, 236, 247, 0.68);
  line-height: 1.72;
  max-width: 500px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.site-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  font-size: 0.82rem;
  color: rgba(228, 236, 247, 0.68);
  backdrop-filter: blur(8px);
}
.hero-badge i { color: var(--amber); font-size: 0.85rem; }

/* Hero Visual Panel (rechts) */
.site-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-media-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 22px 46px rgba(0,0,0,0.18);
}
.hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(74,74,74,0.08) 0%, rgba(74,74,74,0.16) 38%, rgba(74,74,74,0.82) 100%);
}
.hero-media-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(74,74,74,0.76);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--dark-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-media-card__badge i {
  color: var(--amber);
  line-height: 1;
}
.hero-media-card__copy {
  position: absolute;
  inset: auto 1.2rem 1.15rem 1.2rem;
  z-index: 1;
}
.hero-media-card__copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.hero-media-card__copy p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
}
.hero-panel {
  background: rgba(255,255,255,0.085);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-2xl);
  padding: 1.7rem;
  backdrop-filter: blur(12px);
}
.hero-panel__label {
  font-size: 0.73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--amber); margin-bottom: 1.2rem;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.hero-stat {
  text-align: center; padding: 1rem 0.6rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.10);
}
.hero-stat strong {
  display: block; font-family: var(--font-display); font-size: 2rem;
  font-weight: 800; color: var(--amber); line-height: 1;
}
.hero-stat span {
  display: block; font-size: 0.77rem; font-weight: 600; color: rgba(255,255,255,0.78); margin-top: 0.36rem; line-height: 1.35;
}
.hero-checklist {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--r-2xl); padding: 1.3rem 1.7rem; backdrop-filter: blur(12px);
}
.hero-checklist li {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.42rem 0;
  font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-checklist li:last-child { border-bottom: none; }
.hero-checklist li i {
  color: var(--amber);
  font-size: 0.9rem;
  width: 1rem;
  text-align: center;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(218,31,61,0.18);
}

/* ===========================
   PAGE HERO (Unterseiten)
   =========================== */
.page-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(214,0,28,0.18), transparent 26%),
    linear-gradient(135deg, #050607 0%, #111315 48%, #181a1d 100%);
  padding-block: 4.5rem 3rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 44%, rgba(214,0,28,0.16), transparent 30%),
    linear-gradient(104deg, rgba(5,6,8,0.94) 0%, rgba(9,11,14,0.82) 46%, rgba(11,13,16,0.58) 100%),
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(rgba(214,0,28,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,0,28,0.08) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px, 174px 174px, 174px 174px;
  background-position: center, center, center, center, center, center;
  opacity: 0.96;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: clamp(-8rem, -4vw, -1rem);
  width: min(64vw, 760px);
  aspect-ratio: 840 / 628;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 52% 50%, rgba(214,0,28,0.22) 0%, rgba(214,0,28,0.12) 28%, rgba(214,0,28,0) 70%),
    url('./atlan-logo-transparent.png') center / contain no-repeat;
  filter:
    grayscale(0.14)
    contrast(1.12)
    brightness(0.82)
    drop-shadow(0 0 28px rgba(214,0,28,0.12));
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: page-hero-watermark-breathe 16s ease-in-out infinite;
}
.page-hero--compact { padding-block: 3.8rem 2.5rem; }

.page-hero--animated-logo::after {
  display: none;
}

.page-hero .site-hero__engineering {
  z-index: 0;
}

.page-hero .site-hero__particles {
  opacity: 0.46;
}

.page-hero .site-hero__logo-scene {
  top: 50%;
  right: clamp(-7rem, -3vw, -1rem);
  width: min(72vw, 760px);
  opacity: 0.82;
}

.page-hero .site-hero__logo-glow {
  inset: 12% 12% 12% 24%;
}

.page-hero .site-hero__logo-ring {
  inset: 10% 10% 12% 46%;
}

.page-hero .site-hero__logo-watermark {
  opacity: 0.16;
}


.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1.4rem;
  align-items: stretch;
}
.hero-grid::before,
.hero-grid::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.hero-grid::before {
  top: 8%;
  right: 4%;
  width: min(44vw, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(194,196,198,0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 0 0 18px rgba(255,255,255,0.012);
  opacity: 0.72;
  animation: page-hero-ring-orbit 24s linear infinite;
}
.hero-grid::after {
  top: 18%;
  right: 10%;
  width: min(36vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,0,28,0.22) 0%, rgba(214,0,28,0.12) 30%, rgba(214,0,28,0) 72%);
  filter: blur(24px);
  opacity: 0.56;
  animation: page-hero-red-pulse 7.5s ease-in-out infinite;
}

@keyframes page-hero-red-pulse {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.04);
  }
}

@keyframes page-hero-ring-orbit {
  0% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(14deg);
  }
}

@keyframes page-hero-watermark-breathe {
  0%,
  100% {
    opacity: 0.14;
    transform: translateY(-50%) scale(0.992);
  }
  50% {
    opacity: 0.2;
    transform: translateY(-50%) scale(1.01);
  }
}

.hero-copy,
.hero-visual {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-2xl);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.hero-copy { padding: 2.4rem; }
.hero-copy .hero-kicker { color: var(--amber); }
.hero-copy h1 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.18; margin-bottom: 1rem;
}
.hero-copy p { font-size: 1rem; color: var(--dark-muted); line-height: 1.72; margin-bottom: 1.6rem; }

.hero-points {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-point strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--dark-text); margin-bottom: 0.2rem; }
.hero-point span { font-size: 0.88rem; color: rgba(255,255,255,0.9); }

.hero-visual { padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.hero-scene { position: relative; height: 100%; min-height: 280px; }
.scene-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 36px 36px; border-radius: inherit;
}
.scene-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(218,31,61,0.18); pointer-events: none; }
.scene-orbit--one { inset: 8% 8%; animation: orbit 22s linear infinite; }
.scene-orbit--two { inset: 22% 22%; border-color: rgba(218,31,61,0.18); animation: orbit 15s linear infinite reverse; }
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.visual-stack {
  background: rgba(255,255,255,0.082); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl); padding: 1.4rem; position: relative; z-index: 2; margin-bottom: 1rem;
}
.visual-stack--main      { transform: rotate(var(--rotate, -5deg)); }
.visual-stack--secondary { transform: rotate(var(--rotate, 5deg)); margin-left: auto; max-width: 82%; }
.visual-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.visual-brand img { width: 2rem; height: 2rem; object-fit: contain; border-radius: 4px; }
.visual-brand strong { display: block; font-weight: 700; color: var(--dark-text); font-size: 0.88rem; }
.visual-brand span { font-size: 0.83rem; color: rgba(255,255,255,0.88); }
.visual-stack ul { display: flex; flex-direction: column; gap: 0.45rem; }
.visual-stack li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.visual-stack li i {
  color: var(--amber);
  font-size: 0.84rem;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(218,31,61,0.18);
}
.visual-stack > strong { display: block; font-size: 0.86rem; font-weight: 700; color: var(--dark-text); margin-bottom: 0.3rem; }
.visual-stack > span { font-size: 0.85rem; color: rgba(255,255,255,0.88); }

.scene-chip {
  position: absolute; z-index: 3;
  background: rgba(74,74,74,0.9); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px; padding: 0.4rem 0.75rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; color: var(--dark-text); backdrop-filter: blur(4px);
}
.scene-chip--top    { top: 4%; right: 5%; transform: rotate(-4deg); }
.scene-chip--bottom { bottom: 10%; left: 4%; transform: rotate(3deg); }
.scene-chip i {
  color: var(--amber);
  line-height: 1;
  text-shadow: 0 1px 10px rgba(218,31,61,0.18);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.8rem 1.9rem; border-radius: var(--r-md);
  font-size: 0.94rem; font-weight: 700; font-family: var(--font);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: all 0.22s ease; white-space: nowrap; line-height: 1.2;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff; border-color: rgba(165, 24, 44, 0.74);
  box-shadow: 0 8px 22px rgba(165, 24, 44, 0.22);
}
.btn:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber-deep) 100%);
  border-color: rgba(165, 24, 44, 0.94);
  transform: translateY(-2px); box-shadow: 0 12px 30px rgba(165,24,44,0.34);
}
.btn.btn-outline {
  background: rgba(255,255,255,0.82); color: var(--blue-dark); border-color: rgba(218,31,61,0.18);
}
.btn.btn-outline:hover {
  border-color: rgba(218,31,61,0.34); color: var(--blue); transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(218,31,61,0.12); background: #fff;
}
.section--dark .btn.btn-outline,
.section--darker .btn.btn-outline,
.site-hero .btn.btn-outline,
.page-hero .btn.btn-outline {
  background: transparent;
  color: rgba(228,236,247,0.84);
  border-color: rgba(255,255,255,0.22);
  box-shadow: none;
}
.section--dark .btn.btn-outline:hover,
.section--darker .btn.btn-outline:hover,
.site-hero .btn.btn-outline:hover,
.page-hero .btn.btn-outline:hover {
  border-color: rgba(255,255,255,0.46);
  color: #fff;
  background: rgba(255,255,255,0.05);
  box-shadow: none;
}
.btn--secondary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff; border-color: rgba(165,24,44,0.72);
  box-shadow: 0 8px 22px rgba(165,24,44,0.22);
}
.btn--secondary:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber-deep) 100%);
  border-color: rgba(165,24,44,0.9);
  transform: translateY(-2px); box-shadow: 0 12px 30px rgba(165,24,44,0.34);
}
.btn--dark-outline {
  background: rgba(255,255,255,0.82);
  color: var(--blue-dark);
  border-color: rgba(218,31,61,0.16);
}
.btn--dark-outline:hover {
  background: #fff;
  border-color: rgba(218,31,61,0.34);
  color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(218,31,61,0.12);
}
.btn--tel {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.16); border-radius: var(--r-md);
  color: rgba(255,255,255,0.84); font-size: 0.94rem; font-weight: 600;
  transition: all 0.2s; background: transparent;
}
.btn--tel:hover { border-color: rgba(255,255,255,0.38); color: #fff; }

/* ===========================
   SECTION HEADINGS
   =========================== */
.section-kicker,
.section-label {
  display: inline-block; font-size: 0.73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--amber); margin-bottom: 0.75rem;
}
.section-heading { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.home-page .section-heading { margin-bottom: 2.4rem; }
.section-heading--raised { margin-top: -0.7rem; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading h2 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800; line-height: 1.18; color: var(--ink); margin-bottom: 0.9rem; letter-spacing: -0.01em;
}
.section-heading p { font-size: 1rem; color: var(--muted); line-height: 1.72; }
.section--dark .section-heading h2,
.section--darker .section-heading h2,
.page-hero .section-heading h2 { color: var(--dark-text); }
.section--dark .section-heading p,
.section--darker .section-heading p { color: var(--dark-muted); }

/* ===========================
   FEATURE CARDS
   =========================== */
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-radius: 3px 0 0 3px; opacity: 0; transition: opacity 0.26s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(218,31,61,0.18); }
.feature-card:hover::before { opacity: 1; }
.feature-card > i {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(218,31,61,0.1) 0%, rgba(165,24,44,0.18) 100%);
  margin-bottom: 1.2rem; font-size: 1.25rem; color: var(--amber-dark);
  transition: background 0.26s, color 0.26s, box-shadow 0.26s ease;
  box-shadow: inset 0 0 0 1px rgba(165,24,44,0.08);
}
.feature-card:hover > i {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(165,24,44,0.22);
}
.feature-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.55rem; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }

/* ===========================
   BOOKING FLOW
   =========================== */
.booking-flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.booking-flow-grid::before {
  content: '';
  position: absolute;
  top: 2.15rem;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, rgba(218,31,61,0) 0%, rgba(218,31,61,0.32) 18%, rgba(165,24,44,0.34) 50%, rgba(218,31,61,0.32) 82%, rgba(218,31,61,0) 100%);
  pointer-events: none;
}
.booking-flow-card {
  position: relative;
  z-index: 1;
  min-height: 228px;
  padding: 1.35rem 1.15rem 1.3rem;
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,241,243,0.98) 100%);
  border: 1px solid rgba(218,31,61,0.14);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.booking-flow-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
}
.booking-flow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(218,31,61,0.24);
}
.booking-flow-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.booking-flow-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(165,24,44,0.22);
}
.booking-flow-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(218,31,61,0.12) 0%, rgba(165,24,44,0.18) 100%);
  color: var(--amber-dark);
  box-shadow: inset 0 0 0 1px rgba(165,24,44,0.08);
}
.booking-flow-card__icon i {
  font-size: 1rem;
  line-height: 1;
}
.booking-flow-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.booking-flow-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--muted);
}
.feature-grid--three { grid-template-columns: repeat(3, 1fr); }
.feature-grid--four  { grid-template-columns: repeat(4, 1fr); }

/* ===========================
   TRUST STRIP
   =========================== */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.trust-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 1.5rem; transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative; overflow: hidden;
}
.trust-item::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--amber) 100%);
  opacity: 0; transition: opacity 0.22s ease;
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-item:hover::after { opacity: 1; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.trust-item span { font-size: 0.86rem; color: var(--muted); }

/* ===========================
   STAT ROW (Zahlen, dunkel)
   =========================== */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--dark-border); border-radius: var(--r-xl);
  overflow: hidden; background: var(--dark-surface);
}
.stat-item { min-width: 0; padding: 2.4rem 1.4rem; text-align: center; border-right: 1px solid var(--dark-border); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: 0.4rem; }
.stat-item span { font-size: 0.84rem; color: var(--dark-muted); }

/* Helle Variante fuer einzelne Seitenabschnitte */
.stat-row.stat-row--light {
  background: var(--surface);
  border-color: var(--border);
}
.stat-row.stat-row--light .stat-item { border-right-color: var(--border); }
.stat-row.stat-row--light .stat-item span { color: var(--muted); }

/* ===========================
   STAT CARDS (hell)
   =========================== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 2rem 1.8rem; transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.55rem; }
.stat-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ===========================
   TIMELINE / SCHRITTE
   =========================== */
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.timeline-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 2rem 1.8rem; position: relative;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.timeline-step {
  display: block; font-family: var(--font-display); font-size: 3.2rem; font-weight: 800;
  color: var(--amber); line-height: 1; margin-bottom: 0.8rem;
  letter-spacing: -0.04em; transition: color 0.26s ease;
}
.timeline-card:hover .timeline-step { color: var(--amber-dark); }
.timeline-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.timeline-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ===========================
   SPLIT PANEL (Karten-Variante)
   =========================== */
.split-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 2.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.split-panel--media {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: stretch;
}
.split-copy h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--ink); margin-bottom: 0.8rem; }
.split-copy p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.split-highlights { display: flex; flex-direction: column; gap: 1rem; }
.split-highlights > article {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.2rem 1.4rem; transition: transform 0.2s ease;
}
.split-highlights > article:hover { transform: translateX(4px); }
.split-highlights > article strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.3rem; }
.split-highlights > article span { font-size: 0.86rem; color: var(--muted); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.split-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: #e5e5e5;
  box-shadow: var(--shadow-md);
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.media-frame video {
  background: #1f1f1f;
}
.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,74,74,0.04) 8%, rgba(74,74,74,0.12) 44%, rgba(74,74,74,0.74) 100%);
  pointer-events: none;
}
.media-frame--video {
  min-height: 340px;
}
.media-frame--compact {
  min-height: 240px;
}
.media-frame--portrait {
  min-height: 380px;
}
.media-frame__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.media-frame__badge i {
  color: var(--amber);
  line-height: 1;
}
.media-frame__copy {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 1;
  color: #fff;
}
.media-frame__copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 0.34rem;
}
.media-frame__copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}
.media-note {
  background:
    linear-gradient(180deg, rgba(218,31,61,0.08) 0%, rgba(218,31,61,0.05) 100%),
    var(--bg);
  border: 1px solid rgba(218,31,61,0.18);
  border-radius: var(--r-xl);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.media-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.media-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}
.media-note__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.media-note__chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(218,31,61,0.14);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
}

/* ===========================
   CTA SEKTIONEN
   =========================== */
/* Dark CTA Strip */
.cta-section {
  position: relative; padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--dark-2); overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-content { position: relative; z-index: 1; width: var(--site-width); margin-inline: auto; text-align: center; }
.cta-content h2 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 800;
  color: #fff; line-height: 1.18; margin-bottom: 1.1rem; letter-spacing: -0.01em;
}
.cta-content p { font-size: 1.05rem; color: var(--dark-muted); margin-bottom: 2.5rem; max-width: 520px; margin-inline: auto; line-height: 1.7; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* CTA Panel (Karte) */
.cta-panel--dark {
  background: var(--dark-2); border: 1px solid var(--dark-border); border-radius: var(--r-2xl);
  padding: 2.8rem 3.5rem; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}
.cta-panel--dark::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-panel--dark h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--dark-text); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-panel--dark p { color: rgba(255,255,255,0.9); max-width: 540px; margin-inline: auto; margin-bottom: 2rem; font-size: 1rem; line-height: 1.7; position: relative; z-index: 1; }
.cta-panel--dark .section-kicker { position: relative; z-index: 1; }
.cta-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 1; }
.cta-link {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff; border-radius: var(--r-md);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.22s ease;
  border: 1px solid rgba(165, 24, 44, 0.72);
  box-shadow: 0 8px 22px rgba(165,24,44,0.22);
}
.cta-link:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber-deep) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(165,24,44,0.34);
}
.cta-link-secondary {
  background: rgba(255,255,255,0.05);
  color: rgba(228,236,247,0.84);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.cta-link-secondary:hover {
  background: rgba(218,31,61,0.16);
  border-color: rgba(218,31,61,0.34);
  color: var(--dark-text);
  box-shadow: 0 10px 22px rgba(218,31,61,0.14);
}

/* ===========================
   KONTAKT-SEKTION
   =========================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: stretch; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 2.4rem;
}
.contact-card h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.2rem; margin-block: 1.8rem; }
.contact-list article { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-list strong { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-list span, .contact-list a { font-size: 0.97rem; color: var(--ink); }
.contact-list a:hover { color: var(--blue); }
.map-card { border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--border); min-height: 360px; }
.map-frame { width: 100%; height: 100%; min-height: 360px; border: none; display: block; }

/* ===========================
   FAQ
   =========================== */
.faq-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.45rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(218,31,61,0.22);
  box-shadow: var(--shadow-md);
}
.faq-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: rgba(218,31,61,0.22); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 0.96rem; color: var(--ink); list-style: none; transition: background 0.2s; }
.faq-question:hover { background: rgba(218,31,61,0.04); }
.faq-question::marker, .faq-question::-webkit-details-marker { display: none; }
.faq-question i { color: var(--blue); transition: transform 0.25s ease; flex-shrink: 0; }
details[open] .faq-question i { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.3rem; font-size: 0.92rem; color: var(--muted); line-height: 1.72; }

/* ===========================
   FORMULARE
   =========================== */
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-family: var(--font); font-size: 0.95rem; color: var(--ink);
  background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-pale); }
.is-live-valid   { border-color: #16a34a !important; }
.is-live-invalid { border-color: #dc2626 !important; }

/* ===========================
   KALENDER / BUCHUNG
   =========================== */
.calendar-stage {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 2.4rem; min-height: 500px; display: flex; align-items: center; justify-content: center;
}
.status-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; }
.status-copy { padding: 2.4rem; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2rem; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(218,31,61,0.14) 0%, rgba(218,31,61,0) 34%),
    radial-gradient(circle at top right, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 26%),
    linear-gradient(180deg, rgba(66,66,66,0.98) 0%, rgba(46,46,46,1) 100%);
  color: var(--dark-text);
  padding-block: 4.5rem 2.2rem;
  border-top: 1px solid var(--dark-border);
  font-family: var(--font-display);
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 38%);
  pointer-events: none;
}
.footer-shell { width: var(--site-width); margin-inline: auto; }
.footer-shell { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(210px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.footer-grid:not(:has(.footer-brand)) {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
  gap: 0;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r-xl) + 4px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 42px rgba(0,0,0,0.14);
  backdrop-filter: blur(10px);
}
.footer-grid:not(:has(.footer-brand))::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(218,31,61,0.08), rgba(218,31,61,0)),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  opacity: 0.55;
  pointer-events: none;
}
.footer-grid:not(:has(.footer-brand))::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1.45rem;
  right: 1.45rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(218,31,61,0.96) 0%, rgba(165,24,44,0.72) 100%);
}
.footer-brand,
.footer-col {
  position: relative;
  min-width: 0;
  padding: 1.45rem 1.35rem;
  border-radius: calc(var(--r-xl) + 2px);
  background: linear-gradient(180deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 42px rgba(0,0,0,0.14);
  backdrop-filter: blur(10px);
}
.footer-brand::after,
.footer-col::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(218,31,61,0.96) 0%, rgba(165,24,44,0.72) 100%);
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand__logo {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: #fff;
}
.footer-brand__logo img { width: 2.2rem; height: 2.2rem; object-fit: contain; border-radius: var(--r-sm); background: transparent; padding: 0; }
.footer-brand p { font-size: 0.93rem; color: rgba(255,255,255,0.9); line-height: 1.74; max-width: 320px; }
.footer-grid:not(:has(.footer-brand)) .footer-col {
  min-height: 100%;
  padding: 1.6rem 1.45rem;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
}
.footer-grid:not(:has(.footer-brand)) .footer-col::after {
  display: none;
}
.footer-grid:not(:has(.footer-brand)) .footer-col + .footer-col {
  border-left: 1px solid rgba(255,255,255,0.08);
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.15rem;
}
.footer-socials a {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.74);
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.footer-socials a:hover {
  transform: translateY(-2px);
  background: rgba(218,31,61,0.18);
  border-color: rgba(218,31,61,0.32);
  color: #fff;
}
.footer-col h4 {
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(218,31,61,0.12);
  border: 1px solid rgba(218,31,61,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col li + li {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-col a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer-col p {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
}
.footer-col p + p { margin-top: 0.55rem; }
.footer-grid:not(:has(.footer-brand)) .footer-col p + p {
  margin-top: 0.8rem;
}
.footer-grid:not(:has(.footer-brand)) .footer-col h4 {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.footer-col p i {
  width: 1.1rem;
  text-align: center;
  color: var(--amber);
  margin-right: 0.45rem;
}
.footer-bottom {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: calc(var(--r-xl) - 2px);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
}
.footer-bottom__links {
  display: flex;
  align-items: center;
  gap: 0.8rem 1.1rem;
  flex-wrap: wrap;
}
.footer-bottom__links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.74);
  text-decoration: none;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.footer-bottom__links a:hover {
  color: #fff;
  background: rgba(218,31,61,0.14);
  border-color: rgba(218,31,61,0.26);
}

/* ===========================
   LEGAL PAGES
   =========================== */
.admin-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.admin-login-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-2xl);
  padding: clamp(1.5rem, 2.8vw, 2.15rem);
  box-shadow: 0 24px 54px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
}

.admin-login-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -42px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218,31,61,0.18), rgba(218,31,61,0));
  pointer-events: none;
}

.admin-login-card > * { position: relative; z-index: 1; }
.admin-login-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--dark-text);
}
.admin-login-card p {
  margin: 0.75rem 0 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.35rem;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

.admin-field input {
  width: 100%;
  min-height: 3.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.1);
  color: var(--dark-text);
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-field input::placeholder { color: rgba(255,255,255,0.48); }

.admin-field input:focus {
  border-color: rgba(218,31,61,0.42);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 0 0 3px rgba(218,31,61,0.14);
}

.admin-login-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.admin-login-note {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
}

.admin-status {
  min-height: 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.admin-status.is-error { color: #ffd7dd; }
.admin-status.is-success { color: #f2f7f2; }

.admin-side-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-2xl);
  padding: 1.3rem 1.35rem;
}

.admin-side-card + .admin-side-card { margin-top: 1rem; }
.admin-side-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--dark-text);
}
.admin-side-card p,
.admin-side-card li {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  line-height: 1.7;
}
.admin-side-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}
.admin-side-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.admin-side-card li i {
  color: var(--amber);
  margin-top: 0.18rem;
  text-shadow: 0 1px 10px rgba(218,31,61,0.18);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
  align-items: stretch;
}

.legal-grid--feature {
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
}

.legal-shell + .legal-shell {
  margin-top: clamp(2.35rem, 4.2vw, 3.45rem) !important;
}

.legal-shell + .legal-shell::before {
  content: "";
  display: block;
  width: min(180px, 34%);
  height: 1px;
  margin: 0 auto 1.45rem;
  background: linear-gradient(90deg, rgba(218,31,61,0), rgba(218,31,61,0.34), rgba(218,31,61,0));
}

.legal-shell--nav {
  margin-top: clamp(1.05rem, 2.2vw, 1.5rem) !important;
}

.legal-shell--nav + .legal-shell {
  margin-top: clamp(1.55rem, 3vw, 2.1rem) !important;
}

.legal-shell--nav + .legal-shell::before { display: none; }

.legal-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
  border-radius: 28px;
  border: 1px solid rgba(218,31,61,0.16);
  background:
    radial-gradient(circle at top right, rgba(218,31,61,0.09), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,244,245,0.98) 100%);
  box-shadow: var(--shadow-sm);
}

.legal-anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(218,31,61,0.16);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.legal-anchor-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(218,31,61,0.3);
  color: var(--blue-dark);
  box-shadow: 0 10px 20px rgba(85,85,85,0.08);
}

.legal-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(1.35rem, 2vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.legal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--blue) 100%);
  opacity: 0.92;
}

.legal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(218,31,61,0.2);
}

.legal-card--accent {
  background: linear-gradient(180deg, #ffffff 0%, rgba(218,31,61,0.07) 100%);
  border-color: rgba(218,31,61,0.18);
}

.legal-card--accent::after {
  content: "";
  position: absolute;
  top: -88px;
  right: -54px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218,31,61,0.14), rgba(218,31,61,0));
  pointer-events: none;
}

.legal-card--dark {
  background: linear-gradient(145deg, var(--dark) 0%, var(--blue-dark) 100%);
  border-color: rgba(255,255,255,0.08);
  color: var(--dark-text);
}

.legal-card > :first-child { margin-top: 0; }
.legal-card h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--ink);
}
.legal-card h3 {
  margin: 1.15rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.legal-card p,
.legal-card li {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--muted);
}
.legal-card p + p,
.legal-card p + ul,
.legal-card ul + p,
.legal-card h2 + p,
.legal-card h3 + p { margin-top: 0.75rem; }
.legal-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.legal-card a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}
.legal-card a:hover { color: var(--blue); }
.legal-card--dark h2,
.legal-card--dark h3,
.legal-card--dark p,
.legal-card--dark li,
.legal-card--dark a { color: inherit; }
.legal-card--dark a {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.28);
}

.legal-meta {
  display: grid;
  gap: 0.75rem;
}

.legal-note {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(218,31,61,0.16);
  color: var(--ink);
}

@media (max-width: 920px) {
  .legal-grid--feature { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .legal-anchor-nav {
    border-radius: 22px;
    padding: 0.9rem;
  }

  .legal-anchor-nav a {
    width: 100%;
  }
}

/* ===========================
   FLOATING CTA
   =========================== */
.floating-cta {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1.4rem;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff; border: 1px solid rgba(165,24,44,0.78); border-radius: 999px;
  font-family: var(--font); cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 30px rgba(165,24,44,0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
}
.floating-cta:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber-deep) 100%);
  box-shadow: 0 14px 42px rgba(165,24,44,0.44);
  transform: translateY(-2px) translate(var(--mag-x, 0px), var(--mag-y, 0px));
}
.floating-cta i { font-size: 1.1rem; }
.floating-cta span { display: flex; flex-direction: column; line-height: 1.3; }
.floating-cta small { font-size: 0.7rem; opacity: 0.68; }
.floating-cta strong { font-size: 0.87rem; font-weight: 700; }

/* ===========================
   TILT & MAGNETIC
   =========================== */
[data-tilt] {
  transform: translateY(var(--lift, 0px));
  transition: transform 0.15s ease, box-shadow 0.22s ease;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: flat;
}

.hero-copy,
.hero-visual,
.visual-stack,
.feature-card,
.booking-flow-card,
.trust-item,
.stat-card,
.timeline-card,
.split-panel,
.cta-panel--dark,
.info-card,
.status-copy,
.status-visual,
.assistant-copy,
.assistant-preview-card,
.assistant-info-card,
.assistant-metric-card,
.assistant-story-panel,
.assistant-process-card,
.assistant-support-card {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
}

.top-bar,
.footer,
.section--dark,
.section--darker,
.page-hero,
.hero-panel,
.hero-checklist,
.hero-stat,
.visual-stack,
.scene-chip,
.cta-panel--dark,
.footer-brand,
.footer-col {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[data-magnetic] {
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===========================
   PAGE TRANSITION
   =========================== */
.page-transition-overlay { position: fixed; inset: 0; background: var(--dark); z-index: 200; pointer-events: none; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid:not(:has(.footer-brand)) { grid-template-columns: 1fr 1fr; }
  .footer-grid:not(:has(.footer-brand)) { gap: 0; }
  .footer-grid:not(:has(.footer-brand)) .footer-col { border-top: none; border-left: none; }
  .footer-grid:not(:has(.footer-brand)) .footer-col:nth-child(2n) { border-left: 1px solid rgba(255,255,255,0.08); }
  .footer-grid:not(:has(.footer-brand)) .footer-col:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--dark-border); }
  .booking-flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking-flow-grid::before { display: none; }
}

@media (max-width: 1024px) {
  .feature-grid--four, .feature-grid--three { grid-template-columns: repeat(2, 1fr); }
  .split-panel { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .media-frame--portrait { min-height: 280px; }
}

@media (max-width: 900px) {
  .site-hero__content { grid-template-columns: 1fr; }
  .site-hero__logo-scene {
    top: 54%;
    right: -10%;
    width: min(108vw, 760px);
    opacity: 0.62;
  }
  .page-hero::after {
    right: -12%;
    width: min(90vw, 620px);
    opacity: 0.14;
  }
  .hero-grid::before {
    top: 10%;
    right: 2%;
    width: min(54vw, 360px);
  }
  .hero-grid::after {
    top: 16%;
    right: 8%;
    width: min(44vw, 280px);
  }
  .company-page main::after {
    display: none;
  }
  .company-page .page-hero::after {
    top: 42%;
    right: -16%;
    width: min(96vw, 620px);
    opacity: 0.12;
  }
  .site-hero__visual  { display: none; }
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-visual        { display: none; }
  .booking-flow-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
  .home-page { --section-py: 3rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-theme-toggle {
    order: 3;
    margin-left: auto;
  }
  .theme-toggle-btn {
    min-width: 4.15rem;
    padding-inline: 0.74rem;
  }
  .nav-links.nav-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(85,85,85,0.97); backdrop-filter: blur(20px);
    padding: 1rem; border-bottom: 1px solid var(--dark-border); gap: 0.3rem; z-index: 49;
  }
  .nav-links.nav-open .nav-btn { justify-content: flex-start; }
  .feature-grid, .feature-grid--three, .feature-grid--four { grid-template-columns: 1fr; }
  .booking-flow-grid { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid:not(:has(.footer-brand)) { grid-template-columns: 1fr; }
  .footer-grid:not(:has(.footer-brand)) .footer-col {
    border-left: none !important;
    border-top: none;
  }
  .footer-grid:not(:has(.footer-brand)) .footer-col:nth-child(n+2) {
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-item { border: none !important; border-bottom: 1px solid var(--dark-border) !important; }
  .stat-item:last-child { border-bottom: none !important; }
  .cta-panel--dark { padding: 1.7rem 1.5rem; }
  .top-bar {
    padding: 0.65rem 1rem;
    gap: 0.55rem;
  }
  .top-bar-shell {
    width: 100%;
    border-radius: 26px;
    padding: 0.8rem 0.95rem;
    gap: 0.65rem 0.9rem;
  }
  .top-bar-left,
  .top-bar-center {
    width: 100%;
  }
  .top-bar-left > span,
  .top-bar-center > span,
  .top-bar-item {
    width: 100%;
    justify-content: flex-start;
  }
  .top-bar-left > span:last-child a,
  .top-bar-center > span a,
  .top-bar-item--location span {
    white-space: normal !important;
  }
  .map-frame { min-height: 250px; }
  nav { padding: 0.75rem 1rem; }
  .site-hero::after { height: 50px; }
  .site-hero__logo-scene {
    top: 56%;
    right: -20%;
    width: min(132vw, 720px);
    opacity: 0.48;
  }
  .site-hero__logo-ring {
    inset: 12% 8% 14% 48%;
  }
  .page-hero::after {
    right: -20%;
    width: min(116vw, 580px);
    opacity: 0.12;
  }
  .company-page main::after {
    display: none;
  }
  .company-page .page-hero::after {
    top: 41%;
    right: -28%;
    width: min(124vw, 560px);
    opacity: 0.1;
  }
  .hero-grid::before,
  .hero-grid::after {
    display: none;
  }
  .site-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .top-bar-item--location { max-width: min(70vw, 360px); }
  .footer-brand,
  .footer-col,
  .footer-bottom { padding-inline: 1.1rem; }
}

@media (max-width: 480px) {
  .trust-strip { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .floating-cta small { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-theme-toggle {
    width: 100%;
    justify-content: center;
    order: 4;
  }
  .theme-toggle-btn {
    flex: 1 1 0;
  }
  .site-hero {
    min-height: 620px;
  }
  .site-hero__content {
    padding-block: 4.8rem 5.2rem;
  }
  .site-hero__logo-scene {
    top: 58%;
    right: -32%;
    width: min(160vw, 680px);
    opacity: 0.4;
  }
  .top-bar {
    gap: 0.3rem;
    text-align: center;
  }
  .top-bar-shell {
    border-radius: 22px;
    padding: 0.8rem 0.85rem;
  }
  .top-bar-left,
  .top-bar-center,
  .top-bar-right {
    justify-content: center;
  }
  .top-bar span, .top-bar a { white-space: normal; }
}

/* ===========================
   TOP BAR LOCK (uniform + single line)
   =========================== */
.top-bar,
.home-page .top-bar,
.services-page .top-bar,
.company-page .top-bar,
.booking-page .top-bar,
.inspector-page .top-bar,
.cancel-page .top-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center;
  gap: 0.5rem 1rem;
  overflow: hidden;
  scrollbar-width: none;
}

.top-bar-left,
.top-bar-center,
.top-bar-right {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap !important;
  flex: 0 0 auto !important;
  min-width: 0;
  transform: none !important;
}

.top-bar-shell {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap !important;
}

.top-bar-center {
  display: flex !important;
}

.top-bar span,
.top-bar a {
  white-space: nowrap !important;
}

/* ===========================
   INSPECTOR CALENDAR ACCENTS
   =========================== */
.inspector-page .inspector-hints span {
  background: var(--amber-pale);
  color: var(--amber-dark);
  border-color: rgba(165, 24, 44, 0.28);
}

.inspector-page .fc {
  --fc-event-bg-color: var(--amber);
  --fc-event-border-color: var(--amber-dark);
  --fc-button-bg-color: var(--amber);
  --fc-button-border-color: var(--amber-dark);
  --fc-button-hover-bg-color: var(--amber-dark);
  --fc-button-hover-border-color: var(--amber-dark);
  --fc-button-active-bg-color: var(--amber-dark);
  --fc-button-active-border-color: var(--amber-dark);
}

.inspector-page .fc .fc-button-primary,
.inspector-page #reschedule-btn {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 58%, var(--amber-deep) 100%);
  color: #fff;
  border: 1px solid rgba(165, 24, 44, 0.82);
  box-shadow: 0 8px 22px rgba(165, 24, 44, 0.22);
}

.inspector-page .fc .fc-button-primary:hover,
.inspector-page .fc .fc-button-primary:focus,
.inspector-page .fc .fc-button-primary:not(:disabled).fc-button-active,
.inspector-page .fc .fc-button-primary:not(:disabled):active,
.inspector-page #reschedule-btn:hover {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber-deep) 100%);
  border-color: rgba(165, 24, 44, 0.94);
  color: #fff;
  box-shadow: 0 12px 30px rgba(165, 24, 44, 0.32);
}

.inspector-page .fc .fc-button-primary:focus,
.inspector-page .fc .fc-button-primary:not(:disabled).fc-button-active,
.inspector-page .fc .fc-button-primary:not(:disabled):active,
.inspector-page .inspector-form input:focus,
.inspector-page .inspector-form textarea:focus {
  box-shadow: 0 0 0 3px var(--amber-pale);
  outline: none;
}

.inspector-page .fc .fc-daygrid-day-number,
.inspector-page .fc .fc-col-header-cell-cushion,
.inspector-page .fc .fc-timegrid-axis-cushion,
.inspector-page .fc .fc-timegrid-slot-label-cushion {
  color: var(--amber-dark);
}
