/* =============================================================
   Epple Multimedia – Design System
   Brandfarben: Pink #b50a47, Teal #007565, Blau #007bce
   ============================================================= */

:root {
  /* Brand */
  --c-pink:      #b50a47;   /* Streaming */
  --c-teal:      #007565;   /* Konferenz */
  --c-blue:      #047bce;   /* Veranstaltung */
  --c-cyan:      #00b4d8;
  --c-mint:      #00c9a7;

  /* Kategorie-Aliasse */
  --c-veranstaltung: #047bce;
  --c-streaming:     #b50a47;
  --c-konferenz:     #007565;

  /* Neutrals */
  --c-bg:        #0a0e14;
  --c-bg-soft:   #111720;
  --c-bg-card:   #161d28;
  --c-border:    rgba(255,255,255,.08);
  --c-text:      #f4f6fa;
  --c-text-dim:  #98a3b8;
  --c-text-soft: #c8cfd9;

  /* Layout */
  --maxw:        1440px;
  --pad:         clamp(20px, 4vw, 80px);
  --radius:      14px;
  --radius-lg:   22px;

  /* Typography */
  --font-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;

  /* Shadows */
  --shadow-md:   0 4px 16px rgba(0,0,0,.35);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.5);

  /* Transitions */
  --t:           240ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;   /* Fixed-Header-Offset für Anker */
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--c-text-soft); }

/* ---------- Utilities ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-cyan);
  margin-bottom: 1rem;
}
.gradient-text {
  background: linear-gradient(120deg, var(--c-blue) 0%, var(--c-cyan) 40%, var(--c-teal) 70%, var(--c-mint) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bewegt 8s ease-in-out infinite;
}
@keyframes bewegt {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform var(--t), background var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-blue), var(--c-teal));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,123,206,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,123,206,.5); }
.btn-secondary {
  background: rgba(255,255,255,.06);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-ghost { color: var(--c-cyan); }
.btn-ghost:hover { color: var(--c-mint); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background var(--t), backdrop-filter var(--t), padding var(--t);
}
.site-header.scrolled {
  background: rgba(10,14,20,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
  padding: .7rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: block;
  height: 48px;
  flex-shrink: 0;
}
.logo svg,
.logo img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: .4em 0;
  color: #ffffff;
  opacity: .85;
  transition: opacity var(--t), color var(--t);
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px; width: 0;
  border-radius: 2px;
  background: currentColor;
  transition: width var(--t);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Kategoriefarbe pro Nav-Link */
.nav-links li:nth-child(1) a:hover,
.nav-links li:nth-child(1) a.active { color: var(--c-veranstaltung); }
.nav-links li:nth-child(2) a:hover,
.nav-links li:nth-child(2) a.active { color: var(--c-streaming); }
.nav-links li:nth-child(3) a:hover,
.nav-links li:nth-child(3) a.active { color: var(--c-konferenz); }
.nav-links li:nth-child(4) a:hover,
.nav-links li:nth-child(4) a.active { color: var(--c-cyan); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  position: relative;
  z-index: 110;
  transition: background var(--t), border-color var(--t);
}
.menu-toggle:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  position: relative;
  border-radius: 2px;
  transition: background var(--t);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--c-text);
  border-radius: 2px;
  transition: transform 320ms cubic-bezier(.4,.0,.2,1),
              top      320ms cubic-bezier(.4,.0,.2,1);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top:  7px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 20, .94);
    backdrop-filter: blur(28px) saturate(120%);
    -webkit-backdrop-filter: blur(28px) saturate(120%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 7rem 1.5rem 3rem;
    list-style: none;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 420ms cubic-bezier(.7,0,.2,1),
                visibility 0s 420ms;
    z-index: 90;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 420ms cubic-bezier(.2,.7,.2,1),
                visibility 0s;
  }

  /* Brand-Akzent-Linie oben */
  .nav-links::before {
    content: "";
    position: absolute;
    top: 6rem; left: 1.5rem; right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg,
      var(--c-veranstaltung) 0%, var(--c-veranstaltung) 33%,
      var(--c-streaming)     33%, var(--c-streaming)     66%,
      var(--c-konferenz)     66%, var(--c-konferenz)     100%);
    opacity: 0;
    transition: opacity 400ms ease 200ms;
  }
  .nav-links.open::before { opacity: 1; }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem .5rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 320ms ease,
                transform 380ms cubic-bezier(.2,.7,.2,1),
                color 200ms ease,
                background 200ms ease;
    border-radius: 0;
  }
  /* Pfeil rechts */
  .nav-links a::before {
    content: "→";
    margin-left: 1em;
    color: var(--c-cyan);
    transition: transform var(--t), color var(--t);
    order: 2;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover {
    background: rgba(255,255,255,.04);
    padding-left: 1rem;
  }
  .nav-links a:hover::before { transform: translateX(6px); }

  /* Stagger der Items beim Öffnen */
  .nav-links.open li:nth-child(1) a { opacity: 1; transform: translateX(0); transition-delay: 250ms; }
  .nav-links.open li:nth-child(2) a { opacity: 1; transform: translateX(0); transition-delay: 320ms; }
  .nav-links.open li:nth-child(3) a { opacity: 1; transform: translateX(0); transition-delay: 390ms; }
  .nav-links.open li:nth-child(4) a { opacity: 1; transform: translateX(0); transition-delay: 460ms; }
  .nav-links.open li:nth-child(5) a { opacity: 1; transform: translateX(0); transition-delay: 530ms; }

  /* Brand-Color per Item: Hover + Pfeil-Farbe */
  .nav-links li:nth-child(1) a:hover,
  .nav-links li:nth-child(1) a.active { color: var(--c-veranstaltung); }
  .nav-links li:nth-child(1) a:hover::before,
  .nav-links li:nth-child(1) a.active::before { color: var(--c-veranstaltung); }

  .nav-links li:nth-child(2) a:hover,
  .nav-links li:nth-child(2) a.active { color: var(--c-streaming); }
  .nav-links li:nth-child(2) a:hover::before,
  .nav-links li:nth-child(2) a.active::before { color: var(--c-streaming); }

  .nav-links li:nth-child(3) a:hover,
  .nav-links li:nth-child(3) a.active { color: var(--c-konferenz); }
  .nav-links li:nth-child(3) a:hover::before,
  .nav-links li:nth-child(3) a.active::before { color: var(--c-konferenz); }

  /* Aktive Seite mit linker Akzent-Linie */
  .nav-links a.active {
    background: linear-gradient(90deg, rgba(255,255,255,.04) 0%, transparent 100%);
    border-left: 3px solid currentColor;
    padding-left: 1rem;
  }

  /* Burger → X Animation */
  .menu-toggle.open span { background: transparent; }
  .menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

  /* Kontakt-Info im offenen Menü unten */
  .nav-links::after {
    content: "epple@epple-multimedia.de  ·  +49 7333 96 69-0";
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    right: 1.5rem;
    text-align: center;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--c-text-dim);
    opacity: 0;
    transition: opacity 400ms ease 600ms;
  }
  .nav-links.open::after { opacity: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e14 0%, #0d1218 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0,123,206,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0,117,101,.25) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10,14,20,.4) 0%, rgba(10,14,20,.9) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero-content-center {
  text-align: center;
  margin: 0 auto;
  max-width: 1100px;
}
.hero-content-center .hero-lead {
  margin-left: auto;
  margin-right: auto;
}
.hero-content-center .hero-ctas {
  justify-content: center;
}

/* Kategorie-Nav mit Brand-Quadraten */
.hero-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.hero-cat {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  transition: color var(--t), transform var(--t);
}
.hero-cat:hover { color: #fff; transform: translateY(-1px); }
.hero-cat .cat-sq {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: box-shadow var(--t), transform var(--t);
}
.hero-cat-veranstaltung .cat-sq {
  background: var(--c-veranstaltung);
  box-shadow: 0 0 14px rgba(4,123,206,.55);
}
.hero-cat-streaming .cat-sq {
  background: var(--c-streaming);
  box-shadow: 0 0 14px rgba(181,10,71,.55);
}
.hero-cat-konferenz .cat-sq {
  background: var(--c-konferenz);
  box-shadow: 0 0 14px rgba(0,117,101,.55);
}
.hero-cat:hover .cat-sq {
  transform: scale(1.15);
  box-shadow: 0 0 22px currentColor;
}
.hero-cat-veranstaltung:hover { color: var(--c-veranstaltung); }
.hero-cat-streaming:hover     { color: var(--c-streaming); }
.hero-cat-konferenz:hover     { color: var(--c-konferenz); }
.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.hero-tab {
  padding: .55em 1.2em;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  font-size: .88rem;
  font-weight: 500;
  color: var(--c-text-soft);
  transition: all var(--t);
}
.hero-tab:hover { background: rgba(255,255,255,.12); color: var(--c-text); }

/* Kategoriefarbe pro Hero-Tab */
.hero-tabs a:nth-child(1):hover {
  background: var(--c-veranstaltung);
  border-color: var(--c-veranstaltung);
  color: #fff;
}
.hero-tabs a:nth-child(2):hover {
  background: var(--c-streaming);
  border-color: var(--c-streaming);
  color: #fff;
}
.hero-tabs a:nth-child(3):hover {
  background: var(--c-konferenz);
  border-color: var(--c-konferenz);
  color: #fff;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--c-text-soft);
  margin-bottom: 2.2rem;
  max-width: 640px;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--c-text-dim);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex; flex-direction: column;
  align-items: center; gap: .6rem;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--c-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(.6); }
  50%     { opacity: 1;  transform: scaleY(1); }
}

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--c-text-soft); }

/* ---------- Stats ---------- */
.stats {
  padding: 4rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: .6rem;
}
.stat-label { color: var(--c-text-soft); font-size: .98rem; }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Services Section Background ---------- */
.services-section {
  position: relative;
  overflow: hidden;
  background: #163358;
}
.services-bg { display: none; }
.services-section > .container { position: relative; z-index: 1; }

/* ---------- Slider ---------- */
.slider {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.slider-viewport {
  overflow: hidden;
}
.slider-track {
  display: flex;
  will-change: transform;
  transition: transform 600ms cubic-bezier(.22,.7,.2,1);
}
.slider-track .service-card {
  flex: 0 0 100%;
  min-width: 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t), transform var(--t), border-color var(--t);
  z-index: 3;
}
.slider-arrow:hover {
  background: linear-gradient(135deg, var(--c-blue), var(--c-teal));
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}
.slider-prev { left: -80px; }
.slider-next { right: -80px; }

/* Mittlere Größen: Pfeile rücken näher ran, bleiben aber außerhalb des Texts */
@media (max-width: 1200px) {
  .slider { max-width: 880px; }
  .slider-prev { left: -68px; }
  .slider-next { right: -68px; }
}

/* Tablets/Mobile: Pfeile ausblenden, Dots + Swipe reichen */
@media (max-width: 980px) {
  .slider { max-width: 100%; padding: 0; }
  .slider-arrow { display: none; }
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 2rem;
}
.slider-dots .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: background var(--t), transform var(--t), width var(--t);
  padding: 0; border: 0;
  position: relative;
}
/* Touch-Target vergrößern ohne visuelle Veränderung */
.slider-dots .dot::after {
  content: "";
  position: absolute;
  inset: -10px;
}
.slider-dots .dot:hover { background: rgba(255,255,255,.45); }
.slider-dots .dot.active {
  width: 36px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-teal));
}

/* ---------- Service Card (inside slider) ---------- */
.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 1rem clamp(.5rem, 2vw, 1.5rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Kategoriefarben pro Slide */
.service-card.cat-veranstaltung .eyebrow,
.service-card.cat-veranstaltung .btn-ghost { color: var(--c-veranstaltung); }
.service-card.cat-streaming     .eyebrow,
.service-card.cat-streaming     .btn-ghost { color: var(--c-streaming); }
.service-card.cat-konferenz     .eyebrow,
.service-card.cat-konferenz     .btn-ghost { color: var(--c-konferenz); }

.service-card.cat-veranstaltung .btn-ghost:hover { color: #4aa6e0; }
.service-card.cat-streaming     .btn-ghost:hover { color: #e0436f; }
.service-card.cat-konferenz     .btn-ghost:hover { color: #00a285; }

.service-card h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.service-card .service-text > p { font-size: 1.15rem; }
.service-card ul {
  list-style: none;
  padding: 0; margin: 1.5rem 0 2rem;
}
.service-card li {
  position: relative;
  padding: .5rem 0 .5rem 1.7rem;
  color: var(--c-text-soft);
  border-bottom: 1px solid var(--c-border);
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-veranstaltung);
  transform: translateY(-50%);
}
.service-card li::after {
  content: "";
  position: absolute;
  left: 5px; top: 50%;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-65%) rotate(-45deg);
}
.service-card.cat-veranstaltung li::before { background: var(--c-veranstaltung); }
.service-card.cat-streaming     li::before { background: var(--c-streaming); }
.service-card.cat-konferenz     li::before { background: var(--c-konferenz); }

.service-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
  box-shadow: none;
}
.service-visual video {
  width: 100%; height: 100%; object-fit: cover;
}
.service-visual .visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85) 100%);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  align-self: flex-start;
  padding: .3em .8em;
  background: rgba(255,0,0,.85);
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
}
.live-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: .3; } }
.visual-meta {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  font-family: ui-monospace, monospace;
}

@media (max-width: 900px) {
  .service-card { grid-template-columns: 1fr; padding: 2rem; }
  .service-card.reverse { direction: ltr; }
}

/* ---------- Process Steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  margin-top: 2rem;
}
/* ---------- Process Section (Live-Tech-Panel-Look) ---------- */
.process-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1830 0%, #0d2440 50%, #0a1830 100%);
}
.process-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(0,180,216,.30) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(0,201,167,.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(4,123,206,.18) 0%, transparent 70%);
  filter: blur(35px);
}
.process-section > .container { position: relative; z-index: 1; }

.process-grid { position: relative; }

/* ---------- Equipment-Panel Step ---------- */
.step {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  transition: transform var(--t);
  display: flex;
  flex-direction: column;
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
  height: 72px;
  flex-shrink: 0;
}
.step h3 {
  min-height: 2.7em;   /* Reserviert Platz für 2 Zeilen */
  display: flex;
  align-items: flex-start;
  margin-bottom: .8rem;
}
.step > p {
  min-height: 5.5em;   /* Reserviert Platz für 4 Zeilen */
  margin-bottom: 1.2rem;
}
.step .panel {
  margin-top: auto;    /* Panel an den unteren Rand schieben → alle bündig */
}
/* ---------- Animierte Step-Icons ---------- */
.step-icon {
  width: 64px; height: 64px;
  color: var(--c-cyan);
  filter: drop-shadow(0 0 6px rgba(0,180,216,.5)) drop-shadow(0 0 16px rgba(0,180,216,.25));
}
.step-icon svg { width: 100%; height: 100%; display: block; }

/* 01 — Mikrofon mit Schallwellen */
.icon-mic .wave {
  transform-origin: 32px 26px;
  animation: micWave 2.4s ease-out infinite;
}
.icon-mic .wave-1 { animation-delay: 0s; }
.icon-mic .wave-2 { animation-delay: .4s; }
.icon-mic .wave-3 { animation-delay: .8s; }
@keyframes micWave {
  0%   { transform: scale(.6);  opacity: .8; }
  80%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}
.icon-mic .mic-body { animation: micGlow 2.4s ease-in-out infinite; }
@keyframes micGlow {
  0%, 100% { opacity: 1; }
  50%      { opacity: .65; }
}

/* 02 — Dokument mit Checkmark */
.icon-doc { color: var(--c-mint); filter: drop-shadow(0 0 6px rgba(0,201,167,.5)) drop-shadow(0 0 16px rgba(0,201,167,.25)); }
.icon-doc .doc-line {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: docDraw 3.6s ease-in-out infinite;
}
.icon-doc .doc-line-1 { animation-delay: .1s; }
.icon-doc .doc-line-2 { animation-delay: .5s; }
.icon-doc .doc-line-3 { animation-delay: .9s; }
@keyframes docDraw {
  0%   { stroke-dashoffset: 24; }
  35%  { stroke-dashoffset: 0; }
  85%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.icon-doc .doc-check {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: docCheck 3.6s ease-in-out infinite;
  animation-delay: 1.3s;
}
@keyframes docCheck {
  0%, 30%  { stroke-dashoffset: 22; }
  55%      { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: 0; }
}

/* 03 — Equalizer-Bars */
.icon-eq { color: #ffc857; filter: drop-shadow(0 0 6px rgba(255,200,87,.5)) drop-shadow(0 0 16px rgba(255,200,87,.25)); }
.icon-eq .eq-bar {
  transform-origin: center bottom;
  animation: eqBounce 1.4s ease-in-out infinite;
}
.icon-eq .eq-bar-1 { animation-delay: 0s;   }
.icon-eq .eq-bar-2 { animation-delay: .15s; }
.icon-eq .eq-bar-3 { animation-delay: .3s;  }
.icon-eq .eq-bar-4 { animation-delay: .2s;  }
.icon-eq .eq-bar-5 { animation-delay: .05s; }
@keyframes eqBounce {
  0%, 100% { transform: scaleY(.4); }
  50%      { transform: scaleY(1);  }
}

/* 04 — Kamera mit REC-Indikator */
.icon-cam { color: var(--c-cyan); filter: drop-shadow(0 0 6px rgba(0,180,216,.5)) drop-shadow(0 0 16px rgba(0,180,216,.25)); }
.icon-cam .cam-rec {
  transform-origin: 16px 28px;
  animation: camRec 1.4s ease-in-out infinite;
}
.icon-cam .cam-rec-ring {
  transform-origin: 16px 28px;
  animation: camRecRing 1.4s ease-out infinite;
}
@keyframes camRec {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .35; transform: scale(.85); }
}
@keyframes camRecRing {
  0%   { opacity: .8; transform: scale(.8); }
  100% { opacity: 0;  transform: scale(2.2); }
}

/* LED-Anzeige (deaktiviert auf Wunsch) */
.step-led { display: none; }
.step-led-active {
  width: 12px; height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background: var(--c-cyan);
  box-shadow: 0 0 10px currentColor, 0 0 24px currentColor;
}
.step-led[data-state="planning"] { color: #00b4d8; background: #00b4d8; }
.step-led[data-state="building"] { color: #00c9a7; background: #00c9a7; }
.step-led[data-state="ready"]    { color: #ffc857; background: #ffc857; }
.step-led[data-state="live"]     { color: #ff3b4a; background: #ff3b4a; }
.led-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: .8;
  animation: ledRing 1.8s ease-out infinite;
}
@keyframes ledRing {
  0%   { transform: scale(.5);  opacity: .9; }
  100% { transform: scale(2);   opacity: 0; }
}

.step h3 {
  margin-bottom: .7rem;
  font-size: 1.2rem;
  letter-spacing: -0.005em;
}
.step p  {
  font-size: .92rem;
  color: var(--c-text-soft);
  margin-bottom: 1.2rem;
}

/* Equipment-Panel mit Bar + Readout */
.panel {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 100%);
  border: 1px solid rgba(0,180,216,.15);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.panel::before {
  /* Subtile Scan-Linien */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,.015) 2px,
    rgba(255,255,255,.015) 3px
  );
  pointer-events: none;
}
.panel-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .85rem;
  background: rgba(0,0,0,.4);
  border-bottom: 1px solid rgba(0,180,216,.18);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.panel-tag {
  color: var(--c-cyan);
  font-weight: 700;
}
.panel-tag.live-tag {
  color: #ff3b4a;
  text-shadow: 0 0 6px rgba(255,59,74,.6);
}
.panel-tc {
  color: var(--c-text-dim);
  font-variant-numeric: tabular-nums;
}
.tc-blink {
  color: #ff3b4a;
  animation: tcBlink 1s steps(2) infinite;
}
@keyframes tcBlink {
  50% { opacity: .35; }
}

.step-list {
  list-style: none;
  padding: .4rem .85rem .7rem;
  margin: 0;
  font-size: .85rem;
}
.step-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  color: var(--c-text-dim);
}
.step-list li:last-child { border-bottom: 0; }
.step-list li b {
  color: var(--c-mint);
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .8rem;
  letter-spacing: .03em;
}
.step-list li b.ok      { color: #00d68f; }
.step-list li b.run     { color: var(--c-cyan); animation: tcBlink 1.6s steps(2) infinite; }
.step-list li b.live    { color: #ff3b4a; text-shadow: 0 0 6px rgba(255,59,74,.5); animation: tcBlink 1s steps(2) infinite; }
.step-list li b.standby { color: #ffc857; }

.step:hover {
  transform: translateY(-3px);
}
.step:hover .panel {
  border-color: rgba(0,180,216,.35);
  box-shadow: 0 8px 32px rgba(0,180,216,.15);
}
.step:hover .step-num {
  text-shadow:
    0 0 12px rgba(0,180,216,.9),
    0 0 36px rgba(0,180,216,.5);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- CTA Block ---------- */
.cta-block {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 3rem 0;
  text-align: center;
  margin: 2rem 0;
  position: relative;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 70% at 50% 50%, rgba(0,123,206,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(0,117,101,.12) 0%, transparent 70%);
  filter: blur(20px);
}
.cta-block h2 { margin-bottom: 1rem; }
.cta-block p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 2rem; }

/* Brand-Wörter in Headlines */
.word-veranstaltung { color: var(--c-veranstaltung); }
.word-streaming     { color: var(--c-streaming); }
.word-konferenz     { color: var(--c-konferenz); }

/* ---------- Client Logos – Floating Marquee Gallery ---------- */
.clients {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 4rem 0;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text-dim);
  margin: 0 0 3rem;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Weiche Edges links/rechts via Mask */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  padding: 1rem 0;
}
.logo-marquee + .logo-marquee { margin-top: 1rem; }

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  width: max-content;
  animation: logoMarquee 38s linear infinite;
  will-change: transform;
}
.logo-marquee-track.reverse {
  animation: logoMarqueeReverse 44s linear infinite;
}

/* Pause beim Hover für genaues Anschauen */
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.client-logo {
  height: 44px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  opacity: .55;
  filter: grayscale(1) brightness(1.4) contrast(.9);
  transition: opacity 300ms ease, filter 300ms ease, transform 300ms ease;
  user-select: none;
}
.client-logo:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: translateY(-2px);
}

@keyframes logoMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes logoMarqueeReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (max-width: 700px) {
  .client-logo { height: 36px; }
  .logo-marquee-track { gap: 3rem; }
  .clients { padding: 3rem 0; }
}

/* Animationen für Reduced-Motion-Nutzer aus */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; transform: translateX(0); }
  .logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* ---------- FAQ Section ---------- */
.faq-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1830 0%, #0d2440 50%, #0a2a2a 100%);
}
.faq-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(4,123,206,.30) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(0,117,101,.30) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0,180,216,.15) 0%, transparent 70%);
  filter: blur(40px);
}
.faq-section > .container { position: relative; z-index: 1; }

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  margin-bottom: 0;
  background: transparent;
  overflow: hidden;
  transition: background var(--t);
  position: relative;
}
.faq-item[open] {
  background: linear-gradient(90deg, rgba(0,180,216,.06) 0%, rgba(0,201,167,.04) 50%, transparent 100%);
  box-shadow:
    0 0 0 1px rgba(0,180,216,.15),
    0 0 32px rgba(0,180,216,.18),
    0 0 60px rgba(0,201,167,.10);
  border-bottom-color: transparent;
  border-radius: 10px;
  margin: .5rem 0;
}
.faq-item[open] summary { color: #fff; }

.faq-item summary {
  cursor: pointer;
  padding: 1.5rem .5rem;
  font-weight: 600;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.92);
  transition: color var(--t), padding var(--t);
}
.faq-item summary:hover { color: var(--c-cyan); }
.faq-item summary::-webkit-details-marker { display: none; }

/* Chevron statt + */
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background:
    rgba(0,180,216,.08)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>")
    center / 16px 16px no-repeat;
  border: 1px solid rgba(0,180,216,.25);
  transition: transform var(--t), background-color var(--t), border-color var(--t);
}
.faq-item summary:hover::after {
  background-color: rgba(0,180,216,.18);
  border-color: rgba(0,180,216,.5);
}
.faq-item[open] summary::after {
  transform: rotate(-180deg);
  background-color: rgba(0,180,216,.25);
  border-color: rgba(0,180,216,.6);
}

.faq-body {
  padding: 0 .5rem 1.8rem;
  color: var(--c-text-soft);
  max-width: 820px;
  font-size: 1.02rem;
  line-height: 1.7;
  animation: faqFadeIn .4s ease-out;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-meta {
  list-style: none;
  padding: 0; margin: 2rem 0;
}
.contact-meta li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-meta .label {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-text-dim);
  margin-bottom: .3rem;
}
.contact-meta a { color: var(--c-cyan); font-weight: 500; }
.contact-meta a:hover { color: var(--c-mint); }

.contact-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-consent {
  display: flex;
  gap: .7em;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--c-text-dim);
  margin: .8rem 0 1.5rem;
  cursor: pointer;
  line-height: 1.45;
}
.form-consent input[type="checkbox"] {
  margin-top: .2em;
  width: 22px; height: 22px;
  accent-color: var(--c-cyan);
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent a {
  color: var(--c-cyan);
  text-decoration: underline;
}
.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-submit {
  flex: 1 1 240px;
  justify-content: center;
}
.form-mailto-fallback {
  justify-content: center;
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(239, 68, 68, .5);
}
.form-status {
  margin: 1.2rem 0 0;
  padding: .9rem 1.1rem;
  border-radius: 10px;
  font-size: .95rem;
  display: none;
}
.form-status.is-success {
  display: block;
  background: rgba(0,201,167,.12);
  border: 1px solid rgba(0,201,167,.4);
  color: var(--c-mint);
}
.form-status.is-error {
  display: block;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.4);
  color: #fca5a5;
}
.form-status.is-sending {
  display: block;
  background: rgba(0,180,216,.10);
  border: 1px solid rgba(0,180,216,.3);
  color: var(--c-cyan);
}
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: .85rem;
  margin-bottom: .4rem;
  color: var(--c-text-soft);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .85em 1em;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  color: var(--c-text);
  font: inherit;
  font-size: .95rem;
  transition: border-color var(--t), background var(--t);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-cyan);
  background: rgba(255,255,255,.06);
}
.form-field textarea { min-height: 120px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  background: #06090d;
  border-top: 1px solid var(--c-border);
  padding: 4rem 0 2rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo { margin-bottom: 1.2rem; }
.footer-brand p { color: var(--c-text-dim); margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: .8rem; }
.footer-socials a {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  transition: background var(--t), transform var(--t);
}
.footer-socials a:hover { background: var(--c-blue); transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-text-dim);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a { color: var(--c-text-soft); transition: color var(--t); }
.footer-col a:hover { color: var(--c-cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-dim);
  font-size: .85rem;
}
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--c-cyan); }

/* ---------- Hero Left-Variant + Eyebrow-Line + Brand-Buttons ---------- */
.page-hero-left {
  text-align: left;
}
.page-hero-left .hero-content {
  /* WICHTIG: kein margin-Reset — Container bleibt zentriert wie der Header */
  max-width: var(--maxw);
  text-align: left !important;
}
.page-hero-left .hero-lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 720px;
}
.page-hero-left .hero-ctas {
  justify-content: flex-start;
}
.page-hero-left h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 16ch;
  white-space: normal;
}
.page-hero-left h1 span {
  display: inline;
  white-space: nowrap;
}
/* Hero-Content auf Container-Padding linksbündig mit Logo */
.page-hero-left .hero-ctas {
  justify-content: flex-start;
  margin-left: 0;
}

/* ---------- Brand-Background-Helfer (wiederverwendbar) ---------- */
.brand-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1830 0%, #0d2440 50%, #0a2a2a 100%);
}
.brand-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(4,123,206,.32) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(0,117,101,.26) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0,180,216,.18) 0%, transparent 70%);
  filter: blur(40px);
}
.brand-section > .container { position: relative; z-index: 1; }

/* Bleed-Section: Parallax-Fixed-Image als Hintergrund */
.bleed-section {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0;
  background-color: #0a1830;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.bleed-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,24,48,.85) 0%, rgba(10,24,48,.65) 50%, rgba(10,24,48,.9) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(4,123,206,.30) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0,117,101,.25) 0%, transparent 60%);
  z-index: 0;
}
.bleed-section > .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.bleed-section .eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.bleed-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.5rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.bleed-section p {
  font-size: 1.15rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}
.bleed-section .bleed-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}
.bleed-section .bleed-stats .stat-num {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 700px) {
  .bleed-section { background-attachment: scroll; }
  .bleed-section .bleed-stats { grid-template-columns: 1fr; gap: 2rem; }
}

/* Streaming Services Section (Alias auf brand-section) */
.stream-section { composes: brand-section; }
.stream-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1830 0%, #0d2440 50%, #0a2a2a 100%);
}
.stream-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(4,123,206,.32) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(0,117,101,.26) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0,180,216,.18) 0%, transparent 70%);
  filter: blur(40px);
}
.stream-section > .container { position: relative; z-index: 1; }

/* Animated Streaming-Icons */
.stream-icon,
.feat-icon {
  width: 72px; height: 72px;
  margin-bottom: 1.5rem;
}
.stream-icon svg,
.feat-icon svg { width: 100%; height: 100%; display: block; }

/* ---------- Animierte Feature-Card Icons (Veranstaltung) ---------- */
/* Ton — Mikrofon mit Schallwellen nach rechts */
.feat-icon.icon-soundwave {
  color: var(--c-cyan);
  filter: drop-shadow(0 0 8px rgba(0,180,216,.55)) drop-shadow(0 0 20px rgba(0,180,216,.28));
}
.feat-icon.icon-soundwave .sw-arc {
  opacity: 0;
  animation: swArc 1.8s ease-out infinite;
}
.feat-icon.icon-soundwave .sw-arc-1 { animation-delay: 0s;   }
.feat-icon.icon-soundwave .sw-arc-2 { animation-delay: .25s; }
.feat-icon.icon-soundwave .sw-arc-3 { animation-delay: .5s;  }
@keyframes swArc {
  0%   { opacity: 0; transform: translateX(-6px); }
  30%  { opacity: 1; transform: translateX(0); }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(0); }
}

/* Licht — Bewegender Spotlight */
.feat-icon.icon-spotlight {
  color: var(--c-mint);
  filter: drop-shadow(0 0 8px rgba(0,201,167,.55)) drop-shadow(0 0 20px rgba(0,201,167,.28));
}
.feat-icon.icon-spotlight .sp-mover {
  transform-origin: 32px 13px;
  animation: spSweep 4.2s ease-in-out infinite;
}
.feat-icon.icon-spotlight .sp-beam {
  animation: spBeam 4.2s ease-in-out infinite;
}
.feat-icon.icon-spotlight .sp-pool {
  transform-origin: 32px 56px;
  animation: spPool 4.2s ease-in-out infinite;
}
@keyframes spSweep {
  0%, 100% { transform: rotate(-22deg); }
  50%      { transform: rotate(22deg);  }
}
@keyframes spBeam {
  0%, 100% { opacity: .12; }
  50%      { opacity: .28; }
}
@keyframes spPool {
  0%, 100% { transform: translateX(-9px) scaleX(.9); opacity: .25; }
  50%      { transform: translateX(9px)  scaleX(.9); opacity: .55; }
}

/* Video / LED — Wand mit „Wellen-Sweep" durch die Pixel */
.feat-icon.icon-ledwall {
  color: var(--c-veranstaltung);
  filter: drop-shadow(0 0 8px rgba(4,123,206,.55)) drop-shadow(0 0 20px rgba(4,123,206,.28));
}
.feat-icon.icon-ledwall .lw-px {
  opacity: .25;
  animation: lwSweep 2.6s ease-in-out infinite;
}
.feat-icon.icon-ledwall .lw-px-1,  .feat-icon.icon-ledwall .lw-px-7  { animation-delay: 0s;    }
.feat-icon.icon-ledwall .lw-px-2,  .feat-icon.icon-ledwall .lw-px-8,
.feat-icon.icon-ledwall .lw-px-13                                    { animation-delay: .12s; }
.feat-icon.icon-ledwall .lw-px-3,  .feat-icon.icon-ledwall .lw-px-9,
.feat-icon.icon-ledwall .lw-px-14, .feat-icon.icon-ledwall .lw-px-19  { animation-delay: .24s; }
.feat-icon.icon-ledwall .lw-px-4,  .feat-icon.icon-ledwall .lw-px-10,
.feat-icon.icon-ledwall .lw-px-15, .feat-icon.icon-ledwall .lw-px-20  { animation-delay: .36s; }
.feat-icon.icon-ledwall .lw-px-5,  .feat-icon.icon-ledwall .lw-px-11,
.feat-icon.icon-ledwall .lw-px-16, .feat-icon.icon-ledwall .lw-px-21  { animation-delay: .48s; }
.feat-icon.icon-ledwall .lw-px-6,  .feat-icon.icon-ledwall .lw-px-12,
.feat-icon.icon-ledwall .lw-px-17, .feat-icon.icon-ledwall .lw-px-22  { animation-delay: .60s; }
.feat-icon.icon-ledwall .lw-px-18, .feat-icon.icon-ledwall .lw-px-23  { animation-delay: .72s; }
.feat-icon.icon-ledwall .lw-px-24                                     { animation-delay: .84s; }
@keyframes lwSweep {
  0%, 60%, 100% { opacity: .2; }
  20%, 40%      { opacity: 1; }
}

/* ---------- Animierte Feature-Card Icons (Konferenz) ---------- */
/* Videokonferenz — 4 Köpfe blinken im Wechsel */
.feat-icon.icon-meet {
  color: var(--c-konferenz);
  filter: drop-shadow(0 0 8px rgba(0,117,101,.5)) drop-shadow(0 0 20px rgba(0,117,101,.25));
}
.feat-icon.icon-meet .m-head {
  animation: mPulse 2s ease-in-out infinite;
  transform-origin: center;
}
.feat-icon.icon-meet .m-head-1 { animation-delay: 0s;   }
.feat-icon.icon-meet .m-head-2 { animation-delay: .5s;  }
.feat-icon.icon-meet .m-head-3 { animation-delay: 1s;   }
.feat-icon.icon-meet .m-head-4 { animation-delay: 1.5s; }
@keyframes mPulse {
  0%, 100% { transform: scale(.85); opacity: .4; }
  50%      { transform: scale(1.1); opacity: 1;  }
}

/* Hardware — drehendes Zahnrad */
.feat-icon.icon-gear {
  color: var(--c-cyan);
  filter: drop-shadow(0 0 8px rgba(0,180,216,.5)) drop-shadow(0 0 20px rgba(0,180,216,.25));
}
.feat-icon.icon-gear .g-wheel {
  transform-origin: 32px 32px;
  animation: gSpin 6s linear infinite;
}
@keyframes gSpin {
  to { transform: rotate(360deg); }
}

/* Digital Signage — flackerndes Display */
.feat-icon.icon-display {
  color: var(--c-mint);
  filter: drop-shadow(0 0 8px rgba(0,201,167,.5)) drop-shadow(0 0 20px rgba(0,201,167,.25));
}
.feat-icon.icon-display .d-screen {
  animation: dScan 3s linear infinite;
}
@keyframes dScan {
  0%, 100% { opacity: .7; }
  50%      { opacity: 1; }
}
.feat-icon.icon-display .d-bar {
  transform-origin: left;
  animation: dBar 2s ease-in-out infinite;
}
.feat-icon.icon-display .d-bar-1 { animation-delay: 0s; }
.feat-icon.icon-display .d-bar-2 { animation-delay: .3s; }
.feat-icon.icon-display .d-bar-3 { animation-delay: .6s; }
@keyframes dBar {
  0%, 100% { transform: scaleX(.3); opacity: .4; }
  50%      { transform: scaleX(1);  opacity: 1;  }
}

/* Monitor — Touch-Ripple */
.feat-icon.icon-touch {
  color: var(--c-veranstaltung);
  filter: drop-shadow(0 0 8px rgba(4,123,206,.5)) drop-shadow(0 0 20px rgba(4,123,206,.25));
}
.feat-icon.icon-touch .t-ring {
  transform-origin: 32px 38px;
  animation: tRing 2s ease-out infinite;
}
.feat-icon.icon-touch .t-ring-2 { animation-delay: .5s; }
.feat-icon.icon-touch .t-ring-3 { animation-delay: 1s; }
@keyframes tRing {
  0%   { transform: scale(.3); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Virtuell — Bildschirm mit pulsierenden Teilnehmer-Dots */
.icon-virtual {
  color: var(--c-cyan);
  filter: drop-shadow(0 0 8px rgba(0,180,216,.55)) drop-shadow(0 0 20px rgba(0,180,216,.28));
}
.icon-virtual .v-dot { animation: vPulse 2.4s ease-in-out infinite; transform-origin: center; }
.icon-virtual .v-dot-1 { animation-delay: 0s; }
.icon-virtual .v-dot-2 { animation-delay: .3s; }
.icon-virtual .v-dot-3 { animation-delay: .6s; }
.icon-virtual .v-dot-4 { animation-delay: .9s; }
.icon-virtual .v-dot-5 { animation-delay: 1.2s; }
@keyframes vPulse {
  0%, 100% { opacity: .35; transform: scale(.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* Hybrid — Zwei sich überlappende Ringe, atmend */
.icon-hybrid {
  color: var(--c-mint);
  filter: drop-shadow(0 0 8px rgba(0,201,167,.55)) drop-shadow(0 0 20px rgba(0,201,167,.28));
}
.icon-hybrid .h-ring {
  transform-origin: center;
  animation: hRing 2.6s ease-in-out infinite;
}
.icon-hybrid .h-ring-1 { transform-origin: 22px 32px; animation-delay: 0s; }
.icon-hybrid .h-ring-2 { transform-origin: 42px 32px; animation-delay: 1.3s; }
@keyframes hRing {
  0%, 100% { opacity: .4; transform: scale(.85); }
  50%      { opacity: 1;  transform: scale(1.08); }
}

/* Broadcast — Antenne mit expandierenden Wellen */
.icon-broadcast {
  color: var(--c-veranstaltung);
  filter: drop-shadow(0 0 8px rgba(4,123,206,.55)) drop-shadow(0 0 20px rgba(4,123,206,.28));
}
.icon-broadcast .b-wave {
  transform-origin: 32px 22px;
  animation: bWave 2s ease-out infinite;
}
.icon-broadcast .b-wave-1 { animation-delay: 0s;  }
.icon-broadcast .b-wave-2 { animation-delay: .35s; }
.icon-broadcast .b-wave-3 { animation-delay: .7s;  }
@keyframes bWave {
  0%   { opacity: 0;   transform: translateY(8px) scale(.8); }
  30%  { opacity: 1;   transform: translateY(0)   scale(1);  }
  100% { opacity: 0;   transform: translateY(-12px) scale(1.25); }
}

/* Eyebrow mit Line-Prefix */
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  line-height: 1;
}
.eyebrow-line::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}
.eyebrow-line.eyebrow-streaming     { color: var(--c-streaming); }
.eyebrow-line.eyebrow-veranstaltung { color: var(--c-veranstaltung); }
.eyebrow-line.eyebrow-konferenz     { color: var(--c-konferenz); }

/* Solid Brand-Buttons */
.btn-solid-streaming {
  background: var(--c-streaming);
  color: #fff;
  box-shadow: none;
}
.btn-solid-streaming:hover {
  background: #d8195a;
  transform: translateY(-2px);
}
.btn-solid-veranstaltung {
  background: var(--c-veranstaltung);
  color: #fff;
  box-shadow: none;
}
.btn-solid-veranstaltung:hover {
  background: #1f95e8;
  transform: translateY(-2px);
}
.btn-solid-konferenz {
  background: var(--c-konferenz);
  color: #fff;
  box-shadow: none;
}
.btn-solid-konferenz:hover {
  background: #009178;
  transform: translateY(-2px);
}

/* Outline-Button (transparent mit Border) */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- Page Hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: 15rem 0 9rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0e14 0%, #0d1218 100%);
}
.page-hero video,
.page-hero .hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
  z-index: 0;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0,123,206,.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10,14,20,.35) 0%, rgba(10,14,20,.85) 100%);
  z-index: 1;
}
.page-hero > .container { width: 100%; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero:not(.page-hero-left) .hero-lead { margin: 0 auto 2.2rem; }
.page-hero:not(.page-hero-left) .hero-ctas { justify-content: center; }

/* ---------- Feature Grid (3-col with cards) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-border);
  border-radius: 0;
  padding: 2rem 0 0;
  transition: transform var(--t);
}
.feature-card:hover { transform: translateY(-2px); }
.feature-card .eyebrow { font-size: .75rem; }
.feature-card h3 { margin: .5rem 0 1rem; }
.feature-card ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.feature-card li {
  padding: .45rem 0;
  font-size: .92rem;
  color: var(--c-text-soft);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  padding-left: 1.4rem;
}
.feature-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--c-cyan);
  font-weight: 700;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Icon Grid (6 cells) ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.icon-card {
  background: transparent;
  border: 0;
  padding: 1rem .5rem;
  text-align: center;
}
.icon-card .ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-teal));
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.icon-card h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.icon-card p { font-size: .9rem; margin: 0; }
@media (max-width: 800px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .icon-grid { grid-template-columns: 1fr; } }

/* ---------- Article (Impressum, Datenschutz, AGB) ---------- */
.article {
  padding: 10rem 0 6rem;
  max-width: 880px;
  margin: 0 auto;
}
.article h1 { margin-bottom: 2rem; font-size: clamp(2rem, 4vw, 3rem); }
.article h2 {
  margin-top: 3rem; margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--c-cyan);
}
.article h3 {
  margin-top: 2rem; margin-bottom: .8rem;
  font-size: 1.15rem;
  color: var(--c-text);
}
.article p, .article li { color: var(--c-text-soft); }
.article a { color: var(--c-cyan); border-bottom: 1px solid rgba(0,180,216,.3); }
.article a:hover { color: var(--c-mint); border-color: var(--c-mint); }
.article ul { padding-left: 1.4rem; }

/* ---------- Referenzen ---------- */
.refs-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1830 0%, #0d2440 50%, #0a2a2a 100%);
}
.refs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(4,123,206,.28) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(181,10,71,.20) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0,117,101,.18) 0%, transparent 70%);
  filter: blur(40px);
}
.refs-section > .container { position: relative; z-index: 1; }

/* Filter-Tabs */
.refs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin: 0 0 3rem;
}
.refs-filter {
  padding: .65em 1.4em;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  color: var(--c-text-soft);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--t);
}
.refs-filter:hover {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.refs-filter.active {
  background: linear-gradient(135deg, var(--c-veranstaltung), var(--c-konferenz));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(4,123,206,.35);
}

/* Featured */
.ref-featured {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 3rem;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.ref-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(4,123,206,.25), 0 0 0 1px rgba(0,180,216,.3);
}
.ref-featured .ref-image {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.ref-featured .ref-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.ref-featured:hover .ref-image img { transform: scale(1.04); }
.ref-featured .ref-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(10,24,48,.92) 100%);
}
.ref-flag {
  position: absolute;
  top: 1.4rem; left: 1.4rem;
  z-index: 2;
  background: var(--c-streaming);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .5em 1em;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(181,10,71,.5);
}
.ref-featured .ref-body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ref-featured .ref-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 1rem;
}
.ref-featured h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.ref-featured p {
  color: var(--c-text-soft);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}
.ref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.ref-chip {
  display: inline-flex;
  align-items: center;
  padding: .4em .9em;
  border-radius: 999px;
  background: rgba(0,180,216,.1);
  border: 1px solid rgba(0,180,216,.25);
  color: var(--c-cyan);
  font-size: .8rem;
  font-weight: 500;
}

/* Grid Cards */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.ref-card {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.ref-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,216,.3);
  box-shadow: 0 16px 40px rgba(4,123,206,.18);
}
.ref-card .ref-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ref-card .ref-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.ref-card:hover .ref-image img { transform: scale(1.05); }
.ref-card .ref-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.ref-card .ref-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: .8rem;
}
.ref-card h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 .8rem;
}
.ref-card p {
  color: var(--c-text-soft);
  font-size: .95rem;
  margin: 0 0 1.2rem;
  flex-grow: 1;
}

/* Engagement-Karte: voll-breit */
.ref-engagement {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1rem;
}
.ref-engagement .ref-image { aspect-ratio: auto; min-height: 320px; }
.ref-engagement .ref-body { padding: clamp(2rem, 3vw, 3rem); justify-content: center; }
.ref-engagement h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }

@media (max-width: 980px) {
  .ref-featured { grid-template-columns: 1fr; }
  .ref-featured .ref-image { min-height: 280px; }
  .ref-featured .ref-image::after {
    background: linear-gradient(180deg, transparent 40%, rgba(10,24,48,.92) 100%);
  }
  .refs-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .ref-engagement { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .refs-grid { grid-template-columns: 1fr; }
}

/* Verstecken via Filter */
.ref-card.is-hidden, .ref-featured.is-hidden { display: none; }

/* "Mehr anzeigen" CTA */
.refs-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- Animations on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   TABLET-LÜCKE schließen: Hero-Buttons schon ab 980px stapeln
   ============================================================ */
@media (max-width: 980px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    width: 100%;
    max-width: 420px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  /* Hero-Center: Buttons mittig zentriert */
  .hero-content-center .hero-ctas { margin: 0 auto; }
}

/* ============================================================
   MOBILE-OPTIMIERUNGEN (≤ 700px)
   ============================================================ */
@media (max-width: 700px) {

  :root {
    --pad: 20px;
  }

  body { font-size: 16px; }

  /* Hero auf Mobile kürzer */
  .hero {
    padding: 7rem 0 4rem;
    min-height: auto;
  }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .hero-lead { font-size: 1rem; }

  /* Page-Hero kompakter */
  .page-hero {
    padding: 7rem 0 3.5rem;
    min-height: auto;
  }
  .page-hero-left h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    max-width: 100%;
  }
  .page-hero-left h1 span { white-space: normal; }
  .page-hero .hero-lead { font-size: 1rem; }

  /* Hero-Kategorie-Nav: kleinere Pillen, Wrap */
  .hero-categories {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .hero-cat {
    font-size: .75rem;
    letter-spacing: .15em;
  }

  /* Header: Logo kleiner */
  .logo { height: 38px; }

  /* Buttons auf Mobile zentriert + breit */
  .hero-ctas {
    width: 100%;
    flex-direction: column;
    gap: .8rem;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats — 3 nebeneinander statt 1 pro Zeile (besser lesbar) */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stat-num { font-size: 2.6rem; }

  /* Slider — Karten gestapelt */
  .service-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }
  .service-card h3 { font-size: 1.6rem; }
  .service-visual { aspect-ratio: 16/10; }

  /* Process-Steps — eine Spalte, kompakter */
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  .step h3 { min-height: auto; }
  .step > p { min-height: auto; }

  /* Feature/Icon Grids — eine Spalte */
  .feature-grid,
  .feature-grid[style*="repeat(2"],
  .feature-grid[style*="repeat(4"] {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .icon-grid { grid-template-columns: 1fr; }

  /* Referenzen-Grid einspaltig */
  .refs-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .ref-featured { grid-template-columns: 1fr; }
  .ref-featured .ref-image { min-height: 220px; }
  .ref-engagement { grid-template-columns: 1fr; }

  /* Filter-Tabs scrollbar machen */
  .refs-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 var(--pad) .5rem;
    margin: 0 calc(-1 * var(--pad)) 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .refs-filters::-webkit-scrollbar { display: none; }
  .refs-filter { flex-shrink: 0; }

  /* Slider-Pfeile ausblenden (sind eh schon via 980px ausgeblendet) */

  /* Section-Padding reduzieren */
  section { padding: 4rem 0; }

  /* Contact / CTA */
  .contact-grid { gap: 2rem; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .cta-block { padding: 2rem .5rem; }
  .cta-block h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .cta-block p { font-size: 1rem; }

  /* Footer Spalten gestapelt */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
  }

  /* FAQ summary nicht zu groß */
  .faq-item summary { font-size: 1rem; }

  /* Headings allgemein kleiner */
  h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); }
  h2 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); }
  h3 { font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: .95rem; }

  /* Article (Impressum/Datenschutz/AGB) */
  .article { padding: 7rem 0 3rem; }
  .article h2 { font-size: 1.2rem; margin-top: 2rem; }
  .article h3 { font-size: 1.05rem; }
}

/* ============================================================
   TABLET (701–980px)
   ============================================================ */
@media (max-width: 980px) and (min-width: 701px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .refs-grid { gap: 1.2rem; }
  .feature-grid[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Reduced motion: Animationen abschalten */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
