/* ============================================
   Hüpfburgen Schwelm
   Playful, cinematic, photo-driven
   ============================================ */

:root {
  --bg: #FBF7EF;
  --bg-soft: #F5EBD9;
  --bg-warm: #EFE3CC;
  --bg-card: #FFFFFF;
  --ink: #0E1A2B;
  --ink-soft: #3A4A60;
  --ink-muted: #6B7A8F;
  --line: #E6DFD0;

  --primary: #EF553B;
  --primary-hover: #DC4226;
  --accent: #F4B942;
  --accent-soft: #FCE9B5;
  --teal: #2D8B7B;
  --teal-soft: #CDEAE2;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --shadow-sm: 0 2px 8px rgba(14, 26, 43, 0.04), 0 1px 2px rgba(14, 26, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 26, 43, 0.08), 0 2px 6px rgba(14, 26, 43, 0.04);
  --shadow-lg: 0 24px 60px rgba(14, 26, 43, 0.16);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --nav-h: 84px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

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

@media (min-width: 901px) {
  html { scroll-snap-type: y proximity; }
  .hero, .section { scroll-snap-align: start; scroll-snap-stop: normal; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }

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

/* ===== SPLASH (cinematic loader) ===== */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(circle at 50% 50%, #122236 0%, #060B14 100%);
  display: grid; place-items: center;
  animation: splash-exit 0.85s 2.5s cubic-bezier(.85,0,.15,1) forwards;
  overflow: hidden;
}
.splash::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(circle at 25% 30%, rgba(244, 185, 66, 0.22) 0%, transparent 35%),
    radial-gradient(circle at 75% 75%, rgba(239, 85, 59, 0.18) 0%, transparent 45%);
  filter: blur(40px);
  animation: splash-drift 6s ease-in-out infinite alternate;
}
.splash::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
}
@keyframes splash-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(3%, -2%); }
}

.splash-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 20px;
}

.splash-stage {
  position: relative;
  width: clamp(180px, 32vw, 320px);
  aspect-ratio: 1 / 1;
  display: flex; align-items: flex-end; justify-content: center;
}

.splash-logo {
  display: block;
  width: 100%;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  animation: logo-drop 1.6s 0.25s cubic-bezier(.34, 1.05, .64, 1) forwards;
  transform-origin: bottom center;
}
.splash-logo img { width: 100%; height: auto; display: block; }

.splash-shadow {
  position: absolute;
  bottom: -10%;
  left: 18%; right: 18%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(244, 185, 66, 0.42) 0%, transparent 70%);
  filter: blur(8px);
  opacity: 0;
  transform: scaleX(0.3);
  animation: shadow-pulse 1.6s 0.25s cubic-bezier(.34, 1.05, .64, 1) forwards;
}

@keyframes logo-drop {
  0%   { opacity: 0; transform: translateY(-220%) scale(0.9); }
  10%  { opacity: 1; }
  32%  { transform: translateY(0%) scale(1.04, 0.92); } /* impact squash */
  40%  { transform: translateY(-30%) scale(0.98, 1.04); } /* bounce up */
  55%  { transform: translateY(0%) scale(1.02, 0.96); } /* second hit */
  62%  { transform: translateY(-12%) scale(1, 1.02); }
  72%  { transform: translateY(0%) scale(1.01, 0.99); } /* tiny third */
  78%  { transform: translateY(-5%) scale(1, 1.01); }
  100% { opacity: 1; transform: translateY(0%) scale(1); }
}
@keyframes shadow-pulse {
  0%   { opacity: 0; transform: scaleX(0.2); }
  10%  { opacity: 0.3; transform: scaleX(0.4); }
  32%  { opacity: 0.85; transform: scaleX(1); } /* impact */
  40%  { opacity: 0.5; transform: scaleX(0.7); }
  55%  { opacity: 0.85; transform: scaleX(0.95); }
  62%  { opacity: 0.6; transform: scaleX(0.8); }
  100% { opacity: 0.7; transform: scaleX(0.9); }
}

.splash.is-done { pointer-events: none; }
@keyframes splash-exit {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); visibility: hidden; }
}

/* ===== TYPO ===== */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.6vw, 2.8rem);
}
.h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}
.lead {
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
  line-height: 1.55;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(239, 85, 59, 0.28); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 12px 28px rgba(239, 85, 59, 0.42); }

.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--ink-soft); color: #fff; }

.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; backdrop-filter: blur(8px); border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.55); }

/* ===== BRAND LOGO ===== */
.brand-logo {
  display: inline-flex; align-items: center;
  height: 64px;
  line-height: 0;
  transition: transform .2s ease;
}
.brand-logo:hover { transform: scale(1.04); }
.brand-logo picture {
  display: block;
  height: 100%;
}
.brand-logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-logo-footer { height: 72px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(251, 247, 239, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 247, 239, 0.94);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  gap: 20px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 0.92rem; font-weight: 500;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px 22px;
  display: none;
  flex-direction: column; gap: 4px;
  z-index: 49;
  box-shadow: var(--shadow-md);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 4px; font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }
.mobile-nav .btn { color: #fff; margin-top: 10px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 14, 26, 0.88) 0%, rgba(8, 14, 26, 0.7) 28%, rgba(8, 14, 26, 0.35) 58%, rgba(8, 14, 26, 0.08) 88%, transparent 100%),
    linear-gradient(180deg, rgba(8, 14, 26, 0.32) 0%, transparent 28%, transparent 60%, rgba(8, 14, 26, 0.55) 100%);
}
.hero-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(8, 14, 26, 0.22) 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 800px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.hero-title .line {
  display: block;
  opacity: 0; transform: translateY(34px);
  animation: hero-fade 0.95s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.4s; }
.hero-title .line:nth-child(2) { animation-delay: 0.65s; }
.line-script {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
@keyframes hero-fade {
  to { opacity: 1; transform: translateY(0); }
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin: 0 0 32px;
  line-height: 1.55;
  opacity: 0; transform: translateY(20px);
  animation: hero-fade 0.9s 0.95s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  opacity: 0; transform: translateY(20px);
  animation: hero-fade 0.9s 1.15s cubic-bezier(.16,1,.3,1) forwards;
}

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  z-index: 1;
  animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ===== SECTION SHARED ===== */
.section {
  position: relative;
  padding: 64px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section > .container { width: 100%; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.section-head .lead { margin-left: auto; margin-right: auto; }

/* ===== FACTS STRIP ===== */
.facts {
  background: var(--bg-warm);
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  min-height: auto;
}
.facts-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  display: flex; flex-direction: column;
}
.fact-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.fact-num small {
  font-size: 0.45em;
  font-weight: 600;
  font-style: normal;
  color: var(--ink-soft);
  margin-left: 4px;
}
.fact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}
.fact p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== SVG WAVES ===== */
.wave {
  position: absolute; left: 0; right: 0;
  width: 100%; height: 60px;
  display: block;
  pointer-events: none;
}
.wave-bottom { bottom: -1px; }
.wave-top { top: -1px; }

/* ===== CASTLES ===== */
.section-castles { background: var(--bg); }
/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  margin: 0 -8px;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 22px) / 2);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 8px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .castle {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.carousel-arrow {
  position: absolute;
  top: 38%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: transform .15s ease, background .15s ease, opacity .2s ease;
}
.carousel-arrow:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.carousel-arrow:disabled { opacity: 0; pointer-events: none; }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 14px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, width .3s ease;
  padding: 0;
}
.carousel-dot:hover { background: var(--ink-muted); }
.carousel-dot.is-active { background: var(--primary); width: 22px; border-radius: 4px; }

/* Castle-Cards within carousel: fixed width via grid-auto-columns above */
.castle-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
.castles-foot {
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--ink-muted);
  max-width: 60ch;
}
.castle {
  background: var(--bg-card);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.castle:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.castle-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  overflow: hidden;
}
.castle-media-photo { background: var(--bg-warm); }
.castle-media picture { display: block; width: 100%; height: 100%; }
.castle-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.castle:hover .castle-media img { transform: scale(1.05); }
.castle-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--ink); color: var(--accent);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.castle-tag-accent { background: var(--primary); color: #fff; }
.castle-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex; flex-direction: column;
}
.castle-body p {
  color: var(--ink-soft);
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.castle-body .h3 { margin-bottom: 6px; font-size: 1.3rem; }
.price-box {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 10px 14px;
  margin: 0 0 12px;
  border-left: 3px solid var(--accent);
}
.price-main {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-amount small {
  font-family: var(--font-body);
  font-size: 0.55em;
  font-weight: 600;
  font-style: normal;
  color: var(--primary);
  margin-left: 2px;
}
.price-amount-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.15rem;
}
.price-meta {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.4;
}
.price-meta strong {
  color: var(--ink);
  font-weight: 600;
}
.price-foot {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.spec {
  display: flex; flex-direction: column;
  gap: 1px;
  padding: 4px 0;
  text-align: center;
}
.spec strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.spec small {
  font-size: 0.66rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.castle-specs {
  list-style: none; padding: 0; margin: 0 0 12px;
  border-top: 1px solid var(--line);
}
.castle-specs li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 130px 1fr; gap: 12px;
  font-size: 0.88rem; color: var(--ink-soft);
}
.castle-specs strong { color: var(--ink); font-weight: 600; }
.castle-body .btn { margin-top: auto; }

/* ===== PROCESS (with drone bg) ===== */
.section-process {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 90px 0;
}
.section-bg { position: absolute; inset: 0; z-index: 0; }
.section-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.section-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 26, 0.78) 0%, rgba(8, 14, 26, 0.85) 50%, rgba(8, 14, 26, 0.78) 100%),
    radial-gradient(circle at 30% 50%, rgba(244, 185, 66, 0.08) 0%, transparent 50%);
}
.section-process .container { position: relative; z-index: 1; }
.section-process h2 { color: #fff; }
.section-process h2 em { color: var(--accent); }
.section-process .lead { color: rgba(255, 255, 255, 0.78); }

.steps {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.step {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 22px 22px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 185, 66, 0.4);
  transform: translateY(-3px);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.3rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.step h3 { color: #fff; margin: 0 0 6px; font-size: 1.2rem; }
.step p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; line-height: 1.5; }

.options {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
.option {
  border: 1px solid rgba(244, 185, 66, 0.3);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  background: rgba(244, 185, 66, 0.06);
  backdrop-filter: blur(8px);
}
.option-alt {
  border-color: rgba(239, 85, 59, 0.32);
  background: rgba(239, 85, 59, 0.06);
}
.option-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.option-alt .option-tag { color: var(--primary); }
.option h4 {
  color: #fff;
  margin: 0 0 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.option p { margin: 0 0 10px; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; line-height: 1.5; }
.option-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== OCCASIONS ===== */
.section-occasions { background: var(--bg-soft); }
.occasions-wrapper {
  display: grid; gap: 44px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.occasions-photo {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 100%;
  height: 100%;
}
.occasions-photo picture { display: block; width: 100%; height: 100%; }
.occasions-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.3,1);
}
.occasions-photo:hover img { transform: scale(1.03); }

.occasions-content {
  display: flex; flex-direction: column;
}
.occasions-content h2 { text-align: left; }
.occasions-content .lead { margin-bottom: 22px; }

.occasion-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.occasion-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 14px;
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.occasion-list li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.ocl-icon {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.occasion-list li > div { display: flex; flex-direction: column; gap: 1px; }
.occasion-list strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.occasion-list span { color: var(--ink-soft); font-size: 0.83rem; }

/* ===== MODAL DIALOG ===== */
.modal {
  padding: 0;
  border: none;
  border-radius: var(--r-2xl);
  background: var(--bg-card);
  max-width: 640px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  box-shadow: 0 30px 80px rgba(14, 26, 43, 0.35);
  overflow: hidden;
  margin: auto;
}
.modal[open] { animation: modal-in 0.28s cubic-bezier(.16,1,.3,1); }
.modal::backdrop {
  background: rgba(14, 26, 43, 0.6);
  backdrop-filter: blur(6px);
  animation: backdrop-in 0.25s ease;
}
.modal.is-closing { animation: modal-out 0.2s ease forwards; }
.modal.is-closing::backdrop { animation: backdrop-out 0.2s ease forwards; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modal-out {
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { to { opacity: 0; } }

.modal-inner {
  position: relative;
  padding: 32px 32px 28px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none; color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, color .2s ease;
  z-index: 2;
}
.modal-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal-head { text-align: left; margin-bottom: 18px; padding-right: 40px; }
.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.modal-title em { font-style: italic; font-weight: 500; color: var(--primary); }
.modal-sub { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

.modal-form { padding: 0; background: transparent; border: none; box-shadow: none; }

.modal-success {
  text-align: center;
  padding: 24px 16px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.modal-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 4px 0 0;
}
.modal-success p { margin: 0; color: var(--ink-soft); max-width: 36ch; }
.modal-success .btn { margin-top: 12px; }
.modal-success .check-circle {
  width: 52px; height: 52px;
  background: var(--teal-soft); color: var(--teal);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 700;
}

body.modal-open { overflow: hidden; }

.form {
  background: var(--bg-card);
  border-radius: var(--r-2xl);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.hp { position: absolute; left: -10000px; }

.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: 1fr 1fr; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-size: 0.82rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body); font-size: 0.94rem; color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(239, 85, 59, 0.12);
}
.field textarea { resize: vertical; min-height: 70px; }

.field-group { border: none; padding: 0; margin: 0; }
.field-group legend {
  font-size: 0.82rem; font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px; padding: 0;
}
.radio-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(5, 1fr);
}
.radio-grid-2 { grid-template-columns: 1fr 1fr; }
.radio-card {
  position: relative;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 11px 13px;
  cursor: pointer;
  background: var(--bg);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.radio-card:hover { border-color: var(--ink-muted); transform: translateY(-1px); }
.radio-card input { position: absolute; opacity: 0; }
.rc-body { display: flex; flex-direction: column; gap: 1px; }
.rc-body strong { font-size: 0.9rem; color: var(--ink); }
.rc-body small { font-size: 0.74rem; color: var(--ink-muted); }
.radio-card input:checked ~ .rc-body strong { color: var(--primary); }
.radio-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(239, 85, 59, 0.06);
}

.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.84rem; color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; }
.checkbox a { color: var(--primary); text-decoration: underline; }

.form-success {
  background: var(--bg-card);
  border-radius: var(--r-2xl);
  padding: 50px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.form-success-card { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.check-circle {
  width: 56px; height: 56px;
  background: var(--teal-soft); color: var(--teal);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 700;
}
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0; }
.form-success p { margin: 0; color: var(--ink-soft); }

/* ===== FAQ ===== */
.section-faq { background: var(--bg-warm); }
.faq-tabs {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-tablist {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.faq-tablist::-webkit-scrollbar { display: none; }
.faq-tab {
  flex: 1;
  min-width: max-content;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.faq-tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.faq-tab.is-active {
  background: var(--bg-card);
  color: var(--primary);
  border-color: var(--line);
}
.faq-panel {
  padding: 18px;
  animation: faq-fade 0.25s ease;
}
.faq-panel[hidden] { display: none; }
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}
.faq-grid details {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease, background .15s ease;
}
.faq-grid details:hover { background: var(--bg-warm); }
.faq-grid details[open] {
  background: var(--bg-card);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.faq-grid summary {
  padding: 11px 14px;
  font-weight: 600; font-size: 0.88rem; color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  font-size: 1.5rem; font-weight: 400; color: var(--primary);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid p {
  padding: 0 14px 12px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}
.faq-grid summary::after { font-size: 1.2rem; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--bg);
  padding: 60px 0 70px;
  min-height: auto;
}
.cta-card {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2e4a 100%);
  border-radius: var(--r-2xl);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(244, 185, 66, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(239, 85, 59, 0.14) 0%, transparent 45%);
  pointer-events: none;
}
.cta-text { position: relative; }
.cta-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.cta-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 8px;
  color: #fff;
}
.cta-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.96rem;
  max-width: 50ch;
}
.cta-actions {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.cta-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 22px;
  min-height: auto;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h5 {
  color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 0.93rem; }
.footer-grid ul a { color: rgba(255, 255, 255, 0.7); }
.footer-grid ul a:hover { color: var(--accent); }
.footer-blurb { margin: 16px 0 0; font-size: 0.93rem; max-width: 38ch; line-height: 1.55; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .carousel-track { grid-auto-columns: 78%; }
  .carousel-arrow { display: none; }
  .cta-card { grid-template-columns: 1fr; gap: 24px; padding: 40px 36px; }
  .cta-actions { align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .options { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { min-height: auto; }
  .hero { min-height: 90vh; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .container { padding: 0 22px; }

  .section { padding: 64px 0; min-height: auto; }
  .section-head { margin-bottom: 28px; }
  .facts { padding: 44px 0; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .brand-logo { height: 52px; }
  .hero { padding: 100px 0 80px; min-height: 80vh; }
  .hero-title { font-size: 2.4rem; line-height: 0.98; }
  .hero-lead { font-size: 1rem; }
  .scroll-cue { display: none; }

  .h2 { font-size: 1.7rem; }
  .h3 { font-size: 1.2rem; }
  .lead { font-size: 0.94rem; }

  .castle-body { padding: 18px 20px 20px; }
  .castle-specs li { grid-template-columns: 110px 1fr; font-size: 0.85rem; }
  .price-amount { font-size: 1.4rem; }
  .price-meta { font-size: 0.74rem; }
  .spec strong { font-size: 0.74rem; }
  .spec small { font-size: 0.62rem; }
  .faq-tab { padding: 9px 12px; font-size: 0.84rem; }
  .faq-panel { padding: 14px; }

  .section-process { padding: 72px 0; }
  .step { padding: 18px 20px; }
  .step-num { font-size: 2rem; }
  .option { padding: 18px 20px; }
  .option h4 { font-size: 1.1rem; }

  .carousel-track { grid-auto-columns: 88%; gap: 14px; }
  .carousel-prev, .carousel-next { display: none; }
  .form { padding: 24px 22px; }
  .cta-card { padding: 32px 26px; }
  .final-cta { padding: 60px 0 70px; }
  .grid-2 { grid-template-columns: 1fr; }
  .radio-grid { grid-template-columns: 1fr 1fr; }

  .modal { width: calc(100% - 16px); max-height: calc(100vh - 16px); border-radius: var(--r-xl); }
  .modal-inner { padding: 26px 22px 22px; max-height: calc(100vh - 16px); }
  .modal-head { padding-right: 32px; }
  .modal-close { top: 10px; right: 10px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .wave { height: 40px; }
}

@media (max-width: 440px) {
  .facts-grid { grid-template-columns: 1fr; gap: 24px; }
  .radio-grid, .radio-grid-2 { grid-template-columns: 1fr; }
  .wm-main { font-size: 1rem; }
  .wm-sub { font-size: 0.95rem; }
  .hero-title { font-size: 2.3rem; }
  .h2 { font-size: 1.75rem; }
  .option-meta { gap: 6px 12px; font-size: 0.78rem; }
}

/* ===== REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .splash { animation: none; display: none; }
  .hero-img, .hero-title .line, .hero-lead, .hero-ctas, .splash-logo, .splash-shadow {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== PRINT ===== */
@media print {
  .splash, .site-header, .scroll-cue, .nav-toggle, .mobile-nav, .hero-ctas, .form, .site-footer, .wave { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { color: #000; min-height: auto; padding: 20px 0; }
  .hero-media, .section-bg { display: none; }
}
