/* ==========================================================================
   Fabian Rauscher — Portfolio
   Eine Datei für alle Seiten. Farben und Abstände stehen als Variablen oben.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Anfragen an Google) ---------- */
/* Instrument Serif (Display) und Manrope (Text) – beide SIL Open Font License */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

/* ---------- Variablen ---------- */
/* Warmes Schwarz als Basis, Creme als Text, gedämpftes Gold und Terrakotta als Akzente */
:root {
  --bg: #14110e;
  --bg-2: #1c1814;
  --bg-3: #26201a;
  --line: rgba(239, 229, 211, 0.13);
  --line-strong: rgba(239, 229, 211, 0.26);
  --text: #efe5d3;
  --muted: #b2a590;
  --gold: #c9a45c;
  --terra: #c46a43;
  --accent: var(--gold);
  --accent-ink: #14110e;

  /* helle Abschnitte */
  --paper: #ece2cf;
  --paper-2: #e3d6be;
  --ink: #1d1813;
  --ink-muted: #5b4f42;
  --gold-ink: #85631f;
  --terra-ink: #9a4626;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --wide: 1680px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 10vw, 144px);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Grundlagen ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.2vw, 6.2rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-2); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; color: var(--text); }
.muted { color: var(--muted); }
.serif-italic { font-family: var(--serif); font-style: italic; }
.meta { font-size: 0.9rem; color: var(--muted); letter-spacing: 0.01em; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--muted); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--text); border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.95rem;
  color: var(--accent); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(31, 32, 36, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.nav ul { list-style: none; display: flex; gap: clamp(20px, 3vw, 40px); }
.nav a {
  text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--muted);
  transition: color 0.2s;
  padding: 6px 0;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--accent); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 10px; margin-right: -10px;
  color: var(--text); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span + span { margin-top: 7px; }
.is-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.is-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    display: none;
  }
  .is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a {
    display: block; padding: 14px 0;
    font-family: var(--serif); font-size: 1.6rem; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--line); }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero__text .lead { max-width: 30ch; margin-bottom: 2rem; }
.hero__rule { height: 1px; background: var(--line-strong); max-width: 520px; margin: 0 0 1.4rem; }
.hero__sig { font-size: 0.95rem; color: var(--muted); margin-bottom: 2.4rem; }
.hero__sig strong { color: var(--text); font-weight: 600; }
.hero__image { position: relative; overflow: hidden; background: var(--bg-3); }
.hero__image img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__image { order: -1; height: 72svh; max-height: 640px; }
  .hero__image::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
    background: linear-gradient(to top, var(--bg), transparent);
  }
  .hero__text { padding: 0 var(--gutter) 72px; margin-top: -72px; position: relative; z-index: 1; }
}

/* ---------- Haltung ---------- */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.2;
  max-width: 22ch;
  margin: 0 0 clamp(40px, 6vw, 72px);
}
.statement em { color: var(--accent); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.two-col--media { align-items: center; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.steps { list-style: none; border-top: 1px solid var(--line); }
.steps li {
  display: grid; grid-template-columns: 3rem 1fr;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.25rem;
}
.steps li span { font-family: var(--sans); font-size: 0.8rem; color: var(--accent); padding-top: 0.35rem; }

.pull {
  border-left: 1px solid var(--accent);
  padding-left: 1.4rem;
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4;
  margin: 2rem 0 0;
}

/* ---------- Leistungen ---------- */
.services {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  padding: 2rem 1.6rem 2.2rem 0;
  border-bottom: 1px solid var(--line);
}
.service + .service { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.service__num { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 2.4rem; }
.service h3 { margin-bottom: 0.8rem; }
.service p { color: var(--muted); font-size: 0.97rem; }
.service ul { list-style: none; margin-top: 1.2rem; }
.service li { font-size: 0.9rem; padding: 0.35rem 0; border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 1.8rem 0 2rem; border-left: 0; }
  .service__num { margin-bottom: 1rem; }
}

/* ---------- Status-Kennzeichnung ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.45em 0.9em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--done { color: var(--muted); }
.badge--current { color: var(--accent); border-color: rgba(214, 187, 152, 0.5); }
.badge--planned { border-style: dashed; color: var(--text); }
.badge--planned::before { background: transparent; border: 1px solid currentColor; }
.badge--building { color: var(--accent); border-style: dashed; border-color: rgba(214, 187, 152, 0.5); }

/* ---------- Platzhalter für Bilder & Videos ---------- */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(236, 227, 214, 0.035) 14px 15px),
    var(--bg-3);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  text-align: center;
  padding: 1.5rem;
  aspect-ratio: 4 / 3;
}
.ph__mark { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--text); opacity: 0.85; letter-spacing: 0.04em; }
.ph__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 4 / 5; }

/* ---------- Projektkarten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; text-decoration: none; }
.card__media { overflow: hidden; margin-bottom: 1.3rem; background: var(--bg-3); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease); }
.card__media .ph { border: 0; }
a.card:hover .card__media img { transform: scale(1.03); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 0.8rem; flex-wrap: wrap; }
.card__kind { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.card .link-arrow { margin-top: auto; }
.card__note { margin-top: auto; font-size: 0.8rem; color: var(--muted); font-style: italic; }

/* ---------- Feature (z. B. LÁAK) ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.feature__media { position: relative; min-height: 420px; }
.feature__media .ph { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.feature__body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature__body .badge { align-self: flex-start; margin-bottom: 1.6rem; }
.feature__body h3 { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; margin-bottom: 0.3rem; }
.feature__tag { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--accent); margin-bottom: 1.4rem; }
.feature__body p { color: var(--muted); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: 4 / 3; }
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0.6rem 0 1.6rem; }
.tags li { font-size: 0.78rem; padding: 0.35em 0.8em; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

/* ---------- Mein Weg ---------- */
.path { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line-strong); }
.path li { padding: 1.4rem 1.2rem 0 0; position: relative; }
.path li::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; background: var(--accent); border-radius: 50%;
}
.path__num { font-size: 0.75rem; color: var(--accent); letter-spacing: 0.1em; font-weight: 600; }
.path h3 { font-size: 1.2rem; margin: 0.4rem 0 0.5rem; }
.path p { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); }
  .path li { padding: 0 0 1.8rem 1.6rem; }
  .path li::before { top: 6px; left: -5px; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact h2 { text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.contact__mail {
  display: inline-block;
  font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2.1rem);
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(214, 187, 152, 0.4);
  margin: 0.4rem 0 2rem;
  word-break: break-all;
}
.contact__mail:hover { border-bottom-color: var(--accent); }
.contact__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
  .contact__image { max-width: 420px; }
}

/* ---------- Unterseiten: Kopf ---------- */
.page-hero { padding: calc(72px + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero .lead { max-width: 46ch; color: var(--muted); }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.2rem; }
.jump a {
  text-decoration: none; font-size: 0.88rem;
  padding: 0.6em 1.1em; border: 1px solid var(--line-strong); border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}
.jump a:hover { border-color: var(--accent); color: var(--accent); }
.jump a span { color: var(--muted); margin-left: 0.35em; }

.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.group-head h2 { margin: 0; }
.group-head p { margin: 0; color: var(--muted); max-width: 46ch; font-size: 0.95rem; }

/* ---------- Projektseite ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.facts dd { margin: 0; font-size: 0.95rem; color: var(--text); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; gap: 18px; } }

.full-image img { width: 100%; max-height: 80vh; object-fit: cover; }
.full-image figcaption, .figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.8rem; }

.chapter {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.chapter:first-of-type { border-top: 0; padding-top: 0; }
.chapter--flip .chapter__media { order: 2; }
.chapter__num { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.12em; display: block; margin-bottom: 1rem; }
.chapter__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chapter__media--landscape img { aspect-ratio: 4 / 3; }
.chapter p { color: var(--muted); }
@media (max-width: 820px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter--flip .chapter__media { order: 0; }
}

.checklist { list-style: none; columns: 2; column-gap: 40px; }
.checklist li { break-inside: avoid; padding: 0.7rem 0 0.7rem 1.6rem; border-top: 1px solid var(--line); position: relative; font-size: 0.97rem; }
.checklist li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 700px) { .checklist { columns: 1; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

.note {
  border: 1px dashed var(--line-strong);
  padding: 1.2rem 1.4rem;
  font-size: 0.92rem; color: var(--muted);
}
.note strong { color: var(--text); }

/* ---------- Eingebettete Medien (laden erst nach Klick) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__button {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  width: 100%;
  background:
    radial-gradient(circle at 50% 45%, rgba(214, 187, 152, 0.12), transparent 60%),
    var(--bg-3);
  border: 0; color: var(--text); cursor: pointer; font: inherit; padding: 1.5rem; text-align: center;
}
.video__play {
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.video__play::before {
  content: ""; margin-left: 5px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--accent);
}
.video__button:hover .video__play { background: rgba(214, 187, 152, 0.12); transform: scale(1.05); }
.video__title { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
.video__hint { font-size: 0.78rem; color: var(--muted); max-width: 44ch; }

/* ---------- Weiter-Navigation ---------- */
.next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.next a { padding: clamp(32px, 5vw, 56px) 0; text-decoration: none; display: block; }
.next a + a { text-align: right; border-left: 1px solid var(--line); }
.next small { display: block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.next span { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.6rem); transition: color 0.2s; }
.next a:hover span { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 0.88rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__name { font-family: var(--serif); font-size: 1.1rem; color: var(--text); margin-bottom: 0.2rem; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }

/* ---------- Dezente Einblend-Animation ---------- */
/* Nur aktiv, wenn JavaScript läuft und keine reduzierte Bewegung gewünscht ist. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .hero [data-reveal] { transition-duration: 1.2s; }
}

/* ==========================================================================
   Erweiterung: Projektseiten, Medien, Kontaktwege
   Jede Projektseite setzt ihre eigene Akzentfarbe: <body style="--accent: …">
   ========================================================================== */

.accent-text { color: var(--accent); }

/* ---------- Projekt-Einstieg mit großem Bild ---------- */
.phero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: min(92svh, 900px);
  border-bottom: 1px solid var(--line);
}
.phero__text {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(72px + 48px) var(--gutter) clamp(40px, 6vw, 72px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.phero__text h1 { margin: 1.2rem 0 0.35em; font-size: clamp(2.3rem, 4.8vw, 5.2rem); overflow-wrap: break-word; hyphens: none; }
.phero__tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--accent); margin-bottom: 1.2rem; max-width: 34ch; }
.phero__text .lead { color: var(--muted); max-width: 44ch; }
.phero__media { position: relative; overflow: hidden; background: var(--bg-3); }
.phero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__media--contain { background: #f3ede4; }
.phero__media--contain img { object-fit: contain; padding: clamp(24px, 6vw, 80px); }
.phero__media .ph { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.phero__cap {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(20, 20, 23, 0.72); color: var(--text); padding: 0.4em 0.8em; border-radius: 999px;
}
@media (max-width: 900px) {
  .phero { grid-template-columns: 1fr; min-height: 0; }
  .phero__media { order: -1; aspect-ratio: 4 / 3; margin-top: 72px; }
  .phero__text { padding: 36px var(--gutter) 48px; }
}

/* Typografischer Einstieg, wenn noch kein Bild vorliegt */
.ph--brand {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(236, 227, 214, 0.04) 18px 19px),
    var(--bg-3);
}
.ph--brand .ph__mark { font-size: clamp(2.2rem, 6vw, 4.6rem); }

/* ---------- Abschnitte auf Projektseiten ---------- */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { margin-bottom: 0; }
.split__body > p:first-child { margin-top: 0.2rem; }
.split__body p { color: var(--muted); }
.split__body p.lead { color: var(--text); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 20px; } }

.stack > * + * { margin-top: clamp(56px, 8vw, 104px); }

.contrib { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; }
.contrib__group { border-top: 1px solid var(--line); padding: 1.4rem 0 1.6rem; }
.contrib__group h3 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.contrib__group ul { list-style: none; }
.contrib__group li { font-size: 0.93rem; color: var(--muted); padding: 0.22rem 0 0.22rem 1.2rem; position: relative; }
.contrib__group li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1; color: var(--accent); margin-bottom: 0.5rem; }
.stat__label { font-size: 0.9rem; color: var(--muted); }

.quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25;
  max-width: 26ch; margin: 0;
}
.quote cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: 0.85rem; color: var(--muted); }

.status-box {
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  padding: clamp(20px, 3vw, 32px);
}
.status-box h3 { font-size: 1.3rem; }
.status-box p, .status-box li { color: var(--muted); font-size: 0.95rem; }
.status-box ul { list-style: none; }
.status-box li { padding: 0.3rem 0 0.3rem 1.2rem; position: relative; }
.status-box li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.panel { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(22px, 3vw, 36px); }
.section--alt .panel { background: var(--bg); }
.panel h3 { font-size: 1.35rem; }
.panel p { color: var(--muted); font-size: 0.97rem; }
.panel .eyebrow { margin-bottom: 0.9rem; }

/* Die vier Welten von NUNA */
.worlds { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .worlds { grid-template-columns: 1fr; } }
.world { display: flex; flex-direction: column; text-decoration: none; background: var(--bg); border: 1px solid var(--line); }
.world__media img, .world__media .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 0; }
.world__body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.world__body h3 { margin-bottom: 0.5rem; }
.world__body p { color: var(--muted); font-size: 0.95rem; }
.world__body .link-arrow { margin-top: auto; }

/* ---------- Bildergalerie (gemischte Formate) ---------- */
.masonry { columns: 3 300px; column-gap: clamp(12px, 2vw, 24px); }
.masonry figure { break-inside: avoid; margin: 0 0 clamp(12px, 2vw, 24px); }
.masonry img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.45; }
.cap-label {
  display: inline-block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-right: 0.5em;
}
.figure-wide img { width: 100%; max-height: 82vh; object-fit: cover; }
.logo-tile { background: #efe8dc; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.logo-tile img { max-height: 360px; width: auto; }

/* ---------- Medienliste ---------- */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.media-grid > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .media-grid { grid-template-columns: 1fr; } }
.media-item figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; }
.media-item figcaption a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.media-item figcaption a:hover { text-decoration: underline; }
.video__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--accent); }
.video__play { border-color: var(--accent); }
.video__play::before { border-color: transparent transparent transparent var(--accent); }
.embed--audio { aspect-ratio: auto; height: 450px; }
.embed--pending .video__button { cursor: default; }
.embed--pending .video__play { opacity: 0.35; }

/* ---------- Browser-Rahmen für spätere Bildschirmaufnahme ---------- */
.browser { border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--bg-3); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #2a2b31; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(236, 227, 214, 0.18); }
.browser__url { margin-left: 14px; flex: 1; max-width: 360px; height: 22px; border-radius: 6px; background: rgba(236, 227, 214, 0.07); font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.browser .ph { border: 0; aspect-ratio: 16 / 9; }

/* ---------- Gesucht / Mitmachen ---------- */
.seek { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 1.2rem 0 1.8rem; }
.seek li { font-size: 0.82rem; padding: 0.45em 0.95em; border: 1px solid var(--line-strong); border-radius: 999px; }

.cta-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 12%, var(--bg-2)), var(--bg-2) 60%);
}

/* ---------- Zwei Kontaktwege ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
.path-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-strong); padding: clamp(24px, 3.4vw, 40px);
  background: var(--bg);
}
.section--alt .path-card { background: var(--bg); }
.path-card h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.path-card p { color: var(--muted); }
.path-card ul { list-style: none; margin: 0.4rem 0 1.8rem; }
.path-card li { font-size: 0.92rem; padding: 0.4rem 0; border-top: 1px solid var(--line); }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.path-card__num { font-size: 0.75rem; letter-spacing: 0.16em; color: var(--accent); font-weight: 600; margin-bottom: 1.2rem; }

/* ---------- Kleine Projektkarten ---------- */
.cards--small { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards--small { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards--small { grid-template-columns: 1fr; } }
.card__years { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; display: block; }
.card__media img.is-contain { object-fit: contain; background: #efe8dc; padding: 8%; }
.card__media img.is-contain-dark { object-fit: contain; background: #111; padding: 6%; }

.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hinweis bei Medien, die externe Anbieter laden */
.privacy-hint { font-size: 0.8rem; color: var(--muted); margin-top: 1.2rem; }

/* Platzhalter in Projektkarten: gleiches Format wie Fotos, Schrift passt immer hinein */
.card__media .ph { aspect-ratio: 4 / 3; padding: 1rem; }
.card__media .ph__mark,
.card__media .ph--brand .ph__mark { font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.15; }
.ph__mark { overflow-wrap: anywhere; }

/* Kopfzeile bleibt auch über hellen Bildern lesbar */
.site-header:not(.is-scrolled):not(.is-open) { background: linear-gradient(to bottom, rgba(20, 20, 23, 0.72), rgba(20, 20, 23, 0)); }

/* Player-Vorschau auf kleinen Bildschirmen kompakter */
@media (max-width: 560px) {
  .video__button { gap: 0.5rem; padding: 0.75rem; }
  .video__play { width: 52px; height: 52px; }
  .video__play::before { border-width: 8px 0 8px 13px; margin-left: 4px; }
  .video__title { font-size: 1.02rem; }
  .video__hint { font-size: 0.66rem; line-height: 1.35; }
}

/* ---------- Bildschirmaufnahme im Browser-Rahmen (WOODFELLAS) ---------- */
.screencast { margin: 0; }
.screencast__stage { position: relative; aspect-ratio: 1440 / 788; background: #f4f1ec; }
.screencast__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.screencast__toggle {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 0.55em;
  min-height: 44px; padding: 0.6em 1.1em 0.6em 0.95em;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  background: rgba(20, 20, 23, 0.78); color: #fff;
  font: 600 0.82rem/1 var(--sans); letter-spacing: 0.04em; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.screencast__toggle:hover { background: rgba(20, 20, 23, 0.92); }
/* Symbol: Dreieck (abspielen) oder zwei Balken (pausieren) */
.screencast__icon { width: 12px; height: 14px; position: relative; }
.screencast__icon::before {
  content: ""; position: absolute; inset: 0;
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor;
}
.screencast.is-playing .screencast__icon::before {
  border: 0; width: 4px; background: currentColor; box-shadow: 7px 0 0 currentColor; left: 1px;
}
.no-js .screencast__toggle, html:not(.js) .screencast__toggle { display: none; }
@media (max-width: 560px) {
  .screencast__toggle { right: 8px; bottom: 8px; padding: 0.55em 0.9em 0.55em 0.8em; font-size: 0.76rem; }
}

/* Hinweis unter einem YouTube-Player, falls die Wiedergabe nicht startet */
.video__fallback {
  margin: 0.8rem 0 0; padding: 0.7rem 1rem;
  border: 1px dashed var(--line-strong); font-size: 0.85rem; color: var(--muted);
}
.video__fallback a { color: var(--accent); white-space: nowrap; }
.video.is-loading { background: radial-gradient(circle at 50% 50%, rgba(214, 187, 152, 0.1), transparent 55%), #111; }
.video__player { position: absolute; inset: 0; }

/* NUNA-Film auf der Startseite */
.nuna-story { margin-top: clamp(40px, 6vw, 72px); }
.nuna-story__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0; }

/* Logo auf schwarzem Grund (z. B. NEW ERA CAP): Fläche passt zum Logo-Hintergrund, Logo nie größer als im Original */
.phero__media--black { background: #000; }
.phero__media--black img { max-width: 591px; max-height: 591px; margin: auto; }
/* Das Original-JPG hat rechts und unten eine graue 1-px-Exportkante: nur diese Kante ausblenden, Logo bleibt unverändert */
.phero__media--black img { padding: 0; clip-path: inset(0 0.25% 0.25% 0); }
/* Bildfläche = exakt das quadratische Logo, damit die Kanten-Ausblendung auf jeder Bildschirmgröße greift */
.phero__media--black img { width: auto; height: 100%; max-width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }

/* Projektkarte mit Logo auf schwarzem Grund (NEW ERA CAP): Logo quadratisch, unverzerrt, graue Exportkante ausgeblendet */
.card__media--black { background: #000; aspect-ratio: 4 / 3; display: flex; justify-content: center; }
.card__media--black img { width: auto; height: 100%; aspect-ratio: 1 / 1; object-fit: contain; clip-path: inset(0 0.25% 0.25% 0); }
a.card:hover .card__media--black img { transform: none; }

/* ---------- Sprachwechsel DE | ES | EN (wird von tools/i18n.py in die Kopfzeile eingefügt) ---------- */
.site-header .brand { order: 1; margin-right: auto; }
.site-header .nav { order: 2; }
.lang-switch { order: 3; display: flex; align-items: center; gap: 0.1rem; margin-left: clamp(16px, 2.4vw, 32px); }
.site-header .nav-toggle { order: 4; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2rem; min-height: 2.25rem; padding: 0 0.3rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lang-switch span { color: var(--line-strong); font-size: 0.74rem; }
@media (min-width: 761px) and (max-width: 1060px) {
  .nav ul { gap: 18px; }
  .nav a { font-size: 0.84rem; }
}
@media (max-width: 760px) {
  .lang-switch { margin-left: 0; margin-right: 6px; }
  .lang-switch a { min-width: 2.1rem; min-height: 2.75rem; }
}
@media (max-width: 360px) {
  .brand small { display: none; }
}

/* ---------- Freigabe externer Medien (YouTube/SoundCloud) ---------- */
/* Vorschau vor der Freigabe: 16:9, wächst aber mit, wenn der Hinweis mehr Platz braucht */
.video.is-consent { overflow: visible; }
.video.is-consent.embed--audio { height: auto; aspect-ratio: 16 / 9; }
.video__consent {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  min-height: 100%; padding: clamp(20px, 4vw, 44px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(214, 187, 152, 0.1), transparent 60%),
    var(--bg-3);
}
.video__consent .video__title { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.7rem); line-height: 1.25; }
.video__consent .video__hint { max-width: 62ch; margin: 0; font-size: 0.82rem; line-height: 1.55; color: var(--muted); }
.video__consent .video__hint a { color: var(--accent); }
.video__consent .video__load { margin-top: 0.3rem; }
.video__consent .video__load::before {
  content: ""; width: 0; height: 0; margin-right: 0.2em;
  border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor;
}

/* Nach der Freigabe: Deaktivieren gut erreichbar direkt unter dem Player */
.media-disable { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 0.9rem; }
.media-disable__btn { padding: 0.7em 1.2em; font-size: 0.82rem; min-height: 44px; }
.media-disable__info { font-size: 0.78rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 560px) {
  .video__consent { padding: 18px 14px; gap: 0.7rem; }
  .video__consent .video__hint { font-size: 0.76rem; }
  .video__consent .video__load { width: 100%; justify-content: center; }
}

/* ---------- Rechtstexte ---------- */
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--text); opacity: 0.9; overflow-wrap: anywhere; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--accent); }
.prose h2 { scroll-margin-top: 96px; }
.prose .toc { list-style: none; padding: 1rem 1.2rem; border: 1px solid var(--line); margin: 1.4rem 0 2rem; }
.prose .toc li { margin: 0.25rem 0; }
.prose .toc a { text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }
.note--open { border-color: var(--accent); border-style: dashed; background: rgba(214, 187, 152, 0.07); }
.note--open strong { color: var(--accent); }

/* ==========================================================================
   Neugestaltung 2026-11 – warme, kulturell geprägte Identität
   Startseite, Arbeiten, Leistungen, Website-Fallstudien. Überschreibt ältere
   Regeln weiter oben gezielt; bestehende Projektseiten nutzen dieselben Token.
   ========================================================================== */

body { background: var(--bg); text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.012em; line-height: 1.02; }
h1 { text-transform: none; font-size: clamp(3rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.1; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
.phero__text h1, .feature__body h3 { text-transform: uppercase; }
::selection { background: var(--gold); color: var(--accent-ink); }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; color: var(--accent); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.32rem); }
.wrap--wide { max-width: var(--wide); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Kopfzeile */
.site-header.is-scrolled, .site-header.is-open { background: rgba(20, 17, 14, 0.94); }
.site-header:not(.is-scrolled):not(.is-open) { background: linear-gradient(to bottom, rgba(20, 17, 14, 0.85), rgba(20, 17, 14, 0)); }
.brand { font-size: 1.3rem; letter-spacing: 0; }
.brand small { letter-spacing: 0.22em; margin-top: 2px; }
.nav a { color: var(--text); opacity: 0.78; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
@media (max-width: 1060px) and (min-width: 901px) { .nav ul { gap: 16px; } .nav a { font-size: 0.84rem; } }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line);
         padding: 8px var(--gutter) 28px; display: none; max-height: calc(100svh - 72px); overflow-y: auto; }
  .is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.9rem; opacity: 1;
           border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--line); }
  .lang-switch { margin-left: 0; margin-right: 6px; }
  .lang-switch a { min-width: 2.1rem; min-height: 2.75rem; }
}
.lang-switch a[aria-current="true"] { color: var(--gold); }

/* Buttons */
.btn { border-color: var(--gold); color: var(--gold); min-height: 48px; }
.btn:hover { background: var(--gold); color: var(--accent-ink); }
.btn--solid { background: var(--gold); color: var(--accent-ink); }
.btn--solid:hover { background: var(--text); border-color: var(--text); color: var(--accent-ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Status-Kennzeichnung: Kundenarbeit · Konzept/Demo · veröffentlicht */
.badge--client { color: var(--text); border-color: var(--line-strong); }
.badge--demo { color: var(--muted); border-style: dashed; }
.badge--demo::before { background: transparent; border: 1px solid currentColor; }
.badge--live { color: var(--gold); border-color: rgba(201, 164, 92, 0.55); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Helle Abschnitte mit leichter Papierstruktur ---------- */
.section--light {
  --text: var(--ink); --muted: var(--ink-muted); --accent: var(--gold-ink);
  --line: rgba(29, 24, 19, 0.14); --line-strong: rgba(29, 24, 19, 0.28);
  background-color: var(--paper); color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--light h1 em, .section--light h2 em, .section--light h3 em { color: var(--terra-ink); }
.section--light .btn { border-color: var(--ink); color: var(--ink); }
.section--light .btn:hover, .section--light .btn--solid { background: var(--ink); color: var(--paper); }
.section--light .btn--solid:hover { background: var(--terra-ink); border-color: var(--terra-ink); }
.section--light .link-arrow { color: var(--terra-ink); }
.section--light :focus-visible { outline-color: var(--terra-ink); }
.section--earth { background: #24160f; --line: rgba(239, 229, 211, 0.14); }

/* ---------- Startseite: Einstieg ---------- */
.home-intro { padding: calc(72px + clamp(40px, 7vw, 96px)) 0 clamp(28px, 4vw, 48px); }
.home-intro__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.home-intro h1 { margin: 0; font-size: clamp(3.4rem, 10vw, 9.6rem); line-height: 0.92; }
.home-intro__text .lead { margin-bottom: 1.2rem; max-width: 34ch; }
.home-intro__roles { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0; }
@media (max-width: 820px) { .home-intro__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Banner-Video ---------- */
.stage { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.stage__frame { position: relative; aspect-ratio: 16 / 9; background: #0d0b09; border-radius: 6px; overflow: hidden;
                box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8); }
.stage__frame video, .stage__still, .stage__still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.stage__still { opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
/* Nach dem Ende bleibt das echte letzte Videobild stehen (WebKit gibt Video und JPEG leicht unterschiedlich hell wieder);
   das Standbild ersetzt das Video nur bei Blockade, reduzierter Bewegung oder Ladefehler. */
.stage.is-still .stage__still { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.stage.is-still video { visibility: hidden; }
/* Ohne JavaScript: Video mit eigenen Bedienelementen, Standbild bleibt verborgen */
html:not(.js) .stage__controls, html:not(.js) .stage__start { display: none; }

.stage__start {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  display: none; align-items: center; gap: 0.8em;
  padding: 0.9em 1.5em 0.9em 1.2em; border-radius: 999px; border: 1px solid rgba(239, 229, 211, 0.4);
  background: rgba(20, 17, 14, 0.82); color: var(--text); font: 600 0.92rem/1 var(--sans); letter-spacing: 0.03em; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); min-height: 48px;
}
.stage__start:hover { background: rgba(20, 17, 14, 0.95); border-color: var(--gold); }
.stage.is-still .stage__start { display: inline-flex; }
.stage__start i, .ctl i { width: 12px; height: 14px; position: relative; flex: none; }
.stage__start i::before, .ctl--play i::before {
  content: ""; position: absolute; inset: 0; border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}

.stage__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 0 0; }
.stage__status { font-size: 0.8rem; color: var(--muted); margin: 0; }
.stage__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.ctl {
  display: inline-flex; align-items: center; gap: 0.6em; min-height: 44px; padding: 0.55em 1.05em 0.55em 0.9em;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text);
  font: 600 0.82rem/1 var(--sans); letter-spacing: 0.03em; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.ctl:hover { border-color: var(--gold); }
.ctl[disabled] { opacity: 0.4; cursor: default; }
.ctl--play.is-playing i::before { border: 0; width: 4px; background: currentColor; box-shadow: 7px 0 0 currentColor; left: 1px; }
.ctl--sound i::before { content: ""; position: absolute; left: 0; top: 4px; width: 4px; height: 6px; background: currentColor; }
.ctl--sound i::after { content: ""; position: absolute; left: 3px; top: 1px; border-style: solid; border-width: 6px 6px 6px 0; border-color: transparent currentColor transparent transparent; }
.ctl--sound i { width: 16px; }
.ctl--sound:not(.is-on) i { opacity: 0.55; }
.ctl--sound:not(.is-on) i::before { box-shadow: none; }
.ctl--replay i::before { content: "↻"; position: absolute; inset: -4px 0 0; font-size: 15px; line-height: 1; }

/* Hotspots auf dem finalen Standbild: nur große Bildschirme, erst nach dem Ende */
.hotspots { list-style: none; margin: 0; padding: 0; }
.hotspots a { text-decoration: none; }
@media (min-width: 900px) {
  .js .hotspots { position: absolute; inset: 0; margin: 0; }
  .js .hotspots li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
                     opacity: 0; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .js .stage.is-ended .hotspots li, .js .stage.is-still .hotspots li { opacity: 1; pointer-events: auto; }
  .js .stage.is-ended .hotspots li:nth-child(2) { transition-delay: 0.08s; }
  .js .stage.is-ended .hotspots li:nth-child(3) { transition-delay: 0.16s; }
  .js .stage.is-ended .hotspots li:nth-child(4) { transition-delay: 0.24s; }
  .js .stage.is-ended .hotspots li:nth-child(5) { transition-delay: 0.32s; }
  .js .stage.is-ended .hotspots li:nth-child(6) { transition-delay: 0.4s; }
  .js .stage.is-ended .hotspots li:nth-child(7) { transition-delay: 0.48s; }
  .js .stage.is-still .hotspots li { transition-delay: 0s; }
  .js .stage:not(.is-ended):not(.is-still) .hotspots li { visibility: hidden; }
  .js .hotspots a {
    display: inline-flex; align-items: center; gap: 0.5em; padding: 0.42em 0.85em 0.42em 0.5em; border-radius: 999px;
    background: rgba(20, 17, 14, 0.82); border: 1px solid rgba(239, 229, 211, 0.28); color: var(--text);
    font: 600 0.74rem/1 var(--sans); letter-spacing: 0.06em; white-space: nowrap;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color 0.2s, background 0.2s;
  }
  .js .hotspots a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.25); }
  .js .hotspots a:hover, .js .hotspots a:focus-visible { border-color: var(--gold); background: rgba(20, 17, 14, 0.95); }
}
/* Kleine Bildschirme und ohne JavaScript: dieselben Links als Liste unter dem Banner */
.stage__media { position: relative; }
.hotspots-wrap__label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }
@media (min-width: 900px) {
  .js .hotspots-wrap { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .js .hotspots-wrap__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 899px) {
  .stage { padding: 0; }
  .stage__frame { border-radius: 0; }
  .stage__controls { padding: 12px var(--gutter) 0; }
}
@media (max-width: 899px) { .hotspots-wrap { padding: 16px var(--gutter) 0; } }
html:not(.js) .hotspots-wrap { padding: 16px 0 0; }
@media (max-width: 899px) {
  .hotspots { display: flex; flex-wrap: wrap; gap: 8px; }
  .hotspots a { display: inline-block; font-size: 0.82rem; padding: 0.55em 0.95em; border: 1px solid var(--line-strong); border-radius: 999px; }
  .hotspots a:hover { border-color: var(--gold); color: var(--gold); }
}
html:not(.js) .hotspots { display: flex; flex-wrap: wrap; gap: 8px; }
html:not(.js) .hotspots a { display: inline-block; font-size: 0.82rem; padding: 0.55em 0.95em; border: 1px solid var(--line-strong); border-radius: 999px; }

.debug-log { position: fixed; left: 8px; bottom: 8px; z-index: 200; max-width: min(92vw, 440px); max-height: 40vh; overflow: auto;
             background: rgba(0,0,0,.85); color: #9f9; font: 11px/1.35 ui-monospace, monospace; padding: 8px; margin: 0; white-space: pre-wrap; }

/* ---------- Zwei Wege ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.way { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: clamp(380px, 38vw, 540px);
       text-decoration: none; border-radius: 6px; overflow: hidden; isolation: isolate; }
.way__media { position: relative; overflow: hidden; background: #0d0b09; }
.way__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.1s var(--ease); }
.way:hover .way__media img { transform: scale(1.035); }
.way__body { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(24px, 3.4vw, 44px); }
.way__num { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.way h3 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); margin: 0 0 1rem; }
.way__tags { font-size: 0.95rem; font-weight: 500; margin: 0 0 1.6rem; }
.way__tags span { opacity: 0.45; margin: 0 0.35em; }
.way--work { background: var(--paper); color: var(--ink); }
.way--work .way__num, .way--work .link-arrow { color: var(--terra-ink); }
.way--worlds { background: linear-gradient(150deg, #5a2a17, #2a160e 70%); color: var(--text); }
.way--worlds .way__num, .way--worlds .link-arrow { color: #e9a07a; }
.way:focus-visible { outline-offset: 4px; }
@media (max-width: 1100px) { .way { grid-template-columns: 1fr; } .way__media { aspect-ratio: 4 / 3; } .way__media img { object-position: 50% 12%; } }
@media (max-width: 700px) { .ways { grid-template-columns: 1fr; } .way { min-height: 0; } }

/* ---------- Browser- und Telefonrahmen ---------- */
.browser { border-radius: 8px; border-color: rgba(239, 229, 211, 0.16); background: #0f0d0b; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.75); }
.browser__bar { background: #221d18; padding: 10px 14px; }
.browser__url { font-family: var(--sans); }
.browser picture, .browser > img { display: block; }
.browser img { width: 100%; height: auto; }
.section--light .browser { box-shadow: 0 30px 80px -30px rgba(40, 28, 16, 0.45); border-color: rgba(29, 24, 19, 0.18); }
.phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 390 / 844; border-radius: 34px; padding: 7px;
         background: #0b0a08; box-shadow: 0 0 0 1px rgba(239, 229, 211, 0.16), 0 40px 90px -30px rgba(0, 0, 0, 0.8); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.phone picture { display: block; height: 100%; }

/* ---------- Website-Arbeiten (Startseite) ---------- */
.lead-case { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lead-case__media { position: relative; padding-bottom: clamp(24px, 5vw, 64px); }
.lead-case__media .phone { position: absolute; right: clamp(-12px, -1vw, 0px); bottom: 0; width: 24%; min-width: 120px; }
.lead-case__body h3 { font-size: clamp(2.8rem, 5vw, 4.6rem); margin: 0.9rem 0 0.4rem; }
.case-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--gold); margin: 0 0 1.2rem; }
.section--light .case-tag { color: var(--terra-ink); }
.case-points { list-style: none; margin: 1.4rem 0 1.8rem; border-top: 1px solid var(--line); }
.case-points li { padding: 0.6rem 0 0.6rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; font-size: 0.95rem; color: var(--muted); }
.case-points li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 980px) { .lead-case { grid-template-columns: minmax(0, 1fr); } .lead-case__media .phone { width: 28%; } }

.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: clamp(64px, 9vw, 120px); }
.case-pair--offset > :nth-child(2) { margin-top: clamp(0px, 8vw, 120px); }
.case { display: flex; flex-direction: column; text-decoration: none; }
.case .browser { margin-bottom: 1.5rem; transition: transform 0.6s var(--ease); }
a.case:hover .browser { transform: translateY(-4px); }
.case h3 { margin: 0.8rem 0 0.4rem; }
.case p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.9rem; }
.case .link-arrow { margin-top: auto; }
@media (max-width: 760px) { .case-pair { grid-template-columns: minmax(0, 1fr); } .case-pair--offset > :nth-child(2) { margin-top: 0; } }

.case-list { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); }
.case-list a { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: clamp(14px, 2.4vw, 32px); align-items: center;
               padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background 0.3s; }
.case-list a:hover { background: rgba(239, 229, 211, 0.03); }
.case-list img { width: 92px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; }
.case-list h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; }
.case-list p { margin: 0.2rem 0 0; font-size: 0.88rem; color: var(--muted); }
.case-list .badge { justify-self: end; }
.case-list a:hover h3 { color: var(--gold); }
@media (max-width: 640px) { .case-list a { grid-template-columns: 72px minmax(0, 1fr); } .case-list img { width: 72px; } .case-list .badge { grid-column: 2; justify-self: start; } }

.section-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Leistungen (Startseite, hell) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc { display: flex; flex-direction: column; padding: 1.8rem 1.6rem 2rem 0; border-bottom: 1px solid var(--line); }
.svc + .svc { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.svc__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--terra-ink); margin-bottom: 1.6rem; }
.svc h3 { font-size: clamp(1.6rem, 2.2vw, 2.05rem); margin-bottom: 0.8rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { color: var(--terra-ink); }
.svc p { color: var(--muted); font-size: 0.95rem; }
.svc__proof { list-style: none; margin: 0.4rem 0 1.4rem; }
.svc__proof li { font-size: 0.86rem; padding: 0.4rem 0; border-top: 1px solid var(--line); }
.svc__proof a { text-decoration: none; }
.svc__proof a:hover { color: var(--terra-ink); }
.svc__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: auto 0 0.4rem; }
.svc .link-arrow { margin-top: 0.6rem; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } .svc, .svc + .svc { padding: 1.6rem 0 1.8rem; border-left: 0; } .svc__num { margin-bottom: 0.8rem; } }

/* ---------- Markenarbeiten ---------- */
.brandwork { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.brandwork + .brandwork { margin-top: clamp(72px, 10vw, 140px); }
.brandwork--flip .brandwork__media { order: 2; }
.brandwork__media { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: clamp(10px, 1.4vw, 18px); }
.brandwork__media figure:first-child { grid-row: span 2; }
.brandwork__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.brandwork__media figure { position: relative; overflow: hidden; }
.brandwork__media figcaption { position: absolute; left: 8px; bottom: 8px; margin: 0; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
                               background: rgba(20, 17, 14, 0.75); color: #efe5d3; padding: 0.35em 0.7em; border-radius: 999px; }
.brandwork h3 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin: 0.8rem 0 0.4rem; }
.chain { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 1.2rem 0 1.6rem; }
.chain li { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.45em 0.85em; border: 1px solid var(--line-strong); border-radius: 999px; }
.chain li.is-off { opacity: 0.35; border-style: dashed; }
@media (max-width: 900px) { .brandwork { grid-template-columns: minmax(0, 1fr); } .brandwork--flip .brandwork__media { order: 0; } }

/* ---------- Eigene Welten (Teaser) ---------- */
.worlds-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.world-tile { position: relative; display: block; overflow: hidden; border-radius: 6px; text-decoration: none; min-height: clamp(420px, 44vw, 620px); background: #0d0b09; }
.world-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.world-tile:hover img { transform: scale(1.04); }
.world-tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 3vw, 36px); background: linear-gradient(to top, rgba(20, 13, 9, 0.94), rgba(20, 13, 9, 0.6) 60%, transparent); }
.world-tile h3 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin: 0.8rem 0 0.3rem; text-transform: uppercase; }
.world-tile p { color: #d9ccb6; margin: 0 0 0.8rem; max-width: 42ch; font-size: 0.97rem; }
.world-tile .badge { background: rgba(20, 17, 14, 0.6); }
.world-names { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; }
.world-names a { display: inline-block; text-decoration: none; padding: 0.5em 1em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.85rem; }
.world-names a:hover { border-color: var(--terra); color: #e9a07a; }
.world-names small { color: var(--muted); margin-left: 0.4em; }
@media (max-width: 760px) { .worlds-teaser { grid-template-columns: minmax(0, 1fr); } .world-tile { min-height: 460px; } }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__media { position: sticky; top: 100px; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; filter: saturate(0.9); }
.about__media figcaption { margin-top: 0.8rem; }
.about h2 { margin-bottom: 1.6rem; }
.about p { color: var(--muted); }
.about p.lead { color: var(--text); }
.about .path { margin-top: clamp(32px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } .about__media { position: static; max-width: 460px; } }

/* ---------- Kontakt (Abschluss jeder Seite) ---------- */
.contact-final { padding: var(--section) 0; border-top: 1px solid var(--line); }
.contact-final__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact-final h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 0.96; margin-bottom: 1.4rem; }
.contact-final .lead { color: var(--muted); max-width: 44ch; }
.contact-final .contact__mail { font-size: clamp(1.4rem, 3.2vw, 2.4rem); color: var(--gold); border-bottom-color: rgba(201, 164, 92, 0.45); word-break: normal; overflow-wrap: anywhere; }
.contact-final__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 4px; }
.contact-final__note { font-size: 0.85rem; color: var(--muted); margin-top: 1.2rem; }
@media (max-width: 820px) { .contact-final__grid { grid-template-columns: minmax(0, 1fr); } .contact-final__image { max-width: 380px; } }

/* ---------- Seitenkopf für Übersichten und Leistungen ---------- */
.page-hero { border-bottom: 0; padding-bottom: clamp(32px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: 0.95; }
.page-hero .lead { color: var(--muted); max-width: 52ch; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
@media (max-width: 820px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Arbeiten: Filter und Raster ---------- */
.filters { display: none; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; list-style: none; }
.js .filters { display: flex; }
.filters button {
  min-height: 44px; padding: 0.55em 1.15em; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--text); font: 600 0.85rem/1 var(--sans); letter-spacing: 0.02em; cursor: pointer; transition: all 0.2s;
}
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--accent-ink); }
.filters button span { opacity: 0.6; margin-left: 0.3em; font-weight: 500; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.work-grid > li.is-hidden { display: none; }
.work-grid > li.is-wide { grid-column: span 2; }
.work { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.work__media { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-3); margin-bottom: 1.2rem; aspect-ratio: 16 / 10; }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.9s var(--ease); }
.work__media--photo img { object-position: center; }
a.work:hover .work__media img { transform: scale(1.03); }
.work__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 0.7rem; }
.work__kind { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.work h2, .work h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0 0 0.4rem; }
.work p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.work .link-arrow { margin-top: auto; }
.filter-status { font-size: 0.85rem; color: var(--muted); margin: -1.4rem 0 2rem; min-height: 1.2em; }
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work-grid > li.is-wide { grid-column: span 2; } }
@media (max-width: 620px) { .work-grid { grid-template-columns: minmax(0, 1fr); } .work-grid > li.is-wide { grid-column: auto; } }

.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; margin-top: clamp(56px, 7vw, 88px); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legend p { font-size: 0.88rem; color: var(--muted); margin: 0.6rem 0 0; }
@media (max-width: 760px) { .legend { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Fallstudie (Website-Projekte) ---------- */
.case-hero { padding: calc(72px + clamp(40px, 6vw, 80px)) 0 0; }
.case-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.case-hero h1 { font-size: clamp(3rem, 8.4vw, 7.6rem); line-height: 0.92; margin: 1.2rem 0 0.2em; text-transform: uppercase; overflow-wrap: anywhere; }
.case-hero .lead { color: var(--muted); }
.case-hero__visual { position: relative; padding-bottom: clamp(24px, 4vw, 56px); }
.case-hero__visual .phone { position: absolute; right: 2%; bottom: 0; width: 20%; min-width: 110px; }
@media (max-width: 860px) { .case-hero__grid { grid-template-columns: minmax(0, 1fr); } .case-hero__visual .phone { width: 30%; right: 0; } }

.feature-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 112px); }
.feature-row--flip .feature-row__media { order: 2; }
.feature-row__num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 0.8rem; }
.section--light .feature-row__num { color: var(--terra-ink); }
.feature-row h3 { margin-bottom: 0.8rem; }
.feature-row p { color: var(--muted); }
@media (max-width: 860px) { .feature-row { grid-template-columns: minmax(0, 1fr); } .feature-row--flip .feature-row__media { order: 0; } }

.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); justify-items: center; align-items: start; }
.phones figure { width: 100%; display: flex; flex-direction: column; align-items: center; }
.phones figcaption { text-align: center; max-width: 30ch; }
.phones--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .phones figure:nth-child(3) { display: none; } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); list-style: none; margin: 0; padding: 0; }
.gallery-grid a { display: block; position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-3); }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease), opacity 0.3s; }
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-grid a::after { content: "＋"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
                         background: rgba(20, 17, 14, 0.8); color: var(--text); font-size: 16px; opacity: 0; transition: opacity 0.2s; }
.gallery-grid a:hover::after, .gallery-grid a:focus-visible::after { opacity: 1; }
.gallery-grid figcaption { margin-top: 0.5rem; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lightbox { border: 0; padding: 0; margin: auto; width: min(96vw, 1600px); max-height: 94vh; background: transparent; color: var(--text); overflow: visible; }
.lightbox::backdrop { background: rgba(10, 8, 6, 0.92); }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox__fig img { max-width: 100%; max-height: calc(94vh - 90px); width: auto; height: auto; border-radius: 4px; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px; }
.lightbox__cap { font-size: 0.85rem; color: var(--muted); margin: 0; flex: 1; text-align: center; }
.lightbox button { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(20, 17, 14, 0.8); color: var(--text); font: 600 0.85rem/1 var(--sans); padding: 0 1em; cursor: pointer; }
.lightbox button:hover { border-color: var(--gold); }

.demo-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line-strong); border-radius: 6px; }
.demo-box h3 { margin-bottom: 0.4rem; }
.demo-box p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 700px) { .demo-box { grid-template-columns: minmax(0, 1fr); } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .related { grid-template-columns: minmax(0, 1fr); } }

.service-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; text-decoration: none;
                padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-link__num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold); }
.service-link h3 { margin: 0 0 0.3rem; }
.service-link p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.service-link:hover h3 { color: var(--gold); }
@media (max-width: 640px) { .service-link { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Leistungs-Detailseiten ---------- */
.scope { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.scope__item { border-top: 1px solid var(--line); padding: 1.4rem 0 1.6rem; }
.scope__item h3 { font-size: clamp(1.35rem, 1.9vw, 1.65rem); margin-bottom: 0.6rem; }
.scope__item p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.steps--wide { counter-reset: s; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; border-top: 0; }
.steps--wide li { display: block; border-top: 1px solid var(--line-strong); padding: 1.2rem 0 0; font-family: var(--sans); font-size: 0.95rem; color: var(--muted); border-bottom: 0; }
.steps--wide li strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--text); margin: 0.4rem 0 0.5rem; }
.steps--wide li span { font-size: 0.75rem; color: var(--accent); padding: 0; }
@media (max-width: 900px) { .steps--wide { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .steps--wide { grid-template-columns: minmax(0, 1fr); } }
.role-note { border-left: 2px solid var(--gold); padding: 0.4rem 0 0.4rem 1.2rem; color: var(--muted); max-width: 70ch; }
.section--light .role-note { border-color: var(--terra-ink); }

/* Sprachspezifisch: lange Wörter umbrechen */
:lang(de) h1, :lang(de) h2, :lang(de) h3 { hyphens: manual; }
.work h2, .case-list h3, .svc h3 { overflow-wrap: anywhere; }

/* Footer */
.site-footer { padding: 56px 0 44px; }
.site-footer__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; width: 100%; }
.site-footer__cols h2 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem; }
.site-footer__cols ul { display: block; }
.site-footer__cols li { margin: 0 0 0.45rem; }
.site-footer__name { font-size: 1.5rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; width: 100%; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; }
@media (max-width: 820px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } .site-footer__cols > div:first-child { grid-column: 1 / -1; } }

/* Ohne Animation: alles sofort sichtbar; GPU-schonend nur transform/opacity */
@media (prefers-reduced-motion: reduce) {
  .way__media img, .world-tile img, .work__media img, .gallery-grid img, .case .browser { transition: none !important; transform: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Abstände gestrafft: keine überlangen Leerflächen zwischen Abschnitten */
:root { --section: clamp(64px, 7.5vw, 112px); }
.section-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.section--alt + .contact-final, .section + .contact-final { border-top: 1px solid var(--line); }
.brandwork__media--two { grid-template-columns: 1.35fr 1fr; align-items: center; }
.brandwork__media--two figure:first-child { grid-row: auto; }
.brandwork__media--two figure:last-child img { aspect-ratio: 1 / 1; object-fit: contain; background: #f3ecdf; padding: 6%; }
.feature-row--flip { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
@media (max-width: 860px) { .feature-row--flip { grid-template-columns: minmax(0, 1fr); } }
/* Lange Status-Bezeichnungen (v. a. ES) dürfen umbrechen statt die Seite zu verbreitern */
.badge { white-space: normal; max-width: 100%; text-align: left; line-height: 1.35; }
.badge::before { flex: none; }
.phero__text, .work__meta, .badges { min-width: 0; }

/* ==========================================================================
   Startseite: Navigation + Banner = erster Bildschirm (2026-11-02, Korrektur)
   Die Bannerbreite ergibt sich aus der sichtbaren Höhe (svh, Fallback vh) minus Header und Bedienleiste;
   die Bildfläche bleibt exakt 16:9, das Video liegt mit object-fit: contain darin – kein Beschnitt, kein Zoom.
   Freie Fläche (abweichende Proportionen) füllt der dunkle Grundton des Videos.
   ========================================================================== */
:root { --header: 72px; --controls: 60px; --stage-bg: #121210; }
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header: 56px; --controls: 52px; }
  .site-header .wrap { height: 56px; }
  .nav { inset: 56px 0 auto 0 !important; max-height: calc(100svh - 56px); }
  .stage__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ctl { min-height: 40px; padding: 0.45em 0.9em 0.45em 0.8em; font-size: 0.78rem; }
}
.stage { max-width: none; margin: 0; padding: var(--header) 0 0; background: var(--stage-bg); display: flex; flex-direction: column; }
.stage__media, .stage__controls {
  width: min(100%, calc((100vh - var(--header) - var(--controls)) * 16 / 9));
  width: min(100%, calc((100svh - var(--header) - var(--controls)) * 16 / 9));
  margin: 0 auto;
}
.stage__frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none; background: var(--stage-bg); }
.stage__controls { min-height: var(--controls); padding: 8px var(--gutter); box-sizing: border-box; align-items: center; }
/* Kopfzeile über dem Banner ohne Verlauf ins Bild: der Banner beginnt erst unter ihr */
body:has(.stage) .site-header:not(.is-scrolled):not(.is-open) { background: var(--stage-bg); }
.home-intro { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.home-intro h1 { font-size: clamp(3rem, 7.4vw, 7.2rem); }
.home-intro + .section--tight { padding-top: 0; }
@media (max-width: 899px) {
  .stage__controls { padding: 10px var(--gutter); }
  /* Bedienleiste direkt unter dem Video, Projektliste darunter */
  .stage__media { display: contents; }
  .stage__frame { order: 1; width: min(100%, calc((100vh - var(--header) - var(--controls)) * 16 / 9)); width: min(100%, calc((100svh - var(--header) - var(--controls)) * 16 / 9)); margin: 0 auto; }
  .stage__controls { order: 2; }
  .hotspots-wrap { order: 3; padding-bottom: 8px; }
}
/* Header-Höhe inkl. 1-px-Unterkante; Querformat: Bedienleiste über die volle Breite in einer Zeile */
:root { --header: 73px; }
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header: 57px; }
  .stage__controls { width: 100%; padding: 6px var(--gutter); min-height: var(--controls); }
  .stage__buttons { flex-wrap: nowrap; margin: 0 auto; }
}

/* Video-Statusmeldungen: routinemäßig nur für Screenreader; sichtbar nur bei nötigem manuellem Start oder Ladefehler */
.stage__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stage.is-still .stage__status { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.stage__controls { justify-content: flex-end; }
.stage.is-still .stage__controls { justify-content: space-between; }
.ctl[hidden] { display: none; }

/* Smartphones und schmale Tablets (< 900 px, 2026-11-04): keine separate Projektliste unter dem Banner (Projekte über die
   Arbeitsbereiche erreichbar; Hotspots im Bild nur ab 900 px), Bedienung als kompakte Symbolzeile mit 44-px-Touchflächen.
   Die Beschriftungen bleiben als zugängliche Namen erhalten (main.js aktualisiert sie je Zustand). */
@media (max-width: 899px) {
  .hotspots-wrap { display: none; }
  .stage__controls { flex-wrap: nowrap; min-height: 0; gap: 8px; padding: 2px max(0px, calc(var(--gutter) - 12px)) 2px var(--gutter); }
  /* Zeile so breit wie das Bild (Querformat: Bild schmaler als der Bildschirm) */
  .stage__controls { width: min(100%, calc((100vh - var(--header) - var(--controls)) * 16 / 9)); width: min(100%, calc((100svh - var(--header) - var(--controls)) * 16 / 9)); margin: 0 auto; }
  .stage__buttons { flex-wrap: nowrap; gap: 0; margin: 0 0 0 auto; }
  .stage.is-still .stage__status { flex: 1 1 auto; min-width: 0; font-size: 0.76rem; line-height: 1.35; }
  .ctl { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; gap: 0; border: 0; border-radius: 50%;
         color: var(--muted); transition: color 0.2s; }
  .ctl span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ctl:hover { color: var(--text); }
  .ctl:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; color: var(--text); }
  .ctl i, .ctl--sound i { width: 22px; height: 22px; opacity: 1; background: currentColor;
         -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
  .ctl i::before, .ctl i::after { content: none; }
  .ctl--play i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.2v13.6L18.6 12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.2v13.6L18.6 12z'/%3E%3C/svg%3E"); }
  .ctl--play.is-playing i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5.5h3.2v13H7zM13.8 5.5H17v13h-3.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5.5h3.2v13H7zM13.8 5.5H17v13h-3.2z'/%3E%3C/svg%3E"); }
  .ctl--sound i, .ctl--sound:not(.is-on) i { opacity: 1; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 9.5h3.6L11.5 6v12l-4.4-3.5H3.5z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M15.5 9.5l5 5M20.5 9.5l-5 5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 9.5h3.6L11.5 6v12l-4.4-3.5H3.5z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M15.5 9.5l5 5M20.5 9.5l-5 5'/%3E%3C/svg%3E"); }
  .ctl--sound.is-on { color: var(--gold); }
  .ctl--sound.is-on i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 9.5h3.6L11.5 6v12l-4.4-3.5H3.5z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M14.8 9.2a4 4 0 0 1 0 5.6M17.4 6.6a7.6 7.6 0 0 1 0 10.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 9.5h3.6L11.5 6v12l-4.4-3.5H3.5z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M14.8 9.2a4 4 0 0 1 0 5.6M17.4 6.6a7.6 7.6 0 0 1 0 10.8'/%3E%3C/svg%3E"); }
  .ctl--replay i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M5.4 12.6A6.6 6.6 0 1 0 7.6 7.1'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M7.8 3.6v3.8h3.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M5.4 12.6A6.6 6.6 0 1 0 7.6 7.1'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M7.8 3.6v3.8h3.8'/%3E%3C/svg%3E"); }
  .ctl[disabled] { opacity: 0.35; }
  .home-intro { padding-top: 28px; }
  .home-intro__grid { align-items: start; }
}

/* ==========================================================================
   Bewegungssystem beim Scrollen (einmalig beim ersten Sichtbarwerden, main.js setzt data-kind / .is-visible)
   Richtwerte: 16–32 px Weg, 500–800 ms, Staffelung 70–80 ms, ruhiges Abbremsen ohne Überschwingen.
   Nur transform, opacity, clip-path und scale. Ohne JS oder bei reduzierter Bewegung: alles sofort sichtbar.
   ========================================================================== */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 12px 0 0; vertical-align: middle; background: currentColor; transform-origin: left; }

@media (prefers-reduced-motion: no-preference) {
  /* Grundbewegung für Texte */
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 20px, 0);
    transition: opacity 0.65s var(--ease-out), transform 0.75s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  /* Überschriften: etwas längerer Weg nach oben */
  .js [data-kind="title"] { transform: translate3d(0, 30px, 0); transition-duration: 0.7s, 0.8s; }

  /* Kopfbereiche: Eyebrow, Überschrift, Einleitung nacheinander; die Linie vor der Eyebrow baut sich auf */
  .js [data-kind="heading"] { opacity: 1; transform: none; }
  .js [data-kind="heading"] > * { opacity: 0; transform: translate3d(0, 24px, 0);
    transition: opacity 0.65s var(--ease-out), transform 0.8s var(--ease-out); }
  .js [data-kind="heading"] > :nth-child(2) { transition-delay: 80ms; }
  .js [data-kind="heading"] > :nth-child(3) { transition-delay: 160ms; }
  .js [data-kind="heading"] > :nth-child(4) { transition-delay: 240ms; }
  .js [data-kind="heading"].is-visible > * { opacity: 1; transform: none; }
  .js [data-reveal] .eyebrow::before, .js .eyebrow[data-reveal]::before { transform: scaleX(0); transition: transform 0.7s var(--ease-out) 0.15s; }
  .js .is-visible .eyebrow::before, .js .eyebrow.is-visible::before { transform: scaleX(1); }

  /* Bildflächen: zurückhaltende Maskenöffnung, Bild setzt sich leicht */
  .js [data-kind="media"] { opacity: 1; transform: none; clip-path: inset(7% 5% 7% 5%);
    transition: clip-path 0.8s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-kind="media"].is-visible { clip-path: inset(-25%); }
  .js [data-kind="media"] img, .js [data-kind="card"] img { scale: 1.06; transition: scale 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-kind="media"].is-visible img, .js [data-kind="card"].is-visible img { scale: 1; }
  .js [data-kind="media"] .phone { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.7s var(--ease-out) 0.25s, transform 0.8s var(--ease-out) 0.25s; }
  .js [data-kind="media"].is-visible .phone { opacity: 1; transform: none; }

  /* Karten: längerer Weg, Bild darin setzt sich nach */
  .js [data-kind="card"] { transform: translate3d(0, 28px, 0); transition-duration: 0.7s, 0.8s; }

  /* Listen: Einträge zeitversetzt */
  .js .stagger > * { opacity: 0; transform: translate3d(0, 14px, 0);
    transition: opacity 0.55s var(--ease-out), transform 0.6s var(--ease-out);
    transition-delay: calc(var(--d, 0ms) + 180ms + var(--i, 0) * 70ms); }
  .js .is-visible .stagger > *, .js .stagger.is-visible > * { opacity: 1; transform: none; }

  /* Trennlinien bauen sich auf und leuchten einmal kurz in Gold/Terrakotta, danach bleibt die normale Linie */
  .js .line-build { position: relative; }
  .js .line-build::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, var(--gold), var(--terra)); transform: scaleX(0); transform-origin: left; opacity: 1; }
  .js .group-head.line-build::after { top: auto; bottom: -1px; }
  .js .line-build.is-visible::after { animation: line-build 2.2s var(--ease-out) forwards; }
  @keyframes line-build {
    0% { transform: scaleX(0); opacity: 1; box-shadow: 0 0 0 rgba(201, 164, 92, 0); }
    40% { transform: scaleX(1); opacity: 1; box-shadow: 0 0 10px rgba(201, 164, 92, 0.55); }
    100% { transform: scaleX(1); opacity: 0; box-shadow: 0 0 0 rgba(201, 164, 92, 0); }
  }
}

/* ==========================================================================
   Zwei Wege: zwei eigenständige Karten mit klarem Abstand
   (Porträt + Textfläche bleiben je Karte verbunden; Abstand nur zwischen den Karten)
   ========================================================================== */
.ways { gap: clamp(24px, 2.6vw, 40px); }
.way { border-radius: 10px; border: 1px solid rgba(239, 229, 211, 0.16); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.85); }
.way--work { border-color: rgba(236, 226, 207, 0.55); }
.way--worlds { border-color: rgba(233, 160, 122, 0.32); }
.way h3, .way .link-arrow { transition: transform 0.45s var(--ease-out), color 0.45s var(--ease-out); }
.way .link-arrow { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; padding-bottom: 3px;
                   transition: background-size 0.5s var(--ease-out), color 0.45s var(--ease-out); }
.way .link-arrow::after { transition: transform 0.45s var(--ease-out); }
.way__media img { transition: transform 1s var(--ease-out), scale 1.1s var(--ease-out); }
/* Hover nur auf Geräten mit echtem Zeiger; Tastaturfokus zeigt denselben Zustand */
@media (hover: hover) and (pointer: fine) {
  .way:hover .way__media img { transform: scale(1.02); }
  .way:hover h3 { transform: translateX(4px); }
  .way--work:hover h3 { color: var(--terra-ink); }
  .way--worlds:hover h3 { color: #f0b38f; }
  .way:hover .link-arrow { background-size: 100% 1px; }
  .way:hover .link-arrow::after { transform: translate(3px, -3px); }
}
.way:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.way:focus-visible .way__media img { transform: scale(1.02); }
.way:focus-visible h3 { transform: translateX(4px); }
.way--work:focus-visible h3 { color: var(--terra-ink); }
.way--worlds:focus-visible h3 { color: #f0b38f; }
.way:focus-visible .link-arrow { background-size: 100% 1px; }
.way:focus-visible .link-arrow::after { transform: translate(3px, -3px); }
@media (max-width: 700px) { .ways { gap: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .way h3, .way .link-arrow, .way .link-arrow::after, .way__media img { transition: none; }
}

/* ==========================================================================
   Website-Vorschau auf Fallstudien eigener Marken (YIKA, 2026-11-12): Screenshot als Link zur Demo
   ========================================================================== */
.site-intro .badge { margin-top: 1.2rem; }
.site-preview { position: relative; display: block; margin-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(28px, 5vw, 64px);
                max-width: 1100px; margin-left: auto; margin-right: auto; color: inherit; text-decoration: none; border-radius: 10px; }
.site-preview .browser { display: block; transition: border-color 0.3s var(--ease-out, ease), transform 0.5s var(--ease-out, ease); }
.site-preview .browser__bar { display: flex; }
.site-preview .phone { position: absolute; right: -1%; bottom: 0; width: 22%; min-width: 104px; max-width: 240px;
                       transition: transform 0.5s var(--ease-out, ease); }
.site-preview picture { display: block; }
.site-preview img { display: block; width: 100%; height: auto; }
/* Rahmen folgt dem Bildformat (430 × 932) – kein seitlicher Beschnitt der Mobilansicht */
.site-preview .phone { aspect-ratio: auto; }
.site-preview .phone img { height: auto; object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
  .site-preview:hover .browser { border-color: rgba(201, 164, 92, 0.55); transform: translateY(-4px); }
  .site-preview:hover .phone { transform: translateY(-8px); }
}
.site-preview:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.site-preview:focus-visible .browser { border-color: rgba(201, 164, 92, 0.55); }
.site-cta { margin-top: clamp(8px, 2vw, 24px); }
/* Schmale Bildschirme: Mobilansicht größer und mittig unter der Desktop-Ansicht statt klein darüber */
@media (max-width: 700px) {
  .site-preview { padding-bottom: 0; }
  .site-preview .phone { display: block; position: relative; right: auto; bottom: auto; width: 56%; max-width: 230px; margin: -36px auto 0; }
}
@media (prefers-reduced-motion: reduce) { .site-preview .browser, .site-preview .phone { transition: none; transform: none !important; } }

/* Lange Einzelwörter in Seitenüberschriften (z. B. „Datenschutzerklärung“) auf schmalen Bildschirmen trennen statt überlaufen (2026-11-14) */
@media (max-width: 420px) { .page-hero h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
