/* ================================================================
   CORNEL DETAILING — Final. Dark hero. Green CTA. Strong contrast.
   ================================================================ */

:root {
  --white: #ffffff;
  --off-white: #f4f5f7;
  --grey-50: #eaecf0;
  --grey-100: #d5d8df;
  --grey-400: #7c818d;
  --grey-600: #4e5361;
  --grey-800: #282d3a;
  --dark: #0f1219;
  --dark-card: #171b26;
  --green: #25b956;
  --green-dark: #1e9a48;
  --green-glow: rgba(37,185,86,0.35);
  --blue: #3b6ad4;
  --blue-soft: #e0e9f7;
  --blue-muted: #2c3d60;
  --border: rgba(15,18,25,0.08);
  --border-strong: rgba(15,18,25,0.14);
  --shadow-section: 0 2px 8px rgba(15,18,25,0.04), 0 8px 32px rgba(15,18,25,0.06);
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --font: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
code { padding: 2px 7px; border-radius: 5px; background: var(--grey-50); font-size: 0.84em; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}

/* Ambient edge glow — slow-moving blurred orbs */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 50vw;
  height: 70vh;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.5;
}

body::before {
  top: 5%;
  left: -16vw;
  background: radial-gradient(circle, rgba(59,106,212,0.6), rgba(37,185,86,0.25) 55%, transparent 80%);
  animation: ambientLeft 14s ease-in-out infinite alternate;
}

body::after {
  bottom: 0%;
  right: -16vw;
  background: radial-gradient(circle, rgba(37,185,86,0.5), rgba(59,106,212,0.2) 55%, transparent 80%);
  animation: ambientRight 16s ease-in-out infinite alternate;
}

@keyframes ambientLeft {
  0% { transform: translateY(0) scale(1); opacity: 0.45; }
  50% { transform: translateY(10vh) scale(1.12); opacity: 0.6; }
  100% { transform: translateY(-6vh) scale(0.95); opacity: 0.4; }
}

@keyframes ambientRight {
  0% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-12vh) scale(1.1); opacity: 0.55; }
  100% { transform: translateY(8vh) scale(0.92); opacity: 0.38; }
}

/* Ensure content sits above ambient */
.site-shell {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 28px 88px;
}
}

.dev-banner {
  margin-bottom: 10px; padding: 10px 16px;
  border: 1px solid rgba(37,185,86,0.2);
  border-radius: var(--r);
  background: #e6f7ed; color: var(--green-dark);
  font-size: 0.84rem;
}

/* ===================== TOPBAR ===================== */

.topbar {
  position: sticky; top: 10px; z-index: 40;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  margin-bottom: 18px;
  padding: 0 8px 0 18px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 3px rgba(15,18,25,0.04),
    0 6px 28px rgba(15,18,25,0.07);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

/* Subtle blue→green gradient accent line at top of header */
.topbar::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,106,212,0.45) 30%, rgba(37,185,86,0.45) 70%, transparent);
  pointer-events: none;
  border-radius: 1px;
}

/* Elevated state when page is scrolled */
.topbar.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-color: rgba(255,255,255,0.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 10px rgba(15,18,25,0.07),
    0 14px 44px rgba(15,18,25,0.1);
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  height: 32px; width: auto; object-fit: contain;
}
.brand span { display: flex; flex-direction: column; gap: 0; }
.brand strong { font-size: 0.93rem; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); line-height: 1.2; }
.brand small { color: var(--grey-400); font-size: 0.69rem; letter-spacing: 0.01em; line-height: 1.3; }

.topnav { display: flex; align-items: center; gap: 2px; }
.topnav a {
  display: flex; align-items: center;
  height: 38px; padding: 0 15px; border-radius: 10px;
  color: var(--grey-600); font-size: 0.84rem; font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.topnav a:hover {
  color: var(--dark);
  background: rgba(15,18,25,0.05);
}
.topnav a.is-active {
  color: var(--dark);
  background: var(--off-white);
}

/* Vertical rule between nav links and CTA */
.topnav-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
  margin: 0 6px;
  flex-shrink: 0;
}

/* Desktop CTA button inside nav */
.topnav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--dark) !important;
  color: var(--white) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s !important;
}
.topnav-cta svg { width: 14px; height: 14px; flex-shrink: 0; fill: currentColor; }
.topnav-cta:hover {
  background: var(--grey-800) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,18,25,0.22);
}

/* Hamburger toggle — hidden on desktop */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.menu-toggle:hover { background: rgba(15,18,25,0.05); }

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.26s var(--ease), opacity 0.2s, width 0.2s var(--ease);
}
.menu-toggle span:nth-child(2) { width: 13px; margin-left: auto; }
.menu-toggle span + span { margin-top: 5px; }

/* X state */
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  width: 18px;
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0; width: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 18px;
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: none;
  background: #10141c;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/gallery/porsche-cabrio-finish.jpg") center 40%/cover no-repeat;
  opacity: 0.22;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(59,106,212,0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(16,20,28,0.5) 0%, rgba(16,20,28,0.7) 50%, rgba(16,20,28,0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Location badge — small, top of hero */
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
}

.hero-sub {
  margin: 16px 0 0;
  max-width: 38ch;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  width: 100%;
  max-width: 280px;
}

/* Primary CTA — full width, tall, strong presence */
.hero-cta-primary {
  width: 100%;
  height: 52px;
  font-size: 0.95rem;
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(37,185,86,0.25),
    0 0 0 1px rgba(37,185,86,0.1);
}

.hero-cta-primary:hover {
  box-shadow:
    0 6px 24px rgba(37,185,86,0.35),
    0 0 0 1px rgba(37,185,86,0.2);
}

/* Secondary link — text only, no button chrome */
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s;
  text-decoration: none;
}

.hero-link:hover {
  color: rgba(255,255,255,0.8);
}

.hero-link svg {
  transition: transform 0.2s var(--ease);
}

.hero-link:hover svg {
  transform: translateY(2px);
}

/* Pulse variant for the "9 Pakete ab" hero link */
.hero-link--pulse {
  animation: heroLinkPulse 2.8s ease-in-out infinite;
}
.hero-link--pulse:hover {
  animation: none;
  color: rgba(255,255,255,0.9);
}

@keyframes heroLinkPulse {
  0%, 100% {
    color: rgba(255,255,255,0.45);
    text-shadow: none;
  }
  50% {
    color: rgba(255,255,255,0.95);
    text-shadow: 0 0 14px rgba(255,255,255,0.25);
  }
}

/* Thin divider */
.hero-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin-top: 28px;
}

.hero-note {
  margin-top: 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

/* ===================== BUTTONS ===================== */

.hero-actions a, .cta-actions a, .package-content-actions a,
.footer-links a, .preview-panel-actions a { display: inline-flex; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.88rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s var(--ease);
}

.button svg { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.button span { overflow: hidden; text-overflow: ellipsis; }
.button:hover { transform: translateY(-1px); }

/* WhatsApp green glow */
.button-whatsapp {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px var(--green-glow), 0 0 0 0 var(--green-glow);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}
.button-whatsapp:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 24px var(--green-glow), 0 0 0 8px rgba(37,185,86,0.1);
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 16px var(--green-glow), 0 0 0 0 rgba(37,185,86,0.25);
  }
  50% {
    box-shadow: 0 6px 24px var(--green-glow), 0 0 0 10px rgba(37,185,86,0);
  }
}

.button-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  animation: callPulse 3s ease-in-out infinite;
}
.button-light:hover { background: rgba(255,255,255,0.2); }

@keyframes callPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255,255,255,0);
    border-color: rgba(255,255,255,0.35);
  }
}

.button-outline {
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.button-outline:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

.button-primary {
  background: var(--dark); color: #fff;
  box-shadow: 0 3px 12px rgba(15,18,25,0.12);
}
.button-primary:hover { box-shadow: 0 5px 20px rgba(15,18,25,0.18); }

.button-secondary {
  background: var(--white); color: var(--dark);
  border-color: var(--border-strong);
}
.button-secondary:hover { border-color: var(--green); }

.button-ghost { color: var(--grey-600); border-color: var(--border); }
.button-ghost:hover { color: var(--dark); background: var(--grey-50); }

.button-small { height: 38px; padding: 0 14px; font-size: 0.82rem; }
.button.is-disabled { opacity: 0.35; pointer-events: none; }

.cta-pulse { animation: whatsappPulse 2.5s ease-in-out infinite; }

.hero-actions .cta-actions, .package-content-actions,
.footer-links, .preview-panel-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.cta-card h2 { color: var(--dark); }

/* ===================== TAGS ===================== */

.eyebrow, .section-tag, .package-number, .package-group, .media-kicker {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 11px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}

.section-tag, .package-number {
  background: var(--blue-soft); color: var(--blue-muted);
}
.package-group { background: var(--grey-50); color: var(--grey-600); }

.media-kicker {
  align-self: flex-start;
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1px solid rgba(255,255,255,0.08); font-size: 0.62rem;
}

/* ===================== TYPOGRAPHY ===================== */

.section-heading h1, .section-heading h2,
.preview-panel h2, .cta-card h2 {
  margin: 10px 0 0;
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  color: var(--dark);
}

.section-heading h1, .section-heading h2,
.preview-panel h2, .cta-card h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.section-heading p, .value-card p,
.package-summary p, .package-content p,
.faq-item p, .cta-card p, .footer p,
.legal-card p, .preview-panel p {
  color: var(--grey-600); line-height: 1.6;
}

.cta-card p { max-width: 50ch; }

.section-note, .package-summary-meta { color: var(--grey-400); font-size: 0.82rem; }
.section-note { max-width: 340px; line-height: 1.5; }

/* ===================== SECTIONS ===================== */

.section {
  margin-top: 24px;
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--white) 0%, rgba(244,245,247,0.5) 100%);
  box-shadow: var(--shadow-section);
}

.section-heading { max-width: 560px; }
.section-heading p { font-size: 0.9rem; }

.section-header-with-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.section-logo {
  width: 180px;
  height: auto;
  opacity: 0.12;
  flex-shrink: 0;
}

.section-heading-inline {
  display: flex; align-items: end;
  justify-content: space-between; gap: 16px;
  max-width: none;
}

.section > *, .preview-panel > *, .footer > * { min-width: 0; }

/* ===================== VALUE GRID ===================== */

.value-grid, .legal-grid {
  display: grid; gap: 14px; margin-top: 20px;
}
.value-grid { grid-template-columns: repeat(3, 1fr); }
.legal-grid { grid-template-columns: repeat(2, 1fr); }

.value-card {
  position: relative; padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-section);
}
.value-card::before { display: none; }

.cta-card, .legal-card {
  position: relative; padding: 20px;
  border: 1px solid var(--border);
  background: var(--white);
}
.legal-card { border-radius: var(--r-lg); box-shadow: var(--shadow-section); }
.legal-card::before { display: none; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
}
.icon-badge svg { width: 18px; height: 18px; fill: currentColor; }
.icon-accent { background: var(--blue-soft); color: var(--blue-muted); }
.icon-gold { background: rgba(37,185,86,0.08); color: var(--green); }
.icon-dark { background: var(--grey-50); color: var(--grey-800); }
.value-card h3 { display: block; margin: 10px 0 5px; font-size: 0.98rem; letter-spacing: -0.01em; }

/* ===================== PACKAGES ===================== */

.package-grid {
  display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 22px;
}

.section-packages {
  background: var(--white);
  box-shadow: var(--shadow-section);
  border-top: 3px solid var(--green);
}

.package-card {
  overflow: hidden; border-radius: var(--r-lg); padding: 0;
  border: 1px solid var(--border-strong);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(15,18,25,0.05);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}

.package-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.package-card:hover::after { opacity: 1; }

.pkg-cat-aussen::after { background: linear-gradient(90deg, #3b82c8, #60a5e8); }
.pkg-cat-innen::after { background: linear-gradient(90deg, #6b7fad, #8e9fc4); }
.pkg-cat-politur::after { background: linear-gradient(90deg, #d4a030, #e8bf5a); }
.pkg-cat-versiegelung::after { background: linear-gradient(90deg, #25b956, #4dd67a); }
.pkg-cat-premium::after { background: linear-gradient(90deg, #3b6ad4, #d4a030); }
.package-card:hover {
  box-shadow: 0 6px 24px rgba(15,18,25,0.1);
  border-color: rgba(59,106,212,0.18);
}
.package-card details { height: 100%; }
.package-card details[open] { background: var(--off-white); }
.package-card summary { list-style: none; cursor: pointer; }
.package-card summary::-webkit-details-marker { display: none; }

/* Premium package highlight */
.package-card--premium {
  border-color: rgba(59,106,212,0.2);
  background: linear-gradient(180deg,
    rgba(230,238,250,0.4) 0%,
    var(--white) 30%,
    var(--white) 70%,
    rgba(230,238,250,0.3) 100%);
  box-shadow:
    0 2px 12px rgba(15,18,25,0.05),
    0 0 0 1px rgba(59,106,212,0.06);
}

.package-card--premium:hover {
  border-color: rgba(59,106,212,0.3);
  box-shadow:
    0 6px 24px rgba(59,106,212,0.1),
    0 0 0 1px rgba(59,106,212,0.1);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, #5a8ae6 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(59,106,212,0.25);
}

.premium-title {
  text-shadow: 0 0 20px rgba(212,180,60,0.3), 0 0 40px rgba(212,180,60,0.1);
}

.package-summary { padding: 24px 28px; }

.package-summary-top {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
.package-summary h3 { display: block; margin: 0; font-size: 1.22rem; letter-spacing: -0.01em; }

.package-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.package-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--blue);
}

.package-icon svg {
  width: 20px;
  height: 20px;
}

.package-card--premium .package-icon {
  background: linear-gradient(135deg, rgba(59,106,212,0.08), rgba(59,106,212,0.15));
  border-color: rgba(59,106,212,0.2);
}

.package-prices {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 14px;
}

.price-box {
  padding: 14px 16px; border-radius: var(--r);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}
.price-box strong { display: block; font-size: 1.02rem; color: var(--dark); }
.price-box span { display: block; margin-top: 2px; color: var(--grey-400); font-size: 0.8rem; }

.package-summary-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px; margin-top: 14px;
}
.package-summary-meta { font-size: 0.85rem; }

.package-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(59,106,212,0.25);
  background: linear-gradient(180deg, rgba(59,106,212,0.06) 0%, rgba(59,106,212,0.12) 100%);
  color: var(--blue); font-weight: 700; font-size: 0.85rem;
  transition: all 0.15s var(--ease);
}
.package-toggle:hover {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(59,106,212,0.1) 0%, rgba(59,106,212,0.18) 100%);
  color: var(--dark);
  box-shadow: 0 2px 10px rgba(59,106,212,0.12);
}
.package-toggle svg {
  width: 14px; height: 14px; fill: currentColor;
  transition: transform 0.15s var(--ease);
}
.package-card details[open] .package-toggle svg { transform: rotate(180deg); }

/* Tier indicator */
.package-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.package-tier-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--grey-50);
  overflow: hidden;
}

.package-tier-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s var(--ease);
}

.package-tier-fill.tier-basic { background: var(--grey-200); }
.package-tier-fill.tier-standard { background: var(--blue); }
.package-tier-fill.tier-intensive { background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%); }
.package-tier-fill.tier-premium { background: var(--green); }
.package-tier-fill.tier-exclusive { background: linear-gradient(90deg, var(--green) 0%, #f5c542 100%); }

.package-tier-label {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--grey-400);
  letter-spacing: 0.02em;
}

.package-content {
  padding: 0 28px 24px;
  border-top: 1px solid var(--border);
  animation: fadeIn 0.15s ease;
}
.package-content h4 { margin: 18px 0 8px; font-size: 0.95rem; }
.package-content ul { margin: 0; padding-left: 18px; color: var(--grey-600); font-size: 0.9rem; line-height: 1.7; }

.package-note {
  margin-top: 12px; padding: 12px 16px; border-radius: var(--r);
  background: #e6f7ed; color: var(--green-dark); font-size: 0.86rem;
}
.package-content-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ===================== PREVIEW ===================== */

.preview-panel {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--off-white);
}
.preview-panel > div { max-width: 480px; }
.preview-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.preview-panel-actions span { color: var(--grey-400); font-weight: 600; font-size: 0.82rem; }

.preview-panel-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: clamp(32px, 4vw, 48px);
}

.preview-panel-centered h2 { max-width: 460px; }
.preview-panel-centered p { max-width: 40ch; margin-bottom: 8px; }

.section-centered { display: flex; justify-content: center; }

.preview-panel strong { display: block; font-size: 0.88rem; letter-spacing: -0.01em; }

/* ===================== GALLERY HERO ===================== */

.gallery-hero {
  position: relative;
  overflow: hidden;
  background: #10141c;
  border-radius: var(--r-xl);
  text-align: center;
  padding: clamp(52px, 7vw, 88px) clamp(24px, 5vw, 64px) clamp(44px, 6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.gallery-hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/gallery/porsche-cabrio-finish.jpg") center 35% / cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 115%, rgba(37,185,86,0.11) 0%, transparent 65%),
    radial-gradient(ellipse 55% 40% at 10% 0%, rgba(59,106,212,0.15) 0%, transparent 55%),
    linear-gradient(180deg, rgba(16,20,28,0.45) 0%, rgba(16,20,28,0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
}

/* Experience badge in Leistungen section */
.leistungen-trust {
  margin-top: 16px;
}
.leistungen-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.leistungen-trust-badge svg {
  flex-shrink: 0;
  opacity: 0.8;
}

/* Override section-tag colour on dark bg */
.gallery-hero .section-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.1);
}

.gallery-hero-heading { max-width: 580px; margin: 0 auto; }
.gallery-hero-heading h1 { color: #fff; }
.gallery-hero-heading p  { color: rgba(255,255,255,0.44); }

/* Stat chips */
.gallery-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.gallery-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 26px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 100px;
}

.gallery-stat strong {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.gallery-stat span {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.38);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ===================== GALLERY FILTERS ===================== */

.gallery-filter-section {
  display: flex;
  justify-content: center;
  padding: 20px 16px 0;
}

.gallery-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--grey-600);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  box-shadow: 0 1px 3px rgba(15,18,25,0.04);
}

.gallery-filter-btn:hover {
  border-color: rgba(15,18,25,0.2);
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(15,18,25,0.08);
  transform: translateY(-1px);
}

.gallery-filter-btn.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  box-shadow: 0 3px 10px rgba(15,18,25,0.2);
  transform: translateY(-1px);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--grey-400);
  font-size: 0.68rem;
  font-weight: 800;
  transition: background 0.2s, color 0.2s;
}

.gallery-filter-btn.is-active .filter-count {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

/* ===================== GALLERY GRID ===================== */

.gallery-section { padding: clamp(18px, 2.5vw, 30px); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-tile {
  min-width: 0;
  position: relative;
  /* staggered reveal using --i CSS custom property */
  transition-delay: calc(var(--i, 0) * 55ms);
}

.gallery-tile .media-card {
  height: 100%;
  border-radius: var(--r-lg);
}

.gallery-tile--wide   { grid-column: span 8;    min-height: 360px; }
.gallery-tile--tall   { grid-column: span 4;    min-height: 460px; }
.gallery-tile--square { grid-column: span 4;    min-height: 320px; }
.gallery-tile--full   { grid-column: 1 / -1;   min-height: 320px; }

/* ===================== MEDIA CARDS ===================== */

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: var(--dark-card);
  cursor: pointer;
}

/* Persistent gradient — stronger at bottom */
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 28%,
    rgba(15,18,25,0.45) 60%,
    rgba(15,18,25,0.82) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s var(--ease);
}

.media-card:hover::after {
  opacity: 0.85;
}

.project-media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
  will-change: transform;
}

.media-card:hover .project-media { transform: scale(1.06); }

/* Frosted category badge — top-left */
.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15,18,25,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.media-card:hover .media-badge {
  background: rgba(15,18,25,0.75);
  color: rgba(255,255,255,0.92);
}

/* Overlay — slides up on hover, description fades in */
.media-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px 16px 18px;
  color: #fff;
  transform: translateY(3px);
  transition: transform 0.35s var(--ease);
}

.media-card:hover .media-overlay { transform: translateY(0); }

.media-overlay strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.media-overlay p {
  margin: 5px 0 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.77rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s 0.06s var(--ease), transform 0.3s 0.06s var(--ease);
}

.media-card:hover .media-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Featured projects layout (homepage) */
.featured-projects {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 4px;
  min-height: 280px;
}
.featured-projects .media-card--featured:first-child { grid-row: 1 / span 2; }

/* ===================== CTA DARK VARIANT ===================== */

.cta-card--dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0f1219 0%, #161b27 100%) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow:
    0 2px 8px rgba(15,18,25,0.12),
    0 16px 48px rgba(15,18,25,0.18) !important;
}

/* Ambient orbs inside dark CTA */
.cta-card--dark::before {
  content: '';
  position: absolute;
  top: -70px; right: -50px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,185,86,0.13), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.cta-card--dark .section-tag {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-card--dark h2 {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

.cta-card--dark p {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.45) !important;
}

.cta-card--dark .cta-actions {
  position: relative;
  z-index: 1;
}

/* ===================== CTA ===================== */

.section-cta {
  padding-top: 0;
  display: flex;
  justify-content: center;
}
.cta-card {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-section);
  text-align: center;
}

.cta-card .section-tag { margin: 0 auto; }

.cta-card h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 540px;
}

.cta-card p {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.cta-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-top: 24px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-meta div {
  padding: 14px 16px; border-radius: var(--r);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}
.cta-meta strong { display: block; font-size: 0.88rem; letter-spacing: -0.01em; }
.cta-meta span { display: block; margin-top: 2px; color: var(--grey-400); font-size: 0.78rem; }

/* ===================== GLASS CARDS ===================== */

.section-glass {
  margin-top: 24px;
}

.glass-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.glass-card {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg,
    rgba(255,255,255,0.85) 0%,
    rgba(240,244,250,0.7) 50%,
    rgba(230,238,250,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  border-top: 2px solid rgba(59,106,212,0.2);
  backdrop-filter: blur(20px);
  box-shadow:
    0 1px 2px rgba(15,18,25,0.03),
    0 4px 16px rgba(15,18,25,0.04),
    0 12px 40px rgba(15,18,25,0.05),
    inset 0 1px 0 rgba(255,255,255,0.5);
  text-align: center;
}

.glass-card-half {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.glass-card .section-tag { margin: 0 auto 0; }

.glass-card h2 {
  margin: 12px auto 0;
  max-width: 400px;
  font-weight: 800;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dark);
}

.glass-card p {
  margin: 8px auto 0;
  max-width: 36ch;
  color: var(--grey-600);
  font-size: 0.88rem;
  line-height: 1.55;
}

.glass-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.glass-card > .button {
  margin-top: 16px;
}

/* ===================== LOCATION ===================== */

.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-align: left;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
}

.location-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: clamp(28px, 3vw, 44px);
}

.location-info h2 {
  margin: 8px 0 0;
  text-align: left;
  max-width: none;
}

.location-info p {
  margin: 6px 0 0;
  text-align: left;
  max-width: none;
}

.location-note {
  font-size: 0.82rem !important;
  color: var(--grey-400) !important;
  margin-top: 8px !important;
}

.location-info .button {
  margin-top: 14px;
}

.location-map {
  min-height: 280px;
  background: var(--grey-50);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

/* ===================== FAQ ===================== */

.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq-item {
  padding: 0 20px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--white);
  box-shadow: var(--shadow-section);
}
.faq-item summary {
  position: relative; padding: 16px 30px 16px 0;
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 0.9rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 13px;
  font-size: 1.15rem; color: var(--green);
  transition: transform 0.15s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 16px; font-size: 0.88rem; }

/* ===================== FOOTER ===================== */

.footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  margin-top: 24px; padding: 20px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  box-shadow: 0 2px 16px rgba(15,18,25,0.05);
}
.footer strong { font-size: 0.92rem; color: var(--dark); }
.footer p { margin: 3px 0 0; font-size: 0.82rem; color: var(--grey-600); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.footer-links a {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 14px; border-radius: 10px;
  color: var(--grey-600); font-weight: 600; font-size: 0.82rem;
  border: 1px solid transparent;
  transition: all 0.15s var(--ease);
}
.footer-links a:hover {
  color: var(--dark);
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 1px 4px rgba(15,18,25,0.04);
}

/* ===================== LEGAL ===================== */

.legal-main { min-height: calc(100vh - 160px); }
.legal-grid { gap: 10px; }
.legal-card { padding: 20px; border-radius: var(--r-lg); box-shadow: var(--shadow-section); }
.legal-list { margin: 0; display: grid; gap: 8px; }
.legal-list div { display: grid; gap: 2px; }
.legal-list dt { color: var(--grey-400); font-size: 0.8rem; }
.legal-list dd { margin: 0; line-height: 1.55; font-size: 0.88rem; }
.missing-value { color: var(--green); font-style: italic; }

/* ===================== MOBILE CTA ===================== */

.mobile-cta-backdrop {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  z-index: 49;
  pointer-events: none;
  display: none;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 58%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 58%);
}
.mobile-cta {
  position: fixed; left: 50%; bottom: 10px; z-index: 50;
  display: none; grid-template-columns: 1fr 1fr; gap: 5px;
  width: calc(100% - 20px); max-width: 380px;
  padding: 6px; border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.82);
  box-shadow:
    0 2px 6px rgba(15,18,25,0.06),
    0 8px 24px rgba(15,18,25,0.10),
    0 20px 50px rgba(15,18,25,0.08);
  transform: translateX(-50%);
}
.mobile-cta a {
  min-height: 44px;
  min-width: 0;
}
.mobile-cta .button {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  font-size: 0.82rem;
  height: 44px;
  border-radius: 22px;
}
.mobile-cta .button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-cta .button svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* ===================== ANIMATIONS ===================== */

.reveal {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===================== 1600+ ===================== */
@media (min-width: 1600px) {
  .site-shell { max-width: 1520px; }
  .hero { min-height: 560px; }
  .gallery-tile--wide { min-height: 400px; }
  .gallery-tile--tall { min-height: 500px; }
  .gallery-tile--full { min-height: 380px; }
}

/* ===================== 2560+ ===================== */
@media (min-width: 2560px) {
  .site-shell { max-width: 1680px; }
  body { font-size: 16px; }
  .hero { min-height: 600px; }
}

/* ===================== TABLET ===================== */

@media (max-width: 1180px) {
  .gallery-tile--wide { grid-column: span 12; }
  .gallery-tile--tall, .gallery-tile--square { grid-column: span 6; }
  .gallery-tile--full { grid-column: 1 / -1; }
}

@media (max-width: 1040px) {
  .value-grid, .legal-grid, .cta-meta { grid-template-columns: 1fr; }
  .preview-panel, .section-heading-inline { display: grid; align-items: start; }
  .preview-panel-actions { justify-content: start; }
  .hero-trust { grid-template-columns: 1fr 1fr 1fr; }
  .location-card { grid-template-columns: 1fr; }
  .location-map { min-height: 240px; }
}

@media (max-width: 860px) {
  .section-logo { display: none; }
  .section-header-with-logo { display: block; }
  /* Show hamburger, hide inline nav */
  .menu-toggle { display: flex; flex-direction: column; }

  .topnav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 210px;
    padding: 6px;
    border-radius: var(--r-lg);
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,1),
      0 8px 32px rgba(15,18,25,0.12),
      0 2px 8px rgba(15,18,25,0.06);
    flex-direction: column;
    gap: 2px;
  }

  .topnav.is-open {
    display: flex;
  }

  .topnav a {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  /* Hide desktop-only items in mobile dropdown */
  .topnav-divider,
  .topnav-cta { display: none !important; }

  .topbar { position: sticky; }

  .brand span { display: flex; }
  .featured-projects {
    grid-template-columns: 1fr; grid-template-rows: none; min-height: 0;
  }
  .featured-projects .media-card--featured:first-child { grid-row: auto; }
  .featured-projects .media-card { min-height: 180px; }
  .gallery-tile--wide, .gallery-tile--tall, .gallery-tile--square,
  .gallery-tile--full {
    grid-column: span 12; min-height: 240px;
  }
  .hero-trust { grid-template-columns: 1fr; }
}

/* ===================== MOBILE ===================== */

@media (max-width: 720px) {
  body::before, body::after { display: none; }
  .site-shell { padding: 6px 8px 88px; }
  .topbar { top: 5px; padding: 0 8px 0 14px; height: 50px; border-radius: var(--r-lg); }
  .brand img { height: 24px; }
  .brand small { display: none; }

  .hero { min-height: 440px; border-radius: var(--r-xl); }
  .hero-content { padding: clamp(36px, 6vw, 56px) 20px; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 0.84rem; }
  .hero-actions { max-width: 240px; }

  .section, .footer, .cta-card, .value-card,
  .package-card, .legal-card, .preview-panel, .faq-item,
  .glass-card { border-radius: var(--r-lg); }

  .glass-card { padding: clamp(24px, 5vw, 36px); }
  .glass-actions { display: grid; }
  .glass-actions .button { width: 100%; }
  .glass-row { grid-template-columns: 1fr; gap: 14px; }
  .location-card { grid-template-columns: 1fr; }
  .location-info { padding: 22px; }
  .location-map { min-height: 200px; border-radius: 0 0 var(--r-lg) var(--r-lg); }

  .section-heading h1, .section-heading h2,
  .preview-panel h2, .cta-card h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.7rem);
  }

  .hero-actions .button { width: 100%; font-size: 0.82rem; padding: 0 10px; }
  .cta-actions, .package-content-actions,
  .footer, .preview-panel-actions, .package-summary-footer { display: grid; }

  .hero-actions .button { width: 100%; font-size: 0.82rem; padding: 0 10px; }
  .cta-actions .button,
  .preview-panel-actions .button, .package-content-actions .button { width: 100%; }

  .button { height: 48px; }
  .package-summary { padding: 14px; }
  .package-summary-top, .package-summary-footer { align-items: start; }
  .package-prices, .cta-meta { grid-template-columns: 1fr; }
  .gallery-hero-stats { gap: 6px; }
  .gallery-stat { padding: 12px 18px; min-width: 80px; }
  .package-content { padding: 0 14px 14px; }
  .footer { align-items: start; }
  .mobile-cta { display: grid; }
  .mobile-cta-backdrop { display: block; }
  .section { padding: clamp(16px, 4vw, 24px); }
  .cta-card, .preview-panel { padding: 18px; }
}

@media (max-width: 480px) {
  .site-shell { padding-inline: 5px; }
  .hero-content { padding: 24px 14px; }
  .hero { min-height: 400px; }
  .section, .preview-panel, .cta-card, .value-card, .package-card, .legal-card {
    padding-left: 12px; padding-right: 12px;
  }
  .gallery-tile--wide, .gallery-tile--tall, .gallery-tile--square,
  .gallery-tile--full { min-height: 200px; }
  .media-overlay { padding: 12px; }
  .gallery-hero { min-height: 300px; padding: clamp(40px, 7vw, 60px) 16px clamp(32px, 5vw, 48px); }
  .gallery-stat strong { font-size: 1.3rem; }
  .gallery-filter-section { padding: 16px 8px 0; }
  .mobile-cta { width: calc(100% - 10px); padding: 4px; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
