:root {
  --dunkelblau: #a3720a;
  --gold: #ffd700;
  --gold-dunkel: #a3720a;
  --schwarz: #111111;
  --weiss: #ffffff;
  --hellgrau: #fffdf3;
  --grau-rand: #e0c25e;
  --gruen: #a3720a;
  --gruen-hover: #7a5507;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--schwarz);
  background: var(--hellgrau);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

header.kopf {
  background: var(--dunkelblau);
  color: var(--weiss);
  padding: 28px 20px;
  text-align: center;
}

header.kopf h1 {
  margin: 0;
  font-size: 32px;
}

h2 {
  color: var(--dunkelblau);
  font-size: 28px;
  border-bottom: 3px solid var(--dunkelblau);
  padding-bottom: 8px;
  margin-top: 40px;
}

.unter-ueberschrift {
  color: var(--dunkelblau);
  font-size: 22px;
  margin: 28px 0 4px;
}

.optional-hinweis {
  font-size: 16px;
  font-weight: normal;
  color: #555;
}

.schritt-nummer {
  display: inline-block;
  background: var(--dunkelblau);
  color: var(--weiss);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-align: center;
  line-height: 44px;
  font-weight: bold;
  margin-right: 12px;
}

/* Einleitung */
.einleitung {
  background: #fff6d9;
  border: 3px solid var(--grau-rand);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 20px;
  color: var(--schwarz);
  margin: 0;
}

/* Namensauswahl */
.versteckt {
  display: none !important;
}

.gespeicherte-auswahl {
  background: #fff6d9;
  border: 3px solid var(--dunkelblau);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 30px;
}

.gespeicherte-auswahl-titel {
  font-weight: bold;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--dunkelblau);
}

.gespeicherte-auswahl-text {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 16px;
  white-space: pre-line;
}

.filter-eingabe {
  width: 100%;
  font-size: 22px;
  padding: 14px;
  border: 3px solid var(--dunkelblau);
  border-radius: 10px;
  background: var(--weiss);
  color: var(--schwarz);
  margin-bottom: 16px;
}

.person-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding: 4px;
}

.person-knopf {
  display: block;
  width: 100%;
  min-height: 60px;
  font-size: 22px;
  font-weight: bold;
  text-align: left;
  padding: 12px 20px;
  border: 3px solid var(--grau-rand);
  border-radius: 12px;
  background: var(--weiss);
  color: var(--schwarz);
  cursor: pointer;
}

.person-knopf:hover, .person-knopf:focus {
  border-color: var(--dunkelblau);
  background: #fff6d9;
}

.name-hinzufuegen {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 3px dashed var(--grau-rand);
}

.name-hinzufuegen-hinweis {
  font-size: 20px;
  margin: 0 0 10px;
  color: #333;
}

.name-hinzufuegen-zeile {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.name-hinzufuegen-zeile .filter-eingabe {
  flex: 1;
  min-width: 220px;
  margin-bottom: 0;
}

.btn-klein-gross {
  min-height: 60px;
  font-size: 20px;
  padding: 8px 24px;
}

.person-bestaetigt {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #e6f4ea;
  border: 3px solid var(--gruen);
  color: #0d3d17;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 22px;
}

.btn-klein {
  font-size: 18px;
  font-weight: bold;
  padding: 8px 18px;
  border: 3px solid var(--dunkelblau);
  border-radius: 10px;
  background: var(--weiss);
  color: var(--dunkelblau);
  cursor: pointer;
}

.btn-klein:hover {
  background: #fff6d9;
}

/* Bestätigungs-Modal */
.modal-ueberlagerung {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-box {
  background: var(--weiss);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-text {
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 28px;
  color: var(--schwarz);
  white-space: pre-line;
}

.modal-aktionen {
  display: flex;
  gap: 16px;
}

.btn-modal {
  flex: 1;
  min-height: 64px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.btn-modal-ja {
  background: var(--gruen);
  color: var(--weiss);
}

.btn-modal-ja:hover {
  background: var(--gruen-hover);
}

.btn-modal-nein {
  background: var(--hellgrau);
  border: 3px solid var(--grau-rand);
  color: var(--schwarz);
}

.btn-modal-nein:hover {
  background: #e5e0c8;
}

/* Gerichte als große Kacheln */
.gerichte-liste {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.gericht-kachel {
  display: block;
  border: 3px solid var(--grau-rand);
  border-radius: 12px;
  background: var(--weiss);
  padding: 18px 20px;
  cursor: pointer;
}

.gericht-kachel:has(input:checked) {
  border-color: var(--dunkelblau);
  background: #fff6d9;
}

.gericht-kachel input[type="radio"] {
  width: 28px;
  height: 28px;
  margin-right: 16px;
  vertical-align: middle;
}

.gericht-name {
  font-weight: bold;
  font-size: 24px;
  color: var(--dunkelblau);
}

.gericht-beschreibung {
  font-size: 19px;
  color: #333;
  margin: 6px 0 0 44px;
}

.gericht-preis {
  font-size: 19px;
  font-weight: bold;
  margin-left: 44px;
  color: #333;
}

/* Buttons */
.btn-gross {
  display: block;
  width: 100%;
  min-height: 70px;
  font-size: 28px;
  font-weight: bold;
  color: var(--weiss);
  background: var(--gruen);
  border: none;
  border-radius: 12px;
  margin-top: 36px;
  cursor: pointer;
}

.btn-gross:hover, .btn-gross:focus {
  background: var(--gruen-hover);
}

.btn-gross:disabled {
  background: #9aa5b1;
  cursor: not-allowed;
}

/* Bestätigung */
.bestaetigung {
  display: none;
  background: #e6f4ea;
  border: 3px solid var(--gruen);
  color: #0d3d17;
  border-radius: 12px;
  padding: 28px;
  font-size: 26px;
  text-align: center;
  margin-top: 30px;
}

.fehler {
  display: none;
  background: #fdecec;
  border: 3px solid #b3261e;
  color: #7a1a15;
  border-radius: 12px;
  padding: 20px;
  font-size: 22px;
  text-align: center;
  margin-top: 20px;
}

a.admin-link {
  display: block;
  text-align: center;
  margin-top: 40px;
  color: #555;
  font-size: 16px;
}
