/* ==========================================================================
   TD Films · style.css (einziges Stylesheet)
   Dunkles Kino-Design: Noise-Hintergrund, Serif-Titel, Magic Cursor
   ========================================================================== */

/* Lokale Schriften: Poppins + Noto Serif JP (OFL), Material Symbols Sharp (Apache 2.0), alle von Google Fonts */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif JP"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("fonts/noto-serif-jp-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Material Symbols Sharp"; font-style: normal; font-weight: 400; font-display: block; src: url("fonts/material-symbols-sharp.woff2") format("woff2"); }

:root {
  --color-bg: #0a0a0a;
  --color-bg-soft: #111111;
  --color-bg-accent: rgba(255, 255, 255, 0.03);
  --color-text: #ffffff;
  --color-text-soft: #e0e0e0;
  --color-muted: #b9b9b9;
  --color-gray: #999999;
  --color-dim: #888888;
  --color-line: rgba(255, 255, 255, 0.12);
  --color-selection: #4c2122;
  --font-body: "Poppins", Helvetica, Arial, sans-serif;
  --font-display: "Noto Serif JP", Georgia, "Times New Roman", serif;
  --wrap: 80vw;
  --header-pad: 10vw;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-nav: cubic-bezier(0.51, 0.57, 0.17, 1);
  --text-hero: clamp(2.6rem, 1.2rem + 3.6vw, 3.6rem);
  --text-ghost: clamp(5rem, 2rem + 9vw, 11rem);
  --text-h2: clamp(2.3rem, 1.2rem + 3vw, 3.55rem);
  --text-h3: clamp(1.7rem, 1rem + 2vw, 2.85rem);
  --text-big: clamp(1.35rem, 1rem + 1vw, 1.75rem);
  --space-section: clamp(5rem, 3rem + 7vw, 10rem);
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.9rem + 0.25vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.3; }
p { margin: 0 0 1.6em; }
a { color: inherit; text-decoration: none; }
p a:not(.btn-link), .text-flow a:not(.btn-link) { opacity: 0.75; font-style: italic; border-bottom: 1px solid; transition: opacity 0.2s; }
p a:not(.btn-link):hover, .text-flow a:not(.btn-link):hover { opacity: 1; }
img, video { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { color: #fff; background: var(--color-selection); }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.wrap { width: var(--wrap); margin: 0 auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-nav { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-nav:focus { left: 1rem; top: 1rem; z-index: 100000; width: auto; height: auto; padding: 0.65rem 0.85rem; background: #fff; color: #111; }

/* Icons (Google Material Symbols Sharp, lokale Teilmenge, Codepoints) */
.icon { font-family: "Material Symbols Sharp"; font-weight: 400; font-style: normal; font-size: 1.3em; line-height: 1; display: inline-block; vertical-align: -0.2em; letter-spacing: normal; text-transform: none; white-space: nowrap; font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20; -webkit-font-smoothing: antialiased; }
.icon-pin::before { content: "\e0c8"; }
.icon-phone::before { content: "\e0b0"; }
.icon-mail::before { content: "\e158"; }
.icon-down::before { content: "\e313"; }
.icon-share::before { content: "\e80d"; }
.icon-layers::before { content: "\e53b"; }
.icon-close::before { content: "\e5cd"; }
.icon-play::before { content: "\e037"; }
.icon-left::before { content: "\e5cb"; }
.icon-right::before { content: "\e5cc"; }
.icon-ext::before { content: "\e89e"; }

/* ---------- Noise ---------- */
.bg-noise { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-noise::before {
  content: ""; position: absolute; top: -10rem; left: -10rem;
  width: calc(100% + 20rem); height: calc(100% + 20rem);
  background-image: url("gallery/img/bg-noise.webp");
  background-position: 50%;
  opacity: 0.9;
  animation: bg-noise 1s steps(2) infinite;
}
@keyframes bg-noise {
  0% { transform: translate3d(0, 9rem, 0); }
  10% { transform: translate3d(-1rem, -4rem, 0); }
  20% { transform: translate3d(-8rem, 2rem, 0); }
  30% { transform: translate3d(9rem, -9rem, 0); }
  40% { transform: translate3d(-2rem, 7rem, 0); }
  50% { transform: translate3d(-9rem, -4rem, 0); }
  60% { transform: translate3d(2rem, 6rem, 0); }
  70% { transform: translate3d(7rem, -8rem, 0); }
  80% { transform: translate3d(-9rem, 1rem, 0); }
  90% { transform: translate3d(6rem, -5rem, 0); }
  100% { transform: translate3d(-7rem, 0, 0); }
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* ---------- Seitenübergang ---------- */
.page-transition { display: none; }
.js .page-transition {
  position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-soft); pointer-events: none;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.page-transition img { width: auto; max-height: 96px; opacity: 0.2; animation: ptr-pulse 1.6s ease-in-out infinite; }
@keyframes ptr-pulse { 50% { opacity: 0.35; } }
.is-loaded .page-transition { opacity: 0; visibility: hidden; }
.is-leaving .page-transition { opacity: 1; visibility: visible; transition-duration: 0.45s; }

/* ---------- Magic Cursor ---------- */
.magic-cursor { display: none; }
.has-cursor .magic-cursor { display: block; position: fixed; top: 0; left: 0; z-index: 99980; pointer-events: none; }
.cursor-ball {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; border-radius: 50%; opacity: 0.5;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), background-color 0.35s, opacity 0.35s, border-color 0.35s;
  will-change: transform;
}
.cursor-ball.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-width: 1px; opacity: 0.35; background: rgba(255, 255, 255, 0.4); }
.cursor-ball.is-view { width: 104px; height: 104px; margin: -52px 0 0 -52px; border-color: #fff; background: #fff; opacity: 1; }
.cursor-ball.is-hidden { opacity: 0; }
.cursor-label {
  font-family: var(--font-display); font-size: 14px; font-weight: 500; line-height: 1.3; color: #222;
  text-align: center; opacity: 0; transform: scale(0); transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.cursor-ball.is-view .cursor-label { opacity: 1; transform: scale(1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  width: var(--wrap); margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) 0 0;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-logo { display: block; width: clamp(40px, 4vw, 52px); }
.site-logo img { width: 100%; height: auto; }
.site-header-actions { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.6rem); }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 44px; font-family: var(--font-display); font-size: 15px; color: rgba(255, 255, 255, 0.55); transition: color 0.2s; }
.lang-switch a:hover, .lang-switch a[aria-current="true"] { color: #fff; }
.site-logo img, .lang-switch a, .menu-toggle, .menu-toggle-btn::before, .menu-toggle-btn::after { transition: color 0.3s, background-color 0.3s, filter 0.3s; }
.site-header.is-on-light .site-logo img { filter: invert(1); }
.site-header.is-on-light .lang-switch a { color: rgba(20, 20, 20, 0.5); }
.site-header.is-on-light .lang-switch a:hover, .site-header.is-on-light .lang-switch a[aria-current="true"] { color: #141414; }
.site-header.is-on-light .menu-toggle { color: #141414; }
.site-header.is-on-light .menu-toggle-btn::before, .site-header.is-on-light .menu-toggle-btn::after { background: #141414; }
.menu-open .site-header.is-on-light .site-logo img { filter: none; }
.menu-open .site-header.is-on-light .lang-switch a { color: rgba(255, 255, 255, 0.55); }
.menu-open .site-header.is-on-light .lang-switch a[aria-current="true"] { color: #fff; }
.menu-open .site-header.is-on-light .menu-toggle { color: #fff; }
.menu-open .site-header.is-on-light .menu-toggle-btn::before, .menu-open .site-header.is-on-light .menu-toggle-btn::after { background: #fff; }
.menu-toggle {
  display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 15px;
}
.menu-toggle-text { position: relative; display: inline-grid; justify-items: end; height: 1.7em; overflow: hidden; text-align: right; }
.menu-toggle-text > span { grid-area: 1 / 1; position: relative; }
.menu-toggle-text span { display: block; transition: transform 0.4s var(--ease-out); }
.menu-toggle-text span::after { content: attr(data-hover); position: absolute; top: 100%; right: 0; }
.menu-toggle:hover .menu-toggle-text span { transform: translateY(-100%); }
.menu-toggle-text .t-close { transform: translateY(100%); }
.menu-toggle-text .t-close::after { content: none; }
.menu-open .menu-toggle-text .t-menu { transform: translateY(-200%); }
.menu-open .menu-toggle-text .t-close, .menu-open .menu-toggle:hover .menu-toggle-text .t-close { transform: translateY(0); }
.menu-open .menu-toggle:hover .menu-toggle-text .t-menu { transform: translateY(-200%); }
.menu-toggle-btn { position: relative; width: 50px; height: 50px; border-radius: 50%; transition: border-color 0.3s; border: 1px solid transparent; }
.menu-toggle-btn::before, .menu-toggle-btn::after {
  content: ""; position: absolute; left: 13px; height: 2px; background: #fff;
  transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.menu-toggle-btn::before { top: 21px; width: 24px; }
.menu-toggle-btn::after { top: 28px; width: 16px; }
.menu-toggle:hover .menu-toggle-btn::after { width: 24px; }
.menu-open .menu-toggle-btn { border-color: rgba(255, 255, 255, 0.35); }
.menu-open .menu-toggle-btn::before { top: 24px; width: 20px; left: 15px; transform: rotate(45deg); }
.menu-open .menu-toggle-btn::after { top: 24px; width: 20px; left: 15px; transform: rotate(-45deg); }

/* Overlay-Menü */
.overlay-menu {
  position: fixed; inset: 0; z-index: 998; display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-soft); opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.menu-open .overlay-menu { opacity: 1; visibility: visible; }
.overlay-menu ol { margin: 0; padding: 0; list-style: none; counter-reset: menu; text-align: center; }
.overlay-menu li { counter-increment: menu; overflow: hidden; padding: 0 48px; }
.overlay-menu a {
  position: relative; display: inline-block; padding: 0.05em 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 2.9rem); line-height: 1.25; color: #eaeaea;
  transform: translateY(110%); transition: transform 0.8s var(--ease-out), color 0.3s;
}
.overlay-menu a::before {
  content: counter(menu, decimal-leading-zero); position: absolute; top: 0.6em; right: 100%; margin-right: 12px;
  font-size: 11px; font-weight: 400; color: var(--color-gray); opacity: 0.8;
}
.menu-open .overlay-menu a { transform: translateY(0); }
.menu-open .overlay-menu li:nth-child(2) a { transition-delay: 0.06s; }
.menu-open .overlay-menu li:nth-child(3) a { transition-delay: 0.12s; }
.menu-open .overlay-menu li:nth-child(4) a { transition-delay: 0.18s; }
.overlay-menu ol:hover a { color: rgba(234, 234, 234, 0.45); }
.overlay-menu ol a:hover, .overlay-menu a[aria-current="page"] { color: #fff; }

/* ---------- Page Header (Hero) ---------- */
.page-header { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.page-header-inner { position: relative; width: var(--wrap); margin: 0 auto; padding: 120px 0 max(140px, var(--sc-reserve)); }
.ph-caption { position: relative; z-index: 2; max-width: 1000px; }
.page-header.is-home .ph-caption { max-width: 820px; }
.ph-title { position: relative; z-index: 2; font-size: var(--text-hero); font-weight: 400; line-height: 1.3; }
.ph-title b { font-weight: 700; }
.ph-ghost {
  position: absolute; z-index: 1; left: -0.45em; top: 50%; margin-top: -0.55em;
  font-family: var(--font-display); font-size: var(--text-ghost); font-weight: 600; line-height: 1;
  white-space: nowrap; color: rgba(255, 255, 255, 0.045); pointer-events: none; user-select: none;
}
.ph-subtitle { margin-top: 1.4rem; font-family: var(--font-display); font-size: 17px; letter-spacing: 0.05em; }
.ph-category { margin-bottom: 1rem; font-size: 15px; color: var(--color-text-soft); }

/* Startseite: Video rechts angeschnitten */
.page-header.is-home .ph-media {
  position: absolute; z-index: 0; top: 38%; right: 8%; width: min(53vw, 763px); aspect-ratio: 16 / 9;
  overflow: hidden;
}
.page-header.is-home .ph-media video { width: 100%; height: 100%; object-fit: cover; }

/* Unterseiten: zentriertes, angeschnittenes Bild */
.page-header.is-cropped { text-align: center; }
.page-header.is-cropped .page-header-inner { padding: 130px 0 max(130px, var(--sc-reserve)); }
.page-header.is-cropped.is-short .page-header-inner { padding-bottom: 130px; }
.page-header.is-cropped .ph-caption { margin: 0 auto; }
.page-header.is-cropped .ph-title { font-size: clamp(3.4rem, 1.5rem + 7vw, 8rem); line-height: 1.1; }
.page-header.is-cropped .ph-ghost { left: -50vw; right: -50vw; text-align: center; font-size: clamp(5rem, 2rem + 11vw, 14rem); }
.page-header.is-cropped .ph-media {
  position: absolute; z-index: 0; inset: 0; margin: auto; width: clamp(220px, 22vw, 320px); height: auto; aspect-ratio: 5 / 7;
  overflow: hidden;
}
.page-header.is-cropped .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-header.is-cropped .ph-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.15); }
.page-header.is-short { min-height: 70vh; }
.page-header.is-short .scroll-circle { display: none; }

/* Unterseiten und Rechtsseiten: Vollbild-Foto, Titelgröße wie im Original */
.page-header.is-full { align-items: flex-end; }
.page-header.is-full .ph-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-header.is-full .ph-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.page-header.is-full .ph-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.35) 55%, var(--color-bg) 100%);
}
.page-header.is-full .page-header-inner { padding-bottom: max(clamp(150px, 20vh, 220px), var(--sc-reserve)); }
.page-header.is-full .ph-title { font-size: clamp(3.4rem, 1.5rem + 7vw, 8rem); line-height: 1.1; }
.page-header.is-legal .ph-title { font-size: clamp(1.9rem, 1rem + 4.5vw, 5rem); line-height: 1.1; hyphens: auto; -webkit-hyphens: auto; }
.page-header.is-404 .ph-title { font-size: clamp(3rem, 1.5rem + 6vw, 7rem); }
.page-header.is-404 .page-header-inner { padding-bottom: clamp(110px, 16vh, 180px); }
.ph-lead { max-width: 46ch; margin: 1.4rem 0 2rem; color: var(--color-muted); }

/* Projekte: Vollbild-Hintergrund */
.page-header.is-project { align-items: flex-end; }
.page-header.is-project .ph-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-header.is-project .ph-media img, .page-header.is-project .ph-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.page-header.is-project .ph-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.35) 55%, var(--color-bg) 100%);
}
.page-header.is-project .page-header-inner { padding-bottom: max(clamp(150px, 20vh, 220px), var(--sc-reserve)); }
.page-header.is-project .ph-title { font-size: clamp(2.4rem, 1.2rem + 3.8vw, 4.2rem); line-height: 1.2; }

.project-info { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(1.8rem, 4vw, 3rem); font-family: var(--font-display); font-size: 15px; }
.project-info > div { position: relative; padding: 0 clamp(16px, 2vw, 30px); }
.project-info > div:first-child { padding-left: 0; }
.project-info > div + div::before { content: ""; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: rgba(255, 255, 255, 0.2); }
.project-info dt { color: var(--color-muted); opacity: 0.8; }
.project-info dd { margin: 0.25rem 0 0; }
.project-info dd a { display: inline-flex; gap: 0.4rem; align-items: center; }
.project-info dd a .icon { font-size: 1em; }

/* Scroll-Kreis */
.page-header { --sc-size: clamp(180px, 17vw, 250px); --sc-offset: 95px; --sc-reserve: calc(var(--sc-size) - var(--sc-offset) + 48px); }
.scroll-circle {
  position: absolute; z-index: 3; left: clamp(10px, 3vw, 43px); bottom: calc(var(--sc-offset) * -1); width: var(--sc-size); aspect-ratio: 1;
  display: block;
}
.scroll-circle svg { width: 100%; height: 100%; animation: sdc-rotation 8s linear infinite; }
.scroll-circle text { font-family: var(--font-display); font-size: 33px; letter-spacing: 25px; text-transform: uppercase; fill: #bbb; transition: fill 0.2s; }
.scroll-circle:hover text { fill: #fff; }
.scroll-circle .icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 22px; color: var(--color-gray); }
@keyframes sdc-rotation { to { transform: rotate(-360deg); } }

/* Teilen */
.share-trigger {
  position: absolute; z-index: 3; right: var(--header-pad); bottom: 50px;
  display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 15px;
}
.share-trigger .icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.share-overlay { overflow: hidden;
  position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; text-align: center;
  background: rgba(17, 17, 17, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.share-overlay.is-open { opacity: 1; visibility: visible; }
.share-overlay .ph-ghost { left: -50vw; right: -50vw; text-align: center; }
.share-overlay > div { position: relative; }
.share-title { position: relative; font-size: var(--text-h2); }
.share-subtitle { position: relative; margin: 0.6rem 0 2rem; color: var(--color-muted); font-family: var(--font-display); }
.share-close { position: absolute; top: 40px; right: var(--header-pad); width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: none; cursor: pointer; }

/* Soziale Knöpfe */
.social-buttons { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.social-buttons a, .social-buttons button {
  display: flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff; opacity: 0.85; transition: opacity 0.2s;
}
.social-buttons a:hover, .social-buttons button:hover { opacity: 1; }

/* ---------- Animationen beim Scrollen ---------- */
.js [data-anim="fadeinup"] { opacity: 0; transform: translate3d(0, 80px, 0); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out); }
.js [data-anim="fadein"] { opacity: 0; transition: opacity 1.6s var(--ease-out); }
.js [data-anim].is-inview { opacity: 1; transform: none; }
.js .zoom-in { transform: scale(1.25); opacity: 0; transition: transform 1.8s var(--ease-out), opacity 1.2s var(--ease-out); }
.js .is-inview .zoom-in, .js .zoom-in.is-inview { transform: scale(1); opacity: 1; }
.js .ph-appear { opacity: 0; transform: translate3d(0, 60px, 0); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out); }
.js.is-loaded .ph-appear { opacity: 1; transform: none; }
.js.is-loaded .ph-appear:nth-child(2) { transition-delay: 0.12s; }
.js.is-loaded .ph-appear:nth-child(3) { transition-delay: 0.24s; }
.js .ph-media.ph-appear { transform: none; transition-duration: 2s; }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: var(--space-section) 0; }
.section.is-tight-bottom { padding-bottom: 0; }
.section.is-accent { background: var(--color-bg-accent); }
.wrap-narrow { width: min(80vw, 1100px); margin: 0 auto; }

.heading { margin-bottom: clamp(3rem, 7vw, 6rem); font-family: var(--font-display); }
.heading.is-center { text-align: center; }
.heading-sub { margin: 0 0 1.1rem; font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.27rem); font-weight: 500; line-height: 1.4; color: var(--color-muted); }
.heading-title { font-size: var(--text-h2); line-height: 1.3; }
.heading .btn-link { margin-top: 1.4rem; }

/* Link-Knopf mit Text-Wechsel */
.btn-link {
  position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 12px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: 16px; font-weight: 500; line-height: 1.6;
}
.btn-link-text { position: relative; display: inline-block; overflow: hidden; }
.btn-link-text span { display: block; transition: transform 0.4s var(--ease-out); }
.btn-link-text span::after { content: attr(data-hover); position: absolute; top: 100%; left: 0; }
.btn-link::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.6; transform-origin: left; transition: transform 0.4s var(--ease-out); }
.btn-link:hover .btn-link-text span { transform: translateY(-100%); }
.btn-link:hover::after { transform: scaleX(1.6); }

/* Zweispaltiger Text */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); }
.split-title { font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 0.9vw, 1.75rem); font-weight: 500; }
.split-title small { display: block; margin-bottom: 0.4rem; font-size: 0.6em; letter-spacing: 0.12em; color: var(--color-muted); }
.text-flow { overflow-wrap: break-word; max-width: 80ch; font-size: clamp(15px, 0.85rem + 0.2vw, 17px); color: var(--color-text-soft); }
.text-flow.is-large { font-family: var(--font-display); font-size: var(--text-big); line-height: 1.75; color: #fff; }
.text-flow h2 { margin-bottom: 1.6rem; font-size: var(--text-h3); color: #fff; }
.text-flow .text-lead { font-family: var(--font-display); font-size: var(--text-big); line-height: 1.75; color: #fff; }
.text-flow h3 { margin: 2.2rem 0 1rem; font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem); color: #fff; }
.text-flow.is-large h3 { margin: 0 0 1.6rem; font-size: var(--text-h3); }
.text-flow.is-large * + h2, .text-flow.is-large * + h3 { margin-top: clamp(2.4rem, 4vw, 3.4rem); }
.text-flow.is-large .plain-list { font-size: inherit; color: inherit; }
.text-flow ul li { padding: 0.15rem 0; }
.text-flow .btn-link { margin-top: 0.4rem; }

/* Liste der Mitwirkenden */
.credits { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.credits-group h3 { margin-bottom: 1.2rem; font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem); }
.credit-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.2rem 2rem; font-size: 15px; }
.credit-list dt { font-size: 13px; color: var(--color-gray); }
.credit-list dd { margin: 0.15rem 0 0; color: #fff; }
.plain-list { font-size: 15px; color: var(--color-text-soft); }
.plain-list li { padding: 0.2rem 0; }

/* Vollbreites Bild mit Parallax */
.wide-media { position: relative; height: clamp(320px, 75vh, 860px); overflow: hidden; }
.wide-media img, .wide-media video { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.wide-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2); }

/* ---------- Portfolio-Raster ---------- */
.pgi { position: relative; }
.pgi-link { position: relative; display: block; overflow: hidden; }
.pgi-holder { position: relative; overflow: hidden; transition: transform 0.8s var(--ease-out); }
.pgi-holder::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.2); transition: background-color 0.6s; }
.pgi-link:hover .pgi-holder { transform: scale(0.95); }
.pgi-link:hover .pgi-holder::after { background: rgba(0, 0, 0, 0.05); }
.pgi-holder > .zoom-in { position: absolute; inset: 0; }
.pgi-holder img, .pgi-holder video { width: 100%; height: 100%; object-fit: cover; }
.pgi-holder video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; }
.pgi-holder.is-playing video { opacity: 1; }
.pgi-caption { position: absolute; z-index: 2; left: 0; bottom: clamp(22px, 3vw, 44px); padding: 0 clamp(22px, 4.5vw, 56px); max-width: 100%; pointer-events: none; }
.pgi-title { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.55rem); font-weight: 600; line-height: 1.35; text-wrap: balance; }
.pgi-category { margin-top: 0.5rem; font-size: 14px; line-height: 1.2; color: rgba(255, 255, 255, 0.9); }

.works-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 3rem) clamp(1.2rem, 4vw, 4rem); width: min(94vw, 1360px); margin: 0 auto; }
.works-grid .pgi-holder { aspect-ratio: 16 / 9.6; }
.works-grid .pgi:nth-child(4n+1) { grid-column: span 1; }
.works-grid .pgi:nth-child(4n+2) { width: 75%; margin: 12% 0 0 auto; }
.works-grid .pgi:nth-child(4n+3) { width: 75%; margin: 0 auto 0 0; }
.works-grid .pgi:nth-child(4n) { margin-top: 2%; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 5.5rem) clamp(1rem, 3vw, 6rem); width: min(96vw, 1720px); margin: 0 auto; }
.portfolio-grid .pgi-holder { aspect-ratio: 3 / 4; }
.portfolio-grid .pgi.is-offset { margin-top: 10vw; margin-bottom: -10vw; }
.portfolio-grid .pgi.is-hidden { display: none; }
.portfolio-grid .pgi { transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.portfolio-grid .pgi.is-filtering { opacity: 0; transform: scale(0.96); }
.portfolio-grid-wrap { padding-bottom: calc(var(--space-section) + 10vw); }

/* Filter */
.filter-trigger {
  position: fixed; z-index: 990; right: var(--header-pad); bottom: 40px; display: flex; align-items: center; gap: 4px;
  padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--font-display); font-size: 16px;
}
.filter-trigger .icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.filter-overlay {
  position: fixed; inset: 0; z-index: 9980; display: flex; align-items: center; justify-content: center;
  background: rgba(17, 17, 17, 0.96); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.filter-overlay.is-open { opacity: 1; visibility: visible; }
.filter-list { text-align: center; }
.filter-list button {
  display: block; margin: 0 auto; padding: 0.1em 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, 0.45); transition: color 0.3s;
}
.filter-list button:hover, .filter-list button.is-active { color: #fff; }
.filter-close { position: absolute; top: 40px; right: var(--header-pad); display: flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; font-family: var(--font-display); font-size: 15px; }
.filter-close .icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }

/* ---------- Akkordeon ---------- */
.accordion-item { border-top: 1px solid var(--color-line); }
.accordion-item:last-child { border-bottom: 1px solid var(--color-line); }
.accordion-heading { position: relative; display: block; width: 100%; padding: clamp(28px, 3.5vw, 45px) clamp(70px, 10vw, 140px) clamp(28px, 3.5vw, 45px) 0; border: 0; background: none; text-align: left; cursor: pointer; }
.accordion-title { display: block; font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; line-height: 1.2; }
.accordion-sub { display: block; margin-top: 10px; font-family: var(--font-body); font-size: clamp(14px, 0.8rem + 0.25vw, 17px); color: var(--color-gray); }
.accordion-caret { position: absolute; right: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; opacity: 0.3; transition: opacity 0.3s; }
.accordion-caret::before, .accordion-caret::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; transition: transform 0.4s var(--ease-out); }
.accordion-caret::before { width: 44px; height: 1px; transform: translate(-50%, -50%); }
.accordion-caret::after { width: 1px; height: 44px; transform: translate(-50%, -50%); }
.accordion-heading:hover .accordion-caret { opacity: 0.9; }
.accordion-heading[aria-expanded="true"] .accordion-caret { opacity: 0.9; }
.accordion-heading[aria-expanded="true"] .accordion-caret::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
.accordion-panel > div { overflow: hidden; }
.accordion-panel.is-open { grid-template-rows: 1fr; }
.accordion-panel .text-flow { max-width: 800px; padding-bottom: 40px; }

/* ---------- Referenzen ---------- */
.testimonials { position: relative; overflow: hidden; text-align: center; cursor: grab; touch-action: pan-y; user-select: none; }
.testimonials.is-dragging { cursor: grabbing; }
.ts-track { display: flex; transition: transform 0.9s var(--ease-out); will-change: transform; }
.ts-slide { flex: 0 0 min(800px, 80vw); margin: 0 clamp(16px, 3vw, 43px); font-family: var(--font-display); opacity: 0.12; transform: scale(0.8); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.ts-slide.is-active { opacity: 1; transform: none; }
.ts-text { margin: 0; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); line-height: 1.6; }
.ts-sub { margin-top: 1.6rem; font-size: clamp(14px, 0.8rem + 0.3vw, 17px); color: var(--color-gray); }
.ts-dots { display: flex; justify-content: center; gap: 4px; margin-top: 2.6rem; }
.ts-dots button { position: relative; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.ts-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; opacity: 0.35; transition: transform 0.3s, opacity 0.3s; }
.ts-dots button[aria-current="true"]::before { opacity: 1; transform: scale(1.4); }

/* ---------- Kontaktinfo ---------- */
.contact-info { margin-bottom: 2.4rem; font-size: clamp(15px, 0.85rem + 0.2vw, 17px); color: var(--color-muted); }
.contact-info li { display: flex; align-items: baseline; gap: 12px; padding: 3px 0; }
.contact-info .icon { width: 20px; font-size: 1.1em; text-align: center; }
.contact-info a { transition: color 0.2s; }
.contact-info a:hover { color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.follow { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 15px; }
.follow .social-buttons { justify-content: flex-start; }

/* ---------- Drei Spalten / Logos ---------- */
.columns-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem); }
.columns-3 h3 { margin-bottom: 1.2rem; font-size: clamp(1.3rem, 1rem + 0.7vw, 1.7rem); letter-spacing: 0.08em; }
.columns-3 p { font-size: 15px; color: var(--color-text-soft); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 170px), 1fr)); gap: 0; }
.logo-wall li { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: clamp(18px, 2.5vw, 34px); }
.logo-wall img { width: 100%; max-width: 180px; max-height: 96px; object-fit: contain; opacity: 0.7; transition: opacity 0.3s; }
.logo-wall li:hover img { opacity: 1; }

/* ---------- Horizontale Galerie (Über uns) ---------- */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hscroll-track { display: flex; align-items: center; gap: clamp(30px, 5vw, 90px); padding: 0 8vw; will-change: transform; }
.hscroll-item { flex: 0 0 auto; width: clamp(180px, 19vw, 300px); }
.hscroll-item:nth-child(3n+2) { width: clamp(200px, 21vw, 340px); transform: translateY(14vh); }
.hscroll-item:nth-child(3n) { transform: translateY(-10vh); }
.hscroll-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.no-hscroll .hscroll-sticky { position: relative; height: auto; overflow-x: auto; padding: 4rem 0; }
.no-hscroll .hscroll-item { transform: none !important; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 30px); width: min(94vw, 1500px); margin: 0 auto; }
.gallery-item { position: relative; display: block; overflow: hidden; padding: 0; border: 0; background: #000; cursor: pointer; }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item img, .gallery-item video { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; transition: transform 1s var(--ease-out), opacity 0.6s; }
.gallery-item.is-wide img, .gallery-item.is-wide video { aspect-ratio: 21 / 9; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.04); }
.gallery-item video { position: absolute; inset: 0; height: 100%; opacity: 0; }
.gallery-item.is-playing video { opacity: 1; }
.gallery-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; font-size: 16px; pointer-events: none; transition: opacity 0.3s; }
.gallery-item.is-playing .gallery-play { opacity: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 99970; display: flex; align-items: center; justify-content: center; background: rgba(8, 8, 8, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage { width: min(92vw, 1600px); height: min(82vh, 900px); display: flex; align-items: center; justify-content: center; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(0, 0, 0, 0.3); cursor: pointer; font-size: 18px; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; margin-top: -27px; }
.lightbox-next { right: 24px; top: 50%; margin-top: -27px; }
.lightbox-count { position: absolute; left: 24px; top: 36px; font-family: var(--font-display); font-size: 14px; color: var(--color-gray); }

/* ---------- Nächstes Projekt ---------- */
.page-nav { position: relative; padding: clamp(6rem, 12vw, 11rem) 0; text-align: center; overflow: hidden; }
.page-nav-media { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.8s var(--ease-out); }
.page-nav-media img, .page-nav-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.page-nav-media::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, 0.55); }
.page-nav:hover .page-nav-media, .page-nav:focus-within .page-nav-media { opacity: 1; }
.page-nav:hover .page-nav-media img, .page-nav:hover .page-nav-media video { transform: scale(1); }
.page-nav-link { position: relative; z-index: 1; display: block; width: min(90vw, 1320px); margin: 0 auto; }
.page-nav-sub { display: block; margin-bottom: 0.4rem; font-family: var(--font-display); font-size: 17px; color: var(--color-muted); }
.page-nav-titles { position: relative; display: block; overflow: hidden; }
.page-nav-title, .page-nav-hover {
  display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1rem + 4.2vw, 6rem); font-weight: 500; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 0.6s var(--ease-nav);
}
.page-nav-title { opacity: 0.55; }
@media (hover: none) { .page-nav-title { opacity: 0.9; } }
.page-nav-hover { position: absolute; left: 0; right: 0; top: 0; transform: translateY(100%); }
.page-nav-link:hover .page-nav-title { transform: translateY(-100%); transition-delay: 0.1s; }
.page-nav-link:hover .page-nav-hover { transform: translateY(0); transition-delay: 0.1s; }

/* ---------- Footer ---------- */
.site-footer { --footer-ink: #141414; position: relative; overflow: hidden; background: #f5f3ef; font-size: 15px; color: #4d4d4d; }
.site-footer :focus-visible { outline-color: var(--footer-ink); }
.site-footer ::selection { color: #fff; background: #141414; }
.site-footer p { margin: 0; }
.site-footer.is-compact { padding-top: clamp(4rem, 8vw, 6rem); }
.site-footer a { transition: color 0.25s var(--ease-out); }
.site-footer p a:not(.btn-link) { opacity: 1; font-style: normal; border: 0; }
.footer-cta { width: var(--wrap); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.footer-cta-title { max-width: 18ch; font-family: var(--font-display); font-size: clamp(2.3rem, 1.2rem + 4vw, 5.2rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--footer-ink); text-wrap: balance; }
.footer-cta-text { margin-top: 1.4rem !important; max-width: 44ch; font-size: clamp(16px, 0.9rem + 0.3vw, 19px); }
.footer-cta-mail { display: inline-block; transition: opacity 0.3s var(--ease-out); margin-top: clamp(2rem, 4vw, 3.2rem); font-family: var(--font-display); font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3.2rem); line-height: 1.2; color: var(--footer-ink); overflow-wrap: anywhere; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); width: var(--wrap); margin: 0 auto; padding-bottom: clamp(3.5rem, 7vw, 6rem); line-height: 1.8; }
.footer-about img { width: 46px; height: auto; margin-bottom: 1.4rem; filter: invert(1); }
.footer-about p { max-width: 34ch; }
.footer-head { margin-bottom: 1rem !important; font-family: var(--font-display); font-size: 17px; color: var(--footer-ink); }
.footer-col address { font-style: normal; margin-bottom: 1rem; }
.footer-col ul li { padding: 0.1rem 0; }
.footer-col a { display: inline-block; padding: 0.15rem 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 2rem; width: var(--wrap); margin: 0 auto; padding: 0 0 1.8rem; font-size: 13.5px; color: #5f5f5f; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.footer-bottom nav a, .footer-cookie-btn { display: inline-flex; align-items: center; min-height: 36px; }
.footer-cookie-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: color 0.25s var(--ease-out); }
.footer-bottom a[aria-current="page"] { color: var(--footer-ink); }
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover, .footer-cookie-btn:hover { color: var(--footer-ink); }
  .footer-cta-mail:hover { opacity: 0.7; }
}

/* ---------- Kontakt per E-Mail ---------- */
.contact-cta { padding-top: clamp(0.5rem, 2vw, 2.4rem); }
.contact-cta-title { max-width: 22ch; margin: 0; font-size: clamp(1.45rem, 1rem + 1.3vw, 2.2rem); line-height: 1.25; }
.contact-cta-text { max-width: 46ch; margin: 1.6rem 0 0; color: var(--color-muted); }
.contact-cta-mail { display: inline-block; margin-top: clamp(2.4rem, 5vw, 4.5rem); font-family: var(--font-display); font-size: clamp(1.7rem, 0.9rem + 3.6vw, 4.2rem); line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere; color: #fff; transition: opacity 0.3s var(--ease-out); }
.contact-cta-mail:hover { opacity: 0.7; }
.contact-cta-mail:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.contact-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 2.4rem; }

/* ---------- Rechtsseiten ---------- */
.page-hero-legal { padding: clamp(7rem, 14vw, 11rem) 0 0; }
.legal-content { width: var(--wrap); max-width: 980px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 0 var(--space-section); font-size: 16px; overflow-wrap: break-word; }
.legal-content h1, .legal-content h2, .legal-content h3 { hyphens: auto; -webkit-hyphens: auto; }
.legal-content h1 { margin: 0 0 2.4rem; font-size: clamp(1.9rem, 1rem + 4.5vw, 5rem); font-weight: 400; line-height: 1.1; }
.legal-content h2 { margin: 2.8rem 0 0.9rem; font-size: clamp(1.35rem, 1rem + 1vw, 1.9rem); }
.legal-content h3 { margin: 1.8rem 0 0.6rem; font-size: 1.15rem; }
.legal-content p, .legal-content li { color: var(--color-muted); }
.legal-content ul { padding-left: 1.2rem; list-style: disc; }
.legal-content a { color: #fff; opacity: 1; font-style: normal; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.legal-content strong { color: #fff; }
.legal-nav { margin-top: 2rem; }
.cookie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin: 1.5rem 0 2rem; }
.cookie-card { padding-top: 1rem; border-top: 1px solid var(--color-line); }
.cookie-card h3 { margin: 0 0 0.25rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.cookie-card-badge { display: inline-block; margin-bottom: 0.6rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-gray); }
.cookie-card p { margin: 0 0 0.75rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-card ul { margin: 0; padding: 0 0 0 1.2rem; font-size: 0.88rem; line-height: 1.6; }
.cookie-card ul li code { font-size: 0.84rem; padding: 0.1em 0.35em; background: rgba(255, 255, 255, 0.08); border-radius: 3px; }
.legal-content button, .legal-content [data-cookie-settings] { cursor: pointer; }

/* Danke-Seite / 404 */
.center-stage { overflow: hidden; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 0 100px; }
.center-stage .ph-ghost { left: -50vw; right: -50vw; text-align: center; }
.center-stage > div { position: relative; }
.center-stage h1 { position: relative; font-size: clamp(3rem, 1.5rem + 6vw, 7rem); font-weight: 400; line-height: 1.1; }
.center-stage p { position: relative; margin: 1.4rem auto 2rem; max-width: 46ch; color: var(--color-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split > div:empty { display: none; }
  .columns-3 { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-header.is-home .ph-media { right: 4%; width: 70vw; top: 45%; opacity: 0.7; }
  .page-nav-hover { display: none; }
  .page-nav-link:hover .page-nav-title { transform: none; opacity: 1; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .pgi:nth-child(n) { width: 100%; margin: 0; }
  .portfolio-grid { grid-template-columns: 1fr; width: var(--wrap); }
  .portfolio-grid-wrap { padding-bottom: var(--space-section); }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.is-wide { grid-column: auto; }
  .gallery-item.is-wide img, .gallery-item.is-wide video { aspect-ratio: 16 / 9.4; }
  .cookie-grid { grid-template-columns: 1fr; }
  .project-info > div { padding: 0.5rem 1.2rem 0.5rem 0; }
  .project-info > div + div::before { display: none; }
  .page-header { --sc-size: 160px; --sc-offset: 70px; }
  .share-trigger { bottom: 30px; }
  .page-header.is-home .ph-media { width: 86vw; right: 0; left: 7vw; top: auto; bottom: 14vh; opacity: 0.55; }
  .hscroll-item:nth-child(n) { width: 64vw; }
  .page-header.is-home .ph-title { font-size: clamp(1.9rem, 1.2rem + 3vw, 2.4rem); }
  .page-header.is-home .page-header-inner { padding-bottom: max(38vh, var(--sc-reserve)); }
}
@media (max-width: 420px) {
  .site-header .lang-switch a { min-width: 28px; font-size: 13px; }
  .menu-toggle-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-anim], .js .zoom-in, .js .ph-appear { opacity: 1; transform: none; }
}
