/* ==========================================================================
   HOTEL ORBIT – DIE DREI SEITEN DES HAUSES (03.10.2026)

   Buchungen (hotel_belegung.php), Buchungsanfragen (hotel_anfragen.php) und
   Marktpreise (marktpreise.php) tragen oben dieselbe Bühne: ein Band aus
   Higgsfield rechts, vier Kennzahlen als Glas links. Die Regeln dafür
   standen bis heute inline in marktpreise.php; seit die zwei anderen Seiten
   sie auch brauchen, stehen sie hier – einmal.

   Die Bilder (assets/bilder/einrichtung/, gpt_image_2_5 21:9, freigestellt):
     marktpreise       das Band faltet sich zur Preiskurve
     buchungsanfragen  das Band dreht sich zum Zimmerschlüssel
     belegung          Bänder weben sich zum Raster aus Zimmern und Tagen
   ========================================================================== */

/* Die Bühne: das Bild der Seite (Higgsfield, assets/bilder/einrichtung/marktpreise-*) –
   ein Band, das sich zur Preiskurve faltet. Darauf die vier Kennzahlen als Glas und
   die Lage des eigenen Hauses. Die Bühne geht mit der Fassung – hell eine Karte mit
   einem Hauch Blau, dunkel die tiefe Fläche. Seit dem 03.10.2026 gilt dasselbe für
   die Bühne der Einrichtungsseiten (.ei-buehne, 06-verwaltung.css); hier steht nur
   noch, was die Hotelseiten anders legen. */
.mp-buehne { background: linear-gradient(105deg, var(--brand-surface) 0%, var(--brand-surface) 45%, var(--blau-hell) 100%); color: var(--brand-text);
    box-shadow: inset 0 0 0 1px var(--brand-border), var(--sh-1); }
.mp-buehne .ei-buehne-inhalt { max-width: 880px; }
/* Das Band bleibt rechts neben Kacheln und Lage, statt hinter ihnen durchzulaufen. */
.mp-buehne .ei-buehne-bild { background-size: 56% auto; background-position: 104% 46%;
    -webkit-mask-image: linear-gradient(to right, transparent 58%, #000 74%); mask-image: linear-gradient(to right, transparent 58%, #000 74%); }
@media (max-width: 1100px) { .mp-buehne .ei-buehne-bild { opacity: .35; } }
.mp-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.mp-kachel {
    display: flex; flex-direction: column; gap: 2px; min-width: 0;
    padding: var(--sp-3) var(--sp-4); border-radius: var(--r-ctl);
    background: color-mix(in srgb, var(--brand-bg) 62%, transparent);
    -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
    box-shadow: inset 0 0 0 1px var(--brand-border);
}
@media (prefers-reduced-transparency: reduce) {
    .mp-kachel { background: var(--brand-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.mp-kachel-wort { font-size: var(--fs-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-quiet); }
.mp-kachel b { font-family: 'IBM Plex Sans', sans-serif; font-size: var(--fs-11); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--brand-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-kachel-note { font-size: var(--fs-4); color: var(--brand-quiet); line-height: 1.35; }
.mp-kachel.ist-neu .mp-kachel-wort::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--btn-orange-text); }
@media (max-width: 900px) { .mp-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Buchungen und Buchungsanfragen: Ihre Bühne ist nur so hoch wie die Kachelreihe (168px,
   bei den Marktpreisen steht darunter noch die Lage-Bahn). Das Bild richtet sich deshalb
   nach der HÖHE, damit Schlüssel und Raster ganz im Bild stehen statt angeschnitten. */
.mp-buehne.hb-buehne .ei-buehne-bild { background-size: auto 128%; background-position: 100% 50%; }
@media (max-width: 900px) { .mp-buehne.hb-buehne .ei-buehne-bild { background-size: auto 100%; background-position: 100% 100%; } }

/* Eine Kachel darf ein Weg sein (zu den Anfragen, zur Liste darunter). */
a.mp-kachel { text-decoration: none; color: inherit; transition: box-shadow var(--t-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    a.mp-kachel:hover { box-shadow: inset 0 0 0 1px var(--blau-rand), var(--sh-1); }
}
/* Ein kurzer Balken unter der Zahl – die Auslastung als Strecke statt nur als Prozent. */
.mp-kachel-bahn { display: block; height: 4px; margin: 4px 0 2px; border-radius: 2px; background: color-mix(in srgb, var(--brand-quiet) 18%, transparent); overflow: hidden; }
.mp-kachel-bahn > span { display: block; height: 100%; border-radius: 2px; background: var(--btn-leucht); }

/* --------------------------------------------------------------------------
   BUCHUNGSANFRAGEN – eine Zeile je Anfrage

   Links der Zeitraum als Block (Anreise → Abreise, darunter die Nächte), an
   seiner Kante die Farbe der Zimmerart; in der Mitte der Gast; darunter die
   Entscheidung. Die Zeile, zu der die Startseite springt (#buchung-<id>),
   steht blau hinterlegt da, bis man woanders hinklickt.
   -------------------------------------------------------------------------- */
.hb-zeile {
    display: grid;
    grid-template-columns: 208px minmax(0, 1fr);
    gap: var(--sp-3) var(--sp-6);
    padding: var(--sp-5);
    border-bottom: 1px solid var(--brand-border);
    scroll-margin-top: 96px;
}
.hb-zeile:last-child { border-bottom: 0; }
.hb-zeile:target { background: var(--blau-hauch); box-shadow: inset 3px 0 0 var(--btn-leucht); }
.hb-zeile.ist-spaet { background: color-mix(in srgb, var(--btn-red-text) 5%, transparent); box-shadow: inset 3px 0 0 var(--btn-red-text); }
.hb-zeile.ist-vorbei .hb-tage b { color: var(--brand-quiet); }

.hb-tage {
    position: relative;
    align-self: start;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2px var(--sp-3);
    padding: var(--sp-3) var(--sp-4) var(--sp-3) calc(var(--sp-4) + 4px);
    border-radius: var(--r-ctl);
    background: var(--brand-row, var(--blau-hauch));
    box-shadow: inset 0 0 0 1px var(--brand-border);
    overflow: hidden;
}
.hb-tage::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--hb-farbe, var(--btn-blue)); }
.hb-tag { display: flex; flex-direction: column; min-width: 0; }
.hb-tag small { font-size: var(--fs-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-quiet); }
.hb-tag b { font-family: 'IBM Plex Sans', sans-serif; font-size: var(--fs-8); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--brand-titel); white-space: nowrap; }
.hb-tage > svg { width: 14px; height: 14px; color: var(--brand-faint); }
.hb-naechte { grid-column: 1 / -1; font-size: var(--fs-4); color: var(--brand-quiet); }

.hb-gast { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-1); }
.hb-gast > b { font-size: var(--fs-8); font-weight: 600; color: var(--brand-text); }
.hb-gast > span { color: var(--brand-quiet); font-size: var(--fs-6); }
.hb-gast > a { font-size: var(--fs-5); }
.hb-marken { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
/* Die Zimmerart: ein leiser Chip mit einem Punkt in ihrer Farbe – die Farbe
   selbst trägt keine Schrift mehr, also braucht sie auch keinen Kontrast. */
.hb-art-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: var(--r-pill); font-size: var(--fs-4); font-weight: 600; color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-border); background: var(--brand-surface); }
.hb-art-chip::before, .hb-punkt { content: ''; display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--hb-farbe, var(--btn-blue)); }
.hb-wege { font-size: var(--fs-5); color: var(--brand-quiet); margin-bottom: var(--sp-3); }
.hb-wunsch { margin: 0 0 var(--sp-3); padding: var(--sp-2) var(--sp-4); border-left: 2px solid var(--blau-rand); font-size: var(--fs-6); color: var(--brand-text); white-space: pre-wrap; }
.hb-vorschlag { margin-bottom: var(--sp-3); font-size: var(--fs-6); }
.hb-vorschlag b { font-variant-numeric: tabular-nums; }
.hb-grund { margin-bottom: var(--sp-3); font-size: var(--fs-5); color: var(--brand-quiet); }
.hb-aktionen { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--sp-3); }
.hb-aktionen form { margin: 0; }
.hb-aktionen details > form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-3); margin-top: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-ctl); background: var(--blau-hauch); box-shadow: inset 0 0 0 1px var(--brand-border); }
.hb-aktionen details[open] { flex-basis: 100%; }
.hb-aktionen label { font-size: var(--fs-4); font-weight: 600; color: var(--brand-quiet); }
.hb-aktionen label .form-control { margin-top: 2px; }
/* Die Wahl des Wegs beim Bestätigen: drei Zeilen untereinander, jede mit ihrem Grund. */
.hb-kanal { flex-basis: 100%; min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: var(--sp-2); }
.hb-kanal legend { float: none; width: auto; margin: 0 0 var(--sp-1); padding: 0; font-size: var(--fs-4); font-weight: 600; color: var(--brand-quiet); }
.hb-aktionen .hb-kanal-wahl { display: flex; align-items: baseline; gap: var(--sp-2); font-size: var(--fs-6); font-weight: 400; color: var(--brand-text); cursor: pointer; }
.hb-aktionen .hb-kanal-wahl b { font-weight: 600; margin-right: 4px; }
.hb-aktionen .hb-kanal-wahl.ist-zu { color: var(--brand-quiet); cursor: default; }
/* Dieselbe Wahl beim Freigeben einer Terminanfrage (anfragen.php, 03.10.2026): Dort steht sie
   im Formular der Anfrage selbst – aufgeklappt nimmt sie die ganze Zeile, die Absage rückt darunter. */
.an-freigabe { display: block; }
.an-freigabe[open] { flex-basis: 100%; padding: var(--sp-4); border-radius: var(--r-ctl); background: var(--blau-hauch); box-shadow: inset 0 0 0 1px var(--brand-border); }
.an-freigabe[open] > summary { display: none; }
.an-freigabe .hb-kanal { margin-bottom: var(--sp-3); }
@media (max-width: 700px) {
    .hb-zeile { grid-template-columns: minmax(0, 1fr); }
    .hb-tage { max-width: 260px; }
}

/* --------------------------------------------------------------------------
   BUCHUNGEN – der Belegungsplan

   Jedes Feld füllt sich von unten so weit, wie die Zimmerart an diesem Tag
   belegt ist (--hb-f, 0 bis 1): Die Tafel liest sich als Pegel, bevor man
   eine Zahl liest. Grün ist frei, Gelb füllt sich, Rot ist voll – gemischt
   aus den Zustandsfarben des Hauses, die Schrift bleibt Tinte.
   -------------------------------------------------------------------------- */
.hb-heute-zeile { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--sp-3); padding: var(--sp-3) var(--sp-5); border-bottom: 1px solid var(--brand-border); font-size: var(--fs-6); }
.hb-heute-zeile:last-child { border-bottom: 0; }
.hb-heute-zeile > span { color: var(--brand-quiet); font-size: var(--fs-5); }
.hb-heute-zeile > div { flex-basis: 100%; color: var(--brand-quiet); font-size: var(--fs-5); }
.hb-zeitraum { font-weight: 600; color: var(--brand-titel); font-variant-numeric: tabular-nums; }

.hb-plan-rahmen { overflow-x: auto; }
.hb-plan { width: 100%; border-collapse: separate; border-spacing: 2px; font-size: var(--fs-6); font-variant-numeric: tabular-nums; }
.hb-plan th, .hb-plan td { text-align: center; padding: 7px 4px; min-width: 2.8rem; }
.hb-plan thead th { font-size: var(--fs-4); font-weight: 600; color: var(--brand-quiet); border-radius: var(--r-sm); line-height: 1.3; }
.hb-plan thead th small { display: block; font-weight: 400; font-size: var(--fs-3); color: var(--brand-faint); }
.hb-plan thead th.hb-heute { color: var(--btn-leucht-tief); background: var(--blau-hell); box-shadow: inset 0 -2px 0 var(--btn-leucht); }
.hb-plan thead th.hb-heute small { color: var(--btn-leucht-tief); }
.hb-plan .hb-wochenende { opacity: .82; }
.hb-plan th.hb-art { position: sticky; left: 0; z-index: 1; text-align: left; min-width: 12rem; white-space: nowrap; padding-left: 10px; padding-right: 12px; background: var(--brand-surface); color: var(--brand-text); font-weight: 600; }
.hb-plan th.hb-art small { font-weight: 400; color: var(--brand-quiet); font-size: var(--fs-4); }
.hb-plan th.hb-art .hb-punkt { margin-right: 7px; }
.hb-plan td {
    --hb-ton: var(--btn-green);
    position: relative;
    border-radius: var(--r-sm);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    color: var(--brand-text);
    background:
        linear-gradient(to top, color-mix(in srgb, var(--hb-ton) 26%, transparent) calc(var(--hb-f, 0) * 100%), transparent 0),
        color-mix(in srgb, var(--hb-ton) 9%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hb-ton) 26%, transparent);
    cursor: default;
}
.hb-plan td.hb-teil { --hb-ton: var(--btn-orange); }
.hb-plan td.hb-voll { --hb-ton: var(--btn-red-text); font-weight: 700; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--btn-red-text) 50%, transparent); }
.hb-plan td.hb-zu {
    --hb-ton: var(--brand-quiet);
    color: var(--brand-faint);
    background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--brand-quiet) 16%, transparent) 0 4px, transparent 4px 8px);
}
.hb-plan td.hb-heute { box-shadow: inset 0 0 0 1.5px var(--btn-leucht); }
.hb-plan tfoot th, .hb-plan tfoot td { padding-top: 10px; background: none; box-shadow: none; color: var(--brand-quiet); font-weight: 500; }
.hb-plan tfoot td.hb-heute { color: var(--btn-leucht-tief); font-weight: 700; }
.hb-legende { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-4); font-size: var(--fs-4); color: var(--brand-quiet); }
.hb-legende span { display: inline-flex; align-items: center; gap: 6px; }
.hb-legende i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; --hb-ton: var(--btn-green);
    background: color-mix(in srgb, var(--hb-ton) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hb-ton) 40%, transparent); }
.hb-legende i.hb-teil { --hb-ton: var(--btn-orange); background: linear-gradient(to top, color-mix(in srgb, var(--hb-ton) 40%, transparent) 55%, color-mix(in srgb, var(--hb-ton) 10%, transparent) 0); }
.hb-legende i.hb-voll { --hb-ton: var(--btn-red-text); background: color-mix(in srgb, var(--hb-ton) 32%, transparent); }
.hb-legende i.hb-zu { --hb-ton: var(--brand-quiet); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--brand-quiet) 30%, transparent) 0 3px, transparent 3px 6px); }

/* --------------------------------------------------------------------------
   UMBAU 03.10.2026 – Buchungen, Buchungsanfragen, Marktpreise

   Fünf Vorschläge, von Marc so bestellt: der Plan rückt nach oben (flache
   Bühne, schmale Heute-Zeile), die Belegung steht als Balken mit Namen da,
   die Marktpreise zeigen ihren Verlauf, die Anfrage bündelt ihre Entscheidung
   rechts, und jede Seite hat ihr Motiv (Bett, Preiskurve, Koffer – Higgsfield).
   -------------------------------------------------------------------------- */

/* Die Bühne von Buchungen und Buchungsanfragen: nur so hoch wie die Kachelreihe. */
.mp-buehne.hb-buehne { min-height: 0; margin-bottom: var(--sp-4); padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.mp-buehne.hb-buehne .ei-buehne-bild { background-size: auto 135%; background-position: 100% 50%; }

/* „Heute ruhig": eine Zeile statt zweier leerer Karten. */
.hb-ruhig { display: flex; align-items: center; gap: var(--sp-4); margin: 0 0 var(--sp-4); padding: var(--sp-3) var(--sp-5); border-radius: var(--r-card); background: var(--brand-surface); box-shadow: inset 0 0 0 1px var(--brand-border), var(--sh-1); font-size: var(--fs-6); color: var(--brand-quiet); }
.hb-ruhig img { display: block; width: 40px; height: 40px; object-fit: contain; }
.hb-ruhig b { color: var(--brand-text); font-weight: 600; }

/* Der Plan als Balken. Drei Spalten: Zimmerart, die Tage, „frei". Die Balken
   liegen über den Tagesfeldern; ihre Lage kommt aus --s (erster Tag), --l
   (Nächte) und --spur. Die Farbe der Zimmerart trägt KEINE Schrift – sie ist
   Kante und Hauch, die Schrift bleibt Tinte (auch bei hellem Grün lesbar). */
.hb-gantt { --hb-spurhoehe: 30px; min-width: calc(190px + var(--hb-tage) * 44px + 76px); font-variant-numeric: tabular-nums; }
.hb-g-zeile { display: grid; grid-template-columns: 190px minmax(0, 1fr) 76px; align-items: stretch; border-top: 1px solid var(--brand-border); }
.hb-g-kopf, .hb-g-fuss { border-top: 0; }
.hb-g-zeile > .hb-art { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 0 7px; padding: 0 12px 0 4px; font-weight: 600; font-size: var(--fs-6); color: var(--brand-text); }
.hb-g-zeile > .hb-art small { flex-basis: 100%; padding-left: 15px; font-weight: 400; font-size: var(--fs-4); color: var(--brand-quiet); }
.hb-g-zellen { display: grid; grid-template-columns: repeat(var(--hb-tage), minmax(0, 1fr)); height: 100%; }
.hb-g-zellen > div { position: relative; border-left: 1px solid var(--brand-border); }
.hb-g-zellen > .hb-wochenende { background: color-mix(in srgb, var(--brand-quiet) 6%, transparent); }
.hb-g-zellen > .hb-heute { box-shadow: inset 2px 0 0 var(--btn-leucht); }
.hb-g-kopf .hb-g-zellen > div { display: flex; flex-direction: column; align-items: center; padding: 4px 0 8px; border-left-color: transparent; font-size: var(--fs-3); color: var(--brand-faint); line-height: 1.3; }
.hb-g-kopf .hb-g-zellen > div b { font-size: var(--fs-4); font-weight: 600; color: var(--brand-quiet); }
.hb-g-kopf .hb-g-zellen > .hb-heute { box-shadow: inset 0 -2px 0 var(--btn-leucht); background: var(--blau-hell); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.hb-g-kopf .hb-g-zellen > .hb-heute b, .hb-g-kopf .hb-g-zellen > .hb-heute small { color: var(--btn-leucht-tief); }
.hb-g-bahn { position: relative; min-height: calc(var(--hb-spuren, 1) * var(--hb-spurhoehe) + 16px); }
/* Der Stand des Tages hinter den Balken – dieselben Töne wie bisher, nur leiser. */
.hb-g-bahn .hb-teil { background: color-mix(in srgb, var(--btn-orange) 8%, transparent); }
.hb-g-bahn .hb-voll { background: color-mix(in srgb, var(--btn-red-text) 12%, transparent); }
.hb-g-bahn .hb-zu { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--brand-quiet) 16%, transparent) 0 4px, transparent 4px 8px); }
.hb-g-bahn .hb-g-zellen i { position: absolute; right: 4px; bottom: 2px; font-style: normal; font-size: var(--fs-3); color: var(--brand-quiet); }
.hb-g-bahn .hb-voll i { color: var(--btn-red-text); font-weight: 700; }
.hb-g-balken {
    position: absolute; z-index: 1;
    left: calc(var(--s) / var(--hb-tage) * 100% + 3px);
    width: calc(var(--l) / var(--hb-tage) * 100% - 6px);
    top: calc(8px + var(--spur) * var(--hb-spurhoehe));
    height: calc(var(--hb-spurhoehe) - 6px);
    display: flex; align-items: center; padding: 0 8px 0 10px;
    border-radius: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    font-size: var(--fs-4); font-weight: 600; color: var(--brand-text); text-decoration: none;
    background: color-mix(in srgb, var(--hb-farbe, var(--btn-blue)) 22%, var(--brand-surface));
    box-shadow: inset 4px 0 0 var(--hb-farbe, var(--btn-blue)), inset 0 0 0 1px color-mix(in srgb, var(--hb-farbe, var(--btn-blue)) 40%, transparent), var(--sh-1);
    transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.hb-g-balken.ist-angefragt, .hb-g-balken.ist-vorgeschlagen {
    background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--hb-farbe, var(--btn-blue)) 16%, var(--brand-surface)) 0 6px, var(--brand-surface) 6px 12px);
    font-weight: 500;
}
@media (hover: hover) and (pointer: fine) {
    .hb-g-balken:hover { transform: translateY(-1px); color: var(--brand-text); box-shadow: inset 4px 0 0 var(--hb-farbe, var(--btn-blue)), inset 0 0 0 1px var(--hb-farbe, var(--btn-blue)), var(--sh-2, var(--sh-1)); }
}
.hb-g-frei { display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding-right: 4px; font-size: var(--fs-4); color: var(--brand-quiet); white-space: nowrap; }
.hb-g-frei b { font-family: 'IBM Plex Sans', sans-serif; font-size: var(--fs-7); font-weight: 600; color: var(--brand-text); }
.hb-g-kopf .hb-g-frei { font-size: var(--fs-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hb-g-fuss .hb-art { font-weight: 500; color: var(--brand-quiet); }
.hb-g-fuss .hb-g-zellen > div { padding: 8px 0 2px; text-align: center; border-left-color: transparent; font-size: var(--fs-5); color: var(--brand-quiet); }
.hb-g-fuss .hb-g-zellen > .hb-heute { box-shadow: none; color: var(--btn-leucht-tief); font-weight: 700; }
.hb-legende i.hb-balken-probe { width: 22px; border-radius: 4px; background: color-mix(in srgb, var(--btn-blue) 22%, var(--brand-surface)); box-shadow: inset 3px 0 0 var(--btn-blue), inset 0 0 0 1px color-mix(in srgb, var(--btn-blue) 40%, transparent); }
.hb-legende i.hb-balken-probe.ist-angefragt { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--btn-blue) 18%, var(--brand-surface)) 0 4px, var(--brand-surface) 4px 8px); }
@media (prefers-reduced-motion: reduce) { .hb-g-balken { transition: none; } }

/* Buchungsanfragen: die Entscheidung steht rechts neben dem Gast, nicht unter ihm.
   Aufgeklappt nimmt ein Schritt die ganze Breite der Zeile. */
.hb-zeile.hat-aktionen { grid-template-columns: 208px minmax(0, 1fr) minmax(190px, auto); }
.hb-zeile.hat-aktionen > .hb-aktionen { align-self: start; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: var(--sp-2); }
.hb-zeile.hat-aktionen > .hb-aktionen > details > summary { display: flex; justify-content: center; }
.hb-zeile.hat-aktionen > .hb-aktionen:has(details[open]) { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.hb-zeile.hat-aktionen > .hb-aktionen:has(details[open]) > details > summary { display: inline-flex; }
@media (max-width: 900px) { .hb-zeile.hat-aktionen { grid-template-columns: minmax(0, 1fr); } }
/* Woher die Anfrage kam, und der Wunsch des Gastes als das, was man zuerst liest. */
.hb-herkunft { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: var(--r-pill); font-size: var(--fs-4); font-weight: 600; color: var(--btn-leucht-tief); background: var(--blau-hell); }
.hb-herkunft svg { width: 12px; height: 12px; }
.hb-wunsch { padding: var(--sp-2) var(--sp-4); border-left: 0; border-radius: var(--r-ctl); background: color-mix(in srgb, var(--btn-orange) 9%, transparent); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--btn-orange) 55%, transparent); }
/* Die Zahl an einem Reiter, der nichts verlangt, ist Bericht (Blaugrau), kein Alarm. */
.ml-count.ist-still { background: color-mix(in srgb, var(--brand-quiet) 16%, transparent); color: var(--brand-quiet); }

/* Marktpreise: der Verlauf. Drei Linien – Ihr Haus, das Mittel im Umkreis, der günstigste Nachbar. */
.mp-verlauf svg { display: block; width: 100%; height: auto; }
.mp-verlauf .mp-v-gitter { stroke: var(--brand-border); stroke-width: 1; }
.mp-verlauf text { fill: var(--brand-quiet); font-size: 11px; font-variant-numeric: tabular-nums; }
.mp-verlauf .mp-v-mittel { fill: none; stroke: var(--brand-quiet); stroke-width: 2; stroke-dasharray: 6 5; }
.mp-verlauf .mp-v-tief { fill: none; stroke: var(--btn-green); stroke-width: 2.5; }
.mp-verlauf .mp-v-eigen { fill: none; stroke: var(--btn-leucht); stroke-width: 4; stroke-linecap: round; }
.mp-verlauf .mp-v-band { fill: var(--btn-leucht); opacity: .07; }
.mp-verlauf .mp-v-wort { fill: var(--btn-leucht-tief); font-weight: 700; font-size: 12px; }
.mp-verlauf-legende { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-2); font-size: var(--fs-4); color: var(--brand-quiet); }
.mp-verlauf-legende i { display: inline-block; width: 18px; height: 3px; margin-right: 6px; border-radius: 2px; vertical-align: middle; background: var(--brand-quiet); }
.mp-verlauf-legende .ist-eigen i { background: var(--btn-leucht); height: 4px; }
.mp-verlauf-legende .ist-tief i { background: var(--btn-green); }
.mp-abstand.ist-gut { color: var(--btn-green); }
.mp-abstand.ist-teuer { color: var(--btn-red-text); }
.mp-abstand small { display: block; font-weight: 400; font-size: var(--fs-3); color: var(--brand-quiet); }
