/* Buchungsseite und Verwaltung; Farben und Schriften aus /css/marke.css, Grundlayout aus /css/style.css */
.banner { background: #b45309; color: #fff; text-align: center; padding: 6px 16px; font-size: .9rem; font-weight: 600; }
.buchen h1, .verwaltung h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 .5rem; }
.schmal { max-width: 760px; }
.leise { color: var(--muted); font-weight: 400; }
.hinweis { color: var(--muted); font-size: .92rem; margin: .5rem 0 0; }
.fehler { background: #fdecec; border: 1px solid #f3b4b4; color: #8a1c1c; padding: 12px 16px; border-radius: var(--radius); }
.meldung { background: var(--sand); border: 1px solid var(--line); padding: 12px 16px; border-radius: var(--radius); }
.versteckt { position: absolute; left: -10000px; }

.raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 40px; align-items: start; margin-top: 1.5rem; }
fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
legend { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: .8rem; padding: 0; }
legend .leise { font-family: var(--sans); font-size: .95rem; }
.felder { display: grid; gap: 14px; }
.felder.zwei { grid-template-columns: 1fr 1fr; }
label { display: grid; gap: 4px; font-size: .95rem; font-weight: 600; }
input, select, textarea { font: inherit; font-weight: 400; padding: .55em .7em; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; border-color: var(--sea); }

.extras { display: grid; gap: 8px; }
.extra { grid-template-columns: 1fr 80px; align-items: center; gap: 12px; padding: 8px 12px; background: var(--sand); border-radius: 8px; font-weight: 400; }
.extra small { display: block; color: var(--muted); font-size: .85rem; }
.extra input { text-align: center; }

.uebersicht { position: sticky; top: 80px; background: var(--sand); border-radius: var(--radius); padding: 24px; }
.uebersicht h2 { font-size: 1.4rem; margin: 0 0 1rem; }
.uebersicht .btn { width: 100%; margin-top: 1rem; }
.posten { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1rem; }
.posten td { padding: 5px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.posten td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.posten tr.summe td { font-weight: 700; color: var(--sea); border-bottom: 0; }
.posten tr.zwischen td { padding-top: 14px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 0; }
.zustimmung { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.zustimmung input { width: auto; margin-top: .3em; }

.kalender { margin-bottom: 1rem; }
.kal-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.kal-kopf button { background: none; border: 1px solid var(--line); border-radius: 999px; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; color: var(--sea); }
.kal-kopf button:disabled { opacity: .3; cursor: default; }
.kal-monate { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kal-monat h3 { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 .5rem; color: var(--ink); text-align: center; }
.kal-tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.kal-tage .wt { font-size: .75rem; color: var(--muted); padding: 2px 0; }
.kal-tag { font: inherit; font-size: .9rem; border: 0; background: #fff; border-radius: 6px; padding: 7px 0; cursor: pointer; color: var(--ink); }
.kal-tag:hover:not(:disabled) { outline: 2px solid var(--sea); }
.kal-tag:disabled { cursor: default; color: #b9c0c5; background: transparent; }
.kal-tag.belegt { background: repeating-linear-gradient(135deg, #f1e4e4, #f1e4e4 4px, #fff 4px, #fff 8px); color: #9c7b7b; text-decoration: line-through; }
.kal-tag.auswahl { background: #dbe7ee; }
.kal-tag.anreise, .kal-tag.abreise { background: var(--sea); color: #fff; font-weight: 700; }
.kal-legende { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.kal-legende span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.kal-legende .l-frei::before { background: #fff; border: 1px solid var(--line); }
.kal-legende .l-belegt::before { background: repeating-linear-gradient(135deg, #f1e4e4, #f1e4e4 3px, #fff 3px, #fff 6px); border: 1px solid #e6d3d3; }
.kal-legende .l-auswahl::before { background: var(--sea); }

.eckdaten { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 1.5rem 0; }
.eckdaten dt { color: var(--muted); }
.eckdaten dd { margin: 0; }

.liste { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 2rem; }
.liste th, .liste td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.liste th { background: var(--sand); font-weight: 600; }
.liste .zahl { text-align: right; white-space: nowrap; }
.status { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--sand); color: var(--muted); vertical-align: middle; font-family: var(--sans); }
.status-gebucht { background: #fff4d6; color: #8a6100; }
.status-bezahlt { background: #ddf1e2; color: #1e6b33; }
.status-reserviert { background: #e5eef5; color: var(--sea); }
.status-storniert, .status-verfallen { background: #f3e5e5; color: #8a1c1c; }
.verlauf { list-style: none; padding: 0; font-size: .92rem; }
.verlauf li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.verlauf time { color: var(--muted); margin-right: .6rem; font-variant-numeric: tabular-nums; }
.option { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.option input[type=radio] { width: auto; margin-top: .3em; }
input.klein { width: 90px; display: inline-block; padding: .2em .4em; }
.btn-hell { background: transparent; color: var(--sea); }
.btn-hell:hover { color: #fff; }

@media (max-width: 860px) {
  .raster { grid-template-columns: 1fr; gap: 24px; }
  .uebersicht { position: static; }
  .kal-monate { grid-template-columns: 1fr; }
  .kal-monat + .kal-monat { display: none; }
  .felder.zwei { grid-template-columns: 1fr; }
}
