/* ==========================================================================
   Boysen Bauunternehmen – Stylesheet
   Design übernommen vom Prototyp boysen.eliasarndt.de
   (Boysen-Rot #E20A16, Poppins/Work Sans, 3px-Radius, Container 1240px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (lokal gehostet – DSGVO-konform, kein Google-CDN)
   -------------------------------------------------------------------------- */
/* Poppins 600 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 700 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Work Sans 400 */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/WorkSans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/WorkSans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Work Sans 400 italic */
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/WorkSans-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/WorkSans-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Work Sans 500 */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/WorkSans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/WorkSans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Work Sans 600 */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/WorkSans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/WorkSans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben – Astra-Globalpalette des Prototyps */
  --c-primary: #E20A16;        /* Boysen-Rot (Flächen, Buttons) */
  --c-primary-dark: #C50812;   /* Hover-Rot */
  --c-primary-text: #D90700;   /* Rot für Text/Links (Kontrast ≥ 4.5:1) */
  --c-ink: #2B161B;            /* Überschriften */
  --c-body: #453E3E;           /* Fließtext */
  --c-muted: #6B5F63;          /* Sekundärtext */
  --c-bg: #F7F3F5;             /* Seitenhintergrund (warmes Off-White) */
  --c-bg-alt: #F6F7F8;         /* alternativer Sektionshintergrund */
  --c-surface: #FFFFFF;
  --c-border: #E7DEE1;
  --c-dark: #221114;           /* Footer / dunkle Bänder */
  --c-dark-text: #D9CFD2;      /* Text auf dunklem Grund */
  --c-focus: #1A6DE0;          /* Fokusring (nicht rot, damit unterscheidbar) */

  /* Typografie */
  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', system-ui, sans-serif;

  /* Abstände (8er-Raster) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;

  /* Sonstiges */
  --radius: 3px;               /* Buttons – wie im Prototyp */
  --radius-card: 6px;
  --container: 1240px;         /* wie im Prototyp */
  --shadow-sm: 0 1px 3px rgba(43, 22, 27, 0.08);
  --shadow-md: 0 6px 20px rgba(43, 22, 27, 0.10);
  --shadow-lg: 0 16px 40px rgba(43, 22, 27, 0.16);
  --header-h: 103px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-body);
  background-color: var(--c-bg);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.9rem, 1.1rem + 3.4vw, 3.125rem); font-weight: 700; } /* max 50px */
h2 { font-size: clamp(1.55rem, 1.05rem + 2vw, 2.19rem); font-weight: 700; }  /* max 35px */
h3 { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.12rem; font-weight: 600; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }

ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.35em; }

address { font-style: normal; }

/* Sichtbarer Fokus für Tastaturnutzer */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--c-primary); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Layout-Helfer
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(56px, 5vw + 32px, 96px); }
.section--white { background: var(--c-surface); }
.section--alt { background: var(--c-bg-alt); }

.section-head { max-width: 720px; margin-bottom: var(--sp-5); }
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary-text);
  margin-bottom: var(--sp-1);
}

.lead { font-size: 1.16rem; line-height: 1.65; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1001;
  background: var(--c-ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  transition: top 150ms ease-out;
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 28px;
  border: 2px solid var(--c-primary);
  border-radius: var(--radius);
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out, box-shadow 200ms ease-out;
}
.btn:hover, .btn:focus-visible {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { flex: none; }

.btn--outline { background: transparent; color: var(--c-primary-text); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

.btn--white { background: #fff; border-color: #fff; color: var(--c-ink); }
.btn--white:hover, .btn--white:focus-visible { background: var(--c-bg); border-color: var(--c-bg); color: var(--c-ink); }

.btn--ghost-white { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost-white:hover, .btn--ghost-white:focus-visible { background: #fff; color: var(--c-ink); }

/* Text-Link mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-primary-text);
}
.arrow-link svg { transition: transform 200ms ease-out; }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Topbar + Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--c-dark);
  color: var(--c-dark-text);
  font-size: 0.88rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: 40px;
  padding-block: 4px;
}
.topbar__group { display: flex; align-items: center; gap: var(--sp-3); }
.topbar a {
  color: var(--c-dark-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
}
.topbar a:hover { color: #fff; }
.topbar svg { flex: none; opacity: 0.75; }
@media (max-width: 640px) {
  .topbar__mail-label { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 200ms ease-out;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
  padding-block: 14px;
  padding-inline: clamp(24px, 4vw, 40px);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 190px; height: auto; }

@media (max-width: 640px) {
  .brand img { width: 150px; }
}

/* Navigation */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--c-bg); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  transition: color 150ms ease-out, background-color 150ms ease-out;
}
.site-nav a:hover { color: var(--c-primary-text); background: var(--c-bg); }
.site-nav a[aria-current="page"] {
  color: var(--c-primary-text);
  box-shadow: inset 0 -3px 0 var(--c-primary);
  border-radius: var(--radius) var(--radius) 0 0;
}
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta a {
  background: var(--c-primary);
  color: #fff;
  padding-inline: 20px;
}
.site-nav .nav-cta a:hover { background: var(--c-primary-dark); color: #fff; }
.site-nav .nav-cta a[aria-current="page"] { box-shadow: none; border-radius: var(--radius); }

@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) clamp(16px, 4vw, 32px) var(--sp-3);
  }
  .site-nav a {
    display: flex;
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--c-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--c-bg);
  }
  .site-nav .nav-cta { margin-left: 0; margin-top: var(--sp-1); }
  .site-nav .nav-cta a { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Hero (Startseite)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 780px);
  padding-block: clamp(72px, 10vw, 128px);
  background-color: var(--c-ink);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(24, 10, 13, 0.88) 0%, rgba(24, 10, 13, 0.66) 45%, rgba(24, 10, 13, 0.28) 100%);
}
.hero__content { max-width: 720px; }
.hero__content .kicker { color: #FF8A91; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.16rem;
  max-width: 620px;
  margin-bottom: var(--sp-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* Unterseiten-Hero */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
  background-color: var(--c-ink);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(24, 10, 13, 0.9) 0%, rgba(24, 10, 13, 0.7) 50%, rgba(24, 10, 13, 0.45) 100%);
}
.page-hero h1 { color: #fff; margin-bottom: 0.25em; }
.page-hero .kicker { color: #FF8A91; }
.page-hero__lead { color: rgba(255, 255, 255, 0.92); font-size: 1.14rem; max-width: 680px; margin: 0; }

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--sp-2); font-size: 0.9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb li + li::before { content: "›"; color: rgba(255, 255, 255, 0.6); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; }

/* --------------------------------------------------------------------------
   Stats-Band
   -------------------------------------------------------------------------- */
.stats { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  padding-block: var(--sp-5);
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem);
  font-weight: 700;
  color: var(--c-primary-text);
  line-height: 1.1;
}
.stat__label { font-size: 0.98rem; color: var(--c-muted); margin-top: 4px; }
@media (max-width: 767px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-2); }
}

/* --------------------------------------------------------------------------
   Karten: Leistungen
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: var(--sp-3);
}
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 991px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--sp-2);
  border-radius: var(--radius-card);
  background: rgba(226, 10, 22, 0.08);
  color: var(--c-primary-text);
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--c-muted); font-size: 0.99rem; }

/* --------------------------------------------------------------------------
   Referenzen-Grid
   -------------------------------------------------------------------------- */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}
.filterbar__btn {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-body);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.filterbar__btn:hover { border-color: var(--c-primary); color: var(--c-primary-text); }
.filterbar__btn[aria-pressed="true"] {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 991px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ref-grid { grid-template-columns: 1fr; } }

.ref-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ref-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.ref-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out;
}
.ref-card:hover .ref-card__media img { transform: scale(1.05); }
.ref-card__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ref-card__cat {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary-text);
}
.ref-card h3 { font-size: 1.18rem; margin: 0; }
.ref-card h3 a { color: var(--c-ink); text-decoration: none; }
.ref-card h3 a::after { content: ""; position: absolute; inset: 0; }   /* ganze Karte klickbar */
.ref-card h3 a:hover { color: var(--c-primary-text); }
.ref-card__meta { color: var(--c-muted); font-size: 0.92rem; margin-top: auto; }

/* Platzhalter-Kachel (Projekt ohne Foto) */
.ref-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2B161B 0%, #4B2A31 100%);
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   Projekt-Detailseite
   -------------------------------------------------------------------------- */
.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--sp-6);
  align-items: start;
}
@media (max-width: 991px) { .project-layout { grid-template-columns: 1fr; gap: var(--sp-4); } }

.facts {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.facts h2 { font-size: 1.2rem; margin-bottom: var(--sp-2); }
.facts dl { margin: 0; }
.facts dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: var(--sp-2);
}
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; color: var(--c-ink); font-weight: 500; }
.facts ul { list-style: none; padding: 0; margin: 2px 0 0; }
.facts li { padding-left: 24px; position: relative; margin-bottom: 2px; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--c-primary);
  border-bottom: 2.5px solid var(--c-primary);
  transform: rotate(-45deg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
@media (max-width: 767px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--c-bg-alt);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-out;
}
.gallery a:hover img { transform: scale(1.04); }

/* Blätter-Navigation zwischen Projekten */
.project-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.project-nav a { max-width: 48%; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 8, 10, 0.92);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}
.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Media-Text-Sektionen (Unternehmen)
   -------------------------------------------------------------------------- */
.media-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.media-text + .media-text { margin-top: var(--sp-6); }
@media (max-width: 860px) {
  .media-text { grid-template-columns: 1fr; }
  .media-text__media { order: -1; }
}
.media-text--flip .media-text__media { order: -1; }
@media (min-width: 861px) {
  .media-text--flip .media-text__media { order: 0; }
  .media-text--flip .media-text__body { order: 1; }
  .media-text--flip { direction: rtl; }
  .media-text--flip > * { direction: ltr; }
}
.media-text__media img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Hochformat-Foto: volle Bildhöhe zeigen statt 4:3 beschneiden */
.media-text__media img.is-portrait {
  aspect-ratio: 933 / 1400;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Bildlose Text-Sektionen (Unternehmen): Statement + Highlight-Panel
   -------------------------------------------------------------------------- */
/* Aussage-Block – ruhiger, zentrierter Textmoment ohne Foto */
.statement {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.statement::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--c-primary);
  margin: 0 auto var(--sp-3);
}
.statement__lead {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-ink);
  font-size: clamp(1.2rem, 1.02rem + 0.9vw, 1.5rem);
  line-height: 1.45;
  margin-bottom: var(--sp-3);
}
.statement p:last-child { color: var(--c-muted); margin-bottom: 0; }

/* Highlight-Panel – Nachwuchs/Zukunft mit Slogan & CTA, statt Foto */
.highlight {
  margin-top: var(--sp-6);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 64px);
  text-align: center;
}
.highlight h2 { margin-bottom: 0.4em; }
.highlight > p { max-width: 620px; margin-inline: auto; color: var(--c-muted); }
.highlight__slogan {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--c-ink);
  font-size: clamp(1.5rem, 1.05rem + 2.3vw, 2.4rem);
  line-height: 1.2;
  margin: var(--sp-4) auto var(--sp-4);
  max-width: none;
}
.highlight__slogan .dot { color: var(--c-primary-text); }
.statement + .media-text { margin-top: var(--sp-6); }

/* Checkliste */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--c-primary);
  border-bottom: 3px solid var(--c-primary);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Jobs
   -------------------------------------------------------------------------- */
.job {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-2);
  overflow: hidden;
}
.job__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
}
.job__summary:hover { background: var(--c-bg); }
.job__title { font-size: 1.25rem; font-weight: 600; color: var(--c-ink); }
.job__badge {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(226, 10, 22, 0.08);
  color: var(--c-primary-text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}
.job__chevron {
  flex: none;
  color: var(--c-primary-text);
  transition: transform 250ms ease-out;
}
.job__summary[aria-expanded="true"] .job__chevron { transform: rotate(180deg); }
.job__panel { padding: 0 var(--sp-4) var(--sp-4); }
.job__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}
@media (max-width: 767px) { .job__cols { grid-template-columns: 1fr; } }
.job__panel[hidden] { display: none; }

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
@media (max-width: 991px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--sp-2) var(--sp-3);
}
.benefit svg { flex: none; color: var(--c-primary-text); }
.benefit span { font-weight: 500; color: var(--c-ink); }

/* --------------------------------------------------------------------------
   Formular
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.form-field .req { color: var(--c-primary-text); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #C9BDC1;
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(226, 10, 22, 0.15);
}
.form-field .hint { font-size: 0.88rem; color: var(--c-muted); margin-top: 5px; }
.form-field .error-msg { display: none; font-size: 0.9rem; color: var(--c-primary-text); margin-top: 5px; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--c-primary); }
.form-field.has-error .error-msg { display: block; }

.form-check { display: flex; align-items: flex-start; gap: 12px; }
.form-check input {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin-top: 3px;
  flex: none;
  accent-color: var(--c-primary);
}
.form-check label { margin: 0; font-weight: 400; font-size: 0.95rem; color: var(--c-body); }

.form-status { margin-top: var(--sp-2); font-weight: 500; }
.form-status--ok { color: #1B7A3D; }

/* --------------------------------------------------------------------------
   CTA-Band (Recruiting / Kontakt)
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(115deg, var(--c-primary) 0%, #B00610 100%);
  color: #fff;
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: rgba(255, 255, 255, 0.92); max-width: 640px; margin: 0; }
.cta-band .btn--white:hover { transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   Partner-Logos
   -------------------------------------------------------------------------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 88px);
}
.partners a { display: inline-flex; padding: 8px; }
.partners img {
  height: 52px;
  width: auto;
}
@media (max-width: 640px) { .partners img { height: 40px; } }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.contact-card h3 svg { color: var(--c-primary-text); flex: none; }
.contact-card a { font-weight: 500; }
.contact-card .big {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--c-ink);
}
.contact-card .big:hover { color: var(--c-primary-text); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 10px 0; border-bottom: 1px solid var(--c-border); text-align: left; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 500; color: var(--c-ink); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Instagram-Sektion
   -------------------------------------------------------------------------- */
.insta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Eissing-Callout
   -------------------------------------------------------------------------- */
.callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid #189B3A;
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.callout img { width: 150px; height: auto; }
.callout h3 { margin-bottom: 0.3em; }
.callout p { margin: 0; color: var(--c-muted); }
@media (max-width: 860px) {
  .callout { grid-template-columns: 1fr; text-align: left; gap: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   Prose (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.prose h2 { margin-top: var(--sp-5); }
.prose h3 { margin-top: var(--sp-4); }
.prose h2:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-dark);
  color: var(--c-dark-text);
  padding-top: var(--sp-6);
}
.site-footer a { color: var(--c-dark-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
}
@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { width: 107px; margin-bottom: var(--sp-2); }
.footer-brand .slogan {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--sp-2);
}
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-2); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.footer-social a:hover { background: var(--c-primary); transform: translateY(-2px); }
.footer-social svg { color: #fff; }

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list .with-icon { display: flex; align-items: flex-start; gap: 10px; }
.footer-list .with-icon svg { flex: none; margin-top: 5px; opacity: 0.7; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Scroll-Reveal (dezent; wird ohne JS oder mit reduced motion übersprungen)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
  }
  .js .reveal.in-view { opacity: 1; transform: none; }
  .js .reveal-d1.in-view { transition-delay: 80ms; }
  .js .reveal-d2.in-view { transition-delay: 160ms; }
  .js .reveal-d3.in-view { transition-delay: 240ms; }
}

/* --------------------------------------------------------------------------
   Video-Shorts (Reels)
   Reihe aus Hochkant-Videos: Hover = stumme Vorschau (pausiert beim Verlassen
   und läuft an gleicher Stelle weiter), Klick = aktiv (größer, Ton von vorn,
   die anderen weichen zurück). Videos laden erst bei Interaktion
   (preload="none" + Poster-JPG) und kosten daher keine Ladezeit.
   -------------------------------------------------------------------------- */
.shorts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
}
.short {
  position: relative;
  flex: 1 1 0;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--c-dark);
  cursor: pointer;
  isolation: isolate;
  transition: flex-grow .5s ease, max-width .5s ease, box-shadow .5s ease;
}
.shorts.has-active .short { flex-grow: .72; max-width: 246px; }
.shorts.has-active .short.is-active {
  flex-grow: 1.65;
  max-width: 390px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 760px) {
  .shorts {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--c-border) transparent;
  }
  .short,
  .shorts.has-active .short,
  .shorts.has-active .short.is-active {
    flex: 0 0 min(64vw, 260px);
    max-width: none;
    box-shadow: none;
  }
  .short { scroll-snap-align: center; }
}
.short video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.short::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(34, 17, 20, .72) 0%, rgba(34, 17, 20, 0) 34%);
  pointer-events: none;
}
.short__label {
  position: absolute;
  left: 14px; right: 14px; bottom: 13px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .86rem;
  line-height: 1.35;
  pointer-events: none;
}
.short__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--c-ink);
  transform: translate(-50%, -50%);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.short__play svg { width: 22px; height: 22px; margin-left: 2px; }
/* Beim Hover-Preview bleibt der Play-Button sichtbar; er verschwindet erst,
   wenn das Video per Klick groß abgespielt wird. */
.short.is-active .short__play { opacity: 0; transform: translate(-50%, -50%) scale(.8); }

/* --------------------------------------------------------------------------
   Teamfeste (Sommerfest / Weihnachtsfeier) – dunkles Band mit Foto-Raster
   und einem Video, das auf Hover stumm vorschaut und per Klick Ton bekommt.
   -------------------------------------------------------------------------- */
.crew-events { background: var(--c-dark); color: var(--c-dark-text); }
.crew-events .kicker { color: #FF8A91; }
.crew-events h2 { color: #fff; }
.crew-events__head {
  display: grid;
  grid-template-columns: 1.15fr .7fr;
  gap: clamp(36px, 8vw, 112px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.crew-events__head > p { max-width: 36em; font-size: 1.13rem; line-height: 1.65; margin: 0; }
.crew-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(250px, 24vw, 320px);
  gap: clamp(10px, 1.5vw, 18px);
}
.crew-gallery__item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: var(--radius-card);
  background: #17090c;
  border: 1px solid rgba(255, 255, 255, .12);
}
.crew-gallery__item img,
.crew-gallery__item video { width: 100%; height: 100%; object-fit: cover; }
.crew-gallery__item--people { grid-column: 1 / span 4; grid-row: 1; }
.crew-gallery__item--wide { grid-column: 5 / span 4; grid-row: 1; }
.crew-gallery__item--detail { grid-column: 1 / span 4; grid-row: 2; }
.crew-gallery__item--portrait { grid-column: 5 / span 4; grid-row: 2; }
.crew-gallery__item--video { grid-column: 9 / span 4; grid-row: 1 / span 2; }
.crew-gallery__item--people img { object-position: 50% 38%; }
.crew-gallery__item--wide img { object-position: 50% 48%; }
.crew-gallery__item--detail img { object-position: 50% 46%; }
.crew-gallery__item--portrait img { object-position: 50% 34%; }
.crew-video { display: block; width: 100%; padding: 0; color: var(--c-ink); font: inherit; text-align: inherit; cursor: pointer; appearance: none; }
.crew-video video { display: block; pointer-events: none; }
.crew-video__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 68px; height: 68px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--c-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  pointer-events: none;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.crew-video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.crew-video:hover .crew-video__play { transform: scale(1.06); background: #fff; }
.crew-video.is-playing .crew-video__play { opacity: 0; visibility: hidden; }
@media (max-width: 900px) {
  .crew-events__head { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .crew-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .crew-gallery__item,
  .crew-gallery__item--people,
  .crew-gallery__item--wide,
  .crew-gallery__item--detail,
  .crew-gallery__item--portrait,
  .crew-gallery__item--video { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .crew-gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
  .crew-gallery__item--video { grid-column: span 2; aspect-ratio: 9 / 12; }
}

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .filterbar, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
