/* Generated styles for static export. Designsystem-Tokens als CSS-Variablen,
   alle Komponenten-Stile aus dem Designsystem. */

:root {
  --c-primary: #0A0A0A;
  --c-primary-text: #FFFFFF;
  --c-secondary: #FF1F5A;
  --c-accent: #FF1F5A;
  --c-section-muted: #F5F5F5;
  --c-accent-orange: #FF1F5A;
  --c-accent-blue: #0A0A0A;
  --c-accent-lime: #0A0A0A;
  --c-accent-pink: #FF1F5A;
  --c-bg: #FFFFFF;
  --c-text-body: #0A0A0A;
  --c-text-muted: #6B6B6B;
  --c-border: #0A0A0A;
  --font-heading: 'Archivo Black', 'Helvetica Neue', sans-serif;
  --font-body: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --container-max: 1400px;
  --fs-h1: clamp(4rem, 14vw, 12rem);
  --fs-h2: clamp(2.5rem, 8vw, 6rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h4: 1.25rem;
  --fs-body: 1.0625rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 5rem; }

body {
  background: var(--c-bg);
  color: var(--c-text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--c-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--c-primary);
  font-weight: 900;
  text-transform: none;
  font-variant: normal;
  letter-spacing: -0.03em;
}
h1 { font-size: var(--fs-h1); line-height: 0.88; margin: 0 0 2.5rem; }
h2 { font-size: var(--fs-h2); line-height: 0.95; margin: 6rem 0 2rem; }
h3 { font-size: var(--fs-h3); line-height: 1.15; margin: 1rem 0 0.75rem; }
h4 { font-size: var(--fs-h4); line-height: 1.3; margin: 4rem 0 0.5rem; }
h1 + h2, h1 + h3, h1 + h4 { margin-top: 1.5rem; }
h2 + h3, h2 + h4         { margin-top: 1rem; }
h3 + h4                  { margin-top: 0.5rem; }

.site-main > :first-child { margin-top: 0; }

.body-text { margin: 0 0 1.15rem; }
.body-text p, .body-text ul, .body-text ol {
  font-size: var(--fs-body);
  line-height: 1.55;
  margin: 0 0 1.15rem;
}
.body-text strong { font-weight: 700; color: var(--c-accent); }
.body-text em { font-style: italic; }

/* Image-Box */
.image-box {
  margin: 5rem 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.image-box img { width: 100%; height: auto; display: block; }
.image-box figcaption {
  padding: 1.25rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 1.4;
}

/* Buttons */
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2.5rem 0 0; }
.btn {
  --btn-fill: var(--c-primary);
  --btn-fill-text: var(--c-primary-text);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  isolation: isolate;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 2rem;
  border-radius: 0;
  border: 1.5px solid var(--c-primary);
  background: transparent;
  color: var(--c-primary);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.35s cubic-bezier(.4,0,.2,1), border-color 0.35s ease, transform 0.25s ease;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--btn-fill);
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(.65,0,.15,1);
  z-index: -1;
}
.btn::after {
  content: '→';
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.btn:hover, .btn:focus-visible, .btn.hover { color: var(--btn-fill-text); border-color: var(--btn-fill); }
.btn:hover::before, .btn:focus-visible::before, .btn.hover::before { transform: translateX(0); }
.btn:hover::after, .btn:focus-visible::after, .btn.hover::after { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

/* Testimonial */
.testimonial {
  margin: 5rem 0;
  padding: 4rem 2rem;
  border: none;
  border-radius: 0;
  background: transparent;
}
.testimonial-quote {
  margin: 0 0 1.5rem 0;
  font-family: 'Archivo Black', 'Helvetica Neue', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  color: #0A0A0A;
  font-variant: normal;
  letter-spacing: -0.03em;
}
.testimonial-author {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-weight: 500;
  font-size: 0.85rem;
  color: #0A0A0A;
  margin-bottom: 0.25rem;
}
.testimonial-role {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-weight: 400;
  font-size: 0.75rem;
  color: #6B6B6B;
  line-height: 1.4;
}

/* Placeholder */
.placeholder {
  background: #F3F4F6;
  border: 1px dashed #D1D5DB;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.placeholder-label, .placeholder-name { display: block; font-size: 0.85rem; color: #6B7280; }
.placeholder-name { font-family: var(--font-heading); font-size: 1.1rem; color: var(--c-primary); margin-top: 0.25rem; margin-bottom: 0.5rem; }

/* Gallery */
.media-block { margin: 2rem auto; max-width: 720px; }
.media-label { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--c-primary); margin-bottom: 0.5rem; line-height: 1.3; }
.media-audio-el { width: 100%; display: block; }
.media-video-el { width: 100%; height: auto; display: block; background: #000; }
.media-caption { font-family: var(--font-body); font-size: 0.8rem; color: var(--c-text-muted); margin-top: 0.4rem; line-height: 1.4; }

/* SWF-Player (Ruffle) + JS-Games (iframe-embedded) — gemeinsame Optik */
.swf-player, .js-game { margin: 2.5rem auto; max-width: 800px; }
.swf-title, .js-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.8rem; }
.swf-frame, .js-frame { width: 100%; margin: 0 auto; background: #000; position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.swf-frame > *, .js-frame > * { width: 100% !important; height: 100% !important; display: block; }
.swf-caption, .js-caption { font-family: var(--font-body); font-size: 0.85rem; color: var(--c-text-muted); margin-top: 0.7rem; line-height: 1.45; }
@media (max-width: 700px) { .swf-player, .js-game { margin: 1.5rem 0; } }

.gallery { display: grid; gap: 1rem; margin: 3rem 0; }
.gallery-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .gallery-cols-3, .gallery-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery-cols-2, .gallery-cols-3, .gallery-cols-4 { grid-template-columns: 1fr; } }
.gallery-item { margin: 0; overflow: hidden; border-radius: 12px; background: #F3F4F6; aspect-ratio: 4/3; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 0.6rem 0.85rem; background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #FFFFFF; font-size: 0.85rem; line-height: 1.3; }

/* References */
.references { display: grid; gap: 1.5rem; margin: 3rem 0; }
.references-cols-2 { grid-template-columns: repeat(2, 1fr); }
.references-cols-3 { grid-template-columns: repeat(3, 1fr); }
.references-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .references-cols-3, .references-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .references-cols-2, .references-cols-3, .references-cols-4 { grid-template-columns: 1fr; } }

/* References Fullbleed — vollbreite Kachel-Wand */
.references-fullbleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; margin-top: 2rem; margin-bottom: 0; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; }
.references-fullbleed .fullbleed-card { position: relative; aspect-ratio: 1 / 1; border: 0; background: var(--c-primary); overflow: hidden; display: block; color: #FFFFFF; text-decoration: none; }
.references-fullbleed .fullbleed-card .reference-image { position: absolute; inset: 0; aspect-ratio: auto; background: transparent; overflow: hidden; }
.references-fullbleed .fullbleed-card .reference-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease; }
.references-fullbleed .fullbleed-card:hover .reference-image img { transform: scale(1.07); filter: brightness(0.92); }
/* is-grayscale: Bilder default in Graustufen, Farbe bei Hover */
.references.is-grayscale .reference-image img,
.references-carousel.is-grayscale .reference-image img { filter: grayscale(0.7) contrast(0.95); transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.references.is-grayscale .reference-card:hover .reference-image img,
.references-carousel.is-grayscale .reference-card:hover .reference-image img { filter: grayscale(0) contrast(1); }
.references-fullbleed.is-grayscale .fullbleed-card:hover .reference-image img { filter: grayscale(0) contrast(1); }
.references-fullbleed .fullbleed-card .reference-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem 1.4rem; background: rgba(255, 31, 90, 0.85); color: #FFFFFF; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); z-index: 2; }
.references-fullbleed .fullbleed-card:hover .reference-body { transform: translateY(0); }
.references-fullbleed .fullbleed-card .reference-tag { display: inline-block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #FFFFFF; margin: 0 0 0.4rem 0; padding: 0; background: transparent; border: 0; }
.reference-tags { display: flex; flex-wrap: wrap; gap: 0 0.25rem; margin: 0 0 0.4rem 0; align-items: baseline; line-height: 0.85; }
.references-fullbleed .fullbleed-card .reference-tags .reference-tag,
.reference-tags .reference-tag { margin: 0 !important; font-size: 0.72rem; letter-spacing: 0.08em; line-height: 0.95; }
.reference-tags .reference-tag + .reference-tag::before { content: '·'; margin-right: 0.25rem; opacity: 0.55; }
.references-fullbleed .fullbleed-card .reference-title { font-family: var(--font-heading); font-size: 1.1rem; line-height: 1.15; color: #FFFFFF; margin: 0 0 0.3rem 0; }
.references-fullbleed .fullbleed-card .reference-desc { font-family: var(--font-body); font-size: 0.85rem; line-height: 1.4; color: #FFFFFF; margin: 0; opacity: 0.95; }
@media (hover: none) { .references-fullbleed .fullbleed-card .reference-body { transform: translateY(0); } }

/* Reference-Detail — zwei-spaltig, responsive */
.reference-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin: 1rem 0 3rem; }
.ref-detail-image-col, .ref-detail-text-col { min-width: 0; }
.ref-detail-image img { display: block; width: 100%; height: auto; object-fit: cover; }
.ref-detail-title { margin-top: 0; margin-bottom: 1.5rem; }
.ref-detail-body { margin: 0; }
@media (max-width: 800px) {
  .reference-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .ref-detail-image-col { order: 2; }
  .ref-detail-text-col  { order: 3; display: contents; }
  .ref-detail-title     { order: 1; }
  .ref-detail-body      { order: 3; }
}

/* Gallery-Carousel: Dots-Navigation, 4 / 3 / 2 / 1 sichtbar */
.gallery-carousel { position: relative; margin: 2rem 0 3rem; padding: 0; }
.gl-viewport { overflow: hidden; position: relative; }
.gl-track { display: flex; gap: 1rem; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.gl-slide { flex: 0 0 calc((100% - 3rem) / 4); box-sizing: border-box; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #F3F4F6; min-width: 0; }
@media (max-width: 1200px) { .gl-slide { flex: 0 0 calc((100% - 2rem) / 3); } }
@media (max-width: 900px)  { .gl-slide { flex: 0 0 calc((100% - 1rem) / 2); } }
@media (max-width: 600px)  { .gl-slide { flex: 0 0 100%; } }
.gl-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.gl-slide figcaption { margin-top: 0.5rem; font-family: var(--font-body); font-size: 0.85rem; color: var(--c-text-muted, #7A7A7A); }
@media (max-width: 700px) { .gl-track { gap: 0.6rem; } }
.gl-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.gl-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 1.5px solid var(--c-primary); background: transparent; padding: 0; cursor: pointer; transition: background-color 0.18s ease; }
.gl-dot:hover { background: var(--c-secondary); }
.gl-dot.is-active { background: var(--c-primary); }

/* Galerie-Pfeile (gleicher Look wie Testimonial-Pfeile tc-arrow) */
.gl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: none; background: var(--c-primary); color: var(--c-primary-text); font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease; z-index: 2; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.gl-arrow:hover { background: var(--c-secondary); color: var(--c-primary); }
.gl-arrow[disabled] { opacity: 0.35; cursor: not-allowed; }
.gl-arrow[hidden] { display: none; }
.gl-arrow-prev { left: -1rem; } .gl-arrow-next { right: -1rem; }
@media (max-width: 700px) {
  .gl-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.6rem; }
  .gl-arrow-prev { left: 0.25rem; } .gl-arrow-next { right: 0.25rem; }
}

/* Klickbares Bild in der Galerie (öffnet Lightbox). Button-Reset, damit's optisch unsichtbar bleibt. */
.gl-img-btn { display: block; padding: 0; margin: 0; border: 0; background: transparent; width: 100%; height: 100%; cursor: zoom-in; line-height: 0; }
.gl-img-btn img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Lightbox: Vollbild-Modal für Galerie-Bilder */
.lb-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0s linear 0.25s; }
.lb-overlay.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s ease, visibility 0s linear 0s; }
.lb-figure { transform: scale(0.96); transition: transform 0.25s ease; }
.lb-overlay.is-open .lb-figure { transform: scale(1); }
.lb-figure { margin: 0; max-width: min(95vw, 1400px); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; cursor: default; }
.lb-figure img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; background: #111; transition: opacity 0.15s ease; }
.lb-caption { color: #FFF; font-family: var(--font-body); font-size: 0.9rem; opacity: 0.85; text-align: center; max-width: 60ch; }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; border: none; background: var(--c-primary); color: var(--c-primary-text); font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.2s ease, color 0.2s ease; }
.lb-close:hover { background: var(--c-secondary); color: var(--c-primary); }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: none; background: var(--c-primary); color: var(--c-primary-text); font-size: 2rem; line-height: 1; cursor: pointer; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: background-color 0.2s ease, color 0.2s ease; }
.lb-arrow:hover { background: var(--c-secondary); color: var(--c-primary); }
.lb-arrow-prev { left: 1.5rem; } .lb-arrow-next { right: 1.5rem; }
.lb-arrow[hidden] { display: none; }
@media (max-width: 700px) {
  .lb-overlay { padding: 1rem; }
  .lb-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.6rem; }
  .lb-arrow-prev { left: 0.5rem; } .lb-arrow-next { right: 0.5rem; }
}

/* Reference-Detail: Title fluid skalieren, lange Wörter umbrechen */
.ref-detail-title {
  /* Untergrenze: 1.6rem (~26px), Obergrenze: var(--fs-h1), fluid mit viewport. */
  font-size: clamp(1.6rem, 4.5vw + 0.5rem, var(--fs-h1, 4.5rem));
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.reference-card { display: flex; flex-direction: column; border-radius: 0; overflow: hidden; background: var(--c-bg); border: 2px solid var(--c-primary); text-decoration: none; color: inherit; transition: box-shadow 0.18s ease; }
a.reference-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10); }
.references-style-shadow .reference-card { border: none; box-shadow: 0 8px 24px rgba(0,0,0,0.18); transition: box-shadow 0.18s ease, transform 0.18s ease; }
.references-style-shadow a.reference-card:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.28); transform: translateY(-2px); }
.reference-image { aspect-ratio: 4/3; overflow: hidden; background: #F3F4F6; line-height: 0; }
.reference-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.4s ease; }
a.reference-card:hover .reference-image img { transform: scale(1.04); }
.reference-body { padding: 1.25rem 1.4rem 1.5rem; }
.reference-tag { display: inline-block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 0.5rem; }
.reference-title { font-family: var(--font-heading); color: var(--c-primary); font-size: 1.15rem; line-height: 1.25; margin: 0 0 0.5rem; }
.reference-desc { font-size: 0.9rem; color: var(--c-text-body); line-height: 1.55; margin: 0; }

/* Hero */
.hero { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; min-height: var(--hero-height, 70vh); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; margin-top: 0; margin-bottom: 4rem; color: #FFFFFF; overflow: hidden; }
.site-main > .hero:first-child { margin-top: calc(-1 * var(--site-main-pad-top, 4rem)); }
.hero-img-a11y { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--container-max, 1500px); margin: 0 auto; padding: 4rem 2.5rem; }
.hero-align-center .hero-inner { text-align: center; }
.hero-align-right .hero-inner { text-align: right; }
.hero-title { font-family: var(--font-heading); color: #FFFFFF !important; margin: 0 0 1rem; font-size: clamp(2.5rem, 7vw, 6rem); line-height: 1.05; letter-spacing: -0.005em; }
.hero-subtitle { font-family: var(--font-body); color: rgba(255,255,255,0.85); font-size: clamp(1rem, 1.6vw, 1.4rem); line-height: 1.45; margin: 0 0 2rem; max-width: 60ch; }
.hero-align-center .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero-btn-row { margin-top: 0; }
.hero-btn-row .btn { --btn-fill: var(--c-bg); --btn-fill-text: var(--c-primary); border-color: rgba(255,255,255,0.7); color: #FFFFFF; background: transparent; }

/* Typo-Hero (mode:typo) — kein Bild, wilde typografische Komposition */
.hero-typo { background: var(--hero-bg, #FFFFFF); color: var(--hero-fg, #0A0A0A); min-height: clamp(70vh, 92vh, 1200px); align-items: center; margin-bottom: 4rem; position: relative; overflow: hidden; }
.hero-typo-ascii { position: absolute; inset: 0; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; font-family: 'Courier New', 'Menlo', monospace; font-size: calc(0.45vw * var(--hero-ascii-scale, 1)); line-height: 0.95; letter-spacing: 0; color: var(--hero-ascii-color, currentColor); opacity: var(--hero-ascii-opacity, 0.12); pointer-events: none; user-select: none; white-space: pre; overflow: hidden; z-index: 0; text-align: center; }
.hero-typo-ascii-left   { justify-content: flex-start; padding-left: 2vw; }
.hero-typo-ascii-center { justify-content: center; }
.hero-typo-ascii-right  { justify-content: flex-end; padding-right: 2vw; }
.hero-typo-inner { position: relative; z-index: 1; padding: 6rem 2.5rem 4rem; width: 100%; max-width: var(--container-max, 1500px); margin: 0 auto; text-align: inherit; }
.hero-align-left   .hero-typo-inner { text-align: left;   }
.hero-align-center .hero-typo-inner { text-align: center; }
.hero-align-right  .hero-typo-inner { text-align: right;  }
.hero-typo-caption { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-secondary); margin-bottom: 2.5rem; word-spacing: 0.4em; }
.hero-typo-line { line-height: 0.86; margin: 0; padding: 0; display: block; margin-block: -0.05em; word-break: keep-all; overflow-wrap: normal; }
.hero-typo-word { font-family: var(--font-heading); font-weight: 900; letter-spacing: -0.04em; color: inherit; margin: 0; padding: 0 0.05em; line-height: 0.85; vertical-align: baseline; }
.hero-typo-font-display { font-family: var(--font-heading); }
.hero-typo-font-body    { font-family: var(--font-body); font-weight: 300; letter-spacing: -0.01em; }
.hero-typo-font-mono    { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; }
.hero-typo-size-small  { font-size: clamp(1rem,    2vw,  1.6rem); }
.hero-typo-size-medium { font-size: clamp(1.8rem,  4vw,  3.5rem); }
.hero-typo-size-large  { font-size: clamp(3.5rem,  9vw,  7rem); }
.hero-typo-size-huge   { font-size: clamp(5rem,   14vw, 12rem);  line-height: 0.82; }
.hero-typo-size-mega   { font-size: clamp(7rem,   20vw, 18rem);  line-height: 0.78; letter-spacing: -0.05em; }
.hero-typo-word.is-italic  { font-style: italic; }
.hero-typo-word.is-outline { color: transparent; -webkit-text-stroke: 2px var(--c-primary); text-stroke: 2px var(--c-primary); }
.hero-typo-btns { margin-top: 3rem; }
@media (max-width: 700px) {
  .hero-typo-inner { padding: 4rem 1.25rem 3rem; }
  .hero-typo-caption { margin-bottom: 1.5rem; font-size: 0.7rem; letter-spacing: 0.12em; }
  .hero-typo-size-mega { font-size: clamp(4rem, 22vw, 8rem); }
  .hero-typo-size-huge { font-size: clamp(3rem, 16vw, 6rem); }
  .hero-typo-word { transform: none !important; }
  /* ASCII auf Mobile deutlich größer + zentriert, hinter dem Text */
  .hero-typo-ascii { font-size: calc(1.7vw * var(--hero-ascii-scale, 1)); opacity: var(--hero-ascii-opacity, 0.35); padding-left: 0 !important; padding-right: 0 !important; justify-content: center !important; }
}

/* Fullscreen-Image — 100vh-Sektion mit Vollbild + Overlay-Boxen */
.fullscreen-image { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; min-height: 100vh; overflow: hidden; display: flex; align-items: center; }
.site-main > .fullscreen-image { margin-top: 0; margin-bottom: 0; }
.site-main > .fullscreen-image:first-child { margin-top: -4rem; }
.site-main > .fullscreen-image:last-child  { margin-bottom: -4rem; }
.site-main > .fullscreen-image + .section-band, .site-main > .section-band + .fullscreen-image { margin-top: 0; }
.site-main > .map-embed:last-child  { margin-bottom: -4rem; }
.site-main > .map-embed:first-child { margin-top: -4rem; }
.fsi-align-left   { justify-content: flex-start; padding-left: 6vw; }
.fsi-align-center { justify-content: center; }
.fsi-align-right  { justify-content: flex-end; padding-right: 6vw; }
.fsi-image { position: absolute; inset: -30% 0; width: 100%; height: 160%; object-fit: cover; z-index: 0; will-change: transform; transition: transform 0.05s linear; }
.fsi-lb-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: transparent; cursor: zoom-in; z-index: 1; overflow: hidden; }
.fsi-lb-btn .fsi-image { position: absolute; inset: -30% 0; width: 100%; height: 160%; }
.fsi-filter-duotone { filter: sepia(0.6) hue-rotate(35deg) saturate(1.4) contrast(1.05) brightness(0.92); }
.fsi-overlay { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 0.4em; max-width: 90%; }
.fsi-overlay-line { display: inline-block; background: rgba(58, 58, 42, 0.78); color: #FFFFFF; padding: 0.2em 0.55em; font-family: 'Archivo Black', 'Helvetica Neue', sans-serif; font-size: 4.5rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.005em; }
.fsi-scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; color: #FFFFFF; text-decoration: none; animation: fsi-bounce 2.4s ease-in-out infinite; }
.fsi-scroll svg { width: 100%; height: 100%; }
@keyframes fsi-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (max-width: 768px) { .fsi-overlay-line { font-size: 2.5rem; } }

/* Testimonial-Carousel — ein Slide sichtbar, Fade zwischen Slides */
.testimonial-carousel { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; padding: 6rem 4rem; background: var(--c-section-muted); overflow: hidden; }
.tc-track { position: relative; max-width: 60rem; margin: 0 auto; min-height: 14rem; }
.tc-slide { position: absolute; inset: 0; margin: 0; padding: 2.5rem 2rem; background: transparent; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.tc-slide.is-active { position: relative; opacity: 1; pointer-events: auto; }
.tc-slide .testimonial-quote { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.3; color: var(--c-primary); margin: 0 0 1.75rem 0; }
.tc-slide .testimonial-author { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--c-primary); margin-top: auto; }
.tc-slide .testimonial-role { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; line-height: 1.4; color: var(--c-text-muted); margin-top: 0.4rem; }
@media (max-width: 900px) { .testimonial-carousel { padding: 4rem 1.5rem; } .tc-slide { padding: 2rem 1.5rem; } }
.tc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: none; background: var(--c-primary); color: var(--c-primary-text); font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; z-index: 2; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.tc-arrow:hover { background: var(--c-secondary); color: var(--c-primary); }
.tc-arrow-prev { left: 1.5rem; } .tc-arrow-next { right: 1.5rem; }
.tc-dots { display: flex; justify-content: center; gap: 0.6rem; margin: 2.5rem 0 0 0; }
.tc-dot { width: 0.7rem; height: 0.7rem; border-radius: 999px; border: none; background: var(--c-primary); opacity: 0.3; cursor: pointer; transition: opacity 0.2s ease, transform 0.2s ease; padding: 0; }
.tc-dot:hover { opacity: 0.6; }
.tc-dot.is-active { opacity: 1; transform: scale(1.3); }

/* Section-Band — Vollbreit-Band mit farbigem Hintergrund */
.section-band { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; padding: 3.5rem 2rem; }
.section-band-pad-large { padding: 5rem 2rem; }
.section-band-inner { max-width: var(--container-max); margin: 0 auto; }
.section-band-white { background: var(--c-bg); }
.section-band-muted { background: var(--c-section-muted); }
.section-band-warm  { background: #EFE7D4; }
.section-band-cold  { background: #E8E5DD; }
.section-band-dark  { background: var(--c-primary); color: var(--c-primary-text); }
.section-band-orange { background: var(--c-accent-orange); color: var(--c-primary); }
.section-band-blue   { background: var(--c-accent-blue);   color: var(--c-primary); }
.section-band-lime   { background: var(--c-accent-lime);   color: var(--c-primary); }
.section-band-pink   { background: var(--c-accent-pink);   color: var(--c-primary); }
.section-band-dark h1, .section-band-dark h2, .section-band-dark h3, .section-band-dark h4 { color: var(--c-primary-text); }
.section-band-dark .body-text p, .section-band-dark .body-text ul, .section-band-dark .body-text ol { color: var(--c-primary-text); }
.section-band-dark .body-text a { color: var(--c-secondary); }
.section-band-dark .body-text strong, .section-band-muted .body-text strong { color: #FFFFFF; }
.section-band-dark .heading-dot, .section-band-muted .heading-dot { color: #FFFFFF; }
.section-band-dark .testimonial-quote { color: #FFFFFF; }
.section-band-dark .testimonial-author { color: #FFFFFF; }
.section-band-dark .testimonial-role { color: rgba(255,255,255,0.7); }
.section-band-inner > :first-child { margin-top: 0; }
.section-band-inner > :last-child  { margin-bottom: 0; }

/* Customer-Logos — Grid */
.customer-logos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin: 2.5rem 0 0 0; }
.customer-logos-cell { background: var(--c-bg); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 1rem; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.customer-logos-cell:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.customer-logos-cell img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 600px) { .customer-logos-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; } .customer-logos-cell { padding: 0.75rem; } }

/* Map-Embed */
.map-embed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-filter-olive iframe { filter: grayscale(1) brightness(1.05) contrast(0.92); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 32px; height: 44px; transform: translate(-50%, -100%); pointer-events: none; z-index: 3; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35)); }
.map-pin svg { display: block; width: 100%; height: 100%; }
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease; z-index: 2; }
.map-overlay:hover { background: rgba(0,0,0,0.04); }
.map-overlay-hint { background: var(--c-primary); color: var(--c-primary-text); font-family: var(--font-body); font-size: 0.95rem; padding: 0.7rem 1.2rem; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.map-overlay:hover .map-overlay-hint { opacity: 1; }
.map-embed.is-active .map-overlay { display: none; }

/* References-Carousel — horizontaler Track, animiert per transform */
.references-carousel { position: relative; margin: 3rem 0; padding: 0 4rem; }
.rc-viewport { overflow: hidden; position: relative; }
.rc-track { display: flex; gap: 1.5rem; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.rc-slide { flex: 0 0 auto; box-sizing: border-box; }
.rc-slide .reference-image { aspect-ratio: 16 / 10; overflow: hidden; }
.rc-slide .reference-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
@media (max-width: 900px) { .references-carousel { padding: 0 3rem; } }
@media (max-width: 600px) { .references-carousel { padding: 0 2.5rem; } .rc-track { gap: 0; } }
.rc-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; border: none; background: var(--c-primary); color: var(--c-primary-text); font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; z-index: 2; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.rc-arrow:hover { background: var(--c-secondary); color: var(--c-primary); }
.rc-arrow-prev { left: 0; } .rc-arrow-next { right: 0; }

/* Customer-Logos-Carousel — 6/4/3 sichtbar je nach Viewport */
.customer-logos-carousel { position: relative; margin: 1.5rem 0; padding: 0 3.5rem; }
.cl-viewport { overflow: hidden; position: relative; }
.cl-track { display: flex; gap: 1rem; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.cl-slide { flex: 0 0 auto; box-sizing: border-box; }
.cl-slide.customer-logos-cell { aspect-ratio: 1 / 1; margin: 0; }
@media (max-width: 900px) { .customer-logos-carousel { padding: 0 3rem; } }
@media (max-width: 600px) { .customer-logos-carousel { padding: 0 2.5rem; } .cl-track { gap: 0.6rem; } }
.cl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; border: none; background: var(--c-primary); color: var(--c-primary-text); font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; z-index: 2; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.cl-arrow:hover { background: var(--c-secondary); color: var(--c-primary); }
.cl-arrow-prev { left: 0; } .cl-arrow-next { right: 0; }

/* Customer-Logos Marquee — kontinuierliches Durchlaufband.
   Track enthält Logos zweimal (PHP-render-Trick), Animation
   translatX(0) → translateX(-50%) ist somit nahtlos.
   Hover pausiert. */
.customer-logos-marquee {
  position: relative; margin: 1.5rem 0;
  overflow: hidden;
  --cl-marquee-duration: 30s;
  /* Sanfter Fade an den Rändern, damit Logos nicht "abgeschnitten" wirken */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.customer-logos-marquee .clm-track {
  display: flex; gap: 1rem;
  width: max-content;
  animation: cl-marquee var(--cl-marquee-duration) linear infinite;
  will-change: transform;
}
.customer-logos-marquee:hover .clm-track {
  animation-play-state: paused;
}
.customer-logos-marquee .clm-cell {
  flex: 0 0 auto;
  width: 160px;
  aspect-ratio: 1 / 1;
  margin: 0;
}
@media (max-width: 600px) {
  .customer-logos-marquee .clm-cell { width: 120px; }
  .customer-logos-marquee .clm-track { gap: 0.6rem; }
}
@keyframes cl-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .customer-logos-marquee .clm-track { animation: none; }
}

/* Customer-Logo */
.customer-logo { display: flex; align-items: center; gap: 1.25rem; margin: 4rem 0 2rem; padding: 1.5rem 0; border-top: 1px solid var(--c-text-muted, #7A7A7A); opacity: 0.95; }
.customer-logo-label { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-muted, #7A7A7A); flex-shrink: 0; }
.customer-logo-frame { display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; padding: 10px; border-radius: 4px; }
.customer-logo-frame img { max-height: 3rem; max-width: 12rem; width: auto; height: auto; object-fit: contain; display: block; }

/* Reference-Filter */
.reference-filter { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 2rem; }
.reference-filter-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-muted, #7A7A7A); margin-right: 0.25rem; }
.reference-filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.reference-filter-btn { background: transparent; border: 1.5px solid var(--c-primary); color: var(--c-primary); padding: 0.5rem 1rem; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; border-radius: 0; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; line-height: 1; }
.reference-filter-btn:hover { background: var(--c-secondary); border-color: var(--c-secondary); color: var(--c-primary); }
.reference-filter-btn.is-active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-text); }
.reference-card.is-hidden { display: none; }

/* ─── Collapsible-References (data-collapsible, NUR grid-mode) ──────
   Greift NICHT bei references-fullbleed — der hat sein eigenes Layout.
   - Cards zeigen nur das Bild, Title beim Hover als Overlay
   - Auf Mobile (kein Hover) bleibt der Title sichtbar
   - Grid bekommt unten eine feine Linie als Trenner zum Toggle-Button
   - Toggle ist tab-artig: voll-breit, sitzt direkt an der Linie
   ─────────────────────────────────────────────────────────────────── */
.references[data-collapsible]:not(.references-fullbleed) .reference-card {
  border: none;
  position: relative;
  overflow: hidden;
}
.references[data-collapsible]:not(.references-fullbleed) a.reference-card:hover {
  box-shadow: none;
}
.references[data-collapsible]:not(.references-fullbleed) .reference-image {
  aspect-ratio: 4 / 3;
}
.references[data-collapsible]:not(.references-fullbleed) .reference-image img {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s ease;
}
.references[data-collapsible]:not(.references-fullbleed) a.reference-card:hover .reference-image img {
  transform: scale(1.06);
  filter: brightness(0.85);
}
.references[data-collapsible]:not(.references-fullbleed) .reference-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem 1.1rem;
  background: rgba(255, 31, 90, 0.92);
  color: #FFFFFF;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}
.references[data-collapsible]:not(.references-fullbleed) a.reference-card:hover .reference-body {
  transform: translateY(0);
}
.references[data-collapsible]:not(.references-fullbleed) .reference-title {
  color: #FFFFFF;
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}
.references[data-collapsible]:not(.references-fullbleed) .reference-tag,
.references[data-collapsible]:not(.references-fullbleed) .reference-desc {
  color: rgba(255,255,255,0.85);
}
@media (hover: none), (max-width: 700px) {
  .references[data-collapsible]:not(.references-fullbleed) .reference-card {
    border: 2px solid var(--c-primary);
  }
  .references[data-collapsible]:not(.references-fullbleed) .reference-body {
    position: static;
    transform: none;
    background: transparent;
    color: inherit;
    padding: 1rem 1.2rem 1.2rem;
  }
  .references[data-collapsible]:not(.references-fullbleed) .reference-title {
    color: var(--c-primary);
  }
  .references[data-collapsible]:not(.references-fullbleed) .reference-tag,
  .references[data-collapsible]:not(.references-fullbleed) .reference-desc {
    color: inherit;
  }
}

/* Toggle-Wrap als Tab unterhalb des Grids, mit feiner Trennlinie */
.references-toggle-wrap {
  border-top: 1px solid var(--c-primary);
  margin-top: -1px;
  padding: 0;
  display: flex;
  justify-content: stretch;
}
/* Bei fullbleed-Grid bricht das Wrap auch aus dem Container aus,
   damit der Button die gleiche volle Viewport-Breite kriegt. */
.references-fullbleed + .references-toggle-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.references-toggle {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: transparent;
  color: var(--c-primary);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.references-toggle:hover {
  background: var(--c-primary);
  color: var(--c-primary-text);
}
.references-toggle-icon {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 0.7em; line-height: 1;
}
.references-toggle[aria-expanded="true"] .references-toggle-icon {
  transform: rotate(180deg);
}

/* Akzent-Punkt am Ende von Headings: lime-grün als Signatur */
.heading-dot { color: var(--c-secondary); }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(100px); transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.78); transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-scale { transition: none; opacity: 1; transform: none; } .fsi-image { transform: none !important; } }

/* Header */
.site-header {
  width: 100%;
  height: 5rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background: #FFFFFF;
  border-bottom: 2px solid #0A0A0A;
  overflow: hidden;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  position: sticky; top: 0; z-index: 20;
}
body.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}
.site-header-inner {
  max-width: 1400px;
  margin: 0 auto; height: 100%;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-logo {
  font-family: 'Archivo Black', 'Helvetica Neue', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  font-variant: normal;
  letter-spacing: -0.03em;
  color: #0A0A0A;
  text-decoration: none;
}
.site-logo-suffix { font-family: var(--font-body); font-size: 0.55em; font-weight: 300; letter-spacing: 0; color: var(--c-text-muted); margin-left: 0.05em; vertical-align: baseline; position: relative; top: -0.2em; }
.site-logo-image { display: inline-flex; align-items: center; gap: 1rem; line-height: 0; height: 5rem; }
.site-logo-img-wrap { position: relative; display: inline-flex; align-items: center; height: 100%; background: var(--c-secondary); }
.site-logo-img-wrap::before { content: ''; position: absolute; right: 100%; top: 0; bottom: 0; width: 100vw; background: inherit; }
.site-logo-image img { display: block; height: 100%; width: auto; position: relative; }
.site-logo-image .site-logo-text { font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif; font-size: 1.15rem; font-weight: 600; line-height: 1; letter-spacing: 0.04em; text-transform: lowercase; color: var(--c-primary); white-space: nowrap; }
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: #0A0A0A;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a.active { color: #FF1F5A; }
.site-nav a.active { border-bottom: 1.5px solid var(--c-primary); padding-bottom: 0.15rem; }

/* Burger-Button (auf Desktop versteckt, ab --bp-burger sichtbar) */
.site-burger {
  display: none;
  width: 2.8rem; height: 2.8rem;
  border: none; background: transparent; cursor: pointer; padding: 0;
  margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  z-index: 110;
}
.site-burger-line {
  display: block; width: 1.6rem; height: 2px;
  background: #0A0A0A;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-nav-close {
  display: none;
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 3rem; height: 3rem; border: none; background: transparent;
  color: var(--c-primary); font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 0;
}
.site-nav-backdrop { display: none; }

/* Mobile-Breakpoint: Burger sichtbar, Nav als Vollbild-Overlay */
@media (max-width: 860px) {
  .site-burger { display: inline-flex; }
  .site-nav-close { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 0;
    background: var(--c-bg);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 1.5rem;
    margin: 0; padding: 2rem;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .site-nav a {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    color: var(--c-primary);
    padding: 0.5rem 1rem;
  }
  .site-header.is-nav-open .site-nav { transform: translateX(0); }
  .site-header.is-nav-open .site-burger-line:nth-child(1) { transform: translateY(0.6rem) rotate(45deg); }
  .site-header.is-nav-open .site-burger-line:nth-child(2) { opacity: 0; }
  .site-header.is-nav-open .site-burger-line:nth-child(3) { transform: translateY(-0.6rem) rotate(-45deg); }
  body.is-nav-open { overflow: hidden; }
}

/* Main */
.site-main {
  max-width: var(--container-max);
  margin: 0 auto;
  --site-main-pad-top: 4rem;
  padding: var(--site-main-pad-top) 2rem 4rem;
  flex: 1;
  width: 100%;
}

/* Footer */
.site-footer {
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 2.5rem;
  padding-left: 0;
  padding-right: 0;
  background: #0A0A0A;
  color: #9C9C9C;
}
.site-footer-inner { max-width: 1400px; margin: 0 auto; padding-left: 2.5rem; padding-right: 2.5rem; }
.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}
.site-footer-col h5 {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  color: #FFFFFF;
  font-variant: normal;
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.site-footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer-col li {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #9C9C9C;
  line-height: 1.85;
}
.site-footer-col a { color: inherit; text-decoration: none; }
.site-footer-col a:hover { color: #FF1F5A; }
.site-copyright {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #2A2A2A;
  font-size: 0.75rem;
  color: #5F5F5F;
}
