/* ============================================================
   wild.woman.fotografie — shared gallery page styles
   ============================================================ */
:root {
  --page: #EDE8DF;
  --section-warm: #7A5A40;
  --section-foot: #6B4E39;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--page); margin: 0; overflow-x: hidden; }
::selection { background: rgba(158,82,52,0.18); }
img { display: block; max-width: 100%; }

.wrap { width: min(var(--maxw-content), 88vw); margin-inline: auto; }
.wrap--wide { width: min(1280px, 90vw); margin-inline: auto; }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 52px);
  transition: background .32s ease, padding .32s ease, box-shadow .32s ease;
}
.nav.is-stuck { background: rgba(237,232,223,0.9); backdrop-filter: blur(8px); padding-top: 15px; padding-bottom: 15px; box-shadow: 0 1px 0 var(--border-soft); }
/* While the mobile menu is open, neutralise the containing block (backdrop-filter)
   so the fixed overlay anchors to the viewport, not the nav bar. */
.nav.nav--menu-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent !important; box-shadow: none !important; }
body.menu-open { overflow: hidden; }
.nav__brand {
  font-family: var(--font-display); font-size: 21px; letter-spacing: .01em;
  color: var(--sand-50); text-decoration: none; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.nav__brand .star { color: var(--accent-soft); font-size: 13px; }
.nav.is-stuck .nav__brand { color: var(--text-strong); }
.nav__links { display: flex; gap: clamp(14px, 2vw, 34px); align-items: center; }
.nav__link {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--sand-100); text-decoration: none; position: relative;
  padding-bottom: 3px; transition: color .32s ease; white-space: nowrap;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .32s ease; }
.nav__link:hover { color: var(--sand-50); }
.nav__link:hover::after { right: 0; }
.nav__link.is-current { color: var(--sand-50); }
.nav.is-stuck .nav__link { color: var(--text-body); }
.nav.is-stuck .nav__link:hover { color: var(--accent); }
.nav.is-stuck .nav__link.is-current { color: var(--accent); }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; flex-direction: column; justify-content: center; gap: 28px; background: rgba(44,32,24,0.97); transform: translateY(-100%); transition: transform .5s ease; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links .nav__link { color: var(--sand-100); font-size: 16px; }
  .nav__toggle { display: flex; flex-direction: column; gap: 5px; z-index: 1001; background: none; border: 0; cursor: pointer; padding: 8px; }
  .nav__toggle span { width: 26px; height: 1.5px; background: var(--sand-50); transition: .32s; }
  .nav.is-stuck .nav__toggle span { background: var(--text-strong); }
  .nav__toggle.is-open span { background: var(--sand-50); }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------------- BANNER ---------------- */
.banner { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.banner__img { position: absolute; inset: 0; }
.banner__img img { width: 100%; height: 100%; object-fit: cover; }
.banner__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(70,53,40,0.30) 0%, rgba(44,32,24,0.18) 40%, rgba(44,32,24,0.58) 100%); }
.banner__inner { position: relative; z-index: 2; padding: clamp(40px, 8vh, 96px) clamp(18px, 5vw, 56px); width: 100%; }
.banner__back {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--text-on-dark-soft); text-decoration: none; transition: color .32s ease;
}
.banner__back:hover { color: var(--sand-50); }
.banner .ww-eyebrow { color: var(--text-on-dark-soft); }
.banner h1 { font-family: var(--font-display); font-weight: 400; color: var(--sand-50); font-size: clamp(46px, 7vw, 96px); line-height: 1.02; margin: 14px 0 0; }
.banner h1 em { font-style: italic; color: var(--sand-100); }
.banner__sub { color: var(--text-on-dark); font-family: var(--font-body); font-weight: 300; font-size: var(--fs-lead); max-width: 46ch; margin: 22px 0 0; line-height: 1.6; }

/* ---------------- INTRO STRIP ---------------- */
.strip { padding: clamp(60px, 10vh, 120px) 0; text-align: center; }
.strip .ww-rule { background: var(--accent); }
.strip p { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); line-height: 1.32; color: var(--text-strong); max-width: 24ch; margin: 0 auto; }

/* ---------------- GALLERY GRID ---------------- */
.gallery { padding: 0 0 clamp(60px, 10vh, 120px); }
.grid { columns: 3; column-gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 900px) { .grid { columns: 2; } }
@media (max-width: 560px) {
  .grid { columns: 1; }
  /* Reserve space on phones so images don't shift while loading */
  .grid figure { aspect-ratio: 4 / 5; }
  .grid figure img { height: 100%; object-fit: cover; }
}
.grid figure { margin: 0 0 clamp(12px, 1.6vw, 22px); break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--sand-300); }
.grid img { width: 100%; height: auto; transition: transform 1.1s var(--ease-soft); }
.grid figure:hover img { transform: scale(1.04); }

/* ---------------- ANGEBOT ---------------- */
.angebot { background: var(--surface-cream); padding: clamp(72px, 12vh, 150px) 0; }
.angebot__head { text-align: center; margin-bottom: clamp(44px, 6vh, 72px); }
.angebot__head .ww-rule { background: var(--accent); }
.angebot__head h2 { font-size: var(--fs-display-l); }
.angebot__head p { color: var(--text-body); max-width: 50ch; margin: 18px auto 0; font-family: var(--font-body); font-weight: 300; line-height: 1.7; }
.pkg {
  max-width: 760px; margin: 0 auto; background: var(--surface-base);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  padding: clamp(32px, 4.4vw, 60px);
}
.pkg__top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--border-soft); padding-bottom: 26px; margin-bottom: 30px; }
.pkg__top h3 { font-size: var(--fs-display-m); margin: 0; }
.pkg__price { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--accent); white-space: nowrap; }
.pkg__price span { font-family: var(--font-body); font-style: normal; font-size: var(--fs-small); letter-spacing: .04em; color: var(--text-muted); display: block; text-align: right; margin-top: 4px; }
.pkg__lead { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--text-strong); line-height: 1.4; margin: 0 0 28px; }
.pkg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.pkg li { display: flex; gap: 14px; align-items: baseline; color: var(--text-body); font-family: var(--font-body); font-weight: 300; line-height: 1.6; }
.pkg li::before { content: "✦"; color: var(--accent); font-size: 12px; flex: none; transform: translateY(-1px); }
.pkg__foot { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pkg__note { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--text-muted); margin: 0; }

/* ---- Three-tier packages ---- */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); align-items: stretch; margin-top: clamp(40px, 6vh, 64px); }
@media (max-width: 940px) { .pkgs { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; } }
.tier { background: var(--surface-base); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); padding: clamp(26px, 2.4vw, 40px); display: flex; flex-direction: column; border: 1px solid var(--border-soft); }
.tier--featured { box-shadow: var(--shadow-card); border-color: var(--accent-soft); position: relative; }
.tier__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-family: var(--font-body); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-pill); white-space: nowrap; }
.tier__name { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.tier h3 { font-size: var(--fs-display-s); margin: 0 0 18px; color: var(--text-strong); line-height: 1.1; }
.tier__price { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 44px); color: var(--text-strong); line-height: 1; }
.tier__price span { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); margin-left: 4px; }
.tier__rule { width: 44px; height: 1px; background: var(--border-strong); border: 0; margin: 24px 0; }
.tier ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; }
.tier li { display: flex; gap: 12px; align-items: baseline; color: var(--text-body); font-family: var(--font-body); font-weight: 300; font-size: 15px; line-height: 1.55; }
.tier li::before { content: "✦"; color: var(--accent); font-size: 11px; flex: none; transform: translateY(-1px); }
.tier .btn { margin-top: auto; align-self: flex-start; }

.btn {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps);
  text-transform: uppercase; font-weight: 500; background: var(--accent); color: var(--on-accent);
  border: 0; border-radius: var(--radius-pill); padding: 16px 38px; cursor: pointer; text-decoration: none;
  display: inline-block; transition: background .32s ease;
}
.btn:hover { background: var(--accent-hover); }

/* ---------------- FOOTER ---------------- */
.foot { background: var(--section-foot); color: var(--text-on-dark); padding: clamp(56px, 9vh, 104px) 0 40px; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot__brand { font-family: var(--font-display); font-size: 30px; color: var(--sand-50); display: flex; align-items: baseline; gap: 8px; }
.foot__brand .star { color: var(--accent-soft); font-size: 16px; }
.foot__tag { color: var(--text-on-dark-soft); margin: 14px 0 0; font-style: italic; font-family: var(--font-display); font-size: 20px; }
.foot__links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot__links a { color: var(--text-on-dark-soft); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-caps); text-transform: uppercase; text-decoration: none; }
.foot__links a:hover { color: var(--sand-50); }
.foot__bar { margin-top: clamp(40px, 7vh, 72px); padding-top: 26px; border-top: 1px solid rgba(240,231,214,0.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-caption); letter-spacing: .08em; color: var(--text-on-dark-soft); }
.foot__bar a { color: var(--text-on-dark-soft); text-decoration: none; border-bottom: 1px solid rgba(240,231,214,0.32); padding-bottom: 1px; transition: color .3s ease, border-color .3s ease; }
.foot__bar a:hover { color: var(--sand-50); border-bottom-color: var(--sand-50); }

/* ---------------- REVEAL ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .grid figure:hover img { transform: none; } }
