/* ==========================================================================
   diginights GmbH – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #fd4816;
  --brand-600: #d63a0c;
  --brand-glow: rgba(253, 72, 22, .35);
  --lime: #caeb30;

  --ink: #0b0c10;
  --ink-2: #13151b;
  --ink-3: #1c1f27;
  --on-dark: #f5f6f8;
  --on-dark-muted: #a3a9b6;
  --line-dark: rgba(255, 255, 255, .1);

  --text: #0f1115;
  --muted: #5b6270;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(16, 18, 24, .04), 0 18px 40px -18px rgba(16, 18, 24, .22);
  --shadow-lg: 0 30px 80px -30px rgba(16, 18, 24, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::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.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.015em; line-height: 1.25; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 600px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; } }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--brand-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 0 4px rgba(253, 72, 22, .15); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brand); }

.accent { color: var(--brand); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.btn--primary:hover { background: var(--brand); transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .22); color: var(--on-dark); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.nav-open {
  background: rgba(11, 12, 16, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-dark);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: rgba(245, 246, 248, .78);
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .nav__cta { margin-left: 8px; background: var(--brand-600); color: #fff; }
.nav .nav__cta:hover { background: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: rgba(11, 12, 16, .97);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav .nav__cta { margin: 10px 0 0; text-align: center; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; left: -300px; top: -420px;
  background: radial-gradient(closest-side, rgba(253, 72, 22, .32), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 20%, #000 10%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero__copy .lead { color: var(--on-dark); margin-bottom: .9em; }
.hero__copy p:not(.lead):not(.eyebrow) { color: var(--on-dark-muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__reviews { margin-top: 28px; min-height: 40px; width: fit-content; }

.hero__media {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.tile {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--ink-3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  border: 1px solid var(--line-dark);
}
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9.4; }
.tile--sq { aspect-ratio: 4 / 3.3; }
.tile figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; line-height: 1.2;
  color: #fff; background: rgba(11, 12, 16, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
}
.chip img { height: 13px; width: auto; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(202, 235, 48, .25); }
.tile--tech { border-color: rgba(202, 235, 48, .35); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 640px; }
}
@media (max-width: 480px) {
  .hero__media { gap: 10px; }
  .tile figcaption { left: 8px; bottom: 8px; right: 8px; }
  .chip { font-size: .72rem; padding: 6px 10px; }
}

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; width: 800px; height: 800px; right: -320px; top: -380px;
  background: radial-gradient(closest-side, rgba(253, 72, 22, .28), transparent 70%);
}
.page-hero p { color: var(--on-dark-muted); max-width: 62ch; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-dark); }
.photo-grid img:nth-child(2) { transform: translateY(24px); }
.photo-grid img:nth-child(4) { transform: translateY(24px); }
@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .photo-grid img:nth-child(2), .photo-grid img:nth-child(4) { transform: none; }
}

/* ---------- Partner-Leiste ---------- */
.partners { padding-block: clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.partners__title { text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.partners__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); }
.partners__list img {
  height: 52px; width: auto; max-width: 140px; object-fit: contain;
  filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s;
}
.partners__list img:hover { filter: none; opacity: 1; }
@media (max-width: 480px) { .partners__list img { height: 34px; max-width: 92px; } }

/* ---------- Angebote ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 320px; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--ink); color: var(--on-dark);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer::before {
  content: ""; position: absolute; z-index: -1; inset: auto -120px -180px auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  transition: transform .5s var(--ease);
}
.offer:hover::before { transform: scale(1.15); }
.offer--ditix { --glow: rgba(202, 235, 48, .35); }
.offer--dn { --glow: rgba(253, 72, 22, .45); }
.offer__logo { height: 44px; width: auto; max-width: 70%; object-fit: contain; object-position: left; }
.offer--dn .offer__logo { height: 34px; }
.offer h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0; max-width: 18ch; }
.offer__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-dark-muted); transition: color .2s; }
.offer__link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.offer:hover .offer__link { color: #fff; }
.offer:hover .offer__link svg { transform: translate(3px, -3px); }
.offer--ditix .offer__link { color: var(--lime); }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } .offer { min-height: 260px; } }

/* ---------- Mission ---------- */
.mission {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ff5a26 0%, var(--brand) 40%, #c7330a 100%);
  color: #fff;
}
.mission::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.mission h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; }
.mission p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.3vw, 1.85rem); line-height: 1.35; letter-spacing: -.01em; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; } }

/* ---------- Video-Elemente ---------- */
.video-thumb {
  position: relative; display: block; width: 100%; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink-3);
  text-align: left;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.video-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 12, 16, .55));
  transition: opacity .3s;
}
.video-thumb:hover img { transform: scale(1.04); }
.play {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-thumb:hover .play { transform: scale(1.08); background: var(--brand); color: #fff; }
.video-thumb--lg { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.video-thumb--lg .play { width: 88px; height: 88px; }
.video-thumb--lg .play svg { width: 30px; height: 30px; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }

.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; list-style: none; }
.video-card h3 { font-size: .95rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; margin: 14px 0 0; }
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .video-card .play { width: 48px; height: 48px; } .video-card .play svg { width: 18px; height: 18px; } .video-card h3 { font-size: .8rem; } }

/* Lightbox */
.lightbox {
  width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: var(--radius); background: #000; color: #fff; overflow: visible;
}
.lightbox::backdrop { background: rgba(5, 6, 8, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 32px); border-radius: var(--radius); overflow: hidden; }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; right: 0; top: -52px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff;
  transition: background-color .2s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__title { position: absolute; left: 4px; top: -44px; right: 60px; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .85); }

/* ---------- Zahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.stat {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  transition: border-color .3s, transform .3s var(--ease);
}
.stat:hover { border-color: rgba(253, 72, 22, .45); transform: translateY(-2px); }
.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.035em;
  color: #fff; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--on-dark-muted); font-size: 1rem; line-height: 1.45; display: block; }
.stat--feature { background: linear-gradient(150deg, rgba(253, 72, 22, .22), var(--ink-2) 60%); border-color: rgba(253, 72, 22, .35); }
.stat--feature .stat__num { color: var(--brand); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Kunden-Logos ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; list-style: none; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.logo-wall li { display: grid; place-items: center; height: 128px; padding: 22px; background: var(--ink); transition: background-color .3s; }
.logo-wall li:hover { background: var(--ink-2); }
.logo-wall img { max-height: 64px; max-width: 150px; width: auto; object-fit: contain; opacity: .78; transition: opacity .3s, transform .3s var(--ease); }
.logo-wall li:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 960px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-wall li { height: 104px; } .logo-wall img { max-height: 52px; max-width: 120px; } }

/* ---------- Kundenstimmen ---------- */
.testimonials-embed { min-height: 240px; }

/* ---------- Office / Technik ---------- */
.bento {
  display: grid; gap: 14px; list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 16vw, 210px);
  grid-template-areas:
    "a a b c"
    "a a d c"
    "e f f g";
}
.bento li { overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bento li:hover img { transform: scale(1.05); }
.bento li:nth-child(1) { grid-area: a; } .bento li:nth-child(2) { grid-area: b; } .bento li:nth-child(3) { grid-area: c; }
.bento li:nth-child(4) { grid-area: d; } .bento li:nth-child(5) { grid-area: e; } .bento li:nth-child(6) { grid-area: f; }
.bento li:nth-child(7) { grid-area: g; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d c" "e g" "f f"; grid-auto-rows: 150px; }
}

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
}
.split h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; }
.split p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- Guest-Experience ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.card {
  overflow: hidden; border-radius: var(--radius-lg); background: var(--bg);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 26px 28px; }
.card__body p { color: var(--muted); }
.card__num { font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .12em; color: var(--brand-600); margin-bottom: 10px; display: block; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; }
.team__intro { display: flex; flex-direction: column; justify-content: center; padding-right: 12px; }
.team__intro h2 { margin-bottom: .35em; }
.team__intro p { color: var(--muted); font-size: 1.1rem; }
.member { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg-soft); }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.member:hover img { transform: scale(1.05); }
.member figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(11, 12, 16, .85));
  color: #fff;
}
.member strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.member span { font-size: .9rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 960px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } .team__intro { grid-column: 1 / -1; padding: 0 0 8px; } }
@media (max-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .member strong { font-size: 1.05rem; } .member span { font-size: .8rem; } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; max-width: 1040px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 170px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(253, 72, 22, .15));
}
.tl-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0 44px; position: relative; padding-bottom: 28px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  position: sticky; top: calc(var(--header-h) + 24px); align-self: start;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap;
  padding-top: 26px; padding-right: 26px; text-align: right;
}
.tl-item::before {
  content: ""; position: absolute; left: 164px; top: 34px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-soft); border: 3px solid var(--brand);
}
.tl-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; align-items: start;
  padding: 28px; border-radius: var(--radius-lg); background: var(--bg);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.tl-card--text { grid-template-columns: 1fr; }
.tl-card h3 { margin-bottom: .7em; }
.tl-card ul { list-style: none; display: grid; gap: 8px; }
.tl-card li { position: relative; padding-left: 22px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.tl-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--brand); border-radius: 2px; }
.tl-card li a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tl-card .video-thumb { border-radius: 14px; }
.tl-card .play { width: 48px; height: 48px; }
.tl-card .play svg { width: 18px; height: 18px; }
.tl-note { margin-top: 12px; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) {
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 36px; }
  .tl-item::before { left: 1px; top: 6px; }
  .tl-year { position: static; text-align: left; padding: 0 0 12px; font-size: 1.35rem; }
  .tl-card { grid-template-columns: 1fr; padding: 22px; }
  .tl-card .video-thumb { order: -1; }
}

/* ---------- Projekte ---------- */
.project {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-dark);
}
.project:first-of-type { border-top: 0; padding-top: 0; }
.project--flip .project__media { order: 2; }
.project h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: .1em; }
.project__sub { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--brand); margin-bottom: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 22px; }
.facts li {
  padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); color: var(--on-dark);
}
.facts li:first-child { background: rgba(253, 72, 22, .16); border-color: rgba(253, 72, 22, .4); }
.facts__label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 10px; }
.project p { color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project--flip .project__media { order: 0; }
}

.client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.client {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--bg);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.client__media { position: relative; background: var(--bg-soft); }
.client__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.client__media--fit img { object-fit: contain; padding: 18px; background: #fff; }
.client__credit { position: absolute; right: 10px; bottom: 10px; font-size: .72rem; padding: 4px 9px; border-radius: 999px; background: rgba(11, 12, 16, .62); color: #fff; }
.client__credit a { text-decoration: underline; text-underline-offset: 2px; }
.client__body { padding: 26px 28px 30px; }
.client__body h3 { margin-bottom: .25em; font-size: 1.4rem; }
.client__sub { font-weight: 600; color: var(--brand-600); margin-bottom: 14px; }
.client__body > p { color: var(--muted); font-size: 1rem; }
.client__web { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; margin: 6px 0 18px; }
.client__web svg { width: 16px; height: 16px; color: var(--brand-600); }
.services { border-top: 1px solid var(--line); padding-top: 16px; }
.services__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { padding: 6px 11px; border-radius: 999px; background: var(--bg-soft); font-size: .76rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
@media (max-width: 860px) { .client-grid { grid-template-columns: 1fr; } }

/* ---------- Impressum / Rechtstexte ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #343944; }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.prose .card-legal { padding: 28px; border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 1.5em; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; color: #343944; }
@media (max-width: 520px) { .prose dl { grid-template-columns: 1fr; } .prose dd { margin-bottom: 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(64px, 8vw, 96px); }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer__brand img { height: 26px; width: auto; margin-bottom: 18px; }
.footer__claim { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--on-dark); margin-bottom: 26px; }
.social { display: flex; gap: 10px; list-style: none; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color .2s, border-color .2s, color .2s;
}
.social a:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.social svg { width: 18px; height: 18px; }
.trust { padding: 22px; border-radius: var(--radius); background: #fff; color: var(--text); display: grid; gap: 18px; justify-items: center; }
.trust__badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 24px; list-style: none; }
.trust__badges img { height: 64px; width: auto; }
.trust__badges li:first-child img { height: 78px; }
.footer__offers h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 18px; }
.footer__offers ul { list-style: none; display: grid; gap: 16px; }
.footer__offers a { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-dark); transition: border-color .2s, background-color .2s; }
.footer__offers a:hover { border-color: rgba(253, 72, 22, .5); background: rgba(255, 255, 255, .03); }
.footer__offers strong { display: block; font-weight: 700; }
.footer__offers span { color: var(--on-dark-muted); font-size: .95rem; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; font-size: .92rem; }
.footer__bottom a { color: var(--on-dark-muted); transition: color .2s; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__trust { grid-column: 1 / -1; order: 3; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal-Animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
