/* GENERATED from termin-test.html (scripts/mache-termin-buchung.py) */
/* dark like the real booking page uci.group/termin: page in the uci.group colours, the planner in Cal.com's dark look */
:root {
  --bg: #1f2836; --border: #3d4a5e; --page-muted: #a3adbd;
  --card: #2a3445; --line: #3d4a5e; --soft: #36435a; --field: #232d3c; --text: #fafafa; --body: #d6dce5; --muted: #a3adbd;
  --accent: #f08c00; --accent-2: #ffb547; --accent-soft: rgba(240,140,0,.12); --accent-ink: #ffb547; --on-accent: #111111;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Inter", system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text);
       line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: inherit; text-decoration: none; }
.demo { text-align: center; font-size: 12.5px; color: var(--accent-ink); background: var(--accent-soft); padding: 7px 16px; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--border); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo .mark { width: 26px; height: 26px; display: block; }
.logo .word span { color: var(--accent); }
nav a.link { color: var(--page-muted); font-size: 15px; transition: color .2s; }
nav a.link:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 8px; padding: 2px; }
.lang button { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--page-muted); background: none; border: 0; border-radius: 6px; padding: 4px 8px; }
.lang button[aria-pressed="true"] { background: var(--accent); color: #111; }
@media (max-width: 400px) { nav a.link { display: none; } }
.intro { max-width: 760px; margin: 0 auto; padding: 48px 24px 8px; text-align: center; }
.intro h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin-bottom: 10px; }
.intro p { color: var(--page-muted); }
.page { max-width: 1060px; margin: 0 auto; padding: 24px 20px 32px; }
@media (max-width: 640px) { .page { padding: 12px 12px 24px; } .intro { padding: 28px 16px 4px; } nav { padding: 12px 16px; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0,0,0,.25);
        display: grid; grid-template-columns: 280px 1fr 250px; min-height: 480px; }
.card.form-view { grid-template-columns: 280px 1fr; }
.card > section { padding: 24px; }
.card > section + section { border-left: 1px solid var(--line); }

/* left: the event type */
.host { display: grid; gap: 6px; justify-items: start; color: var(--muted); font-size: 14px; font-weight: 500; }
.avatar svg { width: 24px; height: 37px; display: block; }
.host-logo { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; }
.meta li.when { align-items: flex-start; font-weight: 600; color: var(--text); }
.form label .req { color: var(--text); font-weight: 600; }
.form .req i { font-style: normal; }
.guests { display: grid; gap: 8px; }
.add-guest { justify-self: start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--body); font-size: 14.5px; font-weight: 500; padding: 6px 2px; }
.add-guest svg { width: 17px; height: 17px; }
.add-guest:hover { color: var(--text); }
.avatar { width: auto; height: auto; display: grid; place-items: center;
          font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.event h1 { font-size: 22px; letter-spacing: -0.02em; margin: 12px 0 14px; }
.meta { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--body); }
.meta li { display: flex; align-items: center; gap: 10px; }
.meta svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.tz { appearance: none; border: 0; background-color: transparent; padding: 2px 18px 2px 0; max-width: 200px; font-size: 14.5px; color: var(--body);
      background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
      background-position: right 6px center, right 2px center; background-size: 4px 4px; background-repeat: no-repeat; text-overflow: ellipsis; }
.tz:focus-visible { outline: 2px solid var(--accent); border-radius: 4px; }
.chosen { margin-top: 16px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 14px; font-weight: 600; }
.desc { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* middle: the month */
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.month-head h2 { font-size: 16px; font-weight: 600; }
.month-head h2 span { color: var(--muted); font-weight: 400; }
.arrows { display: flex; gap: 4px; }
.arrows button { width: 32px; height: 32px; border-radius: 8px; border: 0; background: none; color: var(--body); font-size: 18px; line-height: 1; }
.arrows button:hover:not(:disabled) { background: var(--soft); }
.arrows button:disabled { opacity: .3; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dow { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding-bottom: 4px; }
.day { aspect-ratio: 1; border-radius: 8px; border: 0; background: none; font-size: 15px; font-weight: 500; color: #67748a;
       position: relative; display: grid; place-items: center; max-height: 64px; }
.day.free { background: var(--soft); color: var(--text); font-weight: 600; }
.day.free:hover { outline: 1.5px solid var(--accent); }
.day.sel { background: var(--accent); color: var(--on-accent); }
.day.sel:hover { outline: none; }
.day.today::after { content: ""; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.day:disabled { cursor: default; }
.day.sel.today::after { background: var(--on-accent); }
.tz option { background: #2a3445; color: #fafafa; }
.day:focus-visible { outline: 2px solid var(--accent); }

/* right: the times */
.times-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.times-head h3 { font-size: 15px; font-weight: 600; }
.times-head h3 span { color: var(--muted); font-weight: 400; }
.fmt { display: flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.fmt button { border: 0; background: none; border-radius: 6px; padding: 2px 7px; font-size: 12px; color: var(--muted); }
.fmt button[aria-pressed="true"] { background: var(--soft); color: var(--text); font-weight: 600; }
.times { display: grid; gap: 8px; max-height: 400px; overflow-y: auto; }
.slot { border: 1px solid var(--line); background: var(--field); border-radius: 10px; padding: 11px 12px; font-size: 15px; font-weight: 600;
        display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .15s, background .15s; }
.slot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4cb782; }
.slot:hover { border-color: var(--accent); background: var(--accent-soft); }
.slot:focus-visible { outline: 2px solid var(--accent); }
.empty { color: var(--muted); font-size: 14px; padding: 8px 0; }

/* form */
.form { display: grid; gap: 16px; align-content: start; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form label span { color: var(--muted); font-weight: 400; }
.form input, .form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; background: var(--field); }
.form textarea { min-height: 90px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form .note { font-size: 12.5px; color: var(--muted); }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.btn { border-radius: 10px; padding: 10px 18px; font-size: 15px; font-weight: 600; border: 1px solid var(--line); background: var(--field); }
.btn:hover { background: var(--soft); }
.btn.ghost { border-color: transparent; background: none; color: var(--body); }
.btn.ghost:hover { color: var(--text); background: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.ts { min-height: 65px; }
.form details.note summary { cursor: pointer; width: fit-content; }
.form details.note summary:hover { color: var(--text, #fff); }
.form details.note p { margin: 6px 0 0; }
.err { color: #ff8a80; font-size: 13px; font-weight: 500; }

/* confirmation */
.done { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 36px 28px; text-align: center;
        box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.check { width: 52px; height: 52px; border-radius: 50%; background: rgba(76,195,138,.15); color: #4cc38a; display: grid; place-items: center; margin: 0 auto 14px; font-size: 26px; }
.done h2 { font-size: 22px; letter-spacing: -0.02em; }
.done > p { color: var(--muted); margin-top: 6px; }
.done dl { text-align: left; display: grid; grid-template-columns: 90px 1fr; gap: 10px 14px; margin: 24px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.done dt { color: var(--muted); }
.done dd { font-weight: 500; overflow-wrap: anywhere; }

/* brand page: the bar shows the brand's logo; the list of its meeting types as in Cal.com */
.nav-logo { height: 28px; width: auto; max-width: 120px; display: block; object-fit: contain; }
.profile { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
           box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.profile-head { display: grid; justify-items: center; gap: 8px; padding: 28px 24px 22px; border-bottom: 1px solid var(--line); }
.profile-head .host-logo { height: 48px; object-position: center; }
.profile-head .avatar svg { width: 31px; height: 48px; }
.profile-head h2 { font-size: 20px; letter-spacing: -0.02em; }
.types { display: grid; }
.type { display: grid; gap: 8px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 18px 56px 18px 24px;
        transition: background .15s; position: relative; cursor: pointer; }
.type:last-child { border-bottom: 0; }
.type:hover { background: #313d50; }
/* the arrow on the right says: click here (as in Cal.com) */
.type-pfeil { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; color: var(--muted); transition: color .15s, transform .15s; }
.type:hover .type-pfeil { color: var(--accent); transform: translate(3px, -50%); }
.type:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.type-name { font-weight: 600; font-size: 16px; }
.type-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; background: var(--soft); color: var(--body); border-radius: 6px; padding: 2px 8px; font-size: 12.5px; font-weight: 500; }
.chip svg { width: 13px; height: 13px; }
.profile .empty { padding: 24px; text-align: center; }
/* the brand's other meeting types, to switch inside the planner */
.arten { display: grid; gap: 6px; margin: -4px 0 16px; }
.art { text-align: left; border: 1px solid var(--line); background: var(--field); color: var(--body); border-radius: 8px; padding: 7px 10px; font-size: 13.5px; font-weight: 500; }
.art:hover { border-color: var(--accent); color: var(--text); }
.art.aktiv { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }

/* laufende Blöcke wie auf der Startseite (bits.js) hinter allem */
#bits { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.demo, nav, .intro, .page, footer { position: relative; z-index: 1; }
footer { text-align: center; padding: 20px; font-size: 13px; color: var(--muted); }
footer { color: var(--page-muted); }
footer b { color: #fff; font-weight: 600; }
footer b span { color: var(--accent); }

@media (max-width: 900px) {
  .card, .card.form-view { grid-template-columns: 1fr; }
  .card > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .times { max-height: none; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}
@media (max-width: 640px) { .card > section { padding: 18px 16px; } .grid { gap: 4px; } }
