/* ==========================================================================
   PowerHOUSE Neustadt – landing page (light theme)
   Design language shared with the bodyHOUSE site: warm sand backgrounds,
   ink text, one signal colour (PowerHOUSE orange), pill buttons, large
   rounded cards, soft shadows, Plus Jakarta Sans headlines, Inter body text.
   No inline styles or scripts (strict CSP). All motion respects
   prefers-reduced-motion.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --sand-50: #faf8f4;
  --sand-100: #f3f0e9;
  --sand-200: #e7e2d8;
  --sand-300: #d5cec0;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-rgb: 255, 255, 255;
  --bg-rgb: 250, 248, 244;
  --black: #0e0f11;
  --glass: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.9);
  --stroke: rgba(26, 28, 31, 0.14);
  --stroke-soft: rgba(26, 28, 31, 0.08);
  --ok-bg: #e9f6e8; --ok-fg: #1f5e1c;
  --err-bg: #fdecec; --err-fg: #8a1f1f;

  --ink: #1a1c1f;
  --ink-soft: #4b5058;
  --ink-mute: #7a7f88;
  --line: rgba(26, 28, 31, 0.1);
  --line-2: rgba(26, 28, 31, 0.16);

  --orange-50: #fff4ea;
  --orange-100: #ffe4cc;
  --orange-200: #ffc999;
  --orange-300: #ffa85c;
  --orange-400: #ff852e;
  --orange-500: #ff6600;
  --orange-600: #e05800;
  --orange-700: #b34600;
  --amber: #ffc41f;
  --green: #3f9a3a;
  --bad: #c62828;

  --display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-xl: 1.75rem;
  --radius-lg: 1.25rem;
  --radius-md: 0.875rem;
  --radius-sm: 0.6rem;

  --shadow-card: 0 30px 60px -40px rgba(26, 28, 31, 0.45);
  --shadow-card-hover: 0 40px 80px -40px rgba(26, 28, 31, 0.5);
  --shadow-btn: 0 10px 30px -12px rgba(255, 102, 0, 0.8);
  --shadow-btn-hover: 0 18px 40px -14px rgba(255, 102, 0, 0.9);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --max: 80rem;
  --gutter: 1.25rem;
  --header-h: 92px;
}

/* ---------- Dark theme (default; the header button switches to light) ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --sand-50: #0e0f11;
  --sand-100: #141518;
  --sand-200: #1c1e22;
  --sand-300: #2a2d33;
  --surface: #17181c;
  --surface-rgb: 23, 24, 28;
  --bg-rgb: 14, 15, 17;
  --ink: #f4f3f0;
  --ink-soft: #b8bcc4;
  --ink-mute: #858a94;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(23, 24, 28, 0.82);
  --glass-border: rgba(255, 255, 255, 0.12);
  --orange-50: #221610;
  --orange-100: #3a2213;
  --orange-200: #5c3416;
  --orange-600: #ff7a1f;
  --orange-700: #ffa35c;
  --shadow-card: 0 30px 60px -40px rgba(0, 0, 0, 0.85);
  --shadow-card-hover: 0 40px 80px -40px rgba(0, 0, 0, 0.95);
  --ok-bg: #16301a; --ok-fg: #9fe3a1;
  --err-bg: #3a1717; --err-fg: #ffb3b3;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--sand-50);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social svg, .footer-brand svg[viewBox] { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 1000; background: var(--orange-500); color: var(--white); padding: .75rem 1.25rem; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); overflow: hidden; }
.bg-sand { background: var(--sand-50); }
.bg-sand-2 { background: var(--sand-100); }
.bg-white { background: var(--surface); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 1.25rem; }

/* Chapter numbers (outlined) */
.has-chapter { isolation: isolate; }
.chapter {
  position: absolute; top: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 4vw, 3rem); z-index: 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 9vw, 8rem); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--stroke); user-select: none; pointer-events: none;
}
.has-chapter > .container { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.028em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(2.75rem, 6.2vw, 5rem); }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); line-height: 1.05; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--ink-soft); max-width: 42rem; }
.lead a { color: var(--orange-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--ink-mute); }
.accent { color: var(--orange-500); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; border-radius: 2px; opacity: .85; }

/* Sketch underline (highlight) */
.sketch, .sketch-light {
  background-image: linear-gradient(to top, var(--amber) 0, var(--amber) .28em, transparent .28em);
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: .06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
  border: 1px solid transparent; transition: transform .3s var(--ease-out-quart), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .65rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange-500); color: var(--white); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--orange-600); box-shadow: var(--shadow-btn-hover); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--surface); border-color: var(--ink); }

.btn-ghost { background: rgba(26, 28, 31, 0.06); color: var(--ink); border-color: rgba(26, 28, 31, 0.1); }
.btn-ghost:hover { background: rgba(26, 28, 31, 0.1); }

/* Shine sweep on hover */
.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35), transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out-quart);
}
.shine:hover::after { transform: translateX(120%); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--orange-600); text-decoration: none; margin-top: 1.25rem; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease-out-quart); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--orange-500); transform-origin: left; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 900; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s, height .3s;
}
.site-header.scrolled {
  background: rgba(var(--bg-rgb), 0.86); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(26, 28, 31, 0.3);
}
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; height: 100%; }

.logo-ph { display: block; transition: transform .25s var(--ease-out-quart); }
.logo-ph img { height: 64px; width: auto; max-width: none; }
.logo-ph:hover { transform: translateY(-2px); }

.main-nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: .15rem; padding: 5px; border-radius: 999px; background: rgba(var(--surface-rgb), .55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-link {
  position: relative; display: block; padding: .55rem .9rem; font-size: .93rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-radius: 999px;
  transition: color .25s, background-color .25s;
}
.nav-link:hover { color: var(--ink); background: rgba(var(--surface-rgb), .95); }
.nav-link.active { color: var(--orange-700); background: var(--orange-100); }
.nav-mobile-extra { display: none; }

.header-right { display: flex; align-items: center; gap: .75rem; justify-self: end; }
.header-sep { width: 1px; height: 28px; background: var(--line-2); margin-inline: .35rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1rem; white-space: nowrap; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s var(--ease-out-quart); }
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--orange-500); }
.header-phone:hover { border-color: var(--ink); transform: translateY(-2px); }
.logo-bh { display: flex; flex: none; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 8px 14px; transition: transform .25s var(--ease-out-quart), box-shadow .25s; }
.logo-bh img { height: 48px; width: auto; }
.logo-bh:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.theme-toggle { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: border-color .25s, transform .25s var(--ease-out-quart), background-color .25s; }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; }
.theme-toggle:hover { border-color: var(--ink); transform: translateY(-2px); }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out-quart), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sand-50); padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(3.5rem, 7vw, 6rem); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero-inner { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-copy { max-width: 40rem; }
.hero-lead { margin-top: 1.75rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.hero-facts span { font-size: .85rem; color: var(--ink-mute); }

.hero-media { position: relative; }
.hero-photo { position: relative; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 4 / 5; box-shadow: var(--shadow-card); background: var(--sand-200); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 28, 31, .35), transparent 45%); pointer-events: none; }

.hero-card {
  position: absolute; left: -1.5rem; bottom: 2rem; width: min(21rem, 90%);
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 1.35rem 1.5rem;
  box-shadow: inset 0 1px #fff, 0 30px 60px -30px rgba(26, 28, 31, 0.5);
}
.status-pill { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; color: var(--ink-soft); background: var(--sand-100); border-radius: 999px; padding: .35rem .8rem .35rem .6rem; }
.status-pill strong { color: var(--ink); font-weight: 700; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63, 154, 58, .6); animation: puls 2.2s ease-out infinite; flex: none; }
.status-pill.closed .status-dot { background: var(--ink-mute); animation: none; }
.status-dot-static { animation: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(63, 154, 58, .6); } 70% { box-shadow: 0 0 0 9px rgba(63, 154, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 154, 58, 0); } }

.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .5rem; margin-top: 1rem; }
.hero-price-ab { font-weight: 600; color: var(--ink-soft); }
.hero-price-num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; color: var(--orange-500); line-height: 1; }
.hero-price-per { flex-basis: 100%; font-size: .85rem; color: var(--ink-mute); }
.hero-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.hero-rows dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.hero-rows dd { font-weight: 700; font-size: .95rem; margin-top: .15rem; }
.hero-card-note { font-size: .75rem; color: var(--ink-mute); margin-top: 1rem; line-height: 1.45; }

.scroll-hint { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink-mute); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; z-index: 1; }
.scroll-hint-line { width: 1px; height: 2.75rem; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint-line span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--orange-500); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { transform: translateY(-100%); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(260%); opacity: 0; } }

/* Hero video backdrop + light veil */
.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--sand-100); }
.hero-video video { width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; filter: saturate(.85); }
.hero-veil {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--sand-50) 0, rgba(var(--bg-rgb), 0) 24%),
    linear-gradient(to top, var(--sand-50) 0, rgba(var(--bg-rgb), 0) 32%),
    linear-gradient(90deg, var(--sand-50) 0%, var(--sand-50) 36%, rgba(var(--bg-rgb), .92) 52%, rgba(var(--bg-rgb), .6) 72%, rgba(var(--bg-rgb), .35) 100%);
}

/* 3D object (canvas is appended by assets/hero3d.js) */
.hero-3d { position: relative; width: 100%; aspect-ratio: 1 / 1; display: none; opacity: 0; transition: opacity 1s var(--ease-out-expo); }
.hero-3d.ready { opacity: 1; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
html.has3d .hero-3d { display: block; }
html.has3d .hero-photo { display: none; }
html.has3d .hero-card { left: auto; right: 0; bottom: 1.5rem; }
.hero-card.tilt { transform-style: preserve-3d; }
.hero-card .tilt-glare { border-radius: inherit; }

/* Aura blobs (soft orange glow) */
.aura { position: absolute; border-radius: 50%; filter: blur(48px); pointer-events: none; z-index: 0; will-change: transform; }
.aura-a { width: 42rem; height: 42rem; left: -14rem; top: -8rem; background: radial-gradient(circle, rgba(255, 133, 46, 0.32), rgba(255, 133, 46, 0) 65%); animation: aura-a 22s ease-in-out infinite; }
.aura-b { width: 30rem; height: 30rem; right: -10rem; bottom: -12rem; background: radial-gradient(circle, rgba(255, 196, 31, 0.28), rgba(255, 196, 31, 0) 65%); animation: aura-b 28s ease-in-out infinite; }
.aura-dim { opacity: .55; }
@keyframes aura-a { 0%, 100% { transform: translate(0) scale(1); } 50% { transform: translate(8%, -6%) scale(1.15); } }
@keyframes aura-b { 0%, 100% { transform: translate(0) scale(1); } 50% { transform: translate(-10%, 8%) scale(.9); } }

/* Noise texture */
.noise { position: relative; }
.noise::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: multiply; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ken Burns */
.kenburns { animation: kenburns 9s var(--ease-out-quart) forwards; will-change: transform; }
@keyframes kenburns { 0% { transform: scale(1.12) translate(1.5%, 1%); } 100% { transform: scale(1) translate(0); } }

/* Word-by-word headline */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.word { display: inline-block; opacity: 0; transform: translateY(110%); animation: word 1s var(--ease-out-expo) forwards; animation-delay: calc(.25s + var(--w, 0) * .09s); }
[data-w="1"] { --w: 0; } [data-w="2"] { --w: 1; } [data-w="3"] { --w: 2; } [data-w="4"] { --w: 3; }
@keyframes word { 0% { opacity: 0; transform: translateY(110%) rotate(2deg); } 100% { opacity: 1; transform: translateY(0) rotate(0); } }

/* Fade-up on load */
.auf { opacity: 0; animation: auf 1s var(--ease-out-expo) forwards; animation-delay: calc(.1s + var(--d, 0) * .12s); }
@keyframes auf { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: none; } }

/* Reveal on scroll */
[data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; } [data-d="4"] { --d: 4; }
[data-d="5"] { --d: 5; } [data-d="6"] { --d: 6; } [data-d="7"] { --d: 7; } [data-d="8"] { --d: 8; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo); transition-delay: calc(var(--d, 0) * .1s); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom { transform: scale(1.04); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal, html:not(.js) .auf, html:not(.js) .word { opacity: 1; transform: none; animation: none; }

/* ---------- Stats ---------- */
.stats-band { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto; column-gap: .5rem; align-items: baseline; }
.stat-no { grid-row: 1 / 3; grid-column: 1; align-self: start; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .2em; color: var(--orange-600); padding-top: .55rem; padding-right: .6rem; margin-right: .35rem; border-right: 1px solid var(--line); }
.stat-val { grid-row: 1; grid-column: 2; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -.04em; line-height: 1; }
.stat-label { grid-row: 1; grid-column: 3; justify-self: start; font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.stat-text { grid-row: 2; grid-column: 2 / 4; font-size: .9rem; color: var(--ink-soft); margin-top: .35rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: 1rem; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 44s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-inline: 1.5rem; white-space: nowrap; }
.marquee-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); flex: none; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Split (Prinzip) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split .lead { margin-top: 1.25rem; }
.check-list { margin-top: 1.75rem; display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.check-list svg { width: 1.6rem; height: 1.6rem; padding: .3rem; flex: none; border-radius: 50%; background: var(--orange-100); color: var(--orange-700); stroke-width: 2.5; }

.media-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-200); box-shadow: var(--shadow-card); transition: box-shadow .35s; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card:hover { box-shadow: var(--shadow-card-hover); }
.zoom-img { transition: transform .9s var(--ease-out-expo); }
.media-card:hover .zoom-img, .gallery-item:hover .zoom-img { transform: scale(1.06); }

.float-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-md); padding: .8rem 1.1rem; box-shadow: 0 20px 40px -20px rgba(26, 28, 31, .5); }
.float-badge strong { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; color: var(--orange-500); line-height: 1; }
.float-badge small { font-size: .75rem; color: var(--ink-mute); margin-top: .2rem; }

/* 3D tilt (values set by app.js via CSS variables) */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .35s var(--ease-out-quart), box-shadow .35s; transform-style: preserve-3d; }
.tilt-out { transition: transform .8s var(--ease-out-expo), box-shadow .5s; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .3), transparent 45%); }
.tilt:hover .tilt-glare { opacity: 1; }

/* ---------- Cards (Ausstattung, Chip) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  position: relative; background: var(--sand-50); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem;
  transition: transform .35s var(--ease-out-quart), box-shadow .35s, border-color .35s, background-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; background: var(--surface); }
.card h3 { margin-top: 1.25rem; }
.card p { color: var(--ink-soft); margin-top: .5rem; font-size: .97rem; }
.card-no { position: absolute; top: 1.5rem; right: 1.5rem; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .2em; color: var(--ink-mute); }
.card-spec { font-weight: 600; color: var(--ink); }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: var(--orange-100); color: var(--orange-700); transition: background-color .35s, color .35s, transform .35s var(--ease-out-quart); }
.icon-tile svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; }
.card:hover .icon-tile { background: var(--orange-500); color: var(--white); transform: rotate(-6deg) scale(1.05); }
.bg-white .card { background: var(--sand-50); }
.bg-sand-2 .card { background: var(--surface); }

/* ---------- Zeiten ---------- */
.bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.bignum { text-align: center; padding: 2rem 1rem; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.bignum::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--orange-500), var(--amber)); }
.bignum-val { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.bignum-label { display: block; margin-top: .6rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--orange-600); }
.chip-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.chip-card h3 { margin-top: 1.25rem; }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 2rem 1.75rem; display: flex; flex-direction: column; transition: transform .35s var(--ease-out-quart), box-shadow .35s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.plan-best { background: var(--surface); border-color: var(--orange-200); box-shadow: var(--shadow-card); transform: translateY(-.5rem); }
.plan-best:hover { transform: translateY(-.85rem); }
.plan-best .plan-term { color: var(--orange-600); }
.plan-best .plan-list li::before { background: var(--orange-500); color: var(--white); }
.flag { position: absolute; top: -0.85rem; left: 1.75rem; background: var(--orange-500); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 999px; box-shadow: var(--shadow-btn); }
.plan-term { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; color: var(--ink-soft); }
.plan-price { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -.05em; line-height: 1; margin-top: .9rem; color: var(--ink); }
.plan-per { color: var(--ink-mute); font-size: .9rem; margin-top: .35rem; }
.plan-list { margin-top: 1.5rem; margin-bottom: 1.75rem; display: grid; gap: .55rem; color: var(--ink-soft); font-size: .95rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.7rem; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--orange-100); color: var(--orange-700); font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* Gradient border (animated on hover) */
.gradient-border { position: relative; }
.gradient-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(135deg, var(--orange-400), var(--amber) 60%, var(--orange-600));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.gradient-border:hover::before { opacity: 1; }

.terms { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; }
.terms dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--orange-600); }
.terms dd { margin-top: .35rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Leistung ---------- */
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.yesno-card { background: var(--surface); border-radius: var(--radius-xl); padding: 2rem; border: 1px solid var(--line); }
.yesno-card h3 { font-size: 1.35rem; }
.yesno-card ul { margin-top: 1.25rem; display: grid; gap: .7rem; }
.yesno-card li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.yesno-card li svg { width: 1.6rem; height: 1.6rem; padding: .32rem; flex: none; border-radius: 50%; stroke-width: 2.5; }
.yes { border-top: 4px solid var(--orange-500); }
.yes li svg { background: var(--orange-100); color: var(--orange-700); }
.no { border-top: 4px solid var(--sand-300); }
.no li { color: var(--ink-soft); }
.no li svg { background: var(--sand-100); color: var(--ink-mute); }

.fit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 3.5rem; align-items: start; }
.fit-copy p { color: var(--ink-soft); margin-top: 1rem; max-width: 36rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tags li { background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: .45rem .95rem; font-size: .88rem; font-weight: 600; }
.compare-card { background: var(--surface); border-radius: var(--radius-xl); padding: 1.75rem; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.compare-card > h3 { font-size: 1.2rem; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.compare-grid > div { padding: 1rem; border-radius: var(--radius-md); background: var(--sand-50); border: 1px solid var(--line); }
.compare-grid strong { display: block; font-family: var(--display); font-weight: 800; letter-spacing: -.01em; }
.compare-grid p { font-size: .85rem; color: var(--ink-soft); margin-top: .35rem; }
.compare-active { background: var(--orange-50) !important; border-color: var(--orange-200) !important; }
.compare-active strong { color: var(--orange-600); }

/* ---------- Rundgang ---------- */
.video-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--black); box-shadow: var(--shadow-card); margin-bottom: 1.25rem; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card figcaption { position: absolute; left: 1.25rem; top: 1.25rem; background: rgba(var(--surface-rgb), .92); color: var(--ink); font-size: .8rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; pointer-events: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-item { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand-200); box-shadow: var(--shadow-card); padding: 0; transition: box-shadow .35s, transform .35s var(--ease-out-quart); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.gallery-zoom { position: absolute; right: .9rem; top: .9rem; width: 2.5rem; height: 2.5rem; border-radius: .8rem; background: rgba(var(--surface-rgb), .88); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s, transform .3s var(--ease-out-quart); transform: translateY(-4px); }
.gallery-zoom svg { width: 1.1rem; height: 1.1rem; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }
.gallery-item:nth-child(4n + 1) { grid-column: span 1; }
.viewing { margin-top: 1.5rem; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.5rem 1.75rem; transition: transform .35s var(--ease-out-quart), box-shadow .35s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--orange-500); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-btn); }
.step h3 { margin-top: 1.25rem; font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin-top: .5rem; font-size: .95rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 3.35rem; right: -1.25rem; width: 1.25rem; height: 2px; background: var(--line-2); }

/* ---------- Anfrage ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-direct { margin-top: 2rem; display: flex; flex-direction: column; gap: .35rem; }
.contact-direct-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); }
.contact-direct-phone { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.contact-direct-phone svg { width: 1.3rem; height: 1.3rem; color: var(--orange-500); }
.contact-direct-phone:hover { color: var(--orange-600); }
.contact-list { margin-top: 2rem; display: grid; gap: 1.25rem; }
.contact-list dt { display: flex; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); }
.contact-list dt svg { width: 1rem; height: 1rem; color: var(--orange-500); }
.contact-list dd { margin-top: .3rem; color: var(--ink-soft); line-height: 1.55; }
.contact-list dd a { color: var(--orange-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.form-card { background: var(--surface); border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.form-alert { padding: .9rem 1.1rem; border-radius: var(--radius-md); margin-bottom: 1.25rem; font-weight: 500; font-size: .95rem; }
.form-alert.ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-alert.err { background: var(--err-bg); color: var(--err-fg); }

.segmented { border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.25rem; }
.segmented legend { font-size: .8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .6rem; }
.segmented label { position: relative; display: block; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .8rem .5rem; border: 1px solid var(--line-2); border-radius: var(--radius-md); text-align: center; background: var(--sand-50); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.segmented strong { font-family: var(--display); font-weight: 800; font-size: .95rem; letter-spacing: -.01em; }
.segmented small { font-size: .75rem; color: var(--ink-mute); }
.segmented input:checked + span { border-color: var(--orange-500); background: var(--orange-50); box-shadow: inset 0 0 0 1px var(--orange-500); }
.segmented input:checked + span small { color: var(--orange-700); }
.segmented input:focus-visible + span { outline: 3px solid var(--orange-500); outline-offset: 2px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .9rem; font-weight: 600; }
.req { color: var(--orange-600); }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; padding: .85rem 1rem; background: var(--sand-50); border: 1px solid var(--line-2); border-radius: var(--radius-md); color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(255, 102, 0, .15); background: var(--surface); }
.field textarea { resize: vertical; min-height: 6rem; }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-error { font-size: .82rem; color: var(--bad); min-height: 1.1em; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .4rem .75rem; align-items: start; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--orange-500); }
.field-check label { font-size: .85rem; font-weight: 400; color: var(--ink-soft); line-height: 1.5; }
.field-check label a { color: var(--orange-600); font-weight: 600; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: .78rem; color: var(--ink-mute); margin-top: .9rem; text-align: center; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 1rem); margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-600); }
.faq-icon { position: relative; flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out-quart); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.faq-icon::before { width: .8rem; height: 2px; }
.faq-icon::after { width: 2px; height: .8rem; transition: transform .3s; }
.faq details[open] .faq-icon { background: var(--orange-500); border-color: var(--orange-500); color: var(--white); transform: rotate(180deg); }
.faq details[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-body { padding-bottom: 1.25rem; color: var(--ink-soft); max-width: 40rem; }
.faq-body a { color: var(--orange-600); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { position: relative; padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.cta-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: linear-gradient(135deg, var(--orange-50), var(--surface) 55%, var(--sand-100)); border: 1px solid var(--orange-100);
  border-radius: calc(var(--radius-xl) + .5rem); padding: clamp(2rem, 5vw, 4.5rem); box-shadow: var(--shadow-card);
}
.cta-copy .lead { margin-top: 1.25rem; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.cta-hours { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--sand-100); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-watermark { position: absolute; left: -.05em; bottom: -.22em; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 18vw, 17rem); letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--stroke-soft); pointer-events: none; user-select: none; white-space: nowrap; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logos { display: flex; align-items: center; gap: 1rem; }
.footer-ph img { height: 72px; width: auto; }
.footer-bh { display: flex; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px; }
.footer-bh img { height: 34px; width: auto; }
.footer-claim { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin-top: 1.5rem; }
.footer-brand > p:not(.footer-claim) { color: var(--ink-soft); font-size: .93rem; margin-top: .6rem; max-width: 26rem; }
.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: background-color .3s, color .3s, transform .3s var(--ease-out-quart); }
.social a svg { width: 1.1rem; height: 1.1rem; }
.social a:hover { background: var(--orange-500); color: var(--white); border-color: transparent; transform: translateY(-2px); }
.footer-h { font-family: var(--display); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--orange-600); margin-bottom: 1.1rem; }
.footer-list { display: grid; gap: .7rem; font-size: .93rem; color: var(--ink-soft); }
.footer-list a { text-decoration: none; transition: color .2s; }
.footer-list a:hover { color: var(--orange-600); }
.footer-list strong { color: var(--ink); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-mute); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--orange-600); }

/* ---------- To top ---------- */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 800; width: 3rem; height: 3rem; border-radius: 50%; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out-quart), background-color .3s, color .3s; }
.to-top svg { width: 1.1rem; height: 1.1rem; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange-500); color: var(--white); border-color: transparent; }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.modal::backdrop { background: rgba(26, 28, 31, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.modal-close { position: absolute; top: .75rem; right: .75rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.modal-close svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .header-phone { width: 44px; flex: none; padding: 0; justify-content: center; }
  .header-phone span { display: none; }
}

@media (max-width: 1280px) {
  .nav-link { padding: .55rem .8rem; font-size: .9rem; }
  .header-phone { display: none; }
  .logo-ph img { height: 56px; }
  .logo-bh img { height: 38px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .header-inner { grid-template-columns: auto 1fr; }
  .logo-ph img { height: 48px; }
  .logo-bh { padding: 6px 10px; }
  .logo-bh img { height: 32px; }
  .header-sep { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); z-index: 899;
    background: var(--sand-50); padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease-out-quart);
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-link:hover, .nav-link.active { background: none; color: var(--orange-600); }
  .nav-link { padding: 1rem 0; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
  .nav-link::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 1rem; margin-top: 1.5rem; }
  .nav-mobile-phone { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
  .nav-mobile-phone svg { width: 1.2rem; height: 1.2rem; color: var(--orange-500); }
  .nav-mobile-bh { font-size: .9rem; color: var(--ink-soft); }
  .site-header { background: rgba(var(--bg-rgb), 0.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 34rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-card { left: 1rem; bottom: 1rem; }
  .scroll-hint { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .fit, .contact-grid, .faq-grid, .cta-inner { grid-template-columns: 1fr; }
  .split-media { order: -1; max-width: 30rem; }
  .media-card { aspect-ratio: 4 / 3; }
  .cards, .chip-cards, .gallery, .plans { grid-template-columns: repeat(2, 1fr); }
  .plan-best { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .faq-head { position: static; }
  .chapter { font-size: 5rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .logo-ph img { height: 40px; }
  .logo-bh img { height: 26px; }
  .header-right { gap: .5rem; }
  .theme-toggle { width: 40px; height: 40px; }
  .h1 { font-size: clamp(2.5rem, 12vw, 3.25rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 1rem; }
  .hero-photo::after { display: none; }
  .stats { grid-template-columns: 1fr; gap: 1.25rem; }
  .cards, .chip-cards, .gallery, .plans, .yesno, .bignums, .steps, .compare-grid, .terms, .segmented, .form-row { grid-template-columns: 1fr; }
  .plan-best { grid-column: auto; }
  .segmented span { flex-direction: row; justify-content: space-between; padding: .8rem 1rem; }
  .cta-inner { padding: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .chapter { font-size: 3.5rem; top: 1rem; right: 1rem; }
  .to-top { right: .9rem; bottom: .9rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .word, .auf, .reveal { opacity: 1; transform: none; animation: none; }
  .kenburns { animation: none; }
  .marquee-track { animation: none; }
  .aura { animation: none; }
  .tilt { transform: none !important; }
}
