/* ========================================================================== Drink it cold – Terminplanung Design: Eisblau (#196abc) + Weiß, Schriften Manrope/Inter (lokal) ========================================================================== */ @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); } @font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2'); } :root { --brand: #196abc; --brand-600: #1560ab; --brand-700: #12528f; --brand-800: #0d3d6d; --brand-900: #0a2c4e; --ice-50: #f4f9fe; --ice-100: #e6f1fc; --ice-200: #d3e6f9; --ice-300: #b9daf6; --ink: #0e1b26; --ink-2: #31485a; --muted: #667b8a; --line: #dbe6f0; --line-soft: #eaf2f9; --white: #fff; --green: #2e7d32; --green-soft: #eaf6ea; --red: #bb3a2f; --red-soft: #fdeeec; --amber: #b16d0a; --amber-soft: #fff5e3; --radius-sm: 8px; --radius: 12px; --radius-lg: 18px; --radius-xl: 24px; --shadow-sm: 0 1px 2px rgba(10, 44, 78, .05); --shadow: 0 2px 8px rgba(10, 44, 78, .06), 0 12px 28px rgba(10, 44, 78, .06); --shadow-lg: 0 10px 30px rgba(10, 44, 78, .12), 0 30px 60px rgba(10, 44, 78, .12); --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --font-display: 'Manrope', 'Inter', system-ui, sans-serif; --topbar-h: 68px; --page-max: 1520px; --gutter: clamp(1rem, 2.6vw, 2rem); } *, *::before, *::after { box-sizing: border-box; } [hidden] { display: none !important; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.55; color: var(--ink-2); background: radial-gradient(1200px 500px at 100% -10%, #e9f3fd 0%, rgba(233, 243, 253, 0) 60%), var(--ice-50); -webkit-font-smoothing: antialiased; min-height: 100vh; } img, svg { display: block; max-width: 100%; } a { color: var(--brand); text-decoration: none; } a:hover { color: var(--brand-700); } button, input, select, textarea { font: inherit; color: inherit; } h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; margin: 0; letter-spacing: -.02em; } h1 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 800; } h2 { font-size: 1.12rem; font-weight: 800; } h3 { font-size: .98rem; font-weight: 800; } p { margin: 0; } hr { border: 0; border-top: 1px solid var(--line-soft); margin: 16px 0; } .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; } a .ico, button .ico { pointer-events: none; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .muted { color: var(--muted); } .small { font-size: .82rem; } .ta-right { text-align: right; } .inline { display: inline; } .optional { font-weight: 500; color: var(--muted); } .skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); transition: top .2s; } .skip-link:focus { top: 12px; } /* --------------------------------------------------------------- Topbar */ .topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); } .topbar__inner { max-width: var(--page-max); margin: 0 auto; min-height: var(--topbar-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 22px; } .brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--ink); } .brand:hover { color: var(--ink); } .brand__mark { width: 44px; height: 32px; } .brand__text { display: flex; flex-direction: column; line-height: 1.05; } .brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; } .brand__sub { font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-top: 3px; } .mainnav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; } .mainnav a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--ink-2); white-space: nowrap; } .mainnav a:hover { background: var(--ice-50); color: var(--brand-700); } .mainnav a[aria-current="page"] { background: var(--ice-100); color: var(--brand-700); } .mainnav .ico { width: 18px; height: 18px; } .nav-short { display: none; } .nav-badge { min-width: 19px; height: 19px; padding: 0 6px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; } .topbar__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; } .global-search { position: relative; display: flex; align-items: center; } .global-search .ico { position: absolute; left: 10px; width: 17px; height: 17px; color: var(--muted); } .global-search input { width: 190px; height: 38px; padding: 0 12px 0 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--ice-50); outline: none; font-size: .86rem; } .global-search input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25, 106, 188, .12); } .user-menu { position: relative; } .user-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 6px 4px 4px; border-radius: 99px; border: 1px solid transparent; user-select: none; } .user-menu summary::-webkit-details-marker { display: none; } .user-menu summary:hover { background: var(--ice-50); } .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 700; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; flex: 0 0 auto; } .avatar--small { width: 30px; height: 30px; font-size: .7rem; } .user-menu__name { font-weight: 600; font-size: .87rem; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .user-menu .chev { width: 14px; height: 14px; transform: rotate(-90deg); color: var(--muted); transition: transform .2s; } .user-menu[open] .chev { transform: rotate(90deg); } .user-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 248px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); } .user-menu__who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; display: flex; flex-direction: column; } .user-menu__who strong { color: var(--ink); font-size: .9rem; } .user-menu__who span { font-size: .76rem; color: var(--muted); } .user-menu__panel a, .menu-button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border-radius: 8px; border: 0; background: none; color: var(--ink-2); font-size: .87rem; font-weight: 500; text-align: left; cursor: pointer; } .user-menu__panel a:hover, .menu-button:hover { background: var(--ice-50); color: var(--brand-700); } .user-menu__panel form { margin: 0; } .user-menu__panel .ico { width: 17px; height: 17px; color: var(--muted); } /* --------------------------------------------------------------- Flashes */ .flash-wrap { max-width: var(--page-max); margin: 0 auto; padding: 14px var(--gutter) 0; display: grid; gap: 8px; } .flash { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); box-shadow: var(--shadow-sm); font-size: .9rem; } .flash .ico { width: 18px; height: 18px; margin-top: 1px; } .flash--success { border-color: #bfe3bf; background: var(--green-soft); color: #1f5a23; } .flash--error { border-color: #f0c4be; background: var(--red-soft); color: #7d241b; } .flash--info { border-color: var(--ice-200); background: var(--ice-50); color: var(--brand-800); } .flash__close { margin-left: auto; border: 0; background: none; color: inherit; opacity: .55; cursor: pointer; padding: 2px; } .flash__close:hover { opacity: 1; } .flash__close .ico { width: 16px; height: 16px; } /* --------------------------------------------------------------- Layout */ .page { max-width: var(--page-max); margin: 0 auto; padding: clamp(18px, 2.4vw, 30px) var(--gutter) 48px; } .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; } .page-head--compact { margin-bottom: 18px; } .page-head h1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .page-head__lede { margin-top: 6px; color: var(--muted); max-width: 62ch; } .page-head__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .page-head__actions form { margin: 0; } .eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 7px; } .footer { max-width: var(--page-max); margin: 0 auto; padding: 20px var(--gutter) 30px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; } .footer__hint { color: #8a9aa7; } /* --------------------------------------------------------------- Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-2); font-weight: 600; font-size: .87rem; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; } .btn:hover { background: var(--ice-50); border-color: var(--ice-300); color: var(--brand-700); } .btn:active { transform: translateY(1px); } .btn .ico { width: 17px; height: 17px; } .btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(25, 106, 188, .2); } .btn.primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; } .btn.small { min-height: 32px; padding: 5px 11px; font-size: .8rem; border-radius: 8px; } .btn.small .ico { width: 15px; height: 15px; } .btn--block { width: 100%; } .btn.danger { background: var(--red); border-color: var(--red); color: #fff; } .btn.danger:hover { background: #9e2f25; border-color: #9e2f25; color: #fff; } .btn.danger-ghost { background: transparent; border-color: #e7b8b2; color: #9e2f25; } .btn.danger-ghost:hover { background: var(--red-soft); border-color: var(--red); color: #7d241b; } .btn:focus-visible, .icon-btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(25, 106, 188, .3); outline-offset: 2px; } .icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; } .icon-btn:hover { background: var(--ice-50); color: var(--brand-700); border-color: var(--ice-300); } .icon-btn .ico { width: 18px; height: 18px; } .link-button { border: 0; background: none; padding: 0; color: var(--brand); font-weight: 600; font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; } .link-button:hover { color: var(--brand-700); text-decoration: underline; } .link-button .ico { width: 15px; height: 15px; } .link-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 600; white-space: nowrap; } .link-arrow .ico { width: 15px; height: 15px; } /* --------------------------------------------------------------- Bits */ .pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 99px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; background: var(--ice-100); color: var(--brand-700); } .pill .ico { width: 12px; height: 12px; } .pill--green { background: var(--green-soft); color: #246328; } .pill--red { background: var(--red-soft); color: #9e2f25; } .pill--amber { background: var(--amber-soft); color: #8a5507; } .pill--blue { background: var(--ice-100); color: var(--brand-700); } .pill--grey { background: #eef2f5; color: #556a78; } .trailer-dot { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; background: var(--trailer, var(--brand)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); } .trailer-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--trailer); color: var(--trailer-text); padding: 4px 10px; border-radius: 99px; font-weight: 600; font-size: .8rem; } .panel, .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); } .panel { padding: 20px; } .card { padding: 22px; } .panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; } .panel__head p, .card__head p { color: var(--muted); font-size: .84rem; margin-top: 4px; } .card__head { margin-bottom: 18px; } .card__head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .card h2 { margin-bottom: 0; } .empty-state { text-align: center; padding: 38px 20px; color: var(--muted); border: 1px dashed var(--ice-300); border-radius: var(--radius); background: var(--ice-50); } .empty-state .ico { width: 34px; height: 34px; color: var(--brand); margin: 0 auto 10px; } .empty-state h3 { color: var(--ink); margin-bottom: 5px; } .empty-state p { max-width: 50ch; margin: 0 auto 14px; font-size: .88rem; } .empty-state.small { padding: 20px 14px; } .empty-state.small .ico { width: 26px; height: 26px; } .empty-state.small h3 { font-size: .9rem; } .empty-state--plain { border: 0; background: transparent; padding: 60px 20px; } .alert { display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px; border-radius: 12px; margin-bottom: 16px; border: 1px solid var(--ice-200); background: var(--ice-50); color: var(--brand-800); font-size: .88rem; } .alert .ico { width: 19px; height: 19px; margin-top: 1px; } .alert--warning { background: var(--amber-soft); border-color: #f2d6a4; color: #754805; } .alert--error { background: var(--red-soft); border-color: #f0c4be; color: #7d241b; } .alert p { margin-top: 3px; } .breadcrumb { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; } .breadcrumb a { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; } .breadcrumb .ico { width: 14px; height: 14px; } .stack { display: grid; gap: 14px; } .stack-actions { display: grid; gap: 8px; } .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; } .card--note { background: linear-gradient(160deg, #fff, var(--ice-50)); } .card--note p { margin-top: 6px; color: var(--muted); font-size: .86rem; } .list-summary { font-size: .84rem; color: var(--muted); margin: -4px 0 16px; } /* --------------------------------------------------------------- KPI + Dashboard */ .kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; } .kpi { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); } .kpi__icon { width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; } .kpi__icon .ico { width: 20px; height: 20px; } .kpi__icon--blue { background: var(--ice-100); color: var(--brand); } .kpi__icon--green { background: var(--green-soft); color: var(--green); } .kpi__icon--amber { background: var(--amber-soft); color: var(--amber); } .kpi__icon--red { background: var(--red-soft); color: var(--red); } .kpi strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); line-height: 1.1; } .kpi span { font-size: .78rem; color: var(--muted); } /* ---------------------------------------------------------- Verfügbarkeit */ .availability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .availability-group h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: .95rem; } .availability-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .availability-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; } .availability-row.is-free { border-color: #bfe3bf; background: #f8fdf8; } .availability-row.is-busy { background: #fbfcfd; } .availability-row__name { flex: 1 1 auto; min-width: 0; } .availability-row__hint { flex: 1 1 100%; } .availability-row.has-edge { border-color: #f0dcb0; background: #fffdf6; } .availability-edges { list-style: none; margin: 0; padding: 0; flex: 1 1 100%; display: grid; gap: 6px; } .availability-edges li { display: flex; align-items: flex-start; gap: 7px; font-size: .79rem; line-height: 1.45; color: var(--ink-2); } .availability-edges .ico { width: 15px; height: 15px; flex: 0 0 auto; color: var(--amber); margin-top: 2px; } .availability-edges strong { color: var(--ink); } .availability-edges a { color: var(--brand-700); font-weight: 600; text-decoration: none; } .availability-edges a:hover { text-decoration: underline; } @media (max-width: 760px) { .availability-grid { grid-template-columns: 1fr; } } .dash-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr); gap: 18px; align-items: start; }.dash-main, .dash-side { display: grid; gap: 18px; min-width: 0; } .trailer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .trailer-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 13px; background: #fff; position: relative; overflow: hidden; } .trailer-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--trailer); } .trailer-card.is-rented { background: linear-gradient(180deg, #fff, #fbfdff); } .trailer-card.is-own { box-shadow: 0 0 0 2px rgba(25, 106, 188, .28); } .trailer-card__head { display: flex; align-items: center; gap: 8px; } .trailer-card__name { display: flex; flex-direction: column; line-height: 1.15; } .trailer-card__name strong { color: var(--ink); font-size: .9rem; } .trailer-card__name small { color: var(--muted); font-size: .7rem; } .trailer-card__head .pill { margin-left: auto; } .trailer-card__bookings { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 6px; } .trailer-card__bookings a { display: flex; flex-direction: column; padding: 6px 8px; border-radius: 8px; background: var(--ice-50); } .trailer-card__bookings a:hover { background: var(--ice-100); } .trailer-card__bookings strong { font-size: .82rem; color: var(--ink); } .trailer-card__bookings span { font-size: .72rem; color: var(--muted); } .trailer-card__free { font-size: .78rem; color: var(--muted); margin-top: 9px; } .event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; } .event-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); } .event-row:first-child { border-top: 0; } .event-row__icon { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; } .event-row__icon.is-handover { background: var(--ice-100); color: var(--brand); } .event-row__icon.is-return { background: var(--amber-soft); color: var(--amber); } .event-row__date { width: 120px; flex: 0 0 auto; line-height: 1.2; } .event-row__date strong { display: block; font-size: .82rem; color: var(--ink); } .event-row__date span { font-size: .72rem; color: var(--muted); } .event-row__date .is-today { color: var(--brand); font-weight: 700; } .event-row__main { min-width: 0; flex: 1; display: flex; flex-direction: column; } .event-row__main strong { font-size: .88rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .event-row__main span { font-size: .76rem; color: var(--muted); } .panel--reminders .mini-reminders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .mini-reminder { border: 1px solid var(--line-soft); background: var(--ice-50); border-radius: 11px; padding: 10px 11px; } .mini-reminder.is-overdue { border-color: #f0c4be; background: var(--red-soft); } .mini-reminder__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; } .mini-reminder__date { font-size: .74rem; font-weight: 700; color: var(--ink); } .mini-reminder > strong { font-size: .84rem; color: var(--ink); display: block; } .mini-reminder p { font-size: .77rem; color: var(--muted); margin-top: 2px; } .mini-reminder__meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: .72rem; color: var(--muted); } .mini-reminder__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; } .mini-reminder__actions a { font-size: .76rem; font-weight: 600; } .mini-reminder__actions form { margin: 0; } .panel--quick { display: grid; gap: 4px; } .panel--quick h2 { margin-bottom: 8px; } .quick-link { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-top: 1px solid var(--line-soft); border-radius: 8px; } .quick-link:first-of-type { border-top: 0; } .quick-link:hover { background: var(--ice-50); } .quick-link__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--ice-100); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; } .quick-link__icon .ico { width: 17px; height: 17px; } .quick-link > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; } .quick-link strong { font-size: .84rem; color: var(--ink); } .quick-link small { font-size: .72rem; color: var(--muted); } .quick-link .chev { margin-left: auto; width: 15px; height: 15px; color: var(--muted); } /* --------------------------------------------------------------- Calendar */ .cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 9px 10px; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); } .cal-toolbar__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .segmented { display: inline-flex; padding: 3px; background: var(--ice-50); border: 1px solid var(--line-soft); border-radius: 10px; gap: 2px; } .segmented a { padding: 6px 13px; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--ink-2); } .segmented a:hover { color: var(--brand-700); } .segmented a.is-active { background: #fff; color: var(--brand-700); box-shadow: 0 1px 3px rgba(10, 44, 78, .12); } .cal-nav { display: flex; align-items: center; gap: 5px; } .date-jump { display: flex; align-items: center; gap: 5px; margin-left: 3px; } .date-jump input[type="date"] { height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: .8rem; } .cal-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; } .inline-field { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); } .inline-field select { height: 32px; padding: 0 26px 0 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: .8rem; color: var(--ink-2); } .cal-filters__submit { display: inline-flex; } .check { display: inline-flex; align-items: flex-start; gap: 8px; font-size: .86rem; color: var(--ink-2); cursor: pointer; } .check input, .check input[type="checkbox"], .check input[type="radio"], .field .check input { width: 16px; height: 16px; min-width: 16px; min-height: 16px; margin: 2px 0 0; padding: 0; flex: 0 0 auto; accent-color: var(--brand); box-shadow: none; border-radius: 3px; } .check--small { font-size: .78rem; } .check--boxed { display: flex; align-items: flex-start; width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--ice-50); } .check--boxed .check span { font-weight: 500; } .cal-scroll-hint { display: none; align-items: center; gap: 6px; margin: -2px 0 10px; color: var(--muted); font-size: .76rem; } .cal-scroll-hint .ico { width: 14px; height: 14px; } .cal-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; } .cal-scroll { overflow-x: auto; overflow-y: hidden; } .cal { --lane: 150px; display: grid; grid-template-columns: var(--lane) minmax(0, 1fr); } .cal-corner { position: sticky; left: 0; z-index: 6; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; } .cal-corner__title { font-family: var(--font-display); font-weight: 800; font-size: .86rem; color: var(--ink); } .cal-corner__hint { font-size: .67rem; color: var(--muted); margin-top: 1px; } .cal-head { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #fff; } .cal-head__day { padding: 8px 4px 7px; text-align: center; border-left: 1px solid var(--line-soft); display: flex; flex-direction: column; align-items: center; line-height: 1.1; min-width: 0; } .cal-head__weekday { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; } .cal-head__num { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--ink); margin-top: 2px; } /* Monatskürzel in jeder Tagesüberschrift – dezent, beim Monatswechsel hervorgehoben. */ .cal-head__month { font-family: var(--font-display); font-size: .64rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); margin-top: 1px; white-space: nowrap; text-transform: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .cal-head__month.is-month-start { font-size: .72rem; font-weight: 800; color: var(--brand-800); } .cal-head__year { font-family: var(--font-display); font-size: .58rem; font-weight: 700; color: var(--brand-800); line-height: 1.05; } .cal-head__day.is-today .cal-head__month { color: var(--brand-700); } .cal-head__day.is-weekend { background: #fbfdff; } .cal-head__day.is-today { background: var(--ice-100); } .cal-head__day.is-today .cal-head__num, .cal-head__day.is-today .cal-head__weekday { color: var(--brand-700); } /* Wochenwechsel in der 4-Wochen-Ansicht sichtbar machen. */ .cal-head__day.is-week-start { border-left: 2px solid var(--line); } .cal-head__week { font-family: var(--font-display); font-size: .56rem; font-weight: 800; letter-spacing: .04em; color: var(--brand-700); margin-top: 1px; white-space: nowrap; } .cal-label { position: sticky; left: 0; z-index: 5; background: #fff; height: var(--row-h); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 0 12px; } .cal-label__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; } .cal-label__text strong { font-size: .85rem; color: var(--ink); } .cal-label__text small { font-size: .68rem; color: var(--muted); } .cal-label__add { margin-left: auto; width: 23px; height: 23px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); font-size: 1rem; font-weight: 700; line-height: 1; opacity: 0; transition: opacity .15s, background .15s; } .cal-label:hover .cal-label__add { opacity: 1; } .cal-label__add:hover { background: var(--ice-100); } .cal-track { position: relative; height: var(--row-h); border-top: 1px solid var(--line); min-width: 0; } .cal-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); } .cal-cell { border-left: 1px solid var(--line-soft); background: #fff; transition: background .12s; } .cal-cell:hover { background: #f2f8ff; } .cal-cell.is-weekend { background: #fbfdff; } .cal-cell.is-weekend:hover { background: #f1f8ff; } .cal-cell.is-today { background: rgba(230, 241, 252, .5); } .cal-cell.is-today:hover { background: rgba(211, 230, 249, .7); } .cal-cell.is-week-start { border-left: 2px solid var(--line); } .cal-track.is-drop-target { background: rgba(25, 106, 188, .06); } .cal-bar { position: absolute; z-index: 2; display: flex; flex-direction: column; justify-content: center; left: calc(var(--left) + 2px); width: calc(var(--width) - 4px); top: calc(var(--top) + 3px); height: calc(var(--height) - 6px); background: var(--bar); color: var(--bar-text); border-radius: 7px; padding: 3px 8px; min-width: 3px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 1px 2px rgba(10, 44, 78, .12); transition: filter .12s, box-shadow .12s, transform .12s; touch-action: pan-y; user-select: none; -webkit-user-drag: none; } .cal-bar:hover { filter: brightness(1.05); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 4px 10px rgba(10, 44, 78, .18); color: var(--bar-text); z-index: 3; } .cal-bar.is-cut-start { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .cal-bar.is-cut-end { border-top-right-radius: 2px; border-bottom-right-radius: 2px; } .cal-bar.is-tiny { padding: 2px 5px; } .cal-bar.is-tiny .cal-bar__name { font-size: .68rem; } .cal-bar.is-cancelled { opacity: .58; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 5px, rgba(255, 255, 255, 0) 5px 10px), var(--bar); } .cal-bar.is-cancelled .cal-bar__name { text-decoration: line-through; } .cal-bar.is-dragging { z-index: 50; opacity: .88; filter: brightness(1.06); cursor: grabbing; box-shadow: 0 10px 20px rgba(10, 44, 78, .3); transition: none; } .cal-bar__name { font-size: .76rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; } .cal-bar__meta { font-size: .63rem; font-weight: 500; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25; } .cal-bar__meta--soft { opacity: .72; } .cal-bar__flag { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .9; } .cal-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 4px 0; color: var(--muted); font-size: .76rem; } .cal-foot p { display: flex; align-items: center; gap: 7px; max-width: 90ch; } .cal-foot__hint { font-style: italic; } .legend-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); flex: 0 0 auto; } /* --------------------------------------------------------------- Forms */ .booking-form { margin: 0; } .form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; } .form-main { display: grid; gap: 16px; min-width: 0; } .form-side { display: grid; gap: 16px; position: sticky; top: calc(var(--topbar-h) + 16px); } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; } .form-grid--single { grid-template-columns: minmax(0, 1fr); gap: 12px; } .field-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .segmented-radio--compact span { min-width: 52px; padding: 6px 9px; font-size: .76rem; } .field { display: flex; flex-direction: column; gap: 5px; min-width: 0; } .field-pair { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; } .field--wide { grid-column: 1 / -1; } .field > span, .field > label > span { font-size: .8rem; font-weight: 600; color: var(--ink-2); } .field input, .field select, .field textarea { width: 100%; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .9rem; outline: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; } .field textarea { height: auto; min-height: 90px; padding: 10px 11px; resize: vertical; } .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25, 106, 188, .12); } .field input::placeholder { color: #98a8b4; } .field.has-error input, .field.has-error select { border-color: #d26a5f; background: #fffafa; } .field-error { font-size: .75rem; color: #a43227; font-style: normal; } .field--trailer-preview { justify-content: flex-start; } .trailer-preview { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 9px 11px; border-radius: 9px; background: var(--ice-50); border: 1px solid var(--line-soft); font-size: .82rem; } .money-input { position: relative; display: flex; align-items: center; } .money-input input { padding-right: 30px; } .money-input > span { position: absolute; right: 11px; color: var(--muted); font-size: .84rem; pointer-events: none; } .due-output { height: 42px; display: flex; align-items: center; padding: 0 11px; background: var(--ice-50); border: 1px solid var(--ice-200); border-radius: 9px; font-family: var(--font-display); font-weight: 800; color: var(--brand-700); font-size: 1.05rem; } .segmented-radio { display: inline-flex; padding: 3px; background: var(--ice-50); border: 1px solid var(--line-soft); border-radius: 10px; gap: 2px; width: fit-content; } .segmented-radio label { position: relative; cursor: pointer; } .segmented-radio input { position: absolute; opacity: 0; pointer-events: none; } .segmented-radio span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; padding: 7px 13px; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--ink-2); } .segmented-radio input:checked + span { background: #fff; color: var(--brand-700); box-shadow: 0 1px 3px rgba(10, 44, 78, .14); } .segmented-radio input:focus-visible + span { outline: 3px solid rgba(25, 106, 188, .25); } .conflict-hint { display: flex; gap: 8px; padding: 10px 12px; border-radius: 9px; background: var(--red-soft); border: 1px solid #f0c4be; color: #7d241b; font-size: .82rem; } .conflict-hint.is-ok { background: var(--green-soft); border-color: #bfe3bf; color: #1f5a23; } .conflict-hint[hidden] { display: none; } .form-actions { display: grid; gap: 8px; margin-top: 16px; } .card--summary { background: linear-gradient(180deg, #fff, #fbfdff); } .summary-list, .meta-list, .money-list { margin: 0; display: grid; gap: 0; } .summary-list > div, .meta-list > div, .money-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); } .summary-list > div:last-child, .meta-list > div:last-child, .money-list > div:last-child { border-bottom: 0; } .summary-list dt, .meta-list dt, .money-list dt { font-size: .78rem; color: var(--muted); } .summary-list dd, .meta-list dd, .money-list dd { margin: 0; font-size: .84rem; font-weight: 600; color: var(--ink); text-align: right; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .summary-list .is-strong dd, .money-list .is-strong dd { color: var(--brand-700); font-family: var(--font-display); font-size: 1rem; font-weight: 800; } .card--danger { margin-top: 16px; border-color: #efc9c4; background: #fffdfd; } .danger-actions { display: flex; gap: 10px; flex-wrap: wrap; } .danger-actions form { margin: 0; } /* --------------------------------------------------------------- Detail */ .detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 16px; align-items: start; } .detail-main, .detail-side { display: grid; gap: 16px; min-width: 0; } .detail-side { position: sticky; top: calc(var(--topbar-h) + 16px); } .detail-meta { margin: 0; } .card--copy { overflow: hidden; } .copy-source { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } .copy-source--visible { position: static; width: 100%; height: auto; min-height: 54px; opacity: 1; padding: 10px 12px; resize: vertical; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--ice-50); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--ink-2); word-break: break-all; } .copy-list { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-soft); } .copy-list__row { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 14px; padding: 9px 2px; border-bottom: 1px solid var(--line-soft); } .copy-list__row:last-child { border-bottom: 0; } .copy-list dt { margin: 0; font-size: .78rem; font-weight: 600; color: var(--muted); } .copy-list dd { margin: 0; font-size: .9rem; color: var(--ink); word-break: break-word; } .copy-list__row.is-strong dd { color: var(--brand-700); font-weight: 800; font-family: var(--font-display); } .copy-list--compact .copy-list__row { padding: 6px 0; grid-template-columns: 130px 1fr; } .copy-list--compact dd { font-size: .84rem; } .copy-hint { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: .76rem; } .copy-hint .ico { width: 14px; height: 14px; color: var(--green); } .reminder-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .reminder-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 11px; background: #fff; } .reminder-row.is-overdue { border-color: #f0c4be; background: #fffafa; } .reminder-row.is-done { opacity: .62; background: var(--ice-50); } .reminder-row__date { width: 90px; flex: 0 0 auto; display: flex; flex-direction: column; line-height: 1.2; } .reminder-row__date strong { font-size: .82rem; color: var(--ink); } .reminder-row__date span { font-size: .7rem; color: var(--muted); } .reminder-row.is-overdue .reminder-row__date span { color: #a43227; font-weight: 700; } .reminder-row__body { flex: 1; min-width: 0; } .reminder-row__body strong { font-size: .86rem; color: var(--ink); } .reminder-row__body p { font-size: .8rem; color: var(--muted); margin-top: 2px; } .reminder-row__action { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .reminder-row__action form { margin: 0; } /* --------------------------------------------------------------- Panel dialog */ .booking-dialog { width: min(720px, calc(100vw - 28px)); max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); color: var(--ink-2); } .booking-dialog::backdrop { background: rgba(6, 26, 46, .42); backdrop-filter: blur(3px); } .booking-dialog__inner { max-height: min(90vh, 900px); overflow-y: auto; } .confirm-dialog { width: min(460px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); color: var(--ink-2); } .confirm-dialog::backdrop { background: rgba(6, 26, 46, .42); backdrop-filter: blur(3px); } .confirm-dialog__inner { padding: 20px 22px 16px; } .confirm-dialog__inner h2 { font-size: 1.15rem; margin-bottom: 4px; } .confirm-dialog__lead { font-size: .86rem; color: var(--muted); margin-bottom: 12px; } .confirm-dialog__facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; margin: 0 0 12px; } .confirm-dialog__facts > div { display: contents; } .confirm-dialog__facts dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; } .confirm-dialog__facts dd { margin: 0; font-size: .88rem; color: var(--ink); min-width: 0; overflow-wrap: anywhere; } .confirm-dialog__facts dd strong { color: var(--brand-ink, var(--brand)); } .confirm-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; } .panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--ice-50), #fff); } .panel-head__main { min-width: 0; } .panel-head__trailer { display: flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; color: var(--muted); } .panel-head h2 { font-size: 1.35rem; margin: 4px 0 3px; } .panel-head p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); } .panel-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); gap: 18px; padding: 18px 22px; } .panel-copy__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; } .panel-copy h3 { font-size: .92rem; } .panel-meta .next-reminder { margin-top: 12px; padding: 10px 11px; border-radius: 10px; background: var(--ice-50); border: 1px solid var(--ice-200); } .panel-meta .next-reminder.is-overdue { background: var(--red-soft); border-color: #f0c4be; } .next-reminder > span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; } .next-reminder strong { display: block; font-size: .82rem; color: var(--ink); margin-top: 2px; } .next-reminder p { font-size: .76rem; color: var(--muted); } .panel-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line-soft); background: var(--ice-50); } .panel-actions form { margin: 0; } .cal-absences { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--ice-50); border: 1px solid var(--line-soft); font-size: .8rem; color: var(--ink-2); } .cal-absences strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .cal-absences__item { display: inline-flex; align-items: baseline; gap: 5px; padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .78rem; } .cal-absences__item em { font-style: normal; font-weight: 500; color: var(--muted); font-size: .74rem; } .cal-absences .link-arrow { margin-left: auto; } .absence-list { list-style: none; display: grid; gap: 14px; } .absence-group { display: grid; gap: 6px; } .absence-group__name { font-family: var(--font-display); font-size: .95rem; color: var(--ink); } .absence-entries { list-style: none; display: grid; gap: 6px; } .absence-entry { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 11px; border-radius: 10px; background: var(--ice-50); border: 1px solid var(--line-soft); } .absence-entry:target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25, 106, 188, .12); } .absence-entry__dates { font-size: .84rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: baseline; gap: 6px; } .absence-entry__dates em { font-style: normal; font-weight: 500; } .absence-entry__note { font-size: .8rem; color: var(--muted); } .absence-entry__actions { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; } .absence-entry__actions form { margin: 0; } .link-button.is-danger { color: #a43227; } /* --------------------------------------------------------------- Search */ .search-hero { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 18px; } .search-hero > .ico { width: 21px; height: 21px; color: var(--muted); } .search-hero input { flex: 1; border: 0; outline: none; height: 42px; font-size: 1rem; background: transparent; min-width: 0; } .result-list { list-style: none; margin: 0; padding: 0; } .result-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--line-soft); } .result-row:first-child { border-top: 0; } .result-row.is-cancelled { opacity: .62; } .result-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; } .result-row__main strong { font-size: .9rem; color: var(--ink); } .result-row__main span { font-size: .76rem; color: var(--muted); } .result-row__meta { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); } /* --------------------------------------------------------------- Reminders */ .reminder-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; } .reminder-day { margin-bottom: 20px; } .reminder-day__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; padding: 0 2px; } .reminder-day__head h2 { font-size: .98rem; } .reminder-day.is-past .reminder-day__head h2 { color: #7d241b; } .reminder-day__count { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--ice-100); color: var(--brand-700); font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; } .reminder-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .reminder-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); } .reminder-card.is-overdue { border-color: #efc0ba; background: linear-gradient(180deg, #fff, #fffafa); } .reminder-card.is-done { opacity: .62; background: var(--ice-50); } .reminder-card__main { flex: 1; min-width: 0; } .reminder-card__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; } .reminder-card__employee { font-size: .75rem; color: var(--muted); margin-left: auto; } .reminder-card__message { font-size: .88rem; color: var(--ink-2); } .reminder-card__booking { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 7px; font-size: .76rem; color: var(--muted); } .reminder-card__booking strong { color: var(--ink); font-size: .8rem; } .reminder-card__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; } .reminder-card__actions form { margin: 0; } .reminder-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--ice-50); border: 1px solid var(--ice-200); color: var(--brand-800); font-size: .82rem; max-width: 900px; } /* --------------------------------------------------------------- Admin */ .panel__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; position: relative; } .create-trailer { position: relative; } .create-trailer__summary { list-style: none; cursor: pointer; } .create-trailer__summary::-webkit-details-marker { display: none; } .create-trailer__summary::marker { content: ''; } .create-trailer[open] .create-trailer__summary { background: var(--ice-100); border-color: var(--ice-300); color: var(--brand-700); } .create-trailer__body { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(660px, calc(100vw - 32px)); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); } .create-trailer__body-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; } .create-trailer__body-head strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); } .create-trailer__body-head span { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; } .create-trailer__body-head > .muted { margin-top: 0; white-space: nowrap; } .create-trailer__body .form-grid { gap: 12px 14px; } .create-trailer__body .trailer-admin__preview { margin-top: 2px; } .admin-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); } .admin-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-2); } .admin-nav a:hover { background: var(--ice-50); color: var(--brand-700); } .admin-nav a.is-active { background: var(--ice-100); color: var(--brand-700); } .admin-nav .ico { width: 16px; height: 16px; } .table-wrap { overflow-x: auto; } .table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; } .table-actions form { margin: 0; } .data-table { width: 100%; border-collapse: collapse; font-size: .84rem; } .data-table th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; } .data-table td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; } .data-table tr:last-child td { border-bottom: 0; } .data-table tr:hover td { background: #fbfdff; } .table-person { display: inline-flex; align-items: center; gap: 9px; } .table-person > span:last-child { display: flex; flex-direction: column; line-height: 1.2; } .table-person strong { color: var(--ink); font-size: .85rem; } .table-person small { color: var(--muted); font-size: .72rem; } .table-person .invite-open { color: var(--brand-700); font-weight: 600; } .admin-split { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; align-items: start; } .trailer-admin { display: grid; gap: 0; border-top: 1px solid var(--line-soft); } .trailer-admin__head, .trailer-admin__row { display: grid; grid-template-columns: 140px minmax(110px, 1fr) minmax(100px, .8fr) 78px 54px 150px 92px; gap: 10px; align-items: center; } .trailer-admin__head { padding: 8px 2px; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; } .trailer-admin__row { padding: 9px 2px; border-top: 1px solid var(--line-soft); position: relative; } .trailer-admin__row.has-error { background: #fffafa; } .trailer-admin__row input[type="text"], .trailer-admin__row input[type="number"] { height: 38px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; font-size: .84rem; } .trailer-admin__row input[type="number"] { width: 78px; } .trailer-admin__color { display: flex; align-items: center; gap: 7px; } .trailer-admin__color input[type="color"] { width: 38px; height: 38px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; } .trailer-admin__color .color-hex { width: 82px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; } .trailer-admin__preview { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 8px; background: var(--trailer); color: var(--trailer-text); font-size: .76rem; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .trailer-admin__row .field-error { grid-column: 1 / -1; } .trailer-admin__active { justify-content: center; } .trailer-admin__active input { margin-top: 0; } /* --------------------------------------------------------------- Account */ .account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } .ico--inline { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 2px; } .push-card { margin-top: 16px; } .push-browser-hint { display: flex; align-items: flex-start; gap: 11px; padding: 13px 15px; border-radius: 12px; background: var(--ice-50); border: 1px solid var(--ice-200); color: var(--brand-800); font-size: .86rem; } .push-browser-hint .ico { width: 20px; height: 20px; margin-top: 1px; } .push-browser-hint p { color: var(--ink-2); margin-top: 3px; } .push-controls { display: grid; gap: 12px; } .push-controls[hidden] { display: none; } .push-toggle { width: 100%; padding: 14px 15px; } .push-toggle > span { display: flex; flex-direction: column; gap: 2px; } .push-toggle strong { font-size: .9rem; color: var(--ink); } .push-toggle small { font-size: .77rem; color: var(--muted); font-weight: 500; } .push-status { min-height: 0; font-size: .82rem; color: var(--muted); } .push-status:empty { display: none; } .push-status.is-error { color: #9e2f25; font-weight: 600; } .push-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .push-actions .muted { font-size: .76rem; } /* --------------------------------------------------------------- Auth */ .auth-page { background: var(--white); margin: 0; } .auth-shell { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; } .auth-visual { position: relative; overflow: hidden; background: var(--brand-900); } .auth-visual__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .auth-visual__shade { position: absolute; inset: 0; background: linear-gradient(150deg, rgba(6, 26, 46, .88) 0%, rgba(10, 44, 78, .74) 48%, rgba(25, 106, 188, .42) 100%); } .auth-visual__content { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; padding: clamp(26px, 4vw, 54px); color: #fff; } .auth-brand { display: flex; align-items: center; gap: 11px; } .auth-brand span { display: flex; flex-direction: column; line-height: 1.05; } .auth-brand strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; } .auth-brand small { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; opacity: .72; margin-top: 4px; } .auth-visual__claim { margin: auto 0; max-width: 560px; padding: 30px 0; } .auth-visual__claim .eyebrow { color: #9ed2ff; } .auth-visual__claim h2 { color: #fff; font-size: clamp(2.1rem, 4.3vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 16px; } .auth-visual__claim > p { color: #d6e8f9; font-size: clamp(.92rem, 1.1vw, 1.02rem); max-width: 44ch; } .auth-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 9px; font-size: .88rem; color: #e8f3fd; } .auth-points li { display: flex; align-items: center; gap: 8px; } .auth-points .ico { width: 16px; height: 16px; color: #9ed2ff; } .auth-visual__foot { color: rgba(255, 255, 255, .54); font-size: .75rem; letter-spacing: .02em; } .auth-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(22px, 4vw, 56px); background: linear-gradient(160deg, #fff 20%, var(--ice-50)); } .auth-card { width: min(420px, 100%); } .auth-card__mobilebrand { display: none; align-items: center; gap: 9px; margin-bottom: 26px; color: var(--ink); font-family: var(--font-display); font-weight: 800; } .auth-card h1 { font-size: 2rem; margin-bottom: 8px; } .auth-card__lede { color: var(--muted); font-size: .9rem; margin-bottom: 22px; } .auth-form { display: grid; gap: 14px; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .auth-form .field input { height: 46px; background: #fff; } .auth-form .btn { min-height: 46px; margin-top: 2px; } .auth-card__hint { display: flex; gap: 9px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; line-height: 1.5; } .auth-card__hint .ico { width: 17px; height: 17px; color: var(--brand); margin-top: 1px; } .auth-foot { position: absolute; bottom: 22px; color: #8a9aa7; font-size: .72rem; } .auth-panel { position: relative; } .auth-panel .flash { margin-bottom: 16px; } /* --------------------------------------------------------------- Toast */ .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; max-width: min(460px, calc(100vw - 32px)); padding: 11px 16px; border-radius: 11px; background: var(--brand-900); color: #fff; font-size: .86rem; box-shadow: var(--shadow-lg); } .toast.is-error { background: #7d241b; } /* --------------------------------------------------------------- Error page */ .error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; } .error-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 38px; max-width: 460px; text-align: center; } .error-card img { margin: 0 auto 14px; } .error-card h1 { margin-bottom: 8px; } .error-card p { color: var(--muted); margin-bottom: 18px; } /* --------------------------------------------------------------- PWA */ @supports (padding: env(safe-area-inset-top)) { .topbar { padding-top: env(safe-area-inset-top); } .page { padding-bottom: max(48px, calc(48px + env(safe-area-inset-bottom))); } .auth-panel { padding-bottom: max(clamp(22px, 4vw, 56px), calc(22px + env(safe-area-inset-bottom))); } } @media (display-mode: standalone) { .footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); } .auth-foot { bottom: calc(22px + env(safe-area-inset-bottom)); } } /* --------------------------------------------------------------- Responsive */ @media (max-width: 1240px) { .dash-grid { grid-template-columns: 1fr; } .dash-side { grid-template-columns: 1fr 1fr; align-items: start; } .form-layout { grid-template-columns: 1fr; } .form-side { position: static; } .detail-grid { grid-template-columns: 1fr; } .detail-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; } .detail-side > .detail-meta { grid-column: 1 / -1; } .admin-split { grid-template-columns: 1fr; } } @media (max-width: 1080px) { .global-search input { width: 150px; } .mainnav a span { font-size: .82rem; } .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-grid { grid-template-columns: 1fr; } } @media (max-width: 960px) { .topbar__inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 8px 16px; } .brand { order: 1; } .topbar__tools { order: 2; margin-left: auto; } .mainnav { order: 3; flex-basis: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; gap: 0; } .mainnav::-webkit-scrollbar { display: none; } .mainnav a { padding: 9px 10px; gap: 6px; } .nav-long { display: none; } .nav-short { display: inline; } .global-search { display: none; } .dash-side { grid-template-columns: 1fr; } .detail-side { grid-template-columns: 1fr; } .info-grid { grid-template-columns: 1fr; } .auth-shell { grid-template-columns: 1fr; } .auth-visual { display: none; } .auth-card__mobilebrand { display: inline-flex; } .auth-panel { min-height: 100vh; } .auth-foot { position: static; margin-top: 28px; } } @media (max-width: 760px) { .cal { --lane: 112px; } .cal-label { padding: 0 9px; gap: 7px; } .cal-label__text strong { font-size: .8rem; } .cal-label__text small { font-size: .64rem; } .cal-label__add { display: none; } .cal-head__weekday { font-size: .6rem; } .cal-head__num { font-size: .92rem; } .cal-head__month { font-size: .6rem; } .cal-head__month.is-month-start { font-size: .66rem; } .cal-head__year { font-size: .54rem; } .trailer-grid { grid-template-columns: 1fr; } .event-row__date { width: 98px; } .event-row .btn { display: none; } .form-grid { grid-template-columns: 1fr; } .field--wide { grid-column: auto; } .panel, .card { padding: 16px; } .page { padding-bottom: 70px; } .reminder-card { flex-direction: column; } .reminder-card__actions { width: 100%; justify-content: flex-end; } .reminder-card__employee { margin-left: 0; } .copy-list__row { grid-template-columns: 120px 1fr; } .panel-body { grid-template-columns: 1fr; } .booking-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 20px 20px 0 0; } .confirm-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 20px 20px 0 0; } .booking-dialog__inner { max-height: 88vh; } .trailer-admin__head { display: none; } .trailer-admin__row { grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 0; } .trailer-admin__row .trailer-admin__color { grid-column: 1 / -1; } .trailer-admin__row .trailer-admin__preview { grid-column: 1 / -1; } .trailer-admin__row .trailer-admin__active { grid-column: 1 / -1; justify-content: flex-start; } .trailer-admin__row > .link-button, .trailer-admin__row > .muted { grid-column: 1 / -1; } .trailer-admin__row input[type="number"] { width: 100%; } .admin-nav { overflow-x: auto; flex-wrap: nowrap; } .panel__head { flex-wrap: wrap; } .panel__actions { width: 100%; } .create-trailer[open] { flex: 1 1 100%; order: 2; } .create-trailer__body { position: static; width: 100%; margin-top: 10px; padding: 16px; box-shadow: var(--shadow-sm); } .create-trailer__body-head { flex-direction: column; gap: 4px; } .create-trailer__body-head > .muted { white-space: normal; } .admin-nav a { flex: 0 0 auto; } .panel-head { padding: 16px 16px 12px; } .panel-head h2 { font-size: 1.15rem; } .panel-body { padding: 14px 16px; } .panel-actions { padding: 12px 16px; } .reminder-toolbar { align-items: flex-start; flex-direction: column; } .cal-toolbar { align-items: flex-start; } .cal-toolbar__left { width: 100%; justify-content: space-between; } .cal-filters { width: 100%; justify-content: flex-end; } .cal-scroll-hint { display: inline-flex; } .date-jump input[type="date"] { width: 124px; } .reminder-row { flex-wrap: wrap; } .reminder-row__action { margin-left: auto; } } @media (max-width: 520px) { .mainnav a { padding: 8px 5px; gap: 4px; font-size: .75rem; } .mainnav .ico { width: 16px; height: 16px; } .nav-badge { min-width: 17px; height: 17px; font-size: .64rem; padding: 0 5px; } .brand__sub { display: none; } .user-menu__name { display: none; } .user-menu summary { padding: 3px; } .page-head__actions { width: 100%; } .page-head__actions .btn { flex: 1; } .page-head__actions form { flex: 1; } .page-head__actions form .btn { width: 100%; } .kpi { padding: 11px 12px; } .kpi strong { font-size: 1.1rem; } .kpi span { font-size: .72rem; } .segmented a { padding: 6px 9px; font-size: .78rem; } .cal-toolbar { padding: 7px; } .date-jump .btn { display: none; } .auth-panel { padding: 20px; } .auth-card h1 { font-size: 1.7rem; } .field-row { grid-template-columns: 1fr; } .result-row__meta { display: none; } .copy-list__row { grid-template-columns: 110px 1fr; gap: 8px; } .footer { flex-direction: column; } } /* --------------------------------------------------------------- Motion + Print */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } } @media print { .topbar, .footer, .flash-wrap, .page-head__actions, .cal-toolbar, .cal-foot, .panel-actions, .breadcrumb, .detail-side .card:last-child, .toast, .booking-dialog, .confirm-dialog { display: none !important; } body { background: #fff; } .page { padding: 0; max-width: none; } .card, .panel { box-shadow: none; border-color: #ccc; } .detail-grid { display: block; } .detail-main { display: block; } .card { margin-bottom: 12px; } } /* --------------------------------------------------------------- Rechtsseiten */ .legal-page { background: var(--white); } .legal-topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); } .legal-topbar__inner { max-width: 1000px; margin: 0 auto; padding: 13px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .legal-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); } .legal-brand span { display: flex; flex-direction: column; line-height: 1.1; } .legal-brand strong { font-family: var(--font-display); font-size: 1rem; font-weight: 800; } .legal-brand small { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; } .legal-nav { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; font-size: .85rem; font-weight: 600; } .legal-nav a { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); } .legal-nav a:hover { background: var(--ice-50); color: var(--brand-700); } .legal-nav a[aria-current="page"] { background: var(--ice-100); color: var(--brand-700); } .legal-nav a.legal-nav__login { background: var(--brand); color: #fff; } .legal-nav a.legal-nav__login:hover { background: var(--brand-700); color: #fff; } .legal { max-width: 900px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) 56px; } .legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 46px); } .legal-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; } .legal-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; } .legal-card h2 { font-size: 1.15rem; margin: 0 0 10px; } .legal-lead { color: var(--muted); font-size: 1rem; max-width: 68ch; margin: 0 0 26px; } .legal-card p, .legal-card li { font-size: .94rem; line-height: 1.65; } .legal-card p { margin: 0 0 12px; } .legal-card ul, .legal-card ol { margin: 0 0 14px; padding-left: 1.3rem; } .legal-card li { margin: 4px 0; } .legal-card code { background: var(--ice-50); border: 1px solid var(--ice-200); border-radius: 5px; padding: 1px 5px; font-size: .85em; word-break: break-word; } .legal-toc { background: var(--ice-50); border: 1px solid var(--ice-200); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 30px; } .legal-toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 28px; font-size: .88rem; } .legal-toc li { margin: 3px 0; break-inside: avoid; } .legal-section { margin-top: 26px; scroll-margin-top: 84px; } .legal-section + .legal-section { border-top: 1px solid var(--line-soft); padding-top: 26px; } .legal-address { font-style: normal; background: var(--ice-50); border: 1px solid var(--ice-200); border-radius: 10px; padding: 12px 15px; margin: 0 0 14px; line-height: 1.6; } .legal-note { background: var(--amber-soft); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 0 8px 8px 0; color: var(--ink-2); } .legal-table-wrap { overflow-x: auto; margin: 0 0 16px; } .legal-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 620px; } .legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 9px 11px; border-bottom: 1px solid var(--line); } .legal-table thead th { background: var(--ice-50); font-weight: 700; color: var(--ink); } .legal-meta { color: var(--muted); font-size: .8rem !important; } .legal-backlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; } .legal-backlink::before { content: "←"; } .legal-footer { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter) 36px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; } .legal-footer nav { display: flex; gap: 14px; flex-wrap: wrap; } .auth-card__legal { margin-top: 18px; color: var(--muted); font-size: .74rem; line-height: 1.6; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; } .auth-card__legal a { font-weight: 600; } .auth-foot nav { display: flex; gap: 12px; flex-wrap: wrap; } .footer__links { display: flex; gap: 14px; flex-wrap: wrap; } @media (max-width: 640px) { .legal-toc ol { columns: 1; } .legal-topbar__inner { align-items: flex-start; } .legal-nav { width: 100%; } .legal-nav a { padding: 6px 8px; } .legal-card { border-radius: var(--radius-lg); } } @media print { .legal-topbar, .legal-footer, .legal-toc { display: none !important; } .legal { max-width: none; padding: 0; } .legal-card { border: 0; box-shadow: none; padding: 0; } } .auth-foot { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; } .legal-section--note { background: var(--ice-50); border: 1px solid var(--ice-200); border-radius: var(--radius); padding: 16px 18px; } @media (max-width: 640px) { .legal-section { scroll-margin-top: 120px; } } @media (min-width: 961px) { .auth-panel { padding-bottom: max(80px, calc(56px + env(safe-area-inset-bottom))); } }