/*
Theme Name: Radio Harmonie
Theme URI: https://radioharmonie.at/
Author: Radio Harmonie
Description: Eigenständiges WordPress-Theme für Radio Harmonie mit integriertem Livestream-Player – ohne ProRadio.
Version: 1.5.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: radio-harmonie
License: GNU General Public License v2 or later
*/

@font-face {
  font-family: "Corinthia";
  src: url("assets/fonts/Corinthia-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Corinthia";
  src: url("assets/fonts/Corinthia-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --rh-red: #8f0a28;
  --rh-dark: #39030d;
  --rh-deep: #210107;
  --rh-pink: #ed174c;
  --rh-cream: #fffaf4;
  --rh-ink: #21181a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rh-ink);
  background: var(--rh-cream);
  font-family: Arial, Helvetica, sans-serif;
  padding-bottom: 130px;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.rh-header {
  height: 120px;
  padding: 0 48px;
  background: linear-gradient(90deg, #3b020c, #73091c 48%, #3b020c);
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 50;
}
.rh-logo {
  display: block;
  width: 350px;
  flex: 0 0 350px;
}
.rh-logo img { display: block; width: 100%; }
.rh-menu {
  margin-left: auto;
}
.rh-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.rh-menu li {
  display: flex;
  align-items: center;
  gap: 26px;
}
.rh-menu li:not(:last-child)::after {
  content: "•";
  color: #fff;
}
.rh-menu a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.rh-menu a:hover { color: #ffdbe4; }

.rh-hero {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  background-image: url("assets/radio-harmonie-v21-background.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.rh-hero-inner {
  width: min(1380px, calc(100% - 80px));
  min-height: 610px;
  margin: 0 auto;
  padding: 40px 0 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.rh-claim {
  margin: 0;
  max-width: 760px;
  color: #71091f;
  font-family: "Corinthia", cursive;
  font-size: clamp(76px, 7vw, 116px);
  font-weight: 700;
  line-height: .76;
  letter-spacing: -.02em;
  text-shadow: 0 2px 14px rgba(255,255,255,.7);
}
.rh-now {
  display: grid;
  grid-template-columns: 104px 104px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: min(680px, 100%);
}
.rh-round-button {
  width: 104px;
  height: 104px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: linear-gradient(145deg, #a51234, #61081c);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(45, 4, 15, .3);
}
.rh-round-button svg { width: 38px; height: 38px; fill: currentColor; }
.rh-round-button .pause-icon { display: none; }
body.rh-playing .rh-round-button .play-icon { display: none; }
body.rh-playing .rh-round-button .pause-icon { display: block; }

.rh-cover {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(35, 6, 15, .18);
}
.rh-cover img { width: 88%; }
.rh-track { color: #fff; min-width: 0; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.rh-track-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 6px 11px;
  border-radius: 7px;
  background: var(--rh-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: none;
}
.rh-track strong,
.rh-track small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rh-track strong { font-size: 31px; line-height: 1.05; }
.rh-track small { margin-top: 6px; font-size: 22px; }
.rh-ai {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: rgba(255,255,255,.85);
  font-size: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,.75);
}

.rh-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--rh-cream);
  border-bottom: 1px solid rgba(90, 10, 30, .15);
}
.rh-feature {
  min-height: 125px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-right: 1px solid rgba(90, 10, 30, .16);
}
.rh-feature:last-child { border-right: 0; }
.rh-feature svg {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  fill: none;
  stroke: var(--rh-red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rh-feature strong,
.rh-feature small { display: block; }
.rh-feature strong { margin-bottom: 6px; font-size: 17px; }
.rh-feature small { font-size: 14px; line-height: 1.45; }

.rh-main {
  width: min(1100px, calc(100% - 40px));
  margin: 45px auto 170px;
}
.rh-card {
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 15px 45px rgba(67, 11, 28, .09);
}
.rh-card h1, .rh-card h2, .rh-card h3, .rh-card p, .rh-card li { color: var(--rh-ink); }

.rh-player {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 12px;
  height: 118px;
  z-index: 9999;
  display: grid;
  grid-template-columns: 92px 76px 240px minmax(260px, 1fr) 310px;
  align-items: center;
  gap: 18px;
  padding: 13px 22px;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(90deg, #39040d, #760a24 48%, #32030a);
  box-shadow: 0 14px 42px rgba(43, 3, 13, .38);
}
.rh-player-cover {
  width: 84px;
  height: 92px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #a51035, #570617);
  border: 1px solid rgba(255,255,255,.2);
}
.rh-player-cover img { width: 90%; }
.rh-player .rh-round-button {
  width: 66px;
  height: 66px;
  border-width: 2px;
  background: transparent;
  box-shadow: none;
}
.rh-player .rh-round-button svg { width: 27px; height: 27px; }
.rh-player-track { min-width: 0; }
.rh-live {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--rh-pink);
  font-size: 10px;
  font-weight: 800;
}
.rh-player-track strong,
.rh-player-track small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rh-player-track strong { margin-top: 6px; font-size: 20px; }
.rh-player-track small { margin-top: 5px; font-size: 14px; color: rgba(255,255,255,.78); }

.rh-wave {
  height: 65px;
  display: flex;
  align-items: end;
  gap: 4px;
  position: relative;
  padding-bottom: 19px;
}
.rh-wave i {
  width: 5px;
  min-height: 7px;
  border-radius: 2px 2px 0 0;
  background: var(--rh-pink);
  animation: rh-wave .8s ease-in-out infinite alternate;
}
.rh-wave i:nth-child(3n) { height: 32px; }
.rh-wave i:nth-child(4n) { height: 46px; }
.rh-wave i:nth-child(5n) { height: 21px; }
.rh-wave i:nth-child(2n) { animation-delay: -.4s; }
body:not(.rh-playing) .rh-wave i { animation-play-state: paused; height: 8px; opacity: .55; }
@keyframes rh-wave { to { transform: scaleY(.45); opacity: .65; } }
.rh-stream-line {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
}
.rh-stream-line span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rh-pink), rgba(237,23,76,.25));
}

.rh-controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 17px;
}
.rh-icon-button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 5px;
  cursor: pointer;
  font-size: 23px;
}
.rh-volume {
  width: 100%;
  height: 5px;
  accent-color: var(--rh-pink);
  cursor: pointer;
}

.rh-footer-note {
  display: none;
}
.rh-status {
  position: fixed;
  left: 50%;
  bottom: 142px;
  transform: translateX(-50%);
  z-index: 10000;
  border-radius: 8px;
  padding: 9px 14px;
  background: rgba(40,3,12,.92);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.rh-status.is-visible { opacity: 1; }

@media (max-width: 1100px) {
  .rh-logo { width: 270px; flex-basis: 270px; }
  .rh-menu ul, .rh-menu li { gap: 14px; }
  .rh-menu a { font-size: 12px; }
  .rh-player {
    grid-template-columns: 75px 60px 190px 1fr 230px;
  }
}
@media (max-width: 780px) {
  body { padding-bottom: 103px; }
  .rh-header { height: 84px; padding: 0 18px; }
  .rh-logo { width: 205px; flex-basis: 205px; }
  .rh-menu { display: none; }
  .rh-hero { min-height: 620px; background-position: 58% center; }
  .rh-hero-inner { min-height: 620px; width: calc(100% - 30px); padding-top: 42px; }
  .rh-claim { font-size: 68px; max-width: 360px; }
  .rh-now { grid-template-columns: 66px 64px minmax(0,1fr); gap: 11px; }
  .rh-round-button { width: 62px; height: 62px; border-width: 3px; }
  .rh-round-button svg { width: 23px; height: 23px; }
  .rh-cover { width: 60px; height: 60px; border-radius: 11px; }
  .rh-track-label { padding: 3px 7px; font-size: 10px; }
  .rh-track strong { font-size: 17px; }
  .rh-track small { font-size: 13px; margin-top: 3px; }
  .rh-features { grid-template-columns: 1fr; }
  .rh-feature { justify-content: flex-start; border-right: 0; border-bottom: 1px solid rgba(90,10,30,.15); min-height: 92px; }
  .rh-player {
    left: 5px; right: 5px; bottom: 5px; height: 94px;
    grid-template-columns: 52px 46px 1fr 80px;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 13px;
  }
  .rh-player-cover { width: 48px; height: 66px; }
  .rh-player .rh-round-button { width: 42px; height: 42px; }
  .rh-player-track strong { font-size: 15px; }
  .rh-player-track small { font-size: 12px; }
  .rh-wave { height: 53px; gap: 2px; }
  .rh-wave i { width: 3px; }
  .rh-controls { display: none; }
}


/* ==========================================================
   RADIO HARMONIE 1.1 – BEREINIGTE STANDALONE-VERSION
   ========================================================== */

/* Keine ProRadio/QTM-Player-Ausgaben oder alte Theme-Reste */
#proradio-playercontainer,
.qtmplayer__cont,
.qtmplayer,
.proradio-player,
.proradio-headerbar,
.proradio-pageheader,
.proradio-megafooter,
.proradio-footer,
.qt-ajax-player,
.qt-player,
.qt-debug,
.qt-ajax-debug,
body > .qtmplayer__cont {
  display: none !important;
}

/* Startseite zeigt ausschließlich das neue Radio-Harmonie-Layout */
body.home .wp-site-blocks,
body.home .elementor,
body.home .elementor-location-header,
body.home .elementor-location-footer,
body.home .site-content > :not(.rh-home),
body.home main > .entry-content {
  display: none !important;
}

.rh-home {
  display: block !important;
}

/* Hero bleibt scharf und unverzerrt */
.rh-hero {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
}
.rh-hero::before,
.rh-hero::after {
  display: none !important;
  content: none !important;
}

/* Eigener Player liegt immer über allen alten Elementen */
.rh-player {
  z-index: 999999 !important;
}

/* Buttons immer rund */
.rh-round-button {
  border-radius: 9999px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 auto !important;
}

/* WordPress Admin-Bar nicht vom Player verdecken */
body.admin-bar .rh-header {
  margin-top: 0;
}
@media (max-width: 782px) {
  body.admin-bar .rh-header {
    margin-top: 0;
  }
}


/* ==========================================================
   RADIO HARMONIE 1.2.1 – VOLLSTÄNDIGE BEITRAGSANSICHT
   ========================================================== */

.rh-single-main {
  width: min(1100px, calc(100% - 40px));
}

.rh-single-article {
  overflow: hidden;
}

.rh-single-header {
  margin-bottom: 26px;
}

.rh-single-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  color: var(--rh-dark);
}

.rh-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #74676a;
  font-size: 14px;
}

.rh-single-meta a {
  color: var(--rh-red);
  text-decoration: none;
}

.rh-single-meta a:hover {
  text-decoration: underline;
}

.rh-single-featured-image {
  margin: 0 -34px 32px;
}

.rh-single-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
}

.rh-single-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--rh-ink);
  overflow-wrap: anywhere;
}

.rh-single-content > :first-child {
  margin-top: 0;
}

.rh-single-content > :last-child {
  margin-bottom: 0;
}

.rh-single-content p,
.rh-single-content ul,
.rh-single-content ol,
.rh-single-content blockquote,
.rh-single-content figure,
.rh-single-content table,
.rh-single-content .wp-block-embed {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.rh-single-content h2,
.rh-single-content h3,
.rh-single-content h4 {
  margin-top: 1.5em;
  margin-bottom: .65em;
  line-height: 1.2;
  color: var(--rh-dark);
}

.rh-single-content a {
  color: var(--rh-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rh-single-content img,
.rh-single-content video,
.rh-single-content iframe {
  max-width: 100%;
}

.rh-single-content iframe,
.rh-single-content .wp-block-embed__wrapper {
  width: 100%;
}

.rh-single-content blockquote {
  margin-left: 0;
  padding: 18px 24px;
  border-left: 5px solid var(--rh-red);
  background: #fff7f8;
  border-radius: 0 10px 10px 0;
}

.rh-single-content table {
  width: 100%;
  border-collapse: collapse;
}

.rh-single-content th,
.rh-single-content td {
  padding: 10px 12px;
  border: 1px solid #e3d8da;
  text-align: left;
}

.rh-single-content .alignwide {
  width: min(1180px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.rh-single-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.rh-single-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #eadfe1;
  color: #675b5e;
  font-size: 14px;
}

.rh-single-footer a {
  color: var(--rh-red);
}

.rh-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #eadfe1;
}

.rh-post-navigation a {
  display: block;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff4f6;
  color: var(--rh-red);
  text-decoration: none;
  font-weight: 700;
}

.rh-post-navigation a:hover {
  background: #fce7ec;
}

.rh-post-navigation-next {
  text-align: right;
}

.rh-page-links {
  margin-top: 28px;
  font-weight: 700;
}

@media (max-width: 780px) {
  .rh-single-main {
    width: calc(100% - 24px);
    margin-top: 22px;
  }

  .rh-single-article {
    padding: 22px 18px;
  }

  .rh-single-title {
    font-size: 31px;
  }

  .rh-single-featured-image {
    margin: 0 -18px 24px;
  }

  .rh-single-content {
    font-size: 16px;
    line-height: 1.65;
  }

  .rh-post-navigation {
    grid-template-columns: 1fr;
  }

  .rh-post-navigation-next {
    text-align: left;
  }
}


/* ==========================================================
   RADIO HARMONIE 1.3.0 – MOBILE VERSION
   ========================================================== */

.rh-mobile-menu-toggle,
.rh-mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-bottom: 108px;
  }

  .rh-header {
    height: 78px;
    padding: 0 16px;
    gap: 14px;
  }

  .rh-logo {
    width: 205px;
    flex: 0 0 205px;
    max-width: calc(100vw - 82px);
  }

  .rh-menu {
    display: none !important;
  }

  .rh-mobile-menu-toggle {
    margin-left: auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    cursor: pointer;
  }

  .rh-mobile-menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
  }

  .rh-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: block;
    background: rgba(20,0,5,.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .rh-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .rh-mobile-menu-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100%;
    padding: 88px 26px 30px;
    background: linear-gradient(180deg,#47030e,#760a20 52%,#340208);
    box-shadow: -18px 0 42px rgba(0,0,0,.28);
    transform: translateX(100%);
    transition: transform .22s ease;
    overflow-y: auto;
  }

  .rh-mobile-menu.is-open .rh-mobile-menu-inner {
    transform: translateX(0);
  }

  .rh-mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
  }

  .rh-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .rh-mobile-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .rh-mobile-menu a {
    display: block;
    padding: 17px 4px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 800;
  }

  body.rh-mobile-menu-open {
    overflow: hidden;
  }

  .rh-hero {
    min-height: 640px;
    background-position: 68% center;
  }

  .rh-hero-inner {
    width: calc(100% - 28px);
    min-height: 640px;
    padding: 34px 0 34px;
  }

  .rh-claim {
    max-width: 360px;
    font-size: clamp(58px, 16vw, 76px);
    line-height: .8;
    text-shadow: 0 2px 12px rgba(255,255,255,.82);
  }

  .rh-now {
    grid-template-columns: 64px 62px minmax(0,1fr);
    gap: 10px;
    width: 100%;
  }

  .rh-round-button {
    width: 60px;
    height: 60px;
    border-width: 3px;
  }

  .rh-round-button svg {
    width: 23px;
    height: 23px;
  }

  .rh-cover {
    width: 60px;
    height: 60px;
    border-radius: 11px;
  }

  .rh-track-label {
    margin-bottom: 4px;
    padding: 4px 7px;
    font-size: 10px;
  }

  .rh-track strong {
    font-size: 17px;
  }

  .rh-track small {
    margin-top: 3px;
    font-size: 13px;
  }

  .rh-ai {
    right: 8px;
    bottom: 6px;
    font-size: 8px;
  }

  .rh-features {
    grid-template-columns: 1fr;
  }

  .rh-feature {
    min-height: 86px;
    justify-content: flex-start;
    padding: 14px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(90,10,30,.14);
  }

  .rh-feature svg {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .rh-feature strong {
    font-size: 15px;
  }

  .rh-feature small {
    font-size: 13px;
  }

  .rh-main,
  .rh-single-main {
    width: calc(100% - 22px);
    margin: 22px auto 125px;
  }

  .rh-card,
  .rh-single-article {
    padding: 22px 17px;
    border-radius: 14px;
  }

  .rh-card h1,
  .rh-single-title {
    font-size: 30px;
    line-height: 1.15;
  }

  .rh-single-featured-image {
    margin: 0 -17px 22px;
  }

  .rh-single-content {
    font-size: 16px;
    line-height: 1.65;
  }

  .rh-single-content .alignwide,
  .rh-single-content .alignfull {
    width: calc(100vw - 22px);
  }

  .rh-post-navigation {
    grid-template-columns: 1fr;
  }

  .rh-post-navigation-next {
    text-align: left;
  }

  .rh-player {
    left: 5px;
    right: 5px;
    bottom: 5px;
    height: 96px;
    grid-template-columns: 50px 44px minmax(0,1fr) 74px;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .rh-player-cover {
    width: 48px;
    height: 66px;
    border-radius: 8px;
  }

  .rh-player .rh-round-button {
    width: 42px;
    height: 42px;
  }

  .rh-player .rh-round-button svg {
    width: 18px;
    height: 18px;
  }

  .rh-player-track strong {
    font-size: 14px;
  }

  .rh-player-track small {
    font-size: 11px;
  }

  .rh-live {
    padding: 3px 5px;
    font-size: 8px;
  }

  .rh-wave {
    height: 52px;
    gap: 2px;
  }

  .rh-wave i {
    width: 3px;
  }

  .rh-controls {
    display: none;
  }

  .rh-status {
    bottom: 112px;
    width: calc(100% - 30px);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .rh-logo {
    width: 180px;
    flex-basis: 180px;
  }

  .rh-hero {
    min-height: 600px;
    background-position: 72% center;
  }

  .rh-hero-inner {
    min-height: 600px;
  }

  .rh-claim {
    max-width: 310px;
    font-size: 58px;
  }

  .rh-player {
    grid-template-columns: 44px 40px minmax(0,1fr) 64px;
  }

  .rh-player-cover {
    width: 42px;
    height: 58px;
  }

  .rh-player .rh-round-button {
    width: 38px;
    height: 38px;
  }

  .rh-player-track strong {
    font-size: 13px;
  }

  .rh-player-track small {
    font-size: 10px;
  }
}


/* ==========================================================
   RADIO HARMONIE 1.3.1 – MOBILEN DOPPELPLAYER ENTFERNT
   ========================================================== */

@media (max-width: 900px) {
  /*
   * Auf Mobilgeräten bleibt ausschließlich der feststehende
   * Player am unteren Bildschirmrand sichtbar.
   */
  .rh-hero .rh-now {
    display: none !important;
  }

  /*
   * Da der Hero-Player entfällt, bleibt der Claim oben und
   * das Bild kann ohne Überlagerung dargestellt werden.
   */
  .rh-hero-inner {
    justify-content: flex-start !important;
  }

  /*
   * Der Footer-Player wird genau einmal angezeigt.
   */
  body > .rh-player,
  .rh-player {
    display: grid !important;
  }
}


/* ==========================================================
   RADIO HARMONIE 1.3.2 – MOBIL NUR HERO-PLAYER
   ========================================================== */

@media (max-width: 900px) {
  /* Den Player im Hero wieder anzeigen */
  .rh-hero .rh-now {
    display: grid !important;
  }

  .rh-hero-inner {
    justify-content: space-between !important;
  }

  /* Den feststehenden Player am unteren Bildschirmrand ausblenden */
  body > .rh-player,
  .rh-player {
    display: none !important;
  }

  /* Kein zusätzlicher Abstand für den ausgeblendeten Footer-Player */
  body {
    padding-bottom: 0 !important;
  }

  .rh-main,
  .rh-single-main {
    margin-bottom: 45px !important;
  }

  .rh-status {
    bottom: 20px !important;
  }
}


/* ==========================================================
   RADIO HARMONIE 1.3.3 – MOBIL NUR FESTER PLAYER
   ========================================================== */

@media (max-width: 900px) {
  /* Hero-Player mobil ausblenden */
  .rh-hero .rh-now {
    display: none !important;
  }

  /* Claim bleibt oben im Hero */
  .rh-hero-inner {
    justify-content: flex-start !important;
  }

  /* Fester Player unten wieder anzeigen */
  body > .rh-player,
  .rh-player {
    display: grid !important;
  }

  /* Platz für den festen Player reservieren */
  body {
    padding-bottom: 102px !important;
  }

  /* Hero mobil etwas kompakter */
  .rh-hero {
    min-height: 540px !important;
  }

  .rh-hero-inner {
    min-height: 540px !important;
  }

  /* Kompakter mobiler Footer-Player */
  .rh-player {
    left: 5px !important;
    right: 5px !important;
    bottom: 5px !important;
    height: 88px !important;
    grid-template-columns: 46px 42px minmax(0,1fr) 68px !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-radius: 13px !important;
  }

  .rh-player-cover {
    width: 44px !important;
    height: 60px !important;
  }

  .rh-player .rh-round-button {
    width: 40px !important;
    height: 40px !important;
  }

  .rh-player-track strong {
    font-size: 14px !important;
  }

  .rh-player-track small {
    font-size: 11px !important;
  }

  .rh-wave {
    height: 48px !important;
  }

  .rh-controls {
    display: none !important;
  }

  .rh-main,
  .rh-single-main {
    margin-bottom: 120px !important;
  }

  .rh-status {
    bottom: 102px !important;
  }
}

@media (max-width: 480px) {
  .rh-hero {
    min-height: 510px !important;
  }

  .rh-hero-inner {
    min-height: 510px !important;
  }

  .rh-player {
    height: 84px !important;
    grid-template-columns: 42px 38px minmax(0,1fr) 60px !important;
  }

  .rh-player-cover {
    width: 40px !important;
    height: 54px !important;
  }

  .rh-player .rh-round-button {
    width: 36px !important;
    height: 36px !important;
  }

  .rh-player-track strong {
    font-size: 13px !important;
  }

  .rh-player-track small {
    font-size: 10px !important;
  }
}

/* Subpages redesign */
body.page .rh-main,body.single .rh-single-main{max-width:980px;margin:50px auto 140px}
body.page .rh-card,body.single .rh-single-article{
background:#fff;border-radius:24px;padding:48px 56px;
box-shadow:0 20px 60px rgba(70,20,20,.08);
border:1px solid rgba(120,20,40,.08)}
body.page .rh-card h1,.rh-single-title{
font-size:clamp(2.2rem,4vw,3.4rem);
margin-bottom:.6rem;color:#3f0915}
.rh-single-header{border-bottom:1px solid #eee;padding-bottom:24px;margin-bottom:28px}
.rh-single-featured-image img{border-radius:18px}
.rh-single-content{font-size:1.12rem;line-height:1.9}
.rh-single-content h2,.rh-single-content h3{color:#5d0718;margin-top:2rem}
.rh-single-content blockquote{
background:#fff7f8;border-left:5px solid #8b0e2b;
padding:20px 24px;border-radius:12px}
body.page .rh-card a,.rh-single-content a{color:#8b0e2b;font-weight:600}
@media(max-width:768px){
body.page .rh-main,body.single .rh-single-main{margin:20px auto 110px;width:calc(100% - 20px)}
body.page .rh-card,body.single .rh-single-article{padding:24px 20px;border-radius:18px}
body.page .rh-card h1,.rh-single-title{font-size:2rem}
}


/* ==========================================================
   RADIO HARMONIE 1.5.0 – INDIVIDUELLE UNTERSEITEN
   Die Startseite wird durch diese Selektoren nicht verändert.
   ========================================================== */

.rh-service-page {
  width: min(1160px, calc(100% - 40px));
  margin: 42px auto 170px;
}

.rh-service-hero {
  min-height: 220px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 38px 44px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(239,23,76,.27), transparent 32%),
    linear-gradient(125deg, #35020a, #760a22 56%, #42030e);
  box-shadow: 0 20px 55px rgba(62,6,21,.2);
  overflow: hidden;
  position: relative;
}

.rh-service-hero::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -70px;
  bottom: -140px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255,255,255,.035),
    0 0 0 70px rgba(255,255,255,.025);
}

.rh-service-hero-icon {
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 22px;
  background: rgba(255,255,255,.09);
  position: relative;
  z-index: 2;
}

.rh-service-hero-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-service-hero > div:last-child {
  position: relative;
  z-index: 2;
}

.rh-service-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #ffdbe4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rh-service-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
}

.rh-service-hero p {
  max-width: 720px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.83);
  font-size: 18px;
  line-height: 1.5;
}

.rh-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.rh-contact-card {
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 25px;
  border: 1px solid #eadde0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 13px 36px rgba(64,8,23,.07);
}

.rh-contact-card-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--rh-red);
  background: #fff1f4;
}

.rh-contact-card-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-contact-card-label {
  display: block;
  margin-bottom: 6px;
  color: #927a80;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rh-contact-card strong {
  display: block;
  color: var(--rh-dark);
  font-size: 17px;
  line-height: 1.35;
}

.rh-contact-card p {
  margin: 7px 0 0;
  color: #62575a;
  font-size: 14px;
  line-height: 1.5;
}

.rh-contact-card a {
  color: var(--rh-red);
  text-decoration: none;
}

.rh-contact-card a:hover {
  text-decoration: underline;
}

.rh-service-content-card {
  margin-top: 24px;
  padding: 44px 48px;
  border: 1px solid #eee2e4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(64,8,23,.075);
}

.rh-service-content {
  max-width: 900px;
  font-size: 17px;
  line-height: 1.72;
  color: #2c2527;
}

.rh-service-content > :first-child {
  margin-top: 0;
}

.rh-service-content > :last-child {
  margin-bottom: 0;
}

.rh-service-content h2,
.rh-service-content h3,
.rh-service-content h4 {
  color: var(--rh-dark);
  line-height: 1.2;
}

.rh-service-content h2 {
  margin: 1.6em 0 .65em;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0e3e6;
  font-size: 28px;
}

.rh-service-content h3 {
  margin: 1.45em 0 .55em;
  font-size: 22px;
}

.rh-service-content p,
.rh-service-content ul,
.rh-service-content ol,
.rh-service-content table,
.rh-service-content blockquote {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.rh-service-content a {
  color: var(--rh-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rh-service-content strong {
  color: var(--rh-dark);
}

.rh-service-content ul,
.rh-service-content ol {
  padding-left: 1.35em;
}

.rh-service-content li {
  margin-bottom: .42em;
}

.rh-service-content blockquote {
  margin-left: 0;
  padding: 18px 22px;
  border-left: 5px solid var(--rh-red);
  border-radius: 0 12px 12px 0;
  background: #fff5f7;
}

.rh-service-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

.rh-service-content th,
.rh-service-content td {
  padding: 11px 13px;
  border: 1px solid #e9dde0;
  text-align: left;
  vertical-align: top;
}

.rh-service-content th {
  background: #fff4f6;
  color: var(--rh-dark);
}

.rh-service-note {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 20px;
  padding: 21px 24px;
  border-radius: 15px;
  color: #5b4d51;
  background: #fff3f5;
}

.rh-service-note-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: var(--rh-red);
}

.rh-service-note-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-service-note p {
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 780px) {
  .rh-service-page {
    width: calc(100% - 22px);
    margin: 22px auto 118px;
  }

  .rh-service-hero {
    min-height: 0;
    align-items: flex-start;
    gap: 17px;
    padding: 25px 20px;
    border-radius: 18px;
  }

  .rh-service-hero-icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    border-radius: 15px;
  }

  .rh-service-hero-icon svg {
    width: 34px;
    height: 34px;
  }

  .rh-service-eyebrow {
    font-size: 10px;
  }

  .rh-service-hero h1 {
    font-size: 32px;
  }

  .rh-service-hero p {
    margin-top: 8px;
    font-size: 14px;
  }

  .rh-contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 14px 0;
  }

  .rh-contact-card {
    min-height: 0;
    padding: 18px;
    border-radius: 14px;
  }

  .rh-contact-card-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .rh-contact-card-icon svg {
    width: 27px;
    height: 27px;
  }

  .rh-service-content-card {
    margin-top: 14px;
    padding: 24px 19px;
    border-radius: 16px;
  }

  .rh-service-content {
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .rh-service-content h2 {
    font-size: 23px;
  }

  .rh-service-content h3 {
    font-size: 20px;
  }

  .rh-service-content table {
    display: block;
    overflow-x: auto;
  }

  .rh-service-note {
    align-items: flex-start;
    padding: 17px;
  }
}


/* ==========================================================
   RADIO HARMONIE 1.5.1 – SCHRIFTFARBEN UNTERSEITEN
   ========================================================== */

/* Sämtliche Inhalte auf weißen Unterseiten dunkel und lesbar */
.rh-service-content-card,
.rh-service-content,
.rh-service-content p,
.rh-service-content div,
.rh-service-content span,
.rh-service-content li,
.rh-service-content td,
.rh-service-content th,
.rh-service-content address,
.rh-service-content label {
  color: #2c2527 !important;
}

/* Überschriften deutlich dunkel */
.rh-service-content h1,
.rh-service-content h2,
.rh-service-content h3,
.rh-service-content h4,
.rh-service-content h5,
.rh-service-content h6,
.rh-service-content strong,
.rh-service-content b {
  color: #39030d !important;
}

/* Links in Radio-Harmonie-Rot */
.rh-service-content a,
.rh-service-content a:visited {
  color: #8f0a28 !important;
}

.rh-service-content a:hover,
.rh-service-content a:focus {
  color: #b3133b !important;
}

/* Versehentlich inline weiß formatierte Elemente überschreiben */
.rh-service-content [style*="color: white"],
.rh-service-content [style*="color:#fff"],
.rh-service-content [style*="color: #fff"],
.rh-service-content [style*="color:#ffffff"],
.rh-service-content [style*="color: #ffffff"],
.rh-service-content .has-white-color {
  color: #2c2527 !important;
}

/* Dezente Texte dürfen grau bleiben, aber sichtbar */
.rh-service-content .has-text-color,
.rh-service-content small,
.rh-service-content .wp-block-details summary {
  color: #62575a !important;
}
