/* ---------- Kopfleiste ---------- */
.kopf {
  background: var(--weiss);
  border-bottom: 2px solid var(--teal);
}
.kopf-innen {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  /* Normal passt alles in eine Zeile (gemessen bis 320 px). Mit größeren Textabständen (1.4.12) rücken die
     Knöpfe in die nächste Zeile, statt die Seite waagrecht scrollen zu lassen. */
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.marke {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-height: 44px;
}
.kopf-knoepfe {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
/* Oben steht nur, wohin man geht: „Anmelden“ führt in die Verwaltung der Workshop-Leitungen. */
.kopf-anmelden {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--teal);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.kopf-anmelden:hover {
  background: var(--teal-07);
  color: var(--teal);
}
.kopf-anmelden svg {
  flex: none;
}
.marke-schrift {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.01em;
}
.kopf-knoepfe .verweis {
  white-space: nowrap;
}
/* Schmale Handys (gemessen bis 360 px): Zur Startseite und Anmelden passen einzeilig neben den Schriftzug. */
@media (max-width: 420px) {
  .kopf-innen {
    padding: 12px 16px;
    gap: 8px;
  }
  .kopf-knoepfe {
    gap: 4px;
  }
  .kopf-anmelden {
    padding: 8px 4px;
    gap: 4px;
  }
  .kopf-anmelden svg {
    width: 20px;
    height: 20px;
  }
  .marke-schrift {
    font-size: 20px;
  }
}
/* Sehr schmale Handys (gemessen bei 320 px): etwas kleinere Schrift, gleiche Wörter. */
@media (max-width: 359px) {
  .kopf-innen {
    padding: 12px;
    gap: 4px;
  }
  .marke-schrift {
    font-size: 18px;
  }
  .kopf-anmelden,
  .kopf-knoepfe .verweis {
    font-size: 13px;
  }
  .kopf-anmelden svg {
    width: 18px;
    height: 18px;
  }
}

/* Badge (rund, Gold, Zahl Anthrazit) */
.plakette {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--anthrazit-auf-gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Hauptbereich ---------- */
.haupt {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 24px 48px;
}
.schirm {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.spalte {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.spalte-20 {
  gap: 20px;
}
.spalte-12 {
  gap: 12px;
}
.breit {
  flex: 999 1 600px;
}
.voll {
  width: 100%;
}
.fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
