/* Buchungsweg. Schwarz-weiss wie eb-tattoo.ch — gemessen an der Live-Site:
   Grund #0b0b0b, Flaeche #151515, Tinte #ffffff, Leise #9a9a9a.
   Keine Akzentfarbe: Zustaende tragen Form (Umriss, Fuellung, Schraffur),
   nicht Farbe. Alle Bedienelemente mindestens 44 px hoch. */

.ebt {
  --ebt-grund: #0b0b0b;
  --ebt-flaeche: #151515;
  --ebt-flaeche2: #1c1c1c;
  --ebt-tinte: #ffffff;
  --ebt-leise: #9a9a9a;
  --ebt-leise2: #8a8a8a;
  --ebt-linie: rgba(255, 255, 255, .28);
  --ebt-linie2: rgba(255, 255, 255, .14);
  --ebt-r: 14px;
  --ebt-rk: 8px;
  --ebt-d: "Space Grotesk", Inter, Helvetica, Arial, sans-serif;
  --ebt-t: Inter, system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: var(--ebt-grund);
  color: var(--ebt-tinte);
  font-family: var(--ebt-t);
  font-size: 16px;
  line-height: 1.55;
  padding: 22px 18px 32px;
  border-radius: var(--ebt-r);
  max-width: 760px;
  margin: 0 auto;
  box-sizing: border-box;
  color-scheme: dark;
}
.ebt *, .ebt *::before, .ebt *::after { box-sizing: border-box; }
.ebt h2 { font-family: var(--ebt-d); font-weight: 700; letter-spacing: -.02em; font-size: 1.6rem; line-height: 1.12; margin: 0 0 8px; color: var(--ebt-tinte); }
.ebt h3 { font-family: var(--ebt-d); font-weight: 700; font-size: 1rem; margin: 0 0 10px; color: var(--ebt-tinte); }
.ebt p { margin: 0 0 10px; }
.ebt p:last-child { margin-bottom: 0; }
.ebt a { color: var(--ebt-tinte); }
.ebt .ebt-marke { font-family: var(--ebt-d); font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ebt-leise); margin: 0 0 10px; }
.ebt .ebt-unter { color: var(--ebt-leise); font-size: 14.5px; }
.ebt .ebt-klein { font-size: 13px; }
.ebt .ebt-leise { color: var(--ebt-leise); }
.ebt .ebt-leiser { color: var(--ebt-leise2); }
.ebt .ebt-mono { font-family: var(--ebt-d); font-weight: 500; font-variant-numeric: tabular-nums; }

.ebt :focus-visible { outline: 2px solid var(--ebt-tinte); outline-offset: 2px; }

/* Schrittanzeige: Striche, keine Punkte — man sieht, wie weit der Weg ist. */
.ebt-schritte { display: flex; gap: 5px; margin: 0 0 18px; }
.ebt-schritte i { display: block; height: 3px; flex: 1; background: rgba(255, 255, 255, .18); border-radius: 2px; }
.ebt-schritte i.an { background: var(--ebt-tinte); }

.ebt-karte { border: 1px solid var(--ebt-linie2); background: var(--ebt-flaeche); border-radius: var(--ebt-r); padding: 16px; margin-bottom: 12px; }
.ebt-karte.flach { background: transparent; }

.ebt-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  border: 1px solid var(--ebt-tinte); border-radius: var(--ebt-rk);
  background: transparent; color: var(--ebt-tinte);
  font-family: var(--ebt-d); font-weight: 500; font-size: 14.5px;
  cursor: pointer; text-decoration: none;
}
.ebt-knopf:hover { background: rgba(255, 255, 255, .12); }
.ebt-knopf.primaer { background: var(--ebt-tinte); color: var(--ebt-grund); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.ebt-knopf.primaer:hover { background: #e9e9e9; }
.ebt-knopf.voll { width: 100%; }
/* Ausgeschaltet: nicht blass, sondern erkennbar anders. */
.ebt-knopf[disabled] { background: rgba(255, 255, 255, .10); border-color: var(--ebt-linie2); color: var(--ebt-leise2); cursor: not-allowed; }
.ebt-reihe { display: flex; flex-wrap: wrap; gap: 8px; }

.ebt-wahl {
  display: block; width: 100%; text-align: left; min-height: 48px;
  border: 1px solid var(--ebt-linie2); background: var(--ebt-flaeche);
  border-radius: var(--ebt-r); padding: 14px 16px; margin-bottom: 10px;
  color: var(--ebt-tinte); cursor: pointer; font-family: var(--ebt-t); font-size: 15px;
}
.ebt-wahl:hover { border-color: var(--ebt-tinte); }
.ebt-wahl.an { border-color: var(--ebt-tinte); box-shadow: 0 0 0 1px var(--ebt-tinte); }
.ebt-wahl b { font-family: var(--ebt-d); font-weight: 700; font-size: 15.5px; display: block; }

/* Kalender */
.ebt-monat { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ebt-monat b { font-family: var(--ebt-d); font-size: 15px; }
.ebt-gitter { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ebt-gitter .wt { font-family: var(--ebt-d); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ebt-leise2); text-align: center; padding: 4px 0; }
.ebt-tag {
  min-height: 48px; border: 1px solid var(--ebt-linie2); border-radius: var(--ebt-rk);
  background: transparent; color: var(--ebt-tinte); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--ebt-d); font-size: 14px; padding: 2px;
}
.ebt-tag span { font-size: 10px; color: var(--ebt-leise2); line-height: 1; }
.ebt-tag:hover:not([disabled]) { border-color: var(--ebt-tinte); }
.ebt-tag.an { background: var(--ebt-tinte); color: var(--ebt-grund); }
.ebt-tag.an span { color: var(--ebt-grund); }
.ebt-tag[disabled] { color: var(--ebt-leise2); border-color: transparent; cursor: default; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255, 255, 255, .05) 4px 8px); }
.ebt-tag.leer { border: 0; background: none; cursor: default; }

/* Zeiten */
.ebt-zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 10px; }
.ebt-zeit { min-height: 48px; border: 1px solid var(--ebt-linie); border-radius: var(--ebt-rk); background: transparent; color: var(--ebt-tinte); font-family: var(--ebt-d); font-weight: 500; font-size: 15px; cursor: pointer; }
.ebt-zeit:hover { border-color: var(--ebt-tinte); background: rgba(255, 255, 255, .08); }
.ebt-zeit.an { background: var(--ebt-tinte); color: var(--ebt-grund); }

/* Felder */
.ebt-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ebt-feld.breit { grid-column: 1 / -1; }
.ebt-feld label { display: block; font-family: var(--ebt-d); font-weight: 500; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ebt-leise); margin-bottom: 6px; }
.ebt-feld input, .ebt-feld select, .ebt-feld textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px;
  border: 1px solid var(--ebt-linie); border-radius: var(--ebt-rk);
  background: rgba(255, 255, 255, .05); color: var(--ebt-tinte);
}
.ebt-feld textarea { min-height: 96px; resize: vertical; }
.ebt-feld input:focus, .ebt-feld select:focus, .ebt-feld textarea:focus { border-color: var(--ebt-tinte); outline: none; }
.ebt-feld .hin { font-size: 12px; color: var(--ebt-leise2); margin: 5px 0 0; }
.ebt-feld .fehl { font-size: 12.5px; color: var(--ebt-tinte); margin: 5px 0 0; font-weight: 500; }
.ebt-feld input.falsch, .ebt-feld select.falsch, .ebt-feld textarea.falsch { border-color: var(--ebt-tinte); border-width: 2px; }
/* Aufgeklappte Auswahllisten: Chrome nimmt sonst Weiss, weil der Hintergrund
   des Feldes halbdurchsichtig ist. */
.ebt select { -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 17px) calc(50% + 1px), calc(100% - 12px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.ebt select option { background-color: #151515; color: #fff; }

/* Die Falle fuer Skripte: unsichtbar, aber nicht display:none — das lesen
   manche Skripte aus. */
.ebt-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ebt-hinweis { border-left: 2px solid var(--ebt-linie); background: rgba(255, 255, 255, .04); padding: 12px 15px; margin: 0 0 12px; border-radius: 0 var(--ebt-rk) var(--ebt-rk) 0; font-size: 14.5px; }
.ebt-hinweis.warn { border-left: 3px dashed var(--ebt-tinte); background: rgba(255, 255, 255, .07); }
.ebt-hinweis.gut { border-left: 3px solid var(--ebt-tinte); }

.ebt-dz { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--ebt-linie2); font-size: 14.5px; }
.ebt-dz:last-child { border-bottom: 0; }
.ebt-dz > span:first-child { color: var(--ebt-leise); flex: 0 0 auto; }
.ebt-dz > span:last-child { text-align: right; overflow-wrap: anywhere; }

.ebt-pille { display: inline-block; border: 1px solid var(--ebt-linie); border-radius: 999px; padding: 3px 11px; font-family: var(--ebt-d); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.ebt-pille.voll { background: var(--ebt-tinte); color: var(--ebt-grund); }
.ebt-pille.strich { border-style: dashed; color: var(--ebt-leise); }

.ebt-laedt { color: var(--ebt-leise); font-family: var(--ebt-d); font-size: 14px; padding: 18px 0; }
.ebt-kopfreihe { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.ebt-foto { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: var(--ebt-flaeche2); border: 1px solid var(--ebt-linie2); }
.ebt-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 560px) {
  .ebt { padding: 18px 14px 26px; border-radius: 0; }
  .ebt-felder { grid-template-columns: 1fr; }
  .ebt h2 { font-size: 1.35rem; }
}
