/*
Theme Name: A3M Cinematic
Theme URI: https://www.a3m-test.de/fotograf-wp/
Author: FDL IT
Author URI: https://www.fdl-it.de
Description: Cinematisches Fotografen-Theme (GSAP + Lenis Scroll, dunkel/champagner, Galerie als CMS-Inhaltstyp). Beweist, dass eine Traum-Webseite wie /fotograf auch als pflegbares WordPress läuft.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: a3m-cinematic
*/

/* ==================================================================
   A3M CINEMATIC — Design System (portiert aus der React/Vite-Vorlage)
   ================================================================== */
:root {
  --ink: #080809;
  --ink-900: #0a0a0c;
  --ink-800: #101013;
  --ink-700: #16161a;
  --ink-600: #1d1d22;
  --ink-500: #26262d;
  --bone: #efece4;
  --bone-dim: #bdb9ae;
  --bone-mute: #8a867c;
  --bone-faint: #5a564e;
  --champagne: #c8a96a;
  --champagne-light: #e2cd9c;
  --champagne-deep: #a3854c;
  --ease-cinema: cubic-bezier(0.6, 0.01, 0.05, 0.95);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);
  --pad: clamp(1.5rem, 5vw, 4rem);
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html { background: var(--ink); overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; margin: 0; }
::selection { background: var(--champagne); color: var(--ink); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--champagne); }

/* ---- helpers ---- */
.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.42em; color: rgba(200,169,106,0.85); }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: rgba(200,169,106,0.5); }
.eyebrow.center { justify-content: center; }
.display-xl { font-size: clamp(3.5rem, 12vw, 11rem); line-height: 0.92; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2.75rem, 8vw, 7rem); line-height: 0.98; letter-spacing: -0.015em; }
.display-md { font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.01em; }
.italic-gold { font-style: italic; color: var(--champagne-light); }
.lead { max-width: 46ch; color: var(--bone-dim); font-size: 1.05rem; line-height: 1.7; }
.muted { color: var(--bone-mute); }
.hairline { height: 1px; width: 100%; background: linear-gradient(90deg, transparent, rgba(239,236,228,0.15), transparent); }
.text-pretty { text-wrap: pretty; }

.btn-solid, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem; border-radius: 999px; font-family: 'Inter', sans-serif;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; cursor: pointer;
  transition: all 0.5s var(--ease-smooth);
}
.btn-solid { background: var(--champagne); color: var(--ink); border: 1px solid var(--champagne); }
.btn-solid:hover { background: var(--champagne-light); border-color: var(--champagne-light); }
.btn-outline { background: transparent; color: var(--bone); border: 1px solid rgba(239,236,228,0.25); }
.btn-outline:hover { border-color: var(--champagne); background: var(--champagne); color: var(--ink); }

/* ---- film grain ---- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 90;
  opacity: 0.05; mix-blend-mode: overlay;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 10%{transform:translate(-5%,-5%)} 30%{transform:translate(3%,-8%)} 50%{transform:translate(-4%,6%)} 70%{transform:translate(6%,3%)} 90%{transform:translate(-3%,4%)} }

/* ---- reveal (nur mit JS verstecken → ohne JS bleibt Inhalt sichtbar/SEO) ---- */
html.js .reveal { opacity: 0; transform: translateY(34px); }
html.js [data-rise] { opacity: 0; }
html.js [data-mline] { opacity: 0; }

/* ================= HEADER ================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; transition: all 0.5s var(--ease-smooth);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(8,8,9,0.8); backdrop-filter: blur(18px); border-bottom-color: rgba(239,236,228,0.08); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brandmark { display: inline-flex; align-items: baseline; gap: 0.5rem; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--bone); }
.brandmark .bm-a3m { font-weight: 500; font-style: normal; letter-spacing: 0.02em; color: var(--bone); }
.brandmark span { font-style: italic; color: var(--champagne); }
.nav { display: none; gap: 2.2rem; }
.nav a { position: relative; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--bone); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-smooth); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: none; }
.burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(239,236,228,0.2); border-radius: 999px; color: var(--bone); background: transparent; cursor: pointer; }
@media (min-width: 1024px) { .nav { display: flex; } .header-cta { display: inline-flex; } .burger { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 79; background: rgba(8,8,9,0.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease-smooth); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--bone); padding: 0.6rem 0; border-bottom: 1px solid rgba(239,236,228,0.1); }
.mobile-menu a:hover { color: var(--champagne); }

/* ================= HERO — Kamera-Reinzoom (Portal) ================= */
.hero { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
/* Die ganze "Stage" (Kamera + Display) skaliert vom Display-Mittelpunkt aus. */
.cine-stage { position: absolute; inset: 0; z-index: 0; transform-origin: 46% 55%; will-change: transform; }
.cine-camera { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Das LCD-Display der Kamera — hier lebt die Bildwelt, in die man eintaucht. */
.cine-lcd { position: absolute; left: 46%; top: 55%; width: clamp(150px, 26vw, 410px); aspect-ratio: 3 / 2; transform: translate(-50%, -50%); overflow: hidden; border-radius: 6px;
  box-shadow: 0 0 0 2px #15151a, 0 0 0 6px #08080a, 0 14px 50px rgba(0,0,0,0.6); }
.cine-lcd img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grade { position: absolute; inset: 0; z-index: 10; pointer-events: none; background: linear-gradient(to bottom, rgba(8,8,9,0.55) 0%, rgba(8,8,9,0.22) 38%, rgba(8,8,9,0.85) 100%); }
.hero-vignette { position: absolute; inset: 0; z-index: 10; pointer-events: none; background: radial-gradient(120% 100% at 50% 42%, transparent 38%, rgba(8,8,9,0.65) 100%); }
.letterbox { position: absolute; inset-inline: 0; height: 7vh; max-height: 80px; z-index: 12; pointer-events: none; }
.letterbox.top { top: 0; background: linear-gradient(to bottom, var(--ink), transparent); }
.letterbox.bottom { bottom: 0; background: linear-gradient(to top, var(--ink), transparent); }
.hero-content { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 15vh; pointer-events: none; }
.hero-content .actions { pointer-events: auto; }
.hero h1 { color: var(--bone); margin-top: 1.5rem; max-width: 15ch; }
.hero .subline { margin-top: 1.6rem; max-width: 40ch; color: var(--bone); font-size: clamp(1rem,1.6vw,1.25rem); line-height: 1.6; }
.hero .actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-hint { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: var(--bone-mute); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.42em; }
.scroll-hint .line { width: 1px; height: 46px; background: rgba(239,236,228,0.15); position: relative; overflow: hidden; }
.scroll-hint .line::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 50%; background: var(--champagne); animation: hintpulse 2.2s var(--ease-smooth) infinite; }
@keyframes hintpulse { 0%{transform:translateY(-100%)} 100%{transform:translateY(200%)} }

/* ============ PARALLAX-FOTO-GRID (Visuelle Poesie) ============ */
.poetry { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
.poetry-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: blur(22px); will-change: transform; }
.poetry-tint { position: absolute; inset: 0; background: rgba(8,8,9,0.75); }
.p2-photo { position: absolute; border-radius: 3px; overflow: hidden; box-shadow: 0 26px 55px -14px rgba(0,0,0,0.78); will-change: transform; }
.p2-photo img { display: block; width: 100%; height: auto; }
.poetry-text { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--pad); }
.poetry-inner { position: relative; max-width: 32rem; }
.poetry-halo { position: absolute; left: -6rem; right: -6rem; top: -5rem; bottom: -5rem; background: radial-gradient(50% 50% at 50% 50%, rgba(8,8,9,0.82) 0%, rgba(8,8,9,0.5) 45%, transparent 75%); }
.poetry-text .eyebrow { justify-content: center; }
.poetry-text h2 { margin-top: 1.4rem; color: var(--bone); }
.poetry-text .lead { color: var(--bone-dim); }

/* ============ FOTOGRAF FLASH-SWAP (Blitz + Szenenwechsel) ============ */
.flashswap { position: relative; height: 100svh; overflow: hidden; background: var(--ink);
  border-radius: 48px 48px 0 0; box-shadow: 0 -40px 90px -20px rgba(0,0,0,0.7); }
.fs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; }
.fs-darken { position: absolute; inset: 0; background: rgba(8,8,9,0.68); }
.fs-vignette { position: absolute; inset: 0; background: radial-gradient(120% 120% at 25% 50%, transparent 30%, rgba(8,8,9,0.85) 100%); }
.fs-photographer { position: absolute; top: 0; bottom: 0; right: -6vw; width: 68vw; z-index: 10; }
@media (min-width: 640px) { .fs-photographer { width: 50vw; } }
@media (min-width: 1024px) { .fs-photographer { width: 40vw; right: -4vw; } }
.fs-photographer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.fs-photographer-fade { position: absolute; inset: 0; background: linear-gradient(to right, var(--ink) 0%, rgba(8,8,9,0.3) 50%, transparent 100%); }
.fs-text-wrap { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; }
.fs-stack { position: relative; width: 100%; max-width: 38rem; min-height: 40svh; }
.fs-text { display: flex; flex-direction: column; justify-content: center; }
.fs-text + .fs-text { margin-top: 2.5rem; }
.fs-text h2 { margin-top: 1.1rem; color: var(--bone); }
.fs-text .lead { margin-top: 1.4rem; color: var(--bone-dim); max-width: 30rem; }
/* mit JS: beide Szenen exakt übereinander, JS animiert den Tausch */
html.js .fs-text { position: absolute; inset: 0; margin: 0; }
html.js [data-fs-text2] { opacity: 0; }
html.js [data-fs-bg2] { opacity: 0; }
html.js [data-fs-flash] { opacity: 0; }
.fs-flash { position: absolute; inset: 0; z-index: 40; pointer-events: none; mix-blend-mode: screen; will-change: opacity, transform;
  background: radial-gradient(circle at 70% 38%, rgba(255,251,240,1) 0%, rgba(255,226,165,0.9) 16%, rgba(255,205,130,0.35) 38%, transparent 68%); }

/* ================= generische Sektion (About/Ablauf/Stimmen) ================= */
.section { padding: clamp(5rem, 12vh, 10rem) 0; position: relative; }
.section-head { max-width: 60ch; }
.section-head h2 { margin-top: 1.5rem; }

/* ============ CLEAN PORTFOLIO — heller Elfenbein-Kontrastblock (Phase 4) ============ */
.cleanfolio { position: relative; z-index: 2; background: #f4f1ea; color: var(--ink);
  padding: clamp(5rem, 14vh, 11rem) var(--pad);
  border-radius: 48px 48px 0 0; box-shadow: 0 -40px 90px -20px rgba(0,0,0,0.55); }
.cleanfolio-inner { max-width: 72rem; margin: 0 auto; }
.cf-eyebrow { display: flex; align-items: center; gap: 0.75rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.42em; color: rgba(8,8,9,0.55); }
.cf-eyebrow span { width: 2rem; height: 1px; background: rgba(8,8,9,0.4); }
.cf-head h2 { margin-top: 1.5rem; max-width: 22ch; color: var(--ink); }
.cf-intro { margin-top: 1.4rem; max-width: 52ch; color: rgba(8,8,9,0.62); line-height: 1.7; }
.cf-list { margin-top: 4rem; border-top: 1px solid rgba(8,8,9,0.12); }
.cf-item { display: grid; gap: 0.75rem; align-items: baseline; padding: 2.2rem 0; border-bottom: 1px solid rgba(8,8,9,0.12); }
@media (min-width: 768px) { .cf-item { grid-template-columns: 1fr auto; gap: 2.5rem; padding: 2.6rem 0; } }
.cf-item h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--ink); }
.cf-item p { margin-top: 0.6rem; max-width: 30rem; line-height: 1.6; color: rgba(8,8,9,0.6); }
.cf-meta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .cf-meta { flex-direction: column; align-items: flex-end; } }
.cf-tag { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(8,8,9,0.45); }
.cf-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink); transition: color 0.4s var(--ease-smooth); }
.cf-link:hover { color: rgba(8,8,9,0.5); }
html.js [data-cf-head], html.js [data-cf-item] { opacity: 0; }

/* ============ GOLDRAHMEN-ZOOM (Phase 5A) — in das Bild hineinfallen ============ */
.framezoom { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
.frame-vign { position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 45%, #16121b 0%, #070708 72%); }
.frame-center { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.frame-scale { position: relative; will-change: transform; }
.frame-border { position: relative; height: 42vh; width: 64vw; max-width: 760px;
  border-style: solid; border-width: clamp(10px, 1.6vw, 22px);
  border-image: linear-gradient(135deg, #5e4a1f 0%, #d8b35e 22%, #8a6d2f 45%, #f0d89a 65%, #6b5524 100%) 1;
  box-shadow: 0 40px 90px rgba(0,0,0,0.65), inset 0 0 0 3px rgba(0,0,0,0.55), inset 0 0 40px rgba(0,0,0,0.6); }
@media (min-width: 640px) { .frame-border { height: 54vh; width: 54vw; } }
.frame-border img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-grade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,0.3), transparent); }
.frame-intro { position: absolute; inset-inline: 0; top: 14vh; z-index: 20; text-align: center; padding: 0 var(--pad); }
.frame-intro .eyebrow { justify-content: center; }
.frame-intro h2 { color: var(--bone); }

/* ================= GALLERY (horizontal pinned) ================= */
.gallery { background: var(--ink-900); }
.gallery-pin { position: relative; height: 100svh; overflow: hidden; }
.gallery-track { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); height: 100%; padding: 0 var(--pad); will-change: transform; }
.gtile { position: relative; flex: 0 0 auto; height: 64vh; overflow: hidden; border-radius: 3px; box-shadow: 0 30px 60px -18px rgba(0,0,0,0.8); }
.gtile.tall { width: clamp(280px, 36vh, 460px); height: 74vh; }
.gtile.regular { width: clamp(320px, 48vh, 560px); }
.gtile.wide { width: clamp(420px, 80vh, 820px); }
.gtile img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.gtile .cap { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; }
.gtile .cap .n { font-size: 0.62rem; letter-spacing: 0.3em; color: var(--champagne); }
.gtile .cap h4 { font-size: 1.6rem; color: var(--bone); margin-top: 0.3rem; }
.gtile .cap .loc { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--bone-mute); margin-top: 0.2rem; }
.gtile::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(8,8,9,0.85), transparent 55%); }
.gallery-progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 4vh; height: 1px; background: rgba(239,236,228,0.12); z-index: 5; }
.gallery-progress span { display: block; height: 100%; width: 0; background: var(--champagne); }
.gallery-head { position: absolute; top: 12vh; left: var(--pad); z-index: 5; }
/* mobile: horizontal scroll falls back to swipe row */
@media (max-width: 859px) { .gallery-pin { height: auto; } .gallery-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 14vh 8vh; } .gtile { scroll-snap-align: center; height: 56vh; } .gallery-progress { display: none; } }

/* ================= ABOUT ================= */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; } }
.about-portrait { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 3px; }
.about-portrait img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about p { color: var(--bone-dim); line-height: 1.8; margin-top: 1.2rem; max-width: 52ch; }
.about .sig { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--champagne); margin-top: 1.5rem; }
.stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; border-top: 1px solid rgba(239,236,228,0.1); padding-top: 2rem; }
.stats .v { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); color: var(--champagne); }
.stats .l { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--bone-mute); margin-top: 0.3rem; }

/* ================= PROCESS ================= */
.process-grid { margin-top: 3.5rem; display: grid; gap: 1px; background: rgba(239,236,228,0.08); border: 1px solid rgba(239,236,228,0.08); }
@media (min-width: 720px) { .process-grid { grid-template-columns: repeat(4,1fr); } }
.pstep { background: var(--ink); padding: 2.2rem; }
.pstep .s { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: rgba(200,169,106,0.65); }
.pstep h4 { font-size: 1.5rem; margin-top: 0.6rem; }
.pstep p { color: var(--bone-mute); line-height: 1.6; margin-top: 0.7rem; font-size: 0.92rem; }

/* ================= TESTIMONIALS ================= */
.quotes { margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3,1fr); } }
.quote { border: 1px solid rgba(239,236,228,0.1); border-radius: 4px; padding: 2.2rem; background: var(--ink-800); }
.quote .mark { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: rgba(200,169,106,0.4); line-height: 0.6; }
.quote blockquote { margin: 0.8rem 0 0; font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; line-height: 1.4; color: var(--bone); }
.quote .who { margin-top: 1.4rem; font-size: 0.78rem; color: var(--bone); }
.quote .role { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--bone-mute); margin-top: 0.2rem; }

/* ================= CONTACT / CTA ================= */
.cta { position: relative; text-align: center; padding: clamp(6rem,16vh,12rem) 0; overflow: hidden; }
.cta h2 { max-width: 18ch; margin: 1.5rem auto 0; }
.cta .subline { max-width: 52ch; margin: 1.6rem auto 0; color: var(--bone-dim); line-height: 1.7; }
.cta .actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.contact-info { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; color: var(--bone-dim); font-size: 0.92rem; }
.contact-info a:hover { color: var(--champagne); }

/* ================= FOOTER ================= */
.site-footer { border-top: 1px solid rgba(239,236,228,0.1); padding: 4rem 0 2.5rem; background: var(--ink-900); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--bone-mute); }
.footer-social a:hover { color: var(--champagne); }
.footer-bottom { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a, .footer-legal span { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--bone-mute); }
.footer-legal a:hover { color: var(--champagne); }
.demo-note { max-width: 60ch; font-size: 0.72rem; color: var(--bone-faint); line-height: 1.6; margin-top: 1.5rem; }
.credit { font-size: 0.7rem; color: var(--bone-faint); margin-top: 1rem; }
.credit a { color: var(--bone-mute); }
.credit a:hover { color: var(--champagne); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}

/* ================================================================== */
/*  KUNDENGALERIE (Client Proofing) — Auswahl + Diebstahlschutz        */
/* ================================================================== */
.proofing-root { padding-top: 110px; min-height: 80vh; }
.proofing-gate, .proofing-head { text-align: center; padding-top: clamp(3rem, 8vh, 6rem); padding-bottom: 2rem; }
.proofing-gate .eyebrow, .proofing-head .eyebrow { justify-content: center; }
.proofing-meta { margin-top: 1.4rem; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--bone-mute); }
.proofing-empty { text-align: center; color: var(--bone-mute); padding: 4rem 0; }
.proofing-note { max-width: 44ch; margin: 1.8rem auto 0; padding: 0.9rem 1.4rem; border-radius: 4px; font-size: 0.92rem; }
.proofing-note.ok { background: rgba(200,169,106,0.14); border: 1px solid rgba(200,169,106,0.4); color: var(--champagne-light); }
.proofing-note.err { background: rgba(180,80,70,0.14); border: 1px solid rgba(180,80,70,0.4); color: #e8b6ae; }

/* Passwort-Formular im Theme-Look */
.proofing-pwform { margin-top: 2rem; }
.proofing-pwform form { display: inline-flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.proofing-pwform label { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--bone-dim); font-size: 0.9rem; }
.proofing-pwform input[type=password] { background: var(--ink-800); border: 1px solid rgba(239,236,228,0.2); color: var(--bone); border-radius: 999px; padding: 0.8rem 1.3rem; font-size: 0.95rem; }
.proofing-pwform input[type=password]:focus { outline: none; border-color: var(--champagne); }
.proofing-pwform input[type=submit] { background: var(--champagne); color: var(--ink); border: none; border-radius: 999px; padding: 0.8rem 1.7rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; cursor: pointer; }

/* Foto-Raster */
.proofing-form { padding: 1.5rem var(--pad) 8rem; }
.proofing-grid { display: grid; gap: clamp(0.6rem, 1.5vw, 1.1rem); grid-template-columns: repeat(2, 1fr); max-width: 1500px; margin: 0 auto; }
@media (min-width: 640px) { .proofing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .proofing-grid { grid-template-columns: repeat(4, 1fr); } }
.pf-tile { margin: 0; }
.pf-imgwrap { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: 3px; cursor: pointer; background: var(--ink-800); border: 2px solid transparent; transition: border-color 0.3s var(--ease-smooth); }
.pf-imgwrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; transition: filter 0.3s, transform 0.6s var(--ease-smooth); }
.pf-tile:hover .pf-imgwrap img { transform: scale(1.04); }
.pf-cb { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 3; }
.pf-guard { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(8,8,9,0.25), transparent 60%); }
.pf-check { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(8,8,9,0.5); color: transparent; border: 1.5px solid rgba(239,236,228,0.5); transition: all 0.25s var(--ease-smooth); }
.pf-tile.is-selected .pf-imgwrap { border-color: var(--champagne); }
.pf-tile.is-selected .pf-check { background: var(--champagne); color: var(--ink); border-color: var(--champagne); }
.pf-tile.is-selected .pf-imgwrap img { filter: brightness(1.05); }

/* Auswahl-Leiste (sticky unten) */
.proofing-bar { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%) translateY(140%); z-index: 70; display: flex; align-items: center; gap: 1.5rem; background: rgba(16,16,19,0.92); backdrop-filter: blur(16px); border: 1px solid rgba(239,236,228,0.12); border-radius: 999px; padding: 0.7rem 0.7rem 0.7rem 1.6rem; box-shadow: 0 20px 50px rgba(0,0,0,0.6); transition: transform 0.5s var(--ease-smooth); }
.proofing-bar.has { transform: translateX(-50%) translateY(0); }
.pf-count { font-size: 0.85rem; color: var(--bone); letter-spacing: 0.04em; }
.pf-count [data-pf-count] { color: var(--champagne); font-weight: 600; }

/* Checkout */
.proofing-checkout { max-width: 640px; margin: 3rem auto 0; text-align: center; border-top: 1px solid rgba(239,236,228,0.1); padding-top: 3rem; }
.proofing-checkout.collapsed { display: none; }
.proofing-checkout .eyebrow { justify-content: center; }
.pf-fields { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.pf-fields input { background: var(--ink-800); border: 1px solid rgba(239,236,228,0.2); color: var(--bone); border-radius: 999px; padding: 0.85rem 1.4rem; font-size: 0.95rem; min-width: 240px; }
.pf-fields input:focus { outline: none; border-color: var(--champagne); }
.pf-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Diebstahlschutz-Zustände */
.proofing-shield { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; background: rgba(8,8,9,0.96); backdrop-filter: blur(10px); transition: opacity 0.15s; display: flex; align-items: center; justify-content: center; }
.proofing-shield::after { content: "Vorschau geschützt"; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--bone-mute); }
body.pf-shield .proofing-shield, body.pf-devtools .proofing-shield { opacity: 1; }
body.pf-shield .proofing-root img, body.pf-devtools .proofing-root img { filter: blur(34px) !important; }
.proofing-root, .proofing-root * { -webkit-touch-callout: none; }
.proofing-grid img, .pf-imgwrap { -webkit-user-select: none; user-select: none; }

/* Lupe-Button auf der Kachel */
.pf-zoom { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 4; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(8,8,9,0.55); border: 1.5px solid rgba(239,236,228,0.4); color: var(--bone); cursor: pointer; opacity: 0; transition: opacity 0.25s var(--ease-smooth), background 0.25s, color 0.25s; }
.pf-imgwrap:hover .pf-zoom, .pf-tile.is-selected .pf-zoom { opacity: 1; }
.pf-zoom:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
@media (pointer: coarse) { .pf-zoom { opacity: 1; } }

/* Lightbox */
.pf-lightbox { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(6,6,8,0.95); backdrop-filter: blur(8px); }
.pf-lightbox[hidden] { display: none; }
.pf-lb-figure { margin: 0; display: flex; max-width: min(94vw, 1100px); }
.pf-lb-figure img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.pf-lb-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(239,236,228,0.08); border: 1px solid rgba(239,236,228,0.2); color: var(--bone); cursor: pointer; transition: all 0.3s; }
.pf-lb-close:hover { background: var(--champagne); color: var(--ink); border-color: var(--champagne); }
.pf-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(239,236,228,0.06); border: 1px solid rgba(239,236,228,0.18); color: var(--bone); cursor: pointer; transition: all 0.3s; }
.pf-lb-nav.prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.pf-lb-nav.next { right: clamp(0.5rem, 2vw, 1.5rem); }
.pf-lb-nav:hover { background: var(--champagne); color: var(--ink); border-color: var(--champagne); }
.pf-lb-select { position: absolute; bottom: clamp(1.2rem, 4vh, 2.6rem); left: 50%; transform: translateX(-50%); padding: 0.8rem 1.8rem; border-radius: 999px; border: 1px solid var(--champagne); background: rgba(8,8,9,0.5); color: var(--champagne); font-family: 'Inter', sans-serif; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; cursor: pointer; transition: all 0.3s; }
.pf-lb-select.is-on { background: var(--champagne); color: var(--ink); }
@media (max-width: 600px) { .pf-lb-nav { width: 42px; height: 42px; } .pf-lb-close { width: 42px; height: 42px; } .pf-lb-figure img { max-height: 68vh; } }

@media print {
  body * { visibility: hidden !important; }
  body::before { content: "Diese Vorschau ist geschützt und kann nicht gedruckt werden."; visibility: visible; position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #000; background: #fff; }
}
