/* =========================================================
   LUMIDIUM – statischer Nachbau der WordPress-Seite (Theme Jevelin)
   Schritt 1: 1:1-Nachbau. Werte aus dem Original gemessen (DevTools, 11.11.2026).
   ========================================================= */

/* ---------- Schriften (lokal, latin) ---------- */
@font-face { font-family: "Abel"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/abel-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/raleway-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --container: 1200px;            /* gemessen: Jevelin-Container 1200 px */
  --container-text: 860px;        /* STANDARD §2 */
  --gutter: 15px;
  --color-bg: #000;
  --color-text: #8d8d8d;
  --color-head: #fff;
  --color-link: #fff;
  --color-hover: #4fc3ff;         /* Akzent: helles Blau aus dem Logo-Verlauf (11.11.2026, vorher Grün #99ff33) */
  --color-line: #ebebeb;
  --font-body: "Abel", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --header-top-h: 91px;
  --nav-h: 70px;
  --footer-h: 460px;
  /* Fließende Schriftgrößen nach STANDARD §4 (360 → 1280 px Viewport), umgestellt 11.11.2026 */
  --fs-body: clamp(1rem, 0.9322rem + 0.3012vw, 1.125rem);          /* 16 → 18, volle 18 px schon ab 1024 px (Tablet) */
  --fs-small: 0.875rem;                                             /* 14 fest */
  --fs-legal-h1: clamp(1.875rem, 1.5326rem + 1.5217vw, 2.75rem);    /* 30 → 44 */
  --fs-title: clamp(1.5rem, 1.2554rem + 1.087vw, 2.125rem);         /* 24 → 34, Projekttitel */
  --fs-h3: clamp(1.25rem, 1.1033rem + 0.6522vw, 1.625rem);          /* 20 → 26 */
  --fs-h4: clamp(1.125rem, 1.0272rem + 0.4348vw, 1.375rem);         /* 18 → 22 */
  --fs-h5: clamp(1.0625rem, 0.9891rem + 0.3261vw, 1.25rem);         /* 17 → 20 */
  --fs-filter: clamp(1rem, 0.9022rem + 0.4348vw, 1.25rem);          /* 16 → 20 */
  --fs-lb-title: clamp(1.25rem, 1.0543rem + 0.8696vw, 1.75rem);     /* 20 → 28 */
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font: 400 var(--fs-body)/1.6 var(--font-body); }  /* STANDARD §4: Text 1.6 */
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--color-link); text-decoration: none; transition: color .3s; }
a:hover, a:focus { color: var(--color-hover); }
p { margin: 0 0 12px; line-height: 1.6; }  /* vorher 1.8 aus dem Original, angepasst 11.11.2026 */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--color-head); font-weight: 700; line-height: 1.2; margin: 0 0 15px; }
h1 { font-size: var(--fs-legal-h1); } h2 { font-size: var(--fs-title); } h3 { font-size: var(--fs-h3); } h4 { font-size: var(--fs-h4); } h5 { font-size: var(--fs-h5); } h6 { font-size: var(--fs-body); }
ul { margin: 0 0 10px; padding-left: 20px; }
strong { font-weight: 700; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-hover); outline-offset: 2px; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--text { width: min(var(--container-text), 100% - 2 * var(--gutter)); }  /* STANDARD §2: schmale Textspalte */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 1000; background: #fff; color: #000; padding: 10px 16px; font-family: var(--font-head); }
.skip-link:focus { top: 10px; color: #000; }
.text-center { text-align: center; }

/* ---------- Header ---------- */
.header-top { background: #020000; height: var(--header-top-h); display: flex; align-items: center; justify-content: center; }
.header-top__logo img { height: 70px; width: auto; }
.site-nav { position: sticky; top: 0; z-index: 100; background: #000; height: var(--nav-h); display: flex; align-items: center; justify-content: center; }
/* kleines Logo links, sobald der obere Logo-Bereich weggescrollt ist (.is-stuck per JS) */
.site-nav__logo { position: absolute; left: clamp(16px, 4vw, 40px); top: 50%; transform: translate(-8px, -50%); opacity: 0; visibility: hidden; transition: opacity .35s ease, transform .35s ease, visibility 0s .35s; }
.site-nav__logo { display: flex; align-items: center; gap: 12px; line-height: 0; }
/* Symbol + Wortmarke: Schrift 50 % der Symbolhöhe, beide vertikal mittig (11.11.2026) */
.site-nav__icon { width: 44px; height: 44px; display: block; }
.site-nav__word { height: 22px; width: auto; display: block; }
.site-nav.is-stuck .site-nav__logo { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity .35s ease, transform .35s ease, visibility 0s; }
.main-nav { display: flex; list-style: none; margin: 0; padding: 0; }
.main-nav li { padding: 0 15px; }
.main-nav a { position: relative; display: block; font: 400 14px/40px var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; }
/* Menü immer weiß; aktiver Punkt (Seite bzw. Abschnitt) unterstrichen, beim Überfahren ebenso (11.11.2026) */
.main-nav a::after { content: ""; position: absolute; left: 0; right: 2px; bottom: 6px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.main-nav a:hover, .main-nav a:focus, .main-nav a[aria-current] { color: #fff; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
/* Mobil-Header (Original: Logo links, 3×3-Punkte-Symbol rechts) */
.header-mobile { display: none; }

/* ---------- Seitenaufbau, Footer mit „Reveal“-Effekt wie im Original ---------- */
.site-main { position: relative; z-index: 1; background: var(--color-bg); }
.site-footer { position: relative; z-index: 0; background: #000; }
@media (min-width: 1025px) {
  .site-footer { position: sticky; bottom: 0; }
}
.footer-widgets { padding: 100px 0; }
.footer-widgets__cols { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -15px; }
.footer-widgets__col { padding: 0 15px; margin-bottom: 25px; }
.footer-widgets__col p { margin: 0 0 10px; }
.footer-logo { width: 150px; height: 150px; }
.footer-social { display: flex; gap: 4px; margin-top: 10px; }
.footer-social img { width: 40px; height: 40px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-hover); }
.copyrights { min-height: 70px; display: flex; align-items: center; padding: 0 10px; }
.copyrights p { margin: 0; }
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 200; width: 50px; height: 50px; border-radius: 100px; background: #bdbdbd; border: 2px solid #bdbdbd; color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: #8d8d8d; border-color: #8d8d8d; }
.to-top svg { width: 24px; height: 24px; }

/* ---------- Startseite: Hero-Slider ----------
   Stand 11.11.2026 (Wünsche Ulf): Überblenden aus Unschärfe/Zoom, Bild füllt den Bildschirm unter dem Header,
   alle Bedienelemente (Pfeile, Punkte, Pause, Scroll-Pfeil) liegen auf dem Bild. */
:root { --hero-offset: calc(var(--header-top-h) + var(--nav-h)); }
.hero { position: relative; overflow: hidden; background: #000; min-height: 320px;
  /* immer volle Breite und volle Höhe unter dem Header (Wunsch Ulf 11.11.2026) */
  --hh: max(320px, calc(100svh - var(--hero-offset)));
  height: var(--hh); }
/* Querformat (11.11.2026, Wunsch Ulf): Bild füllt Breite und Höhe; das Motiv wird so weit wie möglich mittig gerückt
   (--cx = Mitte des Motivs im Bild, 0–1). Die Bildtexte stehen als Text einheitlich unten rechts (.hero__cap). */
.hero__slide { --cx: .5; --iw: max(100vw, calc(var(--hh) * 1920 / 820)); }
.hero__slide picture { position: absolute; inset: 0; display: block; overflow: hidden; }
.hero__slide picture img { width: 100%; height: 100%; object-fit: cover;
  object-position: clamp(calc(100vw - var(--iw)), calc(50vw - var(--cx) * var(--iw)), 0px) 50%; }
.hero__slide:nth-child(2) { --cx: .5; }  .hero__slide:nth-child(3) { --cx: .38; }  .hero__slide:nth-child(4) { --cx: .46; }
.hero__slide:nth-child(5) { --cx: .29; }  .hero__slide:nth-child(6) { --cx: .5; }  .hero__slide:nth-child(7) { --cx: .48; }
.hero__slide:nth-child(8) { --cx: .5; }  .hero__slide:nth-child(9) { --cx: .49; }  .hero__slide:nth-child(10) { --cx: .32; }
.hero__slide:nth-child(12) { --cx: .52; }
/* Logo-Slide: Logo vollständig und immer unter dem Menü, über den Bedienelementen (Wunsch Ulf 11.11.2026) */
.hero__slide:first-child picture { top: 3vh; bottom: 64px; }
.hero__slide:first-child picture img { object-fit: contain; object-position: 50% 50%; }
/* Projekttitel unten rechts, einheitlich; Farbe des Titels wie im ursprünglichen Bildtext */
.hero__cap { position: absolute; z-index: 4; right: clamp(24px, 4vw, 64px); bottom: clamp(76px, 10vh, 120px); max-width: min(46vw, 560px); text-align: right; pointer-events: none;
  opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; text-shadow: 0 0 28px rgba(0,0,0,.7); }
.hero__slide.is-active .hero__cap { opacity: 1; transform: none; transition: opacity .9s ease 1.2s, transform .9s ease 1.2s; }
/* dunkler, weicher Schleier hinter dem Titel, damit er auch über hellen Motiven lesbar bleibt */
.hero__cap::before { content: ""; position: absolute; z-index: -1; inset: -70px -90px -60px -140px; background: radial-gradient(closest-side, rgba(0,0,0,.72), rgba(0,0,0,.4) 55%, rgba(0,0,0,0)); }
.hero__title { margin: 0; font: 400 clamp(1.5rem, 0.9rem + 1.7vw, 2.75rem)/1.12 var(--font-head); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.hero__cat { margin: .7em 0 0; font: 400 clamp(.8rem, .7rem + .3vw, 1rem)/1.3 var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__cap--1 .hero__title { color: #34b2b2; }  .hero__cap--2 .hero__title { color: #c6ee5a; }  .hero__cap--3 .hero__title { color: #e6e6e6; }
.hero__cap--4 .hero__title { color: #f0c040; background: linear-gradient(90deg, #ffb347, #f7e35a, #6be38a, #4fc3ff, #b56cff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.hero__cap--5 .hero__title { color: #96dce6; }  .hero__cap--6 .hero__title { color: #6cc6c0; }  .hero__cap--7 .hero__title { color: #6f7dff; }
.hero__cap--8 .hero__title { color: #4096ff; }  .hero__cap--9 .hero__title { color: #a3aee6; }  .hero__cap--10 .hero__title { color: #b4c0ca; }
.hero__cap--11 .hero__title { color: #8c8cf0; }
/* Startseite Desktop: Hauptheader transparent über dem Slider, Slider volle Bildschirmhöhe */
@media (min-width: 1025px) {
  .is-home .site-header { position: relative; z-index: 2; }
  .is-home .header-top { background: transparent; }
  .is-home .site-nav { transition: background .4s ease; }
  .is-home .site-nav:not(.is-stuck) { background: transparent; }
  .is-home .hero { --hh: max(480px, 100svh); margin-top: calc(-1 * var(--hero-offset)); }
  .is-home .hero__slide:first-child picture { top: calc(var(--hero-offset) + 2vh); }
  .is-home .hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--hero-offset) + 60px); z-index: 3; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,.35) 60%, rgba(0,0,0,0)); }
}
/* Hochformat-Ansicht aus Einzelteilen (Objekt, Textblock, ggf. Sternenhimmel), nur bei Hochkant-Bildschirmen sichtbar */
.hero__portrait { display: none; }
@media (max-aspect-ratio: 1/1) {
  /* Handy und iPad hochkant: Slider füllt den Bildschirm unter dem Header; Objekt oben, Text darunter, alles mittig und ohne Anschnitt */
  .hero__slide picture, .hero .hero__cap { display: none; }
  .hero__portrait { position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(16px, 3.5vh, 40px); padding: 4vh 7vw calc(92px + 1vh); }
  /* Selektoren mit .hero .hero__portrait, damit die allgemeine Regel „.hero__slide img“ (100 % + cover) nicht greift */
  .hero .hero__portrait .hero__pbg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
  .hero .hero__portrait .hero__pobj { display: block; flex: 0 1 auto; min-height: 0; width: auto; height: auto; max-width: 100%; max-height: 58%; object-fit: contain; mix-blend-mode: lighten; }
  .hero .hero__portrait .hero__ptxt { display: block; flex: 0 0 auto; width: auto; height: auto; max-width: 86%; max-height: 17vh; object-fit: contain; mix-blend-mode: lighten; animation: none; }
  /* Punkte mittig, Pfeil darunter (Selektor mit .hero, damit die Grundregel weiter unten nicht gewinnt) */
  .hero .hero__dots { left: 0; right: 0; bottom: 58px; max-width: none; justify-content: center; flex-wrap: nowrap; }
  .hero .hero__down { bottom: 8px; }
  .hero .hero__pause { right: 10px; bottom: 54px; }
}
.hero__track { position: absolute; inset: 0; }
/* Übergang (Wunsch Ulf 11.11.2026): altes Bild blendet ganz in Schwarz aus, danach blendet das neue aus dem Schwarz ein.
   Nur Deckkraft – kein Weichzeichner, keine Skalierung beim Wechsel, damit nichts ruckelt. */
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity;
  transition: opacity .7s ease-in-out, visibility 0s .7s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2;
  transition: opacity 1s ease-in-out .7s, visibility 0s .7s; }
.hero__slide.is-prev { opacity: 0; visibility: visible; z-index: 1;
  transition: opacity .7s ease-in-out, visibility 0s .7s; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* leichter Zoom läuft auch beim Ausblenden weiter (kein Zurückspringen) */
.hero__slide.is-active picture img, .hero__slide.is-prev picture img { animation: hero-drift 9s linear both; }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.03); } }
/* Bedienelemente über dem Verlauf */
.hero__dots, .hero__pause, .hero__down { z-index: 4; }
/* dezenter Verlauf unten, damit Punkte und Pfeil auf hellen Bildern lesbar bleiben */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.hero__dots { position: absolute; left: 20px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 2px; max-width: calc(50% - 50px); }
.hero__dot { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.hero__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); transition: background .3s, transform .3s; }
.hero__dot[aria-current="true"]::before { background: #fff; transform: scale(1.15); }
.hero__pause { position: absolute; right: 24px; bottom: 22px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #fff; opacity: .7; transition: opacity .3s; }
.hero__pause:hover, .hero__pause:focus-visible { opacity: 1; }
.hero__pause svg { width: 18px; height: 18px; }
.hero__down { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
.hero__down svg { width: 28px; height: 28px; }
.hero__down:hover, .hero__down:focus { color: var(--color-hover); }
@media (prefers-reduced-motion: no-preference) { .hero__down svg { animation: hero-bounce 2.4s ease-in-out infinite; } }
@keyframes hero-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 768px) {
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide.is-active, .hero__slide.is-prev { transition: none; }
  .hero__slide.is-active picture img, .hero__slide.is-prev picture img { animation: none; }
}

/* ---------- Startseite: Services ---------- */
.services { padding-top: 60px; }
.services h2 { font-size: 20px; text-align: center; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.services__text { width: min(760px, 100%);  /* bei 18 px Schrift etwas breiter als die gemessenen 694 px */ margin: 0 auto; text-align: center; }
.services__space { height: 50px; }

/* ---------- Portfolio-Filter ---------- */
/* Abschnitts-Überschriften (16.11.2026): weiß, Versalien, etwa doppelte Menügröße – Portfolio, Referenzen */
.section-title { margin: 60px 0 14px; text-align: center; font: 400 clamp(1.5rem, 1.1rem + 1.1vw, 2rem)/1.2 var(--font-head); letter-spacing: .22em; text-indent: .22em; text-transform: uppercase; color: #fff; }
/* Portfolio-Filter (14.11.2026): Schrift und Größe wie das Hauptmenü, bleibt beim Scrollen direkt unter der Menüleiste stehen */
/* klebend: rückt 12 px unter den unteren (leeren) Rand der Menüleiste, halbiert den Abstand zum Hauptmenü (14.11.2026) */
.filter { position: sticky; top: calc(var(--nav-h) - 12px); z-index: 50; display: flex; flex-wrap: wrap; justify-content: center; width: 100%; margin: 10px 0 30px; padding: 0 var(--gutter);
  list-style: none; background: #000; }
.filter li { padding: 0 15px; }
.filter__btn { position: relative; display: block; padding: 0; font: 400 14px/40px var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.filter__btn::after { content: ""; position: absolute; left: 0; right: 2px; bottom: 6px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.filter__btn[aria-pressed="true"]::after, .filter__btn:hover::after, .filter__btn:focus-visible::after { transform: scaleX(1); }
.filter__btn:hover { color: #fff; }

/* ---------- Portfolio-Raster (Masonry, 4 Spalten) ---------- */
.portfolio { --cols: 4; position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; }
.portfolio__item { width: 25%; position: relative; overflow: hidden; }
.portfolio.is-masonry .portfolio__item { position: absolute; left: 0; top: 0; }
.portfolio.is-ready .portfolio__item { transition: transform .5s ease; }
.portfolio__item[hidden] { display: none; }
.portfolio__item img { width: 100%; height: auto; }
/* Kachel: ganzes Bild verlinkt aufs Projekt, Plus-Knopf öffnet die Projektvorschau (11.11.2026) */
.tile-link { display: block; position: relative; color: #fff; }
.tile-link:hover, .tile-link:focus { color: #fff; }
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,.37); opacity: 0; transition: opacity .3s ease-in-out; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 15px 30px; color: #fff; }
.portfolio__item:hover .overlay, .portfolio__item:focus-within .overlay, .card__media:hover .overlay, .card__media:focus-within .overlay { opacity: 1; }
.overlay__title { display: block; font: 700 24px/1.4 var(--font-body); text-transform: uppercase; margin: 0 0 5px; transform: translateY(8px); transition: transform .3s ease; }
.overlay__cats { display: block; font-size: 13px; line-height: 1.7; text-transform: uppercase; letter-spacing: .5px; transform: translateY(8px); transition: transform .3s ease .05s; }
.portfolio__item:hover .overlay__title, .portfolio__item:hover .overlay__cats, .tile-link:focus .overlay__title, .tile-link:focus .overlay__cats { transform: none; }
.tile-zoom { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.6); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s, background .3s, color .3s; }
.tile-zoom svg { width: 22px; height: 22px; }
.portfolio__item:hover .tile-zoom, .card__media:hover .tile-zoom, .tile-zoom:focus-visible, .portfolio__item:focus-within .tile-zoom { opacity: 1; transform: none; }
.tile-zoom:hover, .tile-zoom:focus-visible { background: #fff; color: #000; }
@media (hover: none) { .tile-zoom { opacity: 1; transform: none; } }   /* Touch: Plus immer sichtbar */
.card__media { overflow: hidden; }
.portfolio-end { height: 50px; }

/* ---------- Projektseite ---------- */
.page { padding: 60px 0; }
/* Projekt-Slider (STANDARD §5): Überblenden, Leiste unten mit Pfeilen, Punkten, Pause.
   Höhe fest: passt mit Header und Leiste immer in den Viewport, nichts springt beim Bildwechsel. */
:root { --pslider-bar: 56px; }
.page--project { padding-top: 0; }
.pslider { margin: 0 0 30px; outline-offset: 4px; }
.pslider__stage { position: relative; background: #000; overflow: hidden;
  height: min(calc(min(var(--container), 100vw - 2 * var(--gutter)) * 9 / 16), calc(100svh - var(--hero-offset) - var(--pslider-bar)));
  min-height: 220px; }
.pslider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.pslider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .8s ease, visibility 0s; }
.pslider__slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pslider__slide img { width: 100%; height: 100%; object-fit: contain; }
.pslider__bar { height: var(--pslider-bar); display: flex; align-items: center; justify-content: center; gap: 14px; }
.pslider__btn { width: 36px; height: 36px; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; transition: color .3s, background .3s; }
.pslider__btn:hover, .pslider__btn:focus-visible { color: var(--color-hover); }
.pslider__btn svg { width: 22px; height: 22px; }
.pslider__pause svg { width: 16px; height: 16px; }
.pslider__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: min(640px, 100% - 140px); }
.pslider__dot { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.pslider__dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); transition: background .3s; }
.pslider__dot[aria-current="true"]::before { background: #fff; }
.pslider__dot:hover::before { background: rgba(255,255,255,.5); }
.pslider__count { font-size: 14px; color: #fff; min-width: 64px; text-align: center; display: none; }
@media (max-width: 768px) {
  .pslider__stage { height: min(calc((100vw - 2 * var(--gutter)) * 3 / 4), calc(100svh - var(--hero-offset) - var(--pslider-bar))); }
  /* mobil immer „3 / 21“ statt Punkten, mit Pfeilen daneben (11.11.2026, einheitlich auf allen Projektseiten) */
  .pslider__dots { display: none; }
  .pslider__count { display: block; }
}

/* Video (Zwei-Klick) */
.embed { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 0 auto 30px; overflow: hidden; max-width: 100%;
  height: min(calc(min(var(--container), 100vw - 2 * var(--gutter)) * 9 / 16), calc(100svh - var(--hero-offset) - 30px)); }  /* passt mit Header in den Viewport */
.embed > img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.embed__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; color: #fff; }
.embed__btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 2px solid #fff; border-radius: 100px; font: 700 14px/1 var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; transition: .3s; }
.embed__btn:hover, .embed__btn:focus { background: #fff; color: #000; }
.embed__btn svg { width: 18px; height: 18px; }
.embed__note { font-size: var(--fs-small); line-height: 1.5; max-width: 520px; margin: 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed.is-loaded .embed__consent, .embed.is-loaded > img { display: none; }

/* Text, Titel, Vor/Zurück */
/* Projekt-Navigation (14.11.2026): „Previous Project“ links, „Next Project“ rechts – in der Zeile der Slider-Steuerung (JS setzt sie dort ein);
   ohne Slider (Video, Einzelbild) als eigene Zeile direkt unter dem Bild */
.switcher { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: var(--pslider-bar); margin: -24px 0 18px; }
.switcher.switcher--inbar { margin: 0; }
.switcher__prev, .switcher__next { flex: 0 0 auto; min-width: 44px; display: inline-flex; align-items: center; gap: 8px; height: 44px;
  font: 400 13px/1 var(--font-head); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; color: #fff; }
.switcher__prev:hover, .switcher__prev:focus-visible, .switcher__next:hover, .switcher__next:focus-visible { color: var(--color-hover); }
.switcher__prev svg, .switcher__next svg { width: 22px; height: 22px; flex: none; }
.pslider__ctrl { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 14px; }
@media (max-width: 860px) { .switcher__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Zurück ins Portfolio: links oben im Bild, Gegenstück zur Lupe */
.pclose { position: absolute; z-index: 3; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.6); cursor: pointer; transition: background .3s, color .3s; }
.pclose:hover, .pclose:focus-visible { background: #fff; color: #000; }
.pclose svg { width: 22px; height: 22px; }
.embed .pclose { z-index: 4; }
.project__title { font-size: var(--fs-title); letter-spacing: 5px; text-transform: uppercase; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--color-line); line-height: 1.2; }
.project__text { margin-bottom: 30px; }
.related { margin-top: 60px; }
.related h2 { font-size: var(--fs-h3); letter-spacing: 5px; text-transform: uppercase; margin-bottom: 10px; }
.related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.card { margin-top: 15px; }
.card__media { position: relative; display: block; margin-bottom: 19px; }
.card__media img { width: 100%; aspect-ratio: 660 / 420; object-fit: cover; }
.card h3 { font-size: var(--fs-h5); margin: 0 0 10px; }
.card h3 a { color: #fff; }
.card h3 a:hover { color: var(--color-hover); }

/* Kategorie-Archiv (3 Spalten) */
.archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.archive .card h2 { font-size: var(--fs-h5); letter-spacing: 2px; text-transform: uppercase; margin: 0 0 10px; line-height: 1.3; }
.archive .card h2 a { color: #fff; }
.archive .card { background: #0a0a0a; margin: 0; }
.archive .card__body { padding: 0 20px 20px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 50px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 40px; display: flex; align-items: center; justify-content: center; background: #fff; color: #0c0c0c; font-family: var(--font-head); }
.pagination span[aria-current] { background: #8d8d8d; color: #fff; }
.pagination a:hover { background: #8d8d8d; color: #fff; }
.archive__title { text-align: center; text-transform: uppercase; letter-spacing: 5px; font-size: var(--fs-title); margin-bottom: 40px; }

/* Rechtsseite */
.legal { padding-top: 32px; }
.legal h1 { text-align: center; text-transform: uppercase; letter-spacing: 5px; margin: 0 0 30px; }
.legal h3, .legal h4 { text-transform: uppercase; margin-top: 28px; }
.legal .legal__row > div > h4:first-child, .legal .legal__row > div > h3:first-child { margin-top: 0; }
.legal__row { display: block; margin-bottom: 10px; }  /* Rechtsseite einspaltig in der Textspalte */
.legal__row--full { grid-template-columns: 1fr; }

/* vcard */
.vcard { padding: 0; text-align: center; }
.vcard img { margin: 0 auto; width: 303px; }
.vcard p { background: #000; margin: 0; padding: 10px 0; }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }

/* ---------- Lightbox (Bild; mit data-href zusätzlich Projektvorschau rechts) ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(0,0,0,.94); color: var(--color-text); }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 48px; padding: 60px 80px; }
.lightbox__fig { margin: 0; flex: 0 1 auto; min-width: 0; display: flex; justify-content: center; }
.lightbox__fig img { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); width: auto; height: auto; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: var(--fs-small); margin: 0; }
.lightbox__info { display: none; flex: 0 0 340px; }
.lightbox.has-info .lightbox__fig img { max-width: calc(100vw - 160px - 388px); }
.lightbox.has-info .lightbox__info { display: block; }
.lightbox__cats { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 10px; color: var(--color-text); }
.lightbox__title { font-size: var(--fs-lb-title); letter-spacing: 3px; text-transform: uppercase; line-height: 1.25; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--color-line); }
.lightbox__text { margin: 0 0 26px; }
.lightbox__more { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border: 2px solid #fff; border-radius: 100px; font: 700 14px/1 var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; transition: background .3s, color .3s; }
.lightbox__more:focus { color: #fff; }  /* globale a:focus-Farbe hier nicht: Button bekommt beim Öffnen den Fokus */
.lightbox__more:hover, .lightbox__more:focus-visible { background: #fff; color: #000; }
.lightbox__more svg { width: 18px; height: 18px; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox__btn svg { width: 28px; height: 28px; }
.lightbox__btn:hover { color: var(--color-hover); }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 1024px) {
  .lightbox.has-info .lightbox__inner { flex-direction: column; justify-content: center; gap: 22px; padding: 64px 24px 50px; overflow-y: auto; }
  .lightbox.has-info .lightbox__fig img { max-width: calc(100vw - 48px); max-height: 52vh; }
  .lightbox.has-info .lightbox__info { flex: 0 0 auto; width: min(640px, 100%); }
  .lightbox.has-info .lightbox__prev, .lightbox.has-info .lightbox__next { top: 30vh; }
}
@media (max-width: 768px) {
  .lightbox__title { letter-spacing: 2px; }
  .lightbox.has-info .lightbox__prev, .lightbox.has-info .lightbox__next { display: none; }  /* mobil: wischen */
}

/* ---------- Sprachumschalter EN | DE (STANDARD §9a, 11.11.2026): Stil wie Hauptmenü, rechts am Rand ---------- */
.lang { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.lang li { display: flex; align-items: center; }
.lang li + li::before { content: ""; display: block; width: 1px; height: 12px; background: rgba(255,255,255,.6); }
.lang a { position: relative; display: block; padding: 0 10px; font: 400 14px/40px var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; }
/* kein Unterstrich, keine Markierung der aktiven Sprache (Wunsch Ulf 11.11.2026) */
.lang a:hover, .lang a:focus-visible { color: var(--color-hover); }
/* Desktop: immer oben rechts in der Ecke, bleibt beim Scrollen stehen und liegt dann im Sticky-Header */
.site-nav .topright { position: fixed; right: clamp(6px, calc(4vw - 10px), 30px); top: calc((var(--nav-h) - 40px) / 2); z-index: 110; }
.header-mobile__tools { display: flex; align-items: center; gap: 4px; }
.copyrights .container { display: flex; align-items: center; justify-content: center; gap: 6px 24px; flex-wrap: wrap; }   /* mittig (Wunsch Ulf 11.11.2026) */
/* Copyright-Zeile in der Größe und Schrift des Sprachumschalters */
.copyrights p { font: 400 13px/30px var(--font-head); letter-spacing: 2px; text-transform: uppercase; }
.copyrights .lang a { font-size: 13px; line-height: 30px; }
@media (max-width: 768px) {
  .copyrights .container { flex-direction: column; justify-content: center; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1024px) {
  /* Mobil-Header ab 1024 px (Entscheidung Ulf 11.11.2026, STANDARD §3); Original: mit Logo links und Menüsymbol rechts, Menü klappt darunter auf */
  .header-top, .site-nav { display: none; }
  .site-header { position: sticky; top: 0; z-index: 100; }   /* mobil: Logo + Menü immer sichtbar */
  .header-mobile { display: block; background: #000; }
  .header-mobile__bar { display: flex; align-items: center; justify-content: space-between; height: 80px; }
  .header-mobile__logo img { height: 50px; width: auto; }
  .nav-toggle { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
  .nav-toggle { width: 48px; height: 48px; }
  .nav-toggle .icon-open { width: 40px; height: 40px; }  /* Lumidium-Symbol als Menüknopf */
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .mobile-nav { display: none; border-top: 1px solid #303030; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav li { border-bottom: 1px solid #303030; }
  .mobile-nav a { display: block; padding: 14px 0; font: 400 14px/1.4 var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; }
  .mobile-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  html { scroll-padding-top: 80px; }
  :root { --hero-offset: 80px; }  /* Mobil-Header 80 px */
  .portfolio { --cols: 3; }
  .portfolio__item { width: 33.3333%; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .archive__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .portfolio { --cols: 2; }
  .portfolio__item { width: 50%; }
  .footer-widgets { padding: 40px 0 30px; }
  .footer-widgets__cols { grid-template-columns: 1fr; }
  .footer-widgets__col:first-child { display: none; } /* Original: Logo im Footer mobil ausgeblendet */
  .copyrights { justify-content: center; text-align: center; padding: 20px 10px 80px; }
  .legal__row { grid-template-columns: 1fr; }
  .related__grid, .archive__grid { grid-template-columns: 1fr; }
  .project__title { letter-spacing: 3px; }
  .lightbox__inner { padding: 50px 10px; }
  .lightbox:not(.has-info) .lightbox__fig img { max-width: calc(100vw - 20px); }
}
@media (max-width: 560px) {
  .filter { column-gap: 0; }
  .portfolio { --cols: 1; }
  .portfolio__item { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.legal h2.h1 { font-size: var(--fs-legal-h1); text-align: center; text-transform: uppercase; letter-spacing: 5px; margin: 30px 0; }

/* ---------- Klick-Navigation in den Slidern (11.11.2026, wie ulf-meyer.com) ----------
   Linke Bildhälfte = zurück, rechte = weiter; Mauszeiger wird zum Pfeil (Dateien in img/). */
@media (hover: hover) {
  [data-clicknav] { cursor: pointer; }
  [data-clicknav].is-left { cursor: url("../img/cursor-prev.svg") 22 22, w-resize; }
  [data-clicknav].is-right { cursor: url("../img/cursor-next.svg") 22 22, e-resize; }
}
.pslider__slide a { pointer-events: none; cursor: default; }   /* Bild selbst blättert; Großansicht über den Lupen-Knopf */
.pslider__zoom { position: absolute; z-index: 3; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.6); cursor: zoom-in; transition: background .3s, color .3s; }
.pslider__zoom:hover, .pslider__zoom:focus-visible { background: #fff; color: #000; }
.pslider__zoom svg { width: 22px; height: 22px; }

/* Links im Fließtext direkt in der Akzentfarbe (helles Logo-Blau), Überfahren: weiß */
.project__text a, .legal a, .services__text a, .card > div a, .notfound a, .embed__note a { color: var(--color-hover); }
.project__text a:hover, .project__text a:focus, .legal a:hover, .legal a:focus, .services__text a:hover, .card > div a:hover, .notfound a:hover, .embed__note a:hover { color: #fff; }

/* ---------- Services: Begriffe als ruhige Textzeile in Menüschrift (16.11.2026, Icons entfernt – Wunsch Bob) ---------- */
.services__list { list-style: none; margin: 10px auto 40px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 4px; }
.services__list li { display: flex; align-items: center; font: 400 14px/40px var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.services__list li + li::before { content: ""; display: block; width: 1px; height: 12px; margin: 0 18px; background: rgba(255,255,255,.5); }
@media (max-width: 560px) { .services__list { column-gap: 20px; } .services__list li { line-height: 32px; font-size: 13px; } .services__list li + li::before { display: none; } }  /* mobil ohne Trennstriche, sonst stehen sie am Zeilenanfang */

/* ---------- Referenzen (16.11.2026): Logo-Raster, einheitlich grau; beim Überfahren nur die im Original farbigen Teile farbig, neutrale weiß; dazu Firmenname ---------- */
.refs { padding: 70px 0 90px; }
.refs__title { margin-top: 0; margin-bottom: 40px; }
.refs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 20px; }   /* kompakt (Wunsch Ulf) */
.ref a { position: relative; display: block; color: #fff; }
.ref__logo { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; }
.ref__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ref__c { opacity: 0; transition: opacity .35s ease; }
.ref a:hover .ref__c, .ref a:focus-visible .ref__c { opacity: 1; }
.ref__logo img:first-child { transition: opacity .35s ease; }
.ref a:hover .ref__logo img:first-child, .ref a:focus-visible .ref__logo img:first-child { opacity: 0; }   /* farbige Fassung ersetzt die graue */
/* Name blendet direkt unter dem Logo ein, ohne eigenen Platz in der Zeile (einzeilig, ganzer Name im Tooltip/alt) */
.ref__name { position: absolute; z-index: 2; left: -10px; right: -10px; top: calc(100% - 6px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 13px/1.4 var(--font-body); text-align: center; color: rgba(255,255,255,.85); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.ref a:hover .ref__name, .ref a:focus-visible .ref__name { opacity: 1; }
@media (hover: none) { .ref__name { position: static; margin-top: 2px; white-space: normal; opacity: 1; } }   /* Touch: Name immer sichtbar */
@media (max-width: 1024px) { .refs__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .refs { padding: 50px 0 60px; } .refs__grid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; } .ref__name { font-size: 11px; } }

/* ---------- Footer: Überschriften weiß, Kontakt mit Icons, Links in Akzentfarbe (11.11.2026) ---------- */
.footer__title { font: 700 var(--fs-small)/1.4 var(--font-head); letter-spacing: 2px; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer-contact { list-style: none; margin: 0 0 10px; padding: 0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer-contact__icon { width: 18px; height: 18px; flex: 0 0 18px; color: var(--color-text); }
.site-footer a { color: var(--color-hover); }
.site-footer a:hover, .site-footer a:focus { color: #fff; }
.site-footer .footer-social a, .site-footer .footer-logo-link { color: inherit; }

/* ---------- Portfolio-Filter mobil (bis 1024 px, sobald das Mobilmenü erscheint) ----------
   kompakt ohne Unterstreichung, aktiver Punkt in Akzentfarbe, bleibt beim Scrollen unter dem Header stehen (11.11.2026) */
@media (max-width: 1024px) {
  .filter { position: sticky; top: var(--hero-offset); z-index: 50; width: 100%; max-width: none; margin: 0 0 16px; padding: 6px var(--gutter);
    background: rgba(0,0,0,.92); border-bottom: 0; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; column-gap: 22px; }
  .filter::-webkit-scrollbar { display: none; }
  .filter li { flex: 0 0 auto; }
  .filter li { padding: 0; }
  .filter__btn { padding: 2px 0; white-space: nowrap; color: #fff; }
  .filter__btn::after { display: none; }
  .filter__btn[aria-pressed="true"] { color: var(--color-hover); }
}
@media (min-width: 561px) and (max-width: 1024px) { .filter { justify-content: center; } }

/* Sprachumschalter im Footer weiß wie im Menü (11.11.2026) */
.site-footer .lang a { color: #fff; }
.site-footer .lang a:hover, .site-footer .lang a:focus-visible { color: var(--color-hover); }
.copyrights .container { width: 100%; }

/* Startseite Desktop hochkant (schmales Fenster): Inhalt unter dem transparenten Header */
@media (min-width: 1025px) and (max-aspect-ratio: 1/1) {
  .is-home .hero .hero__portrait { padding-top: calc(var(--hero-offset) + 3vh); }
}

/* oben rechts: Instagram + Sprachumschalter */
.topright { display: flex; align-items: center; gap: 6px; }
.topright__ig { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff; }
.topright__ig svg { width: 20px; height: 20px; }
.topright__ig:hover, .topright__ig:focus-visible { color: var(--color-hover); }
@media (max-width: 1024px) { .header-mobile .topright__ig { width: 36px; height: 44px; } .header-mobile .topright { gap: 0; } }

/* Startseiten-Slider ohne Punkte und Pause-Knopf (Wunsch Ulf 11.11.2026); Wechsel per Klick links/rechts, Wischen, Pfeiltasten */
.hero .hero__dots, .hero .hero__pause { display: none; }

/* viele Bilder (> 15): Zähler „x / n“ statt Punkte, damit die Zeile mit der Projekt-Navigation einzeilig bleibt (14.11.2026) */
.pslider--many .pslider__dots { display: none; }
.pslider--many .pslider__count { display: block; }
