/* ==========================================================================
   Kanalsanierungsfreunde – Stylesheet
   Eigenständiges Design (2026), kein Nachbau der früheren Agenturseite.
   Kein Framework, keine externen Ressourcen. Alles in dieser Datei.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriften – Barlow / Barlow Condensed (SIL Open Font License, lokal)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/Barlow-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../assets/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design-Tokens
   Marken-CI: Schwarz und das Kanalsanierungsfreunde-Blau #129FE3.
   Dazu helle Sektionen in kühlem Weißgrau als Gegengewicht.
   -------------------------------------------------------------------------- */
:root {
  --ink: #000000;
  --ink-2: #121314;
  --ink-3: #1e1f21;
  --ink-4: #2e3033;

  --paper: #eef1f4;
  --paper-2: #e3e7ec;
  --paper-3: #cbd2da;

  --accent: #129fe3;
  --accent-deep: #0873a8;
  --accent-soft: rgba(18, 159, 227, 0.16);

  --text-dark-bg: #f5f7f9;
  --muted-dark-bg: #a3a9b0;
  --line-dark-bg: rgba(245, 247, 249, 0.14);

  --text-light-bg: #000000;
  --muted-light-bg: #555c64;
  --line-light-bg: rgba(0, 0, 0, 0.16);

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 128px);
  --header-h: 72px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fast: 0.2s var(--ease);
}

/* --------------------------------------------------------------------------
   3. Reset & Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark-bg);
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Layout-Helfer
   -------------------------------------------------------------------------- */
.wrap {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section--dark {
  background: var(--ink);
  color: var(--text-dark-bg);
}

.section--dark-2 {
  background: var(--ink-2);
  color: var(--text-dark-bg);
}

.section--light {
  background: var(--paper);
  color: var(--text-light-bg);
}

.section--accent {
  background: var(--accent);
  color: var(--ink);
}

/* Streifenband: der wiederkehrende Trenner zwischen den Flächen */
.tape {
  height: 12px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 16px,
    var(--ink) 16px 32px
  );
}

/* Abschnitts-Kopf: Kennung, Überschrift, Einleitung */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  background: currentColor;
}

.section--light .kicker {
  color: var(--accent-deep);
}

.section--accent .kicker {
  color: var(--ink);
}

.headline {
  font-size: clamp(38px, 5.6vw, 72px);
  max-width: 14ch;
}

.headline em {
  font-style: normal;
  color: var(--accent);
}

.section--light .headline em {
  color: var(--accent-deep);
}

.section--accent .headline em {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--text-dark-bg);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.1em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  max-width: 56ch;
  color: var(--muted-dark-bg);
}

.section--light .lead {
  color: var(--muted-light-bg);
}

.section--accent .lead {
  color: rgba(0, 0, 0, 0.78);
}

.headline + .lead {
  margin-top: 22px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head .lead {
  padding-bottom: 6px;
}

@media (max-width: 800px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons
   Kantig, mit hartem Versatz-Schatten – wirkt wie ein Stempel.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--fast), box-shadow var(--fast), background-color var(--fast), color var(--fast), border-color var(--fast);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.btn--accent:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--text-dark-bg);
}

.section--light .btn--accent:hover,
.section--accent .btn--accent:hover {
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-dark-bg);
}

.btn--ink:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--text-dark-bg);
}

.btn--outline:hover {
  background: var(--text-dark-bg);
  color: var(--ink);
}

.section--light .btn--outline {
  color: var(--ink);
}

.section--light .btn--outline:hover {
  background: var(--ink);
  color: var(--text-dark-bg);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   6. Kopfzeile
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark-bg);
  transition: box-shadow var(--fast);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand__mark {
  width: 40px;
  height: 48px;
  object-fit: contain;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__name small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-dark-bg);
  border-radius: var(--radius);
  transition: color var(--fast), background-color var(--fast);
}

.main-nav a:hover {
  color: var(--text-dark-bg);
}

.main-nav a.is-active {
  color: var(--text-dark-bg);
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-dark-bg);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-dark-bg);
  cursor: pointer;
  place-items: center;
}

.nav-toggle .icon {
  margin: auto;
}

.nav-toggle .icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

@media (max-width: 960px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 12px var(--gutter) 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark-bg);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 4px;
    font-size: 20px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--line-dark-bg);
    border-radius: 0;
  }

  .main-nav a.is-active {
    box-shadow: none;
    color: var(--accent);
  }

  .main-nav .main-nav__cta {
    margin-top: 16px;
  }

  /* Der Button im Menü darf die Link-Optik der Menüpunkte nicht erben */
  .main-nav .main-nav__cta .btn {
    display: inline-flex;
    padding: 0 24px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
  }
}

@media (min-width: 961px) {
  .main-nav__cta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 104px) clamp(40px, 6vw, 88px);
}

/* Feines Raster im Hintergrund – Millimeterpapier, nicht Bühne */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark-bg) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark-bg) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  font-size: clamp(48px, 8.2vw, 116px);
  line-height: 0.9;
}

.hero__title span {
  display: block;
}

.hero__sub {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__text {
  margin-top: 28px;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__media {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

/* Versetzter Rahmen hinter dem Foto */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: -22px;
  bottom: -22px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--accent);
}

.hero__badge img {
  width: 78px;
  height: auto;
}

.hero__caption {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  border-radius: 2px;
}

/* Faktenzeile unter dem Hero */
.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line-dark-bg);
  border-bottom: 1px solid var(--line-dark-bg);
}

.facts__item {
  padding: 22px 20px 22px 0;
  border-right: 1px solid var(--line-dark-bg);
}

.facts__item + .facts__item {
  padding-left: 20px;
}

.facts__item:last-child {
  border-right: 0;
}

.facts__value {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.facts__value em {
  font-style: normal;
  color: var(--accent);
}

.facts__label {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark-bg);
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    max-width: 640px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__item:nth-child(2) {
    border-right: 0;
  }

  .facts__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark-bg);
  }

  .facts__item:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .hero__badge {
    left: -8px;
    bottom: -14px;
    width: 88px;
    height: 88px;
  }

  .hero__badge img {
    width: 62px;
  }
}

/* --------------------------------------------------------------------------
   8. Laufschrift (reines CSS)
   -------------------------------------------------------------------------- */
.ticker {
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
  border-block: 3px solid var(--ink);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker__group {
  display: flex;
  flex: 0 0 auto;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px 12px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__item::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--ink);
  transform: rotate(45deg);
}

/* Vier Gruppen im Track – verschoben wird um eine Gruppe, also ein Viertel. */
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   9. Community – nummerierte Merkmale + Aufruf
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.feature {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.feature__num {
  position: absolute;
  top: -14px;
  left: 0;
  padding: 0 8px 0 0;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}

.feature__title {
  font-size: 28px;
  margin: 8px 0 12px;
}

.feature__text {
  color: var(--muted-light-bg);
}

@media (max-width: 800px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink);
  color: var(--text-dark-bg);
  border-left: 8px solid var(--accent);
  border-radius: var(--radius);
}

.callout__title {
  font-size: clamp(30px, 3.6vw, 46px);
  margin-bottom: 12px;
}

.callout__text {
  color: var(--muted-dark-bg);
  max-width: 62ch;
}

@media (max-width: 720px) {
  .callout {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   10. Podcast – Sendungskarte + Titelliste
   -------------------------------------------------------------------------- */
.podcast {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.show {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.show__cover {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 300px);
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.show__cover img {
  width: 56%;
  height: auto;
}

.show__cover span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark-bg);
}

.show__title {
  font-size: clamp(28px, 2.4vw, 32px);
  margin-bottom: 8px;
}

.show__meta {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.show__text {
  color: var(--muted-dark-bg);
  margin-bottom: 24px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line-dark-bg);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  transition: border-color var(--fast), background-color var(--fast);
}

.platform:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.platform .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.tracklist {
  border-top: 1px solid var(--line-dark-bg);
}

.track {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark-bg);
  transition: background-color var(--fast);
}

.track:hover {
  background: linear-gradient(90deg, var(--ink-2), transparent);
}

.track__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink-4);
  transition: color var(--fast);
}

.track:hover .track__num {
  color: var(--accent);
}

.track__title {
  font-size: 24px;
  margin-bottom: 4px;
}

.track__meta {
  font-size: 15px;
  color: var(--muted-dark-bg);
}

.track__play {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-bg);
  color: var(--text-dark-bg);
  transition: background-color var(--fast), color var(--fast), border-color var(--fast);
}

.track__play .icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.track:hover .track__play {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.track--all .track__num {
  color: var(--accent);
}

.track--all .track__play .icon {
  margin-left: 0;
}

@media (max-width: 900px) {
  .podcast {
    grid-template-columns: 1fr;
  }

  .show {
    position: static;
  }

  .track {
    grid-template-columns: 36px minmax(0, 1fr) 44px;
    gap: 14px;
  }

  .track__num {
    font-size: 24px;
  }

  .track__title {
    font-size: 21px;
  }
}

/* --------------------------------------------------------------------------
   11. Stimmen
   -------------------------------------------------------------------------- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.voice {
  margin: 0;
  padding: 28px 28px 24px;
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px solid var(--line-light-bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.voice__mark {
  width: 34px;
  height: 34px;
  color: var(--accent-deep);
}

.voice__text {
  font-size: 19px;
  line-height: 1.5;
  flex: 1;
}

.voice__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light-bg);
}

.voice__name::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent-deep);
}

@media (max-width: 800px) {
  .voices {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   12. Merch
   -------------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line-dark-bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--fast), transform var(--fast);
}

.product:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.product__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-3);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product:hover .product__media img {
  transform: scale(1.04);
}

.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px 20px 22px;
}

.product__title {
  font-size: 26px;
}

.product__text {
  font-size: 15px;
  color: var(--muted-dark-bg);
  flex: 1;
}

.product__action {
  margin-top: 10px;
  align-self: flex-start;
}

@media (max-width: 1000px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .products {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   13. Mitmachen (Akzentfläche)
   -------------------------------------------------------------------------- */
.join {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--text-dark-bg);
  border-radius: var(--radius);
  transition: transform var(--fast), box-shadow var(--fast);
}

a.contact:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
  outline: 2px solid var(--ink);
}

.contact__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--ink-3);
  color: var(--accent);
}

.contact__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark-bg);
}

.contact__value {
  font-weight: 600;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.contact__arrow {
  color: var(--accent);
}

@media (max-width: 880px) {
  .join {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   14. Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.signup {
  padding: clamp(24px, 3vw, 36px);
  background: var(--ink);
  color: var(--text-dark-bg);
  border-radius: var(--radius);
}

.signup__row {
  display: flex;
  gap: 10px;
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text-dark-bg);
  background: var(--ink-2);
  border: 1px solid var(--line-dark-bg);
  border-radius: var(--radius);
}

.signup input[type="email"]::placeholder {
  color: var(--muted-dark-bg);
}

.signup input[type="email"]:focus {
  border-color: var(--accent);
  outline: none;
}

.signup__note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted-dark-bg);
}

.signup__note a {
  color: var(--text-dark-bg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup__success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  font-weight: 500;
}

.signup__success.is-visible {
  display: block;
}

@media (max-width: 880px) {
  .newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .signup__row {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   15. Folge uns
   -------------------------------------------------------------------------- */
.channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line-dark-bg);
  border-radius: var(--radius);
  transition: border-color var(--fast), background-color var(--fast);
}

.channel:hover {
  border-color: var(--accent);
  background: var(--ink-2);
}

.channel .icon {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.channel__title {
  font-size: 22px;
}

.channel__handle {
  font-size: 14px;
  color: var(--muted-dark-bg);
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .channels {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   16. Werbepartner – Laufband
   Skript und Verhalten stammen aus keynote.sewertechacademy.com
   (eigener Code des Kunden) und sind unverändert übernommen.
   -------------------------------------------------------------------------- */
.partner-section {
  margin-top: clamp(48px, 6vw, 88px);
  padding-block: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line-dark-bg);
}

.partner-section .kicker {
  margin-bottom: 28px;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
}

.partner-item {
  display: block;
  opacity: 0.8;
  transition: opacity var(--fast);
}

.partner-item:hover {
  opacity: 1;
}

.partner-grid img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

/* Die Klasse setzt main.js, nicht das HTML: ohne JavaScript bleibt die
   zentrierte, umbrechende Reihe stehen. Bewegt wird über scrollLeft, damit
   sich Automatik und Handbetrieb dieselbe Position teilen. */
.partner-grid.is-marquee {
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.partner-grid.is-marquee::-webkit-scrollbar {
  display: none;
}

.partner-grid.is-marquee.is-dragging {
  cursor: grabbing;
}

.partner-grid.is-marquee.is-static {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}

.partner-grid.is-marquee .partner-item {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   17. Fußzeile
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-dark-bg);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr));
  gap: 40px;
  padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 56px);
}

.footer-brand .brand {
  margin-right: 0;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 34ch;
  color: var(--muted-dark-bg);
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  color: var(--muted-dark-bg);
  transition: color var(--fast);
}

.footer-col a:hover {
  color: var(--text-dark-bg);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line-dark-bg);
  font-size: 14px;
  color: var(--muted-dark-bg);
}

.site-footer__bottom a:hover {
  color: var(--text-dark-bg);
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   18. Rechtliche Seiten
   -------------------------------------------------------------------------- */
.legal {
  background: var(--paper);
  color: var(--text-light-bg);
  padding-block: clamp(48px, 7vw, 96px) var(--section-y);
}

.legal__inner {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 26px;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light-bg);
}

.legal p,
.legal li {
  color: #2e343b;
}

.legal ul {
  list-style: square;
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-deep);
  text-underline-offset: 3px;
}

.legal .backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-light-bg);
}

.legal .backlink .icon {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
}

.legal .backlink:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   19. Einblenden beim Scrollen (dezent, optional)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
