/* für immer — wedding photography
   One continuous olive-field descent, tied by a blush thread. Hero is a title card
   born from the loader. Bold geometric display (Outfit) / sans body / mono labels. */

:root {
  --paper:   #dcd8c2;
  --paper-2: #2f2c16;
  --ink:     #1b1a0d;
  --ink-2:   #b8b196;
  --olive:   #c98aa0;
  --olive-lt:#e7adbf;
  --terra:   #e7adbf;
  --gold:    #e7adbf;
  --dark:    #100f07;
  --dark-2:  #2a2713;
  --oxblood: #2a2713;
  --blue:    #f3c8d6;
  --cream:   #ece7d6;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.5rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--cream);
  background-color: #0f0e07;
  background-image: linear-gradient(180deg,
    #131208 0%, #1b1a0d 12%, #292713 25%, #3a3719 38%,
    #453f1f 44.5%, #4a4521 47.5%, #4c4722 50%, #4a4521 52.5%, #453f1f 55.5%,
    #403c1d 62%, #363219 69%, #2c2914 76%, #241f10 83%, #1c1a0d 90%, #161409 95%, #100f07 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; cursor: none;
}
@media (pointer: coarse) { body { cursor: auto; } }
body.loading { overflow: hidden; }

/* film grain — dithers the long dark gradients (kills banding) and ties photos to the field.
   Pre-composited white-alpha tile with NORMAL blending: same result as a screen-blend of
   gray noise, but without mix-blend-mode, which forces iOS Safari into expensive
   off-thread compositing while scrolling. No blur, no background-attachment: fixed. */
body::after {
  /* z0 + main/footer auf z1: Korn liegt NUR über dem Verlauf,
     nicht über Fotos, Text oder Overlays */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("assets/grain-precomp.png");
  background-size: 300px 300px;
  opacity: .045;
}
main, footer { position: relative; z-index: 1; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9000; background: #14120a;
  display: grid; place-items: center; overflow: hidden;
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease);
}
.loader.done { opacity: 0; transform: translateY(-3%) scale(1.04); filter: blur(6px); pointer-events: none; }
.loader__grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.loader__inner { position: relative; z-index: 2; text-align: center; width: min(80vw, 640px); }
.loader__eyebrow {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(240,233,216,0.5); margin-bottom: 1.4rem;
  opacity: 0; animation: ldFade 1s var(--ease) .15s forwards;
}
.loader__title {
  width: clamp(220px, 52vw, 400px); height: auto; margin: .4rem auto 0; fill: var(--cream);
  opacity: 0; filter: blur(14px); transform: translateY(12px);
  animation: ldDevelop 1.6s var(--ease) .2s forwards;
}
@keyframes ldDevelop {
  0% { opacity: 0; filter: blur(14px) sepia(0.6); transform: translateY(12px); }
  100% { opacity: 1; filter: blur(0) sepia(0); transform: none; }
}
@keyframes ldFade { to { opacity: 1; } }
.loader__bar {
  width: 100%; height: 1px; background: rgba(240,233,216,0.16);
  margin: 2.2rem 0 1rem; overflow: hidden;
}
.loader__fill { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.loader__count { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; color: var(--gold); }
/* hero settles in once the loader lifts */
body.entered .hero__content { animation: heroRise 1.2s var(--ease) .1s both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- cream sections ---------- */
.sec-cream { position: relative; }
.sec-cream > * { position: relative; z-index: 1; }
::selection { background: var(--terra); color: var(--ink); }
a { color: var(--terra); } a:hover { color: var(--blue); }
img { display: block; max-width: 100%; }

/* ---------- brand mark (eternal knot) ---------- */
.mark { display: block; flex: none; fill: currentColor; }
.wordmark { display: block; flex: none; fill: currentColor; }
.nav__brand .wordmark { height: 25px; width: auto; }
.footer__brand .wordmark { height: 40px; width: auto; color: var(--cream); }
.nav__brand .mark { width: 24px; height: 24px; }
.footer__brand .mark { width: 38px; height: 38px; color: var(--gold); }
.loader__mark {
  width: clamp(72px, 13vw, 132px); height: auto; color: var(--gold);
  margin: 0 auto 1.6rem;
  opacity: 0; filter: blur(14px); transform: translateY(12px);
  animation: ldDevelop 1.6s var(--ease) .15s forwards;
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--blue); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid var(--blue);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease);
}
.cursor-ring.grow { width: 76px; height: 76px; background: rgba(243,200,214,0.15); }
.cursor-ring.shrink { width: 12px; height: 12px; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- the thread (scroll path) ----------
   In-flow & document-sized: scrolls natively with the page (compositor-
   synced — a fixed overlay with JS counter-scroll lags behind async
   scrolling and visibly swims). Per-frame costs are kept low instead via
   filter-free marker (CSS transform) and stepped dashoffset updates. */
#thread { position: absolute; top: 0; left: 0; z-index: 60; pointer-events: none; overflow: visible; }
.thread-base { fill: none; stroke: rgba(231,173,191,0.16); stroke-width: 1.0; stroke-dasharray: 1 10; stroke-linecap: round; }
.thread-glow { fill: none; stroke: rgba(243,200,214,0.20); stroke-width: 5.5; stroke-linecap: round; }
.thread-draw { fill: none; stroke: var(--olive-lt); stroke-width: 1.4; stroke-linecap: round; }
.thread-mark { fill: var(--blue); transform-box: view-box; transform-origin: 0 0; }
.thread-node { fill: rgba(231,173,191,0.32); transition: fill .5s var(--ease), r .45s var(--ease); }
.thread-node.lit { fill: var(--blue); r: 4; }
.thread-num { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; fill: var(--blue); opacity: 0; transform: translateY(4px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.thread-num.lit { opacity: .95; transform: none; }
.node { position: absolute; width: 1px; height: 1px; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .thread-draw, .thread-glow { transition: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--pad); color: var(--cream);
  transition: padding .5s var(--ease);
}
.nav.scrolled { padding-top: .95rem; padding-bottom: .95rem; }
.nav__brand { display: flex; align-items: center; gap: .52rem; font-family: var(--sans); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; color: inherit; white-space: nowrap; }
.nav__links { display: flex; gap: clamp(1.4rem, 2.6vw, 2.4rem); align-items: center; }
.nav__links a {
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-transform: none;
  color: inherit; text-decoration: none; position: relative; padding: .3rem 0; opacity: .82; transition: opacity .3s var(--ease), color .3s var(--ease);
}
.nav__links a:hover { opacity: 1; color: var(--blue); }

/* burger + mobile menu */
.nav__burger {
  display: none; position: relative; width: 44px; height: 44px; flex: none;
  background: none; border: none; color: inherit; cursor: none; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  top: calc(50% - 4px); transition: transform .45s var(--ease), top .45s var(--ease);
}
.nav__burger span:last-child { top: calc(50% + 3px); }
body.menu-open .nav__burger span:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
body.menu-open .nav__burger span:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }

/* Mobil-Menü: kompakte Karte unter dem Burger statt Vollbild-Wand.
   Die Seite bleibt sichtbar (leicht gedimmt); die Karte ist deckend
   dunkel mit feinem Rand und weichem Schatten. */
.mmenu {
  /* Über der Korn-Schicht (z 2500) — das Glas bleibt klar, ohne Grain */
  position: fixed; inset: 0; z-index: 2600;
  background: rgba(13,12,6,0.15);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
body.menu-open .mmenu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
/* Nav (Brand + Burger-X) über Panel + Grain heben und creme färben */
body.menu-open .nav { color: var(--cream); z-index: 2650; }
.mmenu__inner {
  position: absolute; top: 4.6rem; right: 1.1rem;
  width: min(19.5rem, calc(100vw - 2.2rem));
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.4rem 1.6rem 1.35rem;
  /* Bewusst ohne backdrop-filter: der Blur wird auf iOS erst verzögert
     compositet und ploppt nach — deckende Karte rendert sofort sauber */
  background: rgba(24,22,12,0.93);
  border: 1px solid rgba(236,231,214,0.2);
  /* eckig wie Buttons, Legal-Panel & Raster — keine Rundungen im System */
  border-radius: 0;
  box-shadow: 0 28px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(236,231,214,0.1);
  transform: translateY(-10px) scale(0.96);
  transform-origin: top right;
  transition: transform .5s var(--ease);
}
body.menu-open .mmenu__inner { transform: none; }
.mmenu__kicker { font-family: var(--mono); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.mmenu__inner > a {
  display: flex; align-items: baseline; gap: .85rem; text-decoration: none; color: var(--cream);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.85rem; line-height: 1.3; text-transform: lowercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease);
}
.mmenu__inner > a:hover, .mmenu__inner > a:active { color: var(--blue); }
.mmenu__inner > a .num { font-family: var(--mono); font-style: normal; font-size: .6rem; letter-spacing: .18em; color: var(--gold); }
body.menu-open .mmenu__inner > a { opacity: 1; transform: none; }
body.menu-open .mmenu__inner > a:nth-of-type(1) { transition-delay: .08s; }
body.menu-open .mmenu__inner > a:nth-of-type(2) { transition-delay: .14s; }
body.menu-open .mmenu__inner > a:nth-of-type(3) { transition-delay: .2s; }
.mmenu__foot { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid rgba(236,231,214,0.14); display: flex; gap: 1.15rem; flex-wrap: wrap; opacity: 0; transition: opacity .5s var(--ease) .26s; }
body.menu-open .mmenu__foot { opacity: 1; }
.mmenu__foot a { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(236,231,214,0.65); text-decoration: none; }
.mmenu__foot a:hover { color: var(--blue); }

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}

/* ---------- hero + intro reel (one tall photograph) ---------- */
.reel { position: relative; isolation: isolate; }
.reel__img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.reel__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(52% 30% at 50% 22%, rgba(16,15,7,0.45), rgba(16,15,7,0.2) 45%, transparent 72%),
    linear-gradient(to bottom, rgba(16,15,7,0.52) 0%, rgba(16,15,7,0.28) 12%, rgba(16,15,7,0.12) 24%, rgba(16,15,7,0.06) 37%, rgba(16,15,7,0.04) 50%, rgba(16,15,7,0.14) 62%, rgba(16,15,7,0.34) 74%, rgba(16,15,7,0.55) 87%, rgba(16,15,7,0.76) 100%);
}
.hero { position: relative; z-index: 2; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--pad); pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: min(80vw, 640px); pointer-events: none; }
.hero__eyebrow { font-family: var(--mono); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(236,231,214,0.82); margin-bottom: 1.4rem; }
/* invisible anchor — the single travelling mark rests here, then flies off */
.hero__mark { width: clamp(72px, 13vw, 132px); height: auto; margin: 0 auto; visibility: hidden; }
.hero__tag { position: absolute; left: var(--pad); bottom: 1.7rem; z-index: 2; font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(236,231,214,0.75); }
.intro { position: relative; z-index: 2; min-height: 100svh; display: grid; align-items: center; padding: var(--pad); pointer-events: none; }
.intro__inner { max-width: 44ch; pointer-events: auto; }
.intro__head { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.08; letter-spacing: -0.01em; text-transform: lowercase; color: var(--cream); text-wrap: balance; }
.intro__body { margin-top: 1.6rem; max-width: 48ch; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.75; color: rgba(236,231,214,0.86); text-transform: lowercase; }
.intro__body + .intro__body { margin-top: 1rem; }

/* user-fillable image slots, themed to the field */
image-slot { background-color: #524c28; }
.reel__img, .cat__cell image-slot, .about__portrait image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* categories — three flush portraits per section, stacked along the path */
.cat { position: relative; isolation: isolate; }
.cat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.cat__cell { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.cat__title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: clamp(3rem, 9vh, 5.5rem) var(--pad) clamp(1.6rem, 3.8vh, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; letter-spacing: 0;
  color: var(--cream); pointer-events: none;
  background: linear-gradient(to top, rgba(14,13,7,0.66) 0%, rgba(14,13,7,0.42) 24%, rgba(14,13,7,0.12) 52%, rgba(14,13,7,0.03) 76%, transparent 100%);
}
.cat__row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem; }
.cat__name { display: block; }
.cat__link {
  pointer-events: auto; align-self: center; flex: none;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-style: normal; font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); padding: .55rem 0; cursor: none; transition: color .3s var(--ease), transform .12s var(--ease);
}
.cat__arrow { transition: transform .35s var(--ease); }
.cat__link:hover { color: var(--blue); }
.cat__link:hover .cat__arrow { transform: translateX(5px); }
.cat__kicker {
  font-family: var(--mono); font-style: normal; font-size: .64rem; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(236,231,214,0.72);
}
.hero__switch {
  position: absolute; right: var(--pad); bottom: clamp(5rem, 16vh, 9rem); z-index: 3;
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; justify-content: flex-end; max-width: 60vw;
}
.hero__switch-cap { font-family: var(--mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(240,233,216,0.5); margin-right: .3rem; }
.fx {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: none; border: none; color: rgba(240,233,216,0.55); cursor: none; padding: .3rem 0; position: relative;
  transition: color .35s var(--ease), transform .12s var(--ease);
}
.fx::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.fx:hover { color: var(--cream); }
.fx.is-active { color: var(--blue); }
.fx.is-active::after { width: 100%; }
.scrollcue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; opacity: .6; writing-mode: vertical-rl; }

/* ---------- sections + flow ---------- */
.section { position: relative; padding: clamp(6rem, 14vh, 12rem) var(--pad); z-index: 1; }
.sec-dark { background: transparent; color: var(--cream); }
.sec-cream { background: transparent; color: var(--cream); }

.label { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); display: flex; gap: .7rem; align-items: center; }
.label .num { color: currentColor; opacity: .6; }
.sec-dark .label { color: var(--gold); }

/* statement */
.statement { max-width: 22ch; }
.statement h2 { font-family: var(--serif); font-weight: 400; line-height: 1.06; font-size: clamp(2.4rem, 6vw, 5rem); margin-top: 2rem; letter-spacing: -0.01em; }
.statement h2 em { font-style: normal; color: var(--gold); }
.statement__row { display: flex; flex-wrap: wrap; gap: 3rem; align-items: flex-end; justify-content: space-between; margin-top: 3rem; }
.statement__p { max-width: 40ch; font-size: 1.05rem; line-height: 1.65; color: rgba(240,233,216,0.78); }

/* gallery */
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; }
.gallery__head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 0.98; letter-spacing: -0.01em; }
.gallery__note { max-width: 34ch; color: var(--ink-2); line-height: 1.6; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.7rem, 1.4vw, 1.4rem); }
.cell { position: relative; overflow: hidden; margin: 0; background: var(--paper-2); }
.cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 1.1s var(--ease); filter: saturate(0.82) brightness(0.97); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background-color: rgba(236,231,214,0.03); background-image: repeating-linear-gradient(45deg, rgba(236,231,214,0.05) 0 1px, transparent 1px 11px); border: 1px solid rgba(236,231,214,0.12); }
.ph span { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(236,231,214,0.5); text-align: center; padding: 1rem; max-width: 24ch; line-height: 1.6; }
.ph--bleed { place-items: end start; }
.ph--bleed span { padding: 1.6rem; }
.cell:hover img { transform: scale(1.06); filter: saturate(1.05); }
.cell .tag {
  position: absolute; left: .9rem; bottom: .9rem; z-index: 3;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); mix-blend-mode: difference; pointer-events: none;
  opacity: 0; transform: translateY(8px); transition: all .5s var(--ease);
}
.cell::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(8,14,5,0.5) 0%, rgba(8,14,5,0.18) 22%, rgba(8,14,5,0.04) 38%, transparent 50%); opacity: 0; transition: opacity .5s var(--ease); }
.cell:hover .tag { opacity: 1; transform: translateY(0); }
.cell:hover::after { opacity: 1; }
.c-tall { grid-column: span 4; aspect-ratio: 3/4.4; }
.c-wide { grid-column: span 8; aspect-ratio: 16/10; }
.c-sq   { grid-column: span 4; aspect-ratio: 1/1; }
.c-half { grid-column: span 6; aspect-ratio: 4/3; }
.c-full { grid-column: span 12; aspect-ratio: 21/8; }
@media (max-width: 760px) {
  .c-tall, .c-sq { grid-column: span 6; }
  .c-wide, .c-half, .c-full { grid-column: span 12; }
}

/* (legacy full-bleed category styles removed) */

/* kind words */
.voices__head { max-width: 30ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.voices__head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; margin-top: 1.2rem; letter-spacing: -0.01em; }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); }
@media (max-width: 820px) { .voices__grid { grid-template-columns: 1fr; gap: 2.6rem; } }
.voice { display: flex; flex-direction: column; gap: 1.3rem; }
.voice__logo { position: relative; width: 88px; height: 50px; opacity: .85; }
.voice__logo .ph span { font-size: .54rem; padding: .4rem; }
.voice blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.46; letter-spacing: 0; color: var(--cream); text-wrap: pretty; }
.voice figcaption { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-top: auto; }

/* text placeholders (client fills these in) */
.text-ph { display: grid; align-items: center; min-height: 5.5rem; margin-top: 1.4rem; padding: 1rem 1.2rem; background-color: rgba(236,231,214,0.03); background-image: repeating-linear-gradient(45deg, rgba(236,231,214,0.05) 0 1px, transparent 1px 11px); border: 1px solid rgba(236,231,214,0.14); }
.text-ph span { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(236,231,214,0.5); }

/* services */
.services__head { max-width: 30ch; margin-bottom: 3.5rem; }
.services__head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem,6vw,5rem); line-height: 1.02; margin-top: 1.4rem; letter-spacing: -0.03em; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2vw,2rem); }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { border-top: 1px solid rgba(240,233,216,0.22); padding-top: 1.6rem; display: flex; flex-direction: column; min-height: 24rem; transition: transform .5s var(--ease); }
.tier:hover { transform: translateY(-8px); }
.tier__name { font-family: var(--serif); font-style: normal; font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.tier__price { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--gold); margin-top: .5rem; }
.tier__desc { margin-top: 1.2rem; font-size: .98rem; line-height: 1.6; color: rgba(240,233,216,0.78); }
.tier__list { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: .55rem; }
.tier__list li { font-size: .9rem; color: rgba(240,233,216,0.72); padding-left: 1.2rem; position: relative; }
.tier__list li::before { content: "—"; position: absolute; left: 0; color: var(--terra); }
.tier__spacer { flex: 1; }
.tier__tag { margin-top: 1.6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(240,233,216,0.5); }

/* about */
.about { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.about__portrait { position: relative; aspect-ratio: 4/5; width: 100%; overflow: hidden; margin: 0; background: var(--paper-2); }
.about__portrait img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about__text { padding-top: clamp(.5rem, 4vh, 2.5rem); }
.about h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem,5.5vw,4.2rem); line-height: 1; margin: .9rem 0 0; letter-spacing: -0.015em; }
.about__kicker { color: var(--terra); }
.about__meta { margin-top: .55rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); letter-spacing: 0; }
.about h2 em { font-style: normal; color: var(--terra); }
.about p { margin-top: 1.5rem; font-size: 1.02rem; line-height: 1.72; color: var(--ink-2); max-width: 52ch; }
.about p + p { margin-top: 1.1rem; }
.about__sign { margin-top: 1.8rem; font-family: var(--serif); font-style: normal; font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em; }
.about__stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.about__stats div span { font-family: var(--serif); font-weight: 700; font-size: 2.5rem; letter-spacing: -0.02em; display: block; line-height: 1; }
.about__stats div small { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* contact */
.contact { position: relative; display: grid; place-items: center; overflow: hidden; z-index: 1; background: transparent; padding: clamp(7rem, 15vh, 11.5rem) 0 clamp(4rem, 9vh, 7rem); }
.contact__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 48% at 50% 34%, rgba(243,200,214,0.16), rgba(243,200,214,0.07) 42%, transparent 74%),
    radial-gradient(80% 60% at 50% 120%, rgba(96,90,44,0.32), rgba(96,90,44,0.15) 42%, transparent 74%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 70%, transparent 100%);
}
.contact__inner { position: relative; z-index: 2; width: 100%; max-width: 720px; padding: 0 var(--pad); text-align: center; color: var(--cream); }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.96; letter-spacing: -0.015em; }
.contact p { margin-top: 1.2rem; color: rgba(240,233,216,0.85); font-size: 1.05rem; }
.form { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; text-align: left; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .4rem; position: relative; }
.field label { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(240,233,216,0.6); }
.field input, .field textarea { background: transparent; border: none; border-bottom: 1px solid rgba(240,233,216,0.3); color: var(--cream); font-family: var(--sans); font-size: 1rem; padding: .6rem 0; transition: border-color .4s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: rgba(236,231,214,0.34); opacity: 1; }
.field textarea { resize: none; min-height: 5.2rem; }
.field .hint { position: absolute; top: 100%; left: 0; margin-top: .3rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); opacity: 0; transform: translateY(-3px); animation: hintIn .45s var(--ease) forwards; pointer-events: none; }
@keyframes hintIn { to { opacity: 1; transform: none; } }
.field.invalid input, .field.invalid textarea { border-color: var(--terra); }
.form .submit { grid-column: 1 / -1; justify-self: center; margin-top: 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .7rem; cursor: none; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: 1rem 2rem; border-radius: 0; border: 1px solid currentColor; background: transparent; color: inherit; text-decoration: none; transition: background .4s var(--ease), color .4s var(--ease), transform .12s var(--ease); }
.btn--solid { background: var(--cream); color: var(--dark); border-color: var(--cream); }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* footer */
.footer { position: relative; background: transparent; color: rgba(240,233,216,0.7); padding: clamp(3rem,7vh,5rem) var(--pad) 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-end; z-index: 1; }
.footer__brand { display: flex; align-items: center; gap: .7rem; font-family: var(--sans); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.03em; color: var(--cream); }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
/* Desktop: die zwei logischen Gruppen verhalten sich wie eine Reihe */
.footer__links-row { display: contents; }
.footer__mail-short { display: none; }
.footer__links a { color: inherit; text-decoration: none; font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: .02em; text-transform: none; transition: color .3s var(--ease); }
.footer__links a:hover { color: var(--blue); }
.footer__fine { width: 100%; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(240,233,216,0.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(240,233,216,0.45); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  [data-parallax] { transform: none !important; }
}

/* ---------- phones ---------- */
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .form .full { grid-column: 1; }
}

/* ---------- nav dropdown (Portfolio-Kategorien) ---------- */
.nav__drop { position: relative; }
.nav__drop > a { display: inline-flex; align-items: center; gap: .5rem; }
.nav__caret { display: inline-block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .45s var(--ease), margin .45s var(--ease); }
.nav__drop:hover .nav__caret, .nav__drop:focus-within .nav__caret { transform: rotate(225deg); margin-top: 2px; }
.nav__panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); padding-top: 1rem; opacity: 0; visibility: hidden; filter: blur(5px); transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease), visibility 0s linear .45s; }
.nav__drop:hover .nav__panel, .nav__drop:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateX(-50%); filter: blur(0); transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease); }
.nav__panel-in { min-width: 14.5rem; background: rgba(17,15,8,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(236,231,214,0.12); padding: .55rem; display: flex; flex-direction: column; }
.nav__panel-in a { display: flex; align-items: baseline; gap: .85rem; padding: .62rem .85rem; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.14rem; letter-spacing: 0; text-transform: lowercase; color: var(--cream); text-decoration: none; opacity: 0; transform: translateY(9px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease), background .3s var(--ease); }
.nav__panel-in a .num { font-family: var(--mono); font-style: normal; font-size: .58rem; letter-spacing: .2em; color: var(--gold); }
.nav__panel-in a:hover { color: var(--blue); background: rgba(236,231,214,0.05); opacity: 1; }
.nav__drop:hover .nav__panel-in a, .nav__drop:focus-within .nav__panel-in a { opacity: 1; transform: none; }
.nav__drop:hover .nav__panel-in a:nth-child(1), .nav__drop:focus-within .nav__panel-in a:nth-child(1) { transition-delay: .06s; }
.nav__drop:hover .nav__panel-in a:nth-child(2), .nav__drop:focus-within .nav__panel-in a:nth-child(2) { transition-delay: .12s; }
.nav__drop:hover .nav__panel-in a:nth-child(3), .nav__drop:focus-within .nav__panel-in a:nth-child(3) { transition-delay: .18s; }

/* mobile menu — category sub-links */
.mmenu__sub { display: flex; flex-wrap: wrap; gap: .55rem .95rem; margin: 0 0 .5rem 1.45rem; opacity: 0; transition: opacity .5s var(--ease) .18s; }
body.menu-open .mmenu__sub { opacity: 1; }
.mmenu__sub a { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(236,231,214,0.6); text-decoration: none; transition: color .3s var(--ease); }
.mmenu__sub a:hover { color: var(--blue); }

/* ---------- rechtliches overlay (impressum / datenschutz) ---------- */
.footer__fine a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
.footer__fine a:hover { color: var(--blue); }
.legal { position: fixed; inset: 0; z-index: 2450; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(13,12,6,0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.legal.open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
body.legal-open { overflow: hidden; }
.legal__panel { width: min(92vw, 720px); max-height: 84vh; display: flex; flex-direction: column; background: rgba(20,18,10,0.92); border: 1px solid rgba(236,231,214,0.14); padding: clamp(1.6rem, 4vw, 2.6rem); transform: translateY(16px); transition: transform .5s var(--ease); }
.legal.open .legal__panel { transform: none; }
.legal__head { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.legal__tabs { display: flex; gap: 1.2rem; }
.legal__close { margin-left: auto; }
.legal__title { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: lowercase; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--cream); margin-top: 1.4rem; }
.legal__body { margin-top: 1.2rem; overflow-y: auto; padding-right: .8rem; scrollbar-width: thin; scrollbar-color: rgba(236,231,214,0.25) transparent; }
.legal__body h3 { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 1.5rem 0 .5rem; }
.legal__body h3:first-child { margin-top: .2rem; }
.legal__body p { font-size: .92rem; line-height: 1.7; color: rgba(236,231,214,0.78); }
.legal__body p + p { margin-top: .6rem; }
.lgl-ph { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--terra); background: rgba(231,173,191,0.08); border: 1px dashed rgba(231,173,191,0.35); padding: .05rem .35rem; white-space: nowrap; }
.lgl-stand { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,231,214,0.45); margin-top: 1.6rem; }
.lgl-note { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(236,231,214,0.12); font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(236,231,214,0.4); }

/* ---------- mobil: kategorien kompakt ----------
   Drei kleine Portraits nebeneinander statt drei volle Screens
   untereinander; der Titel steht über der Reihe statt als Overlay.
   (Steht am Dateiende, damit es die späteren .cat__title-Basisregeln
   sicher überschreibt.) */
@media (max-width: 640px) {
  /* Titel liegt wie auf Desktop AUF der Reihe — aber kompakt:
     kein Kicker, kleiner Name unten links, nur der Pfeil rechts */
  .cat__title {
    padding: 2.6rem var(--pad) .8rem;
    gap: 0;
    font-size: 1.5rem;
    background: linear-gradient(to top, rgba(14,13,7,0.6) 0%, rgba(14,13,7,0.28) 48%, transparent 100%);
  }
  .cat__kicker { display: none; }
  .cat__link { font-size: 0; gap: 0; padding: .45rem 0 .45rem 1rem; }
  .cat__link .cat__arrow { font-size: 1.05rem; }
  /* Reihe etwas höher, damit Foto überm Verlauf frei bleibt */
  .cat__cell { aspect-ratio: 3 / 4.6; }
  /* Faden: schmale Screens brauchen mehr Seitenzug, sonst wirkt er gerade */
  .intro .node { left: 8% !important; }
  #work .node { left: 94% !important; top: 60% !important; }
  #film .node { left: 6% !important; top: 60% !important; }
  #portrait-cat .node { left: 94% !important; top: 60% !important; }
  #about .node { left: 94% !important; }
  /* Routen-Ende direkt über dem „Kontakt“-Label */
  .contact .node { top: 9% !important; }

  /* Footer: fixe zwei Zeilen — Seiten-Links / Social + Mail */
  .footer__links { flex-direction: column; gap: .9rem; }
  .footer__links-row { display: flex; gap: 1.6rem; }
  .footer__mail-full { display: none; }
  .footer__mail-short { display: inline; }
}

/* ---------- taktiler druckpunkt ----------
   Einheitlich für alles Button-artige: beim Drücken 1px absenken und
   minimal verkleinern — spürbar auf Touch wie Maus. */
.btn:active, .fx:active, .cat__link:active, .nav__burger:active,
.footer__links a:active, .mmenu__inner > a:active, .mmenu__foot a:active {
  transform: translateY(1px) scale(0.98);
}
.nav__burger { transition: transform .12s var(--ease); }

/* ---------- tastatur-fokus ----------
   Die Site versteckt den Cursor — Tastatur-Nutzer brauchen einen klaren
   Ring. :focus-visible greift nur bei Tastatur, nie beim Klicken. */
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- reduced motion für keyframe-animationen ---------- */
@media (prefers-reduced-motion: reduce) {
  .loader__mark, .loader__title, .loader__eyebrow,
  body.entered .hero__content, .field .hint {
    animation: none !important; opacity: 1; filter: none; transform: none;
  }
}
