/* ============================================================================
   AGENCIES PAGE — BUILD 05D
   Supplements style.css. Reuses all shared tokens and base classes.
   ============================================================================ */


/* ---------------------------------------------------------------------------
   01 · HERO EXTENSIONS
   Hero headline reduced ~28% vs style.css base (same override as brands.css)
   --------------------------------------------------------------------------- */
.hero-headline {
  font-size: clamp(2.4rem, 6vw, 7rem);
  line-height: 0.9;
  margin-bottom: clamp(24px, 3vw, 44px);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.agencies-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark-gray);
}

.agencies-hero-bg img,
.agencies-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}

.hero-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}


/* ---------------------------------------------------------------------------
   SHARED SECTION HEADLINE SYSTEM — agencies page
   Mirrors .brands-section-title from brands.css; applies only here.
   --------------------------------------------------------------------------- */
.agencies-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--off-white);
}

.agencies-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}


/* ---------------------------------------------------------------------------
   02 · WHAT I DO FOR AGENCIES — Editorial service grid
   --------------------------------------------------------------------------- */
.agencies-modules-section { background: var(--black); }

.agencies-modules-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}

.agencies-modules-lhs {
  position: sticky;
  top: 100px;
}

.agencies-modules-headline {
  margin-top: 20px;
}

.agencies-mod-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.agencies-mod-item {
  display: grid;
  grid-template-columns: 24px 28px 1fr;
  column-gap: 20px;
  padding-block: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--border);
  align-items: start;
  transition: border-color var(--dur);
}

.agencies-mod-item:last-child { border-bottom: 1px solid var(--border); }

.agencies-mod-n {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding-top: 5px;
}

.agencies-mod-icon {
  width: 22px;
  height: 22px;
  color: var(--muted);
  padding-top: 2px;
  flex-shrink: 0;
}

.agencies-mod-body { display: flex; flex-direction: column; gap: 10px; }

.agencies-mod-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.agencies-mod-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  color: var(--text-2);
  line-height: 1.65;
}


/* ---------------------------------------------------------------------------
   03 · HOW WE COLLABORATE — Process steps with images
   --------------------------------------------------------------------------- */
.agencies-process-section { background: var(--surface); }

.agencies-process-header {
  padding-top: var(--section-y);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.agencies-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: var(--section-y);
}

.agencies-process-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agencies-process-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark-gray);
}

.agencies-process-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agencies-process-num {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agencies-process-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.agencies-process-step-body {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  color: var(--text-2);
  line-height: 1.65;
}

.agencies-process-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: var(--section-y);
  border-top: 1px solid var(--border);
  padding-top: clamp(20px, 2.5vw, 32px);
}

.agencies-process-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.agencies-process-note p {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}


/* ---------------------------------------------------------------------------
   04 · FEATURED PRODUCTION — NAVA proof case
   Split: featured film strip LHS + copy RHS
   --------------------------------------------------------------------------- */
.agencies-proof-section { background: var(--black); }

/* NAVA thumbnail: thumbnail_Nava.webp is 1672×941 (≈16:9).
   Override the generic film-strip height so the full image is
   always visible without cropping. object-fit:contain confirms it. */
.agencies-proof-section .film-strip {
  height: auto !important;
  aspect-ratio: 1672 / 941;
}

.agencies-proof-section .strip-media img {
  object-fit: contain;
}

.agencies-proof-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.agencies-proof-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: clamp(16px, 3vw, 40px);
}

.agencies-proof-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 3rem);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.agencies-proof-body,
.agencies-lede {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-2);
  line-height: 1.65;
}

/* Intro lines under the modules and work headlines */
.agencies-lede {
  max-width: 40ch;
  margin-top: clamp(20px, 2.5vw, 36px);
}

.agencies-spec-note {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.agencies-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  transition: color var(--dur);
}

.agencies-proof-link:hover { color: var(--off-white); }

.agencies-proof-link svg {
  width: 14px;
  height: 14px;
}


/* ---------------------------------------------------------------------------
   05 · SELECTED PRODUCTIONS — Film strips
   Reuses .film-strips / .film-strip / .strip-* from style.css
   --------------------------------------------------------------------------- */
.agencies-work-section { background: var(--black); }

.agencies-work-header {
  padding-top: var(--section-y);
  padding-bottom: clamp(32px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.agencies-work-title {
  margin-top: 12px;
}

.agencies-work-all-link {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  flex-shrink: 0;
  white-space: nowrap;
  transition: color var(--dur);
}
.agencies-work-all-link:hover { color: var(--off-white); }

.agencies-work-footer {
  padding-top: clamp(20px, 2.5vw, 36px);
  padding-bottom: var(--section-y);
}


/* ---------------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .agencies-modules-grid {
    grid-template-columns: 1fr;
    gap: clamp(40px, 5vw, 64px);
  }

  .agencies-modules-lhs {
    position: static;
  }

  .agencies-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .agencies-work-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .agencies-proof-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .agencies-process-steps {
    grid-template-columns: 1fr;
  }
}

/* Hero copy variants — desktop text by default, condensed text on small phones */
.hero-copy--mobile { display: none; }

@media (max-width: 480px) {
  .hero-copy--desktop,
  .hero-trust-item--desktop { display: none; }
  .hero-copy--mobile { display: inline; }

  /* Condensed mobile hero — shorter text block leaves more of the film visible */
  .hero-kicker { margin-bottom: 14px; }

  /* Mobile headline in the services-hero style: white upright line + red italic
     accent line. Two fixed lines, never hyphenated; size follows the content
     width (100vw − 2 × 20px gutter). 8.45 = widest line "Meine Produktion."
     (8.2em, Fraunces italic, optical sizing) + ~2.5% margin; capped at 3rem. */
  .hero-headline {
    font-size: min(3rem, calc((100vw - 40px) / 8.45));
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.9;
    margin-bottom: 18px;
    overflow-wrap: normal;
    hyphens: manual;
  }
  .hero-headline .hero-copy--mobile { white-space: nowrap; }
  .hero-headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--red);
    text-transform: none;
  }

  .hero-sub { margin-bottom: 20px; }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  /* Agencies-only veil: keeps kicker and subline readable over bright video frames.
     Stops are anchored in px from the bottom because the text block keeps a
     near-constant height (kicker top ≤ ~450px) while phone heights vary. */
  .agencies-hero-bg ~ .hero-veil {
    background: linear-gradient(
      to top,
      rgba(9, 9, 9, 0.94) 0,
      rgba(9, 9, 9, 0.86) 460px,
      rgba(9, 9, 9, 0.30) 580px,
      rgba(9, 9, 9, 0.12) 100%
    );
  }
}


/* ---------------------------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .agencies-hero-bg img,
  .agencies-hero-bg video {
    animation: none;
  }
}


/* ============================================================================
   AGENCIES V2 — page components (existing tokens only; appended, rules above
   for archived/legacy classes stay untouched)
   ============================================================================ */

/* 01 · Hero: white upright line + red italic line, compact desktop block */
.ag-hero--v2 .hero-headline em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--red);
  letter-spacing: -0.02em;
}
.ag-hero--v2 .hero-sub { color: #D6D2CE; }
/* Two fixed lines (white roman / red italic), never broken inside a line.
   Sizes below are measured against the widest line "Unsere Produktion."
   (≈ 8.8em in Fraunces italic) so it always fits the text column. */
.ag-hero--v2 .hero-headline { white-space: nowrap; overflow-wrap: normal; hyphens: manual; }
@media (min-width: 901px) {
  .ag-hero--v2 .hero-veil {
    background:
      linear-gradient(to right, rgba(9,9,9,0.72) 0%, rgba(9,9,9,0.38) 42%, rgba(9,9,9,0) 68%),
      linear-gradient(to top, rgba(9,9,9,0.9) 0%, rgba(9,9,9,0.5) 42%, rgba(9,9,9,0.2) 100%);
  }
  .ag-hero--v2 .hero-headline {
    max-width: 50%; /* text column; widest line ≈ 8.8em stays ≤ ~46 % of the content width */
    font-size: clamp(2.75rem, 4.3vw, 5.5rem);
    line-height: 0.92;
    overflow-wrap: normal;
    hyphens: manual;
  }
  .ag-hero--v2 .hero-headline em { display: inline-block; margin-top: 0.08em; }
  .ag-hero--v2 .hero-sub { max-width: min(46ch, 50%); }
}

/* Shared section head */
.ag-kicker-red { color: var(--red); }
.ag-head { max-width: 780px; }
.ag-head .agencies-section-title { margin-top: 16px; }
.ag-head .agencies-lede { max-width: 58ch; }

/* 02 · Production modules — four compact cards in one row */
.ag-modules { background: var(--black); }
.ag-mod-grid {
  list-style: none;
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.ag-mod-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.2vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
}
.ag-mod-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(16px, 2vw, 28px);
}
.ag-mod-n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--red);
}
.ag-mod-card .ag-mod-top { margin-bottom: 4px; }
.ag-mod-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--black);
  margin-bottom: clamp(8px, 1vw, 14px);
}
.ag-mod-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ag-mod-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--off-white);
}
.ag-mod-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* 03 · Collaboration — three steps (reuses .agencies-process-step styles) */
.ag-process { padding-top: var(--section-y); }
.ag-steps {
  list-style: none;
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0 0 clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.ag-process .agencies-process-img { aspect-ratio: 16 / 10; }

/* 04 · BLACKTHORNE — large 16:9 featured film, opens the existing lightbox */
.ag-feature {
  background: var(--black);
  padding-block: var(--section-y);
  border-top: 1px solid var(--border);
}
.ag-feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.ag-feature-head .agencies-section-title { margin-top: 16px; }
.ag-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 54ch;
}
.ag-spec-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid rgba(232,40,46,0.6);
  padding: 5px 9px 4px;
  line-height: 1.5;
}
.ag-feature-film {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
}
.ag-feature-film img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.ag-feature-film:hover img { transform: scale(1.025); }
.ag-feature-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,0.75) 0%, rgba(9,9,9,0.1) 40%, rgba(9,9,9,0) 100%);
  pointer-events: none;
}
.ag-feature-play {
  position: absolute;
  left: clamp(18px, 2.4vw, 36px);
  bottom: clamp(18px, 2.4vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease);
}
.ag-feature-film:hover .ag-feature-play,
.ag-feature-film:focus-visible .ag-feature-play { background: var(--red-hover); }
.ag-feature-film:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ag-feature-cat {
  position: absolute;
  right: clamp(18px, 2.4vw, 36px);
  bottom: clamp(22px, 2.6vw, 38px);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* 05 · More productions — compact gallery (same pattern as brands V2) */
.ag-gallery-section { padding-bottom: var(--section-y); border-top: 1px solid var(--border); }
.ag-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
}
.ag-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.ag-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.ag-tile:hover .ag-tile-img { transform: scale(1.04); }
.ag-tile-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,9,0.92) 0%, rgba(9,9,9,0.25) 55%, rgba(9,9,9,0.1) 100%);
  pointer-events: none;
}
.ag-tile-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--red);
}
.ag-tile-body {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.ag-tile-cat {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  line-height: 1.4;
}
.ag-tile-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--off-white);
  overflow-wrap: anywhere;
}
.ag-tile-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  cursor: pointer;
}
.ag-tile-play svg { margin-bottom: 1px; }
.ag-tile:hover .ag-tile-play { color: var(--red); }
.ag-tile-play:focus-visible { outline-offset: -3px; color: var(--red); }
.ag-tile-case {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1px solid rgba(244,241,235,0.3);
}
.ag-tile-case:hover { color: var(--off-white); }
.ag-gallery-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 06 · Get started — light action area (same light palette as brands V2) */
.ag-start {
  --ag-light-bg:  #D8D3CC;
  --ag-ink:       #1F1D1B;
  --ag-ink-2:     #45413D;
  --ag-muted:     #5F5A55;
  --ag-accent:    #C31D32;
  --ag-accent-hover: #A8182B;
  background: var(--ag-light-bg);
  color: var(--ag-ink);
  padding-block: clamp(72px, 8vw, 136px);
}
.ag-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) max-content;
  gap: clamp(28px, 4.5vw, 80px);
  align-items: end;
}
.ag-start-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ag-ink);
}
.ag-start-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 2px;
  background: var(--ag-accent);
}
.ag-start-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 4.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ag-ink);
}
.ag-start-title em { font-style: italic; font-weight: 400; color: var(--ag-accent); }
.ag-start-copy {
  max-width: 40ch;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ag-ink-2);
}
.ag-start-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.ag-start-actions .btn { justify-content: center; text-align: center; line-height: 1.3; }
@media (min-width: 1101px) { .ag-start-actions .btn { white-space: nowrap; } }
.ag-start .btn--red { background: var(--ag-accent); color: #fff; }
.ag-start .btn--red:hover { background: var(--ag-accent-hover); }
.ag-btn-dark-outline {
  border: 1px solid var(--ag-ink);
  color: var(--ag-ink);
}
.ag-btn-dark-outline:hover { background: var(--ag-ink); color: #F2EEE9; }
.ag-start :focus-visible { outline-color: var(--ag-ink); }

/* 07 · Contact */
.contact-headline em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

/* Responsive */
@media (max-width: 1280px) and (min-width: 901px) {
  .ag-tile-case { top: 12px; bottom: auto; }
}
@media (max-width: 1100px) {
  .ag-mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-start-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ag-start-head { grid-column: 1 / -1; }
  .ag-start-actions { align-items: stretch; }
}
@media (max-width: 900px) {
  .ag-steps { grid-template-columns: 1fr; max-width: 560px; }
  .ag-feature-head { grid-template-columns: 1fr; }
  .ag-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .ag-tile { flex: 0 0 min(68vw, 300px); scroll-snap-align: start; }
  .ag-tile-cat { font-size: 0.625rem; }
  .ag-tile-title { font-size: 1.375rem; }
}
@media (max-width: 640px) {
  .ag-mod-grid { grid-template-columns: 1fr; max-width: 460px; }
  .ag-start-grid { grid-template-columns: 1fr; }
  .ag-start-actions .btn { width: 100%; }
  .ag-feature-cat { display: none; }
  .ag-feature-play { padding: 11px 16px; font-size: 0.6875rem; }
  .ag-feature-film { margin-inline: calc(var(--gutter) * -1); width: calc(100% + 2 * var(--gutter)); border-inline: 0; }
  .contact-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  /* Mobile: size follows the content width (100vw − 2 × 20px gutter) so the
     red line "Unsere Produktion." (≈ 8.8em) stays on one line; capped at 3rem. */
  .ag-hero--v2 .hero-headline { font-size: min(3rem, calc((100vw - 40px) / 9.1)); }
}
