/* ==========================================================================
   MediaWork – Globales Stylesheet
   Farbsystem: Schwarz-Basis + Akzentgrün (Markenvorgabe aus Logo)
   Stilrichtung: atmosphärischer Glow-Hintergrund, Pill-Formen, schwebende
   Karten mit Tiefe, Sans+Serif-Kursiv-Mix für Akzentwörter (angelehnt an
   die vom Kunden vorgegebene Referenz onepage.ai, aber in den eigenen
   Markenfarben Schwarz/Weiß/#73FF84 statt deren Orange/Blau-Palette).
   ========================================================================== */

/* ---- Fonts -------------------------------------------------------------
   Clash Display & Satoshi (Fontshare, kostenlos, kommerziell nutzbar) für
   Headlines/Fließtext. Instrument Serif Italic (Google Fonts, self-hosted,
   liegt bereits bei) als Akzentschrift für einzelne hervorgehobene Wörter –
   der Sans+Serif-Kursiv-Mix, der die onepage.ai-Referenz prägt.
   Clash Display/Satoshi-Dateien liegen NICHT bei, siehe assets/fonts/README.txt.
   Bis dahin greift ein bewusst gewählter Fallback-Stack.
---------------------------------------------------------------------------- */
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farbsystem */
  --color-bg: #0A0B0A;
  --color-bg-elevated: #15211A;
  --color-line: #26332C;
  --color-text: #F3F2ED;
  --color-text-muted: #9CA79E;
  --color-accent: #73FF84;
  --color-on-accent: #0A0B0A;

  /* Glow-Palette: Grün (Markenfarbe) + gedämpftes Blau/Petrol als zweite
     Stimmung – hält sich an die Nutzervorgabe "Grün + gedämpftes Blau/Petrol"
     statt der Orange/Blau-Palette des Vorbilds onepage.ai. */
  --glow-green: 115, 255, 132;
  --glow-petrol: 45, 205, 214;
  --glow-blue: 80, 130, 255;

  /* Typografie */
  --font-display: 'Clash Display', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --step-h1: clamp(2.75rem, 3.2rem + 3vw, 5.75rem);
  --step-h2: clamp(2rem, 1.7rem + 2vw, 3.5rem);
  --step-h3: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-small: 0.875rem;

  /* Layout */
  --container: min(1240px, 100% - 3rem);
  --section-pad-y: clamp(5rem, 4rem + 5vw, 9rem);

  /* Formsprache: durchgängig Pill/rund statt kantig – Vorbildbezug */
  --radius-pill: 999px;
  --radius-card: 22px;
  --radius-sm: 12px;

  --shadow-float: 0 24px 60px -24px rgba(0, 0, 0, 0.65), 0 4px 16px -4px rgba(0, 0, 0, 0.4);
  --shadow-float-hover: 0 32px 80px -20px rgba(0, 0, 0, 0.7), 0 8px 24px -4px rgba(115, 255, 132, 0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
em, i { font-style: normal; }

.container { width: var(--container); margin-inline: auto; position: relative; z-index: 1; }
section { padding-block: var(--section-pad-y); position: relative; }

/* Sichtbarer Fokus-Zustand (Barrierefreiheit) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

/* ---- Typografische Bausteine ---------------------------------------- */
h1 { font-size: var(--step-h1); line-height: 1.02; }
h2 { font-size: var(--step-h2); line-height: 1.06; }
h3 { font-size: var(--step-h3); line-height: 1.2; }

/* Akzent-Kursiv: der Sans+Serif-Mix, der einzelne Wörter/Phrasen in
   Headlines heraushebt – Kernmerkmal der onepage.ai-Referenz. Wird gezielt
   auf <em> innerhalb von h1/h2 angewendet, nie auf ganze Sätze. */
h1 em, h2 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px 2px rgba(var(--glow-green), 0.7);
  flex-shrink: 0;
}
/* Eyebrow-Variante ohne Chip-Optik, z.B. über Section-Headlines */
.eyebrow--plain {
  background: none; border: none; padding: 0; color: var(--color-accent);
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem);
  color: var(--color-text-muted);
  max-width: 46ch;
}

/* ---- Buttons -----------------------------------------------------------
   Pill-Form statt Diagonalschnitt – onepage.ai arbeitet durchgängig mit
   vollständig gerundeten Buttons/Chips.
---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border-radius: var(--radius-pill);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn:hover, .btn:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(var(--glow-green), 0.35);
}
.btn--solid {
  background: var(--color-accent);
  color: var(--color-on-accent);
  border-color: var(--color-accent);
}
.btn--solid:hover, .btn--solid:focus-visible {
  background: var(--color-accent);
  filter: brightness(1.08);
  box-shadow: 0 16px 40px -12px rgba(var(--glow-green), 0.55);
}

/* ---- Scroll-Fortschrittsbalken --------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-accent);
  z-index: 100;
  transition: width 0.1s linear;
}

/* ---- Atmosphärischer Glow-Hintergrund ---------------------------------
   Fixe, weich ausgeblendete Farbflächen (radial-gradient statt teurem
   filter:blur über große Flächen) – der Haupt-"Wow"-Effekt der Vorlage.
   Liegt einmal pro Seite direkt hinter <body>, scheint durch Hero und
   Subpage-Hero jeder Seite durch. Rein dekorativ, pointer-events: none.
---------------------------------------------------------------------- */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.page-glow::before,
.page-glow::after,
.page-glow span {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.page-glow::before {
  width: 60vw; height: 60vw;
  left: -15vw; top: -10vh;
  background: radial-gradient(circle, rgba(var(--glow-green), 0.55) 0%, rgba(var(--glow-green), 0) 70%);
  animation: glow-drift-a 22s ease-in-out infinite;
}
.page-glow::after {
  width: 50vw; height: 50vw;
  right: -12vw; top: 4vh;
  background: radial-gradient(circle, rgba(var(--glow-petrol), 0.75) 0%, rgba(var(--glow-petrol), 0) 70%);
  animation: glow-drift-b 26s ease-in-out infinite;
}
.page-glow span {
  width: 46vw; height: 46vw;
  left: 22vw; top: 18vh;
  background: radial-gradient(circle, rgba(var(--glow-blue), 0.55) 0%, rgba(var(--glow-blue), 0) 70%);
  animation: glow-drift-c 30s ease-in-out infinite;
}
@keyframes glow-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3vw, 4vh) scale(1.08); }
}
@keyframes glow-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4vw, 3vh) scale(1.05); }
}
@keyframes glow-drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2vw, -3vh) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .page-glow::before, .page-glow::after, .page-glow span { animation: none; }
}
@media (max-width: 640px) {
  .page-glow::before, .page-glow::after, .page-glow span { filter: blur(60px); opacity: 0.4; }
}

/* ---- Header / Navigation --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 10, 0.97);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo img { height: 30px; width: auto; }
.logo span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.25rem;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }
.nav a.btn::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; color: var(--color-text); }
.nav-toggle__line { transform-origin: center; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav-toggle.is-open .nav-toggle__line--top { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__line--mid { opacity: 0; }
.nav-toggle.is-open .nav-toggle__line--bot { transform: translateY(-6px) rotate(-45deg); }

.has-sub { position: relative; }
.sub-nav {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1rem;
  min-width: 240px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease-out);
  box-shadow: var(--shadow-float);
}
.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-nav a { display: block; padding: 0.65rem 0.9rem; font-weight: 400; border-radius: var(--radius-sm); }
.sub-nav a:hover { background: rgba(115,255,132,0.08); color: var(--color-accent); }

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 64px 0 0 0;
    z-index: 40;
    flex-direction: column; align-items: stretch;
    padding: 0.5rem 1.5rem 2rem;
    gap: 0;
    background: var(--color-bg);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-toggle { display: block; position: relative; z-index: 41; }
  .nav > a, .nav > .has-sub {
    border-bottom: 1px solid var(--color-line);
  }
  .nav > a {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    padding-block: 1.25rem;
  }
  .nav > a.btn {
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--color-accent);
    padding-block: 1.25rem;
    box-shadow: none;
    transform: none;
  }
  .nav a::after { display: none; }

  .has-sub > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    padding-block: 1.25rem;
  }
  .has-sub > a::after {
    content: '';
    width: 10px; height: 10px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
  }
  .has-sub.is-open > a::after { transform: rotate(225deg); }

  .sub-nav {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; padding: 0; border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out);
    display: block;
    border-left: 2px solid var(--color-accent);
    margin-left: 0.25rem;
    box-shadow: none;
  }
  .has-sub.is-open .sub-nav { max-height: 320px; padding-bottom: 0.75rem; }
  .sub-nav a {
    display: block;
    padding: 0.85rem 0 0.85rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-muted);
    border-radius: 0;
  }
  .sub-nav a:hover, .sub-nav a:focus-visible { background: transparent; color: var(--color-accent); }
}

/* ---- Hero ---------------------------------------------------------------
   Ein einziger orchestrierter Lade-Moment: Inhalt blendet gestaffelt ein
   vor dem atmosphärischen Glow-Hintergrund (.page-glow). Schwebende
   Referenz-Chips geben Tiefe, ohne fiktive Produktscreenshots zu zeigen.
---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 8rem 4rem;
}

.hero__content { position: relative; z-index: 1; max-width: 780px; }
.hero__content .eyebrow {
  opacity: 0; transform: translateY(14px);
  animation: rise-in 0.7s var(--ease-out) 0.3s forwards;
}
.hero h1 {
  margin-block: 1.3rem 1.6rem;
  opacity: 0; transform: translateY(18px);
  animation: rise-in 0.8s var(--ease-out) 0.45s forwards;
}
.hero__content .lede {
  opacity: 0; transform: translateY(14px);
  animation: rise-in 0.7s var(--ease-out) 0.65s forwards;
}
.hero__content .hero__cta {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(14px);
  animation: rise-in 0.7s var(--ease-out) 0.8s forwards;
}
@keyframes rise-in { to { opacity: 1; transform: translateY(0); } }

/* Schwebende Chips: rechts im Hero versetzt platzierte Glaskarten mit
   den Leistungsfeldern – der "layered floating"-Effekt der Vorlage,
   aber mit echten, wahrheitsgemäßen Inhalten statt erfundener Screens. */
.hero__floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}
.hero__floater {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  background: rgba(21, 33, 26, 0.65);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-float);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0;
  animation: float-in 0.9s var(--ease-out) forwards, float-bob 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease-out);
}
.hero__floater span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px 2px rgba(var(--glow-green), 0.6);
  flex-shrink: 0;
}
.hero__floater--1 { top: 12%;  right: 4%;  animation-delay: 1s, 1.9s; }
.hero__floater--2 { top: 44%;  right: 1%;  animation-delay: 1.2s, 2.3s; }
.hero__floater--3 { top: 72%;  right: 8%;  animation-delay: 1.4s, 2.7s; }
@keyframes float-in { to { opacity: 1; } }
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (min-width: 1080px) {
  .hero__floaters { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content > *, .hero__floater { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- USP-Leiste --------------------------------------------------- */
.usp-strip {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding-block: 3rem;
}
.usp-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.usp-item { border-left: 1px solid var(--color-line); padding-left: 1.25rem; }
.usp-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.usp-item p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---- Section-Header (wiederverwendbar) ----------------------------- */
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head h2 { margin-top: 0.6rem; }

/* ---- Leistungen-Grid ------------------------------------------------
   Schwebende Karten mit Tiefe (Schatten + Lift on Hover) statt kantiger
   Diagonalschnitte – konsistent zur neuen Pill-/Float-Formsprache.
---------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 2.4rem 2rem;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  box-shadow: var(--shadow-float);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115, 255, 132, 0.35);
  box-shadow: var(--shadow-float-hover);
}
.service-card__index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--color-accent);
  background: rgba(115, 255, 132, 0.1);
  border-radius: 50%;
}
.service-card h3 { margin-block: 1.1rem 0.75rem; transition: color 0.3s; }
.service-card:hover h3 { color: var(--color-accent); }
.service-card p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.service-card a {
  font-size: 0.9rem; font-weight: 500; color: var(--color-accent);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.service-card__arrow { transition: transform 0.3s var(--ease-out); display: inline-block; }
.service-card a:hover .service-card__arrow { transform: translateX(6px); }

/* ---- Referenzen-Marquee -------------------------------------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  padding-block: 1.75rem;
  animation: scroll-left 34s linear infinite;
}
.marquee__track span { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-text-muted); white-space: nowrap; }
@keyframes scroll-left { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; overflow-x: auto; } }

/* ---- Ablauf-Teaser (Timeline, echte Sequenz -> Nummern gerechtfertigt) */
.timeline { display: grid; gap: 0; border-top: 1px solid var(--color-line); }
.timeline__step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--color-line);
}
.timeline__num { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-accent); }
.timeline__step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.timeline__step p { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---- Abschluss-CTA -----------------------------------------------------
   Große abgerundete "Insel"-Karte mit Glow-Rand statt diagonalem Clip –
   passt zur Pill-Formsprache und wirkt wie eine schwebende Fläche.
---------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--color-bg-elevated);
  color: var(--color-text);
  padding-block: 4.5rem;
  border-radius: 32px;
  border: 1px solid rgba(115, 255, 132, 0.25);
  box-shadow: 0 0 0 1px rgba(115,255,132,0.05), var(--shadow-float);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 60%; height: 220%;
  right: -10%; top: -60%;
  background: radial-gradient(circle, rgba(var(--glow-green), 0.22) 0%, rgba(var(--glow-green), 0) 65%);
  pointer-events: none;
}
.cta-band h2 { color: var(--color-text); position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---- Footer ------------------------------------------------------
   Endet mit einem großen Wortmarken-Moment (Sans+Kursiv-Mix), analog zum
   riesigen "onepage.ai"-Schriftzug der Vorlage.
---------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-line); padding-block: 3.5rem 2rem; position: relative; overflow: hidden; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer h4 { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 500; margin-bottom: 1rem; }
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__bottom {
  border-top: 1px solid var(--color-line);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: var(--color-text-muted);
  position: relative; z-index: 1;
}
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.social-icon:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }

.site-footer__wordmark {
  margin-block: 1rem -1.5rem;
  line-height: 0.8;
  font-size: clamp(3.5rem, 3rem + 9vw, 11rem);
  white-space: nowrap;
  overflow: hidden;
  color: var(--color-text);
  user-select: none;
}
.site-footer__wordmark strong {
  font-family: var(--font-display);
  font-weight: 700;
}
.site-footer__wordmark em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

@media (max-width: 780px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Referenz-Grid (Leistungsseiten) --------------------------------
   Gleiche schwebende Card-Optik wie .services-grid.
---------------------------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.ref-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  box-shadow: var(--shadow-float);
}
.ref-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115, 255, 132, 0.35);
  box-shadow: var(--shadow-float-hover);
}
.ref-card .ref-tag { font-size: 0.8rem; color: var(--color-text-muted); }
.ref-card h3 { font-size: 1.15rem; margin-block: 0.6rem 0.6rem; transition: color 0.3s; }
.ref-card:hover h3 { color: var(--color-accent); }
.ref-card p { color: var(--color-text-muted); font-size: 0.92rem; }
.ref-card a.ref-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; font-size: 0.88rem; font-weight: 500; color: var(--color-accent);
}

/* ---- Zwei-Spalten-Block (Leistungsbeschreibung) ---------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }
.check-list li {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--color-line);
  display: flex; gap: 0.75rem;
  font-size: 0.98rem;
}
.check-list li::before {
  content: '';
  flex: none;
  width: 8px; height: 8px;
  margin-top: 0.5em;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px 1px rgba(var(--glow-green), 0.5);
}

/* ---- Breadcrumb / kleine Vorseiten-Navigation ------------------------ */
.subpage-hero { padding-block: 7rem 4rem; position: relative; }
.subpage-hero .eyebrow a { color: var(--color-text-muted); }
.subpage-hero .eyebrow a:hover { color: var(--color-accent); }

/* ---- Monogramm-Kacheln für Social-Media-Referenzen ohne Bildmaterial - */
.ref-grid--social .ref-card { padding-top: 1.75rem; }
.ref-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50%;
  transition: transform 0.35s var(--ease-out);
}
.ref-card:hover .ref-mono { transform: scale(1.08); }
.ref-card--more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg-elevated);
}
.ref-mono--plus {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 1.3rem;
}
.ref-card--more p { font-size: 0.88rem; }

.ref-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-elevated);
}
.ref-preview img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: grayscale(35%) contrast(1.05);
  transition: filter 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.ref-card:hover .ref-preview img { filter: grayscale(0%); transform: scale(1.05); }

/* ---- Referenzen-Filter (Tabs) ---------------------------------------- */
.ref-tabs { display: flex; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.ref-tab {
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg-elevated);
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out);
}
.ref-tab:hover { color: var(--color-text); border-color: var(--color-text-muted); }
.ref-tab.is-active { background: var(--color-accent); color: var(--color-on-accent); border-color: var(--color-accent); }
.ref-panel { display: none; }
.ref-panel.is-active { display: block; }

/* ---- Ablauf: ausführliche Timeline (eigene Seite) --------------------- */
.timeline-full__step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--color-line);
}
.timeline-full__step:first-child { border-top: 1px solid var(--color-line); }
.timeline-full__num { font-family: var(--font-display); font-size: 1.75rem; color: var(--color-accent); }
.timeline-full__step h3 { margin-bottom: 0.6rem; }
.timeline-full__step p { color: var(--color-text-muted); max-width: 60ch; }

/* ---- Über-uns: Werte-Liste -------------------------------------------- */
.values-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 2rem; margin-top: 2rem; }
.values-list h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.values-list p { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---- Scroll-Reveal (dezent, je Section unterschiedliche Richtung) --- */
.reveal { opacity: 0; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal--up { transform: translateY(24px); }
.reveal--left { transform: translateX(-24px); }
.reveal--right { transform: translateX(24px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Gestaffeltes Reveal für Grid-/Listen-Container -------------------
   Die Container selbst (.services-grid, .ref-grid, .values-list, .timeline)
   bleiben neutral; die Kinder faden einzeln mit steigender Verzögerung ein,
   sobald der Container per IntersectionObserver .is-visible bekommt. */
.services-grid.reveal,
.ref-grid.reveal,
.values-list.reveal,
.timeline.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.services-grid.reveal .service-card,
.ref-grid.reveal .ref-card,
.values-list.reveal > div,
.timeline.reveal .timeline__step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.services-grid.reveal.is-visible .service-card,
.ref-grid.reveal.is-visible .ref-card,
.values-list.reveal.is-visible > div,
.timeline.reveal.is-visible .timeline__step {
  opacity: 1;
  transform: none;
}
.services-grid.reveal .service-card:nth-child(1),
.ref-grid.reveal .ref-card:nth-child(1),
.values-list.reveal > div:nth-child(1),
.timeline.reveal .timeline__step:nth-child(1) { transition-delay: 0.05s; }
.services-grid.reveal .service-card:nth-child(2),
.ref-grid.reveal .ref-card:nth-child(2),
.values-list.reveal > div:nth-child(2),
.timeline.reveal .timeline__step:nth-child(2) { transition-delay: 0.13s; }
.services-grid.reveal .service-card:nth-child(3),
.ref-grid.reveal .ref-card:nth-child(3),
.values-list.reveal > div:nth-child(3),
.timeline.reveal .timeline__step:nth-child(3) { transition-delay: 0.21s; }
.services-grid.reveal .service-card:nth-child(4),
.ref-grid.reveal .ref-card:nth-child(4),
.values-list.reveal > div:nth-child(4),
.timeline.reveal .timeline__step:nth-child(4) { transition-delay: 0.29s; }
.ref-grid.reveal .ref-card:nth-child(5) { transition-delay: 0.37s; }
.ref-grid.reveal .ref-card:nth-child(6) { transition-delay: 0.45s; }
.ref-grid.reveal .ref-card:nth-child(n+7) { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .services-grid.reveal .service-card,
  .ref-grid.reveal .ref-card,
  .values-list.reveal > div,
  .timeline.reveal .timeline__step {
    transition-delay: 0s !important;
  }
}
