:root {
  --ink: #18161D;
  --ink2: #3D3944;
  --muted: #5E5A66;
  --line: #ECE9EF;
  --line2: #E3DFE7;
  --field: #CFC9D4;
  --ground: #F6F1F8;
  /* Akzentfarben aus dem Logo (Violett-Verlauf) */
  --plum: #7B2D8E;
  --plum-d: #5A1E6C;
  --plum-l: #A14FB2;
  --plum-t: #F1E4F5;
  --plum-t2: #F8F0FA;
  --chip: #F3E9F6;
  /* Wie die Homepage: Pflaume aus dem Logo, Magenta aus der Schaufenster-Beleuchtung, Verlauf der Fensterfolie */
  --magenta: #B521BC;
  --magenta-t: #FBE8FC;
  --grad: linear-gradient(120deg, #6A2483 0%, #8E2A9E 55%, #B521BC 100%);
  --grad-salon: linear-gradient(110deg, #B0306A 0%, #7B2D8E 52%, #4B4FA8 100%);
  --grad-d: linear-gradient(120deg, #551B6A 0%, #74288A 55%, #8A3D9C 100%);
  --serif: Georgia, "Times New Roman", serif;
  --shadow: 0 2px 10px rgba(90, 30, 108, 0.07);
  --green: #1F7A4D;
  --green-d: #17573A;
  --green-t: #E5F3EC;
  --amber-t: #FFF1DB;
  --amber-d: #6B4A10;
  --now: #C2410C;
  --error: #B42318;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--plum); }
a:hover { color: var(--plum-d); }
:focus-visible { outline: 3px solid #9B59A3; outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wide { width: 100%; }

/* ---------- Entwurf-Band ---------- */
.banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px;
  padding: 6px 16px; background: var(--amber-t); color: var(--amber-d);
  font-size: 13px; font-weight: 700; text-align: center;
}
.banner-btn {
  min-height: 32px; padding: 0 12px; border: 1px solid #E5C690; border-radius: 999px;
  background: #FFF8EC; color: var(--amber-d); font-size: 12px; font-weight: 700;
}
.banner-btn:hover { background: #FFFFFF; }

/* ---------- Buttons ---------- */
.icon-btn {
  width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 10px; background: none;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none;
}
.icon-btn:hover { background: var(--ground); color: var(--ink); }
.icon-btn:disabled { color: #B5B0BB; background: none; cursor: default; }
.btn-outline {
  min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--plum); border-radius: 999px; background: #FFFFFF; color: var(--plum);
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn-outline:hover { background: var(--plum-t2); color: var(--plum); }
.btn-primary {
  min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; background: var(--grad); color: #FFFFFF;
  font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(123, 45, 142, 0.25);
}
.btn-primary:hover { background: var(--grad-d); color: #FFFFFF; }
.btn-primary.sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-soft {
  min-height: 48px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px;
  background: var(--chip); color: var(--plum-d); font-size: 15px; font-weight: 700; text-decoration: none;
}
.btn-soft:hover { background: var(--plum-t); color: var(--plum-d); }
.btn-text {
  min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--plum);
  font-size: 14px; font-weight: 700;
}
.mini {
  min-height: 36px; padding: 0 12px; border: 1px solid #DCD7E0; border-radius: 9px; background: #FFFFFF;
  color: var(--ink2); font-size: 13px; font-weight: 600;
}
.mini:hover { border-color: var(--plum); }
.mini.ok { border-color: #2E8B5B; color: var(--green-d); font-weight: 700; }
.linkbtn { min-height: 32px; padding: 0 4px; border: 0; background: none; color: var(--plum); font-size: 12px; font-weight: 700; }

/* ---------- Kundenansicht ---------- */
.phone {
  position: relative; max-width: 440px; margin: 0 auto; background: #FFFFFF;
  min-height: calc(100vh - 44px); display: flex; flex-direction: column;
}
@media (min-width: 700px) {
  .cust { padding: 24px 16px 48px; }
  .cust { background: radial-gradient(circle at 20% 0%, var(--magenta-t) 0, transparent 45%), radial-gradient(circle at 90% 100%, #ECEBFA 0, transparent 40%); }
  .phone { min-height: 780px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 16px 48px rgba(90, 30, 108, 0.14); }
}
.topbar {
  height: 56px; flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 20px; border-bottom: 1px solid var(--line); background: #FFFFFF;
}
.topbar.back { padding-left: 8px; }
.topbar-title { font-size: 18px; font-weight: 700; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.mono {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: var(--grad); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
}
.brand-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero { position: relative; padding: 22px 24px 20px; background: #FFFFFF; }
.hero::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad-salon); opacity: 0.6; }
.hero h1 { margin: 0; line-height: 0; }
.logo { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.info { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink2); }
.row svg { flex-shrink: 0; }
.row a { text-decoration: none; font-weight: 600; }
.open { color: var(--green); font-weight: 700; }
.closed { color: var(--muted); font-weight: 700; }
.hours summary { min-height: 32px; display: flex; align-items: center; cursor: pointer; color: var(--plum); font-size: 14px; font-weight: 600; }
.hours dl { display: grid; grid-template-columns: 120px 1fr; gap: 4px 12px; margin: 4px 0 4px; font-size: 14px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.hours .today { color: var(--ink); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: var(--chip); color: var(--plum-d); font-size: 13px; font-weight: 600;
}
.services { border-top: 8px solid var(--ground); padding: 18px 20px 28px; }
.services h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--plum-d); margin-bottom: 12px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 4px; padding: 0 20px 4px; scrollbar-width: none; }
.tab {
  min-height: 44px; flex-shrink: 0; padding: 0 16px; border: 1px solid #DCD7E0; border-radius: 999px;
  background: #FFFFFF; font-size: 14px; font-weight: 600;
}
.tab:hover { border-color: var(--plum); color: var(--plum-d); }
.tab[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #FFFFFF; }
.svc-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.svc {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px;
  border: 1px solid var(--line); border-left: 4px solid var(--magenta); border-radius: 14px; background: #FFFFFF; box-shadow: var(--shadow);
}
.svc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.svc-name { font-size: 16px; line-height: 1.3; font-weight: 600; }
.svc-price { font-size: 16px; font-weight: 700; white-space: nowrap; color: var(--plum-d); }
.topbar-title, .fields h2, .paysec h2, .done h1, .pagehead h1 { font-family: var(--serif); color: var(--plum-d); }

/* Menü */
.menu-layer {
  position: absolute; top: 56px; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; flex-direction: column; background: rgba(24, 22, 29, 0.35);
}
.menu { background: #FFFFFF; padding: 8px 12px 14px; display: flex; flex-direction: column; box-shadow: 0 12px 24px rgba(24, 22, 29, 0.12); }
.menu-item {
  width: 100%; min-height: 48px; padding: 0 12px; display: flex; align-items: center; gap: 12px;
  border: 0; border-radius: 10px; background: none; text-align: left; text-decoration: none;
  color: var(--ink); font-size: 15px; font-weight: 600;
}
.menu-item svg { color: var(--plum); }
.menu-item:hover { background: var(--ground); color: var(--ink); }
.menu-sep { height: 1px; margin: 8px 12px; background: var(--line); }
.menu-label { padding: 6px 12px 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.menu-scrim { flex: 1; border: 0; background: transparent; }

/* Termin wählen */
.pad { padding: 14px 20px 0; }
.sumcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ground); }
.sumcard > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sumcard .muted { font-size: 13px; }
.sumcard a { font-size: 13px; font-weight: 700; }
.label { margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--ink2); }
.staff-grid { display: grid; gap: 8px; }
.person {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px;
  border: 1.5px solid var(--line2); border-radius: 12px; background: #FFFFFF; font-size: 13px; font-weight: 500;
}
.person:hover { border-color: var(--plum); }
.person[aria-pressed="true"] { border-color: var(--plum); background: var(--plum-t2); font-weight: 700; }
.avatar {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: #ECE9EF; color: var(--ink2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
}
.weekhead { padding: 16px 12px 2px 20px; display: flex; align-items: center; justify-content: space-between; }
.weekhead > div { display: flex; gap: 2px; }
.month { font-size: 16px; font-weight: 700; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 12px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 6px; border: 0; background: none; color: var(--ink); }
.day .dow { font-size: 12px; font-weight: 600; color: var(--muted); }
.day .num { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.day .dot { width: 5px; height: 5px; border-radius: 999px; background: transparent; }
.day.has .dot { background: var(--green); }
.day.full .num { color: #6E6A76; }
.day:disabled { cursor: default; }
.day:disabled .num { color: #9A95A1; text-decoration: line-through; }
.day:disabled .dow { color: #9A95A1; }
.day:not(:disabled):hover .num { background: var(--plum-t); }
.day[aria-pressed="true"] .num, .day[aria-pressed="true"]:hover .num { background: var(--grad); color: #FFFFFF; }
.sync { margin: 6px 20px 0; padding: 10px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sync svg { flex-shrink: 0; color: var(--green); }
.slots { padding: 0 20px 28px; }
.slot-group { margin-top: 12px; }
.slot-group h3 { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.slot-group h3 span { font-weight: 500; }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { min-height: 44px; border: 1.5px solid #DCD7E0; border-radius: 999px; background: #FFFFFF; font-size: 15px; font-weight: 600; }
.slot:hover { border-color: var(--plum); background: var(--plum-t2); }
.empty { margin-top: 16px; padding: 20px; border-radius: 12px; background: var(--ground); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 15px; font-weight: 600; line-height: 1.4; }

/* Buchen */
.stack { display: flex; flex-direction: column; gap: 20px; }
.card { border: 1px solid var(--line2); border-radius: 14px; background: #FFFFFF; }
.summary { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.summary .row { font-weight: 600; }
.when { display: flex; align-items: center; gap: 14px; }
.when > div { display: flex; flex-direction: column; gap: 2px; }
.when .icon-btn { margin-left: auto; color: var(--plum); }
.big { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.vline { width: 1px; height: 40px; background: #DCD7E0; }
.small { font-size: 13px; }
.sumline { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.sumline > div { display: flex; flex-direction: column; gap: 2px; }
.fields { display: flex; flex-direction: column; gap: 12px; }
.fields h2, .paysec h2 { font-size: 17px; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.field input { height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 10px; background: #FFFFFF; font-size: 15px; }
.field select { height: 42px; padding: 0 10px; border: 1px solid var(--field); border-radius: 9px; background: #FFFFFF; font-size: 14px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.err { font-size: 13px; font-weight: 600; color: var(--error); }
.paysec { display: flex; flex-direction: column; gap: 10px; }
.payopt { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1.5px solid var(--plum); border-radius: 12px; background: var(--plum-t2); }
.payopt > div { display: flex; flex-direction: column; gap: 3px; }
.payopt span { font-size: 13px; line-height: 1.45; color: #4A4652; }
.radio { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; border: 2px solid var(--plum); border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.radio::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--plum); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ink2); }
.consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--plum); }
.paybar {
  position: sticky; bottom: 0; margin: auto -20px 0; padding: 12px 20px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); background: #FFFFFF;
}
.paybar > div { display: flex; flex-direction: column; gap: 2px; }
.total { font-size: 20px; font-weight: 800; }

/* Bestätigung */
.done { padding: 32px 28px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.done-icon { width: 72px; height: 72px; border-radius: 999px; background: var(--green-t); color: var(--green); display: flex; align-items: center; justify-content: center; }
.done h1 { margin-top: 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.done p { font-size: 15px; line-height: 1.5; color: #4A4652; }
/* Erfolg (gebucht, abgesagt): Kopf im Muster der Fensterfolie */
.done.done-ok { padding: 32px 28px 28px; background: url(rauch.svg) center / cover no-repeat, var(--grad-salon); color: #FFFFFF; }
.done.done-ok h1, .done.done-ok p { color: #FFFFFF; text-shadow: 0 1px 10px rgba(40, 10, 50, .45); }
.done.done-ok .done-icon { background: #FFFFFF; box-shadow: 0 4px 16px rgba(40, 10, 50, .25); }
.details { margin: 24px 20px 0; padding: 4px 16px; display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.details dt { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.details dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.details dt:last-of-type, .details dd:last-of-type { border-bottom: 0; }
.after { padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 10px; }
.mylist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mylist li { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.mylist .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* ---------- Verwaltung ---------- */
.admin { position: relative; display: flex; flex-wrap: wrap; min-height: calc(100vh - 44px); padding-top: 8px; }
/* Rauchiger Streifen oben wie auf der Homepage (Buchungsseite und Dashboard) */
.phone::before { content: ""; display: block; flex: none; width: 100%; height: 8px; background: url(rauch.svg) center 45% / 100% auto no-repeat, var(--grad-salon); }
/* Im Dashboard liegt der Streifen fest oben und nimmt an der Aufteilung nicht teil (sonst verschiebt sich je nach Seitenlänge alles) */
.admin::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: url(rauch.svg) center 45% / 100% auto no-repeat, var(--grad-salon); }
.side { flex: 1 1 220px; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; background: #FFFFFF; border-right: 1px solid var(--line); }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; }
.side-brand > div { display: flex; flex-direction: column; }
.side-brand b { font-size: 15px; line-height: 1.3; }
.side-brand span { font-size: 12px; }
.side-links { display: flex; flex-direction: column; gap: 4px; }
.side-link {
  min-height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 12px;
  border: 0; border-radius: 10px; background: none; text-align: left; text-decoration: none; white-space: nowrap;
  color: var(--ink2); font-size: 14px; font-weight: 600;
}
.side-link:hover { background: var(--ground); color: var(--ink); }
.side-link[aria-current="page"] { background: var(--plum-t); color: var(--plum-d); font-weight: 700; }
.side-link.outline { margin-top: 16px; border: 1px solid var(--line2); color: var(--plum); }
.main { flex: 999 1 560px; min-width: 0; padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 820px) {
  .admin { flex-direction: column; flex-wrap: nowrap; }
  .side { flex: none; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-brand { padding: 4px 4px 10px; }
  .side-links { flex-direction: row; overflow-x: auto; }
  .side-link.outline { margin-top: 6px; align-self: flex-start; }
  .main { padding: 20px 16px 32px; }
}
.pagehead { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; }
.pagehead > div:first-child { margin-right: auto; max-width: 660px; display: flex; flex-direction: column; gap: 4px; }
.pagehead h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.lead { font-size: 14px; line-height: 1.5; color: #4A4652; }
.panel { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; }
.panel h2 { font-size: 17px; font-weight: 700; }
.daynav { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line2); border-radius: 12px; background: #FFFFFF; }
.daynav .icon-btn { width: 40px; height: 40px; }
.today-btn { height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; font-size: 14px; font-weight: 700; }
.today-btn:hover { background: var(--ground); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: 999px; background: #FFFFFF; font-size: 13px; color: var(--ink2); }
.pill i { width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.pill i.off { background: #9A95A1; }
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }

.cal { flex: 999 1 520px; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; }
.cal-scroll { overflow-x: auto; }
.cal-inner { min-width: 400px; }
.cal-head, .cal-body { display: grid; }
.cal-head { border-bottom: 1px solid var(--line); }
.cal-col-head { padding: 12px 14px; display: flex; align-items: center; gap: 10px; border-left: 1px solid var(--line); }
.cal-col-head .avatar { width: 32px; height: 32px; font-size: 13px; }
.cal-col-head > div { display: flex; flex-direction: column; }
.cal-col-head span { font-size: 12px; color: var(--muted); }
.gutter { position: relative; }
.gutter span { position: absolute; right: 10px; font-size: 12px; color: var(--muted); }
.col { position: relative; border-left: 1px solid var(--line); }
.hline { position: absolute; left: 0; right: 0; height: 1px; background: #F0EDF3; }
.blk {
  position: absolute; left: 6px; right: 6px; overflow: hidden; padding: 2px 8px;
  display: flex; flex-direction: column; gap: 1px; border-radius: 8px; font-size: 12px; line-height: 16px;
}
.blk.tall { padding: 6px 8px; }
.blk b, .blk span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk span { font-weight: 500; }
.blk-off { background: repeating-linear-gradient(135deg, #EEEBF1 0 6px, #F8F7FA 6px 12px); color: var(--muted); }
.blk-free { background: #EEF7F2; border: 1.5px dashed #2E8B5B; color: var(--green-d); }
.blk-busy { background: #E6E2EA; color: var(--ink2); }
.blk-soft { background: #FFFFFF; border: 1.5px dashed #B9B3C0; color: var(--muted); }
.blk-book { background: var(--plum); color: #FFFFFF; }
.blk-book.mine { background: #7E3485; box-shadow: inset 0 0 0 2px #F3C969; }
.nowline { position: absolute; left: 0; right: 0; height: 2px; background: var(--now); z-index: 2; }
.aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stats { margin-top: 12px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; }
.stats b { display: block; font-size: 20px; font-weight: 800; white-space: nowrap; }
.stats span { font-size: 12px; color: var(--muted); }
.bk { padding: 12px 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }
.bk-top { display: flex; align-items: flex-start; gap: 10px; }
.bk-time { width: 44px; flex-shrink: 0; font-size: 14px; font-weight: 800; }
.bk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bk-main b { font-size: 14px; }
.bk-main span { font-size: 12px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.bk-price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.bk-actions { margin-left: 54px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.st-da { background: var(--green-t); color: var(--green-d); }
.st-weg { background: #FFF1DB; color: #7A4B00; }
.st-plan { background: #ECE9EF; color: var(--ink2); }
.tag-new { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #F3C969; color: #3D2A00; font-size: 11px; font-weight: 800; vertical-align: 1px; }
.legend { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.legend div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.sw { width: 22px; height: 14px; flex-shrink: 0; border-radius: 4px; }

.dayrow { min-height: 60px; padding: 6px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-top: 1px solid var(--line); }
.dayname { width: 96px; font-size: 15px; font-weight: 600; }
.switch { width: 52px; height: 44px; flex-shrink: 0; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; }
.track { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #CFC9D4; transition: background 0.15s; }
.knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(24, 22, 29, 0.25); transition: left 0.15s; }
.switch[aria-checked="true"] .track { background: var(--plum); }
.switch[aria-checked="true"] .knob { left: 23px; }
.times { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.times input { height: 40px; padding: 0 10px; border: 1px solid var(--field); border-radius: 9px; background: #FFFFFF; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.exrow { padding: 10px 0; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.exrow b { width: 100px; flex-shrink: 0; }
.exrow .n { flex: 1; min-width: 0; }
.badge { padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--plum-d); font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.g { background: var(--green-t); color: var(--green-d); }
.note { padding: 14px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line2); border-radius: 12px; background: var(--ground); }
.note > div { display: flex; flex-direction: column; gap: 3px; }
.note > div span { font-size: 13px; line-height: 1.5; color: #4A4652; }
.note svg { flex-shrink: 0; margin-top: 1px; color: var(--plum-d); }
.note.warn { border-color: #F2DDB8; background: #FFF6E8; }
.note.warn svg { color: #7A4B00; }
.note.warn > div span { color: #4A3200; }
.steps { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.step { flex: 1 1 220px; display: flex; align-items: flex-start; gap: 12px; }
.step-n { width: 28px; height: 28px; flex-shrink: 0; border-radius: 999px; background: var(--plum-t); color: var(--plum-d); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.step > div { display: flex; flex-direction: column; gap: 2px; }
.step span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.pcard { flex: 1 1 300px; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; }
.phead { display: flex; align-items: center; gap: 12px; }
.phead .avatar { width: 48px; height: 48px; font-size: 18px; }
.phead > div { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.phead h2 { font-size: 17px; }
.phead .st { margin-left: auto; }
.acct { padding: 12px; display: flex; align-items: center; gap: 10px; border-radius: 10px; background: var(--ground); }
.acct svg { flex-shrink: 0; color: var(--plum-d); }
.acct > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 6px; padding: 0; font-size: 13px; font-weight: 700; color: var(--ink2); }
.check { min-height: 36px; display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--plum); }
.sublabel { font-size: 13px; font-weight: 700; color: var(--ink2); }
.svc-chips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-chips span { padding: 5px 10px; border-radius: 999px; background: var(--chip); color: var(--plum-d); font-size: 12px; font-weight: 600; }
.pfoot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* ---------- Hinweis-Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; max-width: min(92vw, 480px);
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #FFFFFF;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Dashboard (verwaltung.html) ---------- */
.side .side-link.cta { margin-top: 8px; justify-content: center; background: var(--grad); color: #FFFFFF; }
.side .side-link.cta:hover { background: var(--grad-d); color: #FFFFFF; }
button.blk { border: 0; text-align: left; cursor: pointer; font: inherit; font-size: 12px; }
button.blk:focus-visible { outline: 3px solid #9B59A3; outline-offset: 1px; z-index: 3; }
.blk-book.tel { background: #3D5A80; }
.blk-block { background: #E6E2EA; color: var(--ink2); border-left: 4px solid #9A95A1; }
.col-klick { position: absolute; inset: 0; width: 100%; border: 0; background: none; cursor: copy; padding: 0; }
.col-klick:focus-visible { outline: 3px solid #9B59A3; outline-offset: -3px; }
.wk { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.wk-day { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; display: flex; flex-direction: column; gap: 6px; }
.wk-day.heute { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.wk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wk-head a { font-weight: 800; color: var(--ink); text-decoration: none; }
.wk-item { width: 100%; min-height: 44px; padding: 6px 8px; display: flex; gap: 8px; align-items: flex-start; border: 0; border-radius: 8px; background: var(--ground); text-align: left; font: inherit; font-size: 13px; cursor: pointer; }
.wk-item:hover { background: var(--plum-t); }
.wk-item b { width: 42px; flex-shrink: 0; }
.wk-item span { min-width: 0; overflow-wrap: anywhere; }
.art { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; vertical-align: 1px; margin-right: 4px; }
.art-online { background: var(--plum); color: #FFFFFF; }
.art-telefon { background: #3D5A80; color: #FFFFFF; }
.art-block, .art-kalender { background: #DDD8E2; color: var(--ink2); }
dialog.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 20px 60px rgba(24, 22, 29, 0.3); }
dialog.modal::backdrop { background: rgba(24, 22, 29, 0.45); }
.modal-in { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-head h2 { font-size: 20px; font-weight: 800; }
.seg { display: flex; padding: 3px; gap: 3px; border-radius: 12px; background: var(--ground); }
.seg button { flex: 1; min-height: 44px; border: 0; border-radius: 9px; background: none; font-weight: 700; color: var(--ink2); }
.seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--plum-d); box-shadow: 0 1px 3px rgba(24, 22, 29, 0.12); }
.field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 10px; background: #FFFFFF; font-size: 16px; }
.field textarea { min-height: 72px; resize: vertical; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.knoepfe > * { flex: 1 1 140px; }
.infozeilen { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.infozeilen dt { color: var(--muted); }
.infozeilen dd { margin: 0; overflow-wrap: anywhere; }
.loginbox { max-width: 380px; margin: 10vh auto; padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; }
.btn-danger { min-height: 48px; padding: 0 18px; border: 1.5px solid #E7B9B4; border-radius: 12px; background: #FFFFFF; color: var(--error); font-weight: 700; }
.btn-danger:hover { background: #FDF1F0; }
.suchfeld { display: flex; gap: 10px; }
.suchfeld input { flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 10px; font-size: 16px; }
.cal-inner.dash { min-width: 0; }
@media (max-width: 820px) {
  .side .side-link.cta { position: fixed; right: 16px; bottom: 16px; z-index: 20; min-height: 56px; margin: 0; padding: 0 22px; border-radius: 999px; box-shadow: 0 8px 24px rgba(90, 30, 108, 0.35); }
  .main { padding-bottom: 96px; }
}
.vorschlaege { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.vorschlaege:empty { display: none; }
.blk-book.tw { background: #00756A; }
.art-treatwell { background: #00756A; color: #FFFFFF; }
