@import url("fonts/fonts.css");
/* Flexible layout with locally hosted Source fonts. */
html { height: auto; }
#wrapper { width: calc(100% - 40px); max-width: 930px; margin: 30px auto 0; }
h1.branding { position: absolute; width: 1px; height: 1px; overflow: hidden; }
a.branding { display: block; margin-left: auto; width: min(367px, 100%); }
a.branding img { position: static; width: 100%; height: auto; }
#navi { box-sizing: border-box; width: 100%; height: auto; display: flex; flex-wrap: wrap; padding: 0 12px; }
#navi > li { width: auto; margin: 0 18px 0 0; float: none; display: flex; align-items: center; }
#navi > li > a { line-height: 44px; }
#navi li ul { top: 44px; z-index: 30; }
#navi > li:last-child ul { left: auto; right: -12px; }
#navi li:focus-within > ul, #navi li.is-open > ul { display: block; }
.submenu-toggle { border: 0; background: transparent; color: white; padding: 0; margin: 0 0 0 3px; width: 26px; height: 44px; cursor: pointer; font: 16px Arial, sans-serif; }
.submenu-toggle::after { content: '\2304'; }
.submenu-toggle[aria-expanded="true"]::after { content: '\2303'; }
.menu-toggle { display: none; }
@media (min-width: 901px) {
  #navi .submenu-toggle { display: none; }
  #navi { justify-content: flex-start; column-gap: 28px; padding: 0 20px; }
  #navi > li { margin: 0; }
  #navi > li > a { font-size: 16px; white-space: nowrap; }
  #navi li ul li a { font-size: 16px; }
}
#slider { width: 100%; height: auto; }
#slider > img { display: block; width: 100%; height: auto; }
#slider h2 { left: 50.5%; top: 66%; bottom: auto; width: 48%; font-size: clamp(18px, 3.1vw, 30px); line-height: 1.1; }
#slider h3 { left: 50.5%; top: 80%; bottom: auto; width: 48%; font-size: clamp(15px, 2.3vw, 22px); line-height: 1.2; }
#startseite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
#startseite .spalte1, #startseite .spalte2, #startseite .spalte3 { width: auto; height: auto; margin: 0; float: none; }
#startseite .big, #startseite .small { width: 100%; height: auto; }
#startseite .big { aspect-ratio: 300 / 220; }
#startseite .small { aspect-ratio: 300 / 110; }
#startseite img { display: block; width: 100%; height: auto; }
#startseite a { right: 8px; }
#startseite .gross { font-size: clamp(16px, 2.3vw, 22px); line-height: 1.1; }
#startseite .klein { font-size: clamp(12px, 1.55vw, 15px); line-height: 1.2; }
#startseite > .cleardiv { display: none; }
#bildleiste_205 { display: flex; gap: 15px; width: 100%; height: auto; }
#bildleiste_205 img { display: block; float: none; margin: 0; width: 0; min-width: 0; flex: 1; height: auto; object-fit: cover; }
#bildleiste_205 img[src*="615x205"] { flex: 2.05; }
#lauftext { margin: 0 15px; overflow-wrap: break-word; }
#lauftext h2, #lauftext h3, #lauftext h4, #lauftext p, #lauftext li { max-width: 100%; box-sizing: border-box; }
#lauftext img { max-width: 100%; height: auto; }
#lauftext .buchprojekt p { max-width: calc(100% - 216px); }
#lauftext p, #lauftext li { font-size: 17px; line-height: 1.6; }
#lauftext p.disclaimer { font-size: 14px; }
form input.textfeld, form textarea, form select { box-sizing: border-box; max-width: 100%; }
.jplayer { width: 100%; }
.jplayer.mehrere { height: auto; min-height: 34px; }
.jplayer ul { display: flex; align-items: flex-start; height: auto !important; min-height: 30px; }
.jplayer li { flex: 0 0 20px; }
.jplayer li.bezeichnung { flex: 1; min-width: 0; left: 0; line-height: 1.5; padding-top: 3px; }
#footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; width: 100%; height: auto; padding: 12px 15px; box-sizing: border-box; }
#footer p { width: auto; margin: 0; }
#footer ul { position: static; height: auto; display: flex; flex-wrap: wrap; margin: 0; }
#footer li { width: auto; margin: 0; }
#footer_kante, #reflex { width: 100%; }
@media (max-width: 900px) {
  .menu-toggle { display: block; width: 100%; background: #009ee1; color: white; text-align: left; border: 0; padding: 12px 16px; margin-top: 22px; font: bold 16px Verdana, sans-serif; cursor: pointer; }
  #navi { display: block; margin-top: 0; padding: 0; }
  .navigation-ready #navi { display: none; }
  .navigation-ready #navi.is-open { display: block; }
  #navi > li { display: flex; flex-wrap: wrap; margin: 0; border-top: 1px solid rgba(255,255,255,.25); }
  #navi > li > a { flex: 1; padding: 0 16px; font-size: 16px; }
  #navi .submenu-toggle { width: 48px; margin: 0; }
  #navi li ul, #navi > li:last-child ul { position: static; box-sizing: border-box; width: 100%; margin: 0; padding: 6px 16px 12px; background: #eef8fc; }
  #navi li:hover > ul, #navi li:focus-within > ul { display: none; }
  #navi li.is-open > ul, html:not(.navigation-ready) #navi ul { display: block; }
  #navi ul li { float: none; width: auto; margin: 0; }
  #navi li ul li a { position: static; box-sizing: border-box; width: 100%; padding: 10px 12px; font-size: 16px; line-height: 1.5; }
}
/* SVG controls use the existing jPlayer events and media playback. */
.jplayer ul { gap: 6px; min-height: 48px; align-items: center; }
.jplayer li { width: 44px !important; flex-basis: 44px; margin-right: 0 !important; }
.jplayer li.bezeichnung { flex-basis: 0; padding: 0 0 0 6px; top: 0; font-size: 14px !important; }
.jplayer .jp-play, .jplayer .jp-pause, .jplayer .jp-stop { width: 44px; height: 44px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 23px; background-color: #009ee1; }
.jplayer .jp-play { background-image: url(img/player-play.svg); }
.jplayer .jp-pause { background-image: url(img/player-pause.svg); }
.jplayer .jp-stop { background-image: url(img/player-stop.svg); background-color: #71818b; }
.jplayer a:hover, .jplayer a:focus-visible { background-color: #006e9c; }
.jplayer li:has(> a[style*="display: none"]) { display: none; }
@media (max-width: 600px) {
  #wrapper { width: calc(100% - 28px); margin-top: 22px; }
  #slider { margin: 20px 0; padding-bottom: 16px; }
  #slider h2, #slider h3 { position: static; width: auto; margin: 14px 16px 0; }
  #slider h2 { font-size: 24px; line-height: 1.15; }
  #slider h3 { font-size: 18px; margin-top: 8px; }
  #startseite { grid-template-columns: 1fr; gap: 0; margin: 20px 0; }
  #startseite .gross { font-size: 24px; }
  #startseite .klein { font-size: 16px; }
  #startseite a { left: 14px; bottom: 14px; }
  #bildleiste_205 { gap: 6px; margin: 20px 0 28px; }
  #lauftext { margin: 0 5px; }
  #lauftext h2 { font-size: 24px; line-height: 1.3; }
  #lauftext h3 { font-size: 20px; }
  #lauftext .buchprojekt { height: auto; }
  #lauftext .buchprojekt p { position: static; margin-top: 12px; max-width: 100%; }
  a.pdf_button { width: auto; height: auto; min-height: 38px; }
  a.pdf_button span { position: static; display: block; padding: 8px 0 8px 51px; white-space: normal; line-height: 1.5; }
  #footer { margin-top: 28px; padding: 14px 8px; }
  #footer p, #footer a { font-size: 13px; }
}
/* Keep font assignments after the original component and mobile rules. */
body, #lauftext p, #lauftext li { font-family: 'Source Serif 4 Variable', Georgia, serif; }
#navi, #slider h2, #slider h3, #startseite a,
#lauftext h2, #lauftext h3, #lauftext h4,
#lauftext p.hinweis, #lauftext p.fehlerhinweis, #lauftext p.disclaimer,
#footer, #footer p, form label, form input, form select, form textarea,
button, .menu-toggle { font-family: 'Source Sans 3 Variable', Arial, sans-serif; }
.jplayer li.bezeichnung { font-family: 'Source Sans 3 Variable', Arial, sans-serif !important; }
