/* FBX Consulting – style.css */
/* Schrift liegt auf dem eigenen Server (keine Verbindung zu Google), Lizenz: fonts/OFL.txt */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --paper: #F3F2F6;
  --purple: #7B2CF2;
  --lilac: #C4A2FF;
  --grey-light: #625D6B;  /* Fließtext auf hell */
  --grey-dark: #A9A4B2;   /* Fließtext auf dunkel */
  --line-light: #DCD9E2;
  --line-dark: #2B2830;
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; background: #CECCD3; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
/* Lange deutsche Wörter ("Zusammenarbeit") sind bei grossen
   Überschriften auf dem Telefon breiter als die Spalte und haben
   die ganze Seite quer scrollen lassen. hyphens trennt sauber
   (das lang="de" im Kopf liefert die Regeln), overflow-wrap
   fängt den Rest ab, wenn keine Trennstelle passt. */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  hyphens: auto; overflow-wrap: break-word; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Hell / Dunkel */
.dark  { background: var(--black); color: var(--white); }
.light { background: var(--paper); color: var(--black); }
.white { background: var(--white); color: var(--black); }
.dark .muted  { color: var(--grey-dark); }
.light .muted, .white .muted { color: var(--grey-light); }

section { padding: clamp(80px, 11vw, 150px) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 6px; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: #6515DB; }
.dark .btn-outline { border-color: var(--white); color: var(--white); }
.dark .btn-outline:hover { background: var(--white); color: var(--black); }
.light .btn-outline, .white .btn-outline { border-color: var(--black); color: var(--black); }
.light .btn-outline:hover, .white .btn-outline:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 36px; width: auto; background: none; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--lilac); }
.nav .btn { min-height: 44px; padding: 0 20px; }
.nav .btn:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font: inherit; font-weight: 700; padding: 10px 0; cursor: pointer; }

/* Hero (Startseite) */
.hero { padding: clamp(56px, 8vw, 110px) 0 0; overflow: hidden; }
.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: .92;
  max-width: 13ch;
}
.hero-bottom {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  margin-top: 48px;
}
.hero-bottom p { font-size: 1.3rem; max-width: 34ch; }
/* der schräge Schnitt greift das X im Logo auf */
/* Statt clip-path liegt ein schwarzes SVG-Dreieck über dem Bild:
   SVG wird immer geglättet, clip-path auf Bildern franst in Chrome beim Laden aus */
.hero-img {
  position: relative;
  margin-top: 72px;
  aspect-ratio: 1920 / 900;
  overflow: hidden;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px;
  height: calc(14% + 1px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 100,0 100,100' fill='%23000'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  z-index: 1;
  pointer-events: none;
}
.hero h1 .accent { color: var(--purple); }
.platforms {
  display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline;
  padding: 28px 0; border-top: 1px solid var(--line-dark);
}
.platforms strong { font-size: 1.15rem; }

/* Über uns */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split .text { display: grid; gap: 24px; }
.lead { font-size: 1.35rem; line-height: 1.45; font-weight: 500; }

/* Leistungen */
.section-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.section-top p { max-width: 42ch; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
.services.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; }
.service h3 { margin-bottom: 10px; }
.service ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: .9rem; padding: 4px 12px; border: 1px solid var(--line-light); border-radius: 40px; }

/* Produktion (Vollbild) */
.feature { padding: 0; position: relative; }
.feature img { width: 100%; height: clamp(420px, 60vw, 760px); object-fit: cover; }
.feature-box {
  position: relative; margin-top: -180px;
  background: var(--black); max-width: 720px;
  padding: 48px var(--pad) 72px;
  display: grid; gap: 20px;
}
.feature-wrap { max-width: var(--wrap); margin: 0 auto; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { border-top: 3px solid var(--black); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.dark .step { border-top-color: var(--white); }
.step .when { font-weight: 700; color: var(--purple); }
.dark .step .when { color: var(--lilac); }

/* Zwei Wege */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.way { display: grid; text-decoration: none; }
.way img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; grid-area: 1 / 1; }
.way-text {
  grid-area: 1 / 1; align-self: end;
  background: var(--black); margin: 0 24px 24px; padding: 28px;
  display: grid; gap: 10px;
}
.way-text span { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.way:hover .way-text span { color: var(--lilac); }

/* Warum */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.reason { display: grid; gap: 12px; align-content: start; }

/* Abschluss */
/* Die Untergrenze lag bei 3rem. Bei einem Creatornamen wie
   "Zusammenarbeit mit …" passt das lange erste Wort damit auf
   dem Telefon nicht mehr in die Spalte. 2.4rem lässt es ganz
   stehen, statt es mitten im Wort zu brechen. */
.cta h2 { font-size: clamp(2.4rem, 9vw, 8rem); letter-spacing: -0.05em; max-width: 12ch; margin-bottom: 32px; }
.cta p { max-width: 40ch; font-size: 1.2rem; margin-bottom: 36px; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); padding: 72px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 40px; width: auto; background: none; margin-bottom: 20px; }
.footer-grid h4 { margin: 0 0 14px; font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--grey-dark); }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { margin-top: 64px; font-size: .9rem; color: var(--grey-dark); }

/* Unterseiten */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }
.page-hero .grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 90px); align-items: end; }
.page-hero h1 { font-size: clamp(3rem, 7.5vw, 6.8rem); font-weight: 900; letter-spacing: -0.05em; line-height: .92; margin-bottom: 32px; }
.page-hero p { font-size: 1.25rem; max-width: 38ch; margin-bottom: 36px; }
.page-hero img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }

.list-services { border-top: 1px solid var(--line-light); }
.list-services > div {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px;
  padding: 40px 0; border-bottom: 1px solid var(--line-light);
}
.list-services h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.list-services small { display: block; margin-top: 14px; color: var(--grey-light); font-size: .95rem; }

/* Creator-Oekosystem: Claim ueber dem Absatz.

   Kein .lead: Der ist fuer Einleitungen gedacht und waere hier
   dreimal untereinander zu laut. */
.oeko-claim { font-weight: 700; margin-bottom: 10px; }

/* Hinweis mit kleinem i.

   Steht immer da, nicht erst beim Ueberfahren: Was er sagt,
   ist eine rechtliche Klarstellung und keine Fussnote. */
.hinweis {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 18px; padding: 12px 14px;
  border: 1px solid var(--line-light); border-radius: 10px;
  color: var(--grey-light); font-size: .9rem; line-height: 1.5;
}
.hinweis-i {
  flex: none; width: 18px; height: 18px; margin-top: 1px;
  border-radius: 50%; background: var(--line-light); color: var(--black);
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; font-style: italic;
}

/* Auf dunklem Grund umgekehrt, falls der Abschnitt mal
   umzieht. */
.dark .hinweis { border-color: var(--line-dark); }
.dark .hinweis-i { background: var(--line-dark); color: var(--white); }

/* Vergleich */
.compare { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.compare th { text-align: left; font-weight: 700; padding: 0 0 16px; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 22%; }
.compare td { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.compare .no { color: #6E6977; }
.compare .yes { color: var(--lilac); font-weight: 800; }
.compare-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.compare-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 40px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 7vw, 100px); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq details:first-child { border-top: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 26px 0; font-size: 1.25rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; max-width: 60ch; color: var(--grey-light); }

.wide-img { width: 100%; aspect-ratio: 1920 / 800; object-fit: cover; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-info { display: grid; gap: 32px; }
.contact-info .big { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.contact-info .big:hover { color: var(--purple); }
.contact-info img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.field { display: grid; gap: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Kontaktformular (Seite + Pop-up) */
.kf {
  background: var(--white); color: var(--black);
  padding: clamp(24px, 4vw, 32px); border-radius: 16px;
  display: grid; gap: 16px; font-size: 1rem;
}
.kf > * { min-width: 0; }
.kf-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.kf-head h2 { font-size: 2rem; letter-spacing: -0.03em; }
.kf-close {
  width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--black);
  font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.kf-close:hover { background: var(--line-light); }
.kf-intro { font-size: .95rem; margin-top: -4px; }

.kf-switch {
  display: inline-grid; grid-template-columns: 1fr 1fr; justify-self: start;
  margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--paper);
}
.kf-switch label { position: relative; cursor: pointer; }
.kf-switch input { position: absolute; opacity: 0; pointer-events: none; }
.kf-switch span {
  display: block; padding: 9px 22px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; text-align: center; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.kf-switch input:checked + span { background: var(--purple); color: var(--white); font-weight: 700; }
.kf-switch input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }

.kf .field > label, .kf-label { font-weight: 500; font-size: .9rem; }
.kf input:not([type="radio"]):not([type="checkbox"]), .kf select, .kf textarea, .kf-multi-trigger {
  font: inherit; font-size: 1rem; color: var(--black);
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line-light); border-radius: 8px; background: #FAFAFB;
}
.kf ::placeholder { color: #9A96A2; }
.kf select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.kf input:focus, .kf select:focus, .kf textarea:focus, .kf-multi-trigger[aria-expanded="true"] { outline: none; border-color: var(--purple); background-color: var(--white); }
.kf textarea { min-height: 110px; resize: vertical; }
.kf [hidden] { display: none; }
.kf-legal { font-size: .9rem; }
.kf-legal a { font-weight: 700; text-underline-offset: 3px; }
.kf-submit {
  width: 100%; min-height: 52px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--purple); color: var(--white);
  font-family: inherit; font-weight: 800; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.kf-submit:hover { background: #6515DB; }

@media (max-width: 480px) {
  .kf-switch { justify-self: stretch; }
  .kf-switch span { padding: 9px 10px; font-size: .85rem; }
}

/* Kanäle (Creator > Management) */
.kf-kanaele { display: grid; gap: 8px; }
.kf-kanal { display: grid; grid-template-columns: 140px 1fr auto; gap: 8px; align-items: center; }
.kf-remove {
  width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--paper); color: var(--black); font: inherit; font-size: 1.3rem; line-height: 1;
}
.kf-remove:hover { background: var(--line-light); }
.kf-remove[hidden] { display: block; visibility: hidden; }
.kf-add {
  justify-self: start; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 700; color: var(--purple);
}
.kf-add:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Multi-Select (Brand > Creator Name) */
.kf-multi { position: relative; }
.kf-multi-trigger {
  display: flex; align-items: center; min-height: 50px; padding-top: 8px !important; padding-bottom: 8px !important;
  text-align: left; cursor: pointer; padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.kf-multi-value { display: flex; flex-wrap: wrap; gap: 6px; }
.kf-multi-ph { color: #9A96A2; }
.kf-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 6px 3px 12px; border-radius: 999px;
  background: var(--purple); color: var(--white); font-size: .88rem; font-weight: 700;
}
.kf-chip-x { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 1rem; line-height: 1; }
.kf-chip-x:hover { background: rgba(255, 255, 255, .2); }
.kf-multi-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5;
  background: var(--white); border: 1px solid var(--line-light); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14); padding: 8px;
}
.kf-multi-panel[hidden] { display: none; }
.kf .kf-multi-search { padding: 10px 12px; margin-bottom: 4px; }
.kf-multi-panel ul { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow: auto; }
.kf-multi-panel li[hidden] { display: none; }
.kf-multi-panel li label {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; cursor: pointer; font-weight: 500;
}
.kf-multi-panel li label:hover { background: var(--paper); }
.kf-multi-panel input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--purple); margin: 0; }
.kf-multi-empty { padding: 10px 12px; font-size: .9rem; color: var(--grey-light); }

@media (max-width: 480px) {
  .kf-kanal { grid-template-columns: 1fr auto; }
  .kf-kanal select { grid-column: 1 / -1; }
  .kf-kanal .kf-remove { grid-row: 2; grid-column: 2; }
}

/* Pop-up */
/* Das Fenster selbst rollt NICHT.

   Vorher stand overflow:auto hier. Der Bildlaufbalken lag damit
   ausserhalb der weissen Karte, auf dem grauen Rand, und sah aus
   wie ein Fremdkoerper.

   Jetzt rollt die Karte darin, und der Balken sitzt innen. */
.kontakt-dialog {
  width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 16px; background: none;
  overflow: hidden;
}

.kontakt-dialog .kf {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;

  /* Ein schmaler, zurueckhaltender Balken statt des
     Systembalkens. In Firefox ueber scrollbar-*, in den
     uebrigen Browsern ueber ::-webkit-scrollbar. */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .22) transparent;
}

.kontakt-dialog .kf::-webkit-scrollbar { width: 10px; }
.kontakt-dialog .kf::-webkit-scrollbar-track { background: transparent; }
.kontakt-dialog .kf::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .18);
  border-radius: 999px;

  /* Abstand zum Rand, damit der Balken nicht an der Kante der
     Karte klebt. */
  border: 3px solid transparent;
  background-clip: content-box;
}
.kontakt-dialog .kf::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, .3); background-clip: content-box; }
.kontakt-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.kontakt-dialog[open] { animation: kf-in .18s ease-out; }
@keyframes kf-in { from { opacity: 0; transform: translateY(8px); } }
html:has(.kontakt-dialog[open]) { overflow: hidden; }

/* Rechtliches (Impressum, Datenschutz) */
.legal { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.legal h2 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 8px; }
.legal a { text-underline-offset: 3px; }
.legal-facts { display: grid; gap: 32px; }
.legal-text { max-width: 68ch; }
.legal-text h2 { margin-top: 40px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { color: var(--grey-light); }
.legal-text p + p, .legal-text p + ul, .legal-text ul + p { margin-top: 14px; }
.legal-text h3 { font-size: 1rem; letter-spacing: 0; margin: 24px 0 6px; }
.legal-text ul { margin: 10px 0 0; padding-left: 1.2em; color: var(--grey-light); }
.legal-text li + li { margin-top: 6px; }
.legal-text strong { color: var(--black); font-weight: 700; }
.legal-single { grid-template-columns: minmax(0, 1fr); }
.legal-single .legal-text { max-width: 72ch; }
.legal-stand { font-size: .95rem; }

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 20px;
    background: var(--black); padding: 24px var(--pad) 32px;
    border-top: 1px solid var(--line-dark);
  }
  .nav.open { display: flex; }
  .hero-bottom, .split, .section-top, .page-hero .grid, .compare-grid,
  .faq-grid, .contact-grid, .legal { grid-template-columns: 1fr; }
  .services, .services.three, .ways, .reasons, .steps, .steps.four { grid-template-columns: 1fr; }
  .list-services > div { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-box { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}


/* -------------------------------------------------------------
   Creator-Detailseite: kleinerer Kopf
   -------------------------------------------------------------
   Der normale page-hero ist fuer eine Ueberschrift ueber die
   halbe Seite gebaut. Bei einem Portrait daneben wird daraus ein
   Bild, das fast den ganzen Schirm fuellt, und der Inhalt
   darunter faengt erst nach dem Scrollen an.
   ------------------------------------------------------------- */
.creator-hero { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.creator-hero .grid { grid-template-columns: 7fr 4fr; align-items: center; }
.creator-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 12px; }
.creator-hero .lead { font-size: 1.05rem; margin-bottom: 20px; }

/* Text und Kanaele nebeneinander.

   Der Text bekommt mehr Platz als die Kanalliste: Drei Zeilen
   mit Symbol brauchen wenig Breite, der Text braucht genug,
   um nicht zu zerfasern. */
.creator-unten {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 88px); align-items: start;
}

/* Kleiner als eine Abschnittsueberschrift: Hier stehen zwei
   nebeneinander, und in voller Groesse wuerden sie mit dem
   Namen im Kopf konkurrieren. */
.creator-ueber {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.15; margin-bottom: 22px;
}

/* Der Text aus dem Dashboard.

   Normale Textgroesse, nicht .lead: Im Kopf stand er vorher
   gross in einer schmalen Spalte und wirkte wie eine Wand.

   Die Satzbreite ist begrenzt, weil lange Zeilen beim
   Zurueckspringen verrutschen — ab etwa 75 Zeichen findet das
   Auge den Zeilenanfang nicht mehr zuverlaessig. */
.creator-bio {
  max-width: 62ch;
  font-size: 1rem; line-height: 1.7;
  color: var(--grey-light);
}
.dark .creator-bio { color: var(--grey-dark); }

/* Die Kanaele als Zeilen, nicht als Kaesten.

   Vorher standen dort drei Textbloecke mit Plattform, Name und
   Zahl untereinander. Das Symbol traegt die Plattform
   schneller als ihr Name, und der Kanalname ist raus: Er ist
   meist auf allen Plattformen derselbe und wiederholt sich
   sonst dreimal. */
.kanalliste { display: flex; flex-direction: column; gap: 10px; }

.kanalzeile {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-light); background: var(--white);
  text-decoration: none; color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
a.kanalzeile:hover { border-color: var(--purple); transform: translateX(3px); }

.kanal-symbol { flex: none; width: 24px; height: 24px; }
.kanal-symbol svg { width: 100%; height: 100%; display: block; }

.kanal-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kanal-text strong { font-size: 1.02rem; letter-spacing: -.01em; }
.kanal-text .muted { font-size: .86rem; }

.kanal-pfeil {
  margin-left: auto; flex: none; width: 18px; height: 18px;
  color: var(--grey-light); transition: color .2s ease;
}
.kanal-pfeil svg { width: 100%; height: 100%; display: block; }
a.kanalzeile:hover .kanal-pfeil { color: var(--purple); }

@media (max-width: 860px) {
  .creator-unten { grid-template-columns: 1fr; gap: 44px; }
}

/* Aufrecht, aber nicht ueberhoch. */
.creator-hero img { aspect-ratio: 4 / 5; max-height: 420px; border-radius: 14px; }

@media (max-width: 760px) {
  .creator-hero .grid { grid-template-columns: 1fr; gap: 28px; }
  /* Bild zuerst: Ein Portrait unter dem Text sieht auf dem Handy
     niemand mehr. */
  .creator-hero .grid > div:last-child { order: -1; }
  .creator-hero img { max-height: 300px; }
}

/* -------------------------------------------------------------
   Unsere Creator — das Mosaik
   -------------------------------------------------------------
   Ein gepacktes Raster aus drei Kachelgroessen. Die Groesse
   kommt aus der Art: gemanagt gross, Netzwerk mittel,
   recherchiert klein.

   grid-auto-flow: dense ist der Kern. Ohne das bleiben Luecken
   stehen, wo eine breite Kachel nicht mehr in die Zeile passt,
   und genau die Luecken zerstoeren den Eindruck einer vollen
   Flaeche. Mit dense ruecken kleine Kacheln nach.

   Die Spalten sind schmal gewaehlt (minmax 128px), damit es
   ueberhaupt genug davon gibt: Eine grosse Kachel belegt zwei,
   eine kleine eine. Bei nur vier Spalten saehe das Mosaik aus
   wie eine Tabelle.
   ------------------------------------------------------------- */
.mosaik {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  grid-auto-rows: 41px;
  grid-auto-flow: dense;
  gap: 14px;
}

.kachel {
  position: relative; display: block; overflow: hidden;
  border-radius: 14px; text-decoration: none; color: var(--white);
  background: #1A171E;
  transition: transform .25s ease;
}
a.kachel:hover { transform: translateY(-4px); }

/* Jede Kachel ist ein ganzes Vielfaches der kleinsten.

   klein ist 1x4, mittel 2x8, gross 3x12 — in Spalten wie in
   Reihen. Das ist der Grund, warum das Raster ohne Loecher
   aufgeht: In jede Luecke, die eine grosse Kachel uebrig
   laesst, passen wieder kleine hinein. Mit krummen Werten
   (etwa 6/5/4) blieben schwarze Flaechen stehen.

   Der Abstand zwischen gross und klein ist damit dreifache
   Breite und dreifache Hoehe, also neunfache Flaeche. Vorher
   war es doppelt und doppelt, also vierfach — das war zu
   wenig Unterschied. */
.kachel-gross  { grid-column: span 3; grid-row: span 12; }
.kachel-mittel { grid-column: span 2; grid-row: span 8; }
.kachel-klein  { grid-column: span 1; grid-row: span 4; }

.kachel-bild { position: absolute; inset: 0; display: grid; place-items: center; }
.kachel-bild img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
a.kachel:hover .kachel-bild img { transform: scale(1.05); }

.kachel-initialen { font-size: 1.6rem; font-weight: 800; color: #4A4551; }

/* Verlauf von unten, damit Name und Symbole auf jedem Bild
   lesbar bleiben, auch auf hellen. */
.kachel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.15) 45%, transparent 70%);
}

/* Recherchierte Profile: grau und einen Schritt zurueck.

   Sie sollen die Flaeche fuellen, aber nicht mit den eigenen
   Leuten um Aufmerksamkeit streiten. Die Entsaettigung macht
   das staerker als jede Groessenstufe. */
.kachel.art-recherche .kachel-bild img { filter: grayscale(1) contrast(.95) brightness(.82); }
.kachel.art-recherche { opacity: .9; }

.kachel-abzeichen {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 20px);
}

.abz {
  display: inline-block; padding: 4px 9px; border-radius: 7px;
  font-size: .72rem; font-weight: 700; line-height: 1.2;
  letter-spacing: -.01em;
}
.abz-management { background: var(--purple); color: var(--white); }
.abz-network    { background: #2C7BE5;       color: var(--white); }
.abz-recherche  { background: rgba(20,18,24,.72); color: #D8D4DE;
                  border: 1px solid rgba(255,255,255,.18); }
/* Exklusiv in Gold.

   Dunkle Schrift auf hellem Gold, nicht umgekehrt: Weiss auf
   Gold ist kaum zu lesen. Der Verlauf macht aus dem Gelb ein
   Gold — flaches Gelb sieht nach Warnhinweis aus. */
.abz-exklusiv {
  background: linear-gradient(135deg, #F8DC8A 0%, #E3B64A 45%, #C08C22 100%);
  color: #2B1F04;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.kachel-fuss {
  position: absolute; right: 12px; bottom: 11px; left: 12px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.kachel-wer { min-width: 0; }
.kachel-fuss h3 {
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em;
  margin: 0 0 6px; color: var(--white);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.kachel-zahl { margin: 5px 0 0; font-size: .76rem; color: rgba(255,255,255,.72); }

.kachel-plattformen { display: flex; gap: 7px; }
.pf { display: block; width: 15px; height: 15px; }
.pf svg { width: 100%; height: 100%; display: block; }

/* Die Symbole kommen lila aus der Vorlage. Auf dem Foto waere
   das unruhig, also hier auf Weiss umgefaerbt. */
.pf svg [fill]:not([fill="none"]) { fill: rgba(255,255,255,.88); }
.pf svg [stroke]:not([stroke="none"]) { stroke: rgba(255,255,255,.88); }
.kachel.art-recherche .pf svg [fill]:not([fill="none"]) { fill: rgba(255,255,255,.65); }
.kachel.art-recherche .pf svg [stroke]:not([stroke="none"]) { stroke: rgba(255,255,255,.65); }

.kachel-pfeil {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center; color: var(--white);
  transition: background .2s ease;
}
.kachel-pfeil svg { width: 15px; height: 15px; }
a.kachel:hover .kachel-pfeil { background: var(--purple); border-color: var(--purple); }

/* Kleine Kacheln: Name ja, Zahl und Pfeil nein.

   Auf 128px Breite bleibt fuer mehr kein Platz, und
   abgeschnittene Angaben sind schlimmer als keine. */
.kachel-klein .kachel-fuss { right: 9px; bottom: 8px; left: 9px; }
.kachel-klein .kachel-fuss h3 { font-size: .8rem; margin-bottom: 4px; }
.kachel-klein .kachel-zahl { display: none; }
.kachel-klein .pf { width: 13px; height: 13px; }
/* Auf der schmalen Kachel darf das Abzeichen umbrechen.
   Mit nowrap stand dort "FBX Creator Discovery P…". */
.kachel-klein .abz { font-size: .62rem; padding: 3px 6px; white-space: normal; }
.kachel-klein .kachel-abzeichen { max-width: calc(100% - 14px); }
.kachel-klein .kachel-abzeichen { top: 7px; left: 7px; }

.kachel-mittel .kachel-fuss h3 { font-size: .98rem; }

/* Auf der grossen Kachel darf der Name mitwachsen. Sonst wirkt
   er bei dreifacher Breite verloren. */
.kachel-gross .kachel-fuss { right: 16px; bottom: 15px; left: 16px; }
.kachel-gross .kachel-fuss h3 { font-size: 1.35rem; margin-bottom: 8px; }
.kachel-gross .pf { width: 17px; height: 17px; }
.kachel-gross .kachel-pfeil { width: 36px; height: 36px; }
.kachel-gross .kachel-pfeil svg { width: 17px; height: 17px; }
.kachel-gross .kachel-abzeichen { top: 13px; left: 13px; }

/* Zwei schwaechere Stufen fuer kleinere Besetzungen.

   Die Regeln oben sind die volle Staffelung. Sie braucht
   reichlich kleine Kacheln, um die Luecken zwischen den
   grossen zu fuellen. Welche Stufe gilt, entscheidet der
   Controller, siehe mosaikStufe().

   kompakt: Rangfolge bleibt sichtbar, Luecken bleiben klein.
   Die Vielfachen-Regel gilt hier genauso — 8, 6 und 4 Reihen
   sind alle durch zwei teilbar, und gross ist doppelt so
   breit wie klein. */
.mosaik-kompakt .kachel-gross  { grid-column: span 2; grid-row: span 8; }
.mosaik-kompakt .kachel-mittel { grid-column: span 2; grid-row: span 6; }
.mosaik-kompakt .kachel-klein  { grid-column: span 1; grid-row: span 4; }

/* Auf zwei Spalten ist der grosse Name von oben zu gross. */
.mosaik-kompakt .kachel-gross .kachel-fuss { right: 12px; bottom: 11px; left: 12px; }
.mosaik-kompakt .kachel-gross .kachel-fuss h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mosaik-kompakt .kachel-gross .pf { width: 15px; height: 15px; }
.mosaik-kompakt .kachel-gross .kachel-pfeil { width: 30px; height: 30px; }
.mosaik-kompakt .kachel-gross .kachel-pfeil svg { width: 15px; height: 15px; }
.mosaik-kompakt .kachel-gross .kachel-abzeichen { top: 10px; left: 10px; }

/* schlicht: alle gleich. Nur wenn es gar nichts zum Auffuellen
   gibt. Welche Art welche ist, sagen dann Abzeichen und Farbe
   allein, und das reicht. */
.mosaik-schlicht .kachel-gross,
.mosaik-schlicht .kachel-mittel,
.mosaik-schlicht .kachel-klein { grid-column: span 2; grid-row: span 8; }
.mosaik-schlicht .kachel-gross .kachel-fuss { right: 12px; bottom: 11px; left: 12px; }
.mosaik-schlicht .kachel-gross .kachel-fuss h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mosaik-schlicht .kachel-gross .pf { width: 15px; height: 15px; }
.mosaik-schlicht .kachel-gross .kachel-pfeil { width: 30px; height: 30px; }
.mosaik-schlicht .kachel-gross .kachel-pfeil svg { width: 15px; height: 15px; }
.mosaik-schlicht .kachel-gross .kachel-abzeichen { top: 10px; left: 10px; }

/* Im schlichten Modus ist auch die kleine Kachel gross. Die
   Sparmassnahmen von oben muessen deshalb zurueckgenommen
   werden, sonst stuende auf einer breiten Kachel winziger Text
   und die Followerzahl fehlte. */
.mosaik-schlicht .kachel-klein .kachel-fuss { right: 12px; bottom: 11px; left: 12px; }
.mosaik-schlicht .kachel-klein .kachel-fuss h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mosaik-schlicht .kachel-klein .kachel-zahl { display: block; }
.mosaik-schlicht .kachel-klein .pf { width: 15px; height: 15px; }
.mosaik-schlicht .kachel-klein .abz { font-size: .72rem; padding: 4px 9px; white-space: nowrap; }
.mosaik-schlicht .kachel-klein .kachel-abzeichen { top: 10px; left: 10px; }

/* Legende unter dem Mosaik. */
/* Legenden unter dem Mosaik und unter dem Markenband.

   Fest stehen nur die Namen; die Erklärung kommt beim
   Darüberfahren. Die Blase hängt am ganzen Kasten, nicht am
   einzelnen Chip — so kann sie beim rechten Chip nicht aus dem
   Bild laufen. Auf Geräten ohne Mauszeiger steht der Text
   ohnehin fest da, siehe weiter unten. */
.mosaik-legende, .marken-legende {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line-dark);
}
.legende-knopf {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0; border: 0; background: none; cursor: help;
  font: inherit; color: inherit; text-align: left;
}
/* Das Symbol sitzt auf einer eigenen Fläche, die beim
   Darüberfahren aufleuchtet — ein nackter Kreisumriss neben
   dem kräftigen Abzeichen wirkte wie vergessen. */
.legende-i {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: var(--grey-dark);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.legende-i svg { width: 13px; height: 13px; display: block; }
.legende-knopf:hover .legende-i,
.legende-knopf:focus-visible .legende-i {
  background: rgba(196, 162, 255, .18); color: var(--lilac); transform: scale(1.08);
}
.legende-knopf:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; border-radius: 999px; }
.legende-blase {
  position: absolute; left: 0; bottom: calc(100% + 8px);
  max-width: 640px; padding: 16px 18px;
  border: 1px solid var(--line-dark); border-radius: 14px;
  background: #121016; color: var(--grey-dark);
  font-size: .9rem; line-height: 1.6;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none; z-index: 5;
}
.legende-punkt:hover .legende-blase,
.legende-punkt:focus-within .legende-blase { opacity: 1; visibility: visible; transform: translateY(0); }

/* Ohne Mauszeiger gibt es kein Darüberfahren. Dann steht die
   Erklärung wie vorher unter dem Namen. */
@media (hover: none) {
  .mosaik-legende, .marken-legende {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px;
  }
  .legende-knopf { cursor: default; }
  .legende-i { display: none; }
  .legende-blase {
    position: static; display: block; margin-top: 10px;
    max-width: none; padding: 0; border: 0; background: none;
    font-size: .88rem;
    opacity: 1; visibility: visible; transform: none;
  }
}

@media (max-width: 760px) {
  .mosaik { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 32px; gap: 10px; }
  /* Bei vier Spalten waere eine Kachel ueber drei davon
     schief. Die grosse nimmt deshalb die ganze Breite. */
  .kachel-gross { grid-column: span 4; }
  .mosaik-kompakt .kachel-gross, .mosaik-kompakt .kachel-mittel { grid-column: span 2; }
  .mosaik-schlicht .kachel-gross, .mosaik-schlicht .kachel-mittel { grid-column: span 2; }
  .kachel-fuss h3 { font-size: .9rem; }
}

/* Ganz schmal: grosse Kacheln ueber die volle Breite, kleine
   zu zweit. Sonst wird aus dem Mosaik eine Spalte Briefmarken. */
@media (max-width: 460px) {
  .mosaik { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 40px; }
  .kachel-gross, .kachel-mittel { grid-column: span 2; }
  .kachel-klein { grid-column: span 1; }
}

/* -------------------------------------------------------------
   Cookie-Hinweis
   -------------------------------------------------------------
   Die Regeln standen in der alten style.css. Das neue Design
   laedt die nicht mehr, deshalb war der Hinweis unsichtbar: Das
   Markup war da, nur ohne Gestaltung.

   Hier in den Farben des neuen Designs neu aufgebaut.
   ------------------------------------------------------------- */
.ck {
  position: fixed; right: 20px; bottom: 20px; left: 20px; z-index: 200;
  max-width: 420px; margin-left: auto;
  padding: 20px;
  background: var(--white); color: var(--black);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  animation: ck-auf .35s cubic-bezier(.2, .8, .2, 1);
}
.ck[hidden] { display: none; }

@keyframes ck-auf {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.ck-inhalt { display: flex; gap: 14px; align-items: flex-start; }

.ck-symbol {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--lilac); color: var(--purple);
}
.ck-symbol svg { width: 20px; height: 20px; }

.ck-text { min-width: 0; }
.ck-text strong { display: block; margin-bottom: 6px; font-size: 1rem; font-weight: 700; }
.ck-text p { margin: 0; color: var(--grey-dark); font-size: .875rem; line-height: 1.6; }
.ck-text a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }

.ck-knoepfe {
  display: flex; gap: 8px; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line-light);
}

/* Beide Knoepfe gleich gross und gleich betont.

   Ein winziges "Ablehnen" neben einem grossen "Zustimmen" ist
   eine Zustimmung, die man erschlichen hat. */
.ck-ja, .ck-still {
  flex: 1; padding: 11px 16px; border-radius: 999px;
  font-family: inherit; font-size: .9rem; font-weight: 700;
  cursor: pointer; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.ck-ja { background: var(--purple); color: var(--white); }
.ck-ja:hover { background: #6d28d9; }

.ck-still { background: transparent; border-color: var(--line-light); color: var(--grey-dark); }
.ck-still:hover { color: var(--black); border-color: var(--grey-dark); }

@media (max-width: 520px) {
  .ck { left: 14px; right: 14px; bottom: 14px; max-width: none; padding: 18px; }
}


/* -------------------------------------------------------------
   Marken — das Laufband
   -------------------------------------------------------------
   Die Logos liegen zweimal hintereinander in der Spur, und die
   Animation schiebt um genau die halbe Spurbreite (-50%). In
   dem Moment, in dem die erste Haelfte durchgelaufen ist, steht
   die zweite exakt dort, wo die erste begann. Der Sprung zurueck
   auf Null ist deshalb nicht zu sehen.

   Die Spur darf nicht umbrechen (flex, kein wrap) und nicht
   schrumpfen (flex: none an der Kachel), sonst stimmt die halbe
   Breite nicht mehr und das Band ruckelt bei jedem Durchlauf.

   Das Tempo kommt als --tempo aus den Einstellungen.
   ------------------------------------------------------------- */
/* Das Laufband steht unter dem Abschluss, beide dunkel.

   Die Linie oben trennt die beiden, ohne einen neuen
   Farbblock aufzumachen: Der Abschluss ist der Schlusspunkt
   der Seite, das Laufband haengt als Nachsatz daran. Deshalb
   auch weniger Luft oben als bei einem eigenen Abschnitt. */
.marken {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-dark);
}

/* Der Kopf ist bewusst kleiner als eine Abschnittsueberschrift.

   Eine h2 in voller Groesse wuerde hier mit "Bauen wir was
   Neues?" direkt darueber konkurrieren, und das ist der Satz,
   auf den es am Seitenende ankommt. */
.marken-kopf { max-width: 620px; margin-bottom: clamp(26px, 3vw, 38px); }
.marken-auge {
  display: block; margin-bottom: 10px;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--grey-dark);
}
.marken-kopf h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.15; margin-bottom: 10px;
}
.marken-kopf p { max-width: 52ch; font-size: .92rem; }

/* Das Band beruehrt den Schirm, es steht nicht im Textsatz.
   Die Maske blendet die Raender aus, damit die Logos nicht
   hart abgeschnitten erscheinen. */
.laufband {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.laufband-spur {
  display: flex; flex-wrap: nowrap; gap: 16px; width: max-content;
  animation: laufband var(--tempo, 45s) linear infinite;
}

@keyframes laufband {
  from { transform: translate3d(0, 0, 0); }
  /* Die halbe Spur, plus der halbe Abstand: Die Luecke hinter
     der letzten Kachel der ersten Haelfte gehoert mit dazu. */
  to   { transform: translate3d(calc(-50% - 8px), 0, 0); }
}

/* Anhalten beim Ueberfahren. Wer ein Logo lesen will, soll
   nicht hinterherjagen muessen. */
.laufband:hover .laufband-spur { animation-play-state: paused; }

.markenkachel {
  position: relative; flex: none;
  width: 190px; height: 150px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 14px;
  background: #0E0C11; text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.markenkachel:hover { border-color: #3A3540; background: #141118; }

.markenkachel img {
  /* Kein Platzhaltergrau.

     Weiter oben bekommt jedes img ein background: #CECCD3 —
     eine Fuellfarbe, damit Fotos beim Laden keinen weissen
     Rahmen reissen. Bei einem freigestellten Logo wird daraus
     ein grauer Kasten ringsum. Logo und Fusszeile heben die
     Regel schon auf, hier fehlte es. */
  background: none;

  /* Feste Flaeche statt nur einer Obergrenze.

     Mit max-width allein bleibt ein kleines Logo klein: Die
     Regel begrenzt nach oben, vergroessert aber nicht. Eine
     Datei mit 80 Pixeln Breite stand deshalb als Briefmarke
     in der Kachel. Mit fester Flaeche und object-fit: contain
     fuellt jedes Logo die Kachel aus, ohne verzerrt zu
     werden. */
  width: 140px; height: 58px; object-fit: contain;
  /* Im Ruhezustand Graustufen, beim Ueberfahren die echten
     Farben.

     Graustufen und nicht brightness(0): Letzteres macht aus
     jedem Logo eine flache Silhouette, und damit geht die
     Binnenform verloren — ein Logo mit Kontur oder zwei Toenen
     ist dann nur noch ein Fleck.

     Die leichte Anhebung von Helligkeit und Kontrast ist fuer
     den schwarzen Grund: Reine Graustufen sacken dort ab. */
  filter: grayscale(1) brightness(1.25) contrast(1.1);
  opacity: .82;
  transition: filter .25s ease, opacity .25s ease;
}
/* Dunkle Logos zusaetzlich umdrehen.

   Ein dunkles Wortzeichen bleibt auch entsaettigt dunkel und
   verschwindet auf dem schwarzen Band. Umgedreht wird daraus
   ein helles — und anders als bei einer Silhouette bleiben die
   Toene im Logo erhalten, nur eben seitenverkehrt in der
   Helligkeit. Man erkennt die Form also weiterhin.

   Welche Logos das sind, misst der Server beim Hochladen. Im
   Browser liesse sich das nicht entscheiden. */
.markenkachel img.logo-dunkel {
  filter: grayscale(1) invert(1) brightness(1.05) contrast(1.05);
}

.markenkachel:hover img,
.markenkachel:hover img.logo-dunkel { filter: none; opacity: 1; }

.marken-abzeichen { position: absolute; top: 10px; left: 10px; }

.mabz {
  display: inline-block; padding: 4px 9px; border-radius: 7px;
  font-size: .68rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
}
.mabz-partner   { background: var(--purple); color: var(--white); }
.mabz-network   { background: rgba(20,18,24,.8); color: #D8D4DE;
                  border: 1px solid rgba(255,255,255,.22); }
.mabz-discovery { background: rgba(20,18,24,.8); color: #9E98A8;
                  border: 1px solid rgba(255,255,255,.12); }

/* Aufbau und Verhalten stehen oben bei .mosaik-legende; hier
   steht nur, dass unter dem Band etwas weniger Luft nötig ist. */
.marken-legende { margin-top: 34px; padding-top: 26px; }

@media (max-width: 560px) {
  .markenkachel { width: 150px; height: 120px; }
  .markenkachel img { width: 108px; height: 46px; }
}

/* Wer Bewegung abbestellt hat, bekommt eine ruhige Reihe zum
   Durchwischen statt einer Animation. */
@media (prefers-reduced-motion: reduce) {
  .laufband { overflow-x: auto; }
  .laufband-spur { animation: none; }
}
