* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fdf6ec;
  color: #2c2c2c;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  background: linear-gradient(160deg, #009246 0%, #ffffff 50%, #ce2b37 100%);
  padding: 36px 20px 28px;
  text-align: center;
}

.header-vlag {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

header h1 {
  font-size: 2rem;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.intro {
  font-size: 0.97rem;
  color: #333;
  line-height: 1.55;
}

/* PAGE D'ACCUEIL — BLOCS */
#steden {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thuis-blok {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  border: 1.5px solid #e8dcc8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thuis-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-weight: 700;
  color: #aaa;
}

/* START KNOP */
.thuis-start {
  background: linear-gradient(135deg, #fff8f0, #fff);
  border-color: #f0a500;
}

.start-knop {
  width: 100%;
  padding: 16px;
  background: #f0a500;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.18s ease, transform 0.15s ease;
}

.start-knop:hover,
.start-knop:focus {
  background: #d4920a;
  transform: translateY(-2px);
  outline: none;
}

/* REISSCHEMA */
.reisschema {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: reis;
}

.reisschema li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: #2c2c2c;
  border-bottom: 1px solid #f0ebe0;
  counter-increment: reis;
}

.reisschema li:last-child {
  border-bottom: none;
}

.reisschema li::before {
  content: counter(reis);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #ce2b37;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.reis-emoji {
  font-size: 1.2rem;
}

/* PODCASTS */
.thuis-podcast {
  background: #1a1a2e;
  border-color: #3a3a5c;
}

.thuis-podcast .thuis-label {
  color: #aaa;
}

.podcast-beschikbaar {
  font-size: 0.93rem;
  color: #6fcf8a;
  font-weight: 600;
}

.podcast-binnenkort {
  font-size: 0.9rem;
  color: #888;
}

/* TIP */
.thuis-tip {
  background: #fef9ec;
  border-color: #f0e0a0;
}

.thuis-tip p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #555;
}

/* MAIN */
main {
  flex: 1;
  padding: 24px 16px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

/* KAARTEN GRID */
.kaarten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kaart {
  background: #ffffff;
  border: 2px solid #e8dcc8;
  border-radius: 14px;
  padding: 22px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  font-size: 1rem;
  font-weight: 600;
  color: #2c2c2c;
}

.kaart:hover,
.kaart:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #ce2b37;
  outline: none;
}

.kaart .emoji {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

/* DETAIL */
.verborgen {
  display: none;
}

#terug-knop {
  background: none;
  border: none;
  color: #ce2b37;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 4px 0;
  display: block;
}

#terug-knop:hover {
  text-decoration: underline;
}

.detail-kaart {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 18px;
  border: 2px solid #e8dcc8;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-kaart h2 {
  font-size: 1.6rem;
  color: #ce2b37;
}

.detail-kaart .beschrijving {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #444;
}

/* RUBRIQUES */
.rubriek {
  background: #fdf0e0;
  border-radius: 12px;
  padding: 16px;
}

.rubriek h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 10px;
}

.rubriek p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* WEETJE */
.weetje {
  background: #eef6ff;
  border-left: 4px solid #4a90d9;
}

/* WOORDEN */
.woorden-blok {
  background: #f0faf2;
  border-left: 4px solid #009246;
}

.woorden-lijst {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woorden-lijst li {
  background: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.woord-it {
  font-weight: 700;
  color: #1a1a1a;
}

.woord-sep {
  color: #bbb;
  flex-shrink: 0;
}

.woord-nl {
  color: #555;
  font-style: italic;
}

/* QUIZ */
.quiz-blok {
  background: #fef9ec;
  border-left: 4px solid #f0a500;
}

.quiz-vraag {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  color: #2c2c2c;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quiz-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: #f0a500;
  font-style: italic;
}

.quiz-antwoord {
  margin-top: 12px;
  padding: 12px;
  background: #fff8e6;
  border-radius: 8px;
  border-left: 4px solid #f0a500;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #333;
}

/* KAART KNOP */
.kaart-knop {
  display: block;
  width: 100%;
  padding: 14px;
  background: #4a90d9;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.18s ease;
}

.kaart-knop:hover,
.kaart-knop:focus {
  background: #2f72b8;
  outline: none;
}

/* AUDIO SECTIE */
.audio-sectie {
  background: #1a1a2e;
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audio-titel-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #aaa;
  font-weight: 600;
}

.audio-knoppen {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audio-knop {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #3a3a5c;
  border-radius: 10px;
  background: #2a2a45;
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.audio-knop:hover,
.audio-knop:focus {
  border-color: #f0a500;
  color: #fff;
  outline: none;
}

.audio-knop.actief-knop {
  border-color: #f0a500;
  color: #fff;
}

.audio-knop.speelt {
  background: #f0a500;
  border-color: #f0a500;
  color: #1a1a2e;
}

.audio-knop--uitgeschakeld {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #3a3a5c;
  color: #888;
}

/* "Podcast komt binnenkort" tekst in audio sectie */
.audio-geen {
  font-size: 0.88rem;
  color: #666;
  font-style: italic;
  padding: 8px 0;
}

/* GLOBALE AUDIO BALK (sticky onderaan) */
.audio-balk {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  border-top: 2px solid #f0a500;
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
  max-width: 100%;
}

.audio-balk-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.audio-balk-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #f0a500;
  font-weight: 600;
  flex-shrink: 0;
}

.audio-balk-titel {
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
}

#player {
  width: 100%;
  border-radius: 8px;
  accent-color: #f0a500;
}

/* Ruimte onderaan zodat de balk de inhoud niet bedekt */
body.audio-actief main {
  padding-bottom: 110px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 18px;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #e8dcc8;
}

/* RESPONSIVE */
@media (max-width: 360px) {
  .kaarten {
    grid-template-columns: 1fr;
  }
}
