/* ==========================================================================
   Leadership Sprechstunde – Landingpage
   Farben aus dem alten Elementor-Kit: #1C3031 (Grund), #F9F940 (Akzent), #FFFFFF
   Schrift: DM Sans (variabel, lokal gehostet)
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens ----------------------------------------------------------------- */
:root {
  --bg: #1C3031;
  --bg-deep: #152526;
  --surface: #213839;
  --surface-2: #294344;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #FFFFFF;
  --muted: #BFCBC9;
  --accent: #F9F940;
  --accent-soft: rgba(249, 249, 64, 0.16);
  --wave: #E4F59A;

  --font: "DM Sans", Arial, Helvetica, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

::selection { background: var(--accent); color: var(--bg); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 {
  margin-top: .6rem;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-head__intro {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 40rem;
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 48, 49, .86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--accent);
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }
.brand__name {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav__link {
  white-space: nowrap;
  padding: .5rem .85rem;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.site-nav__link:hover { color: var(--accent); }
.site-nav__link--cta {
  margin-left: .35rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.site-nav__link--cta:hover { background: var(--accent); color: var(--bg); }

@media (max-width: 720px) {
  .site-header__inner { min-height: 3.75rem; }
  .site-nav__link--secondary { display: none; }
  .brand { gap: .55rem; min-width: 0; }
  .brand img { width: 38px; height: 38px; }
  /* Name zweizeilig, damit der Button daneben Platz hat */
  .brand__name { font-size: .9375rem; line-height: 1.05; white-space: normal; }
  .brand__name span { display: block; }
  .site-nav__link--cta {
    margin-left: 0;
    padding: .45rem .85rem;
    font-size: .875rem;
    line-height: 1.2;
  }
}
@media (max-width: 340px) {
  .brand__name { display: none; } /* Logo trägt die Marke, Link hat aria-label */
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60rem 40rem at 85% 30%, rgba(228, 245, 154, .07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

/* Wellenform – Motiv aus Logo und Cover */
.hero__bars {
  position: absolute;
  inset: 8% -2% auto;
  height: 84%;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 75%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 75%, transparent 100%);
}
.hero__bars span {
  width: clamp(4px, .7vw, 9px);
  height: var(--h);
  border-radius: 999px;
  background: var(--wave);
  opacity: .075;
  transform-origin: center;
  animation: wave 5.5s var(--ease) infinite alternate;
}
.hero__bars span:nth-child(3n)   { animation-delay: -1.2s; animation-duration: 6.5s; }
.hero__bars span:nth-child(3n+1) { animation-delay: -2.6s; }
.hero__bars span:nth-child(4n)   { animation-delay: -3.8s; animation-duration: 4.8s; }
@keyframes wave {
  from { transform: scaleY(1); }
  to   { transform: scaleY(.55); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bars span { animation: none; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "heading" "cover" "listen";
  gap: clamp(2rem, 5vw, 2.75rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas: "heading cover" "listen cover";
    column-gap: clamp(3rem, 6vw, 5rem);
    row-gap: 2.75rem;
  }
  .hero__heading { align-self: end; }
  .hero__listen  { align-self: start; }
}

.hero__heading {
  grid-area: heading;
  container-type: inline-size; /* Titelgröße richtet sich nach der Spaltenbreite */
}
.hero__title {
  margin-top: 1rem;
  color: var(--accent);
  font-size: clamp(2rem, .6rem + 5vw, 4.25rem); /* Fallback ohne Container-Queries */
  font-size: clamp(2rem, 10.5cqi, 5.25rem);     /* „SPRECHSTUNDE“ passt immer in die Spalte */
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__title-line { display: block; }
@supports (-webkit-text-stroke: 1px) {
  .hero__title-line--outline {
    color: transparent;
    -webkit-text-stroke: clamp(1.5px, .22vw, 2.5px) var(--accent);
  }
}
.hero__hosts {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem);
}

.hero__cover {
  grid-area: cover;
  justify-self: center;
  width: min(100%, 440px);
}
.hero__cover img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    0 40px 80px -30px rgba(0, 0, 0, .7),
    0 18px 36px -18px rgba(0, 0, 0, .5);
}
@media (max-width: 959px) {
  .hero__cover { width: min(82%, 400px); }
}

.hero__listen { grid-area: listen; }
.hero__listen-title {
  color: var(--accent);
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Plattform-Buttons */
.platforms { display: flex; flex-wrap: wrap; gap: .75rem; }
.platform {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.25rem .7rem .8rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.platform:hover {
  border-color: var(--accent);
  background: rgba(249, 249, 64, .08);
  transform: translateY(-2px);
}
.platform img { width: 32px; height: 32px; flex: none; }
.platform span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.0625rem; }
.platform small { color: var(--muted); font-size: .75rem; font-weight: 500; }

.platforms--compact .platform { padding: .5rem 1rem .5rem .55rem; gap: .55rem; }
.platforms--compact .platform img { width: 28px; height: 28px; }
.platforms--compact .platform span { font-size: .9375rem; }

.latest {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-top: 1.5rem;
  padding: .9rem 1.1rem;
  max-width: 34rem;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, .04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background-color .2s;
}
.latest:hover { background: rgba(255, 255, 255, .08); }
.latest__label { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.latest__title { font-weight: 600; line-height: 1.35; }

/* Über den Podcast ------------------------------------------------------- */
.about { text-align: center; }
.about__lead {
  margin-top: 1.25rem;
  font-size: clamp(1.45rem, 1rem + 1.8vw, 2.25rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.about__lead em { font-style: normal; color: var(--accent); }
.about__text {
  margin: 1.5rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  text-wrap: pretty;
}

/* Hosts ------------------------------------------------------------------ */
.hosts { padding-top: 0; }
.hosts__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 860px) {
  .hosts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.host {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.host__photo { aspect-ratio: 5 / 4; overflow: hidden; background: var(--surface-2); }
.host__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 560px) and (max-width: 859px) {
  .host { flex-direction: row; }
  .host__photo { flex: 0 0 38%; aspect-ratio: auto; }
}

.host__body { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.host__name { font-size: 1.625rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.host__role { margin-top: -.6rem; color: var(--accent); font-size: .9375rem; font-weight: 500; }
.host__body > p:not(.host__role) { color: #E3EAE9; }

.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .5rem; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem .45rem .7rem;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; stroke: none; }

/* Themensuche ------------------------------------------------------------ */
.finder {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.search {
  position: relative;
  max-width: 46rem;
}
.search__icon {
  position: absolute;
  left: 1.25rem; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
  pointer-events: none;
}
.search__input {
  width: 100%;
  height: 3.75rem;
  padding: 0 3.5rem 0 3.4rem;
  color: var(--text);
  font: inherit;
  font-size: 1.125rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.search__input::placeholder { color: #8FA3A1; }
.search__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__clear {
  position: absolute;
  right: .6rem; top: 50%;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  transform: translateY(-50%);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.search__clear:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.search__clear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  color: var(--text);
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--accent); }
.chip__count { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 650; }
.chip[aria-pressed="true"] .chip__count { color: rgba(28, 48, 49, .7); }

@media (max-width: 720px) {
  .search__input { height: 3.25rem; font-size: 1rem; padding-left: 3rem; }
  .search__icon { left: 1rem; width: 20px; height: 20px; }
  .chips { gap: .375rem; margin-top: 1.1rem; }
  .chip { gap: .3rem; padding: .25rem .6rem; font-size: .8125rem; line-height: 1.4; }
  .chip__count { font-size: .6875rem; }
}

.finder__status {
  margin: 2rem 0 1rem;
  color: var(--muted);
  font-size: .9375rem;
}
.finder__status strong { color: var(--text); font-weight: 650; }

.results {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.episode {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.35rem 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s;
  animation: rise .35s var(--ease) both;
}
.episode:hover { border-color: var(--line-strong); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .episode { animation: none; } }

.episode__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem;
  color: var(--muted);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}
.episode__nr { color: var(--accent); font-weight: 700; }
.episode__title { font-size: 1.125rem; line-height: 1.3; font-weight: 650; text-wrap: pretty; }
.episode__summary {
  color: #D5DEDC;
  font-size: .9375rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode__snippet {
  padding: .6rem .8rem;
  color: #D5DEDC;
  font-size: .875rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, .04);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
}
.episode__snippet-label { display: block; color: var(--accent); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .15rem; }

.episode mark {
  color: inherit;
  background: rgba(249, 249, 64, .28);
  border-radius: 3px;
  padding: 0 .1em;
}

.episode__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  padding: .2rem .6rem;
  color: var(--accent);
  font: inherit;
  font-size: .8125rem;
  font-weight: 500;
  background: var(--accent-soft);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.tag:hover { background: rgba(249, 249, 64, .28); }

.episode__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .35rem; }
.episode__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem .4rem .45rem;
  color: var(--text);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s, background-color .2s;
}
.episode__link:hover { border-color: var(--accent); background: rgba(249, 249, 64, .08); }
.episode__link img { width: 22px; height: 22px; }

.finder__more { display: flex; justify-content: center; margin-top: 2rem; }
.button {
  padding: .8rem 1.5rem;
  font: inherit;
  font-weight: 650;
  border-radius: 999px;
  cursor: pointer;
}
.button--ghost { color: var(--accent); background: transparent; border: 1px solid var(--accent); }
.button--ghost:hover { background: var(--accent); color: var(--bg); }

.finder__empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
}
.finder__empty strong { display: block; color: var(--text); font-size: 1.125rem; margin-bottom: .35rem; }

.finder__hint { margin-top: 2.5rem; color: #8FA3A1; font-size: .8125rem; text-align: center; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    column-gap: 3rem;
  }
}
.site-footer__cover { width: 180px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.site-footer__title { color: var(--accent); font-size: 1.375rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer__listen .platforms { justify-content: center; }
@media (min-width: 720px) { .site-footer__listen .platforms { justify-content: flex-start; } }
.site-footer__ask { margin-top: 1.25rem; color: var(--muted); font-size: .9375rem; }

.site-footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.7;
  text-align: center;
}
