/* Gästeseite des Terminplaners (termin.html). Der Kopf trägt die Farbe des Betriebs (--t-akzent, Schrift --t-akzent-text, vom Skript gesetzt, Schrift immer mit mindestens 4,5 : 1); Systemschrift, keine Fremdressourcen. */ :root { color-scheme: light; --t-akzent: #1f2937; --t-akzent-text: #ffffff; --t-akzent-rand: #1f2937; --t-text: #1f2937; --t-grund: #f4f5f7; --t-karte: #ffffff; --t-rand: #c9ced6; --t-weich: #f3f4f6; --t-fehler: #b91c1c; --t-ok: #166534; --t-radius: 12px; } *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--t-grund); color: var(--t-text); font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .t-innen { width: 100%; max-width: 40rem; margin: 0 auto; padding: 0 16px; } /* Kopf in der Farbe des Betriebs */ .t-kopf { background: var(--t-akzent); color: var(--t-akzent-text); padding: 14px 0; padding-top: max(14px, env(safe-area-inset-top)); } .t-betrieb { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; min-height: 1.5em; } .t-haupt { flex: 1 0 auto; padding: 20px 0 8px; } .t-karte { background: var(--t-karte); border: 1px solid var(--t-rand); border-radius: var(--t-radius); padding: 22px 20px; } .t-titel { margin: 0 0 .75rem; font-size: 1.45rem; line-height: 1.25; font-weight: 700; } .t-titel:focus, .t-titel:focus-visible { outline: none; } /* nur zum Anspringen per Skript, kein Bedienelement */ .t-karte p { margin: 0 0 .85rem; } .t-laden { opacity: .8; } /* Zusammenfassung des Termins */ .t-zusammen { margin: 0 0 1.1rem; padding: .85rem 1rem; border-radius: var(--t-radius); background: var(--t-weich); display: grid; gap: .4rem; } .t-zeile { display: grid; grid-template-columns: 9.5rem 1fr; gap: .15rem 1rem; } .t-zeile dt { font-weight: 600; } .t-zeile dd { margin: 0; overflow-wrap: anywhere; } .t-neu dd { font-weight: 700; } /* Status */ .t-status { margin: 0 0 .85rem; } .t-status-text { display: inline-block; padding: .15rem .7rem; border-radius: 999px; font-size: .9rem; font-weight: 700; background: var(--t-weich); border: 1px solid var(--t-rand); } .t-status-bestaetigt .t-status-text { background: #dcfce7; border-color: #86c79b; color: #14532d; } .t-status-angefragt .t-status-text { background: #fef9c3; border-color: #d9c55a; color: #713f12; } .t-status-abgesagt .t-status-text, .t-status-abgelehnt .t-status-text { background: #fee2e2; border-color: #e0a0a0; color: #7f1d1d; } /* Meldungen und Hinweise */ .t-meldung { margin: 0 0 .85rem; padding: .65rem .85rem; border-left: 4px solid var(--t-fehler); background: var(--t-weich); font-weight: 600; } .t-meldung-ok { border-left-color: var(--t-ok); } .t-box { padding: .65rem .85rem; border-radius: var(--t-radius); background: var(--t-weich); } .t-hinweis { font-size: .9rem; opacity: .9; } .t-meldungen:empty { display: none; } /* Knöpfe */ .t-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; } .t-btn { font: inherit; font-weight: 600; line-height: 1.25; min-height: 44px; padding: .55rem 1.25rem; border-radius: var(--t-radius); border: 2px solid var(--t-akzent-rand); background: var(--t-akzent); color: var(--t-akzent-text); cursor: pointer; } .t-btn:hover { filter: brightness(1.08); } .t-btn-sek { background: var(--t-karte); color: var(--t-text); border-color: #858f9e; } .t-btn-sek:hover { background: var(--t-weich); filter: none; } .t-btn-warn { background: #b91c1c; color: #ffffff; border-color: #b91c1c; } .t-btn[disabled] { opacity: .6; cursor: default; } .t-link { font: inherit; color: inherit; background: none; border: 0; padding: .35rem 0; min-height: 44px; text-decoration: underline; cursor: pointer; } .t-weitere { margin: 1.1rem 0 0; } .t-karte :focus-visible, .t-fuss :focus-visible { outline: 3px solid var(--t-text); outline-offset: 2px; } /* Kontakt (abgelaufen) */ .t-kontakt { margin: 0 0 .85rem; padding: 0; list-style: none; display: grid; gap: .4rem; } .t-kontakt a { color: inherit; display: inline-block; padding: .25rem 0; min-height: 24px; } /* Kalender (Verschieben) */ .t-kal-kopf { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; } .t-monat { flex: 1; margin: 0; text-align: center; font-size: 1.1rem; font-weight: 700; } .t-pfeil { font: inherit; font-size: 1.4rem; line-height: 1; min-width: 44px; min-height: 44px; border-radius: var(--t-radius); border: 1px solid #858f9e; background: var(--t-karte); color: inherit; cursor: pointer; } .t-pfeil[disabled] { opacity: .35; cursor: default; } .t-raster { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; } .t-raster th { padding: .25rem 0; font-size: .8rem; font-weight: 600; text-align: center; } .t-raster td { padding: 0; text-align: center; } .t-tag { width: 100%; height: 44px; padding: 0; font: inherit; border-radius: 8px; border: 1px solid transparent; background: transparent; color: inherit; opacity: .45; cursor: default; } .t-tag:not([disabled]) { opacity: 1; font-weight: 700; border-color: var(--t-akzent-rand); cursor: pointer; } .t-tag:not([disabled]):hover { background: var(--t-weich); } .t-tag[aria-pressed="true"], .t-tag[aria-pressed="true"]:hover { background: var(--t-akzent); color: var(--t-akzent-text); } .t-zeiten { margin-top: 1rem; } .t-zeiten-titel { margin: 0 0 .5rem; font-size: 1rem; font-weight: 700; } .t-zeiten-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .5rem; } .t-zeit { font: inherit; font-weight: 600; min-height: 44px; border-radius: var(--t-radius); border: 1px solid var(--t-akzent-rand); background: var(--t-karte); color: inherit; cursor: pointer; } .t-zeit:hover { background: var(--t-akzent); color: var(--t-akzent-text); } /* Widerruf-Formular */ .t-form { margin: 0; } .t-feld { margin: 0 0 1rem; } .t-label { display: block; margin-bottom: .25rem; font-weight: 600; } .t-eingabe { display: block; width: 100%; min-height: 44px; font: inherit; color: inherit; background: var(--t-karte); border: 1px solid #858f9e; border-radius: 8px; padding: .5rem .7rem; } .t-eingabe[aria-invalid="true"] { border-color: var(--t-fehler); border-width: 2px; } .t-fest { background: var(--t-weich); } .t-feldfehler { margin: .3rem 0 0; color: var(--t-fehler); font-weight: 600; font-size: .9rem; } .t-feldfehler:empty { display: none; } .t-erklaerung { margin: 0 0 1rem; padding: .65rem .85rem; border-left: 4px solid var(--t-akzent-rand); background: var(--t-weich); } .t-eingang { font-size: 1.1rem; } /* Fuß */ .t-fuss { margin-top: 16px; padding: 14px 0 22px; padding-bottom: max(22px, env(safe-area-inset-bottom)); font-size: .875rem; } .t-fuss a { color: inherit; display: inline-block; padding: .2rem 0; min-height: 24px; } .t-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0 0 .35rem; } .t-links:empty { display: none; } .t-powered { margin: 0; opacity: .8; font-size: .8rem; } .t-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; } @media (max-width: 30rem) { .t-karte { padding: 18px 16px; } .t-zeile { grid-template-columns: 1fr; gap: 0; } .t-zeile dd { margin-bottom: .35rem; } .t-nav { flex-direction: column-reverse; align-items: stretch; } .t-nav .t-btn { width: 100%; } .t-raster { border-spacing: 2px; } .t-tag { height: 40px; } .t-zeiten-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (forced-colors: active) { .t-tag[aria-pressed="true"] { outline: 2px solid Highlight; } .t-btn { border-color: ButtonText; } } @media print { .t-kopf, .t-nav, .t-weitere { display: none; } body { background: #fff; } .t-karte { border: 0; } }