*{box-sizing:border-box}
:root{color-scheme:light;--bg:#f4f4fa;--ink:#221b36;--muted:#615a72;--line:#e6e2ed;--accent:#6741ca;--soft:#efe8ff;--navy:#251843;--white:#fff}
body{margin:0;color:var(--ink);background:var(--bg);font:1rem/1.5 "Segoe UI",sans-serif}
button,input,textarea{font:inherit} button,.button{cursor:pointer} button:disabled{cursor:default}
a{color:inherit} a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a87bff;outline-offset:3px}
.shell{width:min(1120px,calc(100% - 64px));margin-inline:auto}
.top,.footer{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}
.top{min-height:100px;border-bottom:1px solid var(--line);margin-bottom:64px}
.brand{display:inline-flex;align-items:center;gap:12px;color:var(--ink);font-weight:750;text-decoration:none}
.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--accent);color:white;font-size:16px}
.top-label,.footer{font-size:.875rem}
.layout{display:grid;grid-template-columns:minmax(0, .76fr) minmax(0, 1.24fr);gap:20px;align-items:stretch}
.intro,.panel{border-radius:24px;padding:clamp(24px,4vw,48px)}
.intro{background:radial-gradient(ellipse at 18% 110%,#533286 0%,transparent 62%),var(--navy);color:white;display:flex;flex-direction:column;justify-content:center;min-height:505px}
.eyebrow{display:flex;align-items:center;gap:10px;color:#e3d3ff;margin:0 0 24px;font-size:.875rem;font-weight:650}
.eyebrow span{height:8px;width:8px;border-radius:50%;background:#c59bff}
h1,h2,h3,p{overflow-wrap:anywhere}
h1{font-size:clamp(2.4rem,4.1vw,3.8rem);line-height:1.04;letter-spacing:-.047em;margin:0 0 20px;font-weight:760;hyphens:auto}
.intro-copy{color:#e4daef;margin:0 0 34px;max-width:31ch}
.facts{display:grid;gap:12px;margin:0;padding:19px 0 0;border-top:1px solid #ffffff36}
.facts div{display:flex;gap:12px;justify-content:space-between;font-size:.9rem}.facts dt{color:#e4daef}.facts dd{margin:0;font-weight:650;text-align:right}
.panel{background:white;border:1px solid var(--line);box-shadow:0 14px 40px #2518430a;min-width:0}
.panel h1,.panel h2{color:var(--ink);margin:0 0 9px;font-size:clamp(1.65rem,3vw,2.1rem);letter-spacing:-.035em;line-height:1.15}
.helper,.muted{color:var(--muted)}.helper{margin:0 0 25px}
.monthbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.monthbar strong{text-transform:capitalize}.nav{display:flex;gap:7px}.nav button{width:37px;height:37px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--accent);font-size:1.4rem;line-height:1}.nav button:disabled{opacity:.35}
.grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.grid .weekday{font-size:.875rem;color:var(--muted);padding:4px 0 8px}
.day{min-height:42px;border:1px solid transparent;border-radius:12px;background:var(--soft);color:#4b288f;font-weight:700;padding:0}
.day:hover:not(:disabled),.slot:hover,.nav button:hover:not(:disabled){border-color:var(--accent)}
.day:disabled{color:#777181;background:#f8f7fb}
.day.selected{background:var(--accent);color:white}
.slot-area{margin-top:22px;border-top:1px solid var(--line);padding-top:15px}
.slot-area h3{margin:0 0 10px;font-size:1rem}
.slots,.actions{display:flex;gap:8px;flex-wrap:wrap}
.slot,.secondary,.button{border:1px solid var(--line);border-radius:10px;background:white;color:var(--accent);font-weight:650;padding:9px 13px;text-decoration:none;display:inline-block}
.primary{border:1px solid var(--accent);border-radius:10px;background:var(--accent);color:white;font-weight:700;padding:10px 15px;text-decoration:none;display:inline-block}
.primary:hover{background:#5330ae}.primary:disabled{opacity:.55}
.status{color:#8f2450;min-height:1.5em;margin:8px 0}.status:empty{display:none}
form{display:grid;gap:14px}label{display:grid;gap:4px;font-weight:600;font-size:.9rem}
input:not([type=checkbox]),textarea{width:100%;border:1px solid #d5cfdf;background:white;border-radius:9px;color:var(--ink);padding:9px 12px}
textarea{resize:vertical;min-height:78px}.check{display:flex;align-items:start;gap:9px;color:var(--muted)}input[type=checkbox]{accent-color:var(--accent);margin-top:.25em}
fieldset{border:1px solid var(--line);border-radius:12px;min-width:0}.week-options{display:flex;flex-wrap:wrap;gap:12px}
.summary{background:var(--soft);border-radius:13px;padding:14px 16px;margin:15px 0 20px}
.footer{padding:25px 0 32px}.admin{grid-template-columns:1fr}.admin .intro{display:none}.admin .panel{max-width:850px;width:100%;margin:auto}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.booking{border-top:1px solid var(--line);padding:14px 0;overflow-wrap:anywhere}.booking p{margin:4px 0}.booking .actions{margin-top:8px}
@media(max-width:760px){.shell{width:calc(100% - 32px)}.top{min-height:67px;margin-bottom:22px}.layout{grid-template-columns:1fr;gap:12px}.intro{min-height:0}.eyebrow{margin-bottom:13px}.intro-copy{margin-bottom:20px}.footer{padding-top:18px}}
@media(max-width:360px){.shell{width:calc(100% - 20px)}.intro,.panel{padding:17px}.grid{gap:3px}.day{min-height:39px}}

/* Terminlotse visual identity */
:root {
  --bg: #eef3f8;
  --ink: #13253c;
  --muted: #53647a;
  --line: #dce5ef;
  --accent: #1857ae;
  --soft: #eaf3ff;
  --navy: #102640;
}
body { background: linear-gradient(160deg,#f8fbff 8%,var(--bg) 67%); min-height:100vh; }
.shell { width:min(1090px,calc(100% - 64px)); }
.top { min-height:83px; margin-bottom:48px; }
.brand { font-size:1.3rem; letter-spacing:-.04em; font-weight:760; gap:11px; }
.mark {
  width:40px; height:40px; border-radius:11px;
  position:relative; background:#174c95; color:white;
  box-shadow:0 3px 7px #174c952d;
}
.mark::before {
  content:""; position:absolute; width:19px; height:17px;
  top:12px; left:9px; border:2px solid currentColor; border-radius:4px;
  background:linear-gradient(currentColor,currentColor) center 4px / 100% 1.5px no-repeat;
}
.mark::after {
  content:""; position:absolute; width:2px; height:6px; top:9px; left:15px;
  background:currentColor; border-radius:2px; box-shadow:8px 0 currentColor;
}
.mark span {
  position:absolute; left:17px; top:21px; width:7px; height:4px;
  border:solid #a8e8f4; border-width:0 0 2px 2px; transform:rotate(-45deg);
}
.top-label { font-weight:600; }
.layout {
  grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
  gap:0; border:1px solid var(--line); border-radius:23px;
  overflow:hidden; background:white;
  box-shadow:0 22px 65px #18355316,0 3px 10px #18355308;
}
.intro {
  position:relative; isolation:isolate; justify-content:flex-start; min-height:470px;
  padding:clamp(28px,4.4vw,48px);
  border-radius:0;
  background:radial-gradient(ellipse at 2% 100%,#1c5186 0%,transparent 68%),var(--navy);
}
.intro::after {
  content:""; position:absolute; z-index:-1; inset:0; pointer-events:none; opacity:.23;
  background:repeating-radial-gradient(circle at 100% 100%,transparent 0 30px,#93c9ef 31px,transparent 32px 57px);
  mask-image:linear-gradient(150deg,transparent 40%,black);
}
h1 { font-size:clamp(2.15rem,4vw,3.6rem); font-weight:760; margin:4px 0 20px; line-height:1.06; }
.intro-copy { color:#d5e4f4; margin:0 0 30px; line-height:1.65; }
.facts { margin-top:auto; padding-top:20px; gap:14px; border-color:#a6c4df53; }
.facts dt { color:#d5e4f4; }
.panel { border:0; border-radius:0; box-shadow:none; padding:clamp(26px,4.4vw,48px); }
.panel h1,.panel h2 { font-weight:750; }
.helper { margin-bottom:27px; }
.monthbar { margin-bottom:13px; }
.nav button { width:40px; height:40px; border-radius:9px; }
.grid { gap:6px; }
.grid .weekday { font-weight:650; }
.day { min-height:44px; border-radius:9px; color:#164e9b; }
.day:disabled { background:#f6f8fb; color:#65778d; }
.day.selected { background:var(--accent); color:white; }
.primary:hover { background:#12488f; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline-color:#3981d1; }
input:not([type=checkbox]),textarea { border-color:#cdd9e7; }
.slot-area { margin-top:23px; padding-top:17px; }
.footer { padding:22px 0 32px; }
.footer a { text-underline-offset:3px; }
.admin { grid-template-columns:1fr; max-width:850px; margin:auto; }
@media(max-width:760px) {
  .shell { width:calc(100% - 32px); }
  .top { min-height:66px; margin-bottom:20px; }
  .layout { grid-template-columns:1fr; border-radius:17px; }
  .intro { min-height:0; }
  .intro-copy { margin-bottom:20px; }
  .facts { margin-top:0; }
}
@media(max-width:400px) {
  .shell { width:calc(100% - 20px); }
  .intro,.panel { padding:18px; }
  .grid { gap:4px; }
  .admin-grid { grid-template-columns:1fr; }
}

/* Reeluxe color palette */
:root {
  color-scheme:dark;
  --bg:#0b0b0d;
  --ink:#f7f5f2;
  --muted:#b9b5b1;
  --line:#36302c;
  --accent:#ffab35;
  --soft:#302317;
  --navy:#120f0e;
}
body { background:var(--bg); background-image:radial-gradient(ellipse at 42% 0%,#20150c,transparent 58%); }
.top { border-color:#342a21; }
.top-label { text-decoration:none; text-underline-offset:4px; }
.top-label:hover { color:var(--accent); text-decoration:underline; }
.mark { background:#ffab35; color:#201309; box-shadow:0 3px 14px #ffa72b32; }
.mark span { border-color:#201309; }
.layout { background:#161413; border-color:#3b3028; box-shadow:0 22px 65px #0007; }
.intro { background:radial-gradient(ellipse at 21% 108%,#4a2710,transparent 74%),var(--navy); }
.intro::after {
  background:repeating-radial-gradient(circle at 100% 100%,transparent 0 30px,#e6a354 31px,transparent 32px 57px);
  opacity:.25;
}
.intro-copy,.facts dt { color:#d5c9bf; }
.facts { border-color:#f5be7f38; }
.panel { background:#161413; }
.nav button,.slot,.secondary,.button { background:#201b17; border-color:#45372c; color:#ffbb68; }
.day { background:#302317; color:#ffd299; border-color:#3f2a17; }
.day:disabled { background:#1b1918; color:#9b938b; border-color:transparent; }
.day.selected,.primary { background:#ffab35; color:#201309; }
.primary:hover { background:#ffbe61; }
.slot:hover,.secondary:hover,.button:hover,.nav button:hover:not(:disabled) { border-color:var(--accent); }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline-color:#ffc06d; }
input:not([type=checkbox]),textarea { background:#201b17; border-color:#554236; }
.status { color:#ffbc83; }
