/* ============================================
   MOLLY MARINA — PORTRAIT STUDIO COPENHAGEN
   Design System v2 — Editorial / Magazine
   ============================================ */

/* --- Fonts loaded via <link> in <head> from Bunny Fonts (GDPR-safe Google Fonts proxy) --- */

/* --- Design Tokens --- */
:root {
  /* Color Palette */
  --ink: #0F0F0E;
  --ink-soft: #2A2A28;
  --ink-mute: #6B6862;
  --bone: #F4EFE9;
  --bone-deep: #E8E1D6;
  --paper: #FAF7F2;
  --accent: #C7372F;
  --accent-deep: #9C2A24;
  --gold: #B8924E;
  --line: rgba(15, 15, 14, 0.12);

  /* Typography */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing */
  --container: min(1440px, 92vw);
  --gutter: clamp(1rem, 2vw, 2rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1vw + 0.5rem, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* --- Typography Utilities --- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.display-italic { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 0.6rem; transform: translateY(-2px);
}

/* --- Custom Cursor --- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-out), width 0.3s, height 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: transform 0.4s var(--ease-out), width 0.3s, height 0.3s, opacity 0.3s;
  transform: translate(-50%, -50%);
}
.cursor.is-link { width: 48px; height: 48px; background: var(--accent); }
.cursor-ring.is-link { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* --- Loader --- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2rem;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.loader-mark .reveal {
  display: inline-block;
  transform: translateY(120%);
  animation: load-rise 0.9s var(--ease-out) 0.2s forwards;
}
.loader-mark .reveal:nth-child(2) { animation-delay: 0.35s; }
@keyframes load-rise { to { transform: translateY(0); } }
.loader-bar {
  width: 240px; height: 1px; background: rgba(244, 239, 233, 0.2);
  overflow: hidden;
}
.loader-bar::after {
  content: ''; display: block; width: 0%; height: 100%;
  background: var(--paper);
  animation: load-fill 1.6s var(--ease-out) 0.3s forwards;
}
@keyframes load-fill { to { width: 100%; } }

/* --- Layout --- */
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: clamp(4rem, 10vw, 9rem); }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.logo {
  display: flex; flex-direction: column; line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--ink);
  transition: width 0.4s var(--ease-out);
}
.nav-link:hover::after { width: 100%; }
.lang-toggle {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.3s;
}
.lang-toggle:hover { border-color: var(--ink); }
.lang-toggle .active { color: var(--ink); }
.lang-toggle .inactive { color: var(--ink-mute); }
.lang-toggle .sep { color: var(--line); }

@media (max-width: 768px) {
  .nav-link.hide-mobile { display: none; }
  .nav { gap: 1rem; }
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  padding-top: 7rem;
  padding-bottom: 3rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.hero-text { position: relative; }
.hero-eyebrow { margin-bottom: 1.5rem; opacity: 0; transform: translateY(20px); animation: rise 0.8s var(--ease-out) 0.4s forwards; }
.hero-headline {
  font-size: clamp(3rem, 9vw, 8.5rem);
  margin-bottom: 1.75rem;
}
.hero-headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero-headline .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise-letter 1s var(--ease-out) forwards;
}
.hero-headline .word:nth-child(1) > span { animation-delay: 0.1s; }
.hero-headline .word:nth-child(2) > span { animation-delay: 0.25s; }
.hero-headline .word:nth-child(3) > span { animation-delay: 0.4s; }
.hero-headline .word:nth-child(4) > span { animation-delay: 0.55s; }
.hero-headline .ital { font-style: italic; font-weight: 300; }
@keyframes rise-letter { to { transform: translateY(0); } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-lede {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 2.5rem;
  opacity: 0; transform: translateY(20px);
  animation: rise 0.8s var(--ease-out) 0.7s forwards;
}
.hero-cta-row {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  opacity: 0; transform: translateY(20px);
  animation: rise 0.8s var(--ease-out) 0.85s forwards;
}

/* Hero portrait stack */
.hero-visual {
  position: relative;
  height: clamp(420px, 60vh, 680px);
}
.hero-portrait {
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15, 15, 14, 0.25);
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-portrait-1 {
  top: 0; right: 0;
  width: 70%; height: 75%;
  z-index: 2;
  opacity: 0; transform: translateY(40px) scale(0.95);
  animation: portrait-in 1.2s var(--ease-out) 0.6s forwards;
}
.hero-portrait-2 {
  bottom: 0; left: 0;
  width: 50%; height: 55%;
  z-index: 1;
  opacity: 0; transform: translateY(40px) scale(0.95);
  animation: portrait-in 1.2s var(--ease-out) 0.85s forwards;
}
.hero-tag {
  position: absolute;
  bottom: 8%; right: 5%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 5;
  box-shadow: 0 10px 30px -10px rgba(15, 15, 14, 0.15);
  opacity: 0; transform: translateY(20px);
  animation: rise 0.8s var(--ease-out) 1.2s forwards;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
@keyframes portrait-in { to { opacity: 1; transform: translateY(0) scale(1); } }

.hero-stats {
  display: flex; gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: 3rem; margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0; animation: rise 1s var(--ease-out) 1.5s forwards;
}
.scroll-cue::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--ink-mute), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.8rem;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(199, 55, 47, 0.5);
}
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

/* --- Marquee --- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.25rem;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bone);
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: scroll-x 40s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}
.marquee-track > span {
  display: inline-flex; align-items: center; gap: 3rem;
}
.marquee-track .star {
  color: var(--accent);
  font-style: normal;
  font-size: 0.6em;
  display: inline-block;
  animation: spin-slow 8s linear infinite;
}
@keyframes scroll-x { to { transform: translateX(-50%); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* --- About Section --- */
.about {
  background: var(--bone);
  padding-block: clamp(5rem, 12vw, 10rem);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.8s var(--ease-out), filter 0.6s;
}
.about-image:hover img { transform: scale(1.04); filter: grayscale(0); }
.about-image-frame {
  position: absolute; inset: -20px; border: 1px solid var(--ink);
  pointer-events: none; opacity: 0.3;
}
.about-text h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-block: 1.5rem 2rem;
}
.about-text p {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.15rem);
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  max-width: 50ch;
}
.about-list {
  margin-top: 2.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: grid; gap: 1.5rem;
}
.about-list dt {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.5rem; font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.about-list dd {
  font-size: 0.95rem; color: var(--ink-soft);
}

.about-quote {
  margin-top: 3rem; padding: 2rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 300;
}

/* --- Quiz / Personality --- */
.quiz {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
  position: relative;
}
.quiz::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(199, 55, 47, 0.15), transparent 50%);
  pointer-events: none;
}
.quiz-inner { position: relative; z-index: 1; }
.quiz-head {
  text-align: center; margin-bottom: 3rem;
}
.quiz-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-block: 1rem;
  max-width: 18ch;
  margin-inline: auto;
}
.quiz-head p {
  color: rgba(244, 247, 242, 0.65);
  max-width: 50ch;
  margin-inline: auto;
}
.quiz-stage {
  max-width: 720px;
  margin-inline: auto;
  background: rgba(244, 247, 242, 0.04);
  border: 1px solid rgba(244, 247, 242, 0.1);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 380px;
  position: relative;
}
.quiz-progress {
  display: flex; gap: 6px; margin-bottom: 2rem;
}
.quiz-progress span {
  flex: 1; height: 3px;
  background: rgba(244, 247, 242, 0.15);
  border-radius: 2px;
  position: relative; overflow: hidden;
}
.quiz-progress span.is-active::after,
.quiz-progress span.is-done::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
}
.quiz-progress span.is-active::after { animation: fill-bar 0.6s var(--ease-out) forwards; }
.quiz-progress span.is-done::after { transform: scaleX(1); }
@keyframes fill-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: step-in 0.5s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.quiz-question {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}
.quiz-options { display: grid; gap: 0.75rem; }
.quiz-option {
  text-align: left;
  padding: 1rem 1.25rem;
  background: rgba(244, 247, 242, 0.03);
  border: 1px solid rgba(244, 247, 242, 0.12);
  border-radius: 10px;
  color: var(--paper);
  font-size: 1rem;
  display: flex; align-items: center; gap: 1rem;
  transition: all 0.3s var(--ease-out);
}
.quiz-option:hover {
  background: rgba(244, 247, 242, 0.08);
  border-color: var(--accent);
  transform: translateX(4px);
}
.quiz-option .key {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(244, 247, 242, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
  flex-shrink: 0;
}
.quiz-option:hover .key { background: var(--accent); }

.quiz-result { text-align: center; }
.quiz-result-eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; margin-bottom: 1rem; }
.quiz-result-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.quiz-result-desc {
  color: rgba(244, 247, 242, 0.7);
  max-width: 45ch;
  margin: 0 auto 2rem;
}
.quiz-result-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.quiz-result-cta .btn-primary { background: var(--paper); color: var(--ink); }
.quiz-result-cta .btn-primary:hover { background: var(--accent); color: var(--paper); }
.quiz-result-cta .btn-ghost { border-color: rgba(244, 247, 242, 0.3); color: var(--paper); }
.quiz-result-cta .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* --- Gallery --- */
.gallery-section {
  padding-block: clamp(4rem, 10vw, 9rem);
}
.gallery-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.gallery-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  max-width: 14ch;
}
.gallery-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.gallery-filter {
  padding: 0.5rem 1rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.3s;
}
.gallery-filter.is-active, .gallery-filter:hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

.masonry {
  column-count: 2;
  column-gap: 1rem;
}
@media (min-width: 700px) { .masonry { column-count: 3; column-gap: 1.25rem; } }
@media (min-width: 1100px) { .masonry { column-count: 4; column-gap: 1.5rem; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bone-deep);
  cursor: pointer;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.gallery-item.is-visible { opacity: 1; transform: translateY(0); }
.gallery-item img {
  width: 100%; height: auto;
  aspect-ratio: 9/16;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); filter: brightness(0.9); }
.gallery-item::after {
  content: 'View'; position: absolute; bottom: 1rem; left: 1rem;
  background: var(--paper); color: var(--ink);
  padding: 0.4rem 0.8rem; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  border-radius: 999px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

.gallery-load-more {
  text-align: center; margin-top: 3rem;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 15, 14, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  cursor: none;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage {
  position: relative;
  width: 90vw; height: 86vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  user-select: none; -webkit-user-select: none;
  pointer-events: none;
  border-radius: 4px;
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.lightbox-img.is-shown { opacity: 1; transform: scale(1); }

.lightbox-close, .lightbox-nav {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(244, 247, 242, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 247, 242, 0.2);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 5;
  cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.05); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-nav.prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-nav.next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-size: 0.8rem; letter-spacing: 0.15em;
  background: rgba(244, 247, 242, 0.08);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  display: flex; align-items: center; gap: 1rem;
}
.lightbox-share {
  background: none; border: none; color: var(--paper);
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; cursor: pointer;
  padding-left: 1rem; border-left: 1px solid rgba(244, 247, 242, 0.2);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.lightbox-share:hover { color: var(--accent); }
.lightbox-watermark {
  position: absolute; bottom: 2rem; right: 2rem;
  font-family: var(--font-body);
  font-size: 0.7rem; letter-spacing: 0.2em;
  color: rgba(244, 247, 242, 0.3);
  text-transform: uppercase; pointer-events: none;
}

/* --- Process --- */
.process {
  background: var(--paper);
}
.process-head { text-align: center; margin-bottom: 4rem; }
.process-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  max-width: 16ch; margin-inline: auto;
  margin-block: 1rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.process-step {
  background: var(--bone);
  padding: 2rem 1.75rem;
  border-radius: 8px;
  position: relative;
  transition: transform 0.4s var(--ease-out), background 0.4s;
  counter-increment: step;
}
.process-step:hover { transform: translateY(-4px); background: var(--bone-deep); }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.process-step p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }

/* --- Testimonials --- */
.testimonials {
  background: var(--bone);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.testimonials h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 24ch;
  margin: 0 auto 4rem;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testi {
  background: var(--paper);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
}
.testi-stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.testi p {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}
.testi-author {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.85rem;
}
.testi-author strong { color: var(--ink); }
.testi-author span { color: var(--ink-mute); }
.testi-author .dot { width: 4px; height: 4px; background: var(--ink-mute); border-radius: 50%; }

/* --- Pre-footer Booking CTA --- */
.book-cta {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(5rem, 12vw, 10rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.book-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(199, 55, 47, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184, 146, 78, 0.12), transparent 40%);
}
.book-cta-inner { position: relative; max-width: 900px; margin-inline: auto; }
.book-cta h2 {
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  margin-block: 1rem 2rem;
  line-height: 1;
}
.book-cta h2 .ital { font-style: italic; font-weight: 300; color: var(--bone); }
.book-cta p {
  color: rgba(244, 247, 242, 0.7);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
}
.book-cta .btn-primary { background: var(--paper); color: var(--ink); padding: 1.2rem 2.4rem; }
.book-cta .btn-primary:hover { background: var(--accent); color: var(--paper); }

/* --- Footer --- */
.site-footer {
  background: var(--paper);
  padding-block: 3rem 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem; font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { font-size: 0.95rem; color: var(--ink-soft); max-width: 32ch; margin-block: 1rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--ink-mute);
}
.footer-bottom a { color: inherit; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--accent); }

/* --- Cookie Banner (lightweight, GDPR) --- */
.cookie-bar {
  position: fixed;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%) translateY(150%);
  max-width: 540px; width: calc(100% - 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 50px -10px rgba(15, 15, 14, 0.18);
  z-index: 90;
  transition: transform 0.5s var(--ease-out);
}
.cookie-bar.is-open { transform: translateX(-50%) translateY(0); }
.cookie-bar p {
  font-size: 0.85rem; color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.cookie-bar a { text-decoration: underline; }
.cookie-bar-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-bar button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
}
.cookie-bar .accept { background: var(--ink); color: var(--paper); }
.cookie-bar .decline { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }

/* --- Reveal Utility --- */
.reveal-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.reveal-fade {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.reveal-fade.is-visible { opacity: 1; }

/* --- Forms (kontakt) --- */
.contact-page {
  padding-top: 8rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-intro h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  margin-block: 1rem 1.5rem;
}
.contact-intro p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 1.25rem;
  max-width: 42ch;
}
.contact-info-block {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid; gap: 1.25rem;
}
.contact-info-row {
  display: flex; gap: 1rem;
}
.contact-info-row strong {
  display: block; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 0.25rem;
}
.contact-info-row a { font-size: 1rem; transition: color 0.3s; }
.contact-info-row a:hover { color: var(--accent); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-step h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.form-row { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-row.split { grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row.split { grid-template-columns: 1fr; } }
.form-row label {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
}
.form-row input, .form-row textarea, .form-row select {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bone);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  width: 100%;
  color: var(--ink);
}
.form-row textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(15, 15, 14, 0.08);
}
.form-row.error input, .form-row.error textarea { border-color: var(--accent); background: #FBEEEE; }
.form-row .error-msg { font-size: 0.8rem; color: var(--accent); margin-top: 0.3rem; display: none; }
.form-row.error .error-msg { display: block; }

.choice-group { display: grid; gap: 0.6rem; margin-bottom: 1.5rem; }
.choice {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.choice:hover { border-color: var(--ink); }
.choice input { display: none; }
.choice .indicator {
  width: 18px; height: 18px;
  border: 1px solid var(--ink-mute);
  border-radius: 50%;
  flex-shrink: 0; margin-top: 4px;
  position: relative;
}
.choice input:checked ~ .indicator {
  border-color: var(--accent);
}
.choice input:checked ~ .indicator::after {
  content: '';
  position: absolute; inset: 3px;
  background: var(--accent);
  border-radius: 50%;
}
.choice input:checked ~ .choice-body { color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--bone); }
.choice-body strong {
  display: block; font-weight: 600; margin-bottom: 0.15rem; font-size: 1rem;
}
.choice-body small { font-size: 0.85rem; color: var(--ink-mute); }

/* honeypot — hidden visually + a11y */
.hp-field {
  position: absolute !important;
  left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}
.form-status.success { background: #E7F4ED; color: #1A6B3F; display: block; }
.form-status.error { background: #FBEEEE; color: var(--accent-deep); display: block; }

.form-submit {
  width: 100%; padding: 1.1rem;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  font-weight: 600; letter-spacing: 0.06em; font-size: 0.9rem;
  transition: background 0.3s, transform 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.5rem;
}
.form-submit:hover { background: var(--accent); transform: translateY(-2px); }
.form-submit:disabled { background: var(--ink-mute); cursor: wait; transform: none; }

.form-meta {
  font-size: 0.75rem; color: var(--ink-mute);
  margin-top: 1rem; text-align: center;
}
.form-meta a { text-decoration: underline; }

/* --- Thanks Page --- */
.thanks {
  min-height: 80vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1rem;
}
.thanks .checkmark {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; margin-bottom: 2rem;
  animation: pop 0.6s var(--ease-bounce);
}
@keyframes pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
.thanks h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-block: 0 1rem; max-width: 16ch; }
.thanks p { color: var(--ink-soft); max-width: 50ch; margin-bottom: 2rem; }

/* --- Selection --- */
::selection { background: var(--accent); color: var(--paper); }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
