@media (max-width: 800px) {
  .site-title-extra {
    display: none;
  }
}
@media (max-width: 800px) {
  header {
    padding-right: 60px; /* Platz für Hamburger-Menü */
    padding-top: 0.5rem;
    box-sizing: border-box;
  }
  .site-title {
    font-size: 0.55rem;
    max-width: 80vw;
    word-break: break-word;
    white-space: normal;
    padding: 0 2vw 0 2vw;
    padding-right: 70px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.2;
    overflow-wrap: break-word;
  }
  }
}
/* Kleinere Überschrift für Neuste Folge */
#latest .episode-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}
/* Episodenbereich: Bild links, Inhalt rechts */
.episode-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2.5rem 0 2rem 0;
}
.episode-img {
  width: 35vw;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  object-fit: cover;
}

@media (max-width: 900px) {
  .episode-img {
    width: 160px;
    max-width: 60vw;
  }
}

@media (max-width: 600px) {
  .episode-img {
    width: 100px;
    max-width: 90vw;
  }
}
.episode-info {
  flex: 1;
}
.episode-title {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: bold;
}
.episode-short {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
}
.episode-audio {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-weight: 500;
  color: var(--accent, #2a5d8f);
  text-decoration: none;
}
.episode-audio:hover {
  text-decoration: underline;
}
.episode-desc {
  font-size: 1rem;
  color: #222;
}
@media (max-width: 700px) {
  .episode-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
  }
  .episode-img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
  }
}
/* Hamburger Menü Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: var(--accent);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* Responsive Tabelle: Im Handymodus je Spalte eigene Tabelle */
@media (max-width: 800px) {
  .team-desktop {
    display: none !important;
  }
  .team-mobile-tables {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .team-mobile {
    display: none;
  }
  .team-mobile-card {
    width: 95vw;
    max-width: 340px;
    margin: 0.8rem auto 1.2rem auto;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 0;
    border: 1px solid #e0e0c0;
    display: flex;
    flex-direction: column;
  }
  .team-mobile-header {
    background: var(--accent);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    padding: 0.8rem 1rem 0.7rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 2;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }
  .team-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .team-mobile-list li {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    color: var(--text);
    font-size: 1rem;
  }
  .team-mobile-list li:last-child {
    border-bottom: none;
  }
}
@media (min-width: 801px) {
  .team-mobile-tables {
    display: none;
  }
}

@media (max-width: 800px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 6px;
    right: 18px;
  }
  .main-nav {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 48px;
    right: 0;
    width: 180px;
    background: var(--card);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 0 0 12px 12px;
    z-index: 99;
    padding: 0.5rem 0;
    gap: 0;
  }
  .main-nav.open {
    display: flex !important;
  }
  .main-nav li {
    width: 100%;
  }
  .main-nav a {
    width: 100%;
    padding: 0.75rem 1.2rem;
    border-radius: 0;
    border-bottom: 1px solid #eee;
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
}

@media (min-width: 801px) {
  .hamburger {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    gap: 1rem;
  }
}

/* Responsive Tabelle: Spalten untereinander */
@media (max-width: 800px) {
  .table-wrapper {
    overflow-x: visible;
  }
  .team, .team thead, .team tbody, .team tr {
    display: block;
    width: 100%;
  }
  .team thead {
    display: none;
  }
  .team tr {
    margin-bottom: 1.2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 0.5rem 0.7rem;
    background: var(--surface);
  }
  .team td {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    color: var(--text);
    font-size: 1rem;
    position: relative;
  }
  .team td:last-child {
    border-bottom: none;
  }
}
html {
  background: #fffde6 !important;
}
/* Modern UI styles */
:root{
  --accent:#bea009; /* dunkles Gelb */
  --muted:#030303;
  --bg:#ffffff; /* vorherige helle Hintergrundfarbe (oben im Verlauf) */
  --card:#fefeb7; /* helles Gelb für Header und Menü, damit nichts durchscheint */
  --surface:#f9f9f9;
  --text:#000000;
  --table-header:#e6e653; /* eigenes, helleres Gelb für Tabellenkopf */
  --max-width:1100px;
  --header-height:64px;
  --nav-height:48px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

html,body{
  height:100%;
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color:var(--text);
}

body {
  background: #fffde6 !important;
}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.site-title{margin:0;color:var(--accent);font-weight:700;font-size:1.25rem;line-height:1;text-align:center}

@media (max-width: 800px) {
  .site-title {
    font-size: 1rem;
    max-width: 90vw;
    word-break: break-word;
    white-space: normal;
    padding: 0 2vw;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.2;
  }
}

/* Sticky header: solid background to avoid text bleeding through */
.site-title{margin:0;color:var(--accent);font-weight:700;font-size:1.25rem;line-height:1}

/* Sticky header: solid background to avoid text bleeding through */
/* Header geht jetzt über die gesamte Breite und hat keine transparenten Ränder mehr */
header{
  width: 100vw;
  margin: 0;
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
.site-title{margin:0;color:var(--accent);font-weight:700;font-size:1.25rem;line-height:1}

.nav-wrapper{}
.main-nav{list-style:none;padding:0;margin:0;display:flex;gap:1rem;align-items:center}
.main-nav a{color:var(--text);text-decoration:none;font-weight:600;padding:0.5rem;border-radius:8px;display:inline-flex;align-items:center;gap:0.5rem}
.main-nav a:hover{background:rgba(181, 139, 0, 0.351)}

.hero{background-image:linear-gradient(180deg,rgba(241, 248, 102, 0.45), #fffde6 90%);background-size:cover;background-position:center;display:flex;align-items:center}
.hero-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:2rem 1rem 1.5rem 1rem;
  background:linear-gradient(180deg,rgb(0),transparent)
}
.hero-title{margin:0;font-size:2rem;color:var(--text);text-align:center}
.hero-sub{color:var(--muted);margin-top:0.5rem;text-align:center}

.container{max-width:var(--max-width);margin:0 auto;padding:1rem}
/* sticky nav directly below header */
/* Menü bleibt jetzt immer oben sichtbar */
nav{
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100vw;
  z-index: 85;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--card);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  margin-bottom: 0;
}

/* keep main content visible below header+nav */
/* Damit der Inhalt nicht unter dem festen Menü verschwindet, Abstand lassen */
main{
  margin: 0;
  padding-top: calc(var(--header-height) + var(--nav-height));
}
main > section.hero { margin-top: 0 !important; }
main > section { margin-top: 0; }
.anchor-offset{scroll-margin-top:calc(var(--header-height) + var(--nav-height) + 8px)}
/* ensure anchored sections are visible under sticky header/nav */
section[id]{scroll-margin-top:calc(var(--header-height) + var(--nav-height) + 8px)}
.countdown{margin-top:1rem}

h3{color:var(--text);margin:0 0 0.5rem;font-weight:600}
p{color:var(--muted);line-height:1.6}

/* Classic table appearance with clear lines and header */
.table-wrapper{overflow:auto;margin-top:0.75rem}
.team{width:100%;min-width:480px;table-layout:fixed;border-collapse:collapse}
.team thead th{background:var(--table-header);color:#072021;font-weight:700;padding:0.75rem 0.85rem;text-align:left;border:1px solid rgba(0,0,0,0.18)}
.team th,.team td{border:1px solid rgba(0,0,0,0.06);padding:0.65rem 0.85rem}
.team tbody tr:nth-child(even){background:rgba(0,0,0,0.02)}
.team td{background:transparent;color:var(--text);word-break:break-word}

section {
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}
section + section { margin-top: 1rem; }
section.hero { margin-top: 0 !important; }
.icon{width:1.1rem;height:1.1rem;display:inline-block;vertical-align:middle;margin-right:0.5rem;color:var(--accent)}

@media (max-width:800px){
  .hero-inner{padding:2rem 1rem}
  .hero-title{font-size:1.5rem}
  .main-nav{flex-wrap:wrap}
}


