/* ==========================================================================
   Mutter Natur Film — Stylesheet
   Design system: dark, cinematic, editorial. Rebuilt from a Framer export.
   ========================================================================== */

/* Fonts: assets/css/fonts.css is linked (and preloaded) directly from every page. */

:root {
  --bg: #141517;
  --bg-elevated: #1b1c1f;
  --bg-elevated-2: #202225;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.72);
  --fg-subtle: rgba(255, 255, 255, 0.5);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.3);
  --accent: #9db88d;
  --accent-strong: #b9d1ab;
  --overlay: rgba(10, 12, 10, 0.55);

  --font-display: 'Syne', 'DM Sans', sans-serif;
  --font-ui: 'DM Sans', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-pad: clamp(4rem, 10vw, 8rem);

  color-scheme: dark;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  /* The off-canvas slide-in reveal animations (reveal-left/reveal-right)
     translate elements up to 64px past their box before they're revealed.
     Without overflow-x:hidden here, that transform-based overflow can widen
     the initial containing block used by position:fixed elements (the
     header, mobile nav) beyond the real viewport on narrow screens. */
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 1rem;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-size: clamp(1.7rem, 4vw, 2.75rem);
}
h3, .h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1.25;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p { color: var(--fg-muted); max-width: 62ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-muted); }

/* ---- Buttons / links ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--fg); color: #10110f; }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); background: rgba(255, 255, 255, 0.06); }

.text-link {
  position: relative;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--fg);
  padding-bottom: 0.15em;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.text-link:hover { border-color: var(--accent); color: var(--accent-strong); }

/* ---- Navigation ---- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 1.1rem 0;
}
/* Backdrop blur lives on a pseudo-element rather than directly on .site-header:
   a `backdrop-filter` on the header itself would make it the containing block
   for its `position:fixed` .nav-links child, breaking the mobile menu's
   off-canvas hide/show transform (it would be constrained to the header's own
   box instead of the viewport). */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(20, 21, 23, 0.85), rgba(20, 21, 23, 0));
  backdrop-filter: blur(6px);
  transition: background 0.25s ease;
}
.site-header.is-solid::before { background: rgba(20, 21, 23, 0.92); box-shadow: 0 1px 0 var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 0.45px currentColor;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a { color: var(--fg-muted); transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--fg); }
.nav-links .nav-cta { margin-left: 0.5rem; padding: 0.6rem 1.2rem; font-size: 0.9rem; color: #10110f; }
.nav-links .nav-cta:hover { color: #10110f; }

/* Mobile: always-visible contact bar at the bottom of the screen */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    display: flex; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(20, 21, 23, 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--border);
  }
  .mobile-cta .btn-primary { flex: 1; justify-content: center; }
  .mobile-cta-mail { padding: 0.85rem 1rem; }
  body { padding-bottom: 4.75rem; }
  .nav-links .nav-cta { margin-left: 0; font-size: 1.1rem; padding: 0.85rem 1.6rem; }
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--fg); display: block; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    background: var(--bg);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    font-size: 1.4rem;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: flex; z-index: 101; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: var(--section-pad) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 10, 0.92) 0%, rgba(10, 11, 10, 0.35) 55%, rgba(10, 11, 10, 0.55) 100%);
}
.hero-content { max-width: 44rem; }
.hero-content .lede { margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

.hero.hero-compact { min-height: 60vh; align-items: flex-end; }
.hero.hero--center-v { align-items: center; }

/* ---- Home hero: cinematic Ken Burns drift + cursor-parallax tilt + punch-in zoom ---- */
.hero--center-v .hero-media { inset: -6%; overflow: hidden; }
.hero--center-v .hero-media img { animation: hero-kenburns 16s cubic-bezier(.11,.7,.34,1) infinite alternate; }
@keyframes hero-kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.24) translate3d(-3%, -3%, 0); }
}
.hero-zoom.is-visible { animation: hero-punch 1.5s cubic-bezier(.16,.8,.24,1) both; }
@keyframes hero-punch {
  from { transform: translateY(14px) scale(1.12); }
  to   { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--center-v .hero-media img { animation: none; }
  .hero-zoom.is-visible { animation: none; }
}
.hero-content--center { text-align: center; margin-inline: auto; }
.hero-content--center .hero-actions { justify-content: center; }
.hero-display.hero-display--compact { font-size: clamp(2.2rem, 5vw, 3.75rem); }

/* ---- Sections ---- */
.section { padding: var(--section-pad) 0; }
.section-border-top { border-top: 1px solid var(--border); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- Two-column feature ---- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature-split figure { border-radius: 14px; overflow: hidden; }
.feature-split figcaption { margin-top: 1rem; }
.feature-split figcaption .cap-title { color: var(--fg); font-weight: 600; display: block; }
.feature-split figcaption .cap-sub { color: var(--fg-subtle); font-size: 0.92rem; }
@media (max-width: 860px) {
  .feature-split { grid-template-columns: 1fr; }
}

/* ---- Offerings list ---- */
.offer-list { display: flex; flex-direction: column; }
.offer-item {
  display: grid;
  grid-template-columns: 4rem 1fr 1fr;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.offer-item:last-child { border-bottom: 1px solid var(--border); }
.offer-index { font-family: var(--font-display); font-weight: 700; color: var(--fg-subtle); font-size: 1.5rem; }
.offer-body h3 { margin-bottom: 0.75rem; }
.offer-media { display: flex; gap: 0.75rem; }
.offer-media img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; }
.offer-tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.85rem; font-size: 0.9rem; color: var(--fg-subtle); }
@media (max-width: 760px) {
  .offer-item { grid-template-columns: 1fr; gap: 1rem; }
  .offer-media { order: 3; }
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.pricing-card { background: var(--bg-elevated); padding: clamp(1.75rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-card h3 { font-size: 1.1rem; }
.pricing-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.5vw, 1.75rem); color: var(--fg); }
.pricing-note { font-size: 0.9rem; }
.pricing-callout { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-bottom: 2rem; }
.pricing-callout h3 { margin-bottom: 0.4rem; }

/* ---- Simple checklist ---- */
.check-list { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: 0.75rem; color: var(--fg-muted); }
.check-list li::before { content: '—'; color: var(--accent); flex-shrink: 0; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.step h3 { display: flex; align-items: center; gap: 0.75rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1px solid var(--border-strong); font-family: var(--font-ui); font-size: 0.9rem; color: var(--fg-subtle);
  flex-shrink: 0;
}
.step p { margin-top: 0.75rem; }

/* ---- CTA banner ---- */
.cta-banner { position: relative; text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; overflow: hidden; }
.cta-banner .bg-img { position: absolute; inset: 0; z-index: -1; }
.cta-banner .bg-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner .bg-img::after { content: ''; position: absolute; inset: 0; background: rgba(8, 9, 8, 0.68); }
.cta-banner .section-head { margin-inline: auto; }
.cta-banner .btn { margin-top: 1rem; }

/* ---- Grid of cards (portfolio, photography, work) ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.card { display: flex; flex-direction: column; gap: 1.1rem; }
.card-media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-elevated); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.15);
}
.card-media .play svg { width: 3rem; height: 3rem; }
.card h3 { font-size: 1.15rem; }
.card p { font-size: 0.95rem; margin-top: 0.35rem; }
.card-meta { font-size: 0.82rem; color: var(--fg-subtle); margin-top: 0.5rem; }

.card-grid.photo .card-media { aspect-ratio: 1/1; }

/* Home "Impact" grid: force an even 2x2 (never a stray 3-up + orphan row) */
.card-grid.photo:not(.masonry) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .card-grid.photo:not(.masonry) { grid-template-columns: 1fr; } }

/* ---- Values / principles ---- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }

/* ---- About page hero ---- */
.about-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-hero figure { border-radius: 16px; overflow: hidden; }
.about-hero figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--fg-subtle); }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

.tag-strip { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.5rem; font-size: 0.95rem; color: var(--fg-subtle); }

/* ---- Info columns (About / Information) ---- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.info-col .eyebrow { margin-bottom: 1.25rem; }
.info-col ul { display: grid; gap: 0.6rem; color: var(--fg-muted); }

/* ---- Video block ---- */
.video-block { border-radius: 16px; overflow: hidden; background: #000; }
.video-block video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---- Founder video split ---- */
.founder-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
@media (max-width: 860px) { .founder-split { grid-template-columns: 1fr; } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-meta { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
.contact-meta dt { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-subtle); margin-bottom: 0.35rem; }
.contact-meta dd { margin: 0; color: var(--fg); font-weight: 500; }

.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-field label { font-size: 0.85rem; color: var(--fg-subtle); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.inquiry-form { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--border); }
.inquiry-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0 3rem; }
.inquiry-points .point strong { display: block; color: var(--fg); margin-bottom: 0.35rem; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 26rem; }
.footer-col h4 { font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: var(--fg-muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--fg-subtle);
}
.footer-wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 8vw, 5rem); color: rgba(255,255,255,0.08); margin: 2rem 0 -1rem; letter-spacing: -0.02em; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---- Reveal animation (slow, cinematic) ---- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(.16,.8,.24,1), transform 1.1s cubic-bezier(.16,.8,.24,1); }
[data-reveal].reveal-left:not(.is-visible) { transform: translate(-64px, 12px); }
[data-reveal].reveal-right:not(.is-visible) { transform: translate(64px, 12px); }
[data-reveal].reveal-scale:not(.is-visible) { transform: scale(0.94); }
[data-reveal].reveal-heading:not(.is-visible) { transform: translateY(20px); }
[data-reveal].reveal-heading { transition-duration: 1.6s, 1.6s; transition-timing-function: cubic-bezier(.16,.8,.24,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal].stagger-1 { transition-delay: 0.08s; }
[data-reveal].stagger-2 { transition-delay: 0.2s; }
[data-reveal].stagger-3 { transition-delay: 0.32s; }
[data-reveal].stagger-4 { transition-delay: 0.44s; }
/* Hero eyebrow, lede and buttons: slow, soft rise out of a blur */
.hero .hero-counter[data-reveal] { transition: opacity 2.2s cubic-bezier(.22,.61,.36,1), transform 2.4s cubic-bezier(.22,.61,.36,1), filter 2s ease; }
.hero .hero-counter[data-reveal]:not(.is-visible) { transform: translateY(34px); filter: blur(10px); }

@media (prefers-reduced-motion: reduce) {
  /* !important: the reveal-left/right/heading/scale offsets above are more specific */
  [data-reveal], [data-reveal]:not(.is-visible) { opacity: 1 !important; transform: none !important; transition: none !important; filter: none !important; }
}

/* ---- Misc ---- */
.divider { height: 1px; background: var(--border); border: none; margin: 0; }
.eyebrow-inline { color: var(--fg-subtle); font-size: 0.95rem; }

/* ---- Hero display (home) ---- */
.hero-display { font-size: clamp(3rem, 9vw, 6.75rem); line-height: 0.98; }

/* ---- Cinematic image collage (3 uneven images) ---- */
.gallery-trio {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.gallery-trio figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-elevated); }
.gallery-trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-trio a:hover img, .gallery-trio:hover img { transform: scale(1.03); }
.gallery-trio .g1 { aspect-ratio: 3/4; }
.gallery-trio .g2 { aspect-ratio: 4/3; margin-top: clamp(1.5rem, 5vw, 3rem); }
.gallery-trio .g3 { aspect-ratio: 1/1; margin-top: clamp(-1rem, -2vw, -0.5rem); }
@media (max-width: 760px) {
  .gallery-trio { grid-template-columns: 1fr; }
  .gallery-trio .g2, .gallery-trio .g3 { margin-top: 0; }
}

/* ---- Placeholder marker ---- */
.placeholder {
  display: inline-block;
  background: rgba(255, 176, 59, 0.14);
  border: 1px dashed rgba(255, 176, 59, 0.55);
  color: #ffc98a;
  padding: 0.1em 0.55em;
  border-radius: 6px;
  font-size: 0.88em;
  font-weight: 600;
}

/* ---- Stats strip ---- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: clamp(2rem, 5vw, 3rem); }
.stat { border-top: 1px solid var(--border); padding-top: 1rem; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.stat-label { display: block; margin-top: 0.35rem; font-size: 0.9rem; color: var(--fg-subtle); }

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.25rem; }
.testimonial-quote { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.4; color: var(--fg); }
.testimonial-meta { font-size: 0.88rem; color: var(--fg-subtle); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-ui); font-weight: 600; color: var(--fg); font-size: 1.02rem; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--fg-subtle); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 1rem; }

/* ---- Offer blocks (alternating) ---- */
.offer-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
}
.offer-block:last-child { border-bottom: 1px solid var(--border); }
.offer-block .offer-block-media { border-radius: 16px; overflow: hidden; }
.offer-block .offer-block-media img { transition: transform 0.6s ease; }
.offer-block:hover .offer-block-media img { transform: scale(1.04); }
.offer-block--reverse .offer-block-media { order: -1; }
@media (max-width: 860px) {
  .offer-block { grid-template-columns: 1fr; }
  .offer-block--reverse .offer-block-media { order: -1; }
  .offer-block .offer-block-media { order: -1; }
}
.offer-block-index { font-family: var(--font-display); font-weight: 700; color: var(--fg-subtle); font-size: 1.1rem; margin-bottom: 0.75rem; display: block; }

/* ---- Two videos side by side (Documentaries) ---- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
.video-grid h3 { margin-top: 1rem; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }

/* ---- Video placeholder badge ---- */
.video-wrap { position: relative; }
.video-flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(20, 21, 23, 0.85); border: 1px dashed rgba(255, 176, 59, 0.6); color: #ffc98a;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem; border-radius: 999px;
}

/* ---- Footer legal row ---- */
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--fg-subtle); }
.footer-legal a:hover { color: var(--fg); }

/* ---- Legal pages (Impressum / Datenschutz) ---- */
.legal-page h2 { margin-top: 2.5rem; font-size: 1.3rem; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--fg-muted); max-width: 68ch; }
.legal-page ul { display: grid; gap: 0.4rem; margin: 1rem 0; padding-left: 1.25rem; list-style: disc; }
.legal-page a.text-link { display: inline; }

/* ---- Section CTA (portfolio sub-pages) ---- */
.section-cta { text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }

/* ==========================================================================
   Design update: square image corners, irregular cinematic spacing,
   slower/broader scroll animations, and new home-page modules.
   ========================================================================== */

/* ---- Eckige Bildecken statt runde Ecken (site-weit) ---- */
.feature-split figure,
.card-media,
.gallery-trio figure,
.about-hero figure,
.video-block,
.offer-block .offer-block-media,
.offer-media img,
.hero-media,
.cta-banner .bg-img,
.showcase-media,
.showreel-frame {
  border-radius: 0;
  overflow: hidden;
}

/* ---- Unregelmäßige, cinematische Rasterabstände für Portfolio-Grids ---- */
.card-grid:not(.photo):not(.films-grid):not(.work-worlds) .card:nth-child(3n+2) { margin-top: clamp(1.5rem, 4vw, 3rem); }
.card-grid:not(.photo):not(.films-grid):not(.work-worlds) .card:nth-child(3n+3) { margin-top: clamp(-1rem, -2vw, -0.5rem); }
.card-grid:not(.photo):not(.films-grid):not(.work-worlds) .card:nth-child(3n+1) .card-media { aspect-ratio: 4/3; }
.card-grid:not(.photo):not(.films-grid):not(.work-worlds) .card:nth-child(3n+2) .card-media { aspect-ratio: 3/4; }
.card-grid:not(.photo):not(.films-grid):not(.work-worlds) .card:nth-child(3n+3) .card-media { aspect-ratio: 1/1; }

.card-grid.photo .card:nth-child(4n+2) { margin-top: clamp(1.25rem, 3vw, 2rem); }
.card-grid.photo .card:nth-child(4n+3) { margin-top: clamp(-0.75rem, -1.5vw, -0.4rem); }
.card-grid.photo .card:nth-child(4n+4) { margin-top: clamp(0.75rem, 2vw, 1.25rem); }

@media (max-width: 760px) {
  .card-grid .card { margin-top: 0 !important; }
}

/* Work page: keep the four portfolio-world cards visually separated (no merging) */
.work-worlds.card-grid { gap: clamp(2rem, 4vw, 3rem); }
.work-worlds.card-grid .card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: clamp(1.25rem, 2vw, 1.5rem);
}
.work-worlds.card-grid .card-media { margin: calc(-1 * clamp(1.25rem, 2vw, 1.5rem)) calc(-1 * clamp(1.25rem, 2vw, 1.5rem)) 0; }

/* Films page: force a clean 3-up row on wide screens so cards never drift/overlap */
.films-grid.card-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
.films-grid.card-grid .card { margin-top: 0 !important; }
.films-grid.card-grid .card-media { aspect-ratio: 4/3 !important; }
@media (max-width: 640px) { .films-grid.card-grid { grid-template-columns: 1fr; } }

/* ---- Offerings hero: full-bleed background image, editorial asymmetric content ---- */
.offer-hero { position: relative; overflow: hidden; }
.offer-hero .bg-img { position: absolute; inset: 0; z-index: -1; }
.offer-hero .bg-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-hero .bg-img::after { content: ''; position: absolute; inset: 0; background: rgba(10, 11, 10, 0.72); }

.offer-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: end; }
.offer-hero-main .eyebrow { color: var(--accent-strong); }
.offer-hero-headline { font-size: clamp(2rem, 4.8vw, 3.4rem); margin-top: 0.25rem; }
.offer-hero-main .lede { margin-top: 1.25rem; max-width: 34rem; }
.offer-hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.offer-hero-point { background: rgba(20, 21, 23, 0.55); backdrop-filter: blur(6px); padding: clamp(1.1rem, 2vw, 1.5rem); display: flex; flex-direction: column; gap: 0.6rem; }
.offer-hero-point-num { font-family: var(--font-display); font-weight: 700; color: var(--fg-subtle); font-size: 0.95rem; }
.offer-hero-point p { color: var(--fg); font-size: 0.92rem; margin: 0; }
@media (max-width: 860px) {
  .offer-hero-grid { grid-template-columns: 1fr; }
  .offer-hero-points { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
}
@media (max-width: 520px) {
  .offer-hero-points { grid-template-columns: 1fr; }
}

/* ---- About principles: even, predictable spacing ---- */
.principles-block > * + * { margin-top: 1.25rem; }

/* ---- Home: film pop-up teaser ---- */
.film-popup {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  text-align: inherit;
  font: inherit;
}
.film-popup .popup-media { position: relative; aspect-ratio: 21/9; overflow: hidden; }
.film-popup .popup-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.film-popup:hover .popup-media img { transform: scale(1.03); }
.film-popup .popup-media::after { content: ''; position: absolute; inset: 0; background: rgba(8, 9, 8, 0.4); }
.film-popup .popup-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.5rem;
}
.film-popup .popup-play svg { width: 3.5rem; height: 3.5rem; }
.film-popup .popup-play .eyebrow { color: rgba(255,255,255,0.75); }
.film-popup .popup-play h2 { color: var(--fg); }

/* ---- Home: showcase carousel of films ---- */
.showcase-track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  scrollbar-width: thin;
}
.showcase-track .card { flex: 0 0 min(78vw, 420px); scroll-snap-align: start; }
.showcase-media { position: relative; aspect-ratio: 4/3; background: var(--bg-elevated); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.showcase-track .card:hover .showcase-media img { transform: scale(1.04); }
.showcase-media .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.15); }
.showcase-media .play svg { width: 3rem; height: 3rem; }

/* ---- Home: autoplaying showreel ---- */
.showreel-frame { position: relative; background: #000; aspect-ratio: 16/9; }
.showreel-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---- Home: partner/client logo slider ---- */
.logo-slider { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-slider-track { display: flex; width: max-content; gap: clamp(2.5rem, 6vw, 4.5rem); animation: logo-slide 28s linear infinite; }
.logo-slider-track span {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle);
  white-space: nowrap; padding: 0.5rem 0;
}
@keyframes logo-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-slider-track { animation: none; } }

/* ==========================================================================
   Round 2 additions: scroll-zoom hero, corner pop-in, bento/masonry grids,
   tilt hover, kinetic typography, gradient bg, form micro-interactions, grain.
   ========================================================================== */

/* ---- Hero scroll-zoom headline ---- */
.hero-zoom { will-change: transform, opacity, filter; transform-origin: center bottom; }
@media (prefers-reduced-motion: reduce) { .hero-zoom { transform: none !important; opacity: 1 !important; filter: none !important; } }

/* ---- Hero counter-motion: small text sinks & fades opposite the headline's rise ---- */
.hero-counter { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .hero-counter { transform: none !important; opacity: 1 !important; filter: none !important; } }

/* ---- Hero background parallax drift (layered depth behind the Ken Burns zoom) ---- */
.hero-parallax { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero-parallax { transform: none !important; } }

/* ---- Film pop-in as a small corner tile inside the main grid ---- */
.film-popup-tile { position: relative; }
.film-popup-tile .popup-badge {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; text-align: center; padding: 0.75rem; background: rgba(8, 9, 8, 0.38);
}
.film-popup-tile .popup-badge svg { width: 2rem; height: 2rem; }
.film-popup-tile .popup-badge .eyebrow { font-size: 0.64rem; margin-bottom: 0; color: rgba(255, 255, 255, 0.85); }
.film-popup-tile .popup-badge strong { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; line-height: 1.2; }

/* ---- Film grain / noise overlay (cinematic texture) ---- */
.grain-overlay {
  position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---- Offerings: video hero background ---- */
.offer-hero .bg-video video { width: 100%; height: 100%; object-fit: cover; }

/* ---- Offerings: intro split into smaller blocks with image ---- */
.offer-intro-blocks { display: grid; gap: clamp(2rem, 5vw, 3.5rem); margin-top: clamp(2rem, 5vw, 3rem); }
.offer-intro-block { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.offer-intro-block.reverse { grid-template-columns: 0.95fr 1.05fr; }
.offer-intro-block .offer-block-index { margin-bottom: 1rem; }
.offer-intro-block .offer-intro-media { aspect-ratio: 4/3; overflow: hidden; }
.offer-intro-block .offer-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-intro-block.reverse .offer-intro-media { order: -1; }
@media (max-width: 760px) {
  .offer-intro-block, .offer-intro-block.reverse { grid-template-columns: 1fr; }
  .offer-intro-block.reverse .offer-intro-media { order: 0; }
}

/* ---- Offerings: true bento grid, full-bleed background images per tile ---- */
.offer-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(clamp(280px, 34vw, 380px), auto); gap: clamp(1.5rem, 3vw, 2rem); margin-top: 0.5rem; }
.offer-bento .offer-block {
  position: relative; overflow: hidden; border: none; padding: 0; margin: 0;
  grid-column: span 1; display: block;
}
.offer-bento .offer-block.bento-wide { grid-column: span 2; }
.offer-bento .offer-block.bento-full { grid-column: span 3; grid-row: span 1; min-height: clamp(320px, 30vw, 420px); }
.offer-bento .offer-block:last-child { border-bottom: none; }
.offer-bento .offer-block-media { position: absolute; inset: 0; }
.offer-bento .offer-block-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.offer-bento .offer-block:hover .offer-block-media img { transform: scale(1.06); }
.offer-bento .offer-block-content {
  position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.25rem, 2.5vw, 2rem); gap: 0.6rem;
  background: linear-gradient(to top, rgba(8, 9, 8, 0.92) 0%, rgba(8, 9, 8, 0.45) 55%, rgba(8, 9, 8, 0) 100%);
}
.offer-bento .offer-block-content h3 { color: var(--fg); }
.offer-bento .offer-block-content p { color: var(--fg-muted); font-size: 0.92rem; max-width: 34rem; }
.offer-bento .offer-block-index { margin-bottom: 0; color: var(--accent-strong); }
.offer-bento .offer-tags { margin-top: 0.35rem; }
@media (max-width: 860px) {
  .offer-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .offer-bento .offer-block, .offer-bento .offer-block.bento-wide, .offer-bento .offer-block.bento-full { grid-column: span 1; min-height: clamp(260px, 70vw, 360px); }
}

/* ---- Films/Documentaries: cursor-reactive tilt on thumbnails ---- */
.tilt { transition: transform 0.15s ease-out; }
@media (prefers-reduced-motion: reduce) { .tilt { transform: none !important; transition: none; } }

/* ---- Photography: masonry grid instead of a rigid gallery (CSS columns avoid overlap) ---- */
.card-grid.photo.masonry { display: block; column-count: 4; column-gap: clamp(1rem, 2vw, 1.5rem); }
.card-grid.photo.masonry .card { display: inline-block; width: 100%; break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.card-grid.photo.masonry .card-media { aspect-ratio: auto; }
.card-grid.photo.masonry .card:nth-child(3n+2) .card-media { aspect-ratio: 3/4; }
.card-grid.photo.masonry .card:nth-child(4n+3) .card-media { aspect-ratio: 1/1; }
.card-grid.photo.masonry .card:nth-child(4n) .card-media { aspect-ratio: 4/5; }
@media (max-width: 900px) { .card-grid.photo.masonry { column-count: 2; } }
@media (max-width: 560px) { .card-grid.photo.masonry { column-count: 1; } }

/* ---- Vision: kinetic typography (word-by-word reveal on scroll) ---- */
/* white-space: pre keeps each word's trailing space, which inline-blocks otherwise drop */
.kinetic-text .kw { display: inline-block; white-space: pre; opacity: 0; transform: translateY(0.4em); transition: opacity 0.5s ease, transform 0.5s ease; }
.kinetic-text .kw.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .kinetic-text .kw { opacity: 1; transform: none; transition: none; } }

/* ---- About: subtle animated gradient behind the founder photo ---- */
.founder-photo-wrap { position: relative; }
.founder-photo-wrap::before {
  content: ''; position: absolute; inset: -6%; z-index: -1;
  background: linear-gradient(120deg, var(--accent), #6f8fd1, var(--accent-strong), var(--accent));
  background-size: 300% 300%; filter: blur(30px); opacity: 0.45;
  animation: gradient-shift 12s ease infinite;
}
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@media (prefers-reduced-motion: reduce) { .founder-photo-wrap::before { animation: none; } }
.founder-photo-placeholder {
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem;
  background: var(--bg-elevated); border: 1px dashed var(--border-strong);
}
.founder-photo { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ---- Home: standalone video pop-up modal (Die Wächter der Berge) ---- */
.video-modal { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 2.5rem); }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 8, 0.88); }
.video-modal-dialog { position: relative; width: min(1000px, 100%); }
.video-modal-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -2.75rem; right: 0; width: 2.25rem; height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3); background: none; color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer; border-radius: 0;
}
.video-modal-close:hover { border-color: #fff; }
body.modal-open { overflow: hidden; }

/* ---- Contact: form micro-interactions (focus glow + validation feedback) ---- */
.form-field input, .form-field textarea { transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.form-field input:focus, .form-field textarea:focus { box-shadow: 0 0 0 3px rgba(157, 184, 141, 0.28); }
.form-field input:user-valid, .form-field textarea:user-valid { border-color: var(--accent); }
.form-field input:user-invalid:not(:focus), .form-field textarea:user-invalid:not(:focus) { border-color: #e08a6b; }

/* ==========================================================================
   Team page: alternating member rows — slide-in + cursor tilt (as on the
   documentary cards), curtain-wipe portrait with zoom-out, outlined index
   number with scroll parallax, word-by-word quote.
   ========================================================================== */
.team-list { display: grid; gap: clamp(5rem, 12vw, 9rem); }
.team-member > * { min-width: 0; }
.team-member { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.team-member:nth-child(even) .team-photo { order: 2; }

.team-photo { position: relative; }
.team-photo::before {
  content: ''; position: absolute; inset: -5%; z-index: -1;
  background: linear-gradient(120deg, var(--accent), #6f8fd1, var(--accent-strong), var(--accent));
  background-size: 300% 300%; filter: blur(34px); opacity: 0; transition: opacity 0.8s ease;
  animation: gradient-shift 12s ease infinite;
}
.team-member:hover .team-photo::before { opacity: 0.4; }
.team-photo-inner { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 14px; background: var(--bg-elevated); }
/* Curtain wipe: a page-coloured cover shrinks upward to uncover the portrait. */
.team-photo-inner::after {
  content: ''; position: absolute; inset: 0; background: var(--bg); transform-origin: top;
  transition: transform 1.4s cubic-bezier(.77, 0, .18, 1) 0.15s;
}
.team-member.is-visible .team-photo-inner::after { transform: scaleY(0); }
.team-photo-inner img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) contrast(1.05);
  transition: transform 2s cubic-bezier(.16, .8, .24, 1), filter 0.8s ease, opacity 1.2s ease;
}
/* The portrait's zoom-out is driven by its row's reveal (not the generic
   per-image slide-in), so it plays in sync with the curtain wipe. */
.team-member .team-photo-inner img[data-reveal] { opacity: 1; transform: scale(1.3); }
.team-member.is-visible .team-photo-inner img[data-reveal] { transform: scale(1); }
.team-member.is-visible:hover .team-photo-inner img[data-reveal] { filter: none; transform: scale(1.05); }

.team-photo-tag {
  position: absolute; left: 1rem; bottom: 1rem; padding: 0.4rem 0.8rem; border-radius: 999px;
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgba(8, 9, 8, 0.55); backdrop-filter: blur(8px); border: 1px solid var(--border);
  opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease 1.2s, transform 0.7s cubic-bezier(.16, .8, .24, 1) 1.2s;
}
.team-member.is-visible .team-photo-tag { opacity: 1; transform: none; }

.team-body { position: relative; isolation: isolate; }
.team-index {
  position: absolute; top: -0.35em; right: 0; z-index: -1; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; line-height: 1; font-size: clamp(6rem, 16vw, 12rem);
  color: transparent; -webkit-text-stroke: 1px var(--border-strong); will-change: transform;
}
.team-role { display: flex; align-items: center; gap: 0.8rem; color: var(--accent-strong); }
.team-role::before {
  content: ''; display: block; height: 1px; width: 0; background: var(--accent);
  transition: width 1s cubic-bezier(.16, .8, .24, 1) 0.6s;
}
.team-member.is-visible .team-role::before { width: 2.5rem; }
.team-desc { margin-top: 1.1rem; }
.team-quote {
  margin: 1.75rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); max-width: 34rem;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.3; color: var(--fg);
}

@media (max-width: 860px) {
  .team-member { grid-template-columns: 1fr; }
  .team-member:nth-child(even) .team-photo { order: 0; }
  .team-photo { max-width: 28rem; }
}
@media (prefers-reduced-motion: reduce) {
  .team-photo-inner::after { display: none; }
  .team-member .team-photo-inner img[data-reveal] { transform: none; }
  .team-photo::before { animation: none; }
  .team-photo-tag, .team-role::before { transition: none; }
  .team-index { transform: none !important; }
}

/* ==========================================================================
   Entwurf v2: bilingual site, service pages, case studies, proof bar,
   click-to-load video, real form submission.
   ========================================================================== */

/* ---- Language switch ---- */
.nav-links .lang-switch {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem; border: 1px solid var(--border-strong); color: var(--fg-muted);
}
.nav-links .lang-switch:hover { color: var(--fg); border-color: var(--fg); }

/* ---- Badges ---- */
.badge {
  display: inline-block; font-family: var(--font-ui); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.3rem 0.65rem; background: var(--accent); color: #10110f;
}

/* ---- Click-to-load video (YouTube nocookie) ---- */
.yt-frame { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; color: #fff; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.6s ease, opacity 0.3s ease; }
.yt-facade:hover img, .yt-facade:focus-visible img { transform: scale(1.03); opacity: 1; }
.yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yt-play svg { width: 3.75rem; height: 3.75rem; filter: drop-shadow(0 4px 18px rgba(0,0,0,0.5)); }
.yt-note { font-size: 0.78rem; color: var(--fg-subtle); margin-top: 0.6rem; max-width: none; }
.yt-note a { text-decoration: underline; }
.video-card h3 { margin-top: 1rem; }
.video-card p { font-size: 0.95rem; margin-top: 0.35rem; }
.video-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }

/* ---- Instagram (click-to-load in a modal) ---- */
.ig-facade { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.ig-facade .card-media::after { content: 'Instagram'; position: absolute; left: 0.75rem; bottom: 0.75rem; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(8,9,8,0.7); padding: 0.3rem 0.55rem; }
.video-modal-frame.is-portrait { aspect-ratio: auto; width: min(420px, 100%); height: min(80vh, 760px); margin-inline: auto; }
.video-modal-dialog .yt-note { text-align: center; }

/* ---- Proof bar (festivals + client logos) ---- */
.proof { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.proof .eyebrow { margin-bottom: 1.1rem; }
.festival-list { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--fg); }
.logo-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.logo-tile { background: #fff; width: 9.5rem; height: 6rem; display: flex; align-items: center; justify-content: center; padding: 0.75rem; }
.logo-tile img { max-height: 100%; width: auto; object-fit: contain; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr; } }

/* ---- Audience columns ---- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.audience-grid > div { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.audience-grid .num { font-family: var(--font-display); font-weight: 700; color: var(--accent-strong); font-size: 0.95rem; display: block; margin-bottom: 0.75rem; }
.audience-grid h3 { margin-bottom: 0.6rem; }
.audience-grid p { font-size: 0.95rem; }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---- Service cards (home + overview) ---- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 900px) {
  .service-grid.five { grid-template-columns: repeat(6, 1fr); }
  .service-grid.five > * { grid-column: span 2; }
  .service-grid.five > :nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 900px) { .service-grid.six { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--bg-elevated); border: 1px solid var(--border); transition: border-color 0.25s ease, transform 0.25s ease; }
.service-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.service-card.is-featured { border-color: var(--accent); }
.service-card .card-media { aspect-ratio: 16/10; border-radius: 0; }
.service-card-body { padding: clamp(1.25rem, 2.5vw, 1.6rem); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.service-card .badge { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 1; }
.service-card p { font-size: 0.95rem; }
.service-price { margin-top: auto; padding-top: 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--fg); }
.service-more { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; color: var(--accent-strong); }

/* ---- Service page ---- */
.service-hero { padding-top: clamp(8rem, 16vw, 11rem); }
.service-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.service-hero-grid .lede { margin-top: 1.25rem; }
.service-hero .hero-actions { margin-top: 2rem; }
.service-hero figure { aspect-ratio: 4/3; overflow: hidden; }
.service-hero figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .service-hero-grid { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.prose > * + * { margin-top: 1.1rem; }
.price-box { background: var(--bg-elevated); border: 1px solid var(--border); padding: clamp(1.5rem, 3vw, 2.25rem); }
.price-box .price { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 6vw, 2.4rem); color: var(--fg); margin: 0.25rem 0 1rem; }
.price-box ul, .check-list.tight { display: grid; gap: 0.55rem; margin: 1rem 0 1.5rem; }
.price-box li { display: flex; gap: 0.7rem; color: var(--fg-muted); }
.price-box li::before { content: '—'; color: var(--accent); flex-shrink: 0; }
.price-terms { font-size: 0.85rem; color: var(--fg-subtle); margin-top: 1.25rem; }
.price-terms p { font-size: inherit; color: inherit; max-width: none; }
.price-terms p + p { margin-top: 0.4rem; }

/* ---- Case studies ---- */
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 2rem 0 0; }
.case-facts > div { background: var(--bg); padding: 1.1rem 1.25rem; }
.case-facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-subtle); margin-bottom: 0.35rem; }
.case-facts dd { margin: 0; color: var(--fg); font-weight: 500; }
.case-steps { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.case-step { display: grid; grid-template-columns: 14rem 1fr; gap: clamp(1rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--border); }
.case-step h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
@media (max-width: 760px) { .case-step { grid-template-columns: 1fr; } }
.case-teaser { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .case-teaser { grid-template-columns: 1fr; } }
.case-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 2.5vw, 1.75rem); }

/* ---- Awards ---- */
.award-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.award { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--border); padding: 1.25rem; }
.laurel { flex-shrink: 0; width: 3.5rem; height: 3.5rem; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border-strong); color: var(--fg-subtle); font-size: 0.6rem; text-align: center; }
.award strong { display: block; color: var(--fg); font-family: var(--font-ui); }
.award span { display: block; font-size: 0.88rem; color: var(--fg-subtle); }

/* ---- Back link ---- */
.back-link { display: inline-block; font-family: var(--font-ui); font-size: 0.85rem; color: var(--fg-subtle); margin-bottom: 1.25rem; }
.back-link:hover { color: var(--fg); }

/* ---- Forms: selects, honeypot, status ---- */
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-subtle) 50%), linear-gradient(135deg, var(--fg-subtle) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.form-field select option { background: var(--bg-elevated); }
.form-field .opt { color: var(--fg-subtle); font-weight: 400; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: 0.92rem; max-width: none; }
.form-status:empty { display: none; }
.form-status.is-error { color: #f0a58a; }
.form-card { background: var(--bg-elevated); border: 1px solid var(--border); padding: clamp(1.5rem, 3.5vw, 2.5rem); scroll-margin-top: 6rem; }
.form-card .form-field input, .form-card .form-field select, .form-card .form-field textarea { background: var(--bg); }
.form-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.form-card h3 { margin: 1.75rem 0 1rem; font-size: 1.05rem; }
.form-privacy { font-size: 0.82rem; color: var(--fg-subtle); margin-top: 0.75rem; max-width: none; }
.form-privacy a { text-decoration: underline; }
.contact-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.contact-choice a { display: block; border: 1px solid var(--border); padding: 1.1rem 1.25rem; transition: border-color 0.2s ease; }
.contact-choice a:hover { border-color: var(--accent); }
.contact-choice strong { display: block; color: var(--fg); font-family: var(--font-ui); }
.contact-choice span { font-size: 0.88rem; color: var(--fg-subtle); }
@media (max-width: 600px) { .contact-choice { grid-template-columns: 1fr; } }
.contact-meta dd a { text-decoration: underline; text-underline-offset: 3px; }
.form-stack > *, .form-row > *, .contact-grid > *, .two-col > *, .service-hero-grid > *, .case-teaser > *, .proof-grid > * { min-width: 0; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; justify-content: center; } }
.form-stack { display: grid; gap: clamp(2rem, 5vw, 3rem); }

/* ---- Thank-you steps ---- */
.next-steps { counter-reset: s; display: grid; gap: 1rem; margin-top: 2rem; }
.next-steps li { counter-increment: s; display: flex; gap: 1rem; color: var(--fg-muted); align-items: baseline; }
.next-steps li::before { content: counter(s); flex-shrink: 0; width: 2rem; height: 2rem; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--fg); }

/* ---- Footer: five columns in v2 ---- */
.footer-top.v2 { grid-template-columns: 1.3fr repeat(4, 1fr); }
@media (max-width: 960px) { .footer-top.v2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top.v2 { grid-template-columns: 1fr; } }
.footer-col { min-width: 0; overflow-wrap: anywhere; }

/* Client logos used as thumbnails: show the whole logo on white */
.yt-frame.is-logo .yt-facade, .card-media.is-logo { background: #fff; }
.yt-frame.is-logo .yt-facade img, .card-media.is-logo img { object-fit: contain; padding: 8%; opacity: 1; }

/* Visible placeholders in the draft (each also marked with an HTML TODO comment) */
.todo { background: rgba(255, 176, 59, 0.14); border: 1px dashed rgba(255, 176, 59, 0.55); color: #ffc98a; padding: 0.05em 0.45em; font-size: 0.9em; }

/* Long German compound words: keep big headings a size where words fit whole */
.hero.hero-compact h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.hero.hero-compact .hero-content { max-width: 56rem; }
.service-hero-grid h1 { font-size: clamp(2rem, 3.1vw, 2.5rem); }
.case-h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.legal-page h1 { font-size: clamp(1.1rem, 4.8vw, 2.4rem) !important; }

/* Syne is very wide: keep long single words (e.g. "organizations") inside narrow phones */
@media (max-width: 480px) {
  h1, .h1, .hero.hero-compact h1, .service-hero-grid h1, .case-h1, .hero-display.hero-display--compact, .offer-hero-headline { font-size: 6vw; }
}

/* ==========================================================================
   Home v3: festivals in full, moving partner band, nature/people duo,
   flipped film feature, swipeable film strip.
   ========================================================================== */

/* ---- Festivals: every festival, set large ---- */
.festival-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.festival-grid li { padding: clamp(1.1rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.5rem) 0 0; }
.festival-grid li + li { padding-left: clamp(1rem, 2vw, 1.5rem); border-left: 1px solid var(--border); }
.festival-grid strong { display: block; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; font-size: clamp(1.15rem, 2.1vw, 1.7rem); color: var(--fg); overflow-wrap: break-word; }
.festival-grid span { display: block; margin-top: 0.5rem; font-size: 0.88rem; color: var(--fg-subtle); }
@media (max-width: 860px) {
  .festival-grid { grid-template-columns: 1fr 1fr; }
  .festival-grid li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .festival-grid li:nth-child(n+3) { margin-top: 1.1rem; border-top: 1px solid var(--border); }
}

/* ---- Partner band: drifts slowly to the left, like the hero image ---- */
.partner-band { margin-top: clamp(2.5rem, 6vw, 4rem); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: logo-slide 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: clamp(1rem, 2vw, 1.5rem); padding-right: clamp(1rem, 2vw, 1.5rem); }
.partner-tile { display: block; width: clamp(11rem, 20vw, 15rem); }
.partner-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-elevated); margin-bottom: 0.8rem; }
.partner-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.partner-media.is-logo { background: #fff; }
.partner-media.is-logo img { object-fit: contain; padding: 10%; }
.partner-tile:hover .partner-media img { transform: scale(1.04); }
.partner-tile strong { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 0.98rem; color: var(--fg); }
.partner-tile > span:last-child { display: block; font-size: 0.8rem; color: var(--fg-subtle); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; padding-inline: var(--gutter); }
  .marquee-set[aria-hidden] { display: none; }
}

/* ---- Duo: nature itself | the people protecting it ---- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.duo-tile { position: relative; display: flex; align-items: flex-end; min-height: clamp(24rem, 46vw, 34rem); overflow: hidden; isolation: isolate; }
.duo-tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,.8,.24,1); }
.duo-tile:hover > img { transform: scale(1.05); }
.duo-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 9, 8, 0.94) 0%, rgba(8, 9, 8, 0.55) 45%, rgba(8, 9, 8, 0.1) 100%); }
.duo-body { padding: clamp(1.5rem, 3.5vw, 2.5rem); display: flex; flex-direction: column; gap: 0.7rem; }
.duo-body .num { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--accent-strong); }
.duo-body h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.duo-body p { font-size: 0.98rem; max-width: 34rem; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo-tile { min-height: 22rem; } }

/* ---- Film feature with the video on the left ---- */
.case-teaser.is-flipped { grid-template-columns: 0.9fr 1.1fr; }
.case-teaser.is-flipped > :first-child { order: 0; }
@media (max-width: 860px) { .case-teaser.is-flipped { grid-template-columns: 1fr; } }

/* ---- Swipeable strip with the remaining films ---- */
.film-strip-wrap { margin-top: clamp(3.5rem, 8vw, 6rem); }
.film-strip-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.strip-nav { display: flex; gap: 0.5rem; }
.strip-nav button { width: 2.6rem; height: 2.6rem; border: 1px solid var(--border-strong); background: none; color: var(--fg); font-size: 1.05rem; transition: border-color 0.2s ease, background 0.2s ease; }
.strip-nav button:hover { border-color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.film-strip {
  display: flex; gap: clamp(1rem, 2.5vw, 1.75rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.film-strip::-webkit-scrollbar { display: none; }
.film-strip:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }
.film-strip .video-card { flex: 0 0 min(80vw, 380px); scroll-snap-align: start; }
.film-strip .yt-note { display: none; }
@media (hover: none) { .strip-nav { display: none; } }

/* ---- Breadcrumbs (replace the former back links) ---- */
.breadcrumbs { font-family: var(--font-ui); font-size: 0.85rem; color: var(--fg-subtle); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--fg-subtle); opacity: 0.6; }
.breadcrumbs a { color: var(--fg-subtle); }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs [aria-current] { color: var(--fg-muted); }

/* ---- Link row (404) ---- */
.link-row { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.75rem; }

/* ---- Talks (Vorträge) ---- */
.talks-hero.is-graphic .hero-media { background: radial-gradient(ellipse 80% 60% at 70% 60%, rgba(157,184,141,0.35) 0%, rgba(157,184,141,0.08) 35%, rgba(20,21,23,0) 65%), linear-gradient(to bottom, #101112 0%, #181b17 60%, #20261c 100%); }
.talks-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; }
.talk { position: relative; overflow: hidden; isolation: isolate; }
.talk-num { position: absolute; right: var(--gutter); top: clamp(1.5rem, 5vw, 4rem); z-index: -1; font-family: var(--font-display); font-weight: 800; line-height: 0.8; font-size: clamp(6rem, 22vw, 16rem); color: transparent; -webkit-text-stroke: 1px rgba(157,184,141,0.25); user-select: none; }
.talk-head { max-width: 52rem; }
.talk h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.02; }
.talk-sub { display: block; margin-top: 0.6rem; font-family: var(--font-ui); font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: 0; color: var(--accent-strong); }
.talk-points { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .talk-points { grid-template-columns: 1fr; } }
.talk-take { margin-top: clamp(2rem, 5vw, 3rem); max-width: 34ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; color: var(--fg); }
.talk-take::before { content: ''; display: block; width: 2.5rem; height: 2px; margin-bottom: 1rem; background: var(--accent); }
.talk .hero-actions { margin-top: 1.75rem; }
.talk-refs { border: 1px solid var(--border); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.talks-cta { background: radial-gradient(ellipse 70% 80% at 20% 100%, rgba(157,184,141,0.16), rgba(20,21,23,0) 65%); }
.talks-cta .btn svg { margin-left: 0.5rem; vertical-align: -2px; }

/* Elements still waiting for content (see todo() in _src) stay hidden, whatever their display value */
[hidden] { display: none !important; }
section:has(> .case-steps:not(:has(> .case-step:not([hidden])))) { display: none; }

/* ---- Talks (Vorträge) on the live site: offer box and moving speaker photo ---- */
.talks-hero .hero-media::after { background: linear-gradient(to bottom, rgba(16,17,15,0.55) 0%, rgba(16,17,15,0.35) 45%, rgba(16,17,15,0.9) 100%); }
.talk-offer { margin-top: clamp(2.5rem, 6vw, 4rem); padding: clamp(1.75rem, 4vw, 3rem); border-radius: 18px; border: 1px solid rgba(157,184,141,0.35); background: radial-gradient(ellipse 80% 120% at 0% 100%, rgba(157,184,141,0.18), rgba(20,21,23,0) 70%); }
.talk-offer .talk-take { max-width: 30ch; }
.talk-photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.talk-photo img { width: 100%; height: 115%; object-fit: cover; transform-origin: 50% 40%; animation: talk-drift 18s ease-in-out infinite alternate; }
@keyframes talk-drift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.16) translateY(-6%); } }
@supports (animation-timeline: view()) {
  .talk-photo img { animation: talk-scroll linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes talk-scroll { from { transform: scale(1.18) translateY(4%); } to { transform: scale(1.04) translateY(-12%); } }
}
@media (prefers-reduced-motion: reduce) { .talk-photo img { animation: none; height: 100%; } }

/* Nav labels never wrap; tighter spacing on small laptops (German labels are longer) */
.nav-links a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) { .nav-links { gap: 1.1rem; font-size: 0.9rem; } }

/* Long German words in the hero must not push the page wider than the phone */
.hero-display { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 520px) { .hero-display.hero-display--compact { font-size: clamp(1.7rem, 8.4vw, 2.2rem); } }
html, body { overflow-x: clip; }
