@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Comic Neue';
  src: url('../fonts/ComicNeue-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --g: #17483d;
  --gd: #17483d;
  --c: #fbf7ed;
  --r: #c7272e;
  --ink: #25251f;
  --hand: "Comic Neue", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--c); color: var(--ink); font: 17px/1.65 Arial, "Helvetica Neue", sans-serif; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: auto; }
a { color: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; background: #fffaf0; border-bottom: 1px solid #ded4c4; overflow: visible; }
.nav { height: 138px; padding: 12px 0; display: flex; align-items: center; overflow: visible; }
.brand { display: flex; align-items: center; height: 100%; overflow: visible; text-decoration: none; }
.brand-logo { display: block; width: 180px; height: auto; max-height: 114px; object-fit: contain; }
.nav-links { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.nav-links a { font: 700 19px var(--hand); text-decoration: none; }
.nav-links a:hover { color: var(--r); }
.menu { display: none; margin-left: auto; border: 0; background: var(--g); color: #fff; border-radius: 50%; width: 44px; height: 44px; }

.hero { position: relative; }
.hero picture, .hero picture img { display: block; width: 100%; height: auto; }
.hero-cta { position: absolute; left: 16.3%; bottom: 15%; z-index: 3; }
.hero-cta a { display: inline-flex; background: var(--r); color: #fff; text-decoration: none; border-radius: 32px; padding: 15px 25px; font: 700 18px var(--hand); box-shadow: 0 5px 0 #891d22; }

.feature-strip { padding: 36px 0 46px; background: #fffaf0; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.feature { text-align: center; text-decoration: none; padding: 10px 24px; border-right: 1px solid #ded4c4; }
.feature:last-child { border: 0; }
.feature img { width: 92px; height: 72px; }
.feature h3, h1, h2, .aside, .footer:before { font-family: var(--hand); font-weight: 700; }
.feature h3 { font-size: 2.25rem; margin: 6px 0; }
.feature:after { content: ""; display: block; width: 74px; height: 5px; background: #197041; border-radius: 50%; margin: 13px auto; }

.intro-section { padding: 70px 0; }
.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; }
h2 { font-size: clamp(2.5rem, 4.7vw, 4.6rem); line-height: 1.08; color: var(--g); margin: .2em 0; }
.lead { font-size: 1.2rem; }
.kicker { font: bold 12px Arial; letter-spacing: .2em; text-transform: uppercase; color: var(--r); }

.story { padding: 80px 0; background: #f2e8d4; }
.story-grid { display: grid; grid-template-columns: 280px 1fr; gap: 55px; background: #fffdf7; padding: 50px; }
.aside { font-size: 1.65rem; }
.story article { font-size: 1.04rem; line-height: 1.75; }
.story article p { margin: 0 0 1.25em; line-height: 1.78; }
.drop:first-letter { float: left; font-size: 5rem; line-height: .7; color: var(--r); padding: 12px 8px 0 0; }
.quote { border-left: 5px solid var(--r); padding-left: 20px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; list-style: none; padding: 0; }
.values li { text-align: center; background: #eee2ca; padding: 9px; border-radius: 99px; }
.linked { background: #e9dec7; padding: 25px; border-radius: 20px; }
.linked a { color: var(--r); font-weight: bold; }

.tips { padding: 75px 0 100px; background: linear-gradient(#d9e6ca, #b8d0ad); }
.tip { max-width: 820px; margin: 25px auto; background: #fffdf5; border-radius: 35px; padding: 28px; display: flex; gap: 22px; align-items: center; }
.tip-icon { font-size: 40px; }
.tip button { border: 1px solid var(--g); background: #fff; border-radius: 50%; width: 42px; height: 42px; }

.footer { background: var(--gd); color: #fff; padding: 45px 0; }
.footer:before { content: "Der Schwarzwald – mehr als ein Ort. Ein Gefühl."; display: block; background: #fffaf0; color: #222; text-align: center; font-size: 1.7rem; padding: 26px; margin: -45px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer .brand-logo { max-height: none; width: 160px; }

.subhero { background: var(--g); color: #fff; padding: 75px 0; }
.content { padding: 70px 0; }
.media-grid, .podcasts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.podcasts { grid-template-columns: repeat(3, 1fr); }
.media { background: #fff; padding: 25px; border-radius: 20px; }
.podcasts iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }
.btn { display: inline-block; background: var(--r); color: #fff; padding: 12px 18px; border-radius: 99px; text-decoration: none; }
.legal { max-width: 850px; }
.notice { background: #fff1c9; border-left: 5px solid #d38f17; padding: 15px; }

@media (max-width: 880px) {
  .nav { height: 112px; padding: 10px 0; }
  .brand-logo { width: 150px; max-height: 92px; }
  .menu { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 0 22px;
    gap: 0;
    background: #fffaf0;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 10px 22px #0002;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
    min-height: 58px;
    margin: 0;
    padding: 0 15px;
    line-height: 1.2;
    text-align: center;
    border-bottom: 1px solid rgba(23, 63, 53, .13);
  }

  .nav-links a:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-right: 0; }
  .story-grid, .intro, .media-grid { grid-template-columns: 1fr; }
  .podcasts, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav { height: 96px; padding: 8px 0; }
  .brand-logo { width: 132px; max-height: 80px; }
  .nav-links { top: 96px; }
  .hero-cta { left: 50%; bottom: 4.3%; transform: translateX(-50%); width: max-content; max-width: 92%; }
  .hero-cta a { font-size: 18px; padding: 14px 19px; white-space: nowrap; }
  .feature { padding: 22px 8px; }
  .feature img { width: 72px; height: 60px; }
  .feature h3 { font-size: 1.9rem; }
  .story { padding: 50px 0; }
  .story-grid { padding: 32px 22px; }
  .values { grid-template-columns: 1fr; }
  .tip { display: grid; grid-template-columns: 1fr 42px 42px; text-align: center; }
  .tip-icon, .tip div:nth-child(2) { grid-column: 1 / 4; }
}

/* V6.8: Schluesselwerte typografisch statt wie Buttons darstellen */
.values { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 20px 0 32px; padding: 0; list-style: none; }
.values li { position: relative; background: transparent !important; border-radius: 0 !important; padding: 2px 3px 9px !important; color: var(--g); font-family: var(--hand); font-size: 1.45rem; font-weight: 700; text-align: left; white-space: nowrap; }
.values li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 4px; background: var(--r); border-radius: 50%; transform: rotate(-1.5deg); opacity: .88; }
.values li:nth-child(even)::after { transform: rotate(1deg); }

@media (max-width: 620px) {
  .values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .values li { font-size: 1.3rem; text-align: center; }
  .values li::after { left: 12%; right: 12%; }
}

/* V6.9: Vorlesefunktion fuer die Originalgeschichte */
.readaloud { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 22px 0 30px; padding: 15px 17px; background: #f1ead9; border-left: 4px solid var(--g); border-radius: 5px; font-family: Arial, "Helvetica Neue", sans-serif; }
.readaloud button { cursor: pointer; border: 0; }
.readaloud-main { background: var(--g); color: #fff; border-radius: 24px !important; padding: 11px 17px; font-weight: 700; }
.readaloud-secondary { background: transparent; color: var(--g); border: 1px solid var(--g) !important; border-radius: 20px !important; padding: 8px 13px; }
.readaloud button:disabled { opacity: .4; cursor: default; }
#read-status { font-size: .88rem; color: #5b615c; margin-left: 3px; }

@media (max-width: 620px) {
  .readaloud { justify-content: center; text-align: center; }
  .readaloud-main { width: 100%; font-size: 1rem; }
}

/* Hoeren-Seite */
.radio-logo-link { display: flex; align-items: center; justify-content: center; min-height: 145px; margin-bottom: 12px; }
.radio-logo { display: block; width: auto; max-width: 100%; max-height: 120px; }
.radio-logo.ohr { max-height: 105px; }
.media > p { text-align: center; }
.listen-intro { max-width: 900px; margin: 18px 0 0; font-size: 1.15rem; line-height: 1.65; }
.listen-intro a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.podcast-intro { max-width: 900px; margin: 0 0 24px; font-size: 1.1rem; line-height: 1.65; }
.podcast-intro a { color: var(--g); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 620px) {
  .radio-logo-link { min-height: 110px; }
  .radio-logo { max-height: 90px; }
  .radio-logo.ohr { max-height: 78px; }
  .listen-intro { font-size: 1rem; }
}

/* Datenschutz */
.legal h3 { margin-top: 2.2rem; color: var(--g); font-family: var(--hand); font-size: 1.65rem; }
.legal h4 { margin-top: 1.5rem; color: var(--g); font-size: 1.12rem; }
.legal li { margin-bottom: .65rem; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* Persönlich eingesprochene Bären-Geschichte */
.story-audio {
  margin: 22px 0 30px;
  padding: 18px 20px;
  background: #f1ead9;
  border-left: 4px solid var(--g);
  border-radius: 8px;
}

.story-audio-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.story-audio-icon {
  font-size: 2rem;
  line-height: 1;
}

.story-audio-heading strong,
.story-audio-heading span {
  display: block;
}

.story-audio-heading strong {
  color: var(--g);
  font: 700 1.3rem var(--hand);
}

.story-audio-heading span {
  margin-top: 2px;
  color: #5b615c;
  font-size: .9rem;
}

.story-audio audio {
  display: block;
  width: 100%;
  max-width: 620px;
}

@media (max-width: 620px) {
  .story-audio {
    padding: 16px;
  }

  .story-audio-heading {
    align-items: flex-start;
  }
}
