/* =============================================================================
   DIANA HIRT — Interior Design (Designcore Consulting FZCO, Dubai)
   Design language: "Quiet Luxury / Warm Minimalism"
     warm ivory + greige + deep umber, thin letter-spaced display type,
     generous negative space, editorial image grids, restrained motion.
   Static site, no build step. Content is fully readable without JavaScript;
   JS only enhances. All motion respects prefers-reduced-motion.
   Languages: DE / EN / RU (separate URLs) — same class structure everywhere.
   ========================================================================== */

/* ---------- 1. Tokens --------------------------------------------------- */
:root {
  color-scheme: light;

  /* Surfaces — warm neutrals */
  --bone:      #F1F0ED;   /* page background — warm ivory */
  --paper:     #FBFAF7;   /* raised cards / header */
  --sand:      #EBE5DA;   /* alternating sections */
  --sand-2:    #E2DACC;   /* insets */
  --stone:     #D8D0C1;   /* fills / image placeholders */
  --line:      #DED6C6;   /* hairlines */
  --line-2:    #C9BEA9;   /* stronger hairlines */

  /* Ink — warm near-black scale */
  --ink:   #2B2723;      /* headings + primary text   ~13.5:1 on --bone */
  --ink-2: #554E44;      /* body / secondary          ~7.1:1  on --bone */
  --ink-3: #6E6456;      /* muted captions            ~5.1:1  on --bone */

  /* Accent — muted taupe / umber (decorative + link) */
  --clay:  #8C7E6A;      /* decorative rules, dots */
  --umber: #5C5142;      /* links, focus ring         ~6.6:1  on --bone */
  --umber-600: #81786B;

  /* Feedback (used sparingly, on forms) */
  --ok:   #4B6B4E;
  --err:  #9A3B2E;

  /* Radius — soft, architectural */
  --r-xs: 3px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Shadow — low, warm-tinted, diffuse */
  --sh-1: 0 1px 2px rgba(43,39,35,.05), 0 2px 8px -4px rgba(43,39,35,.06);
  --sh-2: 0 8px 24px -12px rgba(43,39,35,.16), 0 2px 8px -4px rgba(43,39,35,.08);
  --sh-3: 0 30px 60px -28px rgba(43,39,35,.28), 0 8px 24px -16px rgba(43,39,35,.12);

  /* Spacing (4 / 8 rhythm) */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-7: 2.5rem; --s-8: 3rem;  --s-10: 4rem; --s-12: 6rem;
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  /* Type */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Kept as an alias (no longer set to a serif) — the design now runs on a single,
     confident grotesque throughout, closer to judithschleicher.com than the earlier
     italic-serif accents. */
  --font-quote: var(--font-display);

  --fs--2: .75rem;
  --fs--1: clamp(.8rem, .78rem + .1vw, .875rem);
  --fs-0:  1.0625rem;                        /* 17px body */
  --fs-1:  clamp(1.1rem, 1rem + .45vw, 1.3rem);
  --fs-2:  clamp(1.4rem, 1.15rem + 1vw, 2rem);
  --fs-3:  clamp(1.8rem, 1.4rem + 1.9vw, 2.9rem);
  --fs-4:  clamp(2.3rem, 1.6rem + 3.4vw, 4.4rem);

  --tracking-wide: .22em;
  --tracking-wider: .34em;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: .2s;
  --dur-2: .4s;
  --dur-3: .7s;

  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 300;
  --z-top: 400;
}

/* ---------- 2. Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-0);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100dvh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: .01em;
  text-wrap: balance;
}
.legal p, .legal li, .booking h1, .legal h1 { hyphens: auto; }
p { text-wrap: pretty; }
a { color: var(--umber); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-1) var(--ease); }
a:hover { color: var(--ink); }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; color: inherit; }
:target { scroll-margin-top: 7rem; }
::selection { background: var(--ink); color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--umber);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* ---------- 3. Layout helpers -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--bone); }
.section--ink { background: var(--umber-600); color: #F1EEE7; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--bone); }
.section--ink .eyebrow { color: #EFE9DD; }
.section--ink .eyebrow::before { background: var(--ink); }

.skip-link {
  position: absolute; left: var(--s-4); top: -120%;
  z-index: var(--z-top);
  background: var(--paper); color: var(--ink);
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  box-shadow: var(--sh-2); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

/* ---------- 4. Typographic blocks -------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-display);
  font-size: var(--fs--1);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 1px;
  background: var(--clay);
}
.eyebrow--center { justify-content: center; }

.section__head {
  max-width: 54ch;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 {
  font-size: var(--fs-3);
  margin-top: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 300;
}
.section__head p {
  margin-top: var(--s-5);
  font-size: var(--fs-1);
  color: var(--ink-2);
  max-width: 52ch;
}
.section__head--center p { margin-inline: auto; }
.lede { font-size: var(--fs-1); color: var(--ink-2); }
.u-measure { max-width: 62ch; }

/* ---------- 5. Buttons ------------------------------------------------ */
.btn {
  --_bg: var(--ink);
  --_fg: var(--bone);
  --_bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.9rem;
  min-height: 52px;
  border: 1px solid var(--_bd);
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-xs);
  transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease), transform var(--dur-1) var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line-2); }
.btn--light { --_bg: var(--bone); --_fg: var(--ink); --_bd: var(--bone); }
.btn--block { width: 100%; }

@media (hover: hover) {
  .btn:hover { --_bg: var(--umber); --_fg: var(--bone); --_bd: var(--umber); }
  .btn--ghost:hover { --_bg: var(--ink); --_fg: var(--bone); --_bd: var(--ink); }
  .btn--light:hover { --_bg: transparent; --_fg: var(--bone); --_bd: var(--bone); }
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .45; pointer-events: none;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
}
.link-arrow svg { width: 1.15em; height: 1.15em; transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. Header / Nav ---------------------------------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--bone) 96%, transparent);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
  min-height: 5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .8rem;
  text-decoration: none; color: var(--ink); flex: none;
}
.brand__wordmark { height: 1.7rem; width: auto; flex: none; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(.85rem, 1.7vw, 1.5rem); }
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  padding: .5rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="true"] { color: var(--ink); }

.nav__side { display: flex; align-items: center; gap: 1rem; flex: none; }
.header .nav__side .btn {
  padding: .7rem 1.15rem; min-height: 42px; font-size: .68rem; letter-spacing: .16em;
}

.langswitch {
  display: inline-flex; align-items: center; gap: .1rem;
  font-family: var(--font-display); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.langswitch a {
  color: var(--ink-3); text-decoration: none; padding: .35rem .45rem;
  border-radius: var(--r-xs);
}
.langswitch a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.langswitch a:hover { color: var(--ink); }
.langswitch span { color: var(--line-2); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }

/* ---------- 7. Hero ------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-y);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: 1.02fr .98fr; }
}
.hero__eyebrow { margin-bottom: 1.6rem; }
.hero h1 {
  font-size: var(--fs-4);
  font-weight: 300;
  letter-spacing: .015em;
  line-height: 1.08;
}
.hero h1 .accent {
  display: block;
  color: var(--ink-3);
  font-weight: 300;
}
.hero__sub {
  margin-top: 1.8rem;
  font-size: var(--fs-1);
  max-width: 46ch;
  color: var(--ink-2);
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; gap: var(--s-4);
}
.hero__meta {
  margin-top: 2.75rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
}
.hero__meta div { display: grid; gap: .2rem; }
.hero__meta dt {
  font-family: var(--font-display); font-size: .62rem;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--ink-3);
}
.hero__meta dd { font-size: .92rem; color: var(--ink); font-weight: 500; }

.hero__media { position: relative; }
.hero__media .frame { aspect-ratio: 4 / 5; }
.hero__badge {
  position: absolute; left: clamp(-.5rem, -2vw, -1.75rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  padding: 1rem 1.25rem;
  max-width: 15rem;
  display: grid; gap: .25rem;
}
.hero__badge b {
  font-family: var(--font-display); font-weight: 400;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink);
}
.hero__badge span { font-size: .8rem; color: var(--ink-3); }

/* ---------- Hero intro (relaunch) --------------------------------- */
.hero--intro { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.hero__gallery {
  position: relative;
  max-width: 42rem; margin: 0 auto .25rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero__gallery img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: hero-gallery-fade 20s ease-in-out infinite both;
  animation-delay: calc(var(--i) * 4s);
}
@keyframes hero-gallery-fade {
  0%, 100% { opacity: 0; }
  4% { opacity: 1; }
  18% { opacity: 1; }
  22% { opacity: 0; }
}
.hero__intro-copy { max-width: 58rem; margin-inline: auto; text-align: center; }
.hero__intro-copy h1 {
  font-weight: 700;
  font-size: clamp(1.3rem, 6.8vw, 5rem);
  white-space: nowrap;
  text-transform: uppercase;
}
.hero__intro-copy .hero__sub { max-width: 60ch; margin-inline: auto; }
.hero__statement {
  margin-top: 1.8rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  letter-spacing: .01em; text-transform: uppercase; color: var(--ink);
}
.band--bold .band__track span { font-weight: 700; color: var(--ink); }

/* ---------- 8. Word band ----------------------------------------- */
.band {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: 1.1rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.band__track {
  display: flex; align-items: center; gap: 2.75rem;
  width: max-content;
  animation: band-drift 46s linear infinite;
}
.band__track span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: .9rem;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.band__track span::after {
  content: "·"; margin-left: 2.75rem; color: var(--clay);
}
.band:hover .band__track { animation-play-state: paused; }
@keyframes band-drift { to { transform: translateX(-50%); } }
.band--umber { background: var(--umber-600); border-color: rgba(241,238,231,.18); }
.band--umber .band__track span { color: #F1EEE7; }
.band--umber .band__track span::after { color: var(--clay); }

/* ---------- 9. Statement (scroll colour-reveal, à la judithschleicher.com) -- */
.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 1.15rem + 2.8vw, 3.2rem);
  line-height: 1.32;
  letter-spacing: .01em;
  max-width: 26ch;
  color: var(--ink);
}
.js .statement {
  background-image: linear-gradient(90deg, var(--ink) 50%, var(--ink-3) 50%);
  background-size: 200% 100%;
  background-position: var(--reveal, 100%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .js .statement { background-position: 0% 0 !important; }
}
.manifesto__body { margin-top: var(--s-6); display: grid; gap: var(--s-5); max-width: 60ch; }

.principles {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.principle { border-top: 1px solid var(--line-2); padding-top: var(--s-4); }
.principle b {
  display: block;
  font-family: var(--font-display); font-weight: 400;
  font-size: .8rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--ink);
}
.principle p { margin-top: .75rem; font-size: .96rem; color: var(--ink-2); }
.principle__no {
  font-family: var(--font-display); font-weight: 300;
  font-size: 1.1rem; letter-spacing: .1em; color: var(--clay); line-height: 1;
}

/* ---------- 10. Services ---------------------------------------- */
/* Legacy icon-card grid — kept in case it's reused elsewhere, superseded on the
   homepage by the full-bleed overlay list (.svc-photo / .svc-list) below. */
.svc-grid {
  display: grid; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.svc {
  background: var(--bone);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: .85rem;
  transition: background-color var(--dur-2) var(--ease);
}
.svc:hover { background: var(--paper); }
.svc__icon {
  width: 2.4rem; height: 2.4rem; color: var(--umber);
  display: grid; place-items: center;
}
.svc__icon svg { width: 100%; height: 100%; stroke-width: 1; }
.svc__no {
  font-family: var(--font-display); font-size: .68rem;
  letter-spacing: var(--tracking-wide); color: var(--ink-3);
}
.svc h3 {
  font-size: 1.06rem; font-weight: 400;
  letter-spacing: .06em; text-transform: uppercase;
}
.svc p { font-size: .93rem; color: var(--ink-2); }

/* Services as a text list over a full-bleed, dimmed image — no icons, no cards,
   editorial and image-led (inspired by judithschleicher.com). Bleeds edge to
   edge within the section; the list content stays centred at --container. */
.svc-photo {
  /* Already a direct child of <section> (outside .container), so it's edge-to-edge
     by default — no negative margin needed here. */
  position: relative;
  overflow: hidden;
}
.svc-photo .frame { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.svc-photo__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,24,21,.5), rgba(28,24,21,.74) 55%, rgba(28,24,21,.88));
}
.svc-list {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  display: grid;
  max-width: var(--container);
  margin-inline: auto;
}
@media (min-width: 56rem) {
  .svc-list { grid-template-columns: 1fr 1fr; }
  .svc-list > .svc-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(244,241,235,.18); }
}
.svc-item {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(244,241,235,.18);
  display: flex; gap: 1.25rem; align-items: baseline;
}
.svc-item:last-child { border-bottom: 1px solid rgba(244,241,235,.18); }
.svc-item__no {
  font-family: var(--font-display); font-weight: 300; font-size: .78rem;
  letter-spacing: .08em; color: rgba(244,241,235,.5); flex: none;
}
.svc-item h3 {
  color: var(--bone); font-size: 1.15rem; font-weight: 400;
  letter-spacing: .02em; text-transform: none;
}
.svc-item p { margin-top: .4rem; font-size: .88rem; color: rgba(244,241,235,.7); max-width: 34ch; }

/* ---------- 11. Projects -------------------------------------- */
/* Full-bleed hero slabs (inspired by judithschleicher.com's project sections) —
   fewer, bigger images than the old mosaic grid below, one project at a time. */
.project-slabs {
  /* Already a direct child of <section> (outside .container) — edge-to-edge by default. */
  display: grid; gap: clamp(2px, .3vw, 4px);
  background: var(--line);
}
.project-slab {
  position: relative;
  overflow: hidden;
  min-height: 74vh;
  background: var(--stone);
}
.project-slab .frame { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.project-slab__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(2rem, 6vw, 3.5rem) var(--gutter) clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(transparent, rgba(20,17,14,.72));
}
.project-slab__title {
  display: block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  color: var(--bone); letter-spacing: .01em;
}
.project-slab__meta {
  display: block; margin-top: .5rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244,241,235,.75);
}
.project-slab__link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone); text-decoration: none; flex: none;
}
.project-slab__link svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-2) var(--ease); }
.project-slab__link:hover svg { transform: translate(3px, -3px); }

/* Reel — sticky wide background + a narrower card scrolling over it, plus a
   grey mask that fades in over the background as you scroll through the
   cards (checked judithschleicher.com's DOM directly for all three layers):
     .reel__bg    — sticky, pinned full-bleed photo + .reel__mask on top of it
     .reel__info  — a second sticky layer, same geometry, carrying the
                    caption; always painted above .reel__cards so scrolling
                    images never cover the title/meta/link
     .reel__cards — normal-flow, scrolls past on top of the sticky photo
   All three are explicitly z-indexed (not relying on DOM order) so the
   stacking is correct regardless of source order.
   .reel__bg's sticky *containing block* is .reel itself (tall), so it stays
   pinned for .reel's whole height — not just its own — while .reel__cards
   occupies the remaining flow height and scrolls normally through/over it.
   Height is intentionally left to auto: .reel__bg is sticky (still counted
   in normal flow, contributing its own set height) and .reel__info is
   position:absolute (contributes nothing), so .reel's natural height is
   simply .reel__bg's height + .reel__cards' content height — correct for
   any number of cards without a hand-tuned vh constant per project. */
.reel {
  position: relative;
}
.reel__bg {
  position: sticky; top: 5rem; z-index: 1;
  height: calc(100vh - 5rem);
  overflow: hidden;
  background: var(--stone);
}
.reel__bg-img,
.reel__bg .frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__mask {
  position: absolute; inset: 0;
  background: var(--sand-2);
  opacity: 0;
  pointer-events: none;
}

.reel__info {
  /* Full-height overlay spanning the *whole* .reel (not just the pinned
     viewport rect), so its sticky child below gets the same large pin
     range as .reel__bg — mirrors judithschleicher.com's own
     absolute-wrapper + sticky-inner pairing exactly. A plain sticky
     sibling here would only be pinned within its own height (near-zero
     range) once it takes up flow space after .reel__bg. */
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
}
.reel__info-inner {
  position: sticky; top: 5rem;
  height: calc(100vh - 5rem);
}
.reel__info-inner .project-slab__cap { pointer-events: auto; }

.reel__cards {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 12vh;
  padding-block: 28vh 30vh;
}
.reel__card {
  width: min(100% - 6rem, 68rem);
  height: 58vh;
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.reel__card img,
.reel__card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__card .frame { height: 100%; }

/* Portrait variant — for a card whose source is a tall (e.g. phone-shot 9:16)
   photo or video. The default card is wide-and-short, which would crop a
   portrait source hard on the sides; this one is narrow-and-tall instead so
   far more of the original composition stays visible, and it doubles as a
   deliberate rhythm break in the scroll sequence. */
.reel__card--portrait {
  width: min(70%, 34rem);
  height: 78vh;
}

@media (max-width: 40rem) {
  .reel__card { width: calc(100% - 2.5rem); height: 42vh; }
  .reel__card--portrait { width: min(84%, 22rem); height: 62vh; }
  .reel__cards { gap: 8vh; padding-block: 16vh 18vh; }
}

@media (prefers-reduced-motion: reduce) {
  /* The sticky pin itself is not motion, but skip the large scroll-driven
     reveal for the card so it's simply visible on page load without relying
     on a long scroll gesture, and skip the grey-mask animation. */
  .reel__bg { position: relative; top: 0; }
  .reel__info { position: relative; inset: auto; }
  .reel__info-inner { position: relative; top: 0; height: auto; }
  .reel__mask { display: none; }
  .reel__cards { gap: 2rem; padding-block: 2rem; }
}

/* Secondary mosaic grid — optional, denser overview kept below the hero slabs */
.projects {
  display: grid; gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 60rem) {
  .projects { grid-template-columns: repeat(12, 1fr); }
  .projects > * { grid-column: span 4; }
  .projects > *:nth-child(1) { grid-column: span 7; }
  .projects > *:nth-child(2) { grid-column: span 5; }
  .projects > *:nth-child(5) { grid-column: span 5; }
  .projects > *:nth-child(6) { grid-column: span 7; }
}
.project {
  position: relative; overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--line);
}
.project .frame { height: 100%; }
.project__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(30,27,23,.62));
  color: var(--bone);
}
.project__cap b {
  font-family: var(--font-display); font-weight: 400;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
}
.project__cap span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
@media (max-width: 40rem) { .projects { grid-template-columns: 1fr; } }

/* ---------- 12. Process ------------------------------------- */
.steps {
  counter-reset: step;
  display: grid; gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step {
  background: var(--bone);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: .6rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 300;
  font-size: 1.3rem; letter-spacing: .08em; color: var(--clay); line-height: 1;
}
.step h3 {
  font-size: .95rem; font-weight: 400;
  letter-spacing: .06em; text-transform: uppercase;
}
.step p { font-size: .9rem; color: var(--ink-2); }
.step__note { margin-top: auto; font-size: .78rem; color: var(--ink-3); }

.payplan {
  margin-top: var(--s-8);
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  align-items: stretch;
}
.payplan li {
  flex: 1 1 12rem;
  border: 1px solid var(--line);
  padding: 1.25rem 1.4rem;
  display: grid; gap: .3rem;
}
.payplan b { font-family: var(--font-display); font-weight: 300; font-size: 2rem; letter-spacing: .02em; color: var(--ink); line-height: 1; }
.payplan span { font-size: .85rem; color: var(--ink-2); }

/* ---------- 13. Pricing ----------------------------------- */
.tiers {
  display: grid; gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.tier {
  background: var(--bone);
  border: 1px solid var(--line-2);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.tier--featured { background: var(--umber-600); color: #F1EEE7; border-color: var(--umber-600); }
.tier--featured h3, .tier--featured .tier__price { color: var(--bone); }
.tier--featured .tier__list li::before { background: var(--clay); }
.tier h3 {
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.tier__price { font-family: var(--font-display); font-weight: 300; font-size: 2.1rem; letter-spacing: .02em; color: var(--ink); line-height: 1; }
.tier__price small { font-size: .8rem; font-style: normal; font-family: var(--font-body); color: var(--ink-3); display: block; margin-top: .3rem; letter-spacing: 0; }
.tier--featured .tier__price small { color: #EFE9DD; }
.tier__list { display: grid; gap: .55rem; font-size: .9rem; }
.tier__list li { position: relative; padding-left: 1.25rem; }
.tier__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .5rem; height: 1px; background: var(--clay);
}
.tier .btn { margin-top: auto; }
.tier--featured .btn { --_bg: var(--bone); --_fg: var(--ink); --_bd: var(--bone); }
.tier__img { width: 100%; height: 11rem; object-fit: cover; }

/* ---------- Leistungen (relaunch) --------------------------------- */
.leistungen-strip {
  display: flex; overflow: hidden;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.band--reverse .band__track { animation-direction: reverse; }
.leistungen-strip__track {
  display: flex; gap: 2px;
  width: max-content;
  animation: strip-drift 56s linear infinite;
}
.leistungen-strip img { width: 20rem; height: clamp(9rem, 18vw, 14rem); object-fit: cover; display: block; flex: none; }
@keyframes strip-drift { to { transform: translateX(-50%); } }
.leistungen-strip:hover .leistungen-strip__track { animation-play-state: paused; }

.leistungen-band__ticker { margin-top: clamp(2rem, 5vw, 3rem); margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 90rem) { .leistungen-band__ticker { margin-inline: calc((100vw - 90rem) / -2 - var(--gutter)); } }
.leistungen-band .band { background: transparent; border-color: rgba(217,210,198,.25); }
.leistungen-band .band__track span { color: var(--bone); }
.leistungen-band .band__track span::after { color: var(--clay); }

.steps-head { text-align: center; margin-top: clamp(3rem, 7vw, 5rem); }
.steps-head h3 {
  font-family: var(--font-display); font-weight: 300; font-size: var(--fs-2);
  letter-spacing: .04em; text-transform: uppercase; color: var(--bone);
}
.leistungen-band { padding-block: clamp(3rem, 7vw, 5rem); }
.leistungen-band .section__head {
  text-align: center;
  margin-inline: auto;
  max-width: 84ch;
}
.leistungen-band .section__head h2 {
  font-size: clamp(1.3rem, .9rem + 7vw, 6rem);
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}
.leistungen-band .section__head p {
  margin-inline: auto;
  max-width: 78ch;
  color: #F1EEE7;
}
.leistungen-band .section__head .btn { margin-top: 1.75rem; margin-inline: auto; display: table; }
.leistungen-band .tiers { margin-top: clamp(2.5rem, 6vw, 4rem); }
.leistungen-band .note-flag {
  display: block; color: #EFE9DD; max-width: 92ch;
  text-align: center; margin-inline: auto;
}
.leistungen-band .note-flag::before { display: none; }
.leistungen-band .tier { color: var(--ink); }
.leistungen-band .tier h3 { color: var(--ink); }
.leistungen-band .tier p { color: var(--ink-2); }

/* ---------- Process timeline (innovative "So funktioniert's") ---- */
.process-timeline {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  max-width: 32rem; margin-inline: auto;
}
.process-step {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.5rem;
  position: relative;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: "";
  position: absolute; left: 1.625rem; top: 3.25rem; bottom: 0;
  width: 1px;
  background: rgba(241,240,237,.3);
}
.process-step:last-child::before { display: none; }
.process-step__num {
  position: relative; z-index: 1;
  width: 3.25rem; height: 3.25rem; flex: none;
  border: 1px solid rgba(241,240,237,.45);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 300; font-size: 1.05rem;
  color: var(--bone);
  background: var(--umber-600);
}
.process-step__body { padding-top: .5rem; }
.process-step__body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--bone);
}
.process-step__body p { margin-top: .5rem; color: #F1EEE7; font-size: .92rem; }
.leistungen-band > .container > .btn { display: table; margin: 1.5rem auto 0; }

.note-flag {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: var(--s-5);
  font-size: .82rem; color: var(--ink-3);
}
.note-flag::before { content: ""; width: .4rem; height: .4rem; background: var(--clay); border-radius: 50%; flex: none; }

.voucher {
  margin-top: var(--s-8);
  border: 1px solid var(--line-2);
  background: var(--sand);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
}
.voucher__text h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.voucher__text p { margin-top: .45rem; color: var(--ink-2); font-size: .92rem; max-width: 40ch; }
.voucher .btn { flex: none; }
.voucher__amounts { display: flex; flex-wrap: wrap; gap: .6rem; }
.voucher__amounts .btn { padding-inline: 1.4rem; min-height: 46px; }

/* ---------- 14. Testimonials — stacked editorial list, one at a time ---- */
.quotes {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  max-width: 46rem;
}
.qt {
  display: grid; gap: 1.1rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(244,241,235,.16);
}
.qt:last-child { border-bottom: 0; padding-bottom: 0; }
.qt blockquote {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  line-height: 1.4; max-width: 34ch; color: var(--ink);
}
.qt figcaption { font-size: .82rem; color: var(--ink-3); letter-spacing: .04em; }
.qt figcaption b { color: var(--ink); font-weight: 600; display: block; font-family: var(--font-body); letter-spacing: 0; }

.cta-block { text-align: center; margin-top: clamp(3rem, 7vw, 5rem); }
.cta-block h3 {
  font-family: var(--font-display); font-weight: 300; font-size: var(--fs-3);
  letter-spacing: .04em; text-transform: uppercase; color: var(--bone);
  max-width: 26ch; margin-inline: auto;
}
.cta-block .btn { margin-top: 1.75rem; }

#shop .section__head h2 { font-size: var(--fs-4); font-weight: 700; }
.shop-grid {
  display: grid; gap: clamp(.75rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 48rem) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }
.shop-card {
  background: var(--paper); border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.shop-card__img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover;
  transition: transform .3s ease;
}
.shop-card:hover .shop-card__img { transform: scale(1.04); }
.shop-card__body { padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.shop-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.shop-card__head h3 { font-size: .9rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.shop-card__price { font-family: var(--font-display); font-weight: 400; color: var(--clay); white-space: nowrap; }
.shop-card p { font-size: .88rem; color: var(--ink-2); flex: 1; }
.shop-card .btn { margin-top: .5rem; align-self: flex-start; }

.quotes--scroll {
  max-width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.quotes__track {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem);
  width: max-content;
  animation: quotes-drift 160s linear infinite;
}
.quotes__track .qt {
  width: min(85vw, 26rem); min-height: 20rem; flex: none;
  border-bottom: 0; padding-bottom: 0;
  background: color-mix(in srgb, var(--sand-2) 62%, transparent);
  border: 1px solid color-mix(in srgb, var(--sand-2) 80%, transparent);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex; flex-direction: column;
}
.quotes__track .qt::before {
  content: "“";
  font-family: var(--font-display); font-weight: 400;
  font-size: 3.5rem; line-height: 1;
  color: var(--clay);
  margin-bottom: .5rem;
}
.quotes__track .qt blockquote {
  font-size: clamp(1rem, .92rem + .3vw, 1.15rem);
  line-height: 1.55; max-width: none;
}
.quotes__track .qt figcaption { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid rgba(241,240,237,.16); }
.quotes--scroll:hover .quotes__track { animation-play-state: paused; }
@keyframes quotes-drift { to { transform: translateX(-50%); } }

/* Testimonials sit on the dark section — force legible light text */
.section--ink .qt blockquote { color: var(--ink); }
.section--ink .qt figcaption { color: var(--ink-2); }
.section--ink .qt figcaption b { color: var(--ink); }
.section--ink .note-flag { color: #EFE9DD; }

/* ---------- 15. About — full-bleed split screen (à la judithschleicher.com) */
.split { display: grid; }
@media (min-width: 64rem) { .split { grid-template-columns: 1fr 1fr; min-height: 82vh; } }
.split__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  max-width: 34rem;
}
@media (min-width: 64rem) { .split__content { margin-left: auto; padding-right: clamp(2rem, 6vw, 5rem); } }
.split__media { position: relative; min-height: 22rem; }
.split__media .frame { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }

/* stacked variant — image above text, contained (not full-bleed) */
.split--stacked { display: block; padding-block: var(--section-y); }
.split--stacked .split__media {
  position: static; min-height: 0;
  max-width: 26rem; margin: 0 auto; aspect-ratio: 3 / 4;
}
.split--stacked .split__media .frame { position: static; width: 100%; height: 100%; aspect-ratio: 3 / 4; }
.split--stacked .split__content {
  max-width: 58rem; margin: clamp(2rem, 6vw, 3.5rem) auto 0;
  padding: 0 var(--gutter);
}
.split--stacked .lede { font-size: var(--fs-0); }
@media (min-width: 64rem) { .split--stacked .split__content { margin-inline: auto; padding-right: var(--gutter); } }

/* legacy contained variant, still used where a full-bleed split isn't wanted */
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 60rem) { .about__grid { grid-template-columns: .85fr 1.15fr; } }
.about__media .frame { aspect-ratio: 4 / 5; }
.about__facts {
  margin-top: var(--s-6);
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.about__facts div { border-top: 1px solid var(--line-2); padding-top: .7rem; }
.about__facts dt {
  font-family: var(--font-display); font-size: .62rem;
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--ink-3);
}
.about__facts dd { font-size: .92rem; color: var(--ink); margin-top: .2rem; }

/* ---------- 16. FAQ ---------------------------------- */
.faq { max-width: 54rem; }
.faq__item { border-top: 1px solid var(--line-2); }
.faq__item:last-child { border-bottom: 1px solid var(--line-2); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1rem; letter-spacing: .03em;
  color: var(--ink); cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { flex: none; width: 1.1rem; height: 1.1rem; color: var(--umber); transition: transform var(--dur-2) var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(45deg); }
.faq__body { padding-bottom: 1.6rem; color: var(--ink-2); max-width: 64ch; }
.faq__body p + p { margin-top: .7rem; }

/* ---------- 17. Contact + Forms --------------------- */
.contact__grid { display: grid; gap: var(--s-6); max-width: 40rem; margin-inline: auto; }
.contact__grid .link-arrow { justify-self: center; }

.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: .5rem; }
.field label {
  font-family: var(--font-display); font-size: .68rem;
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--ink-2);
}
.field .req { color: var(--umber); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  min-height: 52px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  color: var(--ink);
  transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--umber); background: var(--bone); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field__hint { font-size: .78rem; color: var(--ink-3); }
.field__error { font-size: .8rem; color: var(--err); }
.field-row { display: grid; gap: var(--s-5); }
@media (min-width: 34rem) { .field-row { grid-template-columns: 1fr 1fr; } }

.check {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .84rem; color: var(--ink-2);
}
.check input { width: 1.15rem; height: 1.15rem; min-height: 0; flex: none; margin-top: .18rem; accent-color: var(--ink); }
.check a { color: var(--umber); }

.form__status {
  font-size: .9rem; padding: .9rem 1.1rem;
  border: 1px solid var(--line-2); border-radius: var(--r-xs);
  background: var(--paper);
}
.form__status[data-state="ok"] { border-color: var(--ok); color: var(--ok); }
.form__status[data-state="err"] { border-color: var(--err); color: var(--err); }

.contact__info { display: grid; gap: var(--s-6); align-content: start; }
.info-list { display: grid; gap: var(--s-5); }
.info-list > div { display: grid; gap: .3rem; border-top: 1px solid var(--line); padding-top: var(--s-4); }
.info-list dt {
  font-family: var(--font-display); font-size: .62rem;
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--ink-3);
}
.info-list dd { font-size: .95rem; color: var(--ink); }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

.map {
  border: 1px solid var(--line);
  overflow: hidden; background: var(--sand-2);
}
.map iframe { width: 100%; min-height: 300px; border: 0; display: block; filter: grayscale(1) contrast(.95) brightness(1.02); }

/* ---------- 18. Footer — flat, on-brand, restrained (no dark block) ---- */
.footer {
  background: var(--bone); color: var(--ink-3);
  padding-block: var(--s-12) var(--s-6);
  font-size: .88rem;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__grid {
  display: grid; gap: var(--s-8);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--line);
}
.footer .brand { color: var(--ink); }
.footer__col h4 {
  color: var(--ink); font-family: var(--font-display); font-weight: 400;
  font-size: .68rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col li { margin-bottom: .55rem; }
.footer__blurb { margin-top: 1.1rem; max-width: 32ch; color: var(--ink-3); }
.footer__col--brand { display: flex; align-items: center; }
.footer__mark { height: clamp(3.5rem, 8vw, 5rem); width: auto; }
.footer__bottom {
  padding-top: var(--s-5);
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem;
  justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--ink-3);
}
.footer__bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- 19. Image placeholder frame ------------- */
/* Elegant in-brand stand-in until real photography is dropped in.
   See README.md → "Bild-Slots / image slots". Replace <div class="frame">
   with <img class="frame" ...> at the documented dimensions. */
.frame {
  position: relative;
  width: 100%;
  display: block;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(255,255,255,.45), transparent 55%),
    repeating-linear-gradient(45deg, rgba(43,39,35,.035) 0 11px, transparent 11px 22px),
    linear-gradient(180deg, var(--sand-2), var(--stone));
  box-shadow: inset 0 0 0 1px rgba(43,39,35,.08);
  color: var(--ink-2);
  overflow: hidden;
}
.frame--wide { aspect-ratio: 16 / 10; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--sq { aspect-ratio: 1 / 1; }

/* Dark/moody variant for full-bleed sections (services overlay, project slabs,
   split-screen media) — reads as "cinematic photography pending" rather than an
   empty light box once it sits under a scrim or next to dark caption text. */
.frame--moody {
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), transparent 55%),
    repeating-linear-gradient(45deg, rgba(244,241,235,.03) 0 11px, transparent 11px 22px),
    linear-gradient(200deg, #3a332c, #1c1815 70%);
  box-shadow: none;
}
.frame--moody .frame__label { color: rgba(244,241,235,.55); }
.frame__label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; text-align: center; padding: 1.5rem;
}
.frame__label svg { width: 2rem; height: 2rem; opacity: .5; }
.frame__label b {
  font-family: var(--font-display); font-weight: 400;
  font-size: .62rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.frame__label span { font-size: .7rem; opacity: .8; max-width: 22ch; }

/* ---------- 20. Reveal (progressive, JS-gated) ------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero entrance — CSS only, runs even if GSAP/CDN is unavailable */
.js .hero .rise {
  opacity: 0; transform: translateY(26px);
  animation: rise .9s var(--ease-out) forwards;
}
.js .hero .rise:nth-child(1) { animation-delay: .05s; }
.js .hero .rise:nth-child(2) { animation-delay: .14s; }
.js .hero .rise:nth-child(3) { animation-delay: .23s; }
.js .hero .rise:nth-child(4) { animation-delay: .32s; }
.js .hero .rise:nth-child(5) { animation-delay: .41s; }
.js .hero__media { clip-path: inset(0 0 100% 0); animation: wipe 1.1s .2s var(--ease-out) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

/* ---------- 21. Booking flow (termin / booking) ---- */
.booking { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-y); }

.stepper {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  margin-bottom: var(--s-8);
  font-family: var(--font-display); font-size: .68rem;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.stepper li { display: flex; align-items: center; gap: .55rem; color: var(--ink-3); }
.stepper li b {
  width: 1.6rem; height: 1.6rem; flex: none;
  border: 1px solid var(--line-2); border-radius: 50%;
  display: grid; place-items: center; font-weight: 400;
}
.stepper li[aria-current="step"] { color: var(--ink); }
.stepper li[aria-current="step"] b { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.stepper li[data-done="true"] { color: var(--ink); }
.stepper li[data-done="true"] b { border-color: var(--ink); }

.booking__title {
  font-size: clamp(1.55rem, 1.2rem + 1.7vw, 2.6rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 1rem 0 var(--s-6);
}

.bstep { display: none; }
.bstep[data-active="true"] { display: block; animation: rise .5s var(--ease-out) both; }
.bstep h2 { font-size: var(--fs-2); font-weight: 300; letter-spacing: .06em; text-transform: uppercase; }
.bstep > p { margin-top: .75rem; color: var(--ink-2); max-width: 52ch; }

.choice-grid { margin-top: var(--s-6); display: grid; align-items: start; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.choice {
  position: relative;
  border: 1px solid var(--line-2);
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: .5rem;
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.choice:hover { background: var(--paper); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice input:focus-visible ~ .choice__tick { outline: 2px solid var(--umber); outline-offset: 2px; }
.choice__tick {
  width: 1.1rem; height: 1.1rem; border: 1px solid var(--line-2); border-radius: 50%;
}
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.choice:has(input:checked) .choice__tick { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.choice b { font-family: var(--font-display); font-weight: 400; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.choice span { font-size: .86rem; color: var(--ink-2); }
.choice__body {
  font-size: .86rem; color: var(--ink-2); line-height: 1.55;
  display: grid; gap: .75rem;
  max-height: 4.7rem; overflow: hidden; position: relative;
  transition: max-height var(--dur-2, .3s) var(--ease, ease);
}
.choice__body::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2.25rem;
  background: linear-gradient(to bottom, transparent, var(--bone));
  opacity: 1; transition: opacity var(--dur-1, .2s) var(--ease, ease);
}
.choice__body.is-expanded { max-height: 60rem; }
.choice__body.is-expanded::after { opacity: 0; }
.choice__body .tier__list { font-size: .86rem; }
.choice__more {
  justify-self: start;
  background: none; border: none; padding: 0;
  font-family: var(--font-display); font-size: .74rem; letter-spacing: var(--tracking-wide, .08em);
  text-transform: uppercase; color: var(--umber); cursor: pointer;
  text-decoration: underline; text-underline-offset: .2em;
}
.choice em { font-family: var(--font-display); font-weight: 300; font-size: 1.15rem; letter-spacing: .02em; color: var(--ink); margin-top: auto; padding-top: .5rem; }

/* Calendly's inline widget renders its own iframe at 100%/100% of this box —
   the box just needs a sensible min-height so the widget isn't squashed
   before it finishes loading. */
.calendly-embed { margin-top: var(--s-6); width: 100%; }
.calendly-embed iframe { display: block; }

.bstep__actions { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.bstep__actions .spacer { flex: 1; }

/* ---------- 22. Legal pages ----------------------- */
.legal { padding-block: clamp(3rem, 8vw, 6rem); }
.legal h1 { font-size: var(--fs-3); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s-6); }
.legal h2 { font-size: 1.05rem; font-weight: 400; letter-spacing: .04em; margin: var(--s-8) 0 var(--s-3); text-transform: uppercase; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: .7rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal a { word-break: break-word; }
.legal .todo {
  background: #F3ECDD; border: 1px dashed var(--line-2);
  color: var(--ink-2); padding: .1rem .4rem; border-radius: var(--r-xs);
}
.legal__back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: var(--s-7); font-family: var(--font-display); font-size: .72rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; text-decoration: none; color: var(--ink); }
.legal__back svg { width: 1em; height: 1em; }

/* ---------- 23. Mobile nav ------------------------ */
@media (max-width: 68rem) {
  .nav-toggle { display: inline-flex; }
  /* Drop the header's backdrop-filter on mobile: filter/backdrop-filter makes an
     element a containing block for position:fixed, which would trap the drawer
     inside the header. Solid background instead. */
  .header,
  .header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: color-mix(in srgb, var(--bone) 97%, transparent);
  }
  /* .header is itself position:sticky with its own z-index, which makes it a
     stacking context — so .nav's higher z-index only ever wins against its
     own siblings *inside* .header, never against .nav-scrim, which sits
     outside .header at the top level. The only thing that actually competes
     with .nav-scrim there is .header itself, so it (not .nav) is what needs
     to out-rank the scrim, or the whole drawer paints underneath it. */
  .header { z-index: var(--z-drawer); }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(90vw, 24rem);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 6.5rem 2rem 3rem;
    background: var(--paper);
    box-shadow: var(--sh-3);
    transform: translateX(100%);
    transition: transform var(--dur-2) var(--ease), visibility var(--dur-2);
    visibility: hidden;
    z-index: var(--z-drawer);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block; padding: 1.15rem 0; font-size: .9rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__side {
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 1.5rem;
  }
  .nav__side .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.is-open .i-open { display: none; }
  .nav-toggle.is-open .i-close { display: block; }
  .nav-scrim {
    /* One below .nav's z-index (both would otherwise tie, and since this
       element comes after <header> in the DOM, the tie would let it paint
       over the drawer and swallow every click on it). */
    position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1);
    background: rgba(30,27,23,.4);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-2) var(--ease);
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
}

@media (max-width: 33rem) {
  .btn { letter-spacing: .12em; padding-inline: 1.25rem; white-space: normal; text-align: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .bstep__actions .btn { flex: 1 1 auto; }
  .payplan li { flex-basis: 100%; }
}

/* ---------- 24. Reduced motion ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero .rise, .js .hero__media { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .band__track { animation: none !important; }
  .hero__gallery img { animation: none !important; opacity: 0 !important; }
  .hero__gallery img:first-child { opacity: 1 !important; }
  .quotes__track { animation: none !important; flex-wrap: wrap; }
  .leistungen-strip__track { animation: none !important; }
  .leistungen-strip { overflow-x: auto; }
}

/* ---------- 25. Print ---------------------------- */
@media print {
  .header, .nav, .band, .nav-scrim, .footer__bottom nav, .map, .booking__banner { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .booking, .legal { padding-block: 1.5rem; }
  .frame { border: 1px solid #ccc; }
}
