/* ==========================================================
   Krallerhof · Hotelzentrale
   Eigenes Design – gilt nur fuer das Krallerhof-Dashboard.
   Lavendel #8D87EC wie krallerhof.com, duenne breite Grotesk.
   Schriften selbst gehostet (Space Grotesk, Manrope – SIL OFL).
   ========================================================== */

@font-face { font-family: 'Space Grotesk'; src: url('fonts/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
    --ink: #24223f;
    --muted: #5f5c7c;
    --line: #e2e0f0;
    --green: #5d57c9;
    --nav: #24223f;
    --bg: #f4f3fb;
    --paper: #fff;
    --lime: #8d87ec;
    --lav: #8d87ec;
    --lav-deep: #7d76e3;
    --money: #8d7245;
    --serif: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    --sans: Manrope, 'Segoe UI', system-ui, sans-serif;
    --side: 232px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Seitenleiste ---------- */
.hm-sidebar { width: var(--side); position: fixed; inset: 0 auto 0 0; background: var(--nav); color: #cbc8e3; z-index: 40; display: flex; flex-direction: column; }
.hm-brand { display: block; color: #dddbef; padding: 26px 22px 22px; text-align: center; border-bottom: 1px solid #3f3c58; }
.hm-brand img { width: 135px; height: 77px; object-fit: contain; filter: brightness(0) invert(1); opacity: .96; margin: 0 auto; }
.hm-brand span { font-size: 9px; letter-spacing: 2.7px; display: block; margin-top: 17px; text-transform: uppercase; }
.hm-sidebar nav { padding: 14px 12px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #514c7c transparent; }
.hm-sidebar details { margin-bottom: 10px; }
.hm-sidebar summary { cursor: pointer; font-size: 10px; letter-spacing: 1.7px; text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; color: #a7a3c7; list-style: none; padding: 11px 9px; }
.hm-sidebar summary::-webkit-details-marker { display: none; }
.hm-sidebar summary svg { transition: transform .15s; }
.hm-sidebar details:not([open]) summary svg { transform: rotate(-90deg); }
.hm-nav { width: 100%; display: flex; gap: 10px; align-items: center; color: #c6c4df; font-size: 13px; padding: 10px; border-radius: 3px; margin: 2px 0; min-height: 38px; transition: background .15s; }
.hm-nav:hover { background: #373453; color: #fff; }
.hm-nav.hm-active { background: var(--lime); color: #231f45; }
.hm-nav span { flex: 1; }
.hm-nav.is-soon { color: #9a96bb; }
.hm-nav.is-soon.hm-active { color: #231f45; }
.hm-nav em { width: 5px; height: 5px; border-radius: 50%; background: #55507e; }
.hm-nav.hm-active em { background: #7b74b7; }
.hm-side-footer { border-top: 1px solid #403c5d; display: flex; align-items: center; gap: 10px; padding: 17px 14px; }
.hm-side-footer strong { display: block; font-size: 12px; font-weight: 500; color: #d6d4ec; }
.hm-side-footer small { display: block; font-size: 10px; margin-top: 3px; color: #a9a5c9; }
.hm-side-footer > svg { margin-left: auto; color: #cfcce7; }

.hm-nav-group { margin-bottom: 18px; }
.hm-nav-label { display: block; font-size: 10px; letter-spacing: 1.7px; text-transform: uppercase; color: #a7a3c7; padding: 11px 9px 7px; }

/* ---------- Reiter ---------- */
.hm-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; margin: -8px 0 24px; white-space: nowrap; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.hm-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 13px; color: #4b4676; }
.hm-tabs a:hover { color: var(--ink); background: #e2e0f8; border-radius: 3px 5px 0 0; }
.hm-tabs a.selected { border-color: #3e349a; color: #261f65; background: #dfdcf9; border-radius: 3px 5px 0 0; }
.hm-tabs a.is-soon { color: #8681ac; }
.hm-tabs em { font-style: normal; font-size: 9px; letter-spacing: .4px; color: #8681ae; border: 1px solid #d0cde8; border-radius: 4px; padding: 1px 5px; }

/* ---------- Arbeitsbereich ---------- */
.hm-workspace { margin-left: var(--side); min-width: 0; }
.hm-topbar { height: 68px; border-bottom: 1px solid var(--line); padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: #fff; gap: 15px; position: sticky; top: 0; z-index: 30; }
.hm-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hm-between { justify-content: space-between; }
.hm-wrap { flex-wrap: wrap; }
.hm-breadcrumb { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-breadcrumb span { margin: 0 12px; color: #9f9bc2; }
.hm-breadcrumb b { font-weight: 500; color: var(--ink); }
.hm-breadcrumb b.hm-crumb-parent { font-weight: 400; color: var(--muted); }
.hm-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 3px; }
.hm-icon:hover { background: #e5e3f7; }
.hm-user { display: flex; align-items: center; gap: 9px; padding: 4px 0 4px 8px; font-size: 13px; position: relative; }
.hm-user > span { width: 31px; height: 31px; background: #ede8de; border-radius: 50%; font-size: 11px; display: grid; place-items: center; }
.hm-user-menu { position: relative; }
.hm-user-menu summary { list-style: none; cursor: pointer; }
.hm-user-menu summary::-webkit-details-marker { display: none; }
.hm-user-menu .hm-dropdown { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 12px 30px #26371f1f; min-width: 210px; padding: 6px; z-index: 50; }
.hm-dropdown small { display: block; padding: 8px 10px; color: var(--muted); font-size: 11px; border-bottom: 1px solid #e4e2f6; margin-bottom: 4px; }
.hm-dropdown button { width: 100%; display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 3px; font-size: 13px; text-align: left; }
.hm-dropdown button:hover { background: #e8e6fa; }
.hm-menu { display: none; }
.hm-main { padding: 31px 32px 0; max-width: 1920px; margin: auto; min-height: calc(100vh - 68px); }

/* ---------- Seitenkopf ---------- */
.hm-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 28px; }
.hm-eyebrow { font-size: 9px; letter-spacing: 1.85px; font-weight: 600; color: #534f7f; display: block; text-transform: uppercase; }
.hm-heading h1 { font-family: var(--serif); font-size: 39px; letter-spacing: -.6px; font-weight: 400; line-height: 1.16; margin: 10px 0 9px; }
.hm-heading p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.hm-heading-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 13px; flex-shrink: 0; }
.hm-day { font-size: 11px; display: flex; align-items: center; gap: 7px; color: #656188; }

/* ---------- Bausteine ---------- */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1px solid #cdcae4; border-radius: 3px; min-height: 37px; padding: 9px 12px; font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background .15s; }
.hm-btn:hover { background: #e5e3f8; border-color: #9994c2; }
.hm-btn.hm-primary { background: #2c284b; border-color: #2c284b; color: #fff; }
.hm-btn.hm-primary:hover { background: #3c3766; }
.hm-btn.hm-small { padding: 7px 9px; min-height: 30px; font-size: 11px; }
.hm-badge { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #d6d4e9; background: #ebe9f8; color: #4d487f; border-radius: 4px; font-size: 10px; line-height: 1.2; padding: 4px 7px; white-space: nowrap; font-weight: 500; }
.hm-badge.green { background: #dddaf8; border-color: #ccc8ec; color: #352f6e; }
.hm-badge.blue { background: #edf2f6; border-color: #dce6ec; color: #476674; }
.hm-badge.amber { background: #f8f0e1; border-color: #eadbbd; color: #8c6634; }
.hm-badge.red { background: #f9eee8; border-color: #ecd2c5; color: #995e44; }
.hm-badge.outline { font-size: 9px; letter-spacing: 1px; background: #f6f5fd; color: #575284; padding: 5px 9px; text-transform: uppercase; }
.hm-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #5a51ab; box-shadow: 0 0 0 3px #7f986426; }

.hm-stats { display: grid; gap: 16px; margin-bottom: 23px; }
.hm-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-stat { border: 1px solid var(--line); border-radius: 3px; background: #fff; padding: 17px 20px; min-width: 0; }
.hm-stat > .hm-row { justify-content: space-between; }
.hm-stat > .hm-row span, .hm-stat > span { font-size: 12px; color: #5a5680; }
.hm-stat svg { color: #6b64a6; }
.hm-stat > strong { font-size: 31px; font-weight: 400; line-height: 1.15; display: block; margin: 12px 0 7px; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.hm-stat > small { display: block; font-size: 10px; color: #67638a; }

.hm-panel { border: 1px solid var(--line); border-radius: 3px; background: #fff; overflow: hidden; min-width: 0; margin-bottom: 22px; }
.hm-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 22px; border-bottom: 1px solid #e4e2f5; }
.hm-panel-head h2 { font-size: 16px; font-weight: 500; line-height: 1.3; }
.hm-panel-head p { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.hm-pad { padding: 21px 22px; }
.hm-pad > p, .hm-prose p { font-size: 13px; line-height: 1.75; color: #575284; }
.hm-prose p + p { margin-top: 12px; }
.hm-note { display: flex; align-items: flex-start; gap: 11px; background: #e0def5; border: 1px solid #d5d3ec; border-radius: 3px; padding: 13px 16px; font-size: 12px; line-height: 1.6; color: #4b457d; margin: 0 0 22px; }
.hm-note svg { margin-top: 2px; }
.hm-note.amber { background: #fbf5ea; border-color: #eee1c6; color: #8c6634; }
.hm-error { border: 1px solid #eccbb6; background: #fbefe5; color: #9d5e34; border-radius: 3px; padding: 13px 16px; font-size: 12px; line-height: 1.55; margin-bottom: 22px; }
.hm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-grid-side { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }

.hm-table-wrap { overflow: auto; max-width: 100%; }
.hm-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.hm-table th { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: #6d689a; background: #f6f5fd; padding: 13px 19px; border-bottom: 1px solid #dcdaef; font-weight: 500; white-space: nowrap; }
.hm-table td { padding: 15px 19px; border-bottom: 1px solid #e4e2f5; vertical-align: middle; }
.hm-table tr:last-child td { border-bottom: 0; }
.hm-table tr:hover td { background: #f6f5fd; }
.hm-table td small { display: block; font-size: 10px; color: #706c99; margin-top: 4px; }
.hm-table td strong { font-weight: 500; font-size: 13px; }
.hm-num { text-align: right; white-space: nowrap; }
.hm-money { color: var(--money); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-muted { color: var(--muted); }
.hm-empty { padding: 43px 22px; text-align: center; color: #7e79a8; display: flex; align-items: center; flex-direction: column; gap: 13px; font-size: 13px; }

.hm-list > a, .hm-list > div { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 21px; border-bottom: 1px solid #e3e1f5; font-size: 13px; }
.hm-list > a:last-child, .hm-list > div:last-child { border: 0; }
.hm-list > a:hover { background: #eeecfd; }
.hm-list > * > span:not(.hm-list-icon):not(.hm-badge) { flex: 1; min-width: 0; }
.hm-list strong { display: block; font-size: 13px; font-weight: 500; }
.hm-list small { display: block; font-size: 11px; color: #76719f; margin-top: 4px; }
.hm-list-icon { width: 31px; height: 31px; border-radius: 3px; background: #e1dff7; display: grid; place-items: center; color: #625aac; flex-shrink: 0; }
.hm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-chip { display: inline-flex; align-items: center; gap: 7px; background: #e8e6fa; border: 1px solid #d3d0ef; border-radius: 20px; padding: 6px 12px; font-size: 11px; color: #383270; }
.hm-chip b { font-weight: 500; color: var(--money); }

.hm-facts { padding: 7px 22px; }
.hm-facts > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; font-size: 12px; padding: 14px 0; border-bottom: 1px solid #dbd8f4; color: #76719d; }
.hm-facts > div:last-child { border-bottom: 0; }
.hm-facts strong { font-size: 12px; color: #3c3766; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.hm-facts a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hm-overview-hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 290px; overflow: hidden; border-radius: 3px; background: #dad7f2; border: 1px solid #cecaed; margin-bottom: 23px; }
.hm-overview-hero > div { padding: 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hm-overview-hero h2 { font-family: var(--serif); font-size: 35px; line-height: 1.17; font-weight: 400; margin: 13px 0; }
.hm-overview-hero p { font-size: 12px; max-width: 430px; color: #5a5491; line-height: 1.8; margin-bottom: 19px; }
.hm-overview-hero > img { width: 100%; height: 100%; max-height: 335px; object-fit: cover; }
.hm-overview-hero > .hm-flow, .hm-flow { display: flex; flex-direction: row; align-items: center; gap: 14px; justify-self: end; align-self: center; padding: 34px; }
.hm-flow > div { width: 90px; height: 84px; background: #fff; border: 1px solid #cecaed; border-radius: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; font-size: 10px; color: #4f4988; }
.hm-flow svg { color: #625aac; }

/* ---------- Naechte (Balken) ---------- */
.hm-occupancy-bars { display: flex; gap: 22px; padding: 27px 35px; justify-content: space-between; }
.hm-occupancy-bars > a { flex: 1; display: flex; align-items: center; flex-direction: column; }
.hm-occupancy-bars > a > strong { font-size: 17px; font-weight: 400; color: #473f94; margin-bottom: 9px; min-height: 24px; }
.hm-occupancy-bars > a > div { height: 95px; width: 60%; max-width: 90px; background: #e2e0fa; border-radius: 3px; position: relative; overflow: hidden; }
.hm-occupancy-bars i { position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: #867dd8; border-radius: 3px; transition: height .5s ease; }
.hm-occupancy-bars > a:hover i { background: #7066ca; }
.hm-occupancy-bars span { margin-top: 10px; font-size: 12px; }
.hm-occupancy-bars small { font-size: 10px; color: #7872ab; margin-top: 3px; }
.hm-occupancy-bars .is-loading > div { background: linear-gradient(90deg, #e2e0fa 0%, #efedfd 50%, #e2e0fa 100%); background-size: 200% 100%; animation: hm-shimmer 1.2s infinite; }
@keyframes hm-shimmer { to { background-position: -200% 0; } }

/* ---------- Zimmer ---------- */
.hm-room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.hm-room-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.hm-room-card > img, .hm-room-card > .hm-img-empty { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e4e2f6; }
.hm-img-empty { display: grid; place-items: center; color: #9e99c7; }
.hm-room-card > div { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hm-room-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; }
.hm-room-card p { font-size: 12px; color: #706c99; line-height: 1.6; }
.hm-room-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: #5a5680; padding: 11px 0; border-top: 1px solid #e4e2f6; border-bottom: 1px solid #e4e2f6; margin-top: auto; }
.hm-room-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hm-room-meta svg { color: #6f68ac; }
.hm-room-price { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: #69639c; }
.hm-room-price strong { font-size: 18px; font-weight: 400; color: var(--money); }

/* ---------- Angebote ---------- */
.hm-offer { display: grid; grid-template-columns: 240px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 3px; background: #fff; overflow: hidden; margin-bottom: 16px; }
.hm-offer > img, .hm-offer > .hm-img-empty { width: 100%; height: 100%; min-height: 180px; object-fit: cover; background: #e4e2f6; }
.hm-offer > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.hm-offer h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; }
.hm-offer p { font-size: 12px; color: #666193; line-height: 1.7; }
.hm-offer ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: 12px; color: #383270; }
.hm-offer li { display: flex; gap: 7px; align-items: flex-start; }
.hm-offer li svg { color: #6259b6; margin-top: 2px; }

/* ---------- Spa ---------- */
.hm-spa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; }
.hm-spa-slot { border: 1px solid #c6c2ee; border-radius: 3px; background: #eeecfd; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.hm-spa-slot > .hm-row { justify-content: space-between; align-items: flex-start; }
.hm-spa-slot strong { font-size: 13px; font-weight: 500; line-height: 1.35; }
.hm-spa-slot b { font-size: 13px; color: #382f86; font-weight: 500; white-space: nowrap; }
.hm-spa-slot p { font-size: 11px; color: #6a6596; line-height: 1.6; }
.hm-spa-slot small { font-size: 10px; color: #7872a8; }

/* ---------- Formulare ---------- */
.hm-formgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; padding: 20px 22px; }
.hm-field { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: #514b88; min-width: 0; }
.hm-field > input, .hm-field > select { width: 100%; font-size: 13px; padding: 10px 11px; border: 1px solid #c9c5e8; border-radius: 3px; background: #fff; color: #302b58; min-height: 39px; }
.hm-field > input:focus, .hm-field > select:focus { outline: 2px solid #a7a1e2; outline-offset: 0; border-color: #827ac9; }
.hm-checkbox { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4f4988; cursor: pointer; }
.hm-checkbox input { width: 15px; height: 15px; margin: 0; accent-color: #483caf; }
.hm-errors { margin: 0 22px 18px; }

/* ---------- Geplante Bereiche ---------- */
.hm-planned { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid #cecaed; border-radius: 3px; overflow: hidden; background: #dad7f2; margin-bottom: 23px; }
.hm-planned > div { padding: 34px; }
.hm-planned h2 { font-family: var(--serif); font-size: 33px; line-height: 1.17; font-weight: 400; margin: 13px 0; }
.hm-planned p { font-size: 13px; color: #5a5491; line-height: 1.8; }
.hm-planned ul { list-style: none; margin: 0; padding: 34px; background: #e9e7fc; display: flex; flex-direction: column; gap: 14px; font-size: 13px; color: #3c3766; }
.hm-planned li { display: flex; gap: 10px; align-items: flex-start; }
.hm-planned li svg { color: #6259b6; margin-top: 2px; }

/* ---------- KI-Wissen ---------- */
.hm-knowledge details { border-bottom: 1px solid #e4e2f5; }
.hm-knowledge details:last-child { border-bottom: 0; }
.hm-knowledge summary { cursor: pointer; list-style: none; padding: 16px 22px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.hm-knowledge summary::-webkit-details-marker { display: none; }
.hm-knowledge summary svg:last-child { margin-left: auto; color: #827db3; transition: transform .15s; }
.hm-knowledge details[open] summary svg:last-child { transform: rotate(180deg); }
.hm-knowledge details > div { padding: 0 22px 18px 51px; font-size: 13px; color: #575284; line-height: 1.75; white-space: pre-line; }

/* ---------- Login ---------- */
.hm-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 520px); }
.hm-login-art { position: relative; background: var(--nav) center / cover no-repeat; display: flex; flex-direction: column; justify-content: space-between; padding: 44px; color: #e4e2f6; }
.hm-login-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #2b2a3ccc 0%, #2b2a3c55 45%, #2b2a3cdd 100%); }
.hm-login-art > * { position: relative; }
.hm-login-art img { width: 150px; filter: brightness(0) invert(1); }
.hm-login-art h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.15; max-width: 520px; }
.hm-login-art p { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; margin-top: 16px; color: #c8c5e2; }
.hm-login-form { display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; background: #fff; }
.hm-login-form h1 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 12px 0 6px; }
.hm-login-form > p { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.hm-login-form form { display: flex; flex-direction: column; gap: 16px; }
.hm-login-form .hm-btn { min-height: 44px; font-size: 13px; }

.hm-footer { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #7f7aae; padding: 26px 0 22px; margin-top: 20px; border-top: 1px solid #d2cfed; }
.hm-scrim { display: none; }

/* ---------- Responsiv ---------- */
@media (min-width: 1600px) {
    .hm-main { padding-left: 40px; padding-right: 40px; }
    .hm-heading h1 { font-size: 43px; }
    .hm-stat > strong { font-size: 35px; }
    .hm-room-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1280px) {
    :root { --side: 202px; }
    .hm-main { padding: 24px 22px 0; }
    .hm-topbar { padding: 0 22px; }
    .hm-heading h1 { font-size: 34px; }
    .hm-stat > strong { font-size: 27px; }
    .hm-nav { font-size: 12px; }
    .hm-overview-hero h2 { font-size: 30px; }
    .hm-spa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-formgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-grid-side { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
    .hm-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-grid2, .hm-grid3 { grid-template-columns: 1fr; }
    .hm-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-overview-hero, .hm-planned { grid-template-columns: 1fr; }
    .hm-overview-hero > img { max-height: 240px; }
    .hm-flow { justify-self: start; padding-top: 0; }
    .hm-offer { grid-template-columns: 1fr; }
    .hm-offer > img, .hm-offer > .hm-img-empty { min-height: 0; aspect-ratio: 16 / 7; }
    .hm-login { grid-template-columns: 1fr; }
    .hm-login-art { min-height: 260px; }
}
@media (max-width: 760px) {
    .hm-sidebar { transform: translateX(-100%); width: 240px; transition: transform .2s; }
    body.hm-nav-open .hm-sidebar { transform: none; }
    body.hm-nav-open .hm-scrim { display: block; position: fixed; inset: 0; background: #1c291657; z-index: 39; }
    .hm-workspace { margin: 0; }
    .hm-menu { display: inline-flex; }
    .hm-topbar { height: 60px; padding: 0 14px; }
    .hm-topbar .hm-badge, .hm-user b { display: none; }
    .hm-breadcrumb span { margin: 0 6px; }
    .hm-breadcrumb .hm-crumb-parent, .hm-breadcrumb .hm-crumb-parent + span { display: none; }
    .hm-main { padding: 22px 16px 0; }
    .hm-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
    .hm-heading h1 { font-size: 32px; }
    .hm-heading-actions { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
    .hm-stats { gap: 10px; }
    .hm-stat { padding: 14px; }
    .hm-stat > strong { font-size: 25px; }
    .hm-room-grid, .hm-spa-grid { grid-template-columns: 1fr; }
    .hm-formgrid { grid-template-columns: 1fr 1fr; }
    .hm-occupancy-bars { gap: 6px; padding: 20px 12px; }
    .hm-occupancy-bars > a > div { width: 80%; }
    .hm-overview-hero > div, .hm-planned > div, .hm-planned ul { padding: 24px; }
    .hm-overview-hero h2, .hm-planned h2 { font-size: 27px; }
    .hm-offer ul { grid-template-columns: 1fr; }
    .hm-footer { flex-direction: column; }
    .hm-login-form { padding: 36px 24px; }
}

/* ---------- Chatbot ---------- */
.hm-bars30 { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding: 22px 22px 34px; }
.hm-bars30 > div { flex: 1; height: 100%; position: relative; display: flex; align-items: flex-end; background: #e9e7fb; border-radius: 3px; }
.hm-bars30 i { display: block; width: 100%; background: #867dd8; border-radius: 3px; }
.hm-bars30 > div:hover i { background: #6056bc; }
.hm-bars30 span { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 9px; color: #7872ab; white-space: nowrap; }
.hm-code { margin: 0 0 10px; padding: 12px 14px; background: #f0effb; border: 1px solid #d5d3ed; border-radius: 3px; font: 11px/1.6 ui-monospace, Menlo, Consolas, monospace; color: #3c3766; white-space: pre-wrap; word-break: break-all; }
.hm-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; border: 1px solid #0001; margin-right: 4px; }
.hm-segment { display: inline-flex; border: 1px solid #d1cfe6; border-radius: 3px; overflow: hidden; }
.hm-segment a { padding: 7px 12px; font-size: 11px; border-right: 1px solid #dddbee; background: #fff; }
.hm-segment a:last-child { border-right: 0; }
.hm-segment a:hover { background: #e1dff8; }
.hm-segment a.selected { background: #dbd8f5; color: #2f2967; }
.hm-table-link tbody tr { cursor: pointer; }
.hm-table td .hm-who { display: inline; margin: 0 6px 0 0; font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: #625aac; }
.hm-pager { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid #e4e2f5; font-size: 12px; }
.hm-chat { padding: 22px; display: flex; flex-direction: column; gap: 12px; background: #f6f5fd; }
.hm-msg { max-width: 78%; padding: 11px 14px; border-radius: 4px; font-size: 13px; line-height: 1.6; }
.hm-msg small { display: block; font-size: 10px; letter-spacing: .4px; opacity: .75; margin-bottom: 3px; }
.hm-msg p { white-space: pre-line; color: inherit; }
.hm-msg-user { align-self: flex-start; background: #fff; border: 1px solid #dad8ec; border-bottom-left-radius: 3px; }
.hm-msg-agent { align-self: flex-end; background: #d3d0f3; color: #262248; border-bottom-right-radius: 3px; }
.hm-msg-human { align-self: flex-end; background: #e2eaf0; color: #33495a; border-bottom-right-radius: 3px; }
.hm-chat-event { align-self: center; font-size: 10px; color: #7f7aae; background: #e7e5f8; border-radius: 20px; padding: 4px 12px; }
.hm-preview { min-height: 420px; }
@media (max-width: 760px) {
    .hm-bars30 { gap: 2px; padding: 16px 12px 30px; }
    .hm-msg { max-width: 92%; }
}

/* ---------- Chatbot-Inhalte ---------- */
.hm-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.hm-fieldset:disabled input, .hm-fieldset:disabled textarea { background: #f1f1f9; color: #575284; }
.hm-form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 22px; }
.hm-form1 { display: grid; gap: 16px; padding: 20px 22px; }
.hm-field > textarea { width: 100%; font-size: 13px; padding: 10px 11px; border: 1px solid #c9c5e8; border-radius: 3px; background: #fff; color: #302b58; line-height: 1.55; resize: vertical; }
.hm-field > textarea:focus { outline: 2px solid #a7a1e2; border-color: #827ac9; }
.hm-field small { color: #8681ae; font-size: 11px; }
.hm-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px !important; }
.hm-color { display: flex; gap: 8px; }
.hm-color input[type=color] { width: 44px; height: 39px; padding: 2px; border: 1px solid #c9c5e8; border-radius: 3px; background: #fff; }
.hm-color input:not([type=color]) { flex: 1; font-size: 13px; padding: 10px 11px; border: 1px solid #c9c5e8; border-radius: 3px; }
.hm-savebar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fffffff2; border: 1px solid var(--line); border-radius: 3px; padding: 12px 16px; margin-bottom: 22px; font-size: 12px; }
.hm-meter { height: 7px; background: #e1dff8; border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.hm-meter i { display: block; height: 100%; background: #7369cc; }
.hm-note.hm-ok { background: #dbd7fe; border-color: #c1bcf1; color: #2e257a; }
@media (max-width: 760px) { .hm-form2 { grid-template-columns: 1fr; } }
.hm-span2 { grid-column: 1 / -1; }
.hm-field > label { display: block; }
.hm-voice { display: flex; gap: 8px; }
.hm-voice select { flex: 1; min-width: 0; font-size: 13px; padding: 10px 11px; border: 1px solid #c9c5e8; border-radius: 3px; background: #fff; color: #302b58; }
.hm-voice .hm-btn[disabled] { opacity: .45; cursor: default; }

/* ---------- Hotelinfos bearbeiten ---------- */
.hm-field > input[type=text], .hm-field > input[type=email], .hm-field > input[type=time], .hm-field > input[type=number], .hm-select { width: 100%; font-size: 13px; padding: 10px 11px; border: 1px solid #c9c5e8; border-radius: 3px; background: #fff; color: #302b58; }
.hm-en { border-top: 1px solid var(--line); }
.hm-en > summary { cursor: pointer; padding: 14px 22px; font-size: 13px; color: #3a346c; }
.hm-en > summary small { color: #8681ae; margin-left: 6px; }
.hm-diff { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 16px; padding: 16px 22px; border-top: 1px solid #e4e2f5; font-size: 13px; }
.hm-diff-head { border-top: 0; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #76719e; padding-bottom: 8px; }
.hm-diff-old, .hm-diff-new { white-space: pre-line; line-height: 1.55; padding: 10px 12px; border-radius: 3px; max-height: 320px; overflow: auto; }
.hm-diff-old { background: #f6f3ee; color: #7a6a58; }
.hm-diff-new { background: #dbd7fe; color: #241c68; }
.hm-diff-2 { grid-template-columns: 1fr 1fr; padding: 10px 0 0; border: 0; }
.hm-change { display: grid; grid-template-columns: 220px 1fr auto; gap: 16px; align-items: start; padding: 16px 22px; border-top: 1px solid #e4e2f5; }
.hm-change:first-child { border-top: 0; }
.hm-change-meta small { display: block; color: #76719e; font-size: 11px; margin-top: 3px; }
.hm-change details > summary { cursor: pointer; font-size: 12px; color: #3a346c; }
@media (max-width: 760px) { .hm-diff, .hm-change { grid-template-columns: 1fr; } }

/* ---------- Hotelinfos: Tabs wie im Portal, kompakte Felder ---------- */
.hw-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.hw-tabs button { padding: 9px 14px; font-size: 13px; color: #3e3a5c; border-radius: 3px; }
.hw-tabs button:hover { background: #eae8f7; }
.hw-tabs button.is-on { background: var(--nav); color: #fff; }
.hw-pane { display: none; }
.hw-pane.is-on { display: block; }
.hw-block { padding: 18px 22px; border-top: 1px solid #e4e2f5; }
.hw-block:first-of-type { border-top: 0; }
.hw-sub { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: #302b58; margin-bottom: 4px; }
.hw-hint { font-size: 12px; color: #76719e; margin: 0 0 10px; }
.hw-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.hw-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.hw-pad { padding: 18px 22px; margin-top: 0; }
.hw-full { grid-column: 1 / -1; }
.hw-seg { display: inline-flex; gap: 4px; padding: 4px; background: #edecf7; border-radius: 3px; margin-top: 2px; }
.hw-seg label { cursor: pointer; }
.hw-seg input { position: absolute; opacity: 0; pointer-events: none; }
.hw-seg span { display: block; min-width: 86px; padding: 8px 12px; font-size: 13px; color: #5c587d; border-radius: 3px; border: 1px solid transparent; }
.hw-seg input:checked + span { background: #fff; border-color: #d3d1e8; color: #2f2d40; box-shadow: 0 1px 2px #0000000f; }
.hw-seg .is-yes input:checked + span { color: #4f7a2e; }
.hw-seg .is-no input:checked + span { color: #b0662a; }
.hw-seg input:focus-visible + span { outline: 2px solid #827ac9; }
.hw-period { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #5c587d; }
.hw-period input { font-size: 13px; padding: 8px 10px; border: 1px solid #c9c5e8; border-radius: 3px; }
.hw-del { padding: 6px 9px; }
textarea.hw-grow { min-height: 64px; overflow: hidden; }
.hm-field > input[type=text], .hm-field > input[type=email], .hm-field > input[type=time], .hm-field > input[type=number] { padding: 9px 11px; }
@media (max-width: 760px) { .hw-row3, .hw-row2 { grid-template-columns: 1fr; } .hw-seg span { min-width: 0; } }

/* KI-Badge wie im Wellnesstrip-Portal */
.hw-lbl { display: inline-flex; align-items: center; gap: 6px; }
.ki-chip { display: inline-flex; align-items: center; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: 4px 8px; border-radius: 3px; background: linear-gradient(135deg, #00244a, #06305d); color: #fff; font-weight: 600; white-space: nowrap; }

/* DaySPA: kompakte Listen */
.hw-flat { padding: 14px 0 0; }
.hw-list { display: grid; gap: 6px; margin: 10px 0; }
.hw-lh, .hw-li { display: grid; gap: 6px; align-items: center; }
.hw-lh { font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: #76719e; }
.hw-li input[type=text], .hw-li input[type=date], .hw-li input[type=time], .hw-li select { width: 100%; min-width: 0; font-size: 13px; padding: 7px 9px; border: 1px solid #c9c5e8; border-radius: 3px; background: #fff; color: #302b58; }
.hw-g-hours { grid-template-columns: 150px 150px 100px 100px 1fr 36px; }
.hw-g-prices { grid-template-columns: 145px 145px 1fr 110px 110px 90px 36px; }
.hw-g-opts { grid-template-columns: 1fr 110px 110px 90px 60px 36px; }
.hw-cb { display: flex; justify-content: center; }
.hw-optdesc { grid-column: 1 / -1; min-height: 34px !important; font-size: 12px !important; padding: 6px 9px !important; border: 1px dashed #c9c5e8 !important; border-radius: 3px; margin-bottom: 6px; }
@media (max-width: 900px) { .hw-g-hours, .hw-g-prices, .hw-g-opts { grid-template-columns: 1fr 1fr; } .hw-lh { display: none; } }

/* ---------- Kanäle ---------- */
.kn-wrap { display: flex; flex-direction: column; gap: 18px; }
.kn-checked { margin: -4px 0 0; font-size: 12px; color: #76719e; }
.kn-sys { background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(43,42,60,.06), 0 8px 24px rgba(43,42,60,.05); overflow: hidden; }
.kn-sys-head { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-bottom: 1px solid #e7e6f4; }
.kn-sys-head strong { flex: 1; font-size: 16px; font-weight: 600; color: #2b293a; }
.kn-mark { width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.kn-mark.kn-dark { background: var(--nav, #2b2a3c); color: #b8b3ed; }
.kn-mark.kn-green { background: #3f3881; color: #fff; }
.kn-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #3e3a5c; }
.kn-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #bebcd2; }
.kn-dot.ok { background: #4436c1; } .kn-dot.warn { background: #d7a03a; } .kn-dot.error { background: #c4553b; }
.kn-part { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid #e7e6f4; }
.kn-part:last-of-type { border-bottom: 0; }
.kn-part.is-off { background: #f6f5fc; }
.kn-part-name { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; }
.kn-part-name a, .kn-part-name span { font-size: 14px; font-weight: 500; color: #2b293a; }
.kn-part-name a:hover { color: #3a346c; }
.kn-part.is-off .kn-part-name span { color: #3e3a5c; }
.kn-part-name small { font-size: 12px; color: #5c587d; }
.kn-part-name small.kn-sub-ok { color: #352f6e; } .kn-part-name small.kn-sub-warn { color: #8c6634; } .kn-part-name small.kn-sub-error { color: #a8432c; }
.kn-chips { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.kn-chip { font-size: 12px; padding: 6px 11px; border-radius: 20px; background: #e2e0f9; color: #3e3a5c; }
.kn-chip.warn { background: #f8f0e1; color: #8c6634; }
.kn-chip.off { background: transparent; border: 1px dashed #bebcd2; color: #5c587d; padding: 5px 10px; }
.kn-notes { padding: 10px 24px 14px; border-top: 1px solid #e7e6f4; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #8c6634; background: #fdfaf3; }
.kn-notes.kn-notes-error { color: #a8432c; background: #fcf4f1; }
.kn-notes div { display: flex; align-items: flex-start; gap: 6px; }
@media (max-width: 760px) { .kn-part { flex-wrap: wrap; } .kn-part-name { width: 100%; } }

/* ---------- KI-Telefonie ---------- */
.tf-head-state { margin: -6px 0 16px; }
.tf-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tf-stats .tf-warn { color: #8c6634; }
.tf-grid { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 18px; align-items: start; }
.tf-list, .tf-detail { margin: 0; overflow: hidden; }
.tf-detail { position: sticky; top: 20px; }
.tf-filter { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid #e7e6f4; }
.tf-filter .kn-chip { text-decoration: none; }
.tf-filter .kn-chip.is-on { background: var(--nav, #2b2a3c); color: #fff; }
.tf-filter small { margin-left: auto; font-size: 11px; color: #76719e; }
.tf-row { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-bottom: 1px solid #e7e6f4; border-left: 3px solid transparent; color: inherit; text-decoration: none; }
.tf-row:hover { background: #f6f5fd; }
.tf-row.is-sel { background: #edebfc; border-left-color: #3f3881; }
.tf-row-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.tf-row-top strong { font-weight: 600; color: #2b293a; }
.tf-row-top span { color: #5c587d; white-space: nowrap; }
.tf-row p { margin: 0; font-size: 13px; line-height: 1.45; color: #3e3a5c; }
.tf-muted { color: #76719e !important; }
.tf-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-tag { font-size: 11px; padding: 3px 8px; border-radius: 3px; background: #dddaf8; color: #352f6e; }
.tf-tag.amber { background: #f8f0e1; color: #8c6634; }
.tf-tag.grey { background: #e5e4f2; color: #4e4b6e; }
.tf-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #e7e6f4; }
.tf-detail-head strong { display: block; font-size: 16px; font-weight: 600; color: #2b293a; }
.tf-detail-head small { font-size: 12px; color: #5c587d; }
.tf-detail-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.tf-summary { background: #edebfc; border-radius: 4px; padding: 14px 16px; }
.tf-summary span, .tf-label { display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #5c587d; margin-bottom: 6px; }
.tf-label { margin: 4px 0 -6px; }
.tf-summary p { margin: 0; font-size: 14px; line-height: 1.55; color: #2b293a; white-space: pre-line; }
.tf-topics { display: flex; flex-direction: column; gap: 8px; }
.tf-topics div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tf-topics small { font-size: 12px; color: #4e4b6e; }
.tf-chat { border-radius: 4px; }
.tf-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 44px 30px; }
.tf-empty-icon { width: 52px; height: 52px; border-radius: 4px; background: #e2e0f9; color: #3f3881; display: flex; align-items: center; justify-content: center; }
.tf-empty strong { font-size: 18px; font-weight: 600; color: #2b293a; }
.tf-empty p { margin: 0; max-width: 470px; font-size: 14px; line-height: 1.5; color: #4e4b6e; }
.tf-center { justify-content: center; flex: none; }
@media (max-width: 1000px) { .tf-grid { grid-template-columns: 1fr; } .tf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Gästekartei ---------- */
.gk-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.gk-kpi { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.gk-kpi span { font-size: 12px; color: #5c587d; }
.gk-kpi b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: #2b2a3c; }
.gk-kpi b.amber { color: #8c6634; } .gk-kpi b.red { color: #a8432c; }
.gk-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.gk-side { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 20px; }
.gk-search { width: 100%; box-sizing: border-box; font: inherit; font-size: 13px; padding: 9px 11px; border: 1px solid #dad8e8; border-radius: 3px; margin-bottom: 6px; background: #f6f5fd; }
.gk-side-lbl { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #68638f; padding: 12px 10px 4px; }
.gk-side a { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 10px; border-radius: 3px; color: #3e3a5c; text-decoration: none; }
.gk-side a:hover { background: #edebfa; }
.gk-side a.on { background: var(--nav, #2b2a3c); color: #fff; }
.gk-side a.amber { color: #8c6634; } .gk-side a.amber.on { color: #fff; }
.gk-side a small { opacity: .7; font-size: 11px; }
.gk-table-wrap { margin: 0; overflow: hidden; }
.gk-searchinfo { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid #e7e6f4; background: #f6f5fd; }
.gk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gk-table th { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #68638f; font-weight: 400; text-align: left; padding: 12px 14px; border-bottom: 1px solid #e7e6f4; }
.gk-table td { padding: 14px; border-bottom: 1px solid #eae8f7; vertical-align: top; }
.gk-table tbody tr { cursor: pointer; } .gk-table tbody tr:hover td { background: #f6f5fd; }
.gk-table td > b { display: block; font-weight: 500; } .gk-table td small { display: block; font-size: 12px; color: #5c587d; margin-top: 2px; }
.gk-table td small.green { color: #352f6e; } .gk-table td small.amber, .gk-table em.amber { color: #8c6634; font-style: normal; }
.gk-guest { display: flex; gap: 12px; color: inherit; text-decoration: none; }
.gk-guest b { display: block; font-weight: 600; } .gk-guest small { display: block; font-size: 12px; color: #5c587d; margin: 2px 0 6px; }
.gk-av { width: 40px; height: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 16px; flex-shrink: 0; background: #dbd8f5; color: #3e3a5c; }
.gk-av.dark { background: #2b2a3c; color: #b8b3ed; } .gk-av.green { background: #3f3881; color: #fff; }
.gk-chip { display: inline-block; font-size: 11px; padding: 4px 9px; border-radius: 20px; background: #e2e0f9; color: #3e3a5c; margin: 0 4px 4px 0; white-space: nowrap; }
.gk-chip.red { background: #fbe9e4; color: #a8432c; } .gk-chip.amber { background: #f8f0e1; color: #8c6634; } .gk-chip.dark { background: #2b2a3c; color: #b8b3ed; }
.gk-fav { font-size: 12px; color: #3e3a5c; line-height: 1.5; max-width: 260px; }
.gk-bar { display: block; height: 5px; background: #e7e6f4; border-radius: 3px; width: 70px; margin-top: 6px; }
.gk-bar.wide { width: 100%; margin: 10px 0 6px; height: 6px; }
.gk-bar i { display: block; height: 100%; border-radius: 3px; background: #3f3881; } .gk-bar i.amber { background: #d7a03a; }
b.amber, p.amber, span.amber, .amber { color: #8c6634; }
.gk-foot { font-size: 12px; color: #76719e; margin: 14px 0 0; }

.gk-profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 22px; align-items: start; }
.gk-pass { background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(43,42,60,.06), 0 8px 24px rgba(43,42,60,.05); overflow: hidden; position: sticky; top: 20px; }
.gk-pass-top { background: var(--nav, #2b2a3c); color: #e3e0f7; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.gk-pass-row { display: flex; justify-content: space-between; align-items: flex-start; }
.gk-pass-av { width: 62px; height: 62px; border-radius: 4px; background: #b8b3ed; color: #2b2a3c; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 25px; }
.gk-pass-level { font-size: 12px; padding: 5px 10px; border-radius: 20px; background: #2d2a4e; color: #b8b3ed; }
.gk-pass-top h1 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; margin: 0; color: #e3e0f7; }
.gk-pass-top small { font-size: 12px; color: #9591bc; }
.gk-pass-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; margin-top: 4px; }
.gk-pass-stats div { background: #2d2a4e; border-radius: 4px; padding: 9px 4px; }
.gk-pass-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.gk-pass-stats span { font-size: 10px; color: #9591bc; }
.gk-pass-sec { padding: 16px 20px; border-top: 1px solid #e7e6f4; font-size: 13px; }
.gk-pass-sec strong { display: block; font-size: 16px; font-weight: 600; margin: 6px 0 2px; }
.gk-pass-sec p { margin: 4px 0 0; color: #4e4b6e; line-height: 1.45; }
.gk-pass-sec p.gk-muted { font-size: 12px; color: #76719e; margin-top: 8px; }
.gk-pass-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: #76719e; }
.gk-pass-sub b { font-size: 13px; color: #2b293a; }
.gk-lbl { display: block; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: #68638f; }
.gk-lbl.green { color: #352f6e; } .gk-lbl.red { color: #a8432c; }
.gk-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #eae8f7; }
.gk-kv:last-child { border-bottom: 0; }
.gk-kv span { color: #5c587d; flex-shrink: 0; } .gk-kv b { font-weight: 500; text-align: right; }
.gk-kv b.red { color: #a8432c; } .gk-kv b.muted { color: #a09dbe; }
.gk-person { display: flex; gap: 10px; align-items: center; margin-top: 9px; color: #5c587d; }
.gk-person b { font-weight: 500; color: #2b293a; }
.gk-who { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: #d3d0f3; color: #3e3a5c; font-size: 10px; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.gk-who.kid { background: #f8f0e1; } .gk-who.pet { background: #e5e4f2; } .gk-who.ki { background: #e2eaf0; color: #33495a; }

.gk-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.gk-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gk-tabs { display: flex; gap: 4px; padding: 6px; background: #fff; border-radius: 4px; border: 1px solid var(--line); flex-wrap: wrap; }
.gk-tabs a { font-size: 13px; padding: 8px 12px; border-radius: 3px; color: #3e3a5c; text-decoration: none; white-space: nowrap; }
.gk-tabs a:hover { background: #edebfa; }
.gk-tabs a.on { background: var(--nav, #2b2a3c); color: #fff; }
.gk-tabs small { font-size: 10px; margin-left: 5px; opacity: .7; }
.gk-alerts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.gk-alert { border-radius: 4px; padding: 14px 16px; display: flex; gap: 12px; background: #e5e4f2; }
.gk-alert.red { background: #fbe9e4; } .gk-alert.amber { background: #f8f0e1; }
.gk-alert b { font-size: 13px; } .gk-alert.red b { color: #a8432c; } .gk-alert.amber b { color: #8c6634; }
.gk-alert p { margin: 3px 0 0; font-size: 12px; color: #4e4b6e; }
.gk-ico { width: 28px; height: 28px; border-radius: 3px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; font-weight: 700; color: #3f3881; }
.gk-alert.red .gk-ico { color: #a8432c; } .gk-alert.amber .gk-ico { color: #8c6634; }
.gk-ico.soft { background: #e2e0f9; font-weight: 400; }
.gk-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gk-grid2.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.gk-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gk-card { margin: 0; overflow: hidden; }
.gk-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e7e6f4; }
.gk-h strong { font-size: 14px; font-weight: 600; color: #2b2a3c; }
.gk-h span, .gk-h a { font-size: 11px; color: #76719e; }
.gk-h a { color: #3a346c; }
.gk-pad { padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.gk-pad.tight { padding: 4px 18px 10px; gap: 0; }
.gk-pad p { margin: 0 0 10px; line-height: 1.55; }
.gk-li { display: flex; gap: 10px; padding: 11px 18px; font-size: 13px; line-height: 1.45; border-bottom: 1px solid #eceaf9; align-items: flex-start; }
.gk-li:last-child { border-bottom: 0; }
.gk-li small { display: block; font-size: 12px; color: #5c587d; }
.gk-li b { font-weight: 500; }
.gk-li.done { color: #76719e; text-decoration: line-through; }
.gk-grow { flex: 1; }
.gk-day { width: 74px; flex-shrink: 0; font-weight: 600 !important; }
.gk-st { font-size: 11px; padding: 3px 8px; border-radius: 3px; white-space: nowrap; background: #e5e4f2; color: #4e4b6e; }
.gk-st.ok { background: #dddaf8; color: #352f6e; } .gk-st.open { background: #f8f0e1; color: #8c6634; }
.gk-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: #a09dbe; }
.gk-dot.red { background: #c4553b; } .gk-dot.amber { background: #d7a03a; }
.gk-hist { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.gk-hist > div { padding: 14px 16px; border-right: 1px solid #eae8f7; font-size: 12px; }
.gk-hist > div:last-child { border-right: 0; }
.gk-hist > div.now { background: #edebfc; }
.gk-hist small { display: block; color: #5c587d; margin-top: 3px; }
.gk-hist p { margin: 5px 0 0; color: #4e4b6e; font-size: 11px; line-height: 1.4; }
.gk-ptable-wrap { overflow-x: auto; border-radius: 4px; box-shadow: 0 1px 2px rgba(43,42,60,.06), 0 8px 24px rgba(43,42,60,.05); }
.gk-ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; font-size: 13px; }
.gk-ptable th { background: var(--nav, #2b2a3c); color: #e3e0f7; font-weight: 400; text-align: left; padding: 14px 16px; vertical-align: top; }
.gk-ptable th.lead { background: #2d2a4e; width: 150px; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: #9591bc; vertical-align: middle; }
.gk-ptable th b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.gk-ptable th small { font-size: 11px; color: #9591bc; }
.gk-ptable td { padding: 10px 16px; border-bottom: 1px solid #eae8f7; vertical-align: top; line-height: 1.45; }
.gk-ptable td.lead { color: #5c587d; font-size: 12px; background: #f6f5fd; }
.gk-ptable tr.grp td { background: #e2e0f9; color: #3e3a5c; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; padding: 7px 16px; font-weight: 600; }
.gk-ptable td.red { color: #a8432c; font-weight: 600; } .gk-ptable td.amber { color: #8c6634; } .gk-ptable td.muted { color: #a09dbe; }

.gk-depts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.gk-depts a { font-size: 13px; padding: 8px 15px; border-radius: 20px; background: #fff; border: 1px solid #dad8e8; color: #3e3a5c; text-decoration: none; }
.gk-depts a.on { background: var(--nav, #2b2a3c); color: #fff; border-color: var(--nav, #2b2a3c); }
.gk-brief { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gk-brief.single { grid-template-columns: minmax(0, 720px); }
.gk-brief .gk-li a { color: #2b293a; text-decoration: none; }
.gk-check { width: 16px; height: 16px; border-radius: 3px; border: 1.5px solid #aba8c5; flex-shrink: 0; margin-top: 2px; }
.gk-check.on { background: #3f3881; border-color: #3f3881; }
.red.strong { color: #a8432c; font-weight: 600; }
.gk-occ { margin-top: 18px; background: var(--nav, #2b2a3c); border-radius: 4px; padding: 16px 22px; color: #e3e0f7; display: flex; gap: 18px; align-items: center; }
.gk-occ span { font-family: var(--serif); font-size: 20px; white-space: nowrap; }
.gk-occ p { margin: 0; font-size: 13px; color: #b9b5d8; }
@media (max-width: 1200px) { .gk-kpis { grid-template-columns: repeat(3, 1fr); } .gk-grid3, .gk-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .gk-layout, .gk-profile, .gk-grid2, .gk-grid2.wide-left { grid-template-columns: 1fr; } .gk-side, .gk-pass { position: static; } }
@media print { .hm-sidebar, .hm-topbar, .gk-depts, .hm-heading-actions { display: none !important; } .gk-brief { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gästekartei: Pflege ---------- */
.gk-actions { display: flex; gap: 8px; }
.gk-noteform { display: grid; grid-template-columns: 1fr 150px auto; gap: 8px; padding: 12px 18px; border-top: 1px solid #e7e6f4; background: #f6f5fd; align-items: start; }
.gk-noteform textarea { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #d3d1e8; border-radius: 3px; resize: vertical; min-height: 36px; }
.gk-by { display: block; font-size: 11px; color: #76719e; }
button.gk-check { padding: 0; background: #fff; cursor: pointer; }
button.gk-check:hover { border-color: #3f3881; }
button.gk-check.on { background: #3f3881; }
.gk-etabs { margin-bottom: 14px; }
.gk-etabs button { font: inherit; font-size: 13px; padding: 8px 12px; border-radius: 3px; color: #3e3a5c; background: none; border: 0; cursor: pointer; }
.gk-etabs button:hover { background: #edebfa; }
.gk-etabs button.on { background: var(--nav, #2b2a3c); color: #fff; }
.gk-epanel { margin: 0; }
.gk-pane { display: none; } .gk-pane.on { display: block; }
.gk-eblock { padding: 18px 22px; border-top: 1px solid #e4e2f5; }
.gk-eblock:first-child { border-top: 0; }
.gk-egrid { display: grid; gap: 12px 14px; margin-top: 10px; }
.gk-egrid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gk-egrid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gk-egrid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gk-egrid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gk-f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #5c587d; }
.gk-f.wide { grid-column: span 2; }
.gk-f input, .gk-f select, .gk-f textarea, .gk-erow input, .gk-erow select { font: inherit; font-size: 13px; color: #2b293a; padding: 8px 10px; border: 1px solid #d3d1e8; border-radius: 3px; background: #fff; width: 100%; min-width: 0; box-sizing: border-box; }
.gk-f textarea { resize: vertical; line-height: 1.5; }
.gk-fcheck { flex-direction: row; align-items: center; gap: 8px; padding-top: 22px; color: #2b293a; font-size: 13px; }
.gk-fcheck input { width: auto; }
.gk-hint { font-size: 12px; color: #76719e; margin: 6px 0 10px; }
.gk-elist { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.gk-erows { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.gk-erow { display: grid; grid-template-columns: var(--cols); gap: 6px; align-items: center; width: 100%; }
.gk-ehead { font-size: 10px; letter-spacing: .6px; text-transform: uppercase; color: #76719e; }
.gk-del { padding: 6px 9px; }
.gk-cb { display: flex; justify-content: center; }
.gk-cb input { width: 16px !important; height: 16px; }
.gk-savebar { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 14px 0; margin-top: 10px; background: linear-gradient(to top, #f0eff9 75%, rgba(240,239,249,0)); z-index: 5; }
@media (max-width: 1000px) { .gk-egrid.g3, .gk-egrid.g4, .gk-egrid.g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gk-noteform { grid-template-columns: 1fr; } }

/* ---------- Team & Rollen ---------- */
.tm-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tm-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.tm-layout.has-side { grid-template-columns: minmax(0, 1fr) 360px; }
.tm-list { margin: 0; overflow: hidden; }
.tm-list tr.is-sel td { background: #edebfc; }
.tm-list tr.is-locked td { color: #76719e; }
.tm-who { display: flex; gap: 12px; align-items: center; }
.tm-who b { font-weight: 600; } .tm-who em { font-style: normal; color: #76719e; font-size: 12px; }
.tm-who small { display: block; font-size: 12px; color: #76719e; }
.tm-av { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.tm-av.big { width: 46px; height: 46px; font-size: 15px; }
.r1 { background: #2b2a3c; color: #b8b3ed; } .r2 { background: #d3d0f3; color: #2a255d; } .r3 { background: #f8f0e1; color: #8c6634; }
.r4 { background: #e2eaf0; color: #33495a; } .r5 { background: #f3e6ee; color: #7a3e62; } .r6 { background: #e5e4f2; color: #3e3a5c; }
.tm-role { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.tm-st { font-size: 12px; display: inline-flex; align-items: center; gap: 6px; color: #352f6e; }
.tm-st i { width: 7px; height: 7px; border-radius: 50%; background: #4436c1; }
.tm-st.amber { color: #8c6634; } .tm-st.amber i { background: #d7a03a; }
.tm-st.grey { color: #5c587d; } .tm-st.grey i { background: #bebcd2; }
.tm-mu { color: #76719e; font-size: 12px; }
.tm-side { margin: 0; position: sticky; top: 20px; overflow: hidden; }
.tm-side-head { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-bottom: 1px solid #e7e6f4; }
.tm-side-head b { font-size: 16px; font-weight: 600; } .tm-side-head small { display: block; font-size: 12px; color: #76719e; }
.tm-side-form { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.tm-can { background: #edebfc; border-radius: 4px; padding: 12px 14px; font-size: 12px; line-height: 1.7; display: flex; flex-direction: column; }
.tm-can b { font-weight: 600; margin-bottom: 2px; } .tm-can .yes { color: #2a255d; } .tm-can .no { color: #8f8caf; }
.tm-side-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 18px; }
.tm-danger { color: #a8432c !important; }
.tm-cred { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; background: #fff; border: 2px solid #6458d2; border-radius: 4px; padding: 16px 20px; margin-bottom: 18px; }
.tm-cred b { display: block; color: #2a255d; font-size: 14px; margin-bottom: 8px; }
.tm-cred-lbl { display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #68638f; }
.tm-cred pre { font-family: inherit; font-size: 14px; line-height: 1.7; margin: 6px 0 8px; background: #edebfc; border-radius: 3px; padding: 10px 14px; white-space: pre-wrap; }
.tm-cred small { font-size: 12px; color: #76719e; }
.tm-cred-btns { display: flex; gap: 8px; }
.tm-new { padding: 22px 24px; max-width: 900px; display: flex; flex-direction: column; gap: 14px; }
.tm-pw { display: flex; gap: 8px; } .tm-pw input { flex: 1; }
.tm-must { padding-top: 4px; }
.tm-rlbl { margin-top: 6px; }
.tm-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tm-roleopt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #dad8e8; border-radius: 4px; font-size: 13px; cursor: pointer; }
.tm-roleopt:has(input:checked) { border-color: #3f3881; background: #edebfc; }
.tm-roleopt input { margin-top: 3px; accent-color: #3f3881; }
.tm-roleopt b { font-weight: 500; } .tm-roleopt small { display: block; color: #5c587d; font-size: 12px; margin-top: 2px; }
.tm-new-actions { display: flex; gap: 10px; justify-content: flex-end; }
.tm-matrix-wrap { overflow-x: auto; border-radius: 4px; box-shadow: 0 1px 2px rgba(43,42,60,.06), 0 8px 24px rgba(43,42,60,.05); }
.tm-matrix { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; font-size: 13px; }
.tm-matrix th { background: var(--nav, #2b2a3c); color: #e3e0f7; font-weight: 400; padding: 14px 8px; text-align: center; }
.tm-matrix th small { display: block; font-size: 10px; color: #9591bc; margin-top: 2px; }
.tm-matrix th.lead { text-align: left; padding-left: 20px; width: 340px; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: #9591bc; background: #2d2a4e; }
.tm-matrix td { padding: 9px 8px; border-bottom: 1px solid #eae8f7; text-align: center; }
.tm-matrix td.lead { text-align: left; padding-left: 20px; }
.tm-matrix td.lead small { display: block; color: #76719e; font-size: 11px; margin-top: 2px; }
.tm-matrix tr.grp td { background: #e2e0f9; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: #3e3a5c; font-weight: 600; text-align: left; padding: 8px 20px; }
.tm-matrix tr.sens td.lead { color: #a8432c; font-weight: 500; }
.tm-box-l { display: inline-flex; cursor: pointer; }
.tm-box-l input { position: absolute; opacity: 0; pointer-events: none; }
.tm-box { display: inline-flex; width: 22px; height: 22px; border-radius: 3px; border: 1.5px solid #cccade; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.tm-box-l input:checked + .tm-box { background: #3f3881; border-color: #3f3881; }
.tm-box-l input:checked + .tm-box::after { content: '✓'; }
.tm-box-l input:focus-visible + .tm-box { outline: 2px solid #827ac9; }
.tm-box.on { background: #625aac; border-color: #625aac; }
.tm-sel { font-size: 12px !important; padding: 5px 6px !important; }
.tm-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.tm-notes div { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; font-size: 13px; color: #3e3a5c; line-height: 1.55; }
.tm-notes b { font-weight: 600; }
.tm-pwform { padding: 22px 24px; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.hm-dropdown a { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 3px; font-size: 13px; color: inherit; text-decoration: none; }
.hm-dropdown a:hover { background: #e8e6fa; }
@media (max-width: 1100px) { .tm-layout.has-side { grid-template-columns: 1fr; } .tm-side { position: static; } .tm-kpis { grid-template-columns: repeat(2, 1fr); } .tm-roles, .tm-notes { grid-template-columns: 1fr; } }
@media print { .tm-cred-btns, .tm-layout, .tm-kpis { display: none !important; } }


/* ==========================================================
   Krallerhof – eigener Aufbau (nach den freigegebenen Entwuerfen)
   Seitenleiste dunkel-violett, Lavendel-Band oben, senkrechte
   Beschriftungen, eckige Karten, gesperrte Grossbuchstaben.
   ========================================================== */
body.kh { background: var(--bg); }
h1, h2, h3 { letter-spacing: .04em; }
.kh-caps, .kh-nav-label, .kh-band-eyebrow, .kh-vlabel, .kh-caps-link, .kh-link-light, .kh-band-link, .kh-band-btn, .kh-band-tabs a { text-transform: uppercase; font-weight: 600; }
.kh-caps { font-size: 10px; letter-spacing: 3px; color: #4b44b8; }

/* ---------- Seitenleiste ---------- */
.kh-side { width: var(--side); background: var(--nav); color: #d9d7f3; display: flex; flex-direction: column; }
.kh-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 20px 24px; border-bottom: 1px solid #3a3862; color: #fff; }
.kh-brand img { width: 62px; height: 40px; object-fit: contain; }
.kh-brand b { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; font-weight: 600; color: #fff; margin-top: 6px; }
.kh-brand span { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: #9a96cf; }
.kh-side nav { padding: 14px 12px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #4a477a transparent; }
.kh-nav-group { margin-bottom: 14px; }
.kh-nav-label { display: block; font-size: 10px; letter-spacing: 2.6px; color: #8f8bc4; padding: 10px 10px 6px; }
.kh-nav { display: flex; align-items: center; gap: 11px; padding: 10px; min-height: 40px; color: #d9d7f3; font-size: 13px; border-left: 2px solid transparent; transition: background .15s; }
.kh-nav:hover { background: #2f2c55; color: #fff; }
.kh-nav.is-on { background: var(--lav); color: #1c1a3a; font-weight: 500; border-left-color: #fff; }
.kh-nav span { flex: 1; line-height: 1.3; }
.kh-nav.is-soon { color: #a29fcf; }
.kh-nav.is-soon.is-on { color: #1c1a3a; }
.kh-nav em { font-style: normal; font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid #4f4c80; color: #a29fcf; padding: 1px 5px; }
.kh-nav.is-on em { border-color: #1c1a3a; color: #1c1a3a; }
.kh-status { padding: 0 22px 12px; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: #8f8bc4; }
.kh-status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #9de08a; margin-right: 6px; vertical-align: 1px; }
.kh-status .off i { background: #f0b45c; }
.kh-me { border-top: 1px solid #3a3862; position: relative; }
.kh-me summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 16px; color: #ecebfb; }
.kh-me summary::-webkit-details-marker { display: none; }
.kh-me summary:hover { background: #2f2c55; }
.kh-me-av { width: 34px; height: 34px; border-radius: 50%; background: var(--lav); color: #1c1a3a; display: grid; place-items: center; font-family: var(--serif); font-size: 14px; flex-shrink: 0; }
.kh-me-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kh-me-name b { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh-me-name small { font-size: 10px; color: #a9a5dc; margin-top: 2px; }
.kh-me[open] summary svg { transform: rotate(180deg); }
.kh-me-menu { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 6px); background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(20,18,45,.35); padding: 8px; display: flex; flex-direction: column; }
.kh-me-menu small { font-size: 11px; color: var(--muted); padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; word-break: break-all; }
.kh-me-menu a, .kh-me-menu button { display: flex; align-items: center; gap: 9px; padding: 10px; font-size: 13px; text-align: left; width: 100%; min-height: 40px; }
.kh-me-menu a:hover, .kh-me-menu button:hover { background: #f1f0fd; }

/* ---------- Arbeitsbereich ---------- */
.kh-main { padding: 0 40px; max-width: 1920px; margin: 0; min-height: 100vh; }
.kh-mobilebar { display: none; }
.kh-footer { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: #8a86b5; padding: 28px 0 24px; margin-top: 34px; border-top: 1px solid var(--line); }

/* ---------- Lavendel-Band ---------- */
.kh-band { background: var(--lav-deep); color: #fff; margin: 0 -40px 30px; padding: 44px 40px 0; }
.kh-band-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; }
.kh-band:has(.kh-band-tabs) .kh-band-row { padding-bottom: 26px; }
.kh-band-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kh-band-eyebrow { font-size: 11px; letter-spacing: 4px; }
.kh-band h1 { font-family: var(--serif); font-weight: 300; font-size: 46px; line-height: 1.1; letter-spacing: .05em; margin: 0; }
.kh-band p { font-size: 14px; opacity: .92; max-width: 720px; }
.kh-band-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.kh-band-link { color: #fff; font-size: 11px; letter-spacing: 3.5px; padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; border-right: 1px solid rgba(255,255,255,.65); }
.kh-band-link:last-of-type { border-right: 0; }
.kh-band-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.kh-band-btn { margin-left: 14px; background: #fff; color: var(--ink); font-size: 11px; letter-spacing: 3px; padding: 14px 18px; min-height: 46px; display: inline-flex; align-items: center; gap: 8px; }
.kh-band-btn:hover { background: #ecebfb; }
.kh-band-tabs { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.kh-band-tabs a { color: #fff; font-size: 11px; letter-spacing: 3px; padding: 10px 0 14px; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.kh-band-tabs a:hover { border-color: rgba(255,255,255,.5); }
.kh-band-tabs a.is-on { border-color: #fff; }
.kh-band-tabs a.is-soon { opacity: .75; }
.kh-band-tabs em { font-style: normal; font-size: 8px; letter-spacing: 1.4px; border: 1px solid rgba(255,255,255,.6); padding: 1px 5px; }

/* ---------- Cockpit ---------- */
.kh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: -58px; margin-bottom: 26px; position: relative; }
.kh-band:has(+ .kh-kpis) .kh-band-row { padding-bottom: 86px; }
.kh-kpi { background: #fff; display: flex; gap: 16px; padding: 22px 22px 20px; box-shadow: 0 12px 32px rgba(36,34,63,.09); min-height: 118px; transition: transform .15s; }
a.kh-kpi:hover { transform: translateY(-2px); }
.kh-vlabel { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; letter-spacing: 3px; color: #5d57c9; white-space: nowrap; }
.kh-kpi > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-width: 0; }
.kh-kpi b { font-family: var(--serif); font-weight: 300; font-size: 42px; line-height: 1; color: var(--ink); }
.kh-kpi small { font-size: 12px; color: var(--muted); }

.kh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.kh-span2 { grid-column: span 2; }
.kh-span3 { grid-column: span 3; }
.kh-card { background: #fff; min-width: 0; display: flex; flex-direction: column; }
.kh-card > .kh-nights { flex: 1; min-height: 240px; height: auto; }
.kh-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.kh-card-head h2, .kh-card > h2 { font-family: var(--serif); font-weight: 300; font-size: 24px; margin: 0; }
.kh-caps-link { font-size: 11px; letter-spacing: 3px; color: #4b44b8; border-bottom: 1px solid var(--lav); padding: 4px 0; }
.kh-card-foot { font-size: 12px; color: var(--muted); padding: 0 26px 22px; }
.kh-muted { font-size: 13px; color: var(--muted); padding: 20px 26px; }

.kh-nights { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; padding: 24px 26px 18px; height: 260px; }
.kh-nights a { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; min-width: 0; }
.kh-nights strong { font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--ink); }
.kh-nights a > div { flex: 1; display: flex; align-items: flex-end; background: #f4f3fb; }
.kh-nights i { display: block; width: 100%; height: 4%; background: #c9c6f6; transition: height .5s; }
.kh-nights a.is-we i { background: var(--lav); }
.kh-nights a:hover i { background: #5d57c9; }
.kh-nights span { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.kh-nights small { font-size: 11px; color: var(--muted); min-height: 15px; }
.kh-nights .is-loading i { animation: kh-pulse 1.2s infinite; }
@keyframes kh-pulse { 50% { opacity: .4; } }

.kh-dark { background: var(--nav); color: #ecebfb; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.kh-dark .kh-caps { color: #bdb9f5; }
.kh-dark h2 { font-family: var(--serif); font-weight: 300; font-size: 26px; margin: 0; color: #fff; }
.kh-brief { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.kh-brief a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #3a3862; font-size: 14px; color: #fff; }
.kh-brief a:hover { color: var(--lav); }
.kh-brief small { display: block; font-size: 11px; color: #a9a5dc; margin-top: 2px; }
.kh-brief b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: #bdb9f5; }
.kh-brief b.is-done { color: #9de08a; }
.kh-link-light { align-self: flex-start; color: #fff; font-size: 11px; letter-spacing: 3px; border-bottom: 1px solid var(--lav); padding: 6px 0; }
.kh-muted-light { font-size: 13px; color: #a9a5dc; }
.kh-next { margin-top: auto; padding-top: 16px; border-top: 1px solid #3a3862; display: flex; flex-direction: column; gap: 4px; }
.kh-next b { font-weight: 500; font-size: 14px; }
.kh-next small { font-size: 12px; color: #a9a5dc; }

.kh-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 24px 26px 26px; }
.kh-room { display: flex; gap: 12px; min-width: 0; }
.kh-room > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.kh-room img, .kh-room-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #e4e2fa; }
.kh-room-ph { display: grid; place-items: center; color: #5d57c9; }
.kh-room span:not(.kh-vlabel) { font-size: 13px; color: var(--muted); }
.kh-room b { font-weight: 600; font-size: 14px; color: var(--ink); }
.kh-room b small { font-weight: 400; color: var(--muted); }
.kh-room:hover img { opacity: .9; }

.kh-offers { display: flex; flex-direction: column; }
.kh-offers a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 26px; border-bottom: 1px solid #f0eff8; }
.kh-offers a:last-child { border-bottom: 0; }
.kh-offers a:hover { background: #f8f7fe; }
.kh-offers b { display: block; font-weight: 600; font-size: 14px; }
.kh-offers small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.kh-offers em { font-style: normal; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: #4b44b8; white-space: nowrap; }
.kh-lav { background: var(--lav); color: #1c1a3a; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.kh-lav .kh-caps { color: #1c1a3a; }
.kh-lav p { font-size: 13px; margin-bottom: 14px; }
.kh-lav a { text-decoration: underline; text-underline-offset: 3px; }
.kh-big { font-family: var(--serif); font-weight: 300; font-size: 56px; line-height: 1; }

/* Karten anderer Seiten an den Krallerhof anpassen */
.kh .hm-panel, .kh .hm-stat, .kh .gk-kpi, .kh .gk-side, .kh .kn-sys { border-radius: 0; }
.kh .hm-btn { border-radius: 0; }
.kh .hm-btn.hm-primary { background: var(--nav); border-color: var(--nav); }
.kh .hm-eyebrow { letter-spacing: 3px; color: #4b44b8; }
.kh .hm-panel-head h2, .kh .hm-overview-hero h2 { font-weight: 300; }

/* ---------- Responsiv ---------- */
@media (max-width: 1280px) {
    .kh-main { padding: 0 24px; }
    .kh-band { margin: 0 -24px 26px; padding: 36px 24px 0; }
    .kh-band h1 { font-size: 38px; }
    .kh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kh-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .kh-grid { grid-template-columns: 1fr; }
    .kh-span2, .kh-span3 { grid-column: auto; }
}
@media (max-width: 760px) {
    .kh-mobilebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--nav); color: #fff; padding: 10px 16px; position: sticky; top: 0; z-index: 30; }
    .kh-mobilebar button { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
    .kh-mobilebar img { height: 26px; width: auto; }
    .kh-mobilebar span { width: 34px; height: 34px; border-radius: 50%; background: var(--lav); color: #1c1a3a; display: grid; place-items: center; font-size: 13px; }
    .kh-main { padding: 0 16px; }
    .kh-band { margin: 0 -16px 22px; padding: 28px 16px 0; }
    .kh-band-row { padding-bottom: 28px; }
    .kh-band h1 { font-size: 32px; }
    .kh-band-link { padding: 10px 14px 10px 0; letter-spacing: 2.4px; border-right: 0; min-height: 40px; }
    .kh-band-btn { margin-left: 0; margin-top: 8px; }
    .kh-kpis { gap: 12px; margin-top: -48px; }
    .kh-band:has(+ .kh-kpis) .kh-band-row { padding-bottom: 72px; }
    .kh-kpi { padding: 16px; min-height: 104px; gap: 10px; }
    .kh-kpi b { font-size: 32px; }
    .kh-nights { gap: 6px; padding: 18px 16px 12px; height: 220px; }
    .kh-nights small { display: none; }
    .kh-rooms { grid-template-columns: 1fr; padding: 18px 16px; }
    .kh-card-head { padding: 18px 16px; }
    .kh-offers a { padding: 14px 16px; }
}

/* Benutzer-Menue unten: Grundregeln der Seitenleiste neutralisieren */
.kh-side .kh-me { margin: 0; }
.kh-side .kh-me summary { font-size: 13px; letter-spacing: 0; text-transform: none; justify-content: flex-start; color: #ecebfb; padding: 16px; }
.kh-side .kh-me:not([open]) summary svg { transform: none; }
.kh-side .kh-me[open] summary svg { transform: rotate(180deg); }

/* ---------- Gästekartei (Krallerhof) ---------- */
.kg-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: #fff; margin-bottom: 18px; }
.kg-kpis > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 18px 20px; border-right: 1px solid var(--line); }
.kg-kpis > div:last-child { border-right: 0; }
.kg-kpis .kh-vlabel { grid-row: span 2; }
.kg-kpis b { font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1; }
.kg-kpis small { font-size: 12px; color: var(--muted); }
.kg-kpis .is-alert b { color: #a8432c; }
.kg-views { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.kg-views a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--ink); background: #fff; padding: 8px 12px; min-height: 36px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); }
.kg-views a small { font-size: 10px; letter-spacing: 0; color: #5d57c9; }
.kg-views a:hover { border-color: var(--lav); }
.kg-views a.is-on { background: var(--nav); color: #fff; border-color: var(--nav); }
.kg-views a.is-on small { color: var(--lav); }
.kg-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 22px; align-items: start; }
.kg-search { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.kg-search input { flex: 1; border: 0; border-bottom: 1px solid #d6d4ec; padding: 8px 0; font-size: 14px; outline: none; min-height: 40px; background: transparent; }
.kg-search input:focus { border-color: #5d57c9; }
.kg-hits { font-size: 12px; color: var(--muted); padding: 10px 22px 0; }
.kg-scroll { overflow-x: auto; }
.kg-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.kg-table th { text-align: left; font-size: 10px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px; border-bottom: 1px solid var(--line); }
.kg-table th:first-child, .kg-table td:first-child { padding-left: 22px; }
.kg-table td { padding: 14px 12px; border-bottom: 1px solid #f0eff8; vertical-align: top; }
.kg-table td small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.kg-table tr.is-sel td { background: #f1f0fd; }
.kg-table tr.is-sel td:first-child { box-shadow: inset 3px 0 0 #5d57c9; }
.kg-guest { display: flex; gap: 12px; align-items: center; }
.kg-guest b { font-weight: 600; }
.kg-av { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; background: #e4e2fa; color: #2f2a86; font-family: var(--serif); }
.kg-av.is-vip { background: var(--lav); color: #1c1a3a; }
.kg-chip { display: inline-block; font-size: 11px; padding: 4px 8px; margin: 0 4px 4px 0; background: #ecebf6; color: #3d3a66; }
.kg-chip.red { background: #fbe7e2; color: #9a3a25; }
.kg-chip.amber { background: #f8efdf; color: #7c5a2a; }
.kg-none { color: var(--muted); }
.kg-pct { font-weight: 600; }
.kg-pct.is-low { color: #8c6634; }
.kg-bar { display: block; width: 70px; height: 4px; background: #ecebf6; margin-top: 6px; }
.kg-bar i { display: block; height: 4px; background: #5d57c9; }
.kg-whisper { flex-direction: row; position: sticky; top: 20px; }
.kg-whisper-tag { writing-mode: vertical-rl; transform: rotate(180deg); text-align: right; background: var(--nav); color: #fff; font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 600; padding: 24px 12px; text-align: center; }
.kg-whisper-body { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.kg-whisper h2 { font-family: var(--serif); font-weight: 300; font-size: 28px; margin: 0; line-height: 1.15; }
.kg-sub { font-size: 12px; color: var(--muted); margin-top: 6px; }
.kg-alert { font-size: 13px; padding: 12px 14px; background: #ecebf6; color: #3d3a66; }
.kg-alert.red { background: #fbe7e2; color: #7d2e1d; }
.kg-alert.amber { background: #f8efdf; color: #6c4d22; }
.kg-alert b { font-weight: 600; margin-right: 4px; }
.kg-stay { display: flex; flex-direction: column; gap: 3px; border-left: 2px solid var(--lav); padding-left: 12px; }
.kg-stay b { font-weight: 600; font-size: 14px; }
.kg-stay small { font-size: 12px; color: var(--muted); }
.kg-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.kg-facts dt { font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: #4b44b8; font-weight: 600; margin-bottom: 4px; }
.kg-facts dd { margin: 0; font-size: 13px; }
.kg-love p { font-size: 13px; line-height: 1.55; margin-top: 6px; }
.kg-note { margin: 0; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: #3d3a66; line-height: 1.55; }
.kg-note cite { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 6px; }
.kg-whisper .kh-caps-link { align-self: flex-start; }
.kg-foot { font-size: 12px; color: var(--muted); margin-top: 16px; }
@media (max-width: 1280px) { .kg-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kg-kpis > div:nth-child(3) { border-right: 0; } }
@media (max-width: 1000px) { .kg-layout { grid-template-columns: 1fr; } .kg-whisper { position: static; } }
@media (max-width: 760px) { .kg-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kg-kpis > div { border-bottom: 1px solid var(--line); } .kg-facts { grid-template-columns: 1fr; } }

/* ---------- Band-Varianten ---------- */
.kh-band.is-dark { background: var(--nav); }
.kh-band.is-dark .kh-band-eyebrow { color: #bdb9f5; }
.kh-check { display: flex; flex-wrap: wrap; background: #fff; color: var(--ink); }
.kh-check label { display: flex; flex-direction: column; gap: 4px; padding: 10px 16px; font-size: 9px; letter-spacing: 2.6px; text-transform: uppercase; font-weight: 600; color: #4b44b8; border-right: 1px solid var(--line); }
.kh-check input { border: 0; font-size: 14px; color: var(--ink); outline: none; min-height: 26px; width: 140px; padding: 0; background: transparent; letter-spacing: 0; text-transform: none; font-weight: 400; }
.kh-check input[type=number] { width: 70px; }
.kh-check input:focus { box-shadow: 0 1px 0 #5d57c9; }
.kh-check button { background: var(--nav); color: #fff; padding: 0 24px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; min-height: 58px; }
.kh-check button:hover { background: #3a3766; }
.kt-number { background: var(--lav); color: #1c1a3a; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 280px; }
.kt-number b { font-family: var(--serif); font-weight: 300; font-size: 28px; letter-spacing: .04em; }
.kt-number .kh-caps, .kt-number small { color: #1c1a3a; font-size: 12px; }
.kt-number .kh-caps { font-size: 10px; }

/* ---------- Zimmer ---------- */
.kz-filter { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.kz-filter button { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; padding: 9px 14px; min-height: 38px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.kz-filter button small { color: #5d57c9; font-size: 10px; margin-left: 4px; }
.kz-filter button:hover { border-color: var(--lav); }
.kz-filter button.is-on { background: var(--nav); border-color: var(--nav); color: #fff; }
.kz-filter button.is-on small { color: var(--lav); }
.kz-hint { margin-left: auto; font-size: 12px; color: var(--muted); }
.kz-list { display: flex; flex-direction: column; gap: 22px; }
.kz-room { display: grid; grid-template-columns: 44px minmax(0, 5fr) minmax(0, 4fr); background: #fff; }
.kz-room.is-flip { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) 44px; }
.kz-room.is-flip .kz-tag { order: 3; transform: none; text-align: left; }
.kz-room.is-flip .kz-img { order: 2; }
.kz-room.is-flip .kz-text { order: 1; }
.kz-tag { display: flex; align-items: center; justify-content: center; padding: 22px 0; }
.kz-img { min-height: 300px; background: #e4e2fa; }
.kz-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kz-img i { display: grid; place-items: center; height: 100%; color: #5d57c9; }
.kz-text { padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kz-text h2 { font-family: var(--serif); font-weight: 300; font-size: 32px; margin: 0; line-height: 1.15; }
.kz-text p { font-size: 14px; line-height: 1.6; color: #4a4766; }
.kz-text .kz-rule { font-size: 12px; color: var(--muted); }
.kz-facts { display: flex; flex-wrap: wrap; gap: 26px; border-top: 1px solid #ecebf6; border-bottom: 1px solid #ecebf6; padding: 12px 0; margin: 0; }
.kz-facts dt { font-size: 9px; letter-spacing: 2.4px; text-transform: uppercase; color: #4b44b8; font-weight: 600; }
.kz-facts dd { margin: 2px 0 0; font-size: 13px; }
.kz-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: auto; }
.kz-price > span { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; }
.kz-price b { font-family: var(--serif); font-weight: 300; font-size: 36px; color: var(--ink); }

/* ---------- Angebote & Spa ---------- */
.ka-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--lav); color: #1c1a3a; margin-bottom: 22px; }
.ka-top-text { padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.ka-top .kh-caps { color: #1c1a3a; }
.ka-top h2 { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1.1; margin: 0; }
.ka-top p { font-size: 14px; line-height: 1.6; }
.ka-top .ka-sub { font-weight: 600; }
.ka-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ka-top li { border-top: 1px solid rgba(28,26,58,.25); padding-top: 8px; }
.ka-top-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: auto; }
.ka-top-foot > span:first-child { font-size: 12px; display: flex; flex-direction: column; }
.ka-top-foot b { font-family: var(--serif); font-weight: 300; font-size: 38px; }
.ka-top-img { background: #c9c6f6; min-height: 380px; }
.ka-top-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ka-top-img i { display: grid; place-items: center; height: 100%; color: #3d3a66; }
.ka-list details { border-bottom: 1px solid #f0eff8; }
.ka-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 30px 1fr auto; gap: 16px; align-items: center; padding: 18px 26px; }
.ka-list summary::-webkit-details-marker { display: none; }
.ka-list summary:hover { background: #f8f7fe; }
.ka-list summary .kh-vlabel { font-size: 9px; letter-spacing: 2.4px; }
.ka-list b { font-weight: 600; display: block; }
.ka-list summary small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.ka-list em { font-style: normal; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: #4b44b8; white-space: nowrap; }
.ka-more { padding: 0 26px 18px 72px; font-size: 13px; line-height: 1.6; color: #3d3a66; }
.ka-more ul { margin: 8px 0 0; padding-left: 18px; }
.ka-dark-list div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #3a3862; font-size: 14px; color: #fff; }
.ka-dark-list b { font-size: 14px; }
.ks-day { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.ks-day-prices { background: var(--nav); color: #fff; padding: 34px 30px; display: flex; flex-direction: column; gap: 4px; }
.ks-day-prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid #3a3862; }
.ks-day-prices .kh-caps { color: #bdb9f5; }
.ks-day-prices b { font-family: var(--serif); font-weight: 300; font-size: 26px; }
.ks-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ks-group { flex-direction: row; }
.ks-tag { background: var(--nav); color: #fff; padding: 22px 12px; text-align: right; }
.ks-items { flex: 1; min-width: 0; }
.ks-item { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid #f0eff8; }
.ks-item:last-child { border-bottom: 0; }
.ks-item b { display: block; font-weight: 600; font-size: 14px; }
.ks-item small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.ks-item em { display: block; font-style: normal; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: #4b44b8; font-weight: 600; margin-top: 6px; }
.ks-item strong { font-family: var(--serif); font-weight: 400; font-size: 18px; white-space: nowrap; }

/* ---------- Webconcierge ---------- */
a.kh-kpi.is-alert b, .kh-kpi.is-alert b { color: #a8432c; }
.kc-bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; padding: 22px 26px 6px; }
.kc-bars i { flex: 1; background: var(--lav); min-height: 2px; }
.kc-list a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 26px; border-top: 1px solid #f0eff8; }
.kc-list a:hover { background: #f8f7fe; }
.kc-when { font-size: 12px; color: var(--muted); }
.kc-when small { display: block; font-size: 10px; letter-spacing: 1.6px; }
.kc-list b { display: block; font-weight: 600; font-size: 14px; }
.kc-list span > small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.kc-phone { background: #fff; color: var(--ink); }
.kc-phone-head { background: var(--lav-deep); color: #fff; padding: 16px 18px; display: flex; flex-direction: column; }
.kc-phone-head span { font-size: 9px; letter-spacing: 2.6px; text-transform: uppercase; font-weight: 600; }
.kc-phone-head b { font-family: var(--serif); font-weight: 300; font-size: 20px; }
.kc-phone-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.5; }
.kc-bot { background: #f1f0fd; padding: 9px 12px; max-width: 90%; }
.kc-guest { background: var(--nav); color: #fff; padding: 9px 12px; align-self: flex-end; max-width: 80%; }
.kc-site { margin-top: 10px; padding-top: 16px; border-top: 1px solid #3a3862; display: flex; flex-direction: column; gap: 8px; }
.kc-site small { font-size: 13px; color: #d9d7f3; }
.kc-site .hm-code { max-height: 120px; overflow: auto; font-size: 11px; background: #1c1a3a; color: #d9d7f3; border: 0; }

/* ---------- KI-Telefonie ---------- */
.kt-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kt-detail { display: flex; flex-direction: row; padding: 0; }
.kt-tag { writing-mode: vertical-rl; transform: rotate(180deg); text-align: right; background: var(--lav); color: #1c1a3a; font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 600; padding: 24px 12px; }
.kt-detail-in { flex: 1; min-width: 0; }
.kh .tf-row.is-sel { box-shadow: inset 3px 0 0 #5d57c9; }

/* ---------- Team ---------- */
.kt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; align-content: start; }
.kt-card { background: #fff; display: flex; min-height: 200px; border: 1px solid transparent; transition: transform .15s; }
.kt-card:hover { transform: translateY(-2px); }
.kt-card.is-sel { border-color: #5d57c9; }
.kt-card.is-locked { opacity: .6; }
.kt-role { padding: 18px 10px; text-align: right; background: #c9c6f6; color: #1c1a3a; }
.kt-role.kt-leitung { background: var(--nav); color: #fff; }
.kt-role.kt-rezeption { background: var(--lav); color: #1c1a3a; }
.kt-card-in { flex: 1; min-width: 0; padding: 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.kt-av { width: 52px; height: 52px; background: #e4e2fa; color: #2f2a86; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.kt-card b { font-weight: 600; font-size: 15px; }
.kt-card b em { font-weight: 400; font-style: normal; color: var(--muted); font-size: 12px; }
.kt-card small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-st { font-style: normal; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600; color: #2f7a3a; margin-top: auto; }
.kt-st.amber { color: #8c6634; }
.kt-st.grey { color: var(--muted); }
.kt-add { border: 1px dashed #b9b6dc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 200px; color: #4b44b8; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; text-align: center; padding: 16px; }
.kt-add b { font-size: 28px; font-weight: 300; }
.kt-add small { letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--muted); font-size: 11px; }
.kt-add:hover { background: #fff; }
.kh .tm-layout.has-side { grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); }
.kt-side { border-radius: 0; }
.kt-roles { margin-top: 22px; }
.kt-roles > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.kt-roles span { padding: 18px 26px; font-size: 13px; color: #4a4766; border-right: 1px solid #f0eff8; border-bottom: 1px solid #f0eff8; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Kanäle ---------- */
.kk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.kk-sys.is-lav { background: var(--lav); color: #1c1a3a; }
.kk-sys.is-dark { background: var(--nav); color: #fff; }
.kk-sys.is-dark .kh-caps { color: #bdb9f5; }
.kk-sys.is-lav .kh-caps { color: #1c1a3a; }
.kk-head { padding: 30px 30px 22px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.kk-head h2 { font-family: var(--serif); font-weight: 300; font-size: 34px; margin: 8px 0 0; }
.kk-state { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; padding: 7px 10px; background: #1c1a3a; color: #fff; white-space: nowrap; }
.kk-sys.is-dark .kk-state { background: var(--lav); color: #1c1a3a; }
.kk-state.kk-warn { background: #f8efdf; color: #6c4d22; }
.kk-state.kk-off, .kk-state.kk-error { background: #fbe7e2; color: #7d2e1d; }
.kk-parts { background: #fff; color: var(--ink); }
.kk-part { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #f0eff8; }
.kk-part.is-off { opacity: .7; }
.kk-part .kh-vlabel { font-size: 9px; letter-spacing: 2.4px; }
.kk-part-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.kk-part-top b { font-weight: 600; font-size: 15px; }
.kk-part-top small { font-size: 12px; color: var(--muted); }
.kk-sub-warn { color: #8c6634 !important; }
.kk-part ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.kk-part li { font-size: 12px; }
.kk-part li::before { content: '● '; color: #2f7a3a; }
.kk-part li.kk-off::before { color: #b9b6dc; }
.kk-part li.kk-off { color: var(--muted); }
.kk-part li.kk-warn::before { color: #c58a2d; }
.kk-notes { padding: 14px 24px; background: #fbf6ec; }
.kk-notes p { font-size: 12px; color: #6c4d22; display: flex; gap: 8px; align-items: flex-start; }

@media (max-width: 1000px) {
    .kz-room, .kz-room.is-flip { grid-template-columns: 1fr; }
    .kz-room .kz-tag { display: none; }
    .kz-img { min-height: 220px; }
    .ka-top, .ks-day { grid-template-columns: 1fr; }
    .ks-groups, .kk-grid { grid-template-columns: 1fr; }
    .kh .tm-layout.has-side { grid-template-columns: 1fr; }
    .kt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .kh-check label { flex: 1 1 45%; }
    .kh-check button { flex: 1 1 100%; }
    .kz-text, .ka-top-text { padding: 22px 18px; }
    .kz-hint { margin-left: 0; }
    .kt-number { min-width: 0; width: 100%; }
}

/* ==========================================================
   Menü B: senkrechte Lavendel-Leiste + weißes Seitenfeld
   ========================================================== */
:root { --side: 334px; }
body.kb-folded { --side: 84px; }
.kb-nav { width: var(--side); background: transparent; display: flex; flex-direction: row; color: var(--ink); transition: width .2s; }
.hm-workspace { transition: margin-left .2s; }
.kb-rail { width: 84px; flex-shrink: 0; background: var(--lav); display: flex; flex-direction: column; align-items: stretch; padding: 22px 0 18px; }
.kb-logo { display: flex; justify-content: center; padding: 0 12px 28px; }
.kb-logo img { width: 52px; height: 34px; object-fit: contain; }
.kb-group { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; color: #fff; padding: 24px 0; width: 84px; display: flex; align-items: center; justify-content: center; position: relative; transition: background .15s; }
.kb-group:hover { background: rgba(255,255,255,.18); }
.kb-group.is-open { background: #fff; color: #1c1a3a; }
.kb-group.is-here::after { content: ''; position: absolute; right: 10px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #1c1a3a; transform: translateY(-50%); }
.kb-group.is-here:not(.is-open)::after { background: #fff; }
body.kb-folded .kb-group.is-open { background: transparent; color: #fff; }
body.kb-folded .kb-group.is-open:hover { background: rgba(255,255,255,.18); }
.kb-me { margin-top: auto; position: relative; display: flex; justify-content: center; }
.kb-me summary { list-style: none; cursor: pointer; }
.kb-me summary::-webkit-details-marker { display: none; }
.kb-me summary span { width: 40px; height: 40px; border-radius: 50%; background: var(--nav); color: #fff; display: grid; place-items: center; font-size: 12px; font-family: var(--serif); }
.kb-me .kh-me-menu { left: 12px; right: auto; width: 250px; bottom: 0; transform: translateX(72px); z-index: 50; }
.kb-panel { width: 250px; flex-shrink: 0; background: #fff; box-shadow: 12px 0 30px rgba(36,34,63,.06); display: flex; flex-direction: column; position: relative; overflow: hidden; }
body.kb-folded .kb-panel { display: none; }
.kb-fold { position: absolute; top: 18px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; color: #8a86b5; }
.kb-fold:hover { color: var(--ink); background: #f1f0fd; }
.kb-pages { padding: 30px 26px 10px; display: flex; flex-direction: column; overflow-y: auto; flex: 1; }
.kb-pages-label { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; color: #4b44b8; margin-bottom: 18px; }
.kb-page { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #ecebf6; font-family: var(--serif); font-weight: 300; font-size: 20px; letter-spacing: .03em; color: var(--ink); line-height: 1.2; }
.kb-page:hover { color: #5d57c9; }
.kb-page.is-on { color: #4b44b8; }
.kb-page i { font-style: normal; color: #5d57c9; }
.kb-page.is-soon { color: #9a96c4; }
.kb-page em { font-family: var(--sans); font-style: normal; font-size: 8px; letter-spacing: 1.6px; text-transform: uppercase; border: 1px solid #d6d4ec; color: #8a86b5; padding: 1px 5px; flex-shrink: 0; }
.kb-sub { display: flex; flex-direction: column; padding: 8px 0 12px 2px; border-bottom: 1px solid #ecebf6; }
.kb-sub a { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--muted); padding: 7px 0 7px 12px; border-left: 2px solid #ecebf6; }
.kb-sub a:hover { color: var(--ink); }
.kb-sub a.is-on { color: #4b44b8; border-left-color: #5d57c9; }
.kb-sub a.is-soon { color: #b0adcf; }
.kb-status { padding: 16px 26px 20px; border-top: 1px solid #ecebf6; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.kb-status a { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: #4b44b8; font-weight: 600; }
@media (max-width: 1280px) { :root { --side: 334px; } body.kb-folded { --side: 84px; } }
@media (max-width: 760px) {
    :root, body.kb-folded { --side: 334px; }
    body.kb-folded .kb-panel { display: flex; }
    .kb-nav { width: 334px; }
    .kb-me .kh-me-menu { transform: none; left: 90px; }
}
.kb-pages[hidden] { display: none; }

/* ---------- Menü C: lebendiges Feld ---------- */
.kb-panel { width: 250px; overflow-y: auto; scrollbar-width: thin; }
:root { --side: 374px; }
@media (max-width: 1280px) { :root { --side: 374px; } }
@media (max-width: 760px) { :root, body.kb-folded { --side: 374px; } .kb-nav { width: 374px; } }
.kb-panel { width: 290px; }
.kc-head { position: relative; height: 140px; flex-shrink: 0; background: #c9c6f6 center / cover no-repeat; display: flex; align-items: flex-end; padding: 14px 18px; }
.kc-head::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,34,63,0) 30%, rgba(36,34,63,.55) 100%); }
.kc-head span { position: relative; color: #fff; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.kc-head .kb-fold { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.85); color: var(--ink); z-index: 1; }
.kc-head .kb-fold:hover { background: #fff; }
.kc-today { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #ecebf6; flex-shrink: 0; }
.kc-today a { padding: 12px 0; text-align: center; border-right: 1px solid #ecebf6; display: flex; flex-direction: column; gap: 2px; }
.kc-today a:last-child { border-right: 0; }
.kc-today a:hover { background: #f8f7fe; }
.kc-today b { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.1; color: var(--ink); }
.kc-today small { font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600; color: #4b44b8; }
.kb-panel .kb-pages { padding: 18px 16px 8px; flex: 0 0 auto; overflow: visible; gap: 4px; }
.kb-panel .kb-pages-label { margin: 0 6px 8px; }
.kc-tile { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-left: 3px solid transparent; transition: background .15s; }
.kc-tile:hover { background: #f8f7fe; }
.kc-tile.is-on { background: #f1f0fd; border-left-color: #5d57c9; }
.kc-ico { width: 38px; height: 38px; display: grid; place-items: center; background: #ecebf6; color: #4b44b8; }
.kc-tile.is-on .kc-ico { background: var(--lav); color: #fff; }
.kc-txt { min-width: 0; display: flex; flex-direction: column; }
.kc-txt b { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.25; }
.kc-txt small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.kc-tile em { font-style: normal; font-size: 10px; font-weight: 600; background: var(--nav); color: #fff; padding: 2px 7px; white-space: nowrap; }
.kc-tile em.is-soon { background: transparent; color: #8a86b5; border: 1px solid #d6d4ec; font-size: 8px; letter-spacing: 1.6px; text-transform: uppercase; }
.kc-tile.is-soon { opacity: .6; }
.kc-prog { display: block; width: 42px; height: 4px; background: #ecebf6; }
.kc-prog i { display: block; height: 4px; background: #5d57c9; }
.kb-panel .kb-sub { margin: 2px 0 6px 52px; padding: 4px 0 6px; border-bottom: 0; }
.kc-next { margin: auto 16px 12px; background: var(--nav); color: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.kc-next span { font-size: 9px; letter-spacing: 2.6px; text-transform: uppercase; font-weight: 600; color: #bdb9f5; }
.kc-next b { font-weight: 500; font-size: 13px; }
.kc-next small { font-size: 11px; color: #a9a5dc; }
.kc-next:hover { background: #2f2c55; }
.kb-panel .kb-status { flex-shrink: 0; padding: 12px 22px 16px; }

/* ---------- Login (Krallerhof) ---------- */
body.kl { margin: 0; background: var(--lav-deep); color: #fff; font-family: var(--sans); }
.kl-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; overflow: hidden; }
.kl-art { padding: 64px 72px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; }
.kl-brand { display: flex; flex-direction: column; gap: 14px; }
.kl-brand img { width: 74px; height: 48px; object-fit: contain; object-position: left; }
.kl-brand span, .kl-foot span, .kl-eyebrow { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; font-weight: 600; }
.kl-art h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 64px); line-height: 1.12; letter-spacing: .05em; }
.kl-foot { display: flex; flex-direction: column; gap: 8px; }
.kl-foot span + span { letter-spacing: 2.4px; font-weight: 400; text-transform: none; font-size: 13px; opacity: .9; }
.kl-vlabel { position: absolute; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 11px; letter-spacing: 6px; text-transform: uppercase; font-weight: 600; opacity: .6; }
.kl-formwrap { display: flex; align-items: center; justify-content: center; padding: 64px; }
.kl-card { width: 100%; max-width: 440px; background: #fff; color: var(--ink); padding: 46px 42px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 80px rgba(36,34,63,.25); }
.kl-eyebrow { color: #4b44b8; font-size: 10px; letter-spacing: 3.5px; }
.kl-card h2 { margin: -8px 0 4px; font-family: var(--serif); font-weight: 300; font-size: 32px; letter-spacing: .04em; }
.kl-field { display: flex; flex-direction: column; gap: 8px; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: #4b44b8; }
.kl-field input { border: 0; border-bottom: 1px solid #b9b6dc; padding: 10px 0; font: inherit; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); min-height: 44px; outline: none; background: transparent; }
.kl-field input:focus { border-bottom-color: #5d57c9; box-shadow: 0 1px 0 #5d57c9; }
.kl-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #4a4766; min-height: 32px; }
.kl-check input { width: 18px; height: 18px; accent-color: #5d57c9; }
.kl-card button { margin-top: 6px; background: var(--nav); color: #fff; min-height: 54px; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; transition: background .15s; }
.kl-card button:hover { background: #3a3766; }
.kl-card small { font-size: 12px; color: var(--muted); }
.kl-error { margin: 0; font-size: 13px; padding: 10px 12px; background: #fbe7e2; color: #7d2e1d; }
.kl-note { margin: 0; font-size: 13px; padding: 10px 12px; background: #f1f0fd; color: #3d3a66; }
@media (max-width: 900px) {
    .kl-page { grid-template-columns: 1fr; }
    .kl-art { padding: 36px 24px 8px; gap: 28px; }
    .kl-art h1 { font-size: 38px; }
    .kl-foot, .kl-vlabel { display: none; }
    .kl-formwrap { padding: 24px 16px 48px; align-items: flex-start; }
    .kl-card { padding: 32px 24px; }
}

/* ==========================================================
   Krallerhof-Haut für Unterseiten (Profil, Briefing, Gespräche,
   Inhalte, Hotelwissen, Rollen, Protokoll, Formulare)
   ========================================================== */
.kh .hm-panel, .kh .gk-card, .kh .gk-alert, .kh .gk-tabs, .kh .gk-depts a, .kh .hm-note, .kh .hm-error, .kh .gk-occ, .kh .tm-box, .kh .hm-select, .kh .hm-field input, .kh .hm-field textarea, .kh .gk-f input, .kh .gk-f textarea, .kh .gk-f select { border-radius: 0; }
.kh .hm-panel { border: 0; box-shadow: none; }
.kh .hm-panel-head { border-bottom: 1px solid var(--line); }
.kh .hm-panel-head h2, .kh .gk-h strong { font-family: var(--serif); font-weight: 300; font-size: 22px; letter-spacing: .04em; }
.kh .hm-panel-head p { font-size: 12px; }
.kh .gk-lbl, .kh .hm-eyebrow, .kh .tm-rlbl { font-size: 10px; letter-spacing: 2.6px; text-transform: uppercase; font-weight: 600; color: #4b44b8; }
.kh .hm-badge, .kh .gk-chip, .kh .hm-chip, .kh .kn-chip { border-radius: 0; }
.kh .hm-btn { border-radius: 0; text-transform: uppercase; letter-spacing: 2.2px; font-size: 10px; }
.kh .hm-btn.hm-primary { background: var(--nav); border-color: var(--nav); }
.kh .hm-table th, .kh .gk-table th, .kh .tm-log th { font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* Gästeprofil: Name steht im Band, der Pass wird Lavendel */
.kh .gk-actions { display: none; }
.kh .gk-pass { border-radius: 0; box-shadow: none; }
.kh .gk-pass-top { background: var(--lav); color: #1c1a3a; }
.kh .gk-pass-top h1, .kh .gk-pass-top > small { display: none; }
.kh .gk-pass-av { border-radius: 0; background: #fff; color: #1c1a3a; }
.kh .gk-pass-level { border-radius: 0; background: #1c1a3a; color: #fff; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600; }
.kh .gk-pass-stats div { background: rgba(255,255,255,.35); border-radius: 0; }
.kh .gk-pass-stats b { font-weight: 300; color: #1c1a3a; }
.kh .gk-pass-stats span { color: #1c1a3a; font-size: 9px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; }
.kh .gk-tabs { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 0; gap: 22px; }
.kh .gk-tabs a { font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 600; padding: 10px 0 12px; border-radius: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); }
.kh .gk-tabs a:hover { color: var(--ink); }
.kh .gk-tabs a.on { background: transparent; color: var(--ink); border-bottom-color: var(--ink); }
.kh .gk-tabs small { color: #5d57c9; margin-left: 4px; }

/* Tagesbriefing: Abteilungen mit dunkler Kopfzeile */
.kh .gk-depts { gap: 6px; }
.kh .gk-depts a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 9px 14px; }
.kh .gk-depts a.on { background: var(--nav); border-color: var(--nav); color: #fff; }
.kh .gk-brief .gk-card { padding: 0; }
.kh .gk-brief .gk-h { background: var(--nav); color: #fff; padding: 16px 18px; margin: 0 0 6px; }
.kh .gk-brief .gk-h strong { color: #fff; }
.kh .gk-brief .gk-h span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--lav); }
.kh .gk-brief .gk-li { padding-left: 18px; padding-right: 18px; }
.kh .gk-check { border-radius: 0; }
.kh .gk-occ { background: var(--lav); color: #1c1a3a; }
.kh .gk-occ span { font-family: var(--serif); font-weight: 300; }

/* Gespräche, Hotelwissen, Rollen */
.kh .hm-segment, .kh .hm-segment a { border-radius: 0; }
.kh .tm-matrix th { letter-spacing: 1.4px; }
.kh .hw-tabs { border-radius: 0; }
.kh .hm-chat .hm-msg { border-radius: 0; }
.kh .gk-brief .gk-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kh .gk-brief .gk-h strong { font-size: 19px; }
.kh .gk-brief .gk-h span { white-space: nowrap; flex-shrink: 0; }
.kh .gk-occ p { color: #1c1a3a; }
.kh .gk-main .hm-panel-head h2, .kh .gk-main .gk-h strong { font-size: 18px; }
.kh .gk-etabs { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 0; gap: 22px; border-radius: 0; }
.kh .gk-etabs a, .kh .gk-etabs button { font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 600; padding: 10px 0 12px; border-radius: 0; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; }
.kh .gk-etabs .on, .kh .gk-etabs [aria-selected="true"] { background: transparent; color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Kopf 4: Reiter als nummerierte Kacheln ---------- */
.kh-band:has(+ .kh-tiles) .kh-band-row { padding-bottom: 86px; }
.kh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: -86px 0 26px; position: relative; }
.kh-tiles a { background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 10px 26px rgba(36,34,63,.08); min-height: 112px; transition: transform .15s; }
.kh-tiles a:hover { transform: translateY(-2px); }
.kh-tiles span { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1; color: #c9c6f6; }
.kh-tiles b { font-size: 13px; font-weight: 600; color: var(--ink); }
.kh-tiles small { font-size: 11px; color: var(--muted); line-height: 1.4; }
.kh-tiles a.is-on { background: var(--nav); box-shadow: 0 10px 26px rgba(36,34,63,.18); }
.kh-tiles a.is-on span { color: var(--lav); }
.kh-tiles a.is-on b { color: #fff; }
.kh-tiles a.is-on small { color: #bdb9f5; }
.kh-tiles a.is-soon:not(.is-on) b { color: #8a86b5; }
@media (max-width: 760px) {
    .kh-band:has(+ .kh-tiles) .kh-band-row { padding-bottom: 64px; }
    .kh-tiles { display: flex; gap: 10px; margin: -64px -16px 22px; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: none; }
    .kh-tiles a { padding: 14px; min-height: 92px; flex: 0 0 150px; }
    .kh-tiles small { display: none; }
}

/* ---------- KI-Telefonie: Agent bearbeiten (Krallerhof) ---------- */
.ag-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 40px; }
.ag-caps { font-size: 10px; letter-spacing: 2.6px; font-weight: 600; text-transform: uppercase; color: #4b44b8; }
.ag-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 22px; min-width: 0; }
.ag-agents { display: flex; flex-direction: column; gap: 10px; }
.ag-agent { display: flex; background: #fff; border: 1px solid transparent; color: var(--ink); transition: border-color .15s; min-width: 0; }
.ag-agent:hover { border-color: #c9c6f6; }
.ag-agent.is-on { border-color: var(--green); }
.ag-agent-tag { writing-mode: vertical-rl; transform: rotate(180deg); text-align: right; background: #ecebf6; color: var(--muted); font-size: 9px; letter-spacing: 2.6px; font-weight: 600; text-transform: uppercase; padding: 14px 8px; flex: none; }
.ag-agent.is-live .ag-agent-tag { background: var(--lav); color: #1c1a3a; }
.ag-agent-body { padding: 15px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ag-agent-body b { font-weight: 600; overflow-wrap: anywhere; }
.ag-agent-body small { font-size: 12px; color: var(--muted); }
.ag-agent-body em { font-style: normal; font-size: 10px; letter-spacing: 1.6px; font-weight: 600; text-transform: uppercase; color: #2f7a3a; }
.ag-info { background: #fff; padding: 16px; font-size: 12px; color: var(--muted); line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
.ag-form { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ag-sec { background: #fff; min-width: 0; border-left: 3px solid transparent; transition: border-color .15s; }
.ag-sec.is-changed { border-left-color: var(--lav); }
.ag-sec > header { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.ag-sec > header h2 { font-family: var(--serif); font-weight: 300; font-size: 22px; letter-spacing: .04em; }
.ag-sec > header .ag-caps { color: var(--muted); }
.ag-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ag-field { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--muted); min-width: 0; }
.ag-field[hidden] { display: none; }
.ag-field input[type=text], .ag-field input[type=time], .ag-field input[type=date], .ag-field select, .ag-field textarea { width: 100%; border: 1px solid #d6d4ec; border-radius: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 14px; padding: 10px 12px; min-height: 42px; }
.ag-field textarea { line-height: 1.55; resize: vertical; min-height: 92px; }
.ag-field .ag-prompt { font-size: 13px; line-height: 1.6; min-height: 320px; }
.ag-field input:focus, .ag-field select:focus, .ag-field textarea:focus { outline: 2px solid #c9c6f6; outline-offset: 0; border-color: var(--green); }
.ag-body > .ag-field > input[type=text] { max-width: 460px; }
.ag-count { align-self: flex-end; font-size: 11px; }
.ag-hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.ag-hint code { font-family: var(--sans); background: #f1f0fa; color: #4b44b8; padding: 1px 6px; font-size: 11px; white-space: nowrap; }
.ag-tabs { display: flex; gap: 4px 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ag-tabs::-webkit-scrollbar { display: none; }
.ag-tabs button { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 2.4px; font-weight: 600; text-transform: uppercase; color: var(--muted); padding: 4px 0 11px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ag-tabs button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.ag-dot { width: 6px; height: 6px; border: 1px solid #c9c6f6; display: inline-block; }
.ag-dot.is-filled { background: var(--lav); border-color: var(--lav); }
.ag-form:not(.is-js) .ag-tabs { display: none; }
.ag-voice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.ag-voice input[type=range] { width: 100%; accent-color: var(--green); margin: 8px 0 0; }
.ag-voice output { color: var(--ink); }
.ag-scale { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.ag-link { align-self: flex-start; font-size: 10px; letter-spacing: 2.4px; font-weight: 600; text-transform: uppercase; color: #4b44b8; padding: 4px 0; }
.ag-link[hidden] { display: none; }
.ag-rows { display: flex; flex-direction: column; gap: 10px; }
.ag-row { display: grid; gap: 12px; align-items: end; padding: 14px; background: #f8f7fe; min-width: 0; }
.ag-slot { grid-template-columns: auto 130px 130px minmax(0, 1fr) auto; }
.ag-vac { grid-template-columns: minmax(0, 170px) minmax(0, 170px) minmax(0, 1fr) auto; }
.ag-row .ag-msg { grid-column: 1 / -1; grid-row: 2; }
.ag-row .ag-remove { grid-column: -2; grid-row: 1; }
.ag-days { border: 0; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; align-self: end; padding-bottom: 6px; }
.ag-days label { cursor: pointer; }
.ag-days input { position: absolute; opacity: 0; pointer-events: none; }
.ag-days span { display: inline-block; min-width: 30px; text-align: center; padding: 6px 4px; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border: 1px solid #d6d4ec; background: #fff; color: var(--muted); }
.ag-days input:checked + span { background: var(--nav); border-color: var(--nav); color: #fff; }
.ag-days input:focus-visible + span { outline: 2px solid var(--lav); }
.ag-remove { font-size: 11px; color: #a8432c; padding: 12px 2px; white-space: nowrap; }
.ag-remove:hover { text-decoration: underline; }
.ag-empty { font-size: 12px; color: var(--muted); }
.ag-empty[hidden] { display: none; }
.ag-form:not(.is-js) .ag-empty, .ag-form:not(.is-js) .ag-add { display: none; }
.ag-add { align-self: flex-start; font-size: 11px; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--lav); padding: 4px 0; }
.ag-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; cursor: pointer; }
.ag-switch input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.ag-bar { position: sticky; bottom: 0; z-index: 5; background: var(--nav); color: #fff; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; font-size: 13px; }
.ag-form.is-dirty .ag-bar [data-ag-state] { color: #d8d6fb; font-weight: 600; }
.ag-bar-actions { display: flex; gap: 10px; margin-left: auto; }
.ag-btn { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; padding: 14px 18px; background: var(--lav); color: #1c1a3a; border: 1px solid var(--lav); white-space: nowrap; }
.ag-btn:hover { background: #a39ef2; }
.ag-btn.is-ghost { background: transparent; color: #fff; border-color: #5d5a8c; }
.ag-btn.is-ghost:hover { border-color: #bdb9f5; }
.ag-errors ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 1280px) {
    .ag-layout { grid-template-columns: minmax(0, 1fr); }
    .ag-side { position: static; }
    .ag-agents { flex-direction: row; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
    .ag-agent { flex: 0 0 auto; min-width: 220px; max-width: 300px; }
    .ag-info { display: none; }
}
@media (max-width: 1000px) {
    .ag-voice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ag-voice > .ag-field:first-child { grid-column: 1 / -1; }
    .ag-slot { grid-template-columns: minmax(0, 150px) minmax(0, 150px) minmax(0, 1fr) auto; }
    .ag-slot .ag-days { grid-column: 1 / -1; grid-row: 1; padding-bottom: 0; }
    .ag-slot .ag-time, .ag-slot .ag-remove { grid-row: 2; }
    .ag-slot .ag-msg { grid-row: 3; }
    .ag-vac { grid-template-columns: minmax(0, 170px) minmax(0, 170px) minmax(0, 1fr) auto; }
    .ag-vac .ag-label { grid-column: 1 / -1; grid-row: 2; }
    .ag-vac .ag-msg { grid-row: 3; }
    .ag-vac .ag-date, .ag-vac .ag-remove { grid-row: 1; }
}
@media (max-width: 760px) {
    .ag-layout { gap: 16px; }
    .ag-form { gap: 16px; }
    .ag-sec > header { padding: 16px; }
    .ag-sec > header h2 { font-size: 20px; }
    .ag-body { padding: 16px; }
    .ag-voice { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .ag-field .ag-prompt { min-height: 260px; }
    .ag-row, .ag-slot, .ag-vac { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px; gap: 10px; }
    .ag-row > * { grid-column: auto; grid-row: auto; }
    .ag-row .ag-msg, .ag-row .ag-label, .ag-slot .ag-days { grid-column: 1 / -1; grid-row: auto; }
    .ag-row .ag-remove { grid-column: 1 / -1; grid-row: auto; justify-self: start; padding: 2px 0; }
    .ag-days span { min-width: 36px; padding: 8px 4px; }
    .ag-bar { padding: 12px 16px; }
    .ag-bar [data-ag-state] { font-size: 12px; flex: 1 1 100%; }
    .ag-bar-actions { width: 100%; }
    .ag-bar-actions .ag-btn { flex: 1; padding: 13px 10px; }
}

/* ---------- Anruf: Zusammenfassung (Variante B, Krallerhof) ---------- */
.tf-detail .tf-summary { background: var(--lav); border-radius: 0; padding: 18px 20px; color: #1c1a3a; }
.tf-detail .tf-summary > span { color: #1c1a3a; font-size: 10px; letter-spacing: 2.6px; font-weight: 600; margin-bottom: 8px; }
.tf-summary-title { display: block; font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.25; letter-spacing: .02em; margin-bottom: 8px; overflow-wrap: anywhere; }
.tf-detail .tf-summary p { color: #1c1a3a; }
.tf-summary-extra { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; }
.tf-summary-extra div { display: flex; gap: 6px; }
.tf-summary-extra dt { color: #3a3670; }
.tf-summary-extra dd { margin: 0; font-weight: 600; }
.tf-reason { align-self: flex-start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; background: #ecebf6; color: #2f2a86; padding: 3px 8px; }
.tf-row.is-sel .tf-reason { background: #fff; }
.tf-row p:empty { display: none; }
@media (max-width: 760px) { .tf-summary-title { font-size: 20px; } }

/* ---------- Anrufe: Liste und Gespräch scrollen jeweils für sich ---------- */
@media (min-width: 1001px) {
    /* Block ist so hoch wie das Fenster (abzüglich Fußzeile) – ganz nach unten gescrollt sieht man alles */
    .tf-grid { align-items: stretch; height: calc(100vh - 120px); min-height: 480px; }
    .tf-list, .tf-detail { position: static; height: auto; min-height: 0; }
    .tf-list { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    .tf-list .tf-filter { position: sticky; top: 0; z-index: 2; background: #fff; }
    .tf-list .hm-pager { position: sticky; bottom: 0; background: #fff; }
    .tf-detail { display: flex; flex-direction: column; }
    .tf-detail-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    .kt-detail { flex-direction: row; }
    .kt-detail-in { display: flex; flex-direction: column; min-height: 0; }
}
@media (max-width: 1000px) {
    .tf-list { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; }
    .tf-list .tf-filter { position: sticky; top: 0; z-index: 2; background: #fff; }
    .tf-detail { position: static; }
}

/* ---------- Bewertungen: Dashboard ---------- */
.rv-link b { font-size: 18px; font-weight: 400; overflow-wrap: anywhere; }
.rv-link-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.rv-link-actions a, .rv-link-actions button { font-size: 10px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; color: #1c1a3a; text-decoration: none; border-bottom: 1px solid rgba(28,26,58,.35); padding: 2px 0; }
.rv-filter { flex-wrap: wrap; }
.rv-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rv-stars { color: #5d57c9; letter-spacing: 1px; font-size: 13px; white-space: nowrap; }
.rv-stars.is-low { color: #c26a3d; }
.rv-stars.is-big { font-size: 20px; }
.rv-src, .rv-room { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 7px; background: #fff; border: 1px solid #d6d4ec; color: #5f5c7c; }
.rv-state { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 7px; background: #fbefe5; color: #9d5e34; }
.rv-state.is-wip { background: #ecebf6; color: #2f2a86; }
.rv-state.is-done { background: #e5f2e7; color: #2f7a3a; }
.rv-quote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.rv-bars, .rv-dist { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr) 28px; gap: 9px 14px; align-items: center; font-size: 13px; }
.rv-bars b, .rv-dist b { text-align: right; font-weight: 600; }
.rv-bar { height: 7px; background: #ecebf6; display: block; }
.rv-bar i { display: block; height: 100%; background: var(--nav); }
.rv-bar.is-low i { background: #c26a3d; }
.rv-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--muted); margin: 0; }
.rv-facts span { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.rv-form { border-top: 1px solid var(--line); padding-top: 16px; }
.rv-form .hm-fieldset { display: flex; flex-direction: column; gap: 14px; }
.rv-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 480px; }
.rv-reply-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rv-suggest { font-size: 10px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; color: #4b44b8; }
.rv-reply textarea { min-height: 170px; }
.rv-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-actions-r { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.rv-hint { font-size: 12px; color: var(--muted); margin: 0; }
.rv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; align-items: start; }
.rv-wide { grid-column: 1 / -1; }
.rv-card { margin: 0; }
.rv-card > header { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px 20px; flex-wrap: wrap; }
.rv-card > header h2 { font-family: var(--serif); font-weight: 300; font-size: 22px; letter-spacing: .04em; }
.rv-card > header .kh-caps { color: var(--muted); }
.rv-cats { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.rv-cat { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 34px 52px; gap: 14px; align-items: center; font-size: 13px; }
.rv-cat-name small { display: block; font-size: 11px; color: var(--muted); }
.rv-cat b { text-align: right; font-family: var(--serif); font-weight: 400; font-size: 18px; }
.rv-cat.is-low b { color: #c26a3d; }
.rv-cat .rv-bar { height: 9px; }
.rv-cat.is-low .rv-bar i { background: #c26a3d; }
.rv-cat em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.rv-cat em.is-up { color: #2f7a3a; }
.rv-cat em.is-down { color: #a8432c; }
.rv-dist { padding: 18px 22px; }
.rv-sources { display: flex; gap: 20px; flex-wrap: wrap; padding: 0 22px 20px; font-size: 12px; color: var(--muted); }
.rv-sources b { color: var(--ink); font-size: 15px; margin-right: 4px; }
.rv-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; padding: 20px 22px; align-items: end; }
.rv-month { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; font-size: 11px; }
.rv-month-avg { color: var(--muted); }
.rv-month-bar { height: 130px; width: 100%; max-width: 38px; background: #f1f0fa; display: flex; align-items: flex-end; }
.rv-month-bar i { display: block; width: 100%; background: var(--lav); }
.rv-month b { font-size: 13px; }
.rv-month small { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.rv-qrbox { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; padding: 22px; align-items: start; }
.rv-qr svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.rv-qrinfo { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.rv-qrinfo code { font-family: var(--sans); font-size: 13px; background: #f1f0fa; padding: 8px 10px; overflow-wrap: anywhere; max-width: 100%; }
.rv-qrbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-channels { list-style: none; margin: 0; padding: 10px 22px 16px; }
.rv-channels li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.rv-channels li:last-child { border-bottom: 0; }
.rv-channels b { display: block; font-weight: 600; color: var(--ink); font-size: 14px; }
.rv-channels small { font-size: 12px; }
.rv-channels em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; padding: 3px 8px; background: #ecebf6; color: #5f5c7c; }
.rv-channels li.is-on em { background: var(--lav); color: #1c1a3a; }
.rv-channels li.is-on svg { color: #4b44b8; }
.rv-settings { padding: 20px 22px 22px; }
.rv-settings .hm-fieldset { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.rv-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
    .rv-qrbox { grid-template-columns: minmax(0, 1fr); }
    .rv-link b { font-size: 14px; word-break: break-all; }
    .rv-qr { max-width: 200px; }
    .rv-months { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 18px; }
    .rv-month-bar { height: 80px; }
    .rv-cat { grid-template-columns: minmax(0, 1fr) 34px 46px; }
    .rv-cat .rv-bar { grid-column: 1 / -1; grid-row: 2; }
    .rv-selects, .rv-two { grid-template-columns: minmax(0, 1fr); }
    .rv-actions-r { width: 100%; }
    .rv-actions-r .hm-btn { flex: 1; }
}

/* ---------- Bewertungen: Formular für Gäste (öffentlich) ---------- */
body.rg { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
.rg-page { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 40%) minmax(0, 1fr); }
.rg-art { position: relative; color: #fff; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    background: linear-gradient(160deg, #8d87ec 0%, #5d57c9 40%, #24223f 100%); overflow: hidden; }
.rg-art::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px); pointer-events: none; }
.rg-art > * { position: relative; }
.rg-logo { width: 130px; height: auto; filter: brightness(0) invert(1); }
.rg-intro { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.rg-intro h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: .02em; }
.rg-intro p { margin: 0; font-size: 15px; line-height: 1.6; color: #e4e2f8; }
.rg-caps { font-size: 10px; letter-spacing: 2.6px; font-weight: 600; text-transform: uppercase; color: #4b44b8; }
.rg-art .rg-caps { color: #d8d6fb; }
.rg-caps span { letter-spacing: 1px; text-transform: none; font-weight: 500; color: var(--muted); }
.rg-lang { align-self: flex-start; color: #fff; font-size: 11px; letter-spacing: 2.4px; font-weight: 600; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.rg-form { background: #fff; padding: 52px clamp(22px, 5vw, 64px); display: flex; flex-direction: column; gap: 26px; max-width: 860px; width: 100%; }
.rg-block { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rg-block legend { padding: 0; margin-bottom: 12px; }
.rg-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 8px; }
.rg-stars input, .rg-dots input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rg-stars label { width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px; border: 1px solid #d6d4ec; color: #c9c6f6; cursor: pointer; transition: background .12s, color .12s; }
.rg-stars input:checked ~ label, .rg-stars label:hover, .rg-stars label:hover ~ label { background: var(--lav); border-color: var(--lav); color: #1c1a3a; }
.rg-stars input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.rg-starlabel { font-size: 13px; color: var(--muted); min-height: 18px; }
.rg-starlabel.is-err { color: #a8432c; font-weight: 600; }
.rg-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.rg-cat { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rg-dots { display: flex; flex-direction: row-reverse; gap: 5px; flex: none; }
.rg-dots label { width: 26px; height: 26px; border: 1px solid #d6d4ec; cursor: pointer; background: #fff; }
.rg-dots input:checked ~ label, .rg-dots label:hover, .rg-dots label:hover ~ label { background: var(--nav); border-color: var(--nav); }
.rg-dots input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.rg-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.rg-field input, .rg-field textarea { width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink); border: 1px solid #d6d4ec; border-radius: 0; padding: 12px 13px; background: #fff; }
.rg-field textarea { resize: vertical; line-height: 1.55; }
.rg-field input:focus, .rg-field textarea:focus { outline: 2px solid #c9c6f6; border-color: var(--green); }
.rg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rg-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.rg-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.rg-send { align-self: flex-start; background: var(--nav); color: #fff; font-size: 11px; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; padding: 17px 26px; border: 0; cursor: pointer; }
.rg-send:hover { background: #3a3760; }
.rg-send:disabled { opacity: .6; }
.rg-small { font-size: 12px; color: var(--muted); margin: 0; }
.rg-error { margin: 0; background: #fbefe5; color: #9d5e34; padding: 12px 14px; font-size: 13px; }
.rg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rg-thanks { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 40px 20px;
    background: linear-gradient(160deg, #8d87ec 0%, #5d57c9 45%, #24223f 100%); }
.rg-thanks .rg-small { color: #d8d6fb; text-align: center; }
.rg-thanks-card { background: #fff; padding: 36px clamp(22px, 5vw, 44px); max-width: 520px; width: 100%; display: flex; flex-direction: column; gap: 14px; }
.rg-thanks-card h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.2; }
.rg-thanks-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.rg-google { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--lav); color: #1c1a3a; font-weight: 600; font-size: 14px; padding: 13px 16px; text-decoration: none; }
.rg-google b { width: 24px; height: 24px; display: grid; place-items: center; background: #fff; font-size: 13px; }
@media (max-width: 860px) {
    .rg-page { grid-template-columns: minmax(0, 1fr); }
    .rg-art { padding: 26px 20px 30px; gap: 22px; }
    .rg-logo { width: 96px; }
    .rg-lang { position: absolute; top: 28px; right: 20px; }
    .rg-form { padding: 26px 20px 40px; gap: 22px; }
    .rg-cats, .rg-two { grid-template-columns: minmax(0, 1fr); }
    .rg-stars { gap: 6px; }
    .rg-stars label { width: auto; flex: 1; height: 54px; }
    .rg-send { align-self: stretch; }
}

/* ---------- Bewertungen: QR-Karten zum Drucken ---------- */
body.rq { margin: 0; background: #eceaf7; font-family: var(--sans); color: var(--ink); }
.rq-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; background: var(--nav); color: #fff; font-size: 13px; z-index: 2; }
.rq-bar button { background: var(--lav); color: #1c1a3a; border: 0; font-size: 11px; letter-spacing: 2.4px; font-weight: 600; text-transform: uppercase; padding: 11px 16px; cursor: pointer; }
.rq-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 92mm), 1fr)); gap: 0; max-width: 200mm; margin: 20px auto; background: #fff; }
.rq-card { border: 1px dashed #c9c6f6; padding: 9mm 8mm; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3mm; height: 92mm; break-inside: avoid; }
.rq-logo { height: 10mm; width: auto; aspect-ratio: 50 / 32; filter: brightness(0) saturate(100%) invert(12%) sepia(18%) saturate(1600%) hue-rotate(208deg); }
.rq-card h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 17pt; line-height: 1.15; }
.rq-card p { margin: -2mm 0 0; font-size: 10pt; color: var(--muted); }
.rq-code svg { width: 38mm; height: 38mm; display: block; }
.rq-card small { font-size: 8pt; color: var(--muted); letter-spacing: .5px; }
.rq-card b { font-size: 10pt; letter-spacing: 2px; text-transform: uppercase; color: #4b44b8; }
@media print {
    @page { size: A4; margin: 8mm; }
    body.rq { background: #fff; }
    .rq-bar { display: none; }
    .rq-sheet { margin: 0; max-width: none; grid-template-columns: repeat(2, 1fr); }
    .rq-card { height: 92mm; }
}

/* ---------- Onlinebuchung: Dashboard ---------- */
.bo-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; background: #fbefe5; color: #9d5e34; padding: 13px 16px; font-size: 13px; margin-bottom: 22px; }
.bo-checks span { display: inline-flex; align-items: center; gap: 7px; }
.bo-checks .is-ok { color: #2f7a3a; }
.bo-checks a { color: inherit; font-weight: 600; text-decoration: underline; }
.bo-mode { font-size: 26px !important; }
.bo-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 30px; }
.bo-preview, .bo-latest, .bo-list { margin: 0; }
.bo-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bo-head h2 { font-family: var(--serif); font-weight: 300; font-size: 22px; letter-spacing: .04em; }
.bo-head a.kh-caps { text-decoration: none; }
.bo-seg { display: flex; gap: 4px; }
.bo-seg button { font-size: 11px; padding: 7px 11px; background: #ecebf6; color: var(--ink); }
.bo-seg button.is-on { background: var(--nav); color: #fff; }
.bo-frame { background: #e6e4f4; padding: 16px; display: flex; justify-content: center; overflow: hidden; height: 600px; }
.bo-frame iframe { flex: none; width: 1280px; height: 900px; border: 0; background: #fff; box-shadow: 0 10px 30px rgba(36,34,63,.12); transform-origin: top center; }
.bo-hint { margin: 0; padding: 12px 22px 18px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.bo-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #e7e6f4; font-size: 13px; align-items: start; }
.bo-row small { display: block; color: var(--muted); font-size: 12px; }
.bo-row b { font-weight: 600; }
.bo-badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.bo-st, .bo-src { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding: 3px 7px; white-space: nowrap; }
.bo-st.is-book { background: #e5f2e7; color: #2f7a3a; }
.bo-st.is-req { background: #fbefe5; color: #9d5e34; }
.bo-st.is-test { background: #ecebf6; color: #5f5c7c; }
.bo-src { background: #fff; border: 1px solid #d6d4ec; color: #5f5c7c; }
.bo-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.bo-total { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.bo-tr > summary, .bo-th { grid-template-columns: 110px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr) 100px 120px !important; }
@media (max-width: 860px) { .bo-tr > summary { grid-template-columns: minmax(0, 1fr) auto !important; } .bo-tr > summary > span:nth-child(1) { display: block !important; grid-column: 1; } }
.bo-table { display: flex; flex-direction: column; }
.bo-tr > summary, .bo-th { display: grid; grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr) 100px 120px; gap: 12px; padding: 13px 18px; align-items: start; font-size: 13px; }
.bo-tr { border-bottom: 1px solid #e7e6f4; }
.bo-tr > summary { cursor: pointer; list-style: none; }
.bo-tr > summary::-webkit-details-marker { display: none; }
.bo-tr > summary:hover, .bo-tr[open] > summary { background: #f6f5fd; }
.bo-tr small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.bo-tr b { font-weight: 600; overflow-wrap: anywhere; }
.bo-th { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.bo-detail { padding: 4px 18px 16px 100px; font-size: 13px; line-height: 1.55; background: #f6f5fd; }
.bo-detail p { margin: 0 0 6px; }
.bo-err { color: #a8432c; }
.bo-radio { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink); padding: 6px 0; cursor: pointer; }
.bo-radio input { accent-color: var(--green); margin-top: 3px; }
.bo-smtp { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; }
.bo-testmail { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 22px; font-size: 13px; margin-bottom: 30px; }
.bo-testmail input { border: 1px solid #c9c5e8; padding: 9px 11px; min-width: 240px; font-size: 13px; }
.bo-code { margin: 0 0 12px; background: var(--nav); color: #d9d7f3; font-size: 12px; line-height: 1.6; padding: 12px 14px; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 1100px) { .bo-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
    .bo-th { display: none; }
    .bo-tr > summary { grid-template-columns: minmax(0, 1fr) auto; }
    .bo-tr > summary > span:nth-child(1), .bo-tr > summary > span:nth-child(5) { display: none; }
    .bo-tr > summary > span:nth-child(3), .bo-tr > summary > span:nth-child(4) { grid-column: 1; }
    .bo-tr > summary > .bo-badges { grid-column: 2; grid-row: 1; }
    .bo-detail { padding: 4px 18px 16px; }
    .bo-smtp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .bo-smtp label:first-child { grid-column: 1 / -1; }
}

/* ---------- Onlinebuchung: Buchungsseite für Gäste (öffentlich) ---------- */
body.bk { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
.bk-preview { background: #fbefe5; color: #9d5e34; text-align: center; font-size: 12px; font-weight: 600; padding: 8px 12px; }
.bk-preview-inline { margin: 0; background: #fbefe5; color: #9d5e34; font-size: 12px; font-weight: 600; padding: 8px 10px; }
.bk-top { background: var(--nav); color: #fff; padding: 16px clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 20px; }
.bk-top img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.bk-caps { font-size: 10px; letter-spacing: 2.6px; font-weight: 600; text-transform: uppercase; color: #4b44b8; }
.bk-top .bk-caps { color: #bdb9f5; }
.bk-lang { margin-left: auto; color: #fff; font-size: 11px; letter-spacing: 2.2px; font-weight: 600; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.bk-steps { display: flex; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.bk-steps > * { flex: 1 0 auto; display: flex; gap: 10px; align-items: center; padding: 14px clamp(14px, 3vw, 28px); font-size: 13px; color: var(--muted); border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap; }
.bk-steps b { font-family: var(--serif); font-weight: 300; font-size: 22px; color: #c9c6f6; }
.bk-steps .is-on { color: var(--ink); border-bottom-color: var(--lav); }
.bk-steps .is-on b { color: var(--green); }
.bk-steps .is-done { color: var(--ink); }
.bk-steps .is-done b { color: var(--ink); }
.bk-main { max-width: 1200px; margin: 0 auto; padding: 26px clamp(16px, 4vw, 40px) 60px; display: flex; flex-direction: column; gap: 18px; }
.bk-error { margin: 0; background: #fbefe5; color: #9d5e34; padding: 12px 14px; font-size: 14px; }
.bk-search { display: none; background: #fff; padding: 20px; gap: 14px; align-items: end; flex-wrap: wrap; }
.bk-search.is-open { display: flex; }
.bk-field { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--muted); min-width: 0; }
.bk-search .bk-field { flex: 1 1 160px; }
.bk-search .bk-small { flex: 0 1 110px; }
.bk-field input, .bk-field select, .bk-field textarea { width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #d6d4ec; border-radius: 0; padding: 11px 12px; min-height: 46px; }
.bk-field textarea { resize: vertical; line-height: 1.5; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: 2px solid #c9c6f6; border-color: var(--green); }
.bk-kids { flex: 1 1 220px; }
.bk-kids > select { max-width: 110px; }
.bk-ages { display: flex; gap: 6px; flex-wrap: wrap; }
.bk-ages select { width: 70px; font-size: 15px; border: 1px solid #d6d4ec; padding: 9px 8px; background: #fff; }
.bk-ages:empty { display: none; }
.bk-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: var(--nav); color: #fff; border: 0; font-size: 11px; letter-spacing: 2.6px; font-weight: 600; text-transform: uppercase; padding: 15px 20px; text-decoration: none; cursor: pointer; min-height: 46px; }
.bk-btn:hover { background: #3a3760; }
.bk-btn.is-lav { background: var(--lav); color: #1c1a3a; }
.bk-btn.is-lav:hover { background: #a39ef2; }
.bk-btn:disabled { opacity: .6; }
.bk-summary-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; padding: 14px 18px; font-size: 14px; flex-wrap: wrap; }
.bk-summary-bar a { font-size: 11px; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; color: #4b44b8; }
.bk-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk-boards { display: flex; gap: 6px; flex-wrap: wrap; }
.bk-boards a, .bk-board-one { font-size: 13px; padding: 9px 13px; background: #fff; border: 1px solid #d6d4ec; color: var(--ink); text-decoration: none; }
.bk-boards a.is-on { background: var(--nav); color: #fff; border-color: var(--nav); }
.bk-rooms { display: flex; flex-direction: column; gap: 14px; }
.bk-room { background: #fff; display: grid; grid-template-columns: 240px minmax(0, 1fr) 210px; min-height: 170px; }
.bk-room-img, .bk-side-img { background: linear-gradient(135deg, #c9c6f6, #8d87ec 60%, #5d57c9) center / cover; }
.bk-room-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bk-room-body h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 21px; overflow-wrap: anywhere; }
.bk-room-body p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.bk-tag { color: var(--ink) !important; }
.bk-low { font-size: 11px; font-weight: 600; color: #c26a3d; letter-spacing: .5px; }
.bk-room-price { border-left: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; gap: 10px; }
.bk-room-price small { display: block; font-size: 11px; color: var(--muted); }
.bk-room-price b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.bk-room-price .bk-btn { align-self: stretch; }
.bk-note { margin: 0; font-size: 12px; color: var(--muted); }
.bk-none { background: #fff; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.bk-none h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 24px; }
.bk-none p { margin: 0; color: var(--muted); }
.bk-reqlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.bk-reqlist a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.bk-reqlist a:hover { border-color: var(--green); }
.bk-reqlist small { color: var(--muted); }
.bk-reqlist em { font-style: normal; font-size: 11px; letter-spacing: 1.6px; font-weight: 600; text-transform: uppercase; color: #4b44b8; margin-top: 4px; }
.bk-final { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.bk-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bk-block { border: 0; margin: 0; background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bk-block legend { float: left; width: 100%; padding: 0; font-family: var(--serif); font-weight: 300; font-size: 22px; margin-bottom: 4px; }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bk-wide { grid-column: 1 / -1; }
.bk-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bk-extras label { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.bk-extras input { accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.bk-extras small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.bk-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.bk-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.bk-check a { color: #4b44b8; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-side { background: var(--nav); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.bk-side .bk-caps { color: #bdb9f5; }
.bk-side-img { height: 140px; }
.bk-side-room { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.bk-side dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #d9d7f3; }
.bk-side dl div { display: flex; justify-content: space-between; gap: 10px; }
.bk-side dd { margin: 0; white-space: nowrap; }
.bk-side dd a { color: #bdb9f5; font-size: 11px; }
.bk-total { border-top: 1px solid #3f3c58; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bk-total span { font-size: 11px; letter-spacing: 2px; color: #bdb9f5; text-transform: uppercase; }
.bk-total b { font-family: var(--serif); font-weight: 300; font-size: 30px; }
.bk-side small { color: #bdb9f5; font-size: 11px; line-height: 1.5; }
.bk-done { display: flex; flex-direction: column; gap: 4px; background: #f4f3fb; padding: 14px; font-size: 14px; }
@media (max-width: 900px) {
    .bk-top { gap: 12px; flex-wrap: wrap; }
    .bk-top .bk-caps { display: none; }
    .bk-room { grid-template-columns: 120px minmax(0, 1fr); }
    .bk-room-img { grid-row: 1 / 3; min-height: 100%; }
    .bk-room-price { grid-column: 2; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; text-align: left; padding: 12px 16px; }
    .bk-room-price > small { display: none; }
    .bk-room-price .bk-btn { align-self: center; padding: 12px 14px; }
    .bk-final { grid-template-columns: minmax(0, 1fr); }
    .bk-side { position: static; order: -1; }
    .bk-side-img { display: none; }
}
@media (max-width: 600px) {
    .bk-main { padding: 16px 14px 40px; gap: 14px; }
    .bk-search { padding: 16px; }
    .bk-search .bk-field, .bk-search .bk-small, .bk-kids { flex: 1 1 100%; }
    .bk-search .bk-btn { width: 100%; }
    .bk-room { grid-template-columns: minmax(0, 1fr); }
    .bk-room-img { grid-row: auto; height: 150px; }
    .bk-room-price { grid-column: 1; }
    .bk-grid, .bk-extras { grid-template-columns: minmax(0, 1fr); }
    .bk-block { padding: 16px; }
    .bk-steps span span, .bk-steps a span { display: none; }
    .bk-steps .is-on span { display: inline; }
}

/* Onlinebuchung → Einbindung: Webconcierge-Schalter */
.wc-book { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.wc-book-form { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.wc-book-form b { font-size: 15px; }
.wc-book-form .rv-hint { margin: 6px 0 0; }
.wc-book-form code { font-size: 12px; word-break: break-all; }
.wc-demo { background: #f9fafb; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.wc-demo-b { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px 14px 14px 4px; padding: 9px 12px; font-size: 13px; color: #1f2937; }
.wc-demo-c { display: flex; gap: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.wc-demo-c i { width: 70px; min-height: 66px; background: linear-gradient(135deg, #b9c4a4, #6f8a6a); flex: 0 0 70px; }
.wc-demo-c span { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 8px 8px 0; font-size: 12px; color: #4b5563; }
.wc-demo-c b { color: #1f2937; font-size: 13px; }
.wc-demo-c em { font-style: normal; font-weight: 600; color: #24223f; margin-top: 2px; }
.wc-demo-k { background: #24223f; color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 9px; border-radius: 12px; }
@media (max-width: 860px) { .wc-book { grid-template-columns: minmax(0, 1fr); } }

/* ── DaySPA (Gästeseite /dayspa + Dashboard) ─────────────────── */
.ds-hero { background: #3b3860 center/cover no-repeat; color: #fff; position: relative; min-height: 260px; display: flex; align-items: flex-end; }
.ds-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 34, 63, .15), rgba(36, 34, 63, .82)); }
.ds-hero-in { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: 46px clamp(16px, 4vw, 40px) 34px; }
.ds-hero .bk-caps { color: #d9d7f3; }
.ds-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 10px 0 12px; }
.ds-hero p { max-width: 640px; margin: 0; font-size: 15px; line-height: 1.6; color: #eceaff; white-space: pre-line; }
.ds-persons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ds-closed { margin: 0; }
.ds-extras { grid-template-columns: minmax(0, 1fr); }
.ds-extras label { align-items: flex-start; }
.ds-extras span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ds-extras span small { margin: 0; white-space: normal; color: var(--muted); font-size: 12px; }
.ds-extras em { font-style: normal; margin-left: auto; white-space: nowrap; font-size: 13px; color: var(--muted); padding-left: 8px; }
.ds-side-h { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #bdb9f5; font-weight: 600; margin-top: 2px; }
.ds-inc, .ds-hours { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #ecebfa; }
.ds-inc li { padding-left: 18px; position: relative; }
.ds-inc li::before { content: "✓"; position: absolute; left: 0; color: #8d87ec; }
.ds-note { margin: 0; font-size: 12px; color: #d9d7f3; line-height: 1.5; }
.ds-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.ds-kpis .hm-panel { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.ds-kpis b { font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1.1; }
.ds-kpis small { color: var(--muted); font-size: 12px; }
.ds-table .bo-tr > summary, .ds-table .bo-th { grid-template-columns: 130px minmax(0, 1.3fr) 110px 130px 110px 120px !important; }
.bo-st.is-off { background: #f3e3e3; color: #9a3b3b; }
.ds-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.ds-act .bo-radio { margin-right: auto; }
.ds-online span { display: flex; flex-direction: column; gap: 2px; }
.ds-online small { color: var(--muted); font-size: 12px; }
.ds-wt { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ds-wt p { margin: 0; }
.ds-price { display: flex; justify-content: space-between; gap: 12px; width: 100%; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
    .ds-hero { min-height: 200px; }
    .ds-kpis { grid-template-columns: minmax(0, 1fr); }
    .ds-table .bo-tr > summary { grid-template-columns: minmax(0, 1fr) auto !important; }
    .ds .bk-side { order: 2; position: static; }
}
.ds-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ds-pk { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); cursor: pointer; background: #fff; }
.ds-pk[hidden] { display: none; }
.ds-pk input { accent-color: var(--nav); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.ds-pk span { display: flex; flex-direction: column; gap: 4px; }
.ds-pk b { font-size: 15px; }
.ds-pk em { font-style: normal; font-family: var(--serif); font-size: 20px; font-weight: 300; }
.ds-pk:has(input:checked) { border-color: var(--nav); box-shadow: inset 0 0 0 1px var(--nav); }
.ds-persons.is-one { grid-template-columns: 1fr; }

/* Cockpit: Reservierungen & DaySPA */
.kh-res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.kh-res-col li.kh-muted { padding: 0; }
.kh-res-col { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 20px; color: inherit; text-decoration: none; border-right: 1px solid var(--line); transition: background .15s; min-width: 0; }
.kh-res-col:last-child { border-right: 0; }
.kh-res-col:hover { background: #f7f6fd; }
.kh-res-col .kh-big { margin: 4px 0 0; line-height: 1; }
.kh-res-col > small { color: var(--muted); font-size: 12px; }
.kh-res-col ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.kh-res-col li { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kh-res-col li span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kh-res-col li em { font-style: normal; color: var(--muted); font-size: 12px; }
.kh-res-col.is-alert .kh-big { color: #9d5e34; }
@media (max-width: 860px) { .kh-res-grid { grid-template-columns: minmax(0, 1fr); } .kh-res-col { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ── Website-Vorschau (Onlinebuchung → Übersicht) ───────────────── */
body.ws { background: #f4f3fb; }
.ws-top { position: sticky; top: 0; z-index: 20; background: var(--nav); color: #fff; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 48px); }
.ws-top img { height: 34px; filter: brightness(0) invert(1); }
.ws-top nav { display: flex; gap: 22px; margin-left: auto; }
.ws-top nav a, .ws-lang { color: #d9d7f3; text-decoration: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.ws-top nav a:hover, .ws-lang:hover { color: #fff; }
.ws-cta { background: var(--lav, #8d87ec); color: #1c1a3a; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; padding: 12px 18px; }
.ws-hero { min-height: 460px; background: #3b3860 center/cover no-repeat; position: relative; display: flex; align-items: flex-end; color: #fff; }
.ws-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,34,63,.1), rgba(36,34,63,.75)); }
.ws-hero-in { position: relative; max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 110px; }
.ws-hero .bk-caps { color: #d9d7f3; }
.ws-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; margin: 12px 0 0; max-width: 760px; }
.ws-search { position: relative; z-index: 5; max-width: 1180px; margin: -78px auto 0; padding: 0 clamp(16px, 4vw, 48px); }
.ws-tabs { display: flex; gap: 2px; }
.ws-tabs button { border: 0; background: rgba(36,34,63,.82); color: #d9d7f3; font: 600 11px/1 var(--sans); letter-spacing: 2.5px; text-transform: uppercase; padding: 13px 20px; cursor: pointer; }
.ws-tabs button.is-on { background: #fff; color: var(--nav); }
.ws-form { background: #fff; padding: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; box-shadow: 0 18px 40px rgba(36,34,63,.16); }
.ws-form[hidden] { display: none; }
.ws-form label, .ws-kids { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); flex: 1 1 160px; }
.ws-form .ws-s { flex: 0 1 110px; }
.ws-kids { flex: 1 1 200px; }
.ws-kids > div { display: flex; gap: 6px; flex-wrap: wrap; }
.ws-form input, .ws-form select { height: 46px; border: 1px solid var(--line); padding: 0 12px; font: 15px var(--sans); color: var(--ink); background: #fff; min-width: 0; }
.ws-kids select { width: 64px; }
.ws-form .bk-btn { height: 46px; flex: 0 0 auto; }
.ws-pane-txt { margin: 0; flex: 2 1 260px; font-size: 14px; color: var(--ink); align-self: center; }
.ws-main { max-width: 1180px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 60px; display: flex; flex-direction: column; gap: 46px; }
.ws-sec > header h2, .ws-spa h2 { font-family: var(--serif); font-weight: 300; font-size: 34px; margin: 8px 0 18px; }
.ws-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ws-room { background: #fff; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.ws-room:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(36,34,63,.12); }
.ws-room-img { height: 200px; background: #cfcce6 center/cover no-repeat; }
.ws-room-t { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.ws-room-t b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.ws-room-t small { color: var(--muted); font-size: 13px; }
.ws-room-t em { font-style: normal; font-weight: 600; margin-top: 6px; }
.ws-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ws-offers a { background: #fff; padding: 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; }
.ws-offers b { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.ws-offers small { color: var(--muted); font-size: 13px; }
.ws-offers em { font-style: normal; font-weight: 600; margin-top: auto; padding-top: 8px; }
.ws-spa { background: var(--nav); color: #fff; padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.ws-spa .bk-caps { color: #bdb9f5; }
.ws-spa p { color: #d9d7f3; margin: 0 0 8px; }
.ws-pk { display: flex; flex-direction: column; gap: 10px; }
.ws-pk a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.12); }
.ws-pk a:hover { background: rgba(255,255,255,.14); }
.ws-pk em { font-style: normal; font-family: var(--serif); font-size: 20px; font-weight: 300; white-space: nowrap; }
.ws-muted { color: var(--muted); }
.ws-spa .ws-muted { color: #bdb9f5; }
.ws-foot { text-align: center; padding: 26px 16px 40px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
    .ws-top { gap: 14px; } .ws-top nav { display: none; } .ws-lang { margin-left: auto; }
    .ws-hero { min-height: 340px; } .ws-hero-in { padding-bottom: 96px; }
    .ws-rooms, .ws-offers, .ws-spa { grid-template-columns: minmax(0, 1fr); }
    .ws-form .bk-btn { width: 100%; }
}
.bo-grid.is-stack { grid-template-columns: minmax(0, 1fr); }
.bo-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bo-open { font-size: 11px; padding: 7px 11px; background: #ecebf6; color: var(--ink); text-decoration: none; }
/* Buchungsseite Schritt 1 als Startseite (Bild, Suchleiste, Zimmer, DaySPA) */
.bk-main.is-landing { padding: 0 clamp(16px, 4vw, 48px) 10px; max-width: 1180px; }
.bk-ws { margin: -78px 0 0; padding: 0; max-width: none; width: 100%; }
.bk-ws .bk-search { box-shadow: 0 18px 40px rgba(36,34,63,.16); margin: 0; max-width: none; width: auto; }
.bk-ws .bk-search .bk-btn { margin-left: auto; }
.bk-main.is-landing + .ws-main { padding-top: 34px; }
.bk-ws .bk-search[hidden], .bk-ws .ws-form[hidden] { display: none; }
.bk-anchor { display: block; position: relative; top: -16px; height: 0; }
.bk-main.is-landing .bk-head { margin-top: 16px; }

/* Onlinebuchung: Unterpunkte unter den Reiter-Kacheln */
.kh-subpills { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.kh-subpills a { background: #fff; border: 1px solid #e2e0f0; color: var(--ink, #24223f); padding: 10px 16px; font-size: 13px; font-weight: 600; text-decoration: none; }
.kh-subpills a:hover { border-color: #8d87ec; }
.kh-subpills a.is-on { background: #24223f; border-color: #24223f; color: #fff; }

/* Preis rechnen: Knopf im Menü + Seitenleiste */
.kb-calc { margin: 10px 0 0 12px; align-self: flex-start; border: 0; background: #24223f; color: #fff; font: 700 12.5px/1 inherit; font-family: inherit; padding: 11px 14px; cursor: pointer; }
.kb-calc:hover { background: #8d87ec; }
.kh-calc { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: #fff; z-index: 80; box-shadow: -18px 0 50px rgba(36,34,63,.18); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .25s ease; }
.kh-calc.is-open { transform: none; }
.kh-calc-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid #efeef9; }
.kh-calc-h b { font-size: 20px; font-weight: 500; }
.kh-calc-h button { width: 40px; height: 40px; border: 1px solid #e2e0f0; background: #fff; cursor: pointer; font-size: 15px; }
.kh-calc iframe { flex: 1; width: 100%; border: 0; }


/* ===== Seitenkopf kompakt + Reiter als weiße Leiste (Menü neu, überall Lavendel) ===== */
.kh-band { padding: 26px 40px 0; }
.kh-band-row { padding-bottom: 22px; align-items: center; }
.kh-band-text { gap: 6px; }
.kh-band h1 { font-size: 32px; letter-spacing: .03em; }
.kh-band p { font-size: 13px; }
.kh-band-btn { min-height: 40px; padding: 11px 16px; }
.kh-band-link { min-height: 38px; }
.kh-band.is-dark { background: var(--lav-deep); }
.kh-band.is-dark .kh-band-eyebrow { color: inherit; }
.kh-band:has(+ .kh-tabs) { margin-bottom: 0; }
.kh-band:has(+ .kh-tabs) .kh-band-row { padding-bottom: 22px; }
.kh-tabs { display: flex; gap: 4px; margin: 0 -40px; padding: 0 32px; background: #fff; border-bottom: 1px solid #e7e5f3; overflow-x: auto; scrollbar-width: none; }
.kh-tabs::-webkit-scrollbar { display: none; }
.kh-tabs a { display: flex; align-items: baseline; gap: 8px; padding: 15px 12px 13px; border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; color: #3f3c5c; font-size: 13.5px; font-weight: 500; }
.kh-tabs a i { font-style: normal; font-size: 11px; color: #b2aee0; font-family: var(--serif); }
.kh-tabs a:hover { color: var(--ink); background: #f7f6fd; }
.kh-tabs a.is-on { color: var(--ink); font-weight: 700; border-color: var(--lav-deep); }
.kh-tabs a.is-on i { color: var(--lav-deep); }
.kh-tabs a.is-soon:not(.is-on) { color: #a3a0c0; }
.kh-tabs em { font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #8a86b5; border: 1px solid #d6d3ec; padding: 1px 5px; align-self: center; }
.kh-tabs-gap { height: 26px; }
.kh-subpills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.kh-subpills a { font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid #e2e0f0; color: #3f3c5c; text-decoration: none; }
.kh-subpills a:hover { border-color: #c9c5f3; color: var(--ink); }
.kh-subpills a.is-on { background: #ecebfb; border-color: #c9c5f3; color: #3a34a8; }
@media (max-width: 1280px) {
    .kh-band { padding: 24px 24px 0; }
    .kh-band h1 { font-size: 30px; }
    .kh-tabs { margin: 0 -24px; padding: 0 16px; }
}
@media (max-width: 760px) {
    .kh-band { padding: 20px 16px 0; }
    .kh-band-row { padding-bottom: 18px; }
    .kh-band h1 { font-size: 26px; }
    .kh-tabs { margin: 0 -16px; padding: 0 8px; }
    .kh-tabs a { padding: 13px 10px 11px; font-size: 13px; }
    .kh-tabs-gap { height: 18px; }
}

/* Kanäle: „noch nicht eingerichtet“ neutral statt rot */
.kk-state.kk-later { background: #ecebfb; color: #3a34a8; }
.kk-sys.is-dark .kk-state.kk-later { background: rgba(255,255,255,.14); color: #fff; }
.kk-sub-off { color: var(--muted) !important; }
