/* ============================================================
   Hey Sven — Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   1. Lokale Schriften (siehe fonts/README.md)
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
}

/* ------------------------------------------------------------
   2. Reset & Variablen
   ------------------------------------------------------------ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  color-scheme: only light;  /* kein automatischer Dunkelmodus der Browser (Samsung Internet invertiert sonst die Farben) */
  /* Farben: HeySven_Styleguide (privat/HeySven_Styleguide.html), Kapitel 04 */
  --bg-cream: #f4efe7;        /* Creme: heller Hintergrund, helle Schrift auf dunkel */
  --bg-cream-dark: #ebe4d7;   /* Karten auf Creme */
  --bg-dark: #1a1612;         /* Nacht: dunkler Hintergrund (statt Schwarz) */
  --bg-darker: #1a1612;       /* Nacht (es gibt nur eine dunkle Farbe) */
  --text-dark: #1a1815;       /* Ink: Überschriften, Logo, Buttons auf hell */
  --text: #3a3530;            /* Fließtext auf hell */
  --text-light: #f4efe7;      /* Creme: Überschriften auf dunkel */
  --text-on-dark: #d9d2c6;    /* Fließtext auf dunkel */
  --text-muted: #6b645a;      /* Grau: Bildunterschriften, Hinweise */
  --accent: #c29a72;          /* Karamell: Linien, Schwung, Icons (nie kleine Schrift auf Creme) */
  --accent-light: #d6af88;    /* Hellkaramell: Highlights in der Schrift auf dunkel */
  --accent-text: #7f5a36;     /* Karamell-Text: Schrift auf hellem Grund (kleine Zeilen, Links) */
  --border: rgba(26, 24, 21, 0.12);
  --border-light: rgba(244, 239, 231, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-cream);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--text-dark);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Dunkle Flächen (Nacht): Überschriften Creme, Fließtext #d9d2c6 */
.hero, .services, .contact, footer, .coming-soon-body, .error-body,
.rt-showreel-text, nav.menu-open { color: var(--text-on-dark); }
.hero h1, .hero h2, .hero h3, .services h1, .services h2, .services h3, .services h4,
.contact h1, .contact h2, .contact h3,
.coming-soon-body h1, .coming-soon-body h2, .error-body h1, .error-body h2,
.rt-showreel-text h2 { color: var(--text-light); }

/* Accessibility helpers */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -120px; left: 0;
  background: var(--bg-dark); color: var(--text-light);
  padding: 8px 16px; z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ------------------------------------------------------------
   3. Navigation
   ------------------------------------------------------------ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  mix-blend-mode: difference;
}

nav.scrolled {
  padding: 16px 40px;
  background: rgba(244, 239, 231, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mix-blend-mode: normal;
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: block; line-height: 0; }
.nav-logo img { width: 124px; height: auto; transition: opacity 0.3s; }
.nav-logo-dark { display: none; }
@media (max-width: 1099px) {
  .nav-logo img { width: 92px; }
}
nav.scrolled .nav-logo-light { display: none; }
nav.scrolled .nav-logo-dark { display: block; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a,
.nav-menu a {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  position: relative;
  transition: color 0.3s;
}
nav.scrolled .nav-links a,
nav.scrolled .nav-menu a { color: var(--text-dark); }

.nav-links a::after,
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a[aria-current="page"]::after { width: 100%; }

/* Navigation in Zonen: Abschnitte der Startseite (.nav-sections) und eigene
   Seiten (.nav-pages, mit ↗ markiert). Desktop: Name links · Abschnitte mittig ·
   Seiten rechts. Mittlere Breiten: alles rechts, Trennstrich vor den Seiten.
   Darunter: Hamburger-Menü mit zwei beschrifteten Blöcken. */
.nav-menu { display: none; }
.nav-sections,
.nav-pages {
  display: flex;
  align-items: center;
  list-style: none;
}
.nav-label { display: none; }
.nav-ext { display: inline-block; margin-left: 5px; vertical-align: 0; opacity: 0.8; }
.nav-menu a.nav-cta {
  padding: 9px 20px;
  border: 1px solid currentColor;
  transition: background 0.3s ease, color 0.3s;
}
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta:hover,
.nav-menu a.nav-cta:focus-visible { background: rgba(244, 239, 231, 0.15); }
nav.scrolled .nav-menu a.nav-cta:hover,
nav.scrolled .nav-menu a.nav-cta:focus-visible { background: rgba(26, 24, 21, 0.08); }

@media (min-width: 1100px) {
  .nav-menu { display: flex; align-items: center; }
  .nav-sections { gap: 22px; }
  .nav-pages {
    gap: 22px;
    margin-left: 26px;
    padding-left: 26px;
    border-left: 1px solid var(--border-light);
  }
  nav.scrolled .nav-pages { border-left-color: var(--border); }
  .nav-menu a { font-size: 12px; letter-spacing: 0.1em; }
  .nav-menu a.nav-cta { padding: 8px 14px; }
}
@media (min-width: 1400px) {
  nav:has(.nav-menu) { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 24px; }
  nav:has(.nav-menu) .nav-logo { justify-self: start; }
  .nav-menu { display: contents; }
  .nav-sections { gap: 36px; justify-self: center; }
  .nav-pages { gap: 32px; justify-self: end; margin-left: 0; padding-left: 0; border-left: 0; }
  .nav-menu a { font-size: 13px; letter-spacing: 0.15em; }
  .nav-menu a.nav-cta { padding: 9px 20px; }
}

/* Sieben Links: zwischen Tablet und kleinem Laptop etwas enger, damit nichts umbricht */
@media (min-width: 969px) and (max-width: 1180px) {
  .nav-links { gap: 24px; }
  .nav-links a { font-size: 12px; letter-spacing: 0.1em; }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
nav.scrolled .menu-toggle span { background: var(--text-dark); }
nav.menu-open .menu-toggle span { background: var(--text-light); }
nav.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
nav.menu-open .menu-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------------------------------------------------
   4. Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-placeholder {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(194, 154, 114, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(120, 90, 60, 0.3) 0%, transparent 60%),
    linear-gradient(135deg, rgba(26,22,18,0.55) 0%, rgba(42,32,26,0.45) 40%, rgba(10,8,7,0.65) 100%);
}
.hero-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 2%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.02) 0%, transparent 1.5%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.025) 0%, transparent 2%),
    radial-gradient(circle at 40% 60%, rgba(255,255,255,0.02) 0%, transparent 1%);
  animation: drift 20s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.05) translate(-1%, -1%); }
}

.hero-overlay-old{
  position: absolute;
  inset: 0;
  z-index: 3;

  background:
    radial-gradient(
      circle at center,
      rgba(24,18,14,0.6) 0%,
      rgba(24,18,14,0.5) 38%,
      rgba(24,18,14,0.5) 65%,
      rgba(24,18,14,0.5) 100%
    );
}

.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 3;
}

.hero-content {
  position: relative; z-index: 4;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.6s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: 16px;
  letter-spacing: 0.05em;
  max-width: 540px;
  margin: 0 auto 50px;
  color: rgba(244, 239, 231, 0.85);
  opacity: 0;
  animation: fadeUp 1.2s ease 0.9s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid rgba(244, 239, 231, 0.4);
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.2s forwards;
}
.hero-cta:hover, .hero-cta:focus-visible {
  background: var(--text-light);
  color: var(--text-dark);
  border-color: var(--text-light);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(244, 239, 231, 0.6);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 2s ease 2s forwards;
}
.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: rgba(244, 239, 231, 0.4);
  margin: 12px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ------------------------------------------------------------
   5. Sections (gemeinsame Stile)
   ------------------------------------------------------------ */
section { padding: 120px 0; position: relative; }

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
  display: inline-block;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 30px;
}
.section-title em { font-style: italic; }

/* About */
.about { background: var(--bg-cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-cream-dark);
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text);
  /* Blocksatz; Silbentrennung (lang="de") verhindert große Lücken */
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.about-text p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
  color: var(--accent-text);
}
.about-text a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.about-text a:hover, .about-text a:focus-visible { color: var(--text-dark); }
.signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--accent-text);
  margin-top: 30px;
}

/* Portfolio */
.portfolio { background: var(--bg-cream-dark); }
.portfolio-header { text-align: center; margin-bottom: 80px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  background: #2a201a;
  cursor: pointer;
  transition: transform 0.6s ease;
}
.portfolio-item::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(244, 239, 231, 0.4);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--placeholder-1, #8a7458) 0%, var(--placeholder-2, #2a201a) 100%);
  transition: opacity 0.4s;
}
.portfolio-item:hover { transform: scale(0.99); }
.portfolio-item:hover::after { opacity: 0.7; }
.portfolio-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex; align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.portfolio-item:hover .overlay,
.portfolio-item:focus-within .overlay { opacity: 1; }
.portfolio-item .overlay span {
  color: var(--text-light);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
}

.item-1 { grid-column: span 7; aspect-ratio: 4/3; --placeholder-1: #c29a72; --placeholder-2: #3a2a1f; }
.item-2 { grid-column: span 5; aspect-ratio: 3/4; --placeholder-1: #6a5240; --placeholder-2: #1a1410; }
.item-3 { grid-column: span 4; aspect-ratio: 1/1; --placeholder-1: #8a7458; --placeholder-2: #2a201a; }
.item-4 { grid-column: span 4; aspect-ratio: 1/1; --placeholder-1: #a08560; --placeholder-2: #2a1f15; }
.item-5 { grid-column: span 4; aspect-ratio: 1/1; --placeholder-1: #5a4838; --placeholder-2: #1a1410; }
.item-6 { grid-column: span 5; aspect-ratio: 3/4; --placeholder-1: #d6af88; --placeholder-2: #3a2a1f; }
.item-7 { grid-column: span 7; aspect-ratio: 4/3; --placeholder-1: #7a6048; --placeholder-2: #1f1810; }

/* Services: zwei Bereiche (Fotografie / Videografie), keine Preise */
.services { background: var(--bg-dark); color: var(--text-on-dark); }
.services .section-eyebrow { color: var(--accent-light); }
.services-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }

.services-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.service-panel {
  display: flex;
  flex-direction: column;
  background: rgba(244, 239, 231, 0.03);
  border: 1px solid var(--border-light);
}
.service-media { aspect-ratio: 16/10; overflow: hidden; }
.service-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: saturate(0.85);
  transition: transform 0.8s ease;
}
.service-panel:hover .service-media img { transform: scale(1.03); }
.service-body { padding: 40px; display: flex; flex-direction: column; flex: 1; }
.service-number {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.service-body h3 { font-size: 48px; font-weight: 300; margin-bottom: 8px; color: var(--text-light); }
.service-body h3 em { font-style: italic; color: var(--accent-light); }
.service-lead { font-size: 17px; margin-bottom: 24px; max-width: 420px; }
.service-body ul { list-style: none; margin-bottom: 28px; }
.service-body ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
  font-size: 15px;
  color: var(--text-on-dark);
  display: flex; align-items: baseline; gap: 12px;
}
.service-body ul li::before { content: '—'; color: var(--accent); }
.service-note {
  margin-top: auto;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent-light);
}

/* Showreel */
.showreel { background: var(--bg-cream); color: var(--text); padding: 24px 0 120px; position: relative; overflow: hidden; }
.showreel .container { position: relative; z-index: 1; }
.showreel .btn-primary { background: var(--text-dark); color: var(--text-light); border-color: var(--text-dark); }
.showreel .btn-primary:hover, .showreel .btn-primary:focus-visible { background: var(--accent-text); border-color: var(--accent-text); }
/* Deko-Bilder hinter dem Video: wie die Galerie, leicht gekippt, weiche Schatten */
.showreel-deco img {
  position: absolute; width: clamp(110px, 15vw, 210px); height: auto;
  box-shadow: 0 1px 2px rgba(60, 40, 15, 0.2), 8px 14px 22px -8px rgba(60, 40, 15, 0.35);
  /* wie die Vorschau-Bilder der Galerie: unscharf und gedämpft */
  filter: blur(6px) saturate(85%);
  opacity: 0.55;
}
.sd-1 { left: 3vw; top: 22%; rotate: -5deg; }
.sd-2 { right: 3vw; top: 42%; rotate: 4deg; }
.sd-3 { left: 9vw; bottom: 10%; rotate: 3deg; }
@media (max-width: 1100px) { .showreel-deco { display: none; } }
.showreel-header { text-align: center; margin-bottom: 60px; }
.showreel-more { text-align: center; margin-top: 56px; }

.showreel-player {
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  box-shadow: 0 1px 1px rgba(60, 40, 15, 0.14), 8px 14px 22px -8px rgba(60, 40, 15, 0.26), 20px 36px 56px -16px rgba(60, 40, 15, 0.34);
  background: linear-gradient(135deg, #1a1612 0%, #2a201a 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.showreel-player::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(194, 154, 114, 0.15) 0%, transparent 60%);
  z-index: 0;
}
.showreel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 231, 0.4);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s ease;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.play-button::before {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--text-light);
  margin-left: 5px;
}
.play-overlay:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
  border-color: var(--accent);
}
.showreel-label {
  position: absolute;
  bottom: 30px; left: 30px;
  color: rgba(244, 239, 231, 0.5);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
}

/* Testimonials: Slider (automatischer Wechsel, Pfeile + Punkte, siehe js/main.js) */
.testimonials { background: var(--bg-cream); text-align: center; padding: 120px 0; }
.testimonial-slides { display: grid; max-width: 900px; margin: 16px auto 0; }
.testimonial-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}
.testimonial-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease; }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.4;
  font-weight: 300;
  font-style: italic;
  margin: 0 auto 32px;
  color: var(--text-dark);
  border: none;
  padding: 0;
}
.testimonial-quote::before { content: '„'; color: var(--accent); }
.testimonial-quote::after { content: '“'; color: var(--accent); }
.testimonial-author {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.testimonial-author strong { color: var(--accent-text); font-weight: 500; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 48px; }
.testimonial-arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--border);
  color: var(--text-dark);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.testimonial-arrow:hover, .testimonial-arrow:focus-visible { background: var(--text-dark); color: var(--text-light); border-color: var(--text-dark); }
.testimonial-dots { display: flex; gap: 6px; }
.testimonial-dot {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: none; border: 0;
}
.testimonial-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border: 1px solid var(--accent-text);
  transition: background-color 0.3s ease;
}
.testimonial-dot[aria-current="true"]::before { background: var(--accent-text); }
.testimonial-dot:focus-visible, .testimonial-arrow:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* Contact */
.contact { background: var(--bg-darker); color: var(--text-on-dark); text-align: center; padding: 160px 0; position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(194, 154, 114, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(120, 90, 60, 0.08) 0%, transparent 50%);
}
.contact-content { position: relative; z-index: 1; }
.contact .section-eyebrow { color: var(--accent-light); }
.contact h2 {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 30px;
  font-weight: 300;
}
.contact h2 em { font-style: italic; color: var(--accent-light); }
.contact p {
  font-size: 18px;
  color: rgba(244, 239, 231, 0.7);
  max-width: 600px;
  margin: 0 auto 60px;
}
.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
}
/* kleine Zeile im Button: was der Klick macht (Styleguide: Inter 8-9 px, normal, 60 %) */
.btn small { font-size: 9px; font-weight: 400; letter-spacing: 0.14em; opacity: 0.6; }
.contact-buttons { align-items: stretch; }
.btn-mail { background: var(--accent); color: var(--bg-dark); border-color: var(--accent); min-width: 260px; flex-direction: row; justify-content: center; gap: 14px; }
.btn-mail:hover, .btn-mail:focus-visible { background: var(--accent-light); border-color: var(--accent-light); }
.btn-whatsapp { background: #25d366; color: var(--bg-dark); border-color: #25d366; min-width: 260px; flex-direction: row; justify-content: center; gap: 14px; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #4fe08a; border-color: #4fe08a; }
.btn-text { display: flex; flex-direction: column; align-items: center; gap: 5px; }
/* Haupt-Button: auf dunklem Grund Creme mit Nacht-Schrift, auf hellem Grund Ink mit Creme-Schrift */
.btn-primary { background: var(--text-light); color: var(--bg-dark); border-color: var(--text-light); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-light); border-color: var(--accent-light); }
.btn-secondary { color: var(--text-light); border-color: rgba(244, 239, 231, 0.3); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--text-light); color: var(--bg-darker); border-color: var(--text-light); }

.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(244, 239, 231, 0.6);
}
.contact-noscript { font-size: 14px; margin-bottom: 24px; }
.contact-info a { color: var(--text-on-dark); }
.contact-info a:hover { color: var(--accent-light); }
.contact-info span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 6px;
}

/* ------------------------------------------------------------
   6. Footer
   ------------------------------------------------------------ */
footer {
  background: var(--bg-darker);
  color: rgba(244, 239, 231, 0.5);
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-content a:hover, .footer-content a:focus-visible { color: var(--accent-light); }
.footer-social { display: flex; gap: 24px; list-style: none; }
.footer-instagram {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.footer-instagram:hover, .footer-instagram:focus-visible { color: var(--accent-light); border-color: var(--accent-light); }
.footer-legal { display: flex; gap: 12px; align-items: center; }
.footer-legal a[aria-current="page"] { color: var(--accent-light); }

/* ------------------------------------------------------------
   7. Legal Pages (Impressum + Datenschutz)
   ------------------------------------------------------------ */
.legal-page { padding: 140px 0 100px; background: var(--bg-cream); }
.legal-container { max-width: 820px; }
.legal-heading {
  font-size: clamp(40px, 6vw, 72px);
  margin: 10px 0 60px;
}
.legal-page h2 {
  font-size: 28px;
  margin: 50px 0 16px;
  color: var(--accent-text);
}
.legal-page h3 {
  font-size: 20px;
  margin: 30px 0 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-dark);
}
.legal-page p { margin-bottom: 18px; font-size: 16px; line-height: 1.8; color: var(--text); }
.legal-page ul, .legal-page ol { margin: 0 0 18px 22px; }
.legal-page li { margin-bottom: 8px; font-size: 16px; line-height: 1.8; color: var(--text); }
.legal-page a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-page a:hover { color: var(--text-dark); }
.legal-meta {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 14px !important;
  color: var(--text-muted) !important;
  font-style: italic;
}
.toc {
  position: static;
  z-index: auto;
  display: block;
  mix-blend-mode: normal;
  transition: none;
  background: var(--bg-cream-dark);
  padding: 30px 40px;
  margin-bottom: 60px;
  border-left: 3px solid var(--accent);
}
.toc h2 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--text-dark);
}
.toc ol { margin: 0 0 0 22px; }
.toc li { margin-bottom: 6px; font-size: 15px; }

/* ------------------------------------------------------------
   8. Coming Soon + 404 Page
   ------------------------------------------------------------ */
.coming-soon-body, .error-body {
  background: var(--bg-darker);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.coming-soon, .error-page {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 80px 20px;
  overflow: hidden;
}
.coming-soon-bg, .error-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(194, 154, 114, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(120, 90, 60, 0.3) 0%, transparent 60%),
    linear-gradient(135deg, #1a1612 0%, #2a201a 40%, #0a0807 100%);
  animation: drift 20s ease-in-out infinite;
}
.coming-soon-overlay, .error-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
}
.coming-soon-content, .error-content {
  position: relative; z-index: 2;
  max-width: 700px;
}
.coming-soon-logo { margin: 0 auto 32px; line-height: 0; }
.coming-soon-logo img { width: min(420px, 80vw); height: auto; margin: 0 auto; }
.coming-soon-message, .error-message {
  font-size: 17px;
  color: rgba(244, 239, 231, 0.85);
  margin: 30px 0 50px;
  line-height: 1.7;
}
.coming-soon-footnote {
  margin-top: 40px;
  font-size: 13px;
  color: rgba(244, 239, 231, 0.5);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}
.coming-soon-footer {
  background: transparent;
  border-top: 1px solid var(--border-light);
  padding: 30px 0;
  color: rgba(244, 239, 231, 0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ------------------------------------------------------------
   9. Animations (Reveal on Scroll)
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   10. Responsive
   ------------------------------------------------------------ */
@media (max-width: 968px) {
  .container { padding: 0 24px; }
  .footer-content { padding: 0 24px; }
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  /* Mobiles Menü geöffnet */
  nav.menu-open {
    background: rgba(14, 13, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    mix-blend-mode: normal;
  }
  nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(14, 13, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 24px 28px;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
  }
  nav.menu-open .nav-logo-light { display: block; }
  nav.menu-open .nav-logo-dark { display: none; }
  nav.menu-open .nav-links li { border-bottom: 1px solid rgba(244, 239, 231, 0.08); }
  nav.menu-open .nav-links a { display: block; padding: 16px 0; color: var(--text-light); }

  section { padding: 64px 0; }
  body { font-size: 16px; }
  /* Galerie-Vorschau und Showreel enger zusammen */
  .portfolio-cinema { padding-bottom: 0; }
  .portfolio-cinema:not(.is-active) .eo-cinema-track,
  .portfolio-cinema:not(.is-active) .eo-cinema-stage { height: 78vh; }
  .showreel { padding-top: 0; }
  .about-text p { font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
  .about-text p:first-of-type::first-letter { font-size: 52px; }
  .testimonials, .contact { padding: 80px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .services-split { grid-template-columns: 1fr; gap: 24px; }
  .service-body { padding: 24px; }
  .service-body h3 { font-size: 40px; }

  /* Portfolio: 2 Spalten auf Tablet */
  .portfolio-grid { gap: 12px; }
  .portfolio-item { grid-column: span 6 !important; aspect-ratio: 4/3 !important; }

  .contact-info { gap: 30px; }

  /* Footer mobil mittig */
  .footer-content { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-legal { justify-content: center; }

  .legal-page { padding: 110px 0 80px; }
  .toc { padding: 20px 24px; }
}

/* Smartphone (≤ 600px): 1 Spalte, flacheres Bild */
@media (max-width: 600px) {
  .portfolio-item { grid-column: span 12 !important; aspect-ratio: 16/9 !important; }
}

/* ------------------------------------------------------------
   11. Print Styles (für Impressum/Datenschutz)
   ------------------------------------------------------------ */
@media print {
  nav, footer, .scroll-indicator { display: none !important; }
  body { background: white; color: black; }
  .legal-page { padding: 20px 0; }
  .legal-page h2 { color: black; }
  a { color: black; text-decoration: none; }
}

/* ============================================================
   12. About: Portrait kleiner; auf Mobile rechts neben Überschrift
   ============================================================ */
.about-grid {
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  max-width: 340px;
  width: 100%;
  aspect-ratio: 4/5;
}

@media (max-width: 968px) {
  .about-grid { display: block; }
  .about-image {
    float: right;
    width: 38vw;
    max-width: 170px;
    margin: 8px 0 18px 24px;
    aspect-ratio: 4/5;
    shape-outside: inset(0);
  }
  .about-text .section-eyebrow { display: inline-block; margin-bottom: 14px; }
  .about-text .section-title { margin-bottom: 24px; }
  .about-text p:first-of-type::first-letter {
    font-size: 52px;
    margin: 4px 10px 0 0;
  }
  .about-text .signature { clear: both; margin-top: 32px; }
}
@media (max-width: 600px) {
  .about-image {
    width: 42vw;
    max-width: 140px;
    margin: 6px 0 14px 18px;
  }
  .about-text p:first-of-type::first-letter {
    font-size: 44px;
    margin: 4px 8px 0 0;
  }
}

/* ============================================================
   13. Portfolio Cinema — opt-in, scroll-pinned stage
   Two states:
   - default (collapsed): 1 viewport tall, blurred photo preview
     behind a dark translucent activation card. User can scroll
     past quickly.
   - .is-active: track expands to 560vh, sticky cinema plays
     while user scrolls through the section.
   ============================================================ */
.portfolio-cinema {
  /* Match the About section above — no visible color band at the boundary */
  background: var(--bg-cream);
  position: relative;
}

.eo-cinema-track {
  height: 100vh;                       /* collapsed default */
  position: relative;
  transition: height 0.5s ease;
}
.portfolio-cinema.is-active .eo-cinema-track {
  height: 560vh;                       /* full cinematic length (14 Bilder) */
}

.eo-cinema-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: block;
  /* No own background — inherits cream from the section so transitions are seamless */
}

/* Vertical scroll-progress bar (right side, only while active) */
.eo-cinema-progress {
  position: absolute;
  right: clamp(14px, 2.4vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: clamp(160px, 34vh, 300px);
  background: rgba(26, 24, 21, 0.18);
  border-radius: 999px;
  overflow: hidden;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.portfolio-cinema.is-active .eo-cinema-progress {
  opacity: 1;
}
.eo-cinema-progress::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transform-origin: top center;
  transform: scaleY(var(--prog, 0));
  transition: transform 0.1s linear;
  box-shadow: 0 0 12px rgba(194, 154, 114, 0.4);
}

/* Activation card — dark translucent panel, photos visible behind */
.eo-cinema-intro {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.portfolio-cinema.is-active .eo-cinema-intro {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.eo-cinema-trigger {
  pointer-events: auto;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(32px, 5vw, 56px) clamp(40px, 6vw, 72px);
  background: rgba(26, 24, 21, 0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--bg-cream);
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.5),
    0 8px 20px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.eo-cinema-trigger:hover,
.eo-cinema-trigger:focus-visible {
  background: rgba(26, 24, 21, 0.82);
  border-color: var(--accent-light);
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.6),
    0 10px 28px -8px rgba(0, 0, 0, 0.5);
  outline: none;
}
.eo-cinema-trigger:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

.eo-trigger-eyebrow {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.eo-trigger-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.1;
  color: var(--bg-cream);
}
.eo-trigger-title em {
  font-style: italic;
  color: var(--accent-light);
}
.eo-trigger-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin: 4px 0 6px;
}
.eo-trigger-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg-cream);
}
.eo-arrow-icon {
  transition: transform 0.3s ease;
}
.eo-cinema-trigger:hover .eo-arrow-icon,
.eo-cinema-trigger:focus-visible .eo-arrow-icon {
  transform: translateX(4px);
}

/* Photo preview (collapsed state): blurred, dimmed scatter
   so the user sees there are pictures behind the card. */
.portfolio-cinema:not(.is-active) .eo-photo {
  filter: blur(6px) saturate(85%);
  opacity: 0.55;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
/* Weicher Auslauf oben und unten, kein harter Schnitt an der Kante der Bühne */
.portfolio-cinema:not(.is-active) .eo-cinema-stage {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%);
}
/* Nur die Bilder mit data-preview zeigen sich in der Vorschau — bewusst
   gemischt aus dem ganzen Portfolio (Innen, Luftbild, Schloss, Natur, Detail). */
.portfolio-cinema:not(.is-active) .eo-photo:not([data-preview]) {
  opacity: 0;
}
.portfolio-cinema:not(.is-active) .eo-photo[data-preview="1"] {
  transform: translate(-50%, -50%) translate(-34vw, -22vh) rotate(-5deg) scale(0.62);
}
.portfolio-cinema:not(.is-active) .eo-photo[data-preview="2"] {
  transform: translate(-50%, -50%) translate(  0vw, -30vh) rotate( 2deg) scale(0.55);
}
.portfolio-cinema:not(.is-active) .eo-photo[data-preview="3"] {
  transform: translate(-50%, -50%) translate( 32vw, -18vh) rotate( 4deg) scale(0.60);
}
.portfolio-cinema:not(.is-active) .eo-photo[data-preview="4"] {
  transform: translate(-50%, -50%) translate( 30vw,  20vh) rotate(-6deg) scale(0.64);
}
.portfolio-cinema:not(.is-active) .eo-photo[data-preview="5"] {
  transform: translate(-50%, -50%) translate(-28vw,  22vh) rotate( 3deg) scale(0.58);
}

/* Close pill — visible only when active, top-right */
.eo-cinema-close {
  position: absolute;
  top: clamp(88px, 11vh, 120px);
  right: clamp(16px, 2.6vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  background: rgba(26, 24, 21, 0.72);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(194, 154, 114, 0.55);
  border-radius: 999px;
  color: var(--bg-cream);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease, border-color 0.2s ease, visibility 0s linear 0.35s;
}
.portfolio-cinema.is-active .eo-cinema-close {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s, background 0.2s ease, border-color 0.2s ease, visibility 0s linear 0s;
}
.eo-cinema-close:hover,
.eo-cinema-close:focus-visible {
  background: rgba(26, 24, 21, 0.86);
  border-color: var(--accent-light);
  outline: none;
}
.eo-cinema-close:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}
.eo-cinema-close svg {
  display: block;
}

/* Scroll hint — chevron + label, appears when active, fades on first scroll */
.eo-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(140px, 24vh, 260px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(26, 24, 21, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--bg-cream);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.eo-scroll-hint-chevron {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.portfolio-cinema.is-active:not(.has-scrolled) .eo-scroll-hint {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease 0.3s, visibility 0s linear 0s;
}
.eo-scroll-hint-chevron {
  animation: eo-chevron-bounce 1.6s ease-in-out infinite;
}
@keyframes eo-chevron-bounce {
  0%, 100% { transform: translateY(-2px); opacity: 0.6; }
  50%      { transform: translateY(4px);  opacity: 1;   }
}

/* Photos — base. JS drives --tx, --ty, --rot, --sc, --bl, --op. */
.eo-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ph-1, #8a7458) 0%, var(--ph-2, #1a1410) 100%);
  box-shadow:
    0 40px 80px -30px rgba(14, 13, 11, 0.6),
    0 8px 22px -6px rgba(14, 13, 11, 0.35);
  transform-origin: 50% 50%;
  transform:
    translate(-50%, -50%)
    translate(var(--tx, 0px), var(--ty, 0px))
    rotate(var(--rot, 0deg))
    scale(var(--sc, 1));
  filter: blur(var(--bl, 0px));
  opacity: var(--op, 0);
  will-change: transform, filter, opacity;
}

.eo-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Aspect ratios — Höhe wird per --scl pro Foto leicht skaliert (±10 %). */
.eo-photo[data-ar="4/5"] { aspect-ratio: 4/5; height: calc(clamp(420px, 78vh, 760px) * var(--scl, 1)); }
.eo-photo[data-ar="3/4"] { aspect-ratio: 3/4; height: calc(clamp(460px, 82vh, 800px) * var(--scl, 1)); }
.eo-photo[data-ar="1/1"] { aspect-ratio: 1/1; height: calc(clamp(360px, 64vh, 620px) * var(--scl, 1)); }
.eo-photo[data-ar="5/4"] { aspect-ratio: 5/4; height: calc(clamp(340px, 62vh, 580px) * var(--scl, 1)); }
/* Native Seitenverhältnisse der Portfolio-Bilder (kein Beschnitt der Komposition) */
.eo-photo[data-ar="2/3"]  { aspect-ratio: 2/3;  height: calc(clamp(440px, 80vh, 780px) * var(--scl, 1)); }
.eo-photo[data-ar="3/2"]  { aspect-ratio: 3/2;  height: calc(clamp(280px, 50vh, 470px) * var(--scl, 1)); }
.eo-photo[data-ar="16/9"] { aspect-ratio: 16/9; height: calc(clamp(260px, 44vh, 420px) * var(--scl, 1)); }

@media (max-width: 968px) {
  .eo-photo[data-ar="4/5"] { height: calc(clamp(340px, 70vh, 540px) * var(--scl, 1)); }
  .eo-photo[data-ar="3/4"] { height: calc(clamp(360px, 74vh, 580px) * var(--scl, 1)); }
  .eo-photo[data-ar="1/1"] { height: calc(clamp(280px, 58vh, 440px) * var(--scl, 1)); }
  .eo-photo[data-ar="5/4"] { height: calc(clamp(260px, 54vh, 420px) * var(--scl, 1)); }
  .eo-photo[data-ar="2/3"]  { height: calc(clamp(360px, 72vh, 580px) * var(--scl, 1)); }
  .eo-photo[data-ar="3/2"]  { height: calc(clamp(220px, 38vh, 340px) * var(--scl, 1)); }
  .eo-photo[data-ar="16/9"] { height: calc(clamp(200px, 32vh, 300px) * var(--scl, 1)); }
}
@media (max-width: 600px) {
  .eo-photo[data-ar="4/5"] { height: calc(clamp(320px, 68vh, 500px) * var(--scl, 1)); }
  .eo-photo[data-ar="3/4"] { height: calc(clamp(340px, 72vh, 520px) * var(--scl, 1)); }
  .eo-photo[data-ar="1/1"] { height: calc(clamp(260px, 56vh, 380px) * var(--scl, 1)); }
  .eo-photo[data-ar="5/4"] { height: calc(clamp(240px, 52vh, 360px) * var(--scl, 1)); }
  .eo-photo[data-ar="2/3"]  { height: calc(clamp(340px, 68vh, 520px) * var(--scl, 1)); }
  /* Querformat: Breite darf auf dem Handy nie größer als der Bildschirm werden */
  .eo-photo[data-ar="3/2"]  { height: calc(clamp(200px, 34vh, 260px) * var(--scl, 1)); max-height: 56vw; }
  .eo-photo[data-ar="16/9"] { height: calc(clamp(180px, 28vh, 220px) * var(--scl, 1)); max-height: 50vw; }
}

/* Pro-Bild Platzhalter-Gradient + Größen-Variation (--scl). */
.eo-p1  { --ph-1: #c29a72; --ph-2: #3a2a1f; --scl: 1.00; }
.eo-p2  { --ph-1: #6a5240; --ph-2: #1a1410; --scl: 0.92; }
.eo-p3  { --ph-1: #d6af88; --ph-2: #3a2a1f; --scl: 1.05; }
.eo-p4  { --ph-1: #5a4838; --ph-2: #1a1410; --scl: 1.08; }
.eo-p5  { --ph-1: #a08560; --ph-2: #2a1f15; --scl: 0.95; }
.eo-p6  { --ph-1: #7a6048; --ph-2: #1f1810; --scl: 1.00; }
.eo-p7  { --ph-1: #d6af88; --ph-2: #2a201a; --scl: 0.90; }
.eo-p8  { --ph-1: #8a7458; --ph-2: #1a1410; --scl: 1.10; }
.eo-p9  { --ph-1: #c29a72; --ph-2: #3a2a1f; --scl: 1.05; }
.eo-p10 { --ph-1: #5a4838; --ph-2: #1f1810; --scl: 0.95; }
.eo-p11 { --ph-1: #a08560; --ph-2: #2a1f15; --scl: 1.02; }
.eo-p12 { --ph-1: #6a5240; --ph-2: #1a1410; --scl: 0.94; }
.eo-p13 { --ph-1: #d6af88; --ph-2: #3a2a1f; --scl: 1.06; }
.eo-p14 { --ph-1: #8a7458; --ph-2: #1f1810; --scl: 0.98; }

/* Reduced-motion fallback: zeige alle Bilder einfach gestapelt */
@media (prefers-reduced-motion: reduce) {
  .eo-cinema-track,
  .portfolio-cinema.is-active .eo-cinema-track { height: auto; padding: 60px 0; }
  .eo-cinema-stage {
    position: static;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .eo-cinema-progress,
  .eo-cinema-intro,
  .eo-cinema-close,
  .eo-scroll-hint { display: none; }
  .eo-photo,
  .portfolio-cinema:not(.is-active) .eo-photo {
    position: relative;
    top: auto;
    left: auto;
    transform: rotate(var(--rot-static, 0deg));
    filter: none;
    opacity: 1;
    height: clamp(280px, 48vh, 480px);
    max-width: 92vw;
    margin: 0;
  }
  .eo-photo:nth-child(odd) { --rot-static: -2deg; }
  .eo-photo:nth-child(even) { --rot-static: 2deg; }
}

/* Vermeidet doppelte Reveal-Animationen */
.portfolio-cinema .reveal { opacity: 1; transform: none; }

/* ============================================================
   14. Tipps Page (Long-form article: tipps.html)
   ============================================================ */
.tipps-page {
  padding: 140px 0 100px;
  background: var(--bg-cream);
}
.tipps-container {
  max-width: 820px;
}

.tipps-header {
  margin-bottom: 70px;
}
.tipps-heading {
  font-size: clamp(40px, 6vw, 72px);
  margin: 14px 0 24px;
  line-height: 1.1;
}
.tipps-heading em {
  font-style: italic;
  color: var(--accent-text);
}
.tipps-meta {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.tipps-lede {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin-bottom: 20px;
}

.tipps-faq {
  margin-top: 40px;
}
.faq-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-of-type {
  border-bottom: none;
}
.faq-item h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin-bottom: 20px;
  color: var(--text-dark);
}
.faq-item p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--text);
}
.faq-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-item ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.faq-item ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.tipps-cta {
  margin-top: 80px;
  padding: 60px 40px;
  background: var(--bg-cream-dark);
  border-left: 3px solid var(--accent);
  text-align: center;
}
.tipps-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 18px;
}
.tipps-cta p {
  font-size: 17px;
  margin-bottom: 24px;
  color: var(--text);
}
.tipps-cta .btn-primary {
  display: inline-flex;
  background: var(--text-dark);
  color: var(--text-light);
  border-color: var(--text-dark);
}
.tipps-cta .btn-primary:hover,
.tipps-cta .btn-primary:focus-visible {
  background: var(--accent-text);
  border-color: var(--accent-text);
}

@media (max-width: 968px) {
  .tipps-page { padding: 110px 0 80px; }
  .tipps-lede { padding-left: 20px; font-size: 17px; }
  .tipps-cta { padding: 40px 24px; }
  .faq-item { padding: 32px 0; }
}
/* ============================================================
   15. Referenzen Page (referenzen.html)
   Grundgerüst — Design wird noch überarbeitet (siehe privat/TODO.md)
   ============================================================ */
.referenzen-page {
  padding: 140px 0 100px;
  background: var(--bg-darker);
  color: var(--text-light);
  min-height: 100vh;
}
.referenzen-page .section-eyebrow { color: var(--accent-light); }
.referenzen-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.referenzen-heading {
  font-size: clamp(38px, 5.5vw, 68px);
  margin-bottom: 24px;
  font-weight: 300;
}
.referenzen-heading em { font-style: italic; color: var(--accent-light); }
.referenzen-lede {
  font-size: 17px;
  color: rgba(244, 239, 231, 0.7);
}

.referenzen-tags {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}
.referenzen-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 40px;
  max-width: 1300px;
  margin: 0 auto;
  scroll-margin-top: 100px;
}
/* Ungerade Anzahl: das letzte Video zieht sich über beide Spalten */
.ref-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ref-card {
  padding: 20px 20px 32px;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
}
.ref-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1612 0%, #2a201a 100%);
}
.ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.4s ease;
}
.ref-thumb:hover img,
.ref-thumb:focus-visible img { transform: scale(1.04); filter: brightness(0.8); }
.ref-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  border: 1px solid var(--accent-light);
  border-radius: 50%;
  background: rgba(26, 22, 18, 0.45);
  transition: transform 0.4s ease, background 0.4s ease;
}
.ref-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  margin: -9px 0 0 -6px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--accent-light);
}
.ref-thumb:hover .ref-play,
.ref-thumb:focus-visible .ref-play { transform: scale(1.08); background: rgba(26, 22, 18, 0.7); }
.ref-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.ref-thumb.is-playing .ref-preview { opacity: 1; }
.ref-thumb.is-playing .ref-play { opacity: 0; }
.ref-caption { padding: 24px 6px 0; }
.ref-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 8px;
}
.ref-name { color: var(--accent-light); }
.ref-year { color: var(--text-muted); }
.ref-credits {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.ref-text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 239, 231, 0.65);
}

/* Video-Overlay (native <dialog>) */
.ref-dialog {
  width: min(1200px, 94vw);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-light);
  overflow: visible;
}
.ref-dialog::backdrop { background: rgba(26, 22, 18, 0.92); }
.ref-dialog-video {
  display: block;
  width: 100%;
  max-height: 84vh;
  aspect-ratio: 16/9;
  background: #000;
}
.ref-dialog-close {
  position: absolute;
  top: -48px; right: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.ref-dialog-close:hover,
.ref-dialog-close:focus-visible { border-color: var(--accent-light); color: var(--accent-light); }

.referenzen-cta {
  margin: 100px auto 0;
  max-width: 820px;
  padding: 60px 40px;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  text-align: center;
}
.referenzen-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 18px;
}
.referenzen-cta p {
  font-size: 17px;
  margin-bottom: 24px;
  color: rgba(244, 239, 231, 0.7);
}
.referenzen-cta .btn-primary { display: inline-block; }

@media (max-width: 768px) {
  .referenzen-grid { grid-template-columns: 1fr; gap: 32px; }
  .ref-card { padding: 14px 14px 26px; }
  .ref-title { flex-wrap: wrap; gap: 4px 12px; }
}
@media (max-width: 968px) {
  .referenzen-page { padding: 110px 0 80px; }
  .referenzen-cta { padding: 40px 24px; }
}

/* ------------------------------------------------------------
   Nav mobil / Tablet (bis 1099 px): Hamburger + zweigeteiltes Menü
   ------------------------------------------------------------ */
@media (max-width: 1099px) {
  nav:has(.nav-menu) .menu-toggle { display: flex; }
  nav:has(.nav-menu) { padding: 12px 20px; }
  nav.scrolled:has(.nav-menu) { padding: 8px 20px; }

  nav.menu-open:has(.nav-menu) {
    background: rgba(14, 13, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    mix-blend-mode: normal;
  }
  nav.menu-open:has(.nav-menu) .nav-logo { color: var(--text-light); }

  nav.menu-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(14, 13, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4px 24px 28px;
    border-bottom: 1px solid var(--border-light);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  nav.menu-open .nav-sections,
  nav.menu-open .nav-pages { flex-direction: column; align-items: stretch; gap: 0; }
  nav.menu-open .nav-pages { border-top: 1px solid var(--border-light); margin-top: 8px; }
  nav.menu-open .nav-label {
    display: block;
    padding: 18px 0 4px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-light);
  }
  nav.menu-open .nav-menu li:not(.nav-label) { border-bottom: 1px solid rgba(244, 239, 231, 0.08); }
  nav.menu-open .nav-menu a { display: block; padding: 16px 0; color: var(--text-light); font-size: 13px; letter-spacing: 0.15em; }
  nav.menu-open .nav-menu a.nav-cta {
    margin-top: 18px;
    padding: 16px 0;
    text-align: center;
    border-color: var(--accent);
    color: var(--accent-light);
  }
  nav.menu-open .nav-menu a::after { display: none; }
  nav.menu-open .nav-menu a[aria-current="page"] { color: var(--accent-light); }
  nav.menu-open .nav-menu li:last-child { border-bottom: 0; }
}

/* ============================================================
   16. Referenzen (referenzen.html) + Hintergrund "Licht"
   "Licht" = warmes, helles Creme mit feinem Putz-Korn. Gilt nur für die
   Referenzen-Seite.
   Grafik: images/bg-putz.svg (lokale SVG).
   ============================================================ */
/* TEST: gleicher Hintergrund wie Galerie/Tipps (var(--bg-cream)).
   Zurück zu "Licht": background: #fbf1df url("../images/Logo/bg-putz.svg") 0 0 / 640px 640px;
   background-blend-mode: soft-light; --rt-sand-rgb: 248, 238, 220; und .rs-light wieder einblenden. */
.ref-test {
  background: var(--bg-cream);
  --rt-sand-rgb: 244, 239, 231;
  --rt-gold: var(--accent-text);
  --rt-shadow: 60, 40, 15;
  position: relative;
  padding: 140px 0 0;
  color: var(--text-dark);
  overflow: hidden;
  isolation: isolate;
}
.rt-container { position: relative; z-index: 1; }

/* ===== SECTION: Hintergrund-Bühne ===== */
.rs-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* weiche Lichtflecken und diagonale Schattenbänder (im Test ausgeblendet) */
.rs-light {
  display: none;
  position: absolute; inset: 0;
  background:
    radial-gradient(52% 15% at 20% 10%, rgba(255, 246, 228, 1), rgba(255, 246, 228, 0) 74%),
    radial-gradient(44% 13% at 34% 34%, rgba(255, 242, 220, 0.95), rgba(255, 242, 220, 0) 74%),
    radial-gradient(40% 12% at 22% 60%, rgba(255, 238, 214, 0.95), rgba(255, 238, 214, 0) 74%),
    radial-gradient(38% 11% at 30% 86%, rgba(255, 236, 212, 0.9), rgba(255, 236, 212, 0) 74%),
    linear-gradient(112deg, transparent 40%, rgba(120, 92, 66, 0.22) 50%, transparent 60%),
    linear-gradient(112deg, transparent 64%, rgba(120, 92, 66, 0.18) 73%, transparent 84%);
}
.rs-light::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 18%;
  background: repeating-linear-gradient(118deg, transparent 0 46px, rgba(120, 92, 66, 0.2) 46px 92px);
  -webkit-mask-image: radial-gradient(70% 100% at 85% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 100% at 85% 0%, #000, transparent 70%);
  filter: blur(10px);
}
/* Weicher Verlauf: Creme → dunkel, damit die Seite in den Footer ausläuft */
.rs-fade,
.rs-fade-top { position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none; }
.rs-fade {
  bottom: 0; height: 40%;
  background: linear-gradient(to bottom,
    rgba(26, 22, 18, 0) 0%,
    rgba(26, 22, 18, 0.45) 22%,
    rgba(26, 22, 18, 0.9) 50%,
    var(--bg-darker) 80%);
}
/* Verlauf oben: Creme deckt Bilder hinter dem Titel ab */
.rs-fade-top {
  top: 0; height: 520px;
  background: linear-gradient(to bottom,
    rgba(var(--rt-sand-rgb), 1) 0%,
    rgba(var(--rt-sand-rgb), 0.96) 45%,
    rgba(var(--rt-sand-rgb), 0) 100%);
}
/* ===== /SECTION: Hintergrund-Bühne ===== */


/* ===== SECTION: Referenzen-Test Kopf ===== */
.rt-header { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.ref-test .section-eyebrow { color: var(--rt-gold); }
.rt-heading {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 300;
  margin-bottom: 22px;
  color: #6b5232;
  /* geprägte Schrift: Lichtkante unten, Schattenkante oben */
  text-shadow: 0 1px 0 rgba(255, 250, 238, 0.9), 0 -1px 0 rgba(var(--rt-shadow), 0.25), 0 6px 14px rgba(var(--rt-shadow), 0.12);
}
.rt-heading em { font-style: italic; color: var(--rt-gold); }
.rt-lede { font-size: 17px; color: rgba(26, 24, 21, 0.68); }
/* ===== /SECTION: Referenzen-Test Kopf ===== */

/* ===== SECTION: Moodboard ===== */
.rt-board { position: relative; aspect-ratio: 1300 / 2170; max-width: 1300px; margin: 0 auto; }
.rt-item { position: absolute; margin: 0; z-index: 2; }
.rt-card {
  display: block;
  width: 100%;
  transform: perspective(1400px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rz, 0deg));
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}
.rt-video .ref-thumb {
  border-radius: 0;
  box-shadow:
    0 1px 1px rgba(var(--rt-shadow), 0.14),
    6px 10px 16px -6px rgba(var(--rt-shadow), 0.24),
    16px 30px 44px -14px rgba(var(--rt-shadow), 0.32);
}
/* Bildunterschrift liegt auf dem Video (unten, mit dunklem Verlauf) */
.rt-card { position: relative; }
.rt-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 96px 24px 20px;
  background: linear-gradient(to top, rgba(26, 22, 18, 0.92) 0%, rgba(26, 22, 18, 0.72) 38%, rgba(26, 22, 18, 0.34) 68%, rgba(26, 22, 18, 0) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.rt-caption .ref-title { font-size: 15px; text-shadow: 0 1px 8px rgba(26, 22, 18, 0.6); }
.rt-caption .ref-credits { text-shadow: 0 1px 8px rgba(26, 22, 18, 0.6); }
.rt-video .ref-thumb.is-playing ~ .rt-caption { opacity: 0; }
.ref-test .ref-name { color: var(--accent-light); }
.ref-test .ref-year { color: rgba(244, 239, 231, 0.65); }
.ref-test .ref-credits { color: var(--text-light); font-weight: 400; }

/* Videos: 4 große Karten im Zickzack (Prozent von 1300 x 2170) */
.rt-v1 { left: 0;      top: 0.8%;  width: 66.15%; --rx: 1deg; --ry: 3deg;  --rz: -0.8deg; }
.rt-v2 { left: 33.85%; top: 24%;   width: 66.15%; --rx: 1deg; --ry: -3deg; --rz: 0.8deg; }
.rt-v3 { left: 0;      top: 47.2%; width: 66.15%; --rx: 1deg; --ry: 3deg;  --rz: -0.6deg; }
.rt-v4 { left: 33.85%; top: 70.4%; width: 66.15%; --rx: 1deg; --ry: -3deg; --rz: 0.6deg; }

@media (hover: hover) and (pointer: fine) {
  .rt-video:hover { z-index: 3; }
  .rt-video:hover .rt-card { --lift: -8px; --rz: 0deg; --rx: 0deg; --ry: 0deg; }
  .rt-video:hover .ref-thumb {
    box-shadow:
      0 1px 1px rgba(var(--rt-shadow), 0.14),
      8px 16px 24px -8px rgba(var(--rt-shadow), 0.3),
      22px 46px 60px -16px rgba(var(--rt-shadow), 0.38);
  }
}
/* Zwei-Klick-Video (YouTube lädt erst nach Zustimmung, siehe js/main.js)
   Rückgängig machen: data-yt-Attribute in referenzen.html entfernen -> normale Links. */
.rt-consent {
  position: absolute; left: 0; right: 0; top: 0;
  aspect-ratio: 16 / 9;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px 32px;
  background: rgba(26, 22, 18, 0.95);
  color: var(--text-on-dark);
  text-align: center;
}
.rt-consent p { font-size: 14px; line-height: 1.6; max-width: 520px; margin: 0; }
.rt-consent a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.rt-consent-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.rt-consent .btn { padding: 12px 22px; font-size: 12px; }
.rt-consent-alt { font-size: 12px; }
.rt-embed { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 9; z-index: 2; background: #000; }
.rt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rt-card:has(.rt-consent) .rt-caption { visibility: hidden; }
.rt-card.has-embed { --rz: 0deg; --rx: 0deg; --ry: 0deg; }
.rt-card.has-embed .ref-thumb, .rt-card.has-embed .rt-caption { visibility: hidden; }
/* ===== /SECTION: Moodboard ===== */

/* ===== SECTION: Bild-Streuung ===== */
/* Reine Dekoration: liegt flach im Sand, über die ganze Seitenfläche verteilt
   (links/rechts/hinter den Videos). Position: left in vw, top in % der Seitenhöhe. */
.rt-photos {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; user-select: none; overflow: hidden; --k: 1.12;
  /* unten ausblenden, damit hinter dem Text der Anfrage nie ein Bild liegt */
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 89%);
  mask-image: linear-gradient(to bottom, #000 0, #000 80%, transparent 89%);
}
.rt-photo {
  position: absolute; margin: 0;
  left: var(--x); top: var(--y);
  width: calc(var(--w) * var(--k));
  rotate: var(--r);
}
.rt-photo img {
  display: block; width: 100%; height: auto;
  border-radius: 0;
  /* deckend (kein Durchscheinen): gedämpfte Farben + Sand-Schleier über dem Bild */
  filter: saturate(0.8) sepia(0.18) brightness(0.96);
  box-shadow: 0 1px 2px rgba(var(--rt-shadow), 0.2), 4px 8px 14px -4px rgba(var(--rt-shadow), 0.3);
}
.rt-photo::after {
  content: ''; position: absolute; inset: 0; border-radius: 0;
  background: rgba(var(--rt-sand-rgb), 0.3);
}
/* Verteilung: Ränder UND Mitte (Bilder lugen hinter den Videokanten hervor), möglichst ohne sich gegenseitig zu überdecken */
.rt-p1 { --x: 2vw; --y: 5.9%; --w: 14vw; --r: -3deg; }
.rt-p4 { --x: 1vw; --y: 20.2%; --w: 13vw; --r: 3.5deg; }
.rt-p5 { --x: 12vw; --y: 31.2%; --w: 19vw; --r: 2deg; }
.rt-p7 { --x: 1vw; --y: 46.6%; --w: 21vw; --r: -2deg; }
.rt-p8 { --x: 27vw; --y: 46.6%; --w: 11vw; --r: 3deg; }
.rt-p9 { --x: 1vw; --y: 62.0%; --w: 14vw; --r: -3.5deg; }
.rt-p18 { --x: 20vw; --y: 75.2%; --w: 12vw; --r: 2.5deg; }
.rt-p2 { --x: 84vw; --y: 5.9%; --w: 14vw; --r: 3deg; }
.rt-p19 { --x: 89vw; --y: 16.9%; --w: 10vw; --r: -3deg; }
.rt-p3 { --x: 64vw; --y: 11.7%; --w: 20vw; --r: -2.5deg; }
.rt-p15 { --x: 70vw; --y: 26.8%; --w: 17vw; --r: 2deg; }
.rt-p6 { --x: 87vw; --y: 34.5%; --w: 11vw; --r: -3deg; }
.rt-p17 { --x: 92vw; --y: 48.8%; --w: 9vw; --r: 3deg; }
.rt-p10 { --x: 66vw; --y: 55.4%; --w: 24vw; --r: 2.5deg; }
.rt-p13 { --x: 56vw; --y: 62.0%; --w: 10vw; --r: -4deg; }
.rt-p11 { --x: 76vw; --y: 71.9%; --w: 22vw; --r: -2deg; }
.rt-p12 { --x: 62vw; --y: 75.2%; --w: 22vw; --r: 3deg; }
.rt-p14 { --x: 40vw; --y: 75.2%; --w: 12vw; --r: 3deg; }
/* ===== /SECTION: Bild-Streuung ===== */


/* ===== SECTION: Anfrage-CTA ===== */
.rt-showreel { position: relative; z-index: 1; padding: 60px 0 130px; }
.rt-showreel-text { position: relative; max-width: 780px; margin: 0 auto; text-align: center; color: var(--text-light); }
.ref-test .rt-showreel-text .section-eyebrow { color: var(--accent-light); }
.rt-showreel-text h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 300; margin-bottom: 16px; text-shadow: 0 2px 14px rgba(26, 22, 18, 0.7); }
.rt-showreel-text p { font-size: 16px; margin-bottom: 26px; color: rgba(244, 239, 231, 0.72); }
.rt-showreel-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* ===== /SECTION: Anfrage-CTA ===== */

footer.footer-soft { border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .rt-card { transition: none; }
}

/* Mobil: Videos kleiner im Zickzack mit viel Luft, Bilder lugen in den Lücken und hinter den Kanten hervor */
@media (max-width: 968px) {
  .ref-test { padding-top: 110px; }
  .rt-header { margin-bottom: 44px; }
  .rt-board { aspect-ratio: auto; display: flex; flex-direction: column; gap: 110px; }
  .rt-item { position: static; }
  .rt-video { width: 94%; }
  .rt-caption { padding: 34px 12px 10px; }
  .rt-caption .ref-title { font-size: 11px; margin-bottom: 4px; }
  .rt-caption .ref-credits { font-size: 11px; }
  .rt-v2 { align-self: flex-end; }
  .rs-fade-top { height: 340px; }
  .rs-fade { height: 26%; }
  .rt-showreel { padding-bottom: 80px; }

  /* Zwei-Klick-Hinweis: wächst mobil mit dem Text, statt über die nächste Karte zu ragen */
  .rt-card:has(.rt-consent) .ref-thumb { display: none; }
  .rt-consent { position: relative; aspect-ratio: auto; padding: 28px 20px; gap: 12px; }
  .rt-consent p { font-size: 13px; }

  .rt-photos { --k: 1; }
  .rt-photo { display: none; }
  .rt-p1, .rt-p3, .rt-p6, .rt-p7, .rt-p8, .rt-p9, .rt-p10, .rt-p12, .rt-p15, .rt-p4 { display: block; }
  .rt-p4  { --x: -4vw;  --y: 7%;   --w: 30vw; }
  .rt-p1  { --x: 70vw;  --y: 9%;   --w: 30vw; }
  .rt-p6  { --x: 82vw;  --y: 22%;  --w: 24vw; }
  .rt-p3  { --x: 52vw;  --y: 34%;  --w: 44vw; }
  .rt-p9  { --x: 2vw;   --y: 33%;  --w: 28vw; }
  .rt-p8  { --x: -6vw;  --y: 47%;  --w: 28vw; }
  .rt-p10 { --x: 42vw;  --y: 50%;  --w: 52vw; }
  .rt-p7  { --x: 3vw;   --y: 60%;  --w: 40vw; }
  .rt-p15 { --x: 62vw;  --y: 62%;  --w: 36vw; }
  .rt-p12 { --x: 30vw;  --y: 67%;  --w: 44vw; }
}
