/* ============================================================
   Webatelier Nord — Digitalagentur Hamburg
   Design: Kontorhaus / Hanseatisch — Marine · Sand · Kupfer
   Helles Haupt-Theme, dunkler Galerie-"Ausstellungsraum"
   ============================================================ */

:root {
  /* Pure Mono (serafimcloud) – monochrom, flach, klare Kanten */
  --sand:       #ffffff;   /* Basis-Hintergrund */
  --sand-2:     #f5f5f5;   /* alternierende Sektionen */
  --paper:      #ffffff;   /* Karten */
  --ink:        #19191a;   /* Text */
  --marine:     #19191a;   /* Primär (Buttons, Nav, kräftig) */
  --marine-2:   #000000;   /* Primär-Hover */
  --marine-deep:#000000;   /* Footer-Hintergrund */
  --copper:     #19191a;   /* Akzent hell → kräftiges Schwarz */
  --copper-2:   #404040;
  --brass:      #ffffff;   /* Akzent auf Dunkel → Weiß */
  --muted:      #737373;
  --line:       #e5e5e5;
  --line-strong:#d4d4d4;

  /* Dunkler Galerie-Kontext */
  --d-bg:     #000000;
  --d-surface:#0d0d0d;
  --d-cream:  #ffffff;
  --d-muted:  #a1a1a1;
  --d-line:   #262626;

  --accent-grad: linear-gradient(100deg, #19191a 0%, #4a4a4a 55%, #19191a 100%);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
  --nav-h: 74px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: none;
  --shadow-sm: none;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--copper); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: 1.05;
  letter-spacing: -0.018em;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrap { width: min(1180px, 100% - 44px); margin-inline: auto; }

.kicker {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--copper);
  opacity: 0.6;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--marine); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.94rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--marine); color: var(--sand); box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--marine-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--marine); background: rgba(25,25,26,0.05); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Reveal-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* GSAP (motion.js) übernimmt die Reveals – CSS-Transition deaktivieren */
html.motion .reveal { transition: none; }
.split-line { display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.alt { background: var(--sand-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.ph-hint { color: var(--copper); font-size: 0.88rem; margin-top: 10px; font-style: italic; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 20px; }
.split p { color: var(--muted); margin-bottom: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(255,255,255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 600;
  text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; color: var(--marine);
}
.brand-mark { width: 30px; height: 30px; color: var(--copper); flex: none; }
.brand em { font-style: italic; color: var(--copper); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.86rem; letter-spacing: 0.03em;
  color: var(--muted); position: relative; transition: color 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--marine); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  background: var(--marine); color: var(--sand) !important; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--marine-2); transform: translateY(-1px); }

.burger { display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 24px; height: 2px; background: var(--marine); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 9vw, 110px));
  padding-bottom: clamp(70px, 10vw, 130px); overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(0,0,0,0.04), transparent 55%),
    linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%; color: var(--marine);
  opacity: 0.09; pointer-events: none;
}
.hero-skyline svg { width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 900px; }
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  margin-bottom: 26px; letter-spacing: -0.028em;
}
.hero-sub { font-size: clamp(1.06rem, 1.9vw, 1.32rem); color: var(--muted); max-width: 60ch; margin-bottom: 34px; }
.hero-sub strong { color: var(--marine); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: 30px; }
.hero-stats dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero-stats dd { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 560; color: var(--marine); line-height: 1; }

/* ---------- Trust-Strip ---------- */
.trust-strip {
  background: var(--marine); color: var(--sand); overflow: hidden;
  border-block: 1px solid var(--marine-2); position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-track { display: flex; gap: 0; width: max-content; animation: marquee 60s linear infinite; }
.trust-strip:hover .trust-track { animation-play-state: paused; }
.trust-track span {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px;
  font-size: 0.92rem; letter-spacing: 0.02em; white-space: nowrap; color: rgba(255,255,255,0.85);
}
.trust-track span::after { content: "•"; color: var(--brass); margin-left: 14px; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   GALERIE — dunkler Ausstellungsraum
   ============================================================ */
.gallery-section {
  background: var(--d-bg); color: var(--d-cream);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  background-image:
    radial-gradient(90% 60% at 15% 0%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(255,255,255,0.03), transparent 60%);
}
.gallery-section .kicker { color: var(--brass); }
.gallery-section .kicker::before { background: var(--brass); }
.gallery-section .section-head h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.gallery-section .section-head h2 em { background: linear-gradient(100deg, #ffffff 0%, #9a9a9a 55%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gallery-section .section-head p { color: var(--d-muted); }

/* Filter */
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 40px;
  margin-bottom: 46px; padding-bottom: 26px; border-bottom: 1px solid var(--d-line);
}
.filter-group { display: flex; flex-direction: column; gap: 12px; }
.filter-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--d-muted); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-buttons button {
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 500;
  padding: 8px 15px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--d-muted);
  border: 1px solid var(--d-line);
  transition: all 0.22s var(--ease);
}
.filter-buttons button:hover { color: var(--d-cream); border-color: rgba(255,255,255,0.4); }
.filter-buttons button.active { background: var(--brass); color: #000000; border-color: var(--brass); font-weight: 600; }
.filter-count { margin-left: auto; color: var(--d-muted); font-size: 0.86rem; align-self: flex-end; }
.filter-count b { color: var(--d-cream); }

/* Grid + Karten */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--d-surface); border: 1px solid var(--d-line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.35); box-shadow: none; }
.card.hidden { display: none; }

.card-preview {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d, #151515);
  border-bottom: 1px solid var(--d-line);
}
/* Live-iframe wird auf Desktop-Breite gerendert und herunterskaliert */
.card-frame {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 880px;
  border: 0; transform: scale(0.288); transform-origin: top left;
  pointer-events: none; background: #fff;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.card-frame.loaded { opacity: 1; }

/* Skeleton */
.card-skeleton { position: absolute; inset: 0; }
.card-skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.06) 50%, transparent 80%);
  transform: translateX(-100%); animation: shimmer 1.6s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* "In Kürze"-Platzhalter für in-Arbeit-Seiten */
.card-soon {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center;
  color: var(--d-muted); background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px);
}
.card-soon svg { width: 34px; height: 34px; opacity: 0.5; }
.card-soon span { font-size: 0.82rem; letter-spacing: 0.05em; }

/* Hover-Overlay mit Live-Link */
.card-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.72));
  opacity: 0; transition: opacity 0.35s var(--ease); text-decoration: none;
}
.card:hover .card-overlay { opacity: 1; }
.card-overlay .go {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brass); color: #000000; font-weight: 600; font-size: 0.9rem;
  padding: 12px 20px; border-radius: 999px; transform: translateY(8px);
  transition: transform 0.35s var(--ease);
}
.card:hover .card-overlay .go { transform: translateY(0); }

.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-name { font-family: var(--font-display); font-size: 1.14rem; font-weight: 560; color: var(--d-cream); line-height: 1.15; }
.card-blurb { font-size: 0.86rem; color: var(--d-muted); line-height: 1.5; }
.card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 4px; }
.tag {
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--d-line); color: var(--d-muted);
}
.tag.tag-cat { color: var(--brass); border-color: rgba(255,255,255,0.32); }

.status-badge {
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap; flex: none;
}
.status-badge.soon { background: rgba(255,255,255,0.1); color: var(--d-muted); }
.status-badge.wip { background: rgba(255,255,255,0.14); color: var(--brass); }

.noscript-note { color: var(--d-muted); text-align: center; padding: 40px; }

/* ============================================================
   Coverflow (interaktive Ausstellungswand)
   ============================================================ */
.coverflow-wrap { margin-top: 4px; }
.cf { --cf-card: clamp(240px, 40vw, 500px); --cf-ratio: 0.66; user-select: none; }
.cf-rel { position: relative; }
.cf-frame { overflow: hidden; padding: 46px 0; outline: none; cursor: grab; }
.cf-frame:active { cursor: grabbing; }
.cf-frame:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.cf-stage { position: relative; height: calc(var(--cf-card) * var(--cf-ratio)); transform-style: preserve-3d; }

.cf-card {
  position: absolute; left: 50%; top: 0;
  width: var(--cf-card); height: calc(var(--cf-card) * var(--cf-ratio));
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  background: var(--d-surface); border: 1px solid var(--d-line);
  will-change: transform, opacity;
  transition: border-color 0.3s var(--ease);
}
.cf-face { position: absolute; inset: 0; }
.cf-preview { position: absolute; inset: 0; background: linear-gradient(135deg, #0d0d0d, #151515); overflow: hidden; }
.cf-iframe { position: absolute; top: 0; left: 0; border: 0; background: #fff; transform-origin: top left; pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease); }
.cf-iframe.loaded { opacity: 1; }
.cf-skeleton { position: absolute; inset: 0; }
.cf-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.07) 50%, transparent 80%); transform: translateX(-100%); animation: shimmer 1.6s infinite; }
.cf-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--d-muted); }
.cf-soon svg { width: 30px; height: 30px; opacity: 0.5; }
.cf-soon span { font-size: 0.8rem; letter-spacing: 0.06em; }

.cf-badge { position: absolute; top: 12px; z-index: 3; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.cf-pages { right: 12px; }
.cf-pages.is-multi { background: #fff; color: #000; }
.cf-pages.is-single { background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.cf-wip { left: 12px; background: rgba(0,0,0,0.55); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

.cf-namebar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 16px 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.15) 70%, transparent); }
.cf-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 560; color: #fff; line-height: 1.15; }
.cf-live { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; opacity: 0; transition: opacity 0.3s var(--ease); white-space: nowrap; }
.cf-card.cf-center { border-color: rgba(255,255,255,0.45); }
.cf-card.cf-center .cf-live { opacity: 0.92; }

.cf-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 200; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid var(--d-line); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.2s var(--ease); }
.cf-nav:hover { background: rgba(255,255,255,0.2); }
.cf-nav svg { width: 22px; height: 22px; }
.cf-prev { left: 1%; }
.cf-next { right: 1%; }

.cf-dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; }
.cf-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #fff; opacity: 0.28; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.cf-dot:hover { opacity: 0.6; }
.cf-dot.active { opacity: 1; transform: scale(1.3); }

.cf-caption { max-width: 560px; margin: 30px auto 0; text-align: center; min-height: 156px; }
.cap-head { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.cap-head h3 { font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.cap-pages { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.cap-pages.is-multi { background: #fff; color: #000; }
.cap-pages.is-single { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.cap-tags { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; }
.tag-wip { color: #fff !important; border-color: rgba(255,255,255,0.4) !important; }
.cap-blurb { color: var(--d-muted); margin-bottom: 22px; }
.btn-cap { background: #fff; color: #000; }
.btn-cap:hover { background: rgba(255,255,255,0.85); }
.cap-soon { display: inline-block; color: var(--d-muted); font-style: italic; }
.cf-hint { text-align: center; color: var(--d-muted); font-size: 0.8rem; margin-top: 20px; letter-spacing: 0.02em; }

/* ============================================================
   Vorher / Nachher
   ============================================================ */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ba-item {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--shadow-sm);
}
.ba-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; user-select: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after { background: #0d0d0d; }
.ba-after iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform: scale(0.45); transform-origin: top left; pointer-events: none; background:#fff; }
.ba-before {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: repeating-linear-gradient(45deg, #efefef 0 14px, #e4e4e4 14px 28px);
  color: #8f8f8f; clip-path: inset(0 50% 0 0);
}
.ba-before svg { width: 40px; height: 40px; opacity: 0.6; }
.ba-before span { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--ink);
  transform: translateX(-50%); z-index: 3;
}
.ba-handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #ffffff;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; border: 2px solid #ffffff;
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-label { position: absolute; top: 12px; z-index: 3; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,0.7); color: var(--sand); }
.ba-label.l-before { left: 12px; }
.ba-label.l-after { right: 12px; }
.ba-caption { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ba-caption strong { font-family: var(--font-display); font-weight: 560; font-size: 1.05rem; }
.ba-caption a { color: var(--copper); text-decoration: none; font-size: 0.86rem; font-weight: 600; }
.ba-caption a:hover { text-decoration: underline; }

/* ============================================================
   Prozess / Timeline
   ============================================================ */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--font-display); font-size: 0.9rem; color: var(--copper); letter-spacing: 0.1em; }
.step-icon { width: 52px; height: 52px; margin: 16px 0 18px; color: var(--marine); }
.step-icon svg { width: 100%; height: 100%; }
.step h3 { font-size: 1.24rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.step-time { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--marine); background: rgba(25,25,26,0.05); padding: 5px 12px; border-radius: 999px; }

/* ============================================================
   Über uns
   ============================================================ */
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--marine); margin-top: 8px; }
.about-portraits { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.portrait { flex: 1 1 140px; }
.portrait-ph {
  aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px dashed var(--line-strong);
  background: linear-gradient(160deg, var(--sand-2), var(--paper)); color: var(--copper);
  display: flex; align-items: center; justify-content: center;
}
.portrait-ph svg { width: 46%; height: 46%; opacity: 0.6; }
.portrait figcaption { text-align: center; margin-top: 12px; font-family: var(--font-display); font-size: 1.1rem; color: var(--marine); }
.portrait-note { flex-basis: 100%; color: var(--copper); font-size: 0.84rem; font-style: italic; }

/* ============================================================
   Warum / Features
   ============================================================ */
.feature { padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; color: var(--copper); margin-bottom: 16px; }
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.16rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Gütesiegel ---------- */
.seals { background: var(--marine); color: var(--sand); padding: 22px 0; }
.seals-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.seals-inner span { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; color: rgba(255,255,255,0.9); }
.seals-inner svg { width: 22px; height: 22px; color: var(--brass); }

/* ============================================================
   Testimonials
   ============================================================ */
.quote-card { position: relative; padding: 34px 28px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.quote-mark { position: absolute; top: 4px; left: 20px; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--copper); opacity: 0.28; }
.quote-card blockquote { position: relative; font-family: var(--font-display); font-size: 1.16rem; line-height: 1.42; margin-bottom: 18px; }
.quote-card cite { font-style: normal; font-size: 0.86rem; color: var(--muted); }
.quote-card cite strong { color: var(--marine); font-weight: 600; }

/* ============================================================
   Preise
   ============================================================ */
.price-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 32px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--copper); box-shadow: none; }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--accent-grad); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.price-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 560; color: var(--marine); line-height: 1; }
.price-pre { font-size: 0.9rem; color: var(--muted); font-family: var(--font-body); margin-right: 4px; }
.price-note { font-size: 0.8rem; color: var(--muted); margin: 6px 0 20px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-card li { position: relative; padding-left: 26px; font-size: 0.94rem; color: var(--ink); }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 9px;
  border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper);
  transform: rotate(-45deg);
}

/* ============================================================
   Kontakt
   ============================================================ */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 26px 0 34px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a { text-decoration: none; color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--copper); }
.contact-list em { font-style: normal; color: var(--muted); font-size: 0.85rem; }
.ci { width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(25,25,26,0.05); color: var(--marine); display: flex; align-items: center; justify-content: center; }
.ci svg { width: 20px; height: 20px; }

.kiezmap { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.kiezmap svg { width: 100%; height: auto; display: block; color: var(--marine); background: var(--sand-2); }
.kiezmap-note { font-size: 0.78rem; color: var(--muted); padding: 10px 14px; font-style: italic; }
.map-pin circle { fill: var(--copper); }
.map-pin path { fill: var(--copper); }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; color: var(--marine); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--sand); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 13px 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(25,25,26,0.14); }
.form-hint { font-size: 0.8rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.form-hint.ok { color: var(--marine); font-weight: 600; }
.form-hint.err { color: #b4443f; font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--marine-deep); color: var(--sand); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; text-decoration: none; color: var(--sand); }
.footer-brand em { font-style: italic; color: var(--brass); }
.footer-note { color: rgba(255,255,255,0.6); margin-top: 12px; font-size: 0.92rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.site-footer ul a { text-decoration: none; color: rgba(255,255,255,0.78); font-size: 0.94rem; transition: color 0.2s var(--ease); }
.site-footer ul a:hover { color: var(--brass); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; color: rgba(255,255,255,0.55); font-size: 0.84rem; }
.footer-bottom span:first-child { font-style: italic; font-family: var(--font-display); }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 640px; margin-inline: auto;
  background: var(--marine); color: var(--sand); border-radius: 14px; box-shadow: var(--shadow);
  padding: 16px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie p { font-size: 0.86rem; flex: 1 1 260px; color: rgba(255,255,255,0.85); }
.cookie button { flex: none; background: var(--brass); color: #000000; border: none; font-weight: 600; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-family: var(--font-body); }
.cookie[hidden] { display: none; }

/* ============================================================
   Feinschliff (modern-minimal): Fokus, Nav-Scroll, Politur
   ============================================================ */
.site-nav { transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), height 0.3s var(--ease); }
.site-nav.scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 1px 0 #e5e5e5;
}

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 5px; }
:focus:not(:focus-visible) { outline: none; }

/* Ruhigere Karten-Interaktion */
.card, .feature, .price-card, .step { will-change: transform; }
.hero h1, .hero .kicker, .hero-sub, .hero-actions, .hero-stats { will-change: transform, opacity; }

/* ============================================================
   Rechtstexte (Impressum / Datenschutz)
   ============================================================ */
.legal { padding: calc(var(--nav-h) + 60px) 0 90px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; color: var(--marine); }
.legal p { color: var(--ink); margin-bottom: 12px; max-width: 72ch; }
.legal code { background: var(--sand-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.legal-ph { background: #f5f5f5; border-left: 3px solid var(--copper); padding: 14px 18px; border-radius: 8px; color: var(--copper) !important; font-style: italic; }
.legal-back { margin-top: 40px; }
.legal-back a { color: var(--copper); text-decoration: none; font-weight: 600; }
.legal-back a:hover { text-decoration: underline; }

/* Impressum: die Pflichtangaben als saubere Aufstellung statt als Fliesstext.
   Zwei Spalten am Rechner, untereinander auf dem Telefon. */
.impressum-daten { border-top: 1px solid var(--sand-2); margin: 26px 0 10px; max-width: 72ch; }
.impressum-daten > div {
  display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px;
  padding: 14px 0; border-bottom: 1px solid var(--sand-2);
}
.impressum-daten dt { color: var(--marine); font-weight: 600; }
.impressum-daten dd { margin: 0; color: var(--ink); }
.impressum-daten a { color: var(--copper); }
@media (max-width: 640px) {
  .impressum-daten > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
}
/* Noch auszufuellende Stelle – deutlich sichtbar, damit sie nicht live geht. */
.offen {
  background: #fff3e6; border-bottom: 2px dotted var(--copper);
  padding: 1px 6px; border-radius: 4px; font-style: italic; color: var(--copper);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .card-frame { transform: scale(0.34); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line); padding: 10px 22px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: none !important; }

  .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .price-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .card-frame { transform: scale(0.34); }
  .timeline { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-count { margin-left: 0; width: 100%; }
  .contact-inner { gap: 40px; }
}

@media (min-width: 761px) and (max-width: 960px) {
  .card-frame { transform: scale(0.5); width: 1280px; }
}

/* Skalierungs-Feinschliff je Spaltenbreite via JS-Variable möglich */
@media (max-width: 500px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .card-frame { transform: scale(0.42); }
}

/* ============================================================
   Showcase — "Was möglich ist"
   ============================================================ */
.page-showcase { background: #fff; }
.page-showcase.has-cursor-dot,
.page-showcase.has-cursor-dot * { cursor: none; }

.cursor-dot { position: fixed; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 9999; transition: width .22s var(--ease), height .22s var(--ease); }
.cursor-dot.big { width: 46px; height: 46px; }

/* Dunkle Blöcke: Akzent + Kicker + Muted invertieren */
.sc-dark, .sc-hero, .sc-cta {
  --accent-grad: linear-gradient(100deg, #ffffff 0%, #9a9a9a 55%, #ffffff 100%);
  --copper: #ededed;
  --muted: rgba(255,255,255,0.66);
  --line: rgba(255,255,255,0.14);
  background: #000; color: #fff;
}
.sc-dark h2, .sc-dark h3, .sc-hero h1, .sc-cta h2 { color: #fff; }

.sc-hero { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; }
.sc-webgl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.sc-hero-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(0,0,0,0.55) 100%); pointer-events: none; }
.sc-hero .hero-inner { position: relative; z-index: 2; }
.sc-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.sc-scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 14px; }
.sc-scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: scrollcue 1.6s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,14px); } }

.cap-marquee { background: #000; color: #fff; border-block: 1px solid rgba(255,255,255,0.12); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cap-marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.cap-marquee:hover .cap-marquee-track { animation-play-state: paused; }
.cap-marquee-track span { display: inline-flex; align-items: center; padding: 15px 24px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: rgba(255,255,255,0.8); white-space: nowrap; }
.cap-marquee-track span::after { content: "\00B7"; margin-left: 24px; color: rgba(255,255,255,0.4); }

.sc-block { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.sc-block h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 14px; }
.sc-center { text-align: center; max-width: 780px; margin-inline: auto; }
.sc-center p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0 auto; }
.sc-num { display: inline-block; font-family: var(--font-body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--copper); margin-bottom: 14px; }
.sc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.sc-copy p { color: var(--muted); margin-bottom: 18px; max-width: 46ch; }
.sc-uses { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-uses li { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }

.sc-stage { aspect-ratio: 1 / 1; max-width: 460px; margin-inline: auto; width: 100%; }
[data-sphere] { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
[data-sphere]:active { cursor: grabbing; }

.tilt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.tilt-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 28px; background: var(--sand-2); transform-style: preserve-3d; transition: transform 0.2s var(--ease); overflow: hidden; }
.tilt-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), rgba(25,25,26,0.10), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.tilt-card:hover::before { opacity: 1; }
.tilt-inner { position: relative; transform: translateZ(40px); transform-style: preserve-3d; }
.tilt-ic { font-size: 2rem; display: block; margin-bottom: 14px; }
.tilt-card h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 6px; }
.tilt-card p { color: var(--muted); font-size: 0.92rem; }
.tilt-card [data-layer] { transition: transform 0.12s var(--ease); will-change: transform; }
/* Spotlight-Karte: dunkel + heller, wandernder Lichtkegel */
.tilt-spot { background: #101010; border-color: rgba(255,255,255,0.14); }
.tilt-spot h4 { color: #fff; }
.tilt-spot p { color: rgba(255,255,255,0.62); }
.tilt-spot .tilt-ic { color: #fff; }
.tilt-spot::before { background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.42), transparent 55%); opacity: 1; }
.magnetic-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
[data-magnetic] { transition: transform 0.25s var(--ease); }

/* Ghost-Button auf dunklem Grund lesbar machen */
.sc-hero .btn-ghost, .sc-dark .btn-ghost, .sc-cta .btn-ghost, .home-teaser .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.sc-hero .btn-ghost:hover, .sc-dark .btn-ghost:hover, .sc-cta .btn-ghost:hover, .home-teaser .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.sc-scroll { background: #000; color: #fff; overflow: hidden; }
.sc-scroll-track { display: flex; width: max-content; height: 100vh; align-items: center; }
.sc-panel { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 8vw; flex: none; border-right: 1px solid rgba(255,255,255,0.08); }
.sc-panel > div { max-width: 640px; }
.sc-panel h3 { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 4rem); line-height: 1.04; margin-bottom: 16px; color: #fff; }
.sc-panel p { color: rgba(255,255,255,0.66); font-size: 1.15rem; }
.sc-panel .sc-num { color: #ededed; }
.sc-panel-end .btn { margin-top: 10px; }
.sc-scroll-static .sc-scroll-track { flex-direction: column; width: 100%; height: auto; }
.sc-scroll-static .sc-panel { width: 100%; height: auto; padding: 70px 8vw; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

.shimmer { background: linear-gradient(100deg, #444 0%, #444 40%, #fff 50%, #444 60%, #444 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmermove 3s linear infinite; font-style: italic; }
.sc-dark .shimmer { background: linear-gradient(100deg, #777 0%, #777 40%, #fff 50%, #777 60%, #777 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes shimmermove { to { background-position: -220% center; } }
.sc-reveal-text { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.4; max-width: 22ch; margin: 24px auto 0; color: #fff; }

.sc-canvas-block { background: var(--sand-2); overflow: hidden; }
.sc-constellation { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sc-over { position: relative; z-index: 1; }

.counter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.counter { text-align: center; padding: 28px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.counter-num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 560; line-height: 1; display: block; }
.counter-label { display: block; margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.sc-cta { padding: clamp(80px, 12vw, 150px) 0; text-align: center; }
.sc-cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.sc-cta p { color: var(--muted); margin-bottom: 30px; }

/* Container-Scroll (3D-Perspektive) */
.csa { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 10vw, 120px); background: #000; color: #fff; }
.csa-inner { perspective: 1200px; max-width: 1080px; margin-inline: auto; padding: 0 20px; }
.csa-title { text-align: center; max-width: 760px; margin: 0 auto clamp(24px, 4vw, 50px); --accent-grad: linear-gradient(100deg, #fff, #9a9a9a); --copper: #ededed; }
.csa-title h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.csa-card { transform-style: preserve-3d; will-change: transform; border: 4px solid #2a2a2a; border-radius: 26px; background: #141414; padding: 10px; box-shadow: 0 40px 120px -40px rgba(0,0,0,0.85); }
.csa-bar { display: flex; gap: 7px; padding: 6px 8px 12px; }
.csa-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3a; }
.csa-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #0d0d0d; }
.csa-screen .cf-preview { position: absolute; inset: 0; }

/* Spline-Karte + Spotlight */
.spline-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); background: #050505; display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.spline-card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(320px circle at var(--sx, 30%) var(--sy, 0), rgba(255,255,255,0.10), transparent 60%); }
.spline-copy { position: relative; z-index: 2; padding: clamp(28px, 4vw, 50px); display: flex; flex-direction: column; justify-content: center; }
.spline-copy h3 { color: #fff; }
.spline-copy p { color: rgba(255,255,255,0.66); margin-bottom: 18px; }
.spline-stage { position: relative; }
.spline-stage canvas { width: 100%; height: 100%; display: block; }
.spline-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* Split-Reveal */
.splitr-stage { position: relative; height: 56vh; min-height: 360px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.splitr-content { text-align: center; max-width: 560px; padding: 0 24px; }
.splitr-content h3 { margin-bottom: 12px; }
.splitr-content p { color: var(--muted); }
.splitr-panel { position: absolute; left: 0; right: 0; height: 50%; background: #000; color: #fff; display: flex; justify-content: center; z-index: 2; will-change: transform; }
.splitr-top { top: 0; align-items: flex-end; }
.splitr-bottom { bottom: 0; align-items: flex-start; }
.splitr-panel span { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 6vw, 4rem); line-height: 1; padding: 6px 10px; }

/* 3D-Flipbook */
.book-wrap { margin-top: 42px; perspective: 1800px; }
.book { position: relative; width: min(300px, 80vw); height: min(400px, 116vw); margin: 0 auto; transform-style: preserve-3d; }
.leaf { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.65,0,0.35,1); cursor: pointer; }
.leaf.flipped { transform: rotateY(-178deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 4px 12px 12px 4px; border: 1px solid #2a2a2a; background: #101010; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center; }
.face.back { transform: rotateY(180deg); background: #171717; border-radius: 12px 4px 4px 12px; }
.face .pg { font-family: var(--font-display); font-size: 1.35rem; color: #ededed; }
.face p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.face em { font-family: var(--font-display); font-style: italic; color: #fff; font-size: 1.1rem; }
.book-hint { margin-top: 30px; color: var(--muted); font-size: 0.82rem; }

/* Bar-Graph */
.bargraph { display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 5vw, 60px); height: 300px; margin-top: 46px; padding-top: 30px; border-bottom: 1px solid var(--line); }
.bar { position: relative; width: clamp(40px, 12vw, 90px); height: 0; background: var(--ink); border-radius: 8px 8px 0 0; transition: height 1.3s cubic-bezier(0.2,0.7,0.2,1); }
.bargraph.in .bar { height: var(--h); }
.bar-cap { position: absolute; top: -30px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.bar-lbl { position: absolute; bottom: -30px; left: 0; right: 0; text-align: center; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em; }
.bargraph-note { text-align: center; margin-top: 50px; color: var(--muted); font-size: 0.88rem; }
.bargraph-note strong { color: var(--ink); }

@media (max-width: 860px) {
  .sc-split { grid-template-columns: 1fr; }
  .tilt-row { grid-template-columns: 1fr; }
  .counter-row { grid-template-columns: repeat(2, 1fr); }
  .spline-card { grid-template-columns: 1fr; }
  .spline-stage { min-height: 320px; }
}

/* ============================================================
   Multi-Page-Bausteine
   ============================================================ */
.page-head { padding: calc(var(--nav-h) + clamp(50px, 9vw, 100px)) 0 clamp(28px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 16px; }
.page-head-sub { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }

.home-teaser { background: #000; color: #fff; padding: clamp(72px, 10vw, 120px) 0; text-align: center;
  --accent-grad: linear-gradient(100deg, #fff 0%, #9a9a9a 55%, #fff 100%); --copper: #ededed; --muted: rgba(255,255,255,0.66); }
.home-teaser h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: 16px; }
.home-teaser p { margin-bottom: 26px; }
.home-teaser .btn-cap { margin-top: 4px; }

.teaser-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.teaser-tags span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

.tmarquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tmarquee-track { display: flex; gap: 22px; width: max-content; padding: 12px 11px; animation: marquee 46s linear infinite; }
.tmarquee-rev .tmarquee-track { animation-direction: reverse; animation-duration: 56s; }
.tmarquee:hover .tmarquee-track { animation-play-state: paused; }
.tquote { flex: none; width: min(380px, 78vw); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 22px; position: relative; }
.tquote .tq-mark { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--ink); opacity: 0.12; position: absolute; top: 8px; left: 16px; }
.tquote blockquote { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.42; position: relative; margin-bottom: 14px; }
.tquote cite { font-style: normal; font-size: 0.84rem; color: var(--muted); }
.tquote cite strong { color: var(--ink); font-weight: 700; }

/* Stepper (Ablauf) */
.stepper { position: relative; }
.stepper-items { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stepper-item { position: relative; text-align: center; }
.stepper-track { position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); z-index: 1; }
.stepper-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--ink); transition: width 1.5s cubic-bezier(0.65,0,0.35,1); }
.stepper.in .stepper-fill { width: 100%; }
.stepper-node { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--sand); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--font-display); font-weight: 600; transition: background 0.4s var(--ease), border-color 0.4s var(--ease); }
.stepper-node span { transition: color 0.4s var(--ease); }
.stepper.in .stepper-node { background: var(--ink); border-color: var(--ink); }
.stepper.in .stepper-node span { color: #fff; }
.stepper-items li:nth-child(1) .stepper-node { transition-delay: 0.1s; }
.stepper-items li:nth-child(2) .stepper-node { transition-delay: 0.5s; }
.stepper-items li:nth-child(3) .stepper-node { transition-delay: 0.9s; }
.stepper-items li:nth-child(4) .stepper-node { transition-delay: 1.3s; }
.stepper-body .step-icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--marine); }
.stepper-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.stepper-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 14px; }
@media (max-width: 760px) {
  .stepper-items { grid-template-columns: 1fr; gap: 34px; }
  .stepper-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; text-align: left; }
  .stepper-node { margin: 0; }
  .stepper-body .step-icon { margin: 0 0 12px; }
  .stepper-track { top: 27px; bottom: 27px; left: 26px; right: auto; width: 2px; height: auto; }
  .stepper-fill { top: 0; left: 0; width: 2px; height: 0; transition: height 1.5s cubic-bezier(0.65,0,0.35,1); }
  .stepper.in .stepper-fill { height: 100%; }
}

/* Interaktive Porträts */
.portrait-ph[data-portrait] { position: relative; overflow: hidden; transition: transform 0.2s var(--ease); transform-style: preserve-3d; }
.portrait-ph[data-portrait]::after { content: ""; position: absolute; inset: 0; background: radial-gradient(170px circle at var(--px, 50%) var(--py, 50%), rgba(25,25,26,0.16), transparent 62%); opacity: 0; transition: opacity 0.3s var(--ease); }
.portrait-ph[data-portrait]:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
