:root {
    color-scheme: light;
    --forest: #101914;
    --forest-2: #26322a;
    --moss: #65735d;
    --cream: #f4efe6;
    --paper: #fffaf3;
    --line: #ded2c0;
    --truck-green: #347a43;
    --truck-green-light: var(--truck-green);
    --bronze: #b57435;
    --bronze-2: #8f5524;
    --ink: #161616;
    --muted: #6d675f;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); }
html, body { max-width: 100%; overflow-x: hidden; }
body.public { --bronze: var(--truck-green); --bronze-2: #286235; }
body.public .services-hero .eyebrow, body.public .company-hero .eyebrow, body.public .contact-hero .eyebrow, body.public .image-band .eyebrow { color: var(--truck-green-light); }
body.public .contact-form input:focus, body.public .contact-form select:focus, body.public .contact-form textarea:focus { outline-color: rgba(52,122,67,.28); }
body.employee .site-header, body.employee .site-footer { display: none; }
.site-header { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 16px clamp(18px, 5vw, 72px); background: rgba(16, 25, 20, .97); border-bottom: 1px solid rgba(244, 239, 230, .12); }
.brand { color: var(--cream); text-decoration: none; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.brand-logo { min-width: 172px; display: inline-grid; gap: 0; line-height: 1; text-transform: none; letter-spacing: 0; }
.brand-logo__script { position: relative; z-index: 1; width: max-content; font-family: "Brush Script MT", "Segoe Script", "Apple Chancery", cursive; font-size: 38px; font-weight: 700; font-style: italic; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.brand-logo__line { width: max-content; margin-top: 2px; padding: 3px 8px 4px; color: #fff7ed; background: var(--truck-green); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; transform: skew(-8deg); }
.brand--footer { display: inline-grid; margin-bottom: 12px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--cream); text-decoration: none; font-size: 14px; }
.nav-logout { margin: 0; }
.nav-logout button { min-height: auto; padding: 0; color: var(--cream); background: transparent; font-size: 14px; font-weight: 400; }
nav a:hover, .nav-logout button:hover, .footer-nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--truck-green); text-underline-offset: 5px; }
.hero, .services-hero, .fleet-hero, .contact-hero { min-height: 78vh; display: grid; align-items: end; padding: clamp(58px, 10vw, 128px) clamp(20px, 7vw, 96px); color: var(--cream); background-color: var(--forest); background-size: cover; background-position: center; }
.hero { position: relative; isolation: isolate; align-items: end; min-height: clamp(560px, 78vh, 850px); padding-top: 300px; padding-bottom: clamp(32px, 4vw, 56px); }
.hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(16,25,20,.2) 46%, rgba(16,25,20,.96) 100%); }
.hero .hero__content { max-width: 900px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 78px); }
.hero__content .eyebrow { color: var(--truck-green-light); text-shadow: 0 2px 6px rgba(16,25,20,.65); margin: 0 0 16px; }
.hero__content > p:last-child { margin-bottom: 0; }
.services-hero, .fleet-hero { min-height: 56vh; border-bottom: 8px solid var(--cream); background-image: linear-gradient(115deg, rgba(16,25,20,.96), rgba(38,50,42,.66)), url('/images/kropp-titelbild-restauriert.jpg'); }
.contact-hero, .company-hero { min-height: 48vh; display: grid; align-items: end; padding: clamp(48px, 9vw, 104px) clamp(20px, 7vw, 96px); color: var(--cream); background: linear-gradient(115deg, rgba(16,25,20,.98), rgba(38,50,42,.74)); }
.contact-hero--fleet { position: relative; isolation: isolate; display: block; min-height: 0; padding: 0; background: var(--forest); }
.contact-hero__image { position: relative; z-index: -2; display: block; width: 100%; height: auto; }
.contact-hero--fleet .contact-hero__copy { max-width: none; padding: clamp(28px, 4vw, 56px) clamp(20px, 7vw, 96px); }
.contact-hero--fleet::after { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: 39.68vw; max-height: 100%; background: linear-gradient(180deg, transparent 45%, rgba(16,25,20,.5) 75%, var(--forest) 100%); }
.hero__content, .services-hero__copy, .fleet-hero__copy, .contact-hero__copy, .company-hero__copy { max-width: 880px; }
.company-hero__copy, .services-hero__copy, .fleet-hero__copy, .contact-hero__copy { max-width: 1180px; }
.eyebrow { color: var(--truck-green); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.hero__content .eyebrow { font-size: 24px; }
h1, h2, h3 { margin: 0 0 18px; font-weight: 900; text-transform: uppercase; line-height: .98; letter-spacing: 0; }
h1 { font-size: clamp(42px, 7.7vw, 104px); max-width: 980px; }
.company-hero h1, .services-hero h1, .fleet-hero h1, .contact-hero h1 { max-width: 1180px; font-size: clamp(42px, 5.2vw, 86px); line-height: 1.02; }
.company-hero p, .services-hero p, .fleet-hero p, .contact-hero p { max-width: 760px; }
h2 { font-size: clamp(30px, 4.8vw, 62px); }
h3 { font-size: 24px; line-height: 1.08; }
p { line-height: 1.7; font-size: 18px; }
.button, button { min-height: 48px; border: 0; padding: 14px 22px; font: inherit; font-weight: 900; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.button--bronze, .clock-actions button { color: #fff; background: var(--truck-green); }
.button--bronze:hover, .clock-actions .clock-button--start:hover { background: #286235; }
.button--bronze:focus-visible, .clock-actions button:focus-visible, .admin-settings-form button:focus-visible { outline: 3px solid var(--truck-green-light); outline-offset: 4px; }
.admin-settings-form button[type=submit] { color: #fff; background: var(--truck-green); }
.admin-settings-form button[type=submit]:hover { background: #286235; }
.button--ghost { color: var(--cream); border: 1px solid rgba(244, 239, 230, .58); background: rgba(244, 239, 230, .08); }
.button--dark { color: var(--cream); background: var(--forest); }
.button--light { color: var(--forest); background: #ddd6ca; }
.button--light:hover { background: #cec4b5; }
.button--danger { color: #fff; background: #9b3026; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 560px); gap: clamp(28px, 8vw, 96px); padding: clamp(56px, 10vw, 120px) clamp(20px, 7vw, 96px); background: var(--paper); }
.split--intro { border-bottom: 1px solid var(--line); }
.home-intro { max-width: 720px; }
.home-intro p:first-child { margin-top: 0; }
.image-band { min-height: 520px; display: grid; align-items: end; padding: clamp(40px, 8vw, 96px); color: var(--cream); background: linear-gradient(90deg, rgba(16,25,20,.95), rgba(16,25,20,.66) 52%, rgba(16,25,20,.34)), url('/images/forest-section-background.png'); background-size: cover; background-position: center; }
.image-band--fleet { background-position: center right; }
.image-band__copy { max-width: 720px; }
.image-band--home { position: relative; isolation: isolate; min-height: clamp(600px, 47vw, 880px); background: #080c09; }
.image-band--home .image-band__image { width: 78%; object-fit: contain; object-position: left center; }
.image-band__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.image-band--home::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 30%, rgba(8,12,9,.32) 45%, rgba(8,12,9,.92) 62%, #080c09 78%); }
.image-band--home .image-band__copy { justify-self: end; width: 48%; max-width: 580px; }
.image-band--home .eyebrow { color: var(--truck-green-light); }
.image-band--home .button--bronze { background: var(--truck-green); }
.image-band--home .button--bronze:hover { background: #286235; }
.image-band--home .button--bronze:focus-visible { outline: 3px solid var(--truck-green-light); outline-offset: 4px; }
.service-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--paper); }
.service-overview--single { grid-template-columns: minmax(0, 1fr); }
.service-overview--single .eyebrow, .service-closing--services .eyebrow { color: var(--truck-green); }
.service-list { padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 72px); }
.service-list--dark { color: var(--cream); background: var(--forest-2); border-top: 1px solid rgba(244, 239, 230, .34); }
.service-list ul, .feature-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.service-list li, .feature-list li { position: relative; padding-left: 28px; font-size: 18px; line-height: 1.55; }
.service-list li::before, .feature-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--bronze); }
.service-closing { padding: clamp(48px, 8vw, 104px) clamp(20px, 7vw, 96px); background: var(--cream); }
.service-closing div { max-width: 840px; }
.company-profile, .fleet-grid, .contact-grid { display: grid; grid-template-columns: minmax(280px, 520px) minmax(0, 1fr); gap: clamp(32px, 7vw, 92px); align-items: start; padding: clamp(56px, 10vw, 120px) clamp(20px, 7vw, 96px); background: var(--paper); }
.company-profile__text { max-width: 780px; }
.history-frame { margin: 0; }
.history-frame img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 10px solid #ded1bf; box-shadow: 0 24px 60px rgba(17, 26, 22, .18); filter: sepia(.12) contrast(1.04); }
.history-frame__placeholder { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 28px; color: var(--cream); background: linear-gradient(135deg, #2b2a26, #71685b); border: 10px solid #ded1bf; box-shadow: 0 24px 60px rgba(17, 26, 22, .18); }
.history-frame__placeholder span { font-weight: 900; text-transform: uppercase; letter-spacing: .12em; text-align: center; }
figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-panel, .request-panel { min-height: 360px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); background: #fffdf8; }
.contact-panel address { font-style: normal; font-size: 19px; line-height: 1.7; }
.contact-request { display: grid; grid-template-columns: minmax(220px, 310px) minmax(0, 820px); gap: clamp(34px, 7vw, 104px); align-items: start; padding: clamp(54px, 8vw, 104px) clamp(20px, 7vw, 96px); background: var(--paper); }
.contact-request__aside { position: sticky; top: 112px; max-width: 310px; padding-top: 6px; }
.contact-request__aside h2 { max-width: 10em; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }
.contact-request__aside h2 span { display: block; white-space: nowrap; }
.contact-request__aside address { font-style: normal; font-size: 18px; line-height: 1.7; }
.contact-request__aside p:not(.eyebrow) { max-width: 290px; color: #332d27; }
.contact-form-panel { max-width: 820px; padding-top: 4px; }
.contact-form-panel h2 { margin-bottom: 12px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; }
.form-lead { max-width: 720px; margin: 0; color: #403a33; }
.form-status, .form-errors { margin: 24px 0; padding: 14px 16px; border-left: 4px solid #58783e; background: #edf5e8; }
.form-errors { border-left-color: #b33b2e; background: #f8e9e5; }
.form-errors p { margin: 0 0 8px; }
.form-errors ul { margin: 0; padding-left: 20px; }
.contact-form { display: grid; gap: 20px; margin-top: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.contact-form label { gap: 7px; font-size: 15px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cdbfae; background: #fffdf8; color: var(--ink); font: inherit; font-size: 16px; }
.contact-form textarea { min-height: 102px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(181, 116, 53, .28); border-color: var(--bronze); }
.checkbox-label { display: flex; grid-template-columns: none; flex-direction: row; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.5; }
.checkbox-label input { width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--bronze); }
.contact-form button { width: fit-content; color: #fff; background: var(--bronze); }
.contact-form button:hover { background: var(--bronze-2); }
.site-footer { display: flex; justify-content: space-between; gap: 32px; padding: clamp(34px, 6vw, 72px) clamp(20px, 7vw, 96px); color: var(--cream); background: var(--forest); }
.site-footer p { max-width: 560px; margin: 0; color: #d8d0c3; font-size: 16px; }
.footer-nav { align-content: flex-start; }
.legal-page { padding: clamp(44px, 8vw, 96px) clamp(20px, 7vw, 96px); background: var(--paper); }
.legal-page h1 { margin-bottom: clamp(32px, 6vw, 72px); }
.legal-page h2 { font-size: clamp(24px, 3vw, 38px); }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 72px); margin-bottom: clamp(40px, 7vw, 84px); }
.legal-contact, .legal-text { max-width: 780px; }
.legal-contact address { font-style: normal; font-size: 19px; line-height: 1.7; margin-bottom: 26px; }
.legal-contact dl { display: grid; gap: 10px; margin: 0; }
.legal-contact dl div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 8px 0; border-bottom: 1px solid #ded1bf; }
.legal-contact dt { font-weight: 800; color: #6b6258; }
.legal-contact dd { margin: 0; }
.legal-page a { color: var(--forest-2); font-weight: 800; text-decoration-color: var(--bronze); }
.legal-text { margin-top: 32px; }
.legal-text--lead { margin-top: 0; margin-bottom: clamp(32px, 6vw, 72px); }
.page-section, .login-panel, .employee-shell, .admin-shell { padding: clamp(36px, 8vw, 88px) clamp(18px, 6vw, 72px); }
.login-panel { min-height: 62vh; background: var(--paper); }
.login-panel form { display: grid; gap: 18px; max-width: 420px; }
label { display: grid; gap: 8px; font-weight: 700; }
input, select, textarea { min-height: 46px; padding: 10px 12px; border: 1px solid #c9bda9; font: inherit; }
.employee-shell { max-width: 680px; margin: 0 auto; }
.employee-clock { min-height: 62vh; background: var(--paper); }
.employee-clock__head { margin-bottom: 18px; }
.employee-clock__head .eyebrow { margin-bottom: 8px; }
.employee-clock__head h1 { max-width: 100%; margin-bottom: 4px; font-size: clamp(30px, 7vw, 42px); overflow-wrap: anywhere; }
.employee-clock__head p:last-child { margin: 0; color: var(--muted); font-size: 18px; }
.employee-clock__weekday { margin: 0 0 4px; color: var(--forest); font-size: clamp(18px, 4vw, 24px); font-weight: 900; }
.employee-state { display: grid; gap: 14px; padding: clamp(18px, 4vw, 26px); border: 1px solid var(--line); background: #fffdf8; }
.employee-state h2 { margin-bottom: 0; font-size: clamp(22px, 4.8vw, 28px); line-height: 1.12; }
.employee-state p { margin: 0; }
.employee-name { color: var(--truck-green); font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.live-work-time { padding: 14px 16px; color: var(--forest); background: #e9f4df; border-left: 4px solid #23703a; font-weight: 900; }
.clock-actions { display: grid; gap: 14px; }
.clock-actions form, .clock-actions button, .employee-state form, .employee-state button { width: 100%; }
.clock-button { min-height: 72px; padding: 16px 20px; color: #fff; font-size: clamp(21px, 6vw, 30px); font-weight: 900; text-transform: uppercase; }
.clock-button--start { background: #23703a; }
.clock-button--start:hover { background: #1c5b30; }
.clock-actions .clock-button--stop { background: #286235; }
.clock-actions .clock-button--stop:hover { background: #204f2b; }
.clock-button--secondary { color: var(--forest); background: #e7dccb; }
.clock-button--secondary:hover { background: #d8c8b4; }
.today-stats { display: grid; gap: 8px; margin-top: 20px; }
.today-stats div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #d8cbb8; }
.employee-status-link { color: var(--forest); font-weight: 900; text-decoration-color: var(--bronze); text-underline-offset: 4px; }
.employee-status-link:hover { color: var(--truck-green); }
.employee-summary-grid { display: grid; gap: 16px; }
.employee-summary-card { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line); background: #fffdf8; }
.employee-summary-card > strong { font-size: clamp(52px, 12vw, 76px); line-height: .9; font-weight: 900; }
.employee-summary-card--vacation > strong { color: var(--bronze); }
.employee-summary-card--overtime > strong { color: #23703a; }
.employee-summary-card dl { display: grid; gap: 0; margin: 0; }
.employee-summary-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #d8cbb8; }
.employee-summary-card dt { color: var(--muted); }
.employee-summary-card dd { margin: 0; font-weight: 900; }
.employee-readonly-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.employee-back-link { margin: 18px 0 0; }
.employee-calendar-panel { display: grid; gap: 14px; margin-top: 18px; padding: 18px; border: 1px solid var(--line); background: #fffdf8; }
.employee-calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.absence-day--readonly { cursor: default; }
.notice { padding: 12px 14px; background: #e9f4df; border-left: 4px solid #58783e; }
.notice--error { background: #f8e9e5; border-left-color: #b33b2e; }
.employee-logout { margin-top: 20px; }
.employee-logout { display: grid; gap: 10px; }
.employee-password-link { justify-self: center; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration-color: var(--line); text-underline-offset: 4px; }
.employee-password-link:hover { color: var(--forest); text-decoration-color: var(--bronze); }
.admin-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 30px; }
.admin-head h1 { font-size: clamp(36px, 4vw, 58px); }
.admin-head__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.admin-grid { display: grid; gap: 28px; }
.admin-management-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.admin-panel { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); background: #fffdf8; }
.admin-panel h2 { font-size: clamp(26px, 4vw, 42px); }
.admin-panel--weekly-report { width: min(100%, 420px); }
.admin-panel--weekly-report h2 { font-size: clamp(22px, 2.4vw, 30px); }
.admin-panel--weekly-report .admin-user-form { grid-template-columns: 1fr; }
.admin-panel--manage { min-height: 260px; padding: 22px 26px; }
.admin-panel--manage h2, .admin-panel--compact h2 { font-size: clamp(22px, 2.4vw, 30px); }
.admin-settings-grid { display: block; max-width: 560px; }
.admin-panel--settings { max-width: 560px; }
.admin-status-date { margin: -8px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.admin-settings-form { display: grid; gap: 18px; max-width: 430px; }
.admin-settings-form label { display: flex; justify-content: space-between; gap: 18px; align-items: center; max-width: 430px; min-height: 42px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 800; }
.admin-settings-form input { flex: 0 0 86px; width: 86px !important; min-width: 86px; max-width: 86px; height: 36px; min-height: 36px; padding: 0 10px; border: 1px solid #cdbda8; background: #fffdf8; color: var(--ink); font: inherit; font-weight: 800; text-align: right; }
.admin-settings-form input::placeholder { color: #9d9489; font-weight: 700; opacity: 1; }
.admin-settings-form button { justify-self: start; min-width: 220px; margin-top: 12px; }
.settings-summary { display: grid; gap: 0; margin: 0; }
.settings-summary div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.settings-summary dt { color: var(--muted); }
.settings-summary dd { margin: 0; font-weight: 900; text-align: right; }
.absence-layout { display: grid; grid-template-columns: minmax(260px, 520px) minmax(420px, .78fr); gap: 28px; align-items: start; }
.absence-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.absence-card { min-height: 220px; }
.absence-card h2 { margin-bottom: 22px; font-size: clamp(42px, 5vw, 68px); }
.absence-value-button { display: block; width: 100%; min-height: auto; margin: 0 0 22px; padding: 0; border: 0; background: transparent; font: inherit; font-size: clamp(42px, 5vw, 68px); font-weight: 900; line-height: 1.08; text-align: left; }
.absence-value-button:focus { outline: 2px solid rgba(181, 116, 53, .28); outline-offset: 4px; }
.absence-value-button--vacation { color: var(--bronze); }
.absence-value-button--overtime { color: #1f6f47; }
.absence-card .settings-summary div { min-height: 54px; align-items: center; padding: 10px 0; }
.absence-card--vacation h2 { color: var(--bronze); }
.absence-card--overtime h2 { color: #1f6f47; }
.admin-dialog { width: min(92vw, 460px); padding: 28px; border: 1px solid var(--line); background: #fffdf8; color: var(--ink); }
.admin-dialog::backdrop { background: rgba(16, 25, 20, .48); }
.admin-dialog h2 { font-size: 30px; }
.admin-dialog label { display: grid; gap: 8px; margin-top: 18px; font-weight: 900; }
.admin-dialog input { min-height: 44px; padding: 0 12px; border: 1px solid #cdbda8; background: #fffdf8; font: inherit; font-weight: 800; }
.admin-dialog__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.button--green { color: #fff; background: #1f6f47; }
.button--green:hover { background: #174f35; }
.button--sick { color: #fff; background: #a83227; }
.button--sick:hover { background: #84251f; }
.absence-calendar-panel { min-width: 0; }
.absence-calendar-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.absence-calendar-head h2 { margin: 0; }
.absence-calendar-head form label { min-width: 120px; font-size: 14px; }
.absence-calendar-head select { height: 42px; min-height: 42px; padding: 0 12px; background: #fffdf8; }
.absence-amount-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.absence-amount-switch label { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.absence-amount-switch input { width: 16px; min-height: 16px; accent-color: var(--bronze); }
.absence-calendar-grid { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; }
.absence-month { padding: 8px; border: 1px solid var(--line); background: var(--paper); }
.absence-month h3 { margin-bottom: 7px; font-size: 15px; }
.absence-weekdays, .absence-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.absence-weekdays span { color: var(--muted); font-size: 9px; font-weight: 900; text-align: center; text-transform: uppercase; }
.absence-day { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border: 1px solid #d8cbb8; background: #fffdf8; color: var(--ink); font-size: 10px; font-weight: 800; cursor: pointer; }
.absence-day input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.absence-day span { position: relative; z-index: 1; }
.absence-day:has(input:checked) { outline: 3px solid rgba(16, 25, 20, .25); outline-offset: 1px; }
.absence-day--vacation { border-color: var(--bronze); background: var(--bronze); color: #fff; }
.absence-day--f_day { border-color: #1f6f47; background: #1f6f47; color: #fff; }
.absence-day--sick { border-color: #a83227; background: #a83227; color: #fff; }
.absence-day--vacation.absence-day--half { background: linear-gradient(135deg, var(--bronze) 0 50%, #fffdf8 50% 100%); }
.absence-day--f_day.absence-day--half { background: linear-gradient(135deg, #1f6f47 0 50%, #fffdf8 50% 100%); }
.absence-day--vacation-morning { border-color: var(--bronze); background: linear-gradient(to bottom right, var(--bronze) 0 50%, #fffdf8 50% 100%); color: #fff; }
.absence-day--vacation-afternoon { border-color: var(--bronze); background: linear-gradient(to bottom right, #fffdf8 0 50%, var(--bronze) 50% 100%); color: #fff; }
.absence-day--f_day-morning { border-color: #1f6f47; background: linear-gradient(to bottom right, #1f6f47 0 50%, #fffdf8 50% 100%); color: #fff; }
.absence-day--f_day-afternoon { border-color: #1f6f47; background: linear-gradient(to bottom right, #fffdf8 0 50%, #1f6f47 50% 100%); color: #fff; }
.absence-day--sick-morning { border-color: #a83227; background: linear-gradient(to bottom right, #a83227 0 50%, #fffdf8 50% 100%); color: #fff; }
.absence-day--sick-afternoon { border-color: #a83227; background: linear-gradient(to bottom right, #fffdf8 0 50%, #a83227 50% 100%); color: #fff; }
.absence-day--vacation-f_day { border-color: var(--bronze); background: linear-gradient(to bottom right, var(--bronze) 0 50%, #1f6f47 50% 100%); color: #fff; }
.absence-day--f_day-vacation { border-color: #1f6f47; background: linear-gradient(to bottom right, #1f6f47 0 50%, var(--bronze) 50% 100%); color: #fff; }
.absence-day--vacation-sick { border-color: var(--bronze); background: linear-gradient(to bottom right, var(--bronze) 0 50%, #a83227 50% 100%); color: #fff; }
.absence-day--sick-vacation { border-color: #a83227; background: linear-gradient(to bottom right, #a83227 0 50%, var(--bronze) 50% 100%); color: #fff; }
.absence-day--f_day-sick { border-color: #1f6f47; background: linear-gradient(to bottom right, #1f6f47 0 50%, #a83227 50% 100%); color: #fff; }
.absence-day--sick-f_day { border-color: #a83227; background: linear-gradient(to bottom right, #a83227 0 50%, #1f6f47 50% 100%); color: #fff; }
.absence-day--today { box-shadow: inset 0 0 0 2px rgba(16, 25, 20, .55); }
.absence-day--today::after { content: ""; position: absolute; right: 3px; top: 3px; width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: .72; }
.absence-day--empty { border-color: transparent; background: transparent; cursor: default; }
.absence-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 24px; }
.admin-user-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; max-width: 100%; }
.admin-user-form label { font-size: 14px; }
.admin-user-form input, .admin-user-form select { height: 44px; min-height: 44px; padding: 0 12px; line-height: 44px; appearance: none; border-radius: 0; background-color: #fffdf8; }
.admin-user-form select { background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 11px) 18px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.admin-user-form button { width: 100%; grid-column: 1 / -1; }
.delete-user-list { display: grid; gap: 10px; }
.delete-user-list form { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.delete-user-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.user-management-list { display: grid; gap: 8px; }
.user-management-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(220px, 2fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); }
.user-management-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.user-email-form { display: flex; gap: 8px; align-items: center; min-width: 0; }
.user-email-form input { width: 100%; min-height: 36px; padding: 0 10px; border: 1px solid #cdbda8; background: #fffdf8; font: inherit; font-size: 14px; }
.button--small { min-height: 36px; padding: 8px 12px; font-size: 14px; }
.status-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; font-size: 13px; font-weight: 800; }
.status-pill--active { color: #174726; background: #dff0e2; }
.status-pill--idle { color: #5f554c; background: #ece2d5; }
.admin-table-wrap { overflow-x: auto; }
.admin-row-actions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; min-width: 150px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fffdf8; color: var(--forest); font-size: 25px; font-weight: 900; line-height: 1; text-decoration: none; }
.icon-button:hover { border-color: var(--truck-green); color: var(--truck-green); }
.admin-status-mobile { display: none; }
.admin-status-card { border-top: 1px solid var(--line); padding: 14px 0; }
.admin-status-card:first-child { border-top: 0; }
.admin-status-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.admin-status-card__actions { display: flex; align-items: center; gap: 8px; }
.admin-status-card h3 { font-size: 22px; margin: 0; }
.admin-status-card dl { display: grid; gap: 7px; margin: 0; }
.admin-status-card dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: baseline; }
.admin-status-card dt { color: var(--muted); }
.admin-status-card dd { margin: 0; font-weight: 800; text-align: right; }
.status-dot { width: 17px; height: 17px; border-radius: 999px; flex: 0 0 auto; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04); }
.status-dot--active { background: #1f7a3a; }
.status-dot--idle { background: #a83227; }
.muted { color: var(--muted); }
table { width: 100%; border-collapse: collapse; background: var(--paper); }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #ded1bf; }
@media (max-width: 1000px) {
    .contact-hero--fleet { display: block; min-height: 0; padding: 0; }
    .contact-hero--fleet .contact-hero__image { position: relative; inset: auto; z-index: auto; }
    .contact-hero--fleet::after { display: none; }
    .contact-hero--fleet .contact-hero__copy { padding: 28px 20px 36px; }
    .image-band--home { display: block; min-height: 0; padding: 0; }
    .image-band--home .image-band__image { position: relative; inset: auto; z-index: auto; display: block; width: 100%; height: auto; }
    .image-band--home::after { display: none; }
    .image-band--home .image-band__copy { width: auto; max-width: none; padding: 32px 20px 40px; }
    .split--intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hero { display: block; min-height: 0; padding: 0; }
    .hero__image { position: relative; inset: auto; z-index: auto; display: block; width: 100%; height: auto; object-fit: contain; }
    .hero::after { display: none; }
    .hero .hero__content { padding: 28px 20px 36px; }
}

@media (max-width: 760px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .split, .company-profile, .fleet-grid, .contact-grid, .contact-request, .service-overview, .legal-grid, .form-grid { grid-template-columns: 1fr; }
    .site-footer { align-items: flex-start; flex-direction: column; }
    .admin-head, .employee-logout { grid-template-columns: 1fr; flex-direction: column; }
    .admin-head__actions { justify-content: flex-start; }
    .admin-management-grid { grid-template-columns: 1fr; }
    .absence-layout, .absence-summary, .absence-calendar-grid { grid-template-columns: 1fr; }
    .absence-calendar-head { flex-direction: column; }
    .admin-settings-grid { max-width: none; }
    .admin-settings-form { max-width: none; }
    .admin-settings-form label { max-width: none; gap: 12px; align-items: center; }
    .admin-settings-form button { width: 100%; min-width: 0; }
    .admin-user-form { grid-template-columns: 1fr; }
    .user-management-list { gap: 12px; }
    .user-management-row { grid-template-columns: 1fr; gap: 9px; align-items: stretch; padding: 12px; border-left: 4px solid var(--truck-green); }
    .user-email-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
    .user-email-form input { min-width: 0; }
    .admin-shell { padding: 24px 16px 34px; }
    .admin-head { margin-bottom: 18px; }
    .admin-head h1 { font-size: 28px; }
    .admin-panel { padding: 18px 16px; }
    .admin-panel h2 { font-size: 24px; }
    .admin-panel > .admin-table-wrap { display: none; }
    .admin-status-mobile { display: block; }
    .contact-request__aside { position: static; }
    .legal-contact dl div { grid-template-columns: 1fr; gap: 4px; }
    nav { gap: 12px; }
    .services-hero, .fleet-hero, .contact-hero:not(.contact-hero--fleet) { min-height: 62vh; padding: 42px 20px; }
    .hero__content, .services-hero__copy, .fleet-hero__copy, .contact-hero__copy, .company-hero__copy { max-width: 100%; min-width: 0; }
    .hero h1, .company-hero h1, .services-hero h1, .fleet-hero h1, .contact-hero h1 {
        max-width: 100%;
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.03;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .services-hero p, .fleet-hero p, .contact-hero p, .company-hero p, .hero p {
        max-width: 100%;
        font-size: 17px;
        line-height: 1.55;
        overflow-wrap: break-word;
    }
    .service-list { padding: 42px 20px; }
    .service-list h2 { font-size: clamp(30px, 9vw, 40px); line-height: 1.04; overflow-wrap: break-word; hyphens: auto; }
    body.employee { min-height: 100svh; background: var(--paper); }
    body.employee main { min-height: 100svh; display: grid; align-items: start; }
    .employee-shell { width: 100%; max-width: none; padding: max(12px, env(safe-area-inset-top)) 14px 12px; }
    .employee-clock { min-height: auto; }
    body.employee main:has(.employee-dashboard) { height: 100svh; overflow: hidden; }
    .employee-dashboard { height: 100svh; min-height: 100svh; overflow: hidden; display: grid; align-content: space-between; row-gap: clamp(12px, 2.3svh, 24px); }
    .employee-clock__head { margin-bottom: 8px; }
    .employee-dashboard .employee-clock__head { margin-bottom: 0; }
    .employee-clock__head .eyebrow { font-size: 20px; }
    .employee-clock__weekday { font-size: 15px; }
    .employee-clock__head h1 { font-size: clamp(24px, 7vw, 30px); }
    .employee-clock__head p:last-child { font-size: 14px; }
    .notice { margin: 8px 0; padding: 9px 11px; font-size: 14px; }
    .employee-state { gap: 10px; padding: 12px; }
    .employee-dashboard .employee-state { gap: clamp(16px, 2.6svh, 26px); padding: clamp(16px, 3svh, 26px) 12px; }
    .employee-state h2 { font-size: clamp(19px, 5.8vw, 23px); }
    .employee-state p { font-size: 14px; line-height: 1.45; }
    .live-work-time { padding: 10px 12px; font-size: 14px; }
    .clock-actions { gap: 10px; }
    .clock-button { min-height: 54px; padding: 12px 16px; font-size: clamp(19px, 6.2vw, 23px); }
    .employee-dashboard .clock-button { min-height: clamp(56px, 7svh, 76px); }
    .today-stats { gap: 0; margin-top: 10px; }
    .employee-dashboard .today-stats { margin-top: 0; }
    .today-stats div { padding: 6px 0; font-size: 14px; }
    .employee-logout { margin-top: 10px; gap: 7px; }
    .employee-dashboard .employee-logout { margin-top: 0; }
    .employee-logout button { min-height: 38px; padding: 8px 10px; font-size: 14px; }
    .employee-password-link { font-size: 13px; }
    .employee-summary-grid { gap: 10px; }
    .employee-summary-card { gap: 12px; padding: 14px; }
    .employee-summary-card > strong { font-size: clamp(40px, 13vw, 54px); }
    .employee-summary-card dl div { padding: 7px 0; font-size: 14px; }
    .employee-calendar-panel { padding: 12px; }
    .employee-calendar-grid { grid-template-columns: 1fr; }
    .employee-calendar-grid .absence-month { max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 380px), (max-height: 720px) {
    .employee-shell { padding-top: 8px; padding-bottom: 8px; }
    .employee-dashboard { row-gap: 8px; }
    .employee-clock__head { margin-bottom: 6px; }
    .employee-clock__head .eyebrow { font-size: 18px; }
    .employee-clock__weekday { font-size: 14px; }
    .employee-clock__head h1 { font-size: clamp(22px, 7vw, 28px); }
    .employee-clock__head p:last-child { font-size: 13px; }
    .employee-state { padding: 10px; }
    .employee-state h2 { font-size: clamp(18px, 5.3vw, 21px); }
    .clock-button { min-height: 48px; font-size: clamp(18px, 5.8vw, 21px); }
    .today-stats div { padding: 5px 0; font-size: 13px; }
    .employee-logout button { min-height: 34px; font-size: 13px; }
    .employee-password-link { font-size: 12px; }
}
