/* ==========================================================================
   Kanalsanierungsfreunde – Stylesheet
   Reiner Nachbau ohne Elementor / WordPress
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriften (lokal eingebunden)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  --blue: #129fe3;
  --blue-soft: #6ec1e4;

  --black: #000000;
  --bg-header: #0b0b0b;
  --bg-800: #181818;
  --bg-750: #202020;
  --bg-700: #313131;

  --white: #ffffff;
  --grey: #969696;
  --grey-dark: #868686;

  --line: rgba(255, 255, 255, 0.32); /* #FFFFFF52 */
  --line-soft: rgba(255, 255, 255, 0.27); /* #FFFFFF45 */
  --line-hair: rgba(255, 255, 255, 0.1);

  --font-display: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;

  --header-h: 80px;
  --pad-x: 4%;
  --transition: 0.3s ease;
}

/* --------------------------------------------------------------------------
   3. Reset & Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--black);
  color: var(--grey);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

blockquote {
  margin: 0;
}

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: 600;
  color: var(--white);
  line-height: 1.2;
}

svg {
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. Bausteine
   -------------------------------------------------------------------------- */
.section {
  padding: 6% var(--pad-x) 5%;
  background-color: var(--black);
}

.section--dark {
  background-color: var(--bg-800);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0 0 4px;
  line-height: 1.4;
}

.accent {
  color: var(--blue);
}

.section-title {
  font-size: 45px;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.section-intro {
  max-width: 60.7%;
  margin: 18px 0 3%;
  color: var(--grey);
  line-height: 27px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  padding: 20px 35px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background-color: #0d84bd;
}

.btn--ghost {
  background-color: transparent;
  color: var(--white);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--sm {
  padding: 10px 35px;
}

/* Schräg gestellter Button (Original: .schraeger-button) */
.btn--skew {
  transform: skewX(-10deg);
}
.btn--skew > span {
  display: inline-block;
  transform: skewX(10deg);
}

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--bg-header);
}

.site-header__inner {
  max-width: 1600px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 8px 17px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  text-transform: uppercase;
  transition: color var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 2px;
  height: 2px;
  background-color: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 15px 35px;
  font-size: 14px;
  white-space: nowrap;
}

/* Burger ----------------------------------------------------------------- */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  display: flex;
  flex-wrap: wrap;
}

.hero__content {
  width: 50%;
  background-color: var(--black);
  padding: 5% 0 6% 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__logo {
  width: 140px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 58px;
  text-transform: uppercase;
  margin-bottom: -15px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 54px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.hero__text {
  max-width: 79%;
  margin: 24px 0 44px;
  color: var(--grey);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.hero__media {
  width: 50%;
  min-height: 520px;
  padding: 130px 0;
  border-left: 1px solid var(--line);
  background-image: url("../assets/img/Kanalsanierungsfreunde-Schulung.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   7. Kennzahlen-Leiste
   -------------------------------------------------------------------------- */
.stats {
  display: flex;
  flex-wrap: wrap;
}

.stats__item {
  width: 25%;
  background-color: var(--bg-800);
  border-top: 1px solid var(--line-hair);
  border-right: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  padding: 30px 4% 34px;
  transition: background-color var(--transition);
}

.stats__item:last-child {
  border-right: 0;
}

.stats__item:hover {
  background-color: var(--bg-700);
}

.stats__label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.4;
  margin: 2px 0 0;
}

.stats__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 37px;
  color: var(--blue);
  line-height: 1.2;
}

.stats__value--headline {
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Community
   -------------------------------------------------------------------------- */
.community-intro {
  padding: 7% 0 0 var(--pad-x);
}

.feature-grid {
  display: flex;
  flex-wrap: nowrap;
  background-color: var(--black);
  padding: 0 var(--pad-x) 5%;
  gap: 0;
}

.feature {
  flex: 1 1 0;
  min-width: 0;
  background-color: var(--bg-800);
  border-right: 1px solid var(--line-hair);
  padding: 46px 44px 40px;
  transition: background-color var(--transition);
}

.feature:last-child {
  border-right: 0;
}

.feature:hover {
  background-color: var(--bg-700);
}

.feature__icon {
  width: 32px;
  height: 32px;
  fill: var(--blue);
  margin-bottom: 18px;
}

.feature__title {
  font-size: 16px;
  margin-bottom: 10px;
}

.feature__text {
  color: var(--grey);
  line-height: 27px;
  margin: 0;
}

/* CTA-Box ---------------------------------------------------------------- */
.cta-wrap {
  background-color: var(--black);
  padding: 0 4% 5%;
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background-color: var(--bg-800);
  border: 2px solid var(--blue);
  padding: 3% 4%;
}

.cta-box__text {
  flex: 1 1 460px;
}

.cta-box__title {
  font-size: 35px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cta-box__body {
  max-width: 88%;
  color: var(--grey);
  margin: 0;
}

.cta-box__action {
  flex: 0 0 auto;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   9. Podcast
   -------------------------------------------------------------------------- */
.podcast-intro {
  background-color: var(--bg-800);
  padding: 5% 0 0 var(--pad-x);
}

.podcast {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background-color: var(--bg-800);
  padding: 2% var(--pad-x) 5%;
}

.podcast__left {
  width: 50%;
  padding-right: 6%;
}

.podcast__right {
  width: 50%;
  padding-top: 4%;
}

.outline-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
  margin: 0 0 20px;
}

.podcast__lead {
  color: var(--grey);
  margin-bottom: 30px;
}

/* Zeilen mit Kanal/Kontakt ------------------------------------------------ */
.link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-750);
  border: 1px solid transparent;
  padding: 11px 14px;
  margin-bottom: 12px;
  transition: border-color var(--transition), background-color var(--transition);
}

.link-row:hover {
  border-color: var(--blue);
}

.link-tile {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #69727d;
}

.link-tile__icon {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.link-tile--spotify {
  background-color: #2ebd59;
}
.link-tile--youtube {
  background-color: #cd201f;
}
.link-tile--instagram {
  background-color: #e92f81;
}
.link-tile--brand {
  background-color: var(--blue);
}
.link-tile--brand .link-tile__icon {
  width: 18px;
  height: 18px;
}

.link-row__label {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
}

.link-row__arrow {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: var(--grey-dark);
  transition: fill var(--transition);
}

.link-row:hover .link-row__arrow {
  fill: var(--blue);
}

/* Episodenliste ----------------------------------------------------------- */
.episodes {
  display: flex;
  flex-direction: column;
}

.episode {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-hair);
  transition: border-color var(--transition);
}

.episode:hover {
  border-bottom-color: var(--blue);
}

.episode__icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  fill: var(--white);
  order: 2;
}

.episode__body {
  order: 1;
  flex: 1;
}

.episode__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.3;
  transition: color var(--transition);
}

.episode:hover .episode__title {
  color: var(--blue);
}

.episode__meta {
  font-size: 14px;
  color: var(--grey);
  margin: 0;
  line-height: 1.5;
}

.episode--all .episode__lead-icon {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  fill: var(--white);
  order: 0;
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   10. Stimmen
   -------------------------------------------------------------------------- */
.voices-intro {
  padding: 7% 0 3% var(--pad-x);
}

.voices {
  display: flex;
  flex-wrap: nowrap;
  background-color: var(--black);
  padding: 0 var(--pad-x) 5%;
}

.voice {
  flex: 1 1 0;
  min-width: 0;
  background-color: var(--bg-800);
  border-right: 1px solid var(--line-hair);
  padding: 44px 44px 34px;
  transition: background-color var(--transition);
}

.voice:last-child {
  border-right: 0;
}

.voice:hover {
  background-color: var(--bg-700);
}

.voice__icon {
  width: 32px;
  height: 32px;
  fill: var(--blue);
  margin-bottom: 18px;
}

.voice__name {
  font-size: 16px;
  margin-bottom: 10px;
}

.voice__text {
  color: var(--grey);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Merch
   -------------------------------------------------------------------------- */
.merch-intro {
  background-color: var(--bg-800);
  padding: 7% 0 3% var(--pad-x);
}

.merch {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  background-color: var(--bg-800);
  padding: 0 var(--pad-x) 5%;
}

.merch-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(49, 49, 49, 0.54); /* #3131318A */
  border: 1px solid transparent;
  border-right-color: var(--line-hair);
  padding: 24px;
  transition: background-color var(--transition), border-color var(--transition);
}

.merch-card:last-child {
  border-right-color: transparent;
}

.merch-card:hover {
  background-color: var(--bg-700);
  border-color: var(--blue);
}

.merch-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.merch-card__title {
  font-size: 18px;
  margin: 16px 0 8px;
}

.merch-card__text {
  font-size: 15px;
  line-height: 25px;
  color: var(--grey);
  margin: 0 0 20px;
}

.merch-card__action {
  margin-top: auto;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   12. Mitmachen / Kontakt
   -------------------------------------------------------------------------- */
.join {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--black);
  padding: 7% var(--pad-x);
  gap: 0;
}

.join__left {
  width: 50%;
  padding-right: 6%;
}

.join__right {
  width: 50%;
  padding-top: 4%;
}

.join__text {
  color: var(--grey);
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   13. Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  background-color: var(--bg-800);
  padding: 5% var(--pad-x) 4%;
  text-align: center;
}

.newsletter .section-intro {
  max-width: 640px;
  margin: 18px auto 32px;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.newsletter-form input[type="email"] {
  flex: 1 1 auto;
  width: 100%;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #cccccc;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  padding: 15px 20px;
}

.newsletter-form button {
  background-color: var(--blue);
  border: 0;
  border-radius: 0;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  padding: 15px 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition);
}

.newsletter-form button:hover {
  background-color: #0d84bd;
}

.newsletter-form__note {
  color: var(--grey);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
  margin: 15px 0 0;
}

.newsletter-form__note a {
  color: var(--grey);
  text-decoration: underline;
}

.newsletter-form__success {
  display: none;
  margin-top: 16px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 15px;
}

.newsletter-form__success.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   14. Folge uns
   -------------------------------------------------------------------------- */
.follow-intro {
  padding: 6% 0 3% var(--pad-x);
}

.follow {
  display: flex;
  flex-wrap: nowrap;
  background-color: var(--black);
  padding: 0 var(--pad-x) 6%;
}

.follow__item {
  flex: 1 1 0;
  min-width: 0;
  background-color: var(--bg-800);
  border-right: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  padding: 34px 18px 22px;
  text-align: center;
  transition: background-color var(--transition);
}

.follow__item:last-child {
  border-right: 0;
}

.follow__item:hover {
  background-color: var(--bg-700);
}

.follow__icon {
  width: 32px;
  height: 32px;
  fill: var(--blue);
  margin: 0 auto 14px;
}

.follow__title {
  font-size: 16px;
  margin-bottom: 6px;
}

.follow__handle {
  font-size: 14px;
  color: var(--grey);
  margin: 0;
  /* Lange Handles wie @hermes_technologie_gmbh passen auf schmalen Kacheln
     nicht in eine Zeile und wuerden sonst abgeschnitten. */
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-header);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 5% var(--pad-x) 3%;
}

.footer-brand {
  width: 60%;
  padding-right: 10%;
}

.footer-brand img {
  width: 15%;
  min-width: 90px;
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 27px;
  color: var(--grey);
  margin: 0;
}

.footer-col {
  width: 20%;
  min-width: 140px;
}

.footer-col__title {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.footer-col li {
  padding-bottom: 6px;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--blue);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 2% var(--pad-x) 3%;
}

.site-footer__bottom p {
  font-size: 15px;
  color: var(--grey);
  margin: 0;
}

.site-footer__bottom .site-footer__credit {
  margin-left: auto;
  text-align: right;
}

.site-footer__credit a {
  color: var(--grey);
  transition: color var(--transition);
}

.site-footer__credit a:hover {
  color: #f5a01c;
}

.site-footer__credit .heart {
  display: inline-block;
  vertical-align: -2px;
}

/* --------------------------------------------------------------------------
   16. Werbepartner – Logo-Laufband
   Übernommen von keynote.sewertechacademy.com und an die Tokens hier angepasst.
   -------------------------------------------------------------------------- */
.partner-section {
  background-color: var(--bg-800);
  padding: 5% var(--pad-x);
}

.partner-section .eyebrow {
  margin-bottom: 34px;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.partner-item {
  display: block;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.partner-item:hover {
  opacity: 1;
}

.partner-grid img {
  max-height: 50px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

/* Laufband ---------------------------------------------------------------
   Die Klasse setzt main.js, nicht das HTML: ohne JavaScript bleibt die
   zentrierte, umbrechende Reihe stehen – besser als ein Streifen mit
   abgeschnittenen Logos, an dem sich nichts bewegen lässt.

   Bewegt wird über scrollLeft statt über eine transform-Animation, damit sich
   Automatik und Handbetrieb dieselbe Position teilen. */
.partner-grid.is-marquee {
  flex-wrap: nowrap;
  /* center würde den Überlauf auf beide Seiten verteilen – der linke Teil
     läge dann im negativen Scrollbereich und wäre unerreichbar. */
  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;
  /* Ohne weiche Kanten poppen die Logos hart ins Bild. */
  -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;
}

/* Steht der Streifen, weil das Gerät auf „Bewegung reduzieren" steht: die
   Einstellung wird nicht überschrieben, aber die Kanten laufen deutlicher aus,
   damit erkennbar bleibt, dass es dort weitergeht und man wischen kann. */
.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);
}

/* Flex-Elemente schrumpfen von Haus aus. Mit nowrap würden die Logos gestaucht
   statt überzulaufen – es gäbe dann gar nichts zu scrollen. */
.partner-grid.is-marquee .partner-item {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   17. Rechtliche Seiten
   -------------------------------------------------------------------------- */
.legal {
  background-color: var(--black);
  padding: 8% var(--pad-x) 10%;
}

.legal__inner {
  max-width: 900px;
  margin: 0 auto;
}

.legal h1,
.legal h2 {
  font-size: 45px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.legal h3 {
  font-size: 20px;
  color: var(--white);
  margin: 32px 0 12px;
}

.legal p,
.legal li {
  color: var(--grey);
  line-height: 27px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal b,
.legal strong {
  color: var(--white);
  font-weight: 600;
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --pad-x: 5%;
  }

  .section-title,
  .legal h1,
  .legal h2 {
    font-size: 35px;
  }

  .hero__title {
    font-size: 48px;
  }
  .hero__subtitle {
    font-size: 45px;
  }
  .section-intro {
    max-width: 100%;
  }
  .outline-text {
    font-size: 72px;
  }
  .stats__item {
    width: 50%;
  }
  .feature-grid,
  .voices,
  .follow,
  .merch {
    flex-wrap: wrap;
  }
  .feature,
  .voice {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line-hair);
  }
  .merch-card {
    flex: 1 1 calc(50% - 1px);
  }
  .follow__item {
    flex: 1 1 50%;
  }
  .partner-grid {
    gap: 40px;
  }

  .footer-brand {
    width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  .footer-col {
    width: 50%;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: var(--bg-header);
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    font-family: var(--font-body);
    font-weight: 500;
    padding: 11px 27px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background-color: var(--blue);
    color: var(--white);
  }

  .site-header__inner {
    position: relative;
  }

  .header-cta {
    margin-left: auto;
    padding: 13px 24px;
    font-size: 13px;
  }

  .hero__content,
  .hero__media {
    width: 100%;
  }

  .hero__content {
    padding: 10% 6% 15%;
    align-items: center;
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__logo {
    width: 150px;
    height: 178px;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__media {
    min-height: 320px;
    padding: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .podcast__left,
  .podcast__right,
  .join__left,
  .join__right {
    width: 100%;
    padding-right: 0;
  }

  .podcast__right,
  .join__right {
    padding-top: 40px;
  }

  .cta-box__action {
    margin-left: 0;
    width: 100%;
  }

  .cta-box__action .btn {
    width: 100%;
  }

  .cta-box__body {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --pad-x: 6%;
  }

  body {
    font-size: 15px;
  }

  .hero__title {
    font-size: 37px;
  }
  .hero__subtitle {
    font-size: 35px;
  }
  .section-title,
  .legal h1,
  .legal h2 {
    font-size: 30px;
  }
  .cta-box__title {
    font-size: 20px;
  }
  .outline-text {
    font-size: 52px;
  }

  .stats__item {
    width: 100%;
    border-right: 0;
  }
  .stats__value {
    font-size: 26px;
  }
  .stats__value--headline {
    font-size: 26px;
  }

  .merch-card {
    flex: 1 1 100%;
    border-right-color: transparent;
    border-bottom-color: var(--line-hair);
  }

  .follow__item {
    flex: 1 1 50%;
  }

  .partner-section {
    padding: 12% var(--pad-x);
  }

  .partner-grid {
    gap: 30px;
  }

  .partner-grid img {
    max-height: 40px;
    max-width: 120px;
  }

  .newsletter-form__row {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .site-footer__bottom .site-footer__credit {
    margin-left: 0;
    text-align: left;
  }

  .footer-col {
    width: 50%;
  }
}
