@import url('fonts.css');

/* ============================================================
   RoerschVisuals — style.css  v5
   Sauber. Einheitlich. Kein Duplikat. Kein Widerspruch.
   ============================================================ */


/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */

:root {
  --nav-h:    72px;
  --max:      1300px;
  --radius:   28px;
  --radius-s: 16px;
  --ease:   .65s cubic-bezier(.22,.68,0,1.12);
  --easef:  .32s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg:         #080705;
  --bg2:        #0f0e0b;
  --bg3:        #181610;
  --text:       #ede8df;
  --muted:      #9e968e;
  --muted2:     #5a544c;
  --border:     rgba(255,255,255,.07);
  --panel:      rgba(255,255,255,.03);
  --gold:       #c8a96e;
  --gold2:      #e8d4a8;
  --gold-glow:  rgba(200,169,110,.14);
  --nav-bg:     rgba(8,7,5,.84);
  --overlay:    rgba(6,5,3,.70);
  --overlay2:   rgba(6,5,3,.90);
  /* Overlay-Karten auf Fotos — immer dunkel */
  --glass-bg:     rgba(6,5,3,.54);
  --glass-border: rgba(255,255,255,.09);
  --glass-text:   #ede8df;
  --glass-muted:  rgba(237,232,223,.62);
}

[data-theme="light"] {
  --bg:         #f7f4ef;
  --bg2: #f2efe8;   /* ALT: #efebd4 — weniger gelb, neutraler */
  --bg3: #eae7e0;   /* ALT: #e4e0d5 — gleiche Richtung */
  --text:       #1a1710;
  --muted:      #6b6358;
  --muted2:     #a89e92;
  --border:     rgba(0,0,0,.08);
  --panel:      rgba(0,0,0,.03);
  --gold:       #9a6e38;
  --gold2:      #6e4e22;
  --gold-glow:  rgba(154,110,56,.10);
  --nav-bg:     rgba(247,244,239,.92);
  --overlay:    rgba(247,244,239,.28);
  --overlay2:   rgba(247,244,239,.52);
  /* Overlay-Karten auf Fotos — AUCH im Light Mode dunkel */
  --glass-bg:     rgba(6,5,3,.52);
  --glass-border: rgba(255,255,255,.10);
  --glass-text:   #ede8df;
  --glass-muted:  rgba(237,232,223,.60);
}


/* ── SCROLLBAR ────────────────────────────────────────────── */

html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold2); }


/* ── DISPLAY FONT ─────────────────────────────────────────── */

.hero h1,
.sh h2,
.card h2,
.gallery-title-main,
.manifesto blockquote,
.st-quote,
.sp-content h3,
.gi-title,
.whi-title-group h1,
.work-text h2,
.imp-hero h1,
.imp-section h2,
.wnav-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Serifenschrift braucht weniger Negativtracking als Inter */
.hero h1              { letter-spacing: -.022em; }
.sh h2                { letter-spacing: -.018em; }
.gallery-title-main   { letter-spacing: -.018em; }
.manifesto blockquote { letter-spacing: -.018em; font-style: italic; }
.card h2              { letter-spacing: -.012em; }
.gi-title             { letter-spacing: -.018em; }
.whi-title-group h1   { letter-spacing: -.022em; }
.imp-hero h1          { letter-spacing: -.022em; }
.imp-section h2       { letter-spacing: -.018em; }
.work-text h2         { letter-spacing: -.018em; }


/* ── 2. RESET ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/*html { scroll-behavior: smooth; }*/
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .5s, color .5s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }


/* ── 3. LAYOUT UTILITIES ──────────────────────────────────── */

.c { width: min(calc(100% - 44px), var(--max)); margin: 0 auto; }

.eyebrow {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: block;
}

section { padding: 88px 0; }


/* ── 4. NAVIGATION ────────────────────────────────────────── */

.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  transition: background .4s;
}
.nav-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .35;
}
.nav {
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 32px; width: auto; display: block; color: var(--text);
  transition: opacity .35s;
}
.brand:hover .brand-logo { opacity: .55; }

.nav-links {
  display: flex; gap: 36px;
  font-size: 10px; letter-spacing: .20em; text-transform: uppercase;
  color: var(--muted2);
}
.nav-links a {
  position: relative; padding-bottom: 2px;
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -1px;
  left: 0; right: 100%; height: 1px;
  background: var(--gold);
  transition: right .3s var(--easef);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 10px; }


/* ── 5. THEME TOGGLE ──────────────────────────────────────── */

.theme-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  display: grid; place-items: center; cursor: pointer;
  color: var(--muted);
  transition: border-color .3s, color .3s;
}
.theme-btn:hover { border-color: var(--gold); color: var(--gold); }

.aperture-icon { width: 22px; height: 22px; display: block; overflow: visible; }
.ap-ring { opacity: .38; transition: opacity .3s; }
.theme-btn:hover .ap-ring { opacity: .85; }
.ap-blades {
  transition: transform .7s cubic-bezier(.22,.68,0,1.1), opacity .5s;
}
[data-theme="dark"]  .ap-blades { transform: rotate(0deg);  opacity: 1; }
[data-theme="light"] .ap-blades { transform: rotate(30deg); opacity: .2; }
.ap-blade { fill: currentColor; }
.ap-center { transition: r .6s cubic-bezier(.22,.68,0,1.1); }
[data-theme="dark"]  .ap-center { r: 4px; }
[data-theme="light"] .ap-center { r: 9px; }


/* ── 6. HAMBURGER ─────────────────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 50%;
  background: transparent; cursor: pointer; flex-shrink: 0;
  transition: border-color .3s;
}
.hamburger:hover { border-color: var(--gold); }
.hamburger span {
  display: block; width: 15px; height: 1px;
  background: var(--muted); border-radius: 1px;
  transition: transform .35s cubic-bezier(.22,.68,0,1.1), opacity .22s, width .28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ── 7. MOBILE FULLSCREEN MENÜ ────────────────────────────── */

#menuOverlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: var(--bg); flex-direction: column;
}
#menuOverlay.open { display: flex; }

.menu-top {
  position: relative;
  padding: 26px 24px 22px; border-bottom: 1px solid var(--border);
  text-align: center; flex-shrink: 0;
}
.menu-top::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  height: 1px; width: 0; background: var(--gold);
}
#menuOverlay.open .menu-top::after {
  animation: menuGold .6s .08s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes menuGold { to { width: 100%; } }

.menu-top-name {
  font-size: 11px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--text);
}
.menu-top-sub {
  font-size: 10px; letter-spacing: .14em; color: var(--muted); margin-top: 7px;
}
.menu-links {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.menu-links a {
  position: relative;
  display: block; width: 100%; text-align: center;
  font-size: 30px; font-weight: 300; letter-spacing: .02em;
  color: var(--text); padding: 12px 48px;
  opacity: 0; animation: fadeUp .4s forwards;
  transition: color .25s;
}
.menu-links a::after {
  content: ''; position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.menu-links a:hover { color: var(--gold); }
.menu-links a:hover::after { width: 32px; }
.menu-links a:nth-child(1) { animation-delay: .14s; }
.menu-links a:nth-child(2) { animation-delay: .21s; }
.menu-links a:nth-child(3) { animation-delay: .28s; }
.menu-links a:nth-child(4) { animation-delay: .35s; }

.menu-bottom {
  padding: 18px 24px 32px; border-top: 1px solid var(--border);
  text-align: center; font-size: 10px;
  letter-spacing: .14em; color: var(--muted2); flex-shrink: 0;
}


/* ── 8. HERO ──────────────────────────────────────────────── */

.hero { padding-top: var(--nav-h); }

.hero-screen {
  position: relative; min-height: 100svh; overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 62% center;
  transform: scale(1.03);
  transition: transform 14s cubic-bezier(.22,.68,0,1);
}
.hero-bg.loaded { transform: scale(1.0); }

/* Zwei-Achsen-Gradient: links und unten dunkel, Mitte lebt */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg,
      rgba(0,0,0,.90) 0%,
      rgba(0,0,0,.70) 24%,
      rgba(0,0,0,.30) 52%,
      rgba(0,0,0,.06) 72%,
      rgba(0,0,0,0) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,.06) 0%,
      rgba(0,0,0,.03) 35%,
      rgba(0,0,0,.44) 100%);
}
/* Light Mode: gleich stark — Text muss immer lesbar sein */
[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(102deg,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.66) 24%,
      rgba(0,0,0,.26) 52%,
      rgba(0,0,0,.04) 72%,
      rgba(0,0,0,0) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,.04) 0%,
      rgba(0,0,0,.02) 35%,
      rgba(0,0,0,.38) 100%);
}

/* Content-Layer — volle Breite, Text sitzt unten */
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end;
  padding-bottom: 64px;
}

/* Stage: Text links, Signatur rechts — beide an der Unterkante */
.hero-stage {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}

/* ── Text-Block ─ */
.hero-text { flex: 0 0 auto; }

/* Kicker: Eyebrow + horizontale Gold-Linie */
.hero-kicker {
  display: flex; align-items: center; gap: 18px; margin-bottom: 28px;
  opacity: 0; animation: fadeUp .7s .08s cubic-bezier(.22,.68,0,1.1) forwards;
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(200,169,110,.80); white-space: nowrap; margin-bottom: 0;
}
.hero-kicker-rule {
  display: block; height: 1px; width: 44px; flex-shrink: 0;
  background: linear-gradient(90deg, rgba(200,169,110,.70), transparent);
}

/* Headline — freistehend auf Gradient, kein Container */
.hero h1 {
  font-size: clamp(58px, 8.5vw, 132px); line-height: .84;
  letter-spacing: -.065em; color: #f4efe6;
  font-weight: 300; margin: 0 0 36px; max-width: 11ch;
  text-shadow: 0 2px 40px rgba(0,0,0,.22);
  opacity: 0; transform: translateY(40px);
  animation: fadeUp 1.0s .20s cubic-bezier(.22,.68,0,1.1) forwards;
}

/* Tagline + CTA */
.hero-foot {
  display: flex; flex-direction: column; gap: 18px;
  opacity: 0; transform: translateY(22px);
  animation: fadeUp .85s .44s cubic-bezier(.22,.68,0,1.1) forwards;
}
.hero-tagline {
  font-size: 15px; line-height: 1.75; color: rgba(244,239,230,.52);
  max-width: 26ch; margin: 0;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(200,169,110,.88);
  border-bottom: 1px solid rgba(200,169,110,.25); padding-bottom: 3px;
  transition: color .3s, border-color .3s, gap .32s;
  width: fit-content;
}
.hero-cta:hover { color: var(--gold2); border-color: rgba(232,212,168,.54); gap: 17px; }
.hero-cta-arrow { font-size: 13px; transition: transform .35s var(--ease); }
.hero-cta:hover .hero-cta-arrow { transform: translateY(5px); }

/* ── Signatur rechts — Jahr + vertikale Linie + Kategorie ─ */
.hero-sig {
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  flex-shrink: 0; padding-bottom: 6px;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .7s .60s cubic-bezier(.22,.68,0,1.1) forwards;
}
.hs-year {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(200,169,110,.72);
}
.hs-rule {
  display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(200,169,110,.60), transparent);
  margin-left: auto;
}
.hs-cat {
  font-size: 9px; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(244,239,230,.35);
}


/* ── FILM GRAIN (Hero) ────────────────────────────────────── */

.hero-screen::before {
  content: '';
  position: absolute;
  inset: -60px;
  z-index: 4;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain .36s steps(1) infinite;
}
[data-theme="light"] .hero-screen::before { opacity: .035; }


/* ── Split-Text Hero ──────────────────────────────────────── */

.sw { display: inline-block; }
.si {
  display: inline-block;
  transform: translateY(28px);
  opacity: 0;
  transition: transform .80s cubic-bezier(.22,.68,0,1.1), opacity .60s ease;
}
.si.si-in { transform: translateY(0); opacity: 1; }


/* ── 9. SECTION HEADERS ───────────────────────────────────── */

.sh  { margin-bottom: 56px; }
.sh-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sh h2 {
  font-size: clamp(32px, 4.2vw, 62px); letter-spacing: -.055em;
  line-height: .96; margin-bottom: 8px;
}
.sh p { color: var(--muted); max-width: 500px; font-size: 14px; line-height: 1.75; }


/* ── 10. EDITORIAL STRIP ──────────────────────────────────── */

.strip {
  display: grid; grid-template-columns: 1.10fr .90fr;
  gap: 22px; height: 760px;
}
.sp {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg2); cursor: pointer;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.sp:hover { transform: translateY(-4px); box-shadow: 0 28px 72px rgba(0,0,0,.28); }
.sp-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform .9s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.sp:hover .sp-bg { transform: scale(1.0); }

/* Gradient — immer dunkel. Gilt für beide Modi. */
.sp::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,5,3,.86));
}

/* Glasbox — immer dunkel. var(--glass-*) ist in beiden Themes dark. */
.sp-content {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-s);
  padding: 16px 20px;
}
.sp-content h3 {
  font-size: clamp(17px, 2vw, 28px); font-weight: 400;
  letter-spacing: -.03em; line-height: 1.08;
  color: var(--glass-text); margin-bottom: 6px;
}
.sp-content p {
  font-size: 13px; line-height: 1.65;
  color: var(--glass-muted); margin: 0;
}
.sp-right { display: grid; gap: 22px; grid-template-rows: 1fr auto 1fr; }
.sp-half  { min-height: 240px; }

/* Philosophie-Textkarte */
.strip-text {
  display: flex; flex-direction: column; justify-content: center;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: radial-gradient(circle at 80% 20%, var(--gold-glow), transparent 52%), var(--bg2);
  padding: 34px 30px;
}
.st-label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.st-quote {
  font-size: clamp(20px, 2.5vw, 36px); font-weight: 400;
  letter-spacing: -.04em; line-height: 1.08;
  color: var(--text); max-width: 14ch; margin-bottom: 18px;
}
.st-body { font-size: 14px; line-height: 1.75; color: var(--muted); }
.st-body strong { color: var(--text); font-weight: 500; }


/* ── 11. MANIFESTO ────────────────────────────────────────── */

.manifesto {
  padding: 68px 64px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--panel);
  position: relative; overflow: hidden;
}
.manifesto::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 68%);
  pointer-events: none;
}
.manifesto blockquote {
  font-size: clamp(26px, 3.4vw, 50px); line-height: 1.08;
  letter-spacing: -.05em; max-width: 22ch;
  margin-bottom: 24px; font-style: normal; color: var(--text);
}
.manifesto cite {
  font-style: normal; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted2);
}


/* ── 12. FULLSCREEN GALLERY ───────────────────────────────── */

#portfolio { padding: 0; }
.gallery-header { padding: 88px 0 56px; }
.gallery-sticky {
  display: grid; grid-template-columns: 360px 1fr; gap: 0; align-items: start;
}
.gallery-nav {
  position: sticky; top: var(--nav-h);
  height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: 44px 44px 44px 0;
  border-right: 1px solid var(--border);
}
.gallery-index {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 28px;
}
.gallery-title-main {
  font-size: clamp(36px, 3.6vw, 58px); line-height: .93;
  letter-spacing: -.05em; margin-bottom: 10px;
  transition: opacity .4s, transform .4s;
}
.gallery-title-sub {
  font-size: 16px; color: var(--muted); margin-bottom: 22px;
  transition: opacity .4s, transform .4s;
}
.gallery-cap {
  font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 30px;
  transition: opacity .4s, transform .4s;
}
.gallery-meta { display: flex; flex-direction: column; gap: 14px; }
.gmeta-lbl { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted2); margin-bottom: 3px; }
.gmeta-val { font-size: 13px; color: var(--muted); }
.gallery-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid rgba(200,169,110,.28);
  padding-bottom: 3px; transition: gap .3s, border-color .3s, color .3s;
}
.gallery-link:hover { gap: 16px; border-color: var(--gold); color: var(--gold2); }
.gallery-link::after { content: '→'; }
.gallery-items { padding: 0 0 0 44px; }

.gi {
  position: relative; margin-bottom: 20px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); background: var(--bg2);
  height: 86svh; min-height: 500px; cursor: pointer;
  box-shadow: 0 12px 48px rgba(0,0,0,.20);
  transition: box-shadow .5s, opacity .4s;
}
.gi:last-child { margin-bottom: 0; }
.gi-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform .9s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.gi:hover .gi-bg { transform: scale(1.0); }
.gi:hover { box-shadow: 0 40px 100px rgba(0,0,0,.38); }

/* Gradient — immer dunkel, beide Modi */
.gi::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(6,5,3,.88));
}

.gi-corner {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.40); backdrop-filter: blur(12px);
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

/* Glasbox — immer dunkel, beide Modi */
.gi-bottom {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-s);
  padding: 14px 18px;
}
.gi-title {
  font-size: clamp(20px, 2.6vw, 36px); letter-spacing: -.04em;
  color: var(--glass-text); font-weight: 400;
}
.gi-loc {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--glass-muted); margin-top: 6px;
}
.gi-num {
  font-size: clamp(44px, 5vw, 76px); letter-spacing: -.04em;
  color: rgba(255,255,255,.10); line-height: 1; font-weight: 700;
}
.gi-mobile-meta { display: none; }


/* ── 13. ABOUT / CONTACT ──────────────────────────────────── */

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.card {
  padding: 40px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg2);
}
.card h2 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.04em; margin-bottom: 16px; }
.card p  { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.card p:last-of-type { margin-bottom: 0; }
.about-closing {
  font-size: 14px; font-style: italic;
  color: var(--muted2); margin-top: 4px;
}
.about-quote {
  font-size: clamp(17px, 1.8vw, 22px); font-weight: 400;
  letter-spacing: -.02em; line-height: 1.3; color: var(--text);
  border-left: 1.5px solid var(--gold); padding-left: 20px; margin: 0 0 28px;
}
.about-quote span {
  display: block; font-size: 10px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted2); margin-top: 8px;
}
.notes { display: grid; gap: 14px; margin-top: 22px; }
.note  { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.note:last-child { border-bottom: 0; }
.note .lbl { font-size: 9px; letter-spacing: .20em; text-transform: uppercase; color: var(--muted2); margin-bottom: 6px; }
.note .val { font-size: 14px; }
.note a { border-bottom: 1px solid var(--border); padding-bottom: 1px; transition: color .22s, border-color .22s; }
.note a:hover { color: var(--gold2); border-color: var(--gold2); }


/* ── 14. FOOTER ───────────────────────────────────────────── */

footer { padding: 32px 0 48px; }
.foot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted2);
}
.foot-links { display: flex; gap: 24px; }
.foot a:hover { color: var(--muted); }
.foot-brand { display: flex; align-items: center; }
.foot-logo { height: 22px; width: auto; color: var(--muted2); opacity: .45; transition: opacity .3s; }
.foot-brand:hover .foot-logo { opacity: .75; }


/* ── 15. SCROLL-UP BUTTON ─────────────────────────────────── */

.scroll-up {
  position: fixed; bottom: 100px; right: 32px; z-index: 200;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  display: grid; place-items: center; cursor: pointer; color: var(--muted);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .4s var(--easef), transform .4s var(--ease), border-color .3s, color .3s;
}
.scroll-up.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-up:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }


/* ── PROGRESS BAR ─────────────────────────────────────────── */

#progressBar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  z-index: 10000;
  pointer-events: none;
  transform-origin: left;
  transition: width .10s linear;
}


/* ── 16. WERK-SEITE ───────────────────────────────────────── */

.work-hero {
  position: relative; height: 100svh; min-height: 600px;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.work-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform 10s cubic-bezier(.22,.68,0,1);
  will-change: transform;
}
.work-bg.loaded { transform: scale(1.0); }

/* Stark nach unten dunkler — freistehender Text braucht Kontrast */
.work-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.06) 0%, rgba(0,0,0,.04) 28%,
      rgba(0,0,0,.58) 64%, rgba(0,0,0,.88) 100%),
    linear-gradient(90deg,
      rgba(0,0,0,.38) 0%, rgba(0,0,0,.18) 40%,
      rgba(0,0,0,0) 72%);
}

.work-hero-content { position: absolute; inset: 0; z-index: 2; padding: 16px 0 56px; }
.work-hero-inner {
  display: flex; flex-direction: column;
  justify-content: space-between; height: 100%;
}
.whi-top { }
.whi-bottom {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}

/* Titel — freistehend auf Gradient, kein Glaskasten */
.whi-title-group {
  flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.whi-title-group h1 {
  font-size: clamp(38px, 5.5vw, 88px); font-weight: 300;
  letter-spacing: -.055em; line-height: .88;
  color: #f4efe6;
  text-shadow: 0 2px 40px rgba(0,0,0,.30);
  margin: 0; padding: 0;
  background: none; border: none;
  border-radius: 0; backdrop-filter: none;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp .9s .1s cubic-bezier(.22,.68,0,1.1) forwards;
}
.work-subtitle {
  font-size: 14px; letter-spacing: .08em;
  color: rgba(244,239,230,.50);
  background: none; border: none; border-radius: 0;
  backdrop-filter: none; padding: 0;
}

/* Back-Pill: bleibt als Glasel für Navigation */
.back-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); border-radius: 999px;
  padding: 7px 16px; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--glass-text); transition: background .3s;
}
.back-pill:hover { background: rgba(6,5,3,.74); }

/* Meta-Pills — bleibt als gläserne Metadaten */
.work-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.wm-pill {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 10px 16px; min-width: 80px;
}
.wm-lbl { font-size: 9px; letter-spacing: .20em; text-transform: uppercase; color: var(--glass-muted); margin-bottom: 4px; }
.wm-val { font-size: 13px; color: var(--glass-text); }

.work-body {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 80px; padding: 80px 0 100px; align-items: start;
}
.work-text h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.045em; line-height: 1.04; margin-bottom: 28px; }
.work-text p  { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 58ch; margin-bottom: 18px; }
.work-text .quote { font-size: 14px; font-style: italic; color: var(--muted2); margin-top: 28px; }
.work-sidebar { position: sticky; top: 100px; }
.work-sidebar-card {
  padding: 28px; border-radius: 22px;
  border: 1px solid var(--border); background: var(--bg2); margin-bottom: 16px;
}
.work-sidebar-card h3 { font-size: 10px; letter-spacing: .20em; text-transform: uppercase; color: var(--muted2); margin-bottom: 18px; }
.meta-list { display: grid; gap: 14px; }
.meta-item { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.meta-item:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-lbl { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted2); margin-bottom: 4px; }
.meta-val { font-size: 14px; color: var(--muted); }
.meta-val a { border-bottom: 1px solid var(--border); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.meta-val a:hover { color: var(--gold2); border-color: var(--gold2); }

.work-fullbleed {
  display: block; width: 100%; aspect-ratio: 3/2;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg2);
  object-fit: cover; object-position: center;
  margin: 0 0 80px;
}
.work-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: 60px 0; border-top: 1px solid var(--border);
}
.wnav-card {
  position: relative; height: 320px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); background: var(--bg2); display: block;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.wnav-card:hover { transform: translateY(-5px); box-shadow: 0 32px 80px rgba(0,0,0,.40); }
.wnav-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform .8s cubic-bezier(.4,0,.2,1);
}
.wnav-card:hover .wnav-bg { transform: scale(1.0); }
.wnav-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(6,5,3,.82));
}
.wnav-content { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.wnav-dir   { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted2); margin-bottom: 8px; }
.wnav-title { font-size: 22px; letter-spacing: -.03em; color: var(--glass-text); }
.wnav-sub   { font-size: 13px; color: var(--glass-muted); margin-top: 4px; }


/* ── 17. IMPRESSUM ────────────────────────────────────────── */

.imp-hero { padding: 160px 0 80px; border-bottom: 1px solid var(--border); }
.imp-hero h1 {
  font-size: clamp(52px, 8vw, 120px); line-height: .88;
  letter-spacing: -.06em; margin-bottom: 24px;
  opacity: 0; transform: translateY(40px);
  animation: fadeUp .9s .1s cubic-bezier(.22,.68,0,1.1) forwards;
}
.imp-hero p {
  color: var(--muted); font-size: 17px; max-width: 540px;
  opacity: 0; transform: translateY(22px);
  animation: fadeUp .8s .32s cubic-bezier(.22,.68,0,1.1) forwards;
}
.imp-body { display: grid; grid-template-columns: 260px 1fr; gap: 0; padding: 80px 0 120px; }
.imp-sidebar { position: sticky; top: 100px; height: fit-content; padding-right: 40px; border-right: 1px solid var(--border); }
.imp-sidebar nav { display: grid; gap: 4px; }
.imp-sidebar a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 13px; color: var(--muted); transition: background .2s, color .2s; }
.imp-sidebar a:hover, .imp-sidebar a.active { background: var(--panel); color: var(--text); }
.imp-sidebar .back { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted2); margin-bottom: 32px; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.imp-sidebar .back:hover { color: var(--muted); }
.imp-sidebar .back::before { content: '←'; }
.imp-content { padding-left: 64px; }
.imp-section { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--border); }
.imp-section:last-child { border-bottom: 0; margin-bottom: 0; }
.imp-section h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.04em; margin-bottom: 28px; }
.imp-block { display: grid; grid-template-columns: 180px 1fr; gap: 12px 32px; align-items: start; margin-bottom: 18px; }
.imp-block dt { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted2); padding-top: 2px; }
.imp-block dd { font-size: 15px; color: var(--muted); line-height: 1.75; }
.imp-block dd a { border-bottom: 1px solid var(--border); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.imp-block dd a:hover { color: var(--gold2); border-color: var(--gold2); }
.notice { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 22px; }
.notice strong { color: var(--text); }


/* ── 18. REVEAL ANIMATIONS ────────────────────────────────── */

.reveal   { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--easef), transform .85s var(--easef); }
.reveal-s { opacity: 0; transform: scale(.97);        transition: opacity .85s var(--easef), transform .85s var(--easef); }
.reveal.visible, .reveal-s.visible { opacity: 1; transform: none; }


/* ── 19. KEYFRAMES ────────────────────────────────────────── */

@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse  { 0%,100%{ opacity:.45; } 50%{ opacity:1; } }
@keyframes grain  {
  0%   { transform: translate(0,    0);    }
  10%  { transform: translate(-5%,  -10%); }
  20%  { transform: translate(-15%, 5%);   }
  30%  { transform: translate(7%,   -25%); }
  40%  { transform: translate(-5%,  25%);  }
  50%  { transform: translate(-15%, 10%);  }
  60%  { transform: translate(15%,  0%);   }
  70%  { transform: translate(0%,   15%);  }
  80%  { transform: translate(3%,   35%);  }
  90%  { transform: translate(-10%, 10%);  }
  100% { transform: translate(9%,   18%);  }
}


/* ── 20. RESPONSIVE ───────────────────────────────────────── */

@media (max-width: 1023px) {
  .hero h1            { font-size: clamp(48px, 8vw, 88px); }
  .hero-sig           { display: none; }

  .strip              { grid-template-columns: 1fr; height: auto; }
  .sp-right           { grid-template-rows: auto; }
  .sp-half            { min-height: 280px; }

  .gallery-sticky     { grid-template-columns: 1fr; }
  .gallery-nav        { position: relative; top: auto; height: auto; padding: 0 0 32px; border-right: 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
  .gallery-items      { padding-left: 0; }

  .two                { grid-template-columns: 1fr; }
  .work-body          { grid-template-columns: 1fr; gap: 40px; }
  .work-sidebar       { position: relative; top: 0; }
  .work-nav           { grid-template-columns: 1fr; }
  .whi-bottom         { flex-direction: column; align-items: flex-start; gap: 14px; }

  .imp-body           { grid-template-columns: 1fr; }
  .imp-sidebar        { position: relative; top: 0; border-right: 0; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 32px; margin-bottom: 40px; }
  .imp-content        { padding-left: 0; }
}

@media (max-width: 639px) {
  .c                  { width: min(calc(100% - 28px), var(--max)); }
  .nav-links          { display: none; }
  .hamburger          { display: flex; }
  section             { padding: 60px 0; }

  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(0,0,0,.10) 0%, rgba(0,0,0,.06) 28%,
      rgba(0,0,0,.66) 68%, rgba(0,0,0,.90) 100%);
  }
  .hero-content       { padding-bottom: 28px; }
  .hero-sig           { display: none; }
  .hero h1            { font-size: clamp(38px, 12vw, 58px); margin-bottom: 24px; }
  .hero-tagline       { font-size: 14px; }
  .hero-kicker        { margin-bottom: 20px; }

  .sh-row             { flex-direction: column; align-items: flex-start; }
  .manifesto          { padding: 40px 28px; }

  .gallery-nav        { display: none; }
  .gi                 { height: 55svh; min-height: 380px; }
  .gi-mobile-meta     {
    display: block;
    position: absolute; top: 0; left: 0; right: 0; z-index: 3;
    background: linear-gradient(180deg, rgba(6,5,3,.72) 0%, rgba(6,5,3,.18) 80%, transparent 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 16px 18px 28px;
  }
  .gmm-title { font-size: 15px; font-weight: 500; color: var(--glass-text); margin-bottom: 2px; }
  .gmm-sub   { font-size: 11px; color: var(--glass-muted); margin-bottom: 8px; }
  .gmm-pills { display: flex; gap: 8px; flex-wrap: wrap; }
  .gmm-pills span { font-size: 10px; color: var(--glass-muted); background: rgba(255,255,255,.10); border-radius: 100px; padding: 3px 10px; }

  .whi-title-group h1 { font-size: clamp(32px, 10vw, 52px); }
  .wm-pill            { padding: 8px 12px; min-width: 60px; }
  .work-hero-meta     { display: none; }
  .work-fullbleed     { height: 50svh; }
  .wnav-card          { height: 240px; }
  .card               { padding: 28px; }
  .strip-text         { padding: 24px 20px; }
}
/* ── PRELOADER ────────────────────────────────────────── */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #080705;
  opacity: 1;
  visibility: visible;
  transition: opacity .9s cubic-bezier(.22,.68,0,1.1),
              visibility .9s;
  pointer-events: all;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  height: 52px;
  width: auto;
  display: block;
  color: #ede8df;
  opacity: 0;
  transform: translateY(10px);
  animation: plFadeUp .7s .1s cubic-bezier(.22,.68,0,1.1) forwards;
}

.preloader-name {
  font-size: 11px;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: rgba(200,169,110,.72);
  opacity: 0;
  transform: translateY(8px);
  animation: plFadeUp .7s .32s cubic-bezier(.22,.68,0,1.1) forwards;
}

.preloader-rule {
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,.50), transparent);
  opacity: 0;
  animation: plFadeIn .6s .52s ease forwards;
}

@keyframes plFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes plFadeIn {
  to { opacity: 1; }
}

body.preloader-lock {
  overflow: hidden;
}
/* ── FOKUS (Barrierefreiheit) ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

