/* Florian One-Pager
 * Alle zentralen Werte stehen im body-Block unter Abschnitt 02.
 * Inhalt: eine Überschriftengröße (700), eine Textgröße (400).
 * Begrüßung: Textgröße, Gewicht 700.
 * Navigation, Player, Hinweise und Rechtstexte behalten eigene Funktionsgrößen.
 * --hero-image-height: Bildhöhe; --text-indent: Texteinzugsbreite.
 * --ticker-duration: längere Dauer = langsamere Bewegung.
 */

/* 01 · Schriftdateien */
@font-face {
  font-family: "Haskoy";
  src: url("fonts/Haskoy-variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Haskoy";
  src: url("fonts/Haskoy-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* 02 · Zentrale Einstellungen und Grundregeln */
body {
  --bg: #fdfdfd;
  --fg: #1C1C1E;
  --accent: #C9B37E;
  --muted: #62645c;
  --line: #d2d3ca;
  --panel: #e1e2da;
  --content-max-width: 1120px;
  --ticker-duration: 60s;
  --font-heading: clamp(38px, 4.8vw, 78px);
  --font-text: clamp(18px, 1.65vw, 25px);
  --weight-heading: 700;
  --weight-text: 400;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Haskoy", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: var(--font-text);
  font-weight: var(--weight-text);
  line-height: 1.5;
  --text-indent: 48px;
  --hero-image-height: 65svh;
}

body.dark {
  --bg: #1C1C1E;
  --fg: #fdfdfd;
  --accent: #C9B37E;
  --muted: #a8aba0;
  --line: #43463d;
  --panel: #30322d;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}

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

a:hover,
a:focus-visible {
  color: var(--accent);
}

.text-link a:hover,
.text-link a:focus-visible,
.footer-directory-row a:hover,
.footer-directory-row a:focus-visible {
  color: var(--accent);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

input {
  font: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 7px;
}

.link-arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  a:hover .link-arrow,
  a:focus-visible .link-arrow {
    transform: translateX(4px);
  }

  a:hover .link-arrow--up,
  a:focus-visible .link-arrow--up {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-arrow {
    transform: none !important;
    transition: none;
  }
}

button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 7px;
}

input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 7px;
}

button:disabled {
  cursor: default;
  opacity: .5;
}

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

.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--bg);
  padding: 12px;
}

.skip:focus {
  top: 12px;
}

main {
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: min(var(--content-max-width), calc(100% - 560px));
}

/* 03 · Einheitliche Inhaltstypografie */
#start .intro-greeting {
  padding-top: 24px;
  padding-left: var(--text-indent);
  max-width: none;
  font-size: var(--font-text);
  font-weight: var(--weight-heading);
  line-height: 1.3;
  color: var(--fg);
}

.text-left-space {
  padding-left: var(--text-indent);
}

.hero h1,
.content-section h2,
.content-section .wp-block-heading {
  font-size: var(--font-heading);
  font-weight: var(--weight-heading);
  line-height: 1.04;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.hero-copy p:not(.text-link):not(.eyebrow),
.content-section p:not(.text-link):not(.section-note):not(.coach-topics),
.lead {
  font-size: var(--font-text);
  font-weight: var(--weight-text);
  line-height: 1.5;
}
.text-bold {
  --weight-text: 600;
  font-weight: 600;
}
/* 04 · Logo, Navigation und Farbumschalter */
.brand {
  display: flex;
  align-items: center;
  gap: 19px;
  position: fixed;
  top: 28px;
  left: 3vw;
  z-index: 20;
}

.brand a {
  display: block;
  width: 62px;
}

.brand svg {
  display: block;
  width: 100%;
  height: 44px;
}

.brand>span {
  font-size: 12px;
  letter-spacing: .02em;
  display: none;
}

.rail {
  position: fixed;
  right: 4.5vw;
  top: 0;
  height: 100dvh;
  width: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  z-index: 10;
  background: var(--bg);
}

nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

nav a {
  font-size: 17px;
  line-height: 1.2;
  transition: font-size .25s,color .25s;
  color: var(--muted);
}

nav a[aria-current="location"] {
  font-size: 29px;
  color: var(--fg);
  letter-spacing: -.045em;
  position: relative;
}

nav a:hover {
  color: var(--fg);
}

.theme-toggle {
  position: absolute;
  bottom: 35px;
  right: 0;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 12px;
}

.theme-toggle>span:first-child {
  font-size: 23px;
  color: var(--accent);
}

body.admin-bar .rail {
  top: 32px;
  height: calc(100dvh - 32px);
}

body.admin-bar .brand {
  top: 60px;
}

/* 05 · Startbereich und Porträt */
.hero {
  position: relative;
  display: block;
  padding: 0 0 95px;
  min-height: 0;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: var(--hero-image-height);
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  background: var(--panel);
  overflow: hidden;
  border-radius: 0 0 30px 30px;
}

.portrait-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  border: 0;
}

.portrait-placeholder .portrait-initial {
  font-family: Georgia,serif;
  font-size: clamp(70px,11vw,170px);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  opacity: .14;
  letter-spacing: -.12em;
  padding-right: .12em;
}

.portrait-placeholder p {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.8;
}

.photo-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  font-size: 10px;
  letter-spacing: .04em;
  background: var(--bg);
  padding: 6px 9px;
}

.hero h1 {
  margin: 0 0 48px;
  overflow-wrap: normal;
  max-width: 100%;
}

.hero-copy>p:not(.eyebrow) {
  color: var(--muted);
  max-width: 500px;
}

.hero-index {
  position: absolute;
  bottom: 25px;
  font-size: 10px;
  color: var(--muted);
  display: none;
}

.hero-copy {
  padding-top: 24px;
}

.hero-photo.wp-block-group {
  padding: 0;
}

.hero-photo>.wp-block-group__inner-container {
  height: 100%;
}

.hero-copy.wp-block-group {
  margin-top: 0;
}

.hero-copy .intro-description {
  color: var(--muted);
  max-width: 500px;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 06 · Inhaltsbereiche und Textlinks */
.eyebrow {
  font-size: 11px;
  letter-spacing: .035em;
  color: var(--muted);
  margin: 0 0 30px;
}

.section-meta {
  font-size: 14px;
  letter-spacing: .035em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 75px;
}

.section-note {
  font-size: 11px;
  letter-spacing: .035em;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 15px;
}

.text-link {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 9px;
  margin-top: 23px;
}

.text-link span {
  font-size: 23px;
}

.content-section {
  border-top: 1px solid var(--line);
  padding: 38px 0 110px;
  min-height: 90svh;
  scroll-margin-top: 25px;
}

.content-section h2 {
  margin: 0 0 38px;
}

.lead {
  max-width: 510px;
  color: var(--muted);
}

.text-link:hover {
  border-color: var(--accent);
}

.text-link a {
  color: inherit;
}

/* 07 · Hörbeispiele */
.audio-list {
  margin-top: 60px;
}

.audio-row {
  display: grid;
  align-items: center;
  grid-template-columns: 100px 1fr auto;
  gap: 25px;
  border: 0;
  padding: 21px 0;
  position: relative;
}

.audio-number {
  font-size: 11px;
  color: var(--muted);
}

.audio-title {
  font-size: 20px;
  font-weight: 400;
}

.audio-title small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
  font-size: 10px;
}

.audio-row audio {
  width: 100%;
  height: 38px;
  grid-column: 2;
  grid-row: 2;
}

.audio-placeholder {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.audio-placeholder button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
}

.audio-placeholder .sample-line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.download {
  font-size: 23px;
  text-align: center;
}

.download[aria-disabled] {
  opacity: .3;
}

.audio-play {
  border: 0;
  background: none;
  text-align: left;
  padding: 7px 0;
  font-size: 17px;
  white-space: nowrap;
}

.audio-play[aria-pressed="true"] {
  text-decoration: none;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.audio-play:disabled {
  opacity: .5;
}

.audio-row .download {
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
}

.audio-row .download:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.audio-row.enhanced audio {
  display: none;
}

.audio-error {
  grid-column: 2 / -1;
  font-size: 11px;
  color: var(--muted);
}

/* Laufzeit und Fortschritt: ersetzt nach dem Start den Titel. */
.audio-row.has-progress .audio-title {
  display: none;
}

.audio-progress {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  height: 44px;
  font-size: var(--font-text);
  font-variant-numeric: tabular-nums;
}

.audio-progress:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audio-progress[hidden] {
  display: none;
}

.audio-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--audio-progress, 0) * (100% - 1px));
  width: 1px;
  background: var(--accent);
  pointer-events: none;
}

.audio-seek {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.audio-progress:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

/* 08 · Referenzen und horizontaler Logo-Scroller */
.reference-heading {
  font-size: 16px;
  letter-spacing: .035em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.moderation-grid {
  display: grid;
  grid-template-columns: 1.4fr .65fr;
  gap: 7%;
  align-items: center;
}

.ticker-toggle {
  font-size: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
  background: none;
  display: none;
}

.ticker {
  height: 120px;
  width: 100%;
  margin-top: 15px;
  mask-image: none;
  overflow: hidden;
  -webkit-mask-image: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: logos-horizontal var(--ticker-duration) linear infinite;
}

.ticker-track.paused {
  animation-play-state: paused;
}

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

.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia,serif;
  font-size: 23px;
  color: var(--muted);
  width: 185px;
  height: 110px;
  flex: none;
  border: 0;
  padding: 20px 30px;
}

.logo-item:nth-child(2) {
  font-family: Arial,sans-serif;
  font-weight: 700;
  letter-spacing: -.06em;
}

.logo-item:nth-child(3) {
  font-style: italic;
}

.logo-item img {
  object-fit: contain;
  filter: grayscale(1);
  max-width: 125px;
  max-height: 55px;
}

body.dark .logo-item img {
  filter: grayscale(1) invert(1);
}

.references {
  max-width: none;
  width: 100%;
  margin: 32px 0 38px;
  min-width: 0;
}

.logo-group {
  display: flex;
  flex: none;
  align-items: center;
}

.moderation-copy {
  display: block;
}

.moderation-copy .lead {
  max-width: 590px;
}

@keyframes logos-horizontal {
  to { transform: translateX(-50%); }
}

/* 09 · Coaching */
.coaching {
  padding-bottom: 60px;
}

.coach-bottom {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
}

.round-link {
  width: 95px;
  height: 95px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 40px;
  flex-shrink: 0;
}

.round-link:hover {
  background: var(--accent);
  color: #1d1d1d;
}

.coach-topics {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 90px;
  font-size: 12px;
}

/* Coach · Angebote als kompakte Akkordeon-Liste */
#coach .wp-block-accordion {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

#coach .wp-block-accordion-item {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

#coach .wp-block-accordion-heading {
  margin: 0;
  font-size: var(--font-text);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
}

#coach .wp-block-accordion-heading__toggle {
  padding: 22px 0;
  gap: 20px;
  text-align: left;
}

#coach .wp-block-accordion-heading__toggle-icon {
  flex-shrink: 0;
  color: var(--accent);
}

#coach .wp-block-accordion-heading__toggle:hover,
#coach .wp-block-accordion-heading__toggle[aria-expanded="true"] {
  color: var(--accent);
}

#coach .wp-block-accordion-heading__toggle:hover
.wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

#coach .wp-block-accordion-panel {
  margin: 0;
  padding: 0 0 28px;
}

#coach .wp-block-accordion-panel > :first-child {
  margin-top: 0;
}

#coach .wp-block-accordion-panel > :last-child {
  margin-bottom: 0;
}

/* Coach · kompakte Eckdaten */
#coach .coach-specs {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 28px;
}

#coach .coach-specs p,
#coach .coach-specs li {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
}

#coach .coach-specs p {
  margin: 0 0 12px;
}

/* Erste Zeile jeder Spalte als Beschriftung */
#coach .coach-specs .wp-block-column > p:first-child {
  font-weight: 600;
  color: var(--fg);
}

/* Kurze goldene Striche statt Listenpunkten */
#coach .wp-block-accordion-panel ul {
  list-style: none;
  padding-left: 0;
}

#coach .wp-block-accordion-panel ul > li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.45em;
}

#coach .wp-block-accordion-panel ul > li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Coach · Bildplatzhalter, später durch Bildblock mit Klasse coach-photo ersetzen */
#coach .coach-photo {
  position: relative;
  margin: 42px 0 12px;
  width: 100%;
  overflow: hidden;
  background: var(--panel);
}
#coach .coach-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
#coach .coach-photo-placeholder {
  aspect-ratio: 16 / 7;
  display: grid;
  place-items: center;
}
#coach .coach-photo-wave {
  width: clamp(80px, 11vw, 150px);
  height: auto;
  color: var(--fg);
  opacity: .14;
}
#coach .coach-photo-placeholder figcaption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* Coach · Einstieg links, Beschreibung rechts, Eckdaten über volle Breite */
#coach .coach-offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-top: 12px;
}
#coach .coach-offer-layout > * { min-width: 0; }
#coach .coach-offer-intro { --weight-text: 600; }
#coach .coach-offer-intro p {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}
#coach .coach-offer-copy,
#coach .coach-offer-copy .text-bold {
  --weight-text: 400;
  font-weight: 400;
}
#coach .coach-offer-copy p { margin: 0 0 20px; }
#coach .coach-offer-copy .coach-list-label {
  font-weight: 600;
  margin: 26px 0 12px;
}
#coach .coach-offer-copy ul { margin: 0 0 24px; }
#coach .coach-offer-copy > :last-child { margin-bottom: 0; }
#coach .coach-offer-layout > .coach-specs {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  width: 100%;
}
#coach .coach-offer-layout > .coach-specs .wp-block-column > :last-child { margin-bottom: 0; }
@media (min-width: 1200px) {
  #coach .coach-offer-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
    column-gap: clamp(32px, 4vw, 64px);
    row-gap: 32px;
  }
}
@media (max-width: 600px) {
  #coach .coach-photo-placeholder,
  #coach .coach-photo img { aspect-ratio: 4 / 3; }
  #coach .coach-photo-placeholder figcaption { left: 18px; bottom: 16px; }
  #coach .coach-offer-layout { gap: 20px; }
}


/* 10 · Kontakt und Footer */
.contact {
  padding-bottom: 30px;
  min-height: 95svh;
  display: flex;
  flex-direction: column;
}

.contact-action {
  margin: 20px 0 90px;
  font-size: var(--font-text);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  font-weight: var(--weight-text);
}

.contact-action>a {
  border-bottom: 1px solid var(--fg);
  padding-bottom: 8px;
}

.contact-pending {
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}

.legal {
  display: flex;
  gap: 22px;
}

.legal span {
  opacity: .7;
}

/* 11 · Rechtstexte */
.legal-page {
  padding-top: 140px;
  min-height: 100vh;
  line-height: 1.7;
}

.legal-page h1 {
  letter-spacing: -.04em;
  font-weight: 400;
  font-size: clamp(34px,4.5vw,64px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.legal-page article {
  max-width: 780px;
  padding-bottom: 65px;
}

.legal-page h2 {
  font-size: 21px;
  line-height: 1.35;
  margin-top: 38px;
  letter-spacing: -.02em;
}

.legal-page p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.legal-page article a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-footer {
  padding-bottom: 30px;
}

.legal-footer nav {
  flex-direction: row;
  gap: 22px;
}

.legal-footer nav a {
  font-size: 12px;
  letter-spacing: normal;
}

.legal-page>a {
  display: inline-block;
  margin-bottom: 20px;
}

/* 12 · WordPress-Blöcke und Smooth Scrolling */
html.lenis {
  scroll-behavior: auto!important;
}

html.lenis body {
  scroll-behavior: auto!important;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-gallery img {
  max-width: 100%;
  height: auto;
}

.wp-block-gallery {
  margin: 40px 0;
  gap: 18px!important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
  overflow: hidden;
  border-radius: 14px;
}

.wp-block-gallery figcaption {
  font-size: 12px;
}

.wp-block-columns {
  gap: 28px;
}

.wp-block-button__link {
  background: var(--fg);
  color: var(--bg);
  border-radius: 0;
}

.content-section .wp-block-audio audio {
  width: 100%;
}

/* Tablet: 701–1100 px – keine abweichenden Inhalts-Schriftgrößen */
@media (min-width: 701px) and (max-width: 1100px) {
  .brand {
    left: 2.5vw;
  }

  .brand a {
    width: 54px;
  }

  .rail {
    width: 160px;
    right: 3vw;
  }

  main {
    width: calc(100% - 410px);
  }

  .section-meta {
    margin-bottom: 60px;
  }

  .audio-placeholder {
    grid-column: 2;
    grid-row: 2;
  }

  .download {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .moderation-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobil: bis 700 px – keine abweichenden Inhalts-Schriftgrößen */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 25px;
  }

  .brand {
    left: 10px;
    top: 18px;
  }

  .brand a {
    width: 38px;
  }

  .brand svg {
    height: 30px;
  }

  .rail {
    padding-left: 5px;
    right: 10px;
    width: 90px;
  }

  nav {
    gap: 19px;
  }

  .theme-toggle {
    bottom: 20px;
    font-size: 10px;
  }

  main {
    width: auto;
    margin-left: 62px;
    margin-right: 112px;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 65px;
  }

  .portrait-placeholder .portrait-initial {
    font-size: 90px;
  }

  .portrait-placeholder p {
    font-size: 9px;
  }

  .photo-caption {
    left: 10px;
    bottom: 12px;
    font-size: 8px;
  }

  .eyebrow {
    font-size: 9px;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .section-meta {
    font-size: 9px;
    margin-bottom: 45px;
  }

  .section-note {
    font-size: 9px;
  }

  .reference-heading {
    font-size: 9px;
  }

  .text-link {
    font-size: 11px;
    gap: 10px;
  }

  .hero-index {
    bottom: 20px;
  }

  .content-section {
    padding-top: 27px;
    padding-bottom: 65px;
    min-height: auto;
  }

  .audio-list {
    margin-top: 35px;
  }

  .audio-row {
    grid-template-columns: 72px 1fr;
    gap: 8px 14px;
    padding: 20px 0;
  }

  .audio-number {
    display: none;
  }

  .audio-title {
    font-size: 15px;
  }

  .audio-row audio {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .audio-placeholder {
    grid-row: 2;
    grid-column: 1;
    gap: 8px;
    font-size: 9px;
  }

  .download {
    grid-row: 1 / 3;
    grid-column: 2;
  }

  .moderation-grid {
    grid-template-columns: 1fr;
  }

  .ticker {
    height: 105px;
  }

  .logo-item {
    width: 140px;
    padding: 16px 20px;
    font-size: 20px;
  }

  .coach-bottom {
    display: block;
  }

  .round-link {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-top: 25px;
  }

  .coach-topics {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 10px;
    margin-top: 50px;
  }

  .contact {
    min-height: 85svh;
  }

  .contact-action {
    margin-bottom: 65px;
  }

  .footer-bottom {
    flex-direction: column;
    line-height: 1.6;
  }

  .legal {
    gap: 15px;
    flex-wrap: wrap;
  }

  body.admin-bar .rail {
    top: 46px;
    height: calc(100dvh - 46px);
  }

  .references {
    margin: 25px 0;
  }

  .section-meta>span:last-child {
    display: none;
  }

  .audio-play {
    font-size: 14px;
  }

  .audio-row .download {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    font-size: 11px;
  }

  .hero-copy {
    padding-top: 30px;
  }

  body.admin-bar .brand {
    top: 64px;
  }

  .legal-page h2 {
    font-size: 19px;
  }

  .legal-footer nav {
    flex-wrap: wrap;
  }

  main.legal-page {
    width: auto;
    margin: 0 24px;
    padding-top: 65px;
  }
}

/* Reduzierte Bewegung – keine abweichenden Inhalts-Schriftgrößen */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none!important;
    transition: none!important;
  }

  *:before {
    animation: none!important;
    transition: none!important;
  }

  *:after {
    animation: none!important;
    transition: none!important;
  }

  .ticker {
    overflow-x: auto;
    overflow-y: hidden;
    mask-image: none;
  }

  .ticker-track>.logo-group[aria-hidden="true"] {
    display: none;
  }

  .ticker-track {
    animation: none;
  }
}


/* Mobile Navigation und volle Inhaltsbreite */
.menu-toggle { display: none; }
@media (max-width: 900px) {
  body.mobile-menu-ready { --mobile-header-height: 76px; }
  .mobile-menu-ready main {
    width: auto;
    max-width: none;
    margin: 0 24px;
    padding-top: var(--mobile-header-height);
  }
  .mobile-menu-ready .brand {
    inset: 0 0 auto;
    height: var(--mobile-header-height);
    padding: 0 24px;
    background: var(--bg);
    z-index: 30;
  }
  .mobile-menu-ready .brand a { width: 48px; }
  .mobile-menu-ready .brand svg { height: 36px; }
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 14px;
    right: 18px;
    z-index: 32;
    width: 48px;
    height: 48px;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--bg);
    color: var(--fg);
    border: 0;
  }
  .menu-toggle span { width: 24px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-menu-ready .rail {
    inset: var(--mobile-header-height) 0 auto;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - var(--mobile-header-height));
    overflow-y: auto;
    padding: 24px 30px 30px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    z-index: 31;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-menu-ready.menu-open .rail { visibility: visible; pointer-events: auto; }
  .mobile-menu-ready .rail nav { width: 100%; gap: 16px; }
  .mobile-menu-ready .rail nav a { font-size: 24px; padding: 6px 0; }
  .mobile-menu-ready .rail nav a[aria-current="location"] { font-size: 30px; }
  .mobile-menu-ready .theme-toggle { position: static; margin-top: 24px; font-size: 14px; min-height: 44px; }
  .mobile-menu-ready .hero-photo { height: 52svh; max-height: 560px; border-radius: 0 0 24px 24px; }
  .mobile-menu-ready .hero-copy { padding-top: 24px; }
  .mobile-menu-ready { --text-indent: 16px; }
  .mobile-menu-ready .content-section { scroll-margin-top: 76px; }
  .mobile-menu-ready.admin-bar .brand { top: 46px; }
  .mobile-menu-ready.admin-bar .menu-toggle { top: 60px; }
  .mobile-menu-ready.admin-bar .rail { top: 122px; max-height: calc(100dvh - 122px); }
}
@media (min-width: 783px) and (max-width: 900px) {
  .mobile-menu-ready.admin-bar .brand { top: 32px; }
  .mobile-menu-ready.admin-bar .menu-toggle { top: 46px; }
  .mobile-menu-ready.admin-bar .rail { top: 108px; max-height: calc(100dvh - 108px); }
}

/* Stimme · kleine signalgesteuerte Wellenform unter Play / Pause */
.audio-control {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: start;
  min-width: 0;
}
.audio-wave {
  display: block;
  width: 100%;
  height: 18px;
  fill: var(--accent);
  visibility: hidden;
  pointer-events: none;
}
.has-audio-wave .audio-wave { visibility: visible; }
.has-audio-wave:not(.audio-wave-playing) .audio-wave { opacity: .45; }
@media (max-width: 700px) {
  .audio-wave { height: 15px; }
}

/* Moderationsgalerie · ruhiger Zoom innerhalb des vorhandenen Bildrahmens */
#moderator .galleryberg-image { overflow: hidden; }
#moderator .galleryberg-image img {
  transition: transform 420ms cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #moderator .galleryberg-image:hover img { transform: scale(1.03); }
}
#moderator .galleryberg-image:focus-within {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  #moderator .galleryberg-image:focus-within img { transform: scale(1.03); }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  #moderator .galleryberg-image:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .audio-wave { visibility: hidden; }
  #moderator .galleryberg-image img { transition: none; transform: none; }
}
