/* ============================================================
   Ballmaschine Hamburg – Pace S Pro Vermietung
   Helles, freundliches Tennis-Theme
   ============================================================ */

:root {
  --bg: #FAF8EF;
  --bg-soft: #F2F6E9;
  --surface: #FFFFFF;
  --ink: #14241A;
  --ink-2: #2C3D33;
  --muted: #5E6F63;
  --brand: #1FA64A;
  --brand-700: #157A37;
  --brand-900: #0C5325;
  --accent: #C8F03C;        /* Tennisball-Lime */
  --accent-deep: #A9D62A;
  --accent-soft: #EAFBC0;
  --line: #E7E6D8;
  --ring: rgba(31, 166, 74, .16);
  --shadow-sm: 0 2px 8px rgba(20, 36, 26, .06);
  --shadow-md: 0 14px 38px rgba(20, 50, 30, .10);
  --shadow-lg: 0 30px 70px rgba(15, 60, 32, .16);
  --radius: 20px;
  --radius-lg: 30px;
  --maxw: 1160px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-hero: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 700;
}

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.wrap-narrow { width: min(760px, 92vw); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: .6em 1.15em; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 166, 74, .28);
}
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(31, 166, 74, .34); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 239, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.brand-ball { display: grid; place-items: center; }
.brand-name { display: flex; flex-direction: column; line-height: .95; letter-spacing: -.03em; }
.brand-sub { font-size: .68em; font-weight: 600; color: var(--brand); letter-spacing: .14em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a { font-weight: 600; font-size: .97rem; color: var(--ink-2); transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--brand); }
.main-nav a:not(.btn).active { color: var(--brand); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-a { width: 480px; height: 480px; background: radial-gradient(circle, #C8F03C, transparent 70%); top: -120px; right: -80px; }
.blob-b { width: 420px; height: 420px; background: radial-gradient(circle, #7CE0A0, transparent 70%); bottom: -160px; left: -120px; opacity: .4; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center;
  background: var(--accent-soft); color: var(--brand-900);
  border: 1px solid var(--accent-deep);
  font-weight: 700; font-size: .82rem; letter-spacing: .01em;
  padding: .5em 1em; border-radius: 999px; margin-bottom: 1.3rem;
}
.hero h1 { font-family: var(--font-hero); font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 600; letter-spacing: -.015em; }
.hero h1 .hl { color: var(--brand); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); margin-top: 1.3rem; max-width: 36ch; }
.lead strong { color: var(--ink); }
.reasons { list-style: none; display: grid; gap: .7rem; margin-top: 1.7rem; max-width: 34rem; }
.reasons li { position: relative; padding-left: 2rem; color: var(--ink-2); font-size: 1.03rem; }
.reasons li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.reasons strong { color: var(--ink); }

.hero-cta { display: flex; gap: .9rem; margin-top: 2rem; flex-wrap: wrap; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.3rem; }
.hero-badges li { font-size: .92rem; color: var(--muted); position: relative; padding-left: 1.1rem; }
.hero-badges li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-deep); }
.hero-badges strong { color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-photo-glow {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,240,60,.55), rgba(200,240,60,0) 65%);
  filter: blur(10px);
}
.hero-photo {
  position: relative; z-index: 1; width: min(100%, 520px);
  filter: drop-shadow(0 40px 50px rgba(15,50,30,.22));
  animation: floaty 6s ease-in-out infinite;
}
.price-pill {
  position: absolute; top: 6%; right: 4%; z-index: 3;
  background: var(--ink); color: #fff; font-size: .95rem; font-weight: 600;
  padding: .7em 1.1em; border-radius: 999px; box-shadow: var(--shadow-md);
  transform: rotate(4deg);
}
.price-pill strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--accent); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Stat band ---------- */
.statband { background: var(--ink); color: #fff; }
.statband-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.8rem 0; }
.stat { text-align: center; padding: .4rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.14); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--accent); letter-spacing: -.02em; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.72); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); }
.kicker {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .8rem;
}
.kicker-light { color: var(--accent-deep); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-head p { color: var(--muted); margin-top: .9rem; font-size: 1.07rem; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-deep); }
.feat-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent-soft); color: var(--brand-700); margin-bottom: 1.1rem;
}
.feat-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.g-item {
  position: relative; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm);
}
.g-big { grid-row: span 2; grid-column: span 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-cap {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(20,36,26,.82); color: #fff; backdrop-filter: blur(4px);
  font-size: .82rem; font-weight: 600; padding: .4em .8em; border-radius: 999px;
}
.g-item:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ---------- Video ---------- */
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: #000;
  max-width: 940px; margin-inline: auto;
}
.video-facade, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .4s ease; }
.video-facade:hover img { transform: scale(1.04); filter: brightness(.9); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .25s ease, background .25s ease;
}
.video-facade:hover .play-btn { transform: scale(1.1); background: #fff; }
.play-btn svg { width: 38px; height: 38px; margin-left: 4px; }
.video-tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(20,36,26,.78); color: #fff; font-size: .82rem; font-weight: 600;
  padding: .4em .9em; border-radius: 999px;
}
.video-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 1rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(180deg, #16331F, #14241A);
  border-color: var(--brand-900); color: #fff; transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.price-card.featured h3, .price-card.featured .price, .price-card.featured .price span { color: #fff; }
.price-card.featured .price-sub { color: rgba(255,255,255,.7); }
.price-card.featured .price-list li { color: rgba(255,255,255,.86); }
.price-card.featured .price-list li::before { color: var(--accent); }
.badge-pop {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--ink); font-weight: 800; font-size: .76rem; letter-spacing: .06em;
  text-transform: uppercase; padding: .4em 1em; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.price-card h3 { font-size: 1.35rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--muted); margin-top: .4rem; }
.price span { font-size: 3rem; color: var(--ink); line-height: 1; }
.price-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.price-list { list-style: none; margin-bottom: 1.6rem; flex: 1; }
.price-list li { font-size: .95rem; color: var(--ink-2); padding: .35em 0 .35em 1.6em; position: relative; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800;
}
.price-notes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem;
  background: var(--accent-soft); border: 1px solid var(--accent-deep); border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.price-notes span { font-size: .95rem; color: var(--brand-900); }

/* ---------- Conditions + Specs ---------- */
.cond-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cond-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1.4rem; }
.check-list { list-style: none; display: grid; gap: .85rem; }
.check-list li { position: relative; padding-left: 2.1rem; color: var(--ink-2); font-size: 1rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 15px; background-repeat: no-repeat; background-position: center;
}
.spec-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-md); position: sticky; top: 96px;
}
.spec-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.spec-list { display: grid; }
.spec-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-size: .92rem; }
.spec-list dd { font-weight: 600; text-align: right; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 0 1.4rem; box-shadow: var(--shadow-sm); transition: border-color .2s;
}
.faq details[open] { border-color: var(--accent-deep); }
.faq summary {
  list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.07rem;
  padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .25s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.2rem; max-width: 62ch; }

/* ---------- CTA / Contact ---------- */
.section-cta { background: linear-gradient(165deg, #16331F 0%, #0E2417 100%); color: #fff; }
.section-cta .kicker { color: var(--accent-deep); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-text h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-text p { color: rgba(255,255,255,.78); margin-top: 1rem; font-size: 1.08rem; max-width: 40ch; }
.contact-methods { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-methods li { display: flex; align-items: center; gap: .9rem; font-size: 1.02rem; }
.contact-methods a { color: #fff; transition: color .2s; }
.contact-methods a:hover { color: var(--accent); }
.contact-methods em { color: rgba(255,255,255,.5); font-style: normal; font-size: .85em; }
.cm-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--accent); flex-shrink: 0; }
.cm-ic svg { width: 21px; height: 21px; }

.contact-form {
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-lg); display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8em .95em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring);
}
.field input.invalid, .field textarea.invalid { border-color: #E0563B; box-shadow: 0 0 0 4px rgba(224,86,59,.12); }
.form-hint { font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand-name { color: #fff; }
.foot-brand p { margin-top: 1rem; font-size: .95rem; max-width: 38ch; color: rgba(255,255,255,.62); }
.foot-links, .foot-contact { display: grid; gap: .55rem; align-content: start; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.foot-links a, .foot-contact a { color: rgba(255,255,255,.72); font-size: .95rem; transition: color .2s; }
.foot-links a:hover, .foot-contact a:hover { color: var(--accent); }
.foot-contact span { font-size: .95rem; color: rgba(255,255,255,.55); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-top: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.5); }
.foot-legal a { color: rgba(255,255,255,.62); }
.foot-legal .disclaimer { display: block; margin-top: .4rem; }
.k8s-note {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding-top: 1.4rem; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5); font-size: .82rem;
}
.k8s-note img { width: 20px; height: 20px; display: block; }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.legal .back-link {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--brand);
  font-weight: 600; font-size: .95rem; margin-bottom: 1.6rem;
}
.legal .back-link:hover { color: var(--brand-700); }
.legal h1 { font-family: var(--font-hero); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .4rem; }
.legal .legal-updated { color: var(--muted); font-size: .92rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.3rem 0 .3rem; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.75; margin-bottom: .7rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal .addr { font-style: normal; line-height: 1.9; }
.legal .placeholder {
  background: var(--accent-soft); border: 1px dashed var(--accent-deep);
  padding: .05em .45em; border-radius: 5px; font-style: italic; color: var(--brand-900);
}
.legal .note {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.2rem; margin: 1.5rem 0; font-size: .92rem; color: var(--muted);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12,20,15,.9);
  display: none; place-items: center; padding: 4vw; backdrop-filter: blur(4px);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lb-close {
  position: absolute; top: 18px; right: 24px; font-size: 2.4rem; line-height: 1; color: #fff;
  background: none; border: 0; cursor: pointer; width: 48px; height: 48px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .feature-grid, .gallery, .steps, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-rows: 200px; }
  .g-big { grid-row: span 1; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; min-height: 300px; }
  .lead, .hero-badges { margin-inline: auto; justify-content: center; }
  .reasons { margin-inline: auto; text-align: left; }
  .hero-cta { justify-content: center; }
  .cond-grid, .cta-grid { grid-template-columns: 1fr; }
  .spec-card { position: static; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .price-notes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }

  /* mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem 6vw 1.4rem; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .35s ease; max-height: calc(100vh - 72px); overflow:auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a.btn { margin-top: 1rem; border-bottom: 0; }
}

@media (max-width: 560px) {
  .statband-inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0; }
  .stat:nth-child(odd)::before { display: none; }
  .feature-grid, .gallery, .steps, .price-grid, .field-row { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 230px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-pill { top: 2%; }
}

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