/* ==========================================================
   Schatzinsel Leinburg — Stylesheet
   ========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #142a3b;
  --ink-soft: #3d5263;
  --muted: #6b7b88;
  --sand: #f6efe3;
  --sand-deep: #ecdfc8;
  --cream: #fffbf5;
  --white: #ffffff;
  --sea: #0f6b70;
  --sea-dark: #0a4f53;
  --sea-soft: #e1efec;
  --coral: #e2704a;
  --coral-dark: #c85a36;
  --gold: #c69a50;
  --line: rgba(20, 42, 59, 0.12);

  --tint-1: #f4e4d6;
  --tint-2: #e3ece2;
  --tint-3: #dfeaf1;
  --tint-4: #f3e7c9;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 42, 59, 0.06), 0 2px 8px rgba(20, 42, 59, 0.05);
  --shadow: 0 2px 4px rgba(20, 42, 59, 0.04), 0 12px 32px rgba(20, 42, 59, 0.09);
  --shadow-lg: 0 24px 60px rgba(20, 42, 59, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 50, "opsz" 96;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.accent, .accent { font-style: italic; color: var(--sea); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--primary { background: var(--sea); color: #fff; box-shadow: 0 8px 22px rgba(15, 107, 112, 0.28); }
.btn--primary:hover { background: var(--sea-dark); box-shadow: 0 12px 28px rgba(15, 107, 112, 0.34); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(226, 112, 74, 0.3); }
.btn--coral:hover { background: var(--coral-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(20, 42, 59, 0.22); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--sm { padding: 11px 20px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; color: var(--sea); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 42, 59, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); white-space: nowrap;
  padding: 10px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav a:not(.btn):hover { color: var(--ink); background: rgba(20, 42, 59, 0.05); }
.nav .btn { margin-left: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 82px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(20, 42, 59, 0.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all 0.25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav .btn { margin: 12px 0 0; }
  .brand img { height: 38px; }
}

/* ---------- Hero ---------- */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header.is-scrolled { background: rgba(255, 251, 245, 0.9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
@media (min-width: 1101px) {
  .home .site-header:not(.is-scrolled) .nav a:not(.btn) { color: rgba(255, 255, 255, 0.92); }
  .home .site-header:not(.is-scrolled) .nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
  .home .site-header:not(.is-scrolled) .nav .btn { background: #fff; color: var(--ink); box-shadow: none; }
}

.hero {
  position: relative; overflow: hidden; text-align: center;
  --beach-h: max(36.2vw, 360px);
  background: linear-gradient(180deg, #23699a 0%, #3a8aba calc(100% - var(--beach-h) + 2px), #3a8aba 100%);
}
.hero-bg { position: absolute; left: 0; right: 0; bottom: 0; height: var(--beach-h); will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 100%; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.hero-bg::before { top: -1px; height: 30%; background: linear-gradient(180deg, #3a8aba 0%, rgba(58, 138, 186, 0.7) 35%, rgba(58, 138, 186, 0)); z-index: 1; }
.hero-bg::after { bottom: -1px; height: 14%; background: linear-gradient(180deg, rgba(255, 251, 245, 0), var(--cream)); }
.hero-inner {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(140px, 18vh, 190px); padding-bottom: calc(var(--beach-h) * 0.96);
}
.hero-logo { width: min(440px, 80vw); height: auto; margin-bottom: 22px; filter: drop-shadow(0 10px 18px rgba(80, 50, 20, 0.18)); }
.hero .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin-bottom: 18px; color: #fff; }
.hero h1 .accent { color: #ffe1a6; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-actions .btn--light { box-shadow: var(--shadow); }
.hero-scroll {
  position: absolute; z-index: 1; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 48px; border-radius: 20px; border: 2px solid rgba(20, 42, 59, 0.35); display: none;
}
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 600px) {
  .hero-bg img { object-position: 44% 50%; height: 135%; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--ink); color: #efe7d8; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-row .stat { padding: 40px 24px; text-align: center; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.stats-row .stat:first-child { border-left: 0; }
.stat-value { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; color: var(--gold); margin-bottom: 10px; letter-spacing: -0.02em; }
.stat-label { font-size: 0.9rem; color: #cfc6b6; font-weight: 600; }
@media (max-width: 800px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row .stat:nth-child(3) { border-left: 0; }
  .stats-row .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
}

/* ---------- Feature rows (Sortiment) ---------- */
.section--tight { padding-bottom: clamp(40px, 5vw, 64px); }
.section--tight .section-head { margin-bottom: 0; }
.feature { background: var(--bg, var(--sand)); overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: 520px; padding-top: 48px; padding-bottom: 48px; }
.feature--reverse .feature-media { order: 2; }
.feature-media { display: grid; place-items: center; }
.feature-media img { max-height: 440px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.feature-num { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sea); margin-bottom: 16px; }
.feature-copy h2 { margin-bottom: 18px; }
.feature-copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 480px; margin-bottom: 26px; }
@media (max-width: 800px) {
  .feature-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; padding-bottom: 56px; gap: 24px; }
  .feature--reverse .feature-media { order: 0; }
  .feature-media img { max-height: 300px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 40px clamp(20px, 3vw, 40px) 8px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--sea); margin-bottom: 18px; font-style: italic; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:first-child { border-left: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Gallery ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-head .section-head { margin-bottom: 0; }
.gallery-controls { display: flex; gap: 10px; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(20, 42, 59, 0.2); background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: all 0.2s;
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 320px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px;
  scrollbar-width: none; scroll-padding: 0 var(--gutter);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-wrap { width: 100%; }
.g-item { scroll-snap-align: start; margin: 0; }
.g-img { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); box-shadow: var(--shadow-sm); }
.g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover .g-img img { transform: scale(1.06); }
.g-item figcaption { padding: 14px 4px 0; font-weight: 600; font-size: 0.95rem; }
.g-item figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }

/* ---------- Facts (dark) ---------- */
.facts { background: var(--ink); color: #efe7d8; position: relative; overflow: hidden; }
.facts::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: -300px; bottom: -500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 154, 80, 0.16), transparent 60%);
}
.facts .eyebrow { color: var(--gold); }
.facts h2 { color: #fff; }
.facts-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.big-number { font-family: var(--serif); font-size: clamp(4.5rem, 12vw, 9rem); line-height: 0.9; color: #fff; letter-spacing: -0.04em; margin: 6px 0 18px; }
.big-number small { font-size: 0.32em; letter-spacing: 0; color: var(--gold); font-style: italic; margin-left: 8px; }
.facts p { color: #cfc6b6; font-size: 1.08rem; }
.facts p strong { color: #fff; }
.benefits { display: grid; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.benefit {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.benefit .ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(198, 154, 80, 0.16); color: var(--gold); display: grid; place-items: center; }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.benefit p { font-size: 0.95rem; margin: 0; color: #bfb6a6; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-visual { position: sticky; top: 110px; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; right: -16px; bottom: -22px; background: var(--coral); color: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: var(--shadow); font-weight: 600; font-size: 0.88rem; line-height: 1.3; max-width: 200px;
}
.about-badge strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; margin-bottom: 4px; }
.about-copy p { color: var(--ink-soft); }
.about-copy .lead { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ink); font-weight: 400; margin-bottom: 1.2em; }
.timeline { list-style: none; padding: 0; margin: 36px 0; border-left: 2px solid var(--sand-deep); }
.timeline li { position: relative; padding: 0 0 26px 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--sea);
}
.timeline .year { font-family: var(--serif); font-weight: 600; color: var(--sea); font-size: 1.1rem; }
.timeline p { margin: 2px 0 0; font-size: 0.97rem; }
.quote {
  margin: 36px 0 0; padding: 28px 32px; border-radius: var(--radius); background: var(--sand);
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink);
}
.quote footer { margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 0.9rem; font-weight: 700; color: var(--sea); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { position: relative; top: 0; max-width: 480px; }
  .about-badge { right: 12px; }
}

/* ---------- Payment ---------- */
/* copy and QR card share one container grid, so both line up with the rest of the page */
.pay-band { background: var(--sand); padding: clamp(56px, 8vw, 112px) 0; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 6vw, 96px); }
.pay-copy { max-width: 620px; }
.pay-copy p { color: var(--ink-soft); }
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff; font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.chip span { display: flex; flex-direction: column; }
.chip small { font-weight: 400; font-size: 0.8rem; color: var(--ink-soft); }
.chip svg { flex: none; width: 20px; height: 20px; color: var(--sea); }
.pay-qr { background: var(--sea); border-radius: 24px; display: flex; flex-direction: column; align-items: center; padding: 36px 40px 30px; text-align: center; color: #fff; box-shadow: 0 18px 40px rgba(16, 92, 100, 0.18); }
.pay-qr img { width: 220px; border-radius: 16px; background: #fff; padding: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.pay-qr p { margin: 18px 0 0; font-weight: 600; font-size: 0.95rem; opacity: 0.92; }
@media (max-width: 800px) { .pay-grid { grid-template-columns: 1fr; } .pay-qr { justify-self: center; } }
@media (max-width: 420px) { .chips { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside p { color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: 1.22rem; font-weight: 500; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.faq-icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: all 0.25s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink);
  transform: translate(-50%, -50%); border-radius: 2px; transition: transform 0.25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--sea); border-color: var(--sea); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 60px 26px 0; color: var(--ink-soft); }
.faq-answer p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-answer { padding-right: 0; } }

/* ---------- Contact ---------- */
.contact { background: var(--sea); color: #fff; padding: var(--section) 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; left: -240px; top: -320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact .eyebrow, .contact .accent { color: #f3d9a8; }
.contact h2 { color: #fff; }
.contact-main > p { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; max-width: 460px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-info { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.info-row { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.info-row .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; }
.info-row .ic svg { width: 22px; height: 22px; color: #f3d9a8; }
.info-row h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin: 2px 0 4px; font-weight: 700; }
.info-row p, .info-row a { margin: 0; color: #fff; text-decoration: none; font-weight: 500; line-height: 1.5; }
.info-row .small { opacity: 0.7; font-size: 0.9rem; }
.info-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7b8; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand img { height: 48px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.95rem; max-width: 300px; }
.site-footer h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #cfc7b8; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: grid; place-items: center; transition: all 0.2s;
}
.socials a:hover { background: #fff; color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.88rem; color: #9a958b; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); background: var(--sand); }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0; }
.legal-hero p { color: var(--ink-soft); margin: 14px 0 0; }
.legal { padding: clamp(48px, 6vw, 80px) 0 var(--section); }
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.55rem; margin: 2.2em 0 0.6em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.2rem; margin: 1.6em 0 0.5em; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul, .legal-body ol { padding-left: 1.3em; }
.legal-body li { margin-bottom: 0.4em; }
.legal-body a { color: var(--sea); }
.legal-body .caps { text-transform: none; font-weight: 600; color: var(--ink); }
.legal-meta { margin-top: 2.5em; font-size: 0.9rem; color: var(--muted); }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.legal-card dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; margin: 0; }
.legal-card dt { font-weight: 700; color: var(--ink); }
.legal-card dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .legal-card dl { grid-template-columns: 1fr; gap: 2px; } .legal-card dd { margin-bottom: 10px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

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

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ==========================================================
   Phone optimisation
   ========================================================== */
@media (max-width: 600px) {
  :root { --section: 60px; --gutter: 18px; }
  body { font-size: 16px; -webkit-tap-highlight-color: transparent; }
  body.home { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  h2 { font-size: clamp(1.75rem, 7.4vw, 2.1rem); }
  h3 { font-size: 1.25rem; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 1rem; }
  .eyebrow { font-size: 0.72rem; margin-bottom: 14px; }
  .btn { padding: 14px 22px; }

  /* header */
  .header-inner { height: 68px; }
  .brand img { height: 34px; }
  .nav { inset: 68px 0 auto 0; max-height: calc(100svh - 68px); overflow-y: auto; }
  .nav-toggle { width: 44px; height: 44px; }

  /* hero */
  .hero { --beach-h: 300px; }
  .hero-inner { padding-top: 104px; padding-bottom: calc(var(--beach-h) * 0.86); }
  .hero h1 { font-size: 2.2rem; margin-bottom: 14px; }
  .hero-lead { font-size: 1rem; margin-bottom: 26px; }
  .hero-actions { gap: 10px; width: 100%; }

  /* stats */
  .stats-row .stat { padding: 24px 10px; }
  .stat-value { font-size: 1.65rem; margin-bottom: 6px; }
  .stat-label { font-size: 0.8rem; }

  /* sortiment rows: compact, image beside heading */
  .feature-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 36px; padding-bottom: 36px; }
  .feature-media img { max-height: 200px; }
  .feature-copy h2 { font-size: 1.6rem; margin-bottom: 10px; }
  .feature-copy p { font-size: 0.98rem; margin-bottom: 16px; }
  .feature-num { margin-bottom: 8px; font-size: 0.72rem; }

  /* steps: number beside text */
  .step, .step:first-child { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 22px 0; }
  .step-num { grid-row: span 2; font-size: 2.4rem; margin: 0; }
  .step h3 { margin-bottom: 4px; }
  .step p { font-size: 0.95rem; }

  /* gallery: swipe, show peek of next item */
  .gallery-controls { display: none; }
  .gallery-head { margin-bottom: 24px; }
  .gallery { grid-auto-columns: 64vw; gap: 14px; padding-bottom: 8px; }
  .g-item figcaption { font-size: 0.9rem; padding-top: 10px; }

  /* facts */
  .big-number { font-size: 4.4rem; }
  .facts p { font-size: 1rem; }
  .benefit { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; }
  .benefit .ic { width: 40px; height: 40px; border-radius: 10px; }
  .benefit .ic svg { width: 20px; height: 20px; }
  .benefit h3 { font-size: 1.08rem; }

  /* about */
  .about-grid { gap: 40px; }
  .about-badge { right: 10px; bottom: -16px; padding: 12px 16px; font-size: 0.8rem; max-width: 170px; }
  .about-badge strong { font-size: 1.5rem; }
  .about-copy .lead { font-size: 1.18rem; }
  .timeline { margin: 28px 0; }
  .quote { padding: 22px; font-size: 1.12rem; }

  /* payment */
  .pay-band { padding: 52px 0; }
  .pay-qr { padding: 28px 28px 24px; }
  .pay-qr img { width: 180px; }
  .chip { padding: 10px 13px; font-size: 0.86rem; }

  /* faq */
  .faq-item summary { font-size: 1.06rem; padding: 20px 0; gap: 16px; }
  .faq-icon { width: 32px; height: 32px; }
  .faq-icon::before, .faq-icon::after { width: 12px; }
  .faq-answer { padding-bottom: 20px; font-size: 0.96rem; }

  /* contact */
  .contact-actions .btn { flex: 1 1 auto; }
  .info-row { padding: 16px 0; grid-template-columns: 40px 1fr; gap: 14px; }
  .info-row .ic { width: 40px; height: 40px; }

  /* footer: links in two columns */
  .site-footer { padding: 52px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 32px; }
  .footer-brand img { height: 40px; }
  .site-footer ul { gap: 8px; font-size: 0.95rem; }
  .footer-bottom { flex-direction: column; gap: 4px; font-size: 0.82rem; }

  /* floating bubble replaced by bottom bar */
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr auto; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 251, 245, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20, 42, 59, 0.08);
    transform: translateY(110%); transition: transform 0.35s ease;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { padding: 13px 18px; font-size: 0.95rem; }
  .mobile-bar .btn--wa { background: #25d366; color: #fff; }
  .mobile-bar .btn--call { width: 50px; padding: 0; border-color: rgba(20, 42, 59, 0.18); }
  .mobile-bar .btn--call svg { width: 20px; height: 20px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 1.95rem; }
  .stats-row .stat-label { font-size: 0.75rem; }
}

/* ==========================================================
   Micro-interactions
   ========================================================== */

/* Burger → X */
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger span {
  position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease, width 0.35s ease, top 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.burger span:nth-child(1) { top: 0; width: 20px; }
.burger span:nth-child(2) { top: 6px; width: 20px; }
.burger span:nth-child(3) { top: 12px; width: 12px; }
.nav-toggle { transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.nav-toggle:hover .burger span:nth-child(3) { width: 20px; }
.nav-toggle:active { transform: scale(0.92); }
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 6px; width: 20px; transform: rotate(-45deg); }

/* Mobile menu: backdrop + staggered links */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 99; background: rgba(20, 42, 59, 0.35);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }
@media (max-width: 1100px) {
  .nav { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease, visibility 0.35s; }
  .nav > a { opacity: 0; transform: translateY(-8px); transition: opacity 0.3s ease, transform 0.35s ease, background 0.2s, color 0.2s; }
  .nav.is-open > a { opacity: 1; transform: none; }
  .nav.is-open > a:nth-child(1) { transition-delay: 0.04s; }
  .nav.is-open > a:nth-child(2) { transition-delay: 0.08s; }
  .nav.is-open > a:nth-child(3) { transition-delay: 0.12s; }
  .nav.is-open > a:nth-child(4) { transition-delay: 0.16s; }
  .nav.is-open > a:nth-child(5) { transition-delay: 0.20s; }
  .nav.is-open > a:nth-child(6) { transition-delay: 0.24s; }
  .nav.is-open > a:nth-child(7) { transition-delay: 0.30s; }
  .nav > a:not(.btn)::after { content: "→"; float: right; opacity: 0.35; transition: transform 0.2s ease, opacity 0.2s; }
  .nav > a:not(.btn):hover::after { transform: translateX(4px); opacity: 0.8; }
}
body.menu-open { overflow: hidden; }

/* Desktop nav underline */
@media (min-width: 1101px) {
  .nav a:not(.btn) { position: relative; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
  }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
}

/* Header hides on scroll down, returns on scroll up */
.site-header { transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-hidden { transform: translateY(-100%); }


/* Buttons: press + icon nudge */
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(2px) rotate(-6deg); }
.icon-btn:active, .socials a:active { transform: scale(0.92); }

/* Feature images settle in */
.feature-media.reveal { transform: translateY(30px) scale(0.94); }
.feature-media.reveal.is-visible { transform: none; }
.feature-media img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.feature:hover .feature-media img { transform: translateY(-6px) rotate(-1deg); }

/* FAQ: smooth open */
.faq-item summary { transition: color 0.2s ease; }
.faq-item summary:hover { color: var(--sea); }
.faq-item summary:hover .faq-icon { border-color: var(--sea); }
.faq-answer { overflow: hidden; }

/* Gallery items lift */
.g-img { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.g-item:hover .g-img { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Contact rows */
.info-row .ic { transition: transform 0.3s ease, background 0.3s ease; }
.info-row:hover .ic { transform: scale(1.08); background: rgba(255, 255, 255, 0.18); }

/* Mobile bar pulse once when it appears */
@keyframes nudge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.mobile-bar.is-visible .btn--wa { animation: nudge 0.6s ease 0.35s 1; }

@media (prefers-reduced-motion: reduce) {
  .site-header.is-hidden { transform: none; }
}

/* Header at the very top of the hero: bare menu icon, no box */
.home .site-header:not(.is-scrolled) .nav-toggle { background: transparent; border-color: transparent; color: #fff; box-shadow: none; }
.home .site-header:not(.is-scrolled) .nav-toggle:hover { background: rgba(255, 255, 255, 0.12); }
/* Menu opened from the top: header turns light, X stays without a box */
body.menu-open .site-header { background: var(--cream); border-color: var(--line); }
.home.menu-open .site-header:not(.is-scrolled) .nav-toggle,
.home.menu-open .site-header:not(.is-scrolled) .nav-toggle:hover { background: transparent; border-color: transparent; color: var(--ink); }

/* Open menu: header and menu read as one seamless cream panel */
body.menu-open .site-header,
body.menu-open .site-header.is-scrolled {
  background: var(--cream); border-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.menu-open .nav-toggle,
body.menu-open .nav-toggle:hover,
body.menu-open .site-header .nav-toggle[aria-expanded="true"] {
  background: transparent; border-color: transparent; color: var(--ink); box-shadow: none; outline: none;
}
body.menu-open .nav { border-top: 0; }
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
@media (max-width: 1100px) {
  .nav { box-shadow: 0 34px 40px -24px rgba(20, 42, 59, 0.16); border-bottom: 0; }
}

/* ==========================================================
   Gallery v2: filters, auto-drift, lightbox
   ========================================================== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 28px; }
.filter {
  border: 1.5px solid rgba(20, 42, 59, 0.16); background: transparent; color: var(--ink-soft);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter:active { transform: scale(0.96); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { scroll-behavior: smooth; }
.g-item { transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.g-item.is-out { opacity: 0; transform: scale(0.94); }
.g-item.is-gone { display: none; }
.g-item.is-in { animation: gIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.g-open { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius); }
.g-open:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
.g-img { aspect-ratio: 4 / 5; background: #efe6d6; position: relative; }
.g-img img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.g-item:hover .g-img img { transform: scale(1.05) translateY(-6px); }
.g-img::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142a3b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(6px) scale(0.9); transition: opacity 0.3s ease, transform 0.3s ease;
}
.g-item:hover .g-img::after, .g-open:focus-visible .g-img::after { opacity: 1; transform: none; }

.gallery-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.gallery-progress { flex: 1 1 200px; max-width: 320px; height: 3px; border-radius: 3px; background: rgba(20, 42, 59, 0.1); overflow: hidden; }
.gallery-progress span { display: block; height: 100%; width: 30%; border-radius: 3px; background: var(--sea); transition: transform 0.3s ease, width 0.3s ease; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 24px; background: rgba(16, 30, 42, 0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { margin: 0; justify-self: center; text-align: center; transform: scale(0.94) translateY(10px); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lightbox.is-open .lb-figure { transform: none; }
.lb-figure img { max-height: 78vh; max-width: min(620px, 80vw); width: auto; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); transition: opacity 0.2s ease; }
.lb-figure img.is-swapping { opacity: 0; }
.lb-figure figcaption { color: #fff; margin-top: 16px; font-family: var(--serif); font-size: 1.25rem; }
.lb-figure figcaption span { display: block; font-family: var(--sans); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-top: 2px; }
.lb-nav, .lb-close {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 0.2s ease, transform 0.15s ease;
}
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, 0.16); }
.lb-nav:active, .lb-close:active { transform: scale(0.92); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 20px; right: 20px; }
.lb-close span { position: absolute; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.lb-close span + span { transform: rotate(-45deg); }
body.lb-open { overflow: hidden; }

@media (max-width: 600px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: -4px calc(var(--gutter) * -1) 22px; padding: 0 var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 8px 14px; font-size: 0.85rem; }
  .gallery-foot { margin-top: 14px; }
  .g-img::after { opacity: 1; transform: none; width: 30px; height: 30px; background-size: 15px; }
  .lightbox { grid-template-columns: 1fr; padding: 16px; }
  .lb-nav { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-figure img { max-width: 88vw; max-height: 64vh; }
}
@media (prefers-reduced-motion: reduce) { .g-item.is-in { animation: none; } }

/* ---------- Hero rolling word (3D drum around the x-axis) ---------- */
.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; }
.roller { display: inline-block; perspective: 900px; perspective-origin: 50% 50%; text-align: left; }
/* all words share one grid cell: the cell is as wide as the longest word, so the text before never moves */
.roller-track { display: inline-grid; transform-style: preserve-3d; }
.roller-track em {
  grid-area: 1 / 1; white-space: nowrap; text-shadow: none; padding-right: 0.04em;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform-origin: 50% 50% -0.55em;              /* pivot sits behind the word: it rolls over a drum */
  transform: rotateX(-88deg); opacity: 0;          /* waiting below, facing down */
  transition: transform 0.85s cubic-bezier(0.83, 0, 0.17, 1), opacity 0.85s cubic-bezier(0.83, 0, 0.17, 1);
}
.roller-track em.is-current { transform: rotateX(0deg); opacity: 1; }      /* flat, undistorted */
.roller-track em.is-leaving { transform: rotateX(88deg); opacity: 0; }     /* rolls away over the top */
.roller-track em.no-anim { transition: none; }


/* ---------- Facts: editorial reasons (replaces icon tiles) ---------- */
.reasons { list-style: none; margin: 0; padding: 0; position: relative; }
.reason {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px 28px; padding: 30px 0;
  border-top: 1px solid rgba(239, 231, 216, 0.14);
}
.reason:last-child { border-bottom: 1px solid rgba(239, 231, 216, 0.14); }
.reason-num {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.6rem; line-height: 1;
  color: var(--gold); letter-spacing: -0.02em; font-variation-settings: "SOFT" 100, "opsz" 144;
}
.reason h3 { font-size: 1.4rem; color: #fff; margin: 4px 0 8px; font-weight: 400; }
.reason p { margin: 0; color: #b9b0a0; font-size: 1rem; line-height: 1.7; max-width: 46ch; }
/* a hairline that draws itself in when the row appears */
.reason { position: relative; }
.reason::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; opacity: 0.6;
}
.reason.is-visible::before { transform: scaleX(0.18); }

.manifest {
  position: relative; margin: clamp(56px, 8vw, 96px) 0 0; padding: clamp(40px, 6vw, 64px) 0 0; text-align: center;
  border-top: 1px solid rgba(239, 231, 216, 0.14);
}
.manifest p { margin: 0 auto 14px; max-width: 34ch; color: #b9b0a0; font-size: 1.05rem; }
.manifest strong {
  display: block; font-family: var(--serif); font-weight: 400; color: #fff; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.1; text-wrap: balance;
}
.manifest em { font-style: italic; color: var(--gold); }

@media (max-width: 600px) {
  .reason { grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 24px 0; }
  .reason-num { font-size: 2rem; }
  .reason h3 { font-size: 1.2rem; margin-top: 2px; }
  .reason p { font-size: 0.95rem; }
}
.big-number small { display: inline-block; white-space: nowrap; }
.facts .manifest + * { margin-top: 0; }
.facts { padding-bottom: clamp(64px, 8vw, 104px); }
.manifest { border-top: 0; padding-top: 0; }
@media (max-width: 600px) { .manifest { margin-top: 48px; } .facts { padding-bottom: 56px; } }

/* ==========================================================
   Calm-down pass: fewer frames, lines and labels
   ========================================================== */

/* Category scenes are now real photos with their own set */
.feature-media img {
  width: 100%; max-width: 520px; max-height: none; aspect-ratio: 1; object-fit: cover;
  mix-blend-mode: normal; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(20, 42, 59, 0.35);
}
.feature:hover .feature-media img { transform: none; }
@media (max-width: 600px) { .feature-media img { max-height: none; max-width: 100%; border-radius: 18px; } }

/* Stats strip without divider lines */
.stats-row .stat, .stats-row .stat:first-child, .stats-row .stat:nth-child(n+3) { border: 0; }

/* Gallery: quiet arrows next to the progress line */
.gallery-foot { margin-top: 28px; }
.gallery-nav { display: flex; align-items: center; gap: 14px; flex: 1 1 260px; max-width: 360px; }
.gallery-nav .gallery-progress { flex: 1; max-width: none; }
.arrow-btn {
  background: none; border: 0; padding: 6px; margin: -6px; color: var(--ink-soft); cursor: pointer; display: grid; place-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.arrow-btn svg { width: 20px; height: 20px; }
.arrow-btn:hover { color: var(--ink); }
.arrow-btn[data-scroll="prev"]:hover { transform: translateX(-2px); }
.arrow-btn[data-scroll="next"]:hover { transform: translateX(2px); }
.gallery-head { margin-bottom: 28px; }
@media (max-width: 600px) { .gallery-nav .arrow-btn { display: none; } }

/* Facts: one quiet statement */
.facts::before { display: none; }
.facts-simple { max-width: 760px; text-align: center; }
.facts-intro { color: #b9b0a0; font-size: 1.1rem; margin: 0 0 6px; }
.facts-number {
  font-family: var(--serif); font-weight: 300; color: #fff; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(4rem, 13vw, 9.5rem); margin: 0 0 22px;
}
.facts-text { color: #b9b0a0; font-size: 1.1rem; max-width: 46ch; margin: 0 auto; }
.facts-claim {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin: clamp(48px, 7vw, 80px) 0 0; letter-spacing: -0.01em;
}
.facts-claim em { color: var(--gold); }

/* Contact: plain text, no icon tiles, no dividers */
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin: 0; }
.contact-list dt { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 6px; }
.contact-list dd { margin: 0; color: #fff; font-size: 1.05rem; line-height: 1.5; }
.contact-list dd span { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin-top: 2px; }
.contact-list a { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s ease; }
.contact-list a:hover { background-size: 100% 1px; }
@media (max-width: 600px) { .contact-list { grid-template-columns: 1fr; gap: 22px; } }

/* Footer: logo, address with route link, links, socials bottom right */
.site-footer { padding: 64px 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-address { margin: 0; font-size: 0.95rem; color: #a9a397; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.route { display: inline-flex; align-items: center; gap: 3px; color: inherit !important; font-weight: 400; text-decoration: underline; text-decoration-color: rgba(169, 163, 151, 0.4); text-underline-offset: 3px; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.route:hover { color: #efe7d8 !important; text-decoration-color: currentColor; }
.route svg { width: 12px; height: 12px; opacity: 0.7; transition: transform 0.25s ease; }
.route:hover svg { transform: translate(2px, -2px); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 10px; }
.footer-links a { color: #cfc7b8; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 24px; align-items: center; color: #8d887f; }
.footer-bottom a { color: #8d887f; }
.footer-bottom a:hover { color: #fff; }
.site-footer .socials { margin: 0; gap: 18px; }
.site-footer .socials a { width: auto; height: auto; border: 0; border-radius: 0; color: #cfc7b8; }
.site-footer .socials a:hover { background: none; color: #fff; }
.site-footer .socials svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .footer-top { flex-direction: column; gap: 24px; padding-bottom: 28px; }
  .footer-links { gap: 10px 22px; padding-top: 0; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; }
  .footer-bottom > span { max-width: 70%; line-height: 1.7; }
}
.facts .facts-number { font-family: var(--serif); font-weight: 300; color: #fff; letter-spacing: -0.04em; line-height: 1; font-size: clamp(4rem, 13vw, 9.5rem); margin: 0 0 22px; }
.facts .facts-claim { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin: clamp(48px, 7vw, 80px) 0 0; }
.facts .facts-intro, .facts .facts-text { font-size: 1.1rem; }
.wa-float { transition: transform 0.25s ease, opacity 0.25s ease; }
.wa-float.is-hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }
@media (max-width: 600px) {
  .site-footer .footer-bottom { flex-wrap: nowrap; flex-direction: row; }
  .site-footer .footer-bottom .socials { flex: none; }
  body.home .site-footer { padding-bottom: 28px; }
}

/* Footer link columns */
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px clamp(40px, 6vw, 88px); }
.footer-cols h4 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; margin: 0 0 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-cols a { color: #a9a397; font-size: 0.95rem; text-decoration: none; transition: color 0.2s ease; }
.footer-cols a:hover { color: #fff; }
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-cols > div:nth-child(2) { grid-row: span 2; }
}
@media (max-width: 600px) { .footer-cols { margin-top: 16px; } }

/* ---- Hero depth: island as its own layer ---- */
.hero-island { position: absolute; inset: 0; z-index: 0; will-change: transform; pointer-events: none; }
.hero-island img { position: absolute; left: 0; top: 0; transform-origin: 42% 62%; animation: island-in 1.8s cubic-bezier(.22,.8,.24,1) .2s both, island-bob 7s ease-in-out 2s infinite; }
@keyframes island-in { from { opacity: 0; transform: translateY(14px) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes island-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-.25deg); } }

/* ---- Logo banner gently waving like a flag (only at the very top) ---- */
.brand { position: relative; }
.brand-wave { display: none; position: absolute; inset: 0; pointer-events: none; }
.brand-wave span { position: absolute; top: 0; height: 100%; background-repeat: no-repeat; background-size: auto 100%; animation: flag-wave 4.2s ease-in-out infinite; }
@keyframes flag-wave { 0%,100% { transform: translateY(-1.3px); } 50% { transform: translateY(1.3px); } }
.brand.waving img { visibility: hidden; }
.brand.waving .brand-wave { display: block; }
@media (prefers-reduced-motion: reduce) {
  .hero-island img { animation: none; }
  .brand.waving img { visibility: visible; }
  .brand.waving .brand-wave { display: none; }
}

/* ---- Scene sections: the whole section is the room ----
   --m (set inline per section) = where the motif starts, as a fraction of the image width measured
   from the side the copy sits on. Wide: the image always shows its full height, and that height is
   capped so the motif starts right of the copy. Stacked (<=1100px): image on top, cropped only on
   the empty side, so the whole motif stays visible. */
.feature--scene { --m: .45; --copy-w: 440px; position: relative; isolation: isolate; display: flex; align-items: center; }
.feature--scene .scene-inner { width: 100%; padding-top: 48px; padding-bottom: 48px; }
.feature--scene .feature-copy { max-width: var(--copy-w); }
.feature--scene-right .scene-inner { display: flex; justify-content: flex-end; }
@media (min-width: 1281px) {
  /* image sits halfway between the content column and the window edge; the outer strip is filled
     with the image's far-edge colours */
  .feature--scene { --scene-off: max(0px, (100vw - var(--container)) / 4);
    min-height: clamp(300px, (min(100vw, var(--container)) + var(--scene-off) - var(--gutter) - var(--copy-w) - 64px) / ((1 - var(--m)) * var(--arn, 2.3576)), clamp(520px, 43vw, 760px));
    background-position: right center, center; background-size: calc(var(--scene-off) + 2px) 100%, 100% 100%; background-repeat: no-repeat; }
  .feature--scene-right { background-position: left center, center; }
  /* full image height always visible: width follows the height, never stretched to the viewport */
  .feature--scene .scene-bg { position: absolute; top: 0; bottom: 0; left: auto; right: var(--scene-off); z-index: -1;
    height: 100%; width: auto; max-width: none; aspect-ratio: var(--ar, 2400 / 1018); object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
  .feature--scene-right .scene-bg { right: auto; left: var(--scene-off);
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 14%); mask-image: linear-gradient(270deg, transparent 0, #000 14%); }
}
@media (max-width: 1280px) {
  .feature--scene { display: block; background-image: none !important; }
  .feature--scene .scene-bg { display: block; width: 100%; height: auto; object-fit: cover; object-position: 100% 50%;
    aspect-ratio: max(1.6, 2.3576 * (1.04 - var(--m)));
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
  .feature--scene-right .scene-bg { object-position: 0% 50%; }
  .feature--scene .scene-inner { padding-top: 24px; padding-bottom: 44px; }
  .feature--scene-right .scene-inner { display: block; }
  .feature--scene .feature-copy { max-width: 560px; }
}
@media (max-width: 600px) { .feature--scene .scene-bg { aspect-ratio: max(1.25, 2.3576 * (1.04 - var(--m))); } }
/* Sub page header as a room scene */
.page-scene { --copy-w: 460px; }
.page-scene h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin: 0 0 14px; white-space: nowrap; }
.page-scene .feature-copy p { margin-bottom: 0; }
@media (max-width: 420px) { .page-scene h1 { white-space: normal; } }

/* ---- Multi-page: sub page header, active nav, Fakten page ---- */
.nav a[aria-current="page"]:not(.btn) { color: var(--ink); font-weight: 700; }
@media (min-width: 1101px) { .nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); background: var(--coral, #d9734e); } }
@media (max-width: 1100px) { .nav > a[aria-current="page"]:not(.btn)::after { color: var(--coral, #d9734e); opacity: 1; } }
@media (min-width: 1101px) { .home .site-header:not(.is-scrolled) .nav a[aria-current="page"]:not(.btn) { color: #fff; } }
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(36px, 5vw, 56px); background: var(--sand); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 0; }
.page-hero p { color: var(--ink-soft); font-size: 1.15rem; margin: 14px 0 0; max-width: 560px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: b; }
.benefits li { counter-increment: b; }
.benefits li::before { content: "0" counter(b); display: block; font-family: "Fraunces", serif; font-size: 1rem; color: var(--sea); margin-bottom: 10px; letter-spacing: .04em; }
.benefits h3 { font-size: 1.35rem; margin: 0 0 8px; }
.benefits p { color: var(--ink-soft); margin: 0; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner p { color: var(--ink-soft); font-size: 1.1rem; margin: 12px 0 28px; }
.cta-inner .hero-actions { justify-content: center; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }


/* ---- Menu icon without a box (all states) ---- */
.nav-toggle, .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink); }
.home .site-header:not(.is-scrolled) .nav-toggle:hover { background: transparent; }
.nav-toggle { margin-right: -10px; }

/* ---- Scroll motion: room scenes settle in, numbers count ---- */
.facts-number span[data-count] { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .js .feature--scene .scene-bg { opacity: 0; transform: scale(1.045); transition: opacity 1.1s ease, transform 1.6s cubic-bezier(.2,.7,.2,1); transform-origin: 70% 60%; }
  .js .feature--scene-right .scene-bg { transform-origin: 30% 60%; }
  .js .feature--scene.is-in .scene-bg { opacity: 1; transform: none; }
}

/* ---- Hero kicker (local context for people & search) ---- */
.hero-kicker { display: inline-block; margin: 0 0 16px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 12px rgba(20, 42, 59, 0.25); }
@media (max-width: 600px) { .hero-kicker { font-size: 0.68rem; letter-spacing: 0.12em; margin-bottom: 12px; } }

/* ---- Region: Leinburg & Nürnberger Land ---- */
.region-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.region-copy h2 { margin-bottom: 18px; }
.region-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.region-places { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.region-places li { padding: 7px 14px; border-radius: 999px; background: var(--sand); border: 1px solid transparent; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.region-audience { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.region-audience li { background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(20, 42, 59, 0.05); }
.region-audience h3 { font-size: 1.2rem; margin: 0 0 6px; }
.region-audience p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .region-grid { grid-template-columns: 1fr; } }
.footer-tagline { color: #a9a397; font-size: 0.92rem; line-height: 1.6; max-width: 340px; margin: 14px 0 6px; }

/* Rolling word: width follows the visible word (set in JS) so the headline stays centred */
.roller { transition: width 0.85s cubic-bezier(0.83, 0, 0.17, 1); white-space: nowrap; }
.roller-track em { justify-self: start; }


/* Steps when stacked (tablet + phone): number beside the text, not above it */
@media (max-width: 800px) {
  .steps { border-top: 0; }
  .step, .step:first-child { display: grid; grid-template-columns: clamp(44px, 9vw, 72px) 1fr; column-gap: clamp(14px, 3vw, 28px); align-items: start; padding: clamp(20px, 3.5vw, 30px) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step-num { grid-row: span 2; font-size: clamp(2.4rem, 6vw, 3.2rem); margin: -4px 0 0; }
  .step h3 { margin-bottom: 6px; }
}
