/* Terminplaner — eigenständige Zusatzdatei für /termine/ */
.termine-page{--termine-accent:#38bdf8}.termine-hero{min-height:auto;padding-top:42px}.termine-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.termine-mini-stats span,.termine-admin-form,.termine-list,.termine-day-view,.termine-calendar{border:1px solid var(--border);background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.04));border-radius:var(--radius-sm);box-shadow:var(--shadow)}.termine-mini-stats span{padding:16px}.termine-mini-stats strong{display:block;font-size:2rem;line-height:1;color:var(--theme-accent)}.termine-flash{padding:16px 18px;border-radius:18px;border:1px solid var(--border);background:rgba(255,255,255,.06)}.termine-flash.success{border-color:rgba(16,185,129,.35);background:rgba(16,185,129,.12);color:#86efac}.termine-flash.error{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.12);color:#fecaca}.termine-month-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}.termine-calendar{display:grid;grid-template-columns:minmax(44px,.42fr) repeat(7,minmax(0,1fr));overflow:hidden}.termine-weekday{padding:12px;text-align:center;font-weight:800;color:var(--theme-accent);background:rgba(255,255,255,.06);border-bottom:1px solid var(--border)}.termine-day{min-height:126px;padding:10px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:6px;transition:background .2s ease,transform .2s ease}.termine-day:hover{background:color-mix(in srgb,var(--theme-primary) 12%,transparent);transform:translateY(-1px)}.termine-day.empty{background:rgba(255,255,255,.025)}.termine-day.selected{outline:2px solid var(--theme-primary);outline-offset:-2px}.termine-day.today .termine-day-number{background:var(--theme-primary);color:#041011}.termine-day-number{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:999px;font-weight:900}.termine-chip{display:block;border-radius:10px;padding:4px 7px;background:rgba(56,189,248,.16);border:1px solid rgba(56,189,248,.28);font-size:.78rem;line-height:1.25;color:#bae6fd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.termine-more{font-size:.78rem;color:var(--muted)}.termine-day-view{overflow:hidden}.termine-slot{display:grid;grid-template-columns:92px 1fr;min-height:58px;border-bottom:1px solid var(--border)}.termine-slot:last-child{border-bottom:0}.termine-slot.full-hour{background:rgba(255,255,255,.035)}.termine-slot-time{padding:14px;font-weight:900;color:var(--theme-accent);border-right:1px solid var(--border)}.termine-slot-content{padding:10px 14px;display:flex;align-items:center}.termine-free{color:var(--muted);font-size:.9rem}.termine-event{width:100%;border:1px solid color-mix(in srgb,var(--theme-primary) 34%,var(--border));border-radius:14px;padding:10px 12px;background:color-mix(in srgb,var(--theme-primary) 14%,transparent)}.termine-event strong{display:block}.termine-event span{display:block;color:var(--theme-accent);font-weight:800;font-size:.9rem}.termine-event p{margin:.35rem 0 0}.termine-admin-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.termine-admin-form{padding:22px}.termine-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.termine-inline-form{margin-bottom:18px}.termine-list{margin-top:22px;padding:18px}.termine-list-item{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}.termine-list-item:last-child{border-bottom:0}.termine-list-item span{display:block;color:var(--theme-accent);font-size:.92rem}.termine-list-item p{margin:.4rem 0 0}html[data-color-mode="light"] .termine-mini-stats span,html[data-color-mode="light"] .termine-admin-form,html[data-color-mode="light"] .termine-list,html[data-color-mode="light"] .termine-day-view,html[data-color-mode="light"] .termine-calendar{background:rgba(255,255,255,.82)}html[data-color-mode="light"] .termine-chip{background:#e0f2fe;border-color:#bae6fd;color:#075985}html[data-color-mode="light"] .termine-event{background:#eff6ff;color:#0f172a}html[data-color-mode="light"] .termine-event span{color:#2563eb}html[data-color-mode="light"] .termine-flash.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}html[data-color-mode="light"] .termine-flash.error{color:#991b1b;background:#fef2f2;border-color:#fecaca}@media (max-width:860px){.termine-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.termine-weekday{display:none}.termine-day.empty{display:none}.termine-admin-grid,.termine-two-cols,.termine-mini-stats{grid-template-columns:1fr}.termine-slot{grid-template-columns:72px 1fr}.termine-day{min-height:104px}.termine-list-item{display:block}.termine-list-item form{margin-top:10px}}@media (max-width:520px){.termine-calendar{grid-template-columns:1fr}.termine-month-nav .btn{width:100%}.termine-slot{grid-template-columns:1fr}.termine-slot-time{border-right:0;border-bottom:1px solid var(--border);padding:8px 12px}.termine-slot-content{padding:10px 12px}}


/* Österreichische gesetzliche Feiertage */
.termine-day.holiday{background:linear-gradient(180deg,rgba(248,113,113,.18),rgba(248,113,113,.075));border-color:rgba(248,113,113,.38)}
.termine-day.holiday:hover{background:linear-gradient(180deg,rgba(248,113,113,.24),rgba(248,113,113,.1))}
.termine-day.holiday .termine-day-number{background:#dc2626;color:#fff;box-shadow:0 8px 20px rgba(220,38,38,.28)}
.termine-holiday-chip{display:block;border-radius:10px;padding:4px 7px;background:rgba(220,38,38,.16);border:1px solid rgba(248,113,113,.36);color:#fecaca;font-weight:800;font-size:.78rem;line-height:1.25}
.termine-holiday-note{margin:-8px 0 18px;padding:14px 16px;border-radius:16px;border:1px solid rgba(248,113,113,.36);background:rgba(248,113,113,.12);color:#fecaca}
html[data-color-mode="light"] .termine-day.holiday,html[data-theme="light"] .termine-day.holiday{background:linear-gradient(180deg,rgba(254,226,226,.95),rgba(255,241,242,.85));border-color:rgba(220,38,38,.28)}
html[data-color-mode="light"] .termine-holiday-chip,html[data-theme="light"] .termine-holiday-chip{background:#fff1f2;border-color:rgba(220,38,38,.28);color:#991b1b}
html[data-color-mode="light"] .termine-holiday-note,html[data-theme="light"] .termine-holiday-note{background:#fff1f2;border-color:rgba(220,38,38,.28);color:#991b1b}


/* Kalenderwoche im Monatskalender */
.termine-kw{min-height:126px;padding:10px 6px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;align-items:flex-start;justify-content:center;color:var(--muted);font-weight:900;font-size:.78rem;background:rgba(255,255,255,.045);letter-spacing:.02em}
.termine-kw-head{font-size:.8rem;color:var(--muted)}
html[data-color-mode="light"] .termine-kw,html[data-theme="light"] .termine-kw{background:rgba(15,23,42,.035);color:#64748b}
@media (max-width:720px){.termine-calendar{grid-template-columns:minmax(34px,.36fr) repeat(7,minmax(0,1fr))}.termine-kw{min-height:92px;padding:8px 3px;font-size:.68rem}.termine-kw-head{font-size:.68rem}}


/* Cache-sicherer Fix: KW-Spalte erzwingt 8 Kalender-Spalten */
.termine-calendar{grid-template-columns:minmax(44px,.42fr) repeat(7,minmax(0,1fr))}
@media (max-width:720px){.termine-calendar{grid-template-columns:minmax(34px,.36fr) repeat(7,minmax(0,1fr))}}


/* Smartphone-Kalender: ausreichend breite Tagesfelder, damit KW und Feiertagsnotizen lesbar bleiben. */
@media (max-width:720px){
  .termine-calendar{display:grid;grid-template-columns:42px repeat(7,minmax(96px,1fr));overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;max-width:100%;border-radius:18px}
  .termine-weekday{min-width:0;padding:9px 6px;font-size:.78rem;position:sticky;top:0;z-index:2}
  .termine-kw{min-height:112px;min-width:42px;padding:9px 4px;font-size:.68rem;position:sticky;left:0;z-index:3;background:rgba(15,23,42,.92);backdrop-filter:blur(8px)}
  .termine-kw-head{position:sticky;left:0;z-index:4;background:rgba(15,23,42,.95);font-size:.68rem;color:#cbd5e1}
  .termine-day{min-height:112px;min-width:96px;padding:8px;scroll-snap-align:start}
  .termine-day-number{width:26px;height:26px;font-size:.86rem}
  .termine-chip,.termine-holiday-chip{font-size:.72rem;line-height:1.25;padding:4px 6px;white-space:normal;overflow-wrap:anywhere;hyphens:auto}
  .termine-more{font-size:.7rem}
  .termine-holiday-note{margin:0 0 14px;padding:12px 13px;font-size:.92rem;line-height:1.4}
}
@media (max-width:720px){html[data-color-mode="light"] .termine-kw,html[data-theme="light"] .termine-kw{background:rgba(248,250,252,.96);color:#475569}html[data-color-mode="light"] .termine-kw-head,html[data-theme="light"] .termine-kw-head{background:rgba(248,250,252,.98);color:#475569}}
@media (max-width:420px){
  .termine-calendar{grid-template-columns:40px repeat(7,minmax(104px,1fr))}
  .termine-day{min-width:104px;min-height:118px}
  .termine-holiday-chip{font-size:.72rem}
}


/* Smartphone-/schmale Desktopansicht v4: vollständige Wochenmatrix stabil halten. */
.termine-calendar{grid-auto-flow:row;align-items:stretch}
@media (max-width:720px){
  .termine-calendar{grid-template-columns:42px repeat(7,minmax(104px,1fr));overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;max-width:100%;scroll-snap-type:x proximity}
  .termine-kw,.termine-kw-head{position:relative;left:auto;z-index:auto}
  .termine-kw{min-height:118px;display:flex;align-items:flex-start;justify-content:center;background:rgba(255,255,255,.055)}
  .termine-day{min-width:104px;min-height:118px;white-space:normal}
  .termine-day.empty{min-width:104px;min-height:118px}
  .termine-holiday-chip,.termine-chip{white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
}
@media (max-width:420px){
  .termine-calendar{grid-template-columns:40px repeat(7,minmax(112px,1fr))}
  .termine-day,.termine-day.empty{min-width:112px;min-height:124px}
  .termine-kw{min-height:124px}
}


/* Terminplaner v5: Wochen als eigene Zeilen, KW bleibt links und rutscht nie zwischen Tage. */
.termine-calendar-wrap{border:1px solid var(--border);background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.04));border-radius:var(--radius-sm);box-shadow:var(--shadow);overflow:hidden;max-width:100%}
.termine-calendar-row{display:grid;grid-template-columns:minmax(48px,.42fr) repeat(7,minmax(0,1fr));align-items:stretch}
.termine-calendar-row+.termine-calendar-row{border-top:1px solid var(--border)}
.termine-calendar-head{border-bottom:1px solid var(--border)}
.termine-calendar-row .termine-weekday{border-bottom:0;border-right:1px solid var(--border)}
.termine-calendar-row .termine-weekday:last-child{border-right:0}
.termine-calendar-row .termine-day,.termine-calendar-row .termine-kw{border-bottom:0}
.termine-calendar-row .termine-day:last-child{border-right:0}
.termine-calendar-row .termine-kw{min-height:126px;position:relative;left:auto;z-index:auto;background:rgba(255,255,255,.045)}
.termine-calendar-row .termine-kw-head{position:relative;left:auto;z-index:auto}
@media (max-width:720px){
  .termine-calendar-wrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border-radius:18px}
  .termine-calendar-row{grid-template-columns:48px repeat(7,minmax(104px,1fr));min-width:776px}
  .termine-calendar-row .termine-kw,.termine-calendar-row .termine-kw-head{position:sticky;left:0;z-index:5;box-shadow:8px 0 14px rgba(0,0,0,.16)}
  .termine-calendar-row .termine-kw{min-height:118px;background:rgba(15,23,42,.96);color:#cbd5e1}
  .termine-calendar-row .termine-kw-head{background:rgba(15,23,42,.98);color:#cbd5e1}
  .termine-calendar-row .termine-day,.termine-calendar-row .termine-day.empty{min-width:104px;min-height:118px}
}
@media (max-width:420px){
  .termine-calendar-row{grid-template-columns:46px repeat(7,minmax(112px,1fr));min-width:830px}
  .termine-calendar-row .termine-day,.termine-calendar-row .termine-day.empty{min-width:112px;min-height:124px}
  .termine-calendar-row .termine-kw{min-height:124px}
}
@media (max-width:720px){
  html[data-color-mode="light"] .termine-calendar-row .termine-kw,html[data-theme="light"] .termine-calendar-row .termine-kw{background:rgba(248,250,252,.98);color:#475569}
  html[data-color-mode="light"] .termine-calendar-row .termine-kw-head,html[data-theme="light"] .termine-calendar-row .termine-kw-head{background:rgba(248,250,252,1);color:#475569}
}


/* Terminplaner v6: schmale Desktop-/Smartphone-Ansicht bewusst größer und horizontal scrollbar. */
@media (max-width:1180px){
  .termine-calendar-wrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;max-width:100%;border-radius:18px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.75) rgba(15,23,42,.25)}
  .termine-calendar-wrap::-webkit-scrollbar{height:10px}
  .termine-calendar-wrap::-webkit-scrollbar-track{background:rgba(15,23,42,.25);border-radius:999px}
  .termine-calendar-wrap::-webkit-scrollbar-thumb{background:rgba(148,163,184,.75);border-radius:999px}
  .termine-calendar-row{grid-template-columns:64px repeat(7,minmax(148px,1fr));min-width:1100px}
  .termine-calendar-row .termine-kw,.termine-calendar-row .termine-kw-head{position:sticky;left:0;z-index:8;box-shadow:10px 0 18px rgba(0,0,0,.22)}
  .termine-calendar-row .termine-kw{min-height:132px;background:rgba(15,23,42,.97);color:#cbd5e1;font-size:.82rem;align-items:flex-start;justify-content:center}
  .termine-calendar-row .termine-kw-head{background:rgba(15,23,42,.99);color:#cbd5e1}
  .termine-calendar-row .termine-day,.termine-calendar-row .termine-day.empty{min-width:148px;min-height:132px;padding:10px;white-space:normal}
  .termine-holiday-chip,.termine-chip{white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
}
@media (max-width:720px){
  .termine-calendar-row{grid-template-columns:58px repeat(7,minmax(132px,1fr));min-width:982px}
  .termine-calendar-row .termine-day,.termine-calendar-row .termine-day.empty{min-width:132px;min-height:128px;padding:9px}
  .termine-calendar-row .termine-kw{min-height:128px;font-size:.76rem}
  .termine-calendar-row .termine-kw-head{font-size:.72rem}
  .termine-day-number{width:28px;height:28px;font-size:.9rem}
  .termine-holiday-chip,.termine-chip{font-size:.74rem;line-height:1.28;padding:4px 6px}
}
@media (max-width:420px){
  .termine-calendar-row{grid-template-columns:56px repeat(7,minmax(138px,1fr));min-width:1022px}
  .termine-calendar-row .termine-day,.termine-calendar-row .termine-day.empty{min-width:138px;min-height:132px}
  .termine-calendar-row .termine-kw{min-height:132px}
}
@media (max-width:1180px){
  html[data-color-mode="light"] .termine-calendar-row .termine-kw,html[data-theme="light"] .termine-calendar-row .termine-kw{background:rgba(248,250,252,.98);color:#475569}
  html[data-color-mode="light"] .termine-calendar-row .termine-kw-head,html[data-theme="light"] .termine-calendar-row .termine-kw-head{background:rgba(248,250,252,1);color:#475569}
}


/* Terminplaner v7: Wochentagsleiste in schmaler Ansicht oben fixiert halten. */
@media (max-width:1180px){
  .termine-calendar-head{position:sticky;top:0;z-index:20;background:rgba(15,23,42,.98);box-shadow:0 10px 18px rgba(0,0,0,.16)}
  .termine-calendar-head .termine-weekday{background:rgba(15,23,42,.98);color:#cbd5e1}
  .termine-calendar-head .termine-kw-head{z-index:25}
  .termine-calendar-wrap{max-height:min(78vh,720px);overflow:auto;-webkit-overflow-scrolling:touch}
  .termine-calendar-wrap::after{content:'← seitlich wischen/scrollen →';display:block;position:sticky;left:0;bottom:0;padding:6px 10px;font-size:.72rem;font-weight:800;color:#cbd5e1;background:rgba(15,23,42,.88);border-top:1px solid var(--border)}
}
@media (max-width:1180px){
  html[data-color-mode="light"] .termine-calendar-head,html[data-theme="light"] .termine-calendar-head,
  html[data-color-mode="light"] .termine-calendar-head .termine-weekday,html[data-theme="light"] .termine-calendar-head .termine-weekday{background:rgba(248,250,252,.98);color:#475569}
  html[data-color-mode="light"] .termine-calendar-wrap::after,html[data-theme="light"] .termine-calendar-wrap::after{background:rgba(248,250,252,.94);color:#475569}
}


/* Terminplaner v8: Wochentagskopf getrennt und im Seiten-Scroll sticky; horizontal mit Kalender synchronisiert. */
.termine-calendar-shell{border:1px solid var(--border);background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.04));border-radius:var(--radius-sm);box-shadow:var(--shadow);max-width:100%;overflow:visible;position:relative}
.termine-calendar-head-scroll{max-width:100%;overflow:hidden;border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:rgba(15,23,42,.94)}
.termine-calendar-head-scroll .termine-calendar-head{border-bottom:1px solid var(--border)}
.termine-calendar-shell .termine-calendar-wrap{border:0;box-shadow:none;background:transparent;border-radius:0;overflow-x:auto;overflow-y:visible;max-height:none}
.termine-calendar-shell .termine-calendar-wrap::after{content:'← seitlich wischen/scrollen →';display:none;position:sticky;left:0;bottom:0;padding:6px 10px;font-size:.72rem;font-weight:800;color:#cbd5e1;background:rgba(15,23,42,.88);border-top:1px solid var(--border)}
@media (max-width:1180px){
  .termine-calendar-head-scroll{position:sticky;top:92px;z-index:120;box-shadow:0 12px 22px rgba(0,0,0,.22);overflow:hidden}
  .termine-calendar-head-scroll .termine-calendar-row{grid-template-columns:64px repeat(7,minmax(148px,1fr));min-width:1100px}
  .termine-calendar-head .termine-weekday{background:rgba(15,23,42,.98);color:#cbd5e1}
  .termine-calendar-shell .termine-calendar-wrap{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.75) rgba(15,23,42,.25)}
  .termine-calendar-shell .termine-calendar-wrap::-webkit-scrollbar{height:10px}
  .termine-calendar-shell .termine-calendar-wrap::-webkit-scrollbar-track{background:rgba(15,23,42,.25);border-radius:999px}
  .termine-calendar-shell .termine-calendar-wrap::-webkit-scrollbar-thumb{background:rgba(148,163,184,.75);border-radius:999px}
  .termine-calendar-shell .termine-calendar-wrap::after{display:block}
  .termine-calendar-row .termine-kw,.termine-calendar-row .termine-kw-head{position:sticky;left:0;z-index:30;box-shadow:10px 0 18px rgba(0,0,0,.22)}
  .termine-calendar-head .termine-kw-head{z-index:35;background:rgba(15,23,42,.99);color:#cbd5e1}
}
@media (max-width:860px){.termine-calendar-head-scroll{top:86px}}
@media (max-width:720px){
  .termine-calendar-head-scroll .termine-calendar-row{grid-template-columns:58px repeat(7,minmax(132px,1fr));min-width:982px}
}
@media (max-width:420px){
  .termine-calendar-head-scroll .termine-calendar-row{grid-template-columns:56px repeat(7,minmax(138px,1fr));min-width:1022px}
}
@media (max-width:1180px){
  html[data-color-mode="light"] .termine-calendar-head-scroll,html[data-theme="light"] .termine-calendar-head-scroll{background:rgba(248,250,252,.98)}
  html[data-color-mode="light"] .termine-calendar-head .termine-weekday,html[data-theme="light"] .termine-calendar-head .termine-weekday,
  html[data-color-mode="light"] .termine-calendar-head .termine-kw-head,html[data-theme="light"] .termine-calendar-head .termine-kw-head{background:rgba(248,250,252,1);color:#475569}
  html[data-color-mode="light"] .termine-calendar-shell .termine-calendar-wrap::after,html[data-theme="light"] .termine-calendar-shell .termine-calendar-wrap::after{background:rgba(248,250,252,.94);color:#475569}
}


/* Terminplaner v9: robuste echte Kalender-Tabelle — einheitlich in jeder Fensterbreite. */
.termine-calendar-scroll{width:100%;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow);background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.04));scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.75) rgba(15,23,42,.25)}
.termine-calendar-scroll::-webkit-scrollbar{height:10px;width:10px}.termine-calendar-scroll::-webkit-scrollbar-track{background:rgba(15,23,42,.22);border-radius:999px}.termine-calendar-scroll::-webkit-scrollbar-thumb{background:rgba(148,163,184,.75);border-radius:999px}
.termine-calendar-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;table-layout:fixed;background:transparent}
.termine-calendar-table th,.termine-calendar-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:top}
.termine-calendar-table th:last-child,.termine-calendar-table td:last-child{border-right:0}.termine-calendar-table tbody tr:last-child th,.termine-calendar-table tbody tr:last-child td{border-bottom:0}
.termine-calendar-table thead th{position:sticky;top:0;z-index:30;padding:12px 10px;text-align:center;font-weight:900;color:#cbd5e1;background:rgba(15,23,42,.98);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.termine-calendar-table .termine-table-kw-head{left:0;z-index:45;width:72px;min-width:72px}.termine-calendar-table .termine-table-kw{position:sticky;left:0;z-index:20;width:72px;min-width:72px;padding:12px 8px;text-align:center;font-weight:900;color:#cbd5e1;background:rgba(15,23,42,.96);box-shadow:8px 0 16px rgba(0,0,0,.16)}
.termine-table-day{height:132px;min-height:132px;padding:0;background:rgba(15,23,42,.18)}.termine-table-day.empty{background:rgba(255,255,255,.025)}
.termine-table-link{display:flex;flex-direction:column;gap:6px;min-height:132px;height:100%;padding:10px;text-decoration:none;color:inherit;overflow:hidden;transition:background .2s ease,outline .2s ease}.termine-table-link:hover{background:color-mix(in srgb,var(--theme-primary) 12%,transparent)}
.termine-table-day.selected .termine-table-link{outline:2px solid var(--theme-primary);outline-offset:-2px}.termine-table-day.today .termine-day-number{background:var(--theme-primary);color:#041011}.termine-table-day.holiday{background:linear-gradient(180deg,rgba(248,113,113,.20),rgba(248,113,113,.08));border-color:rgba(248,113,113,.38)}
.termine-table-day .termine-day-number{flex:0 0 auto}.termine-table-day .termine-chip,.termine-table-day .termine-holiday-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto;line-height:1.25}.termine-table-day .termine-chip{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.termine-table-day .termine-holiday-chip{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.termine-table-day .termine-more{font-size:.72rem;color:var(--muted);font-weight:800}
.termine-scroll-hint{margin:8px 0 0;color:var(--muted);font-size:.86rem;font-weight:700}
@media (max-width:1180px){.termine-calendar-table{min-width:1120px}.termine-calendar-table .termine-table-kw,.termine-calendar-table .termine-table-kw-head{width:76px;min-width:76px}.termine-table-day{height:142px}.termine-table-link{min-height:142px}.termine-calendar-scroll{border-radius:18px;max-height:none}.termine-calendar-table thead th{top:0}}
@media (max-width:720px){.termine-calendar-table{min-width:1040px}.termine-calendar-table .termine-table-kw,.termine-calendar-table .termine-table-kw-head{width:62px;min-width:62px}.termine-calendar-table thead th{padding:10px 8px;font-size:.82rem}.termine-table-day{height:136px}.termine-table-link{min-height:136px;padding:9px}.termine-table-day .termine-chip,.termine-table-day .termine-holiday-chip{font-size:.74rem}.termine-scroll-hint{font-size:.78rem}}
@media (max-width:420px){.termine-calendar-table{min-width:1080px}.termine-table-day{height:140px}.termine-table-link{min-height:140px}}
html[data-color-mode="light"] .termine-calendar-table thead th,html[data-theme="light"] .termine-calendar-table thead th,html[data-color-mode="light"] .termine-calendar-table .termine-table-kw,html[data-theme="light"] .termine-calendar-table .termine-table-kw{background:rgba(248,250,252,.98);color:#475569}
html[data-color-mode="light"] .termine-table-day,html[data-theme="light"] .termine-table-day{background:rgba(255,255,255,.82)}html[data-color-mode="light"] .termine-table-day.empty,html[data-theme="light"] .termine-table-day.empty{background:rgba(15,23,42,.025)}html[data-color-mode="light"] .termine-table-day.holiday,html[data-theme="light"] .termine-table-day.holiday{background:linear-gradient(180deg,rgba(254,226,226,.95),rgba(255,241,242,.85));border-color:rgba(220,38,38,.28)}
