﻿/* =============================================================================
   buskontakt-hamburg.de — styles.css
   Phase 2: Tokens, Typografie, Section-System, Header (4 Dropdowns + Sprach-
   Switch + Sticky-CTA), Footer (8 Spalten), Komponenten-Basis.
   Tokens 1:1 nach PLAYBOOK § 4. Footer-Layout nach CLAUDE.md § 4 (überschreibt
   PLAYBOOK § 6.2).
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    overflow-x: hidden;                  /* iOS Safari, siehe PLAYBOOK § 10.1 */
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body {
    margin: 0;
    overflow-x: hidden;                  /* Belt-and-suspenders */
    background: var(--weiss);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

/* -----------------------------------------------------------------------------
   2. Theme-Tokens (PLAYBOOK § 4)
   -------------------------------------------------------------------------- */

:root {
    /* Farben */
    --primary:        #0A253E;
    --primary-dark:   #071C2E;
    --accent:         #A99D96;
    --accent-button:  #A38F83;
    --weiss:          #FCFBF9;
    --weiss-pure:     #FFFFFF;
    --hell:           #F4F1EB;
    --stahlgrau:      #5B6A7A;
    --rauch:          #E8E5DF;

    /* Layout */
    --radius:         7px;
    --container:      1280px;
    --container-pad:  clamp(1rem, 3vw, 2rem);

    /* Motion */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast:       180ms;
    --dur-base:       320ms;
    --dur-slow:       560ms;
    --transition:     var(--dur-base) var(--ease-out-expo);

    /* Fonts */
    --font-ui:     "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body:   "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-italic: "Bodoni Moda", Georgia, "Times New Roman", serif;

    /* Header */
    --header-h:        72px;
    --header-h-mobile: 64px;

    /* Sticky-CTA-Mobile */
    --sticky-cta-h:    76px;

    /* Shadows */
    --shadow-soft:   0 1px 2px rgba(7, 28, 46, 0.04), 0 8px 24px rgba(7, 28, 46, 0.06);
    --shadow-elev:   0 2px 6px rgba(7, 28, 46, 0.06), 0 16px 40px rgba(7, 28, 46, 0.08);
    --shadow-focus:  0 0 0 3px rgba(10, 37, 62, 0.15);
}

/* -----------------------------------------------------------------------------
   3. Font-Faces
   Erwartung: Fonts/ wird aus chauffeurservice.hamburg übernommen.
   Bis dahin: system-font Fallback via --font-ui / --font-body / --font-italic.
   font-display: swap verhindert FOIT.
   -------------------------------------------------------------------------- */

@font-face {
    font-family: "Outfit";
    src: url("Fonts/outfit-400.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Outfit";
    src: url("Fonts/outfit-500.woff2") format("woff2");
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Outfit";
    src: url("Fonts/outfit-600.woff2") format("woff2");
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Outfit";
    src: url("Fonts/outfit-700.woff2") format("woff2");
    font-weight: 700; font-style: normal; font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("Fonts/source-sans-3-400.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("Fonts/source-sans-3-600.woff2") format("woff2");
    font-weight: 600; font-style: normal; font-display: swap;
}

@font-face {
    font-family: "Bodoni Moda";
    src: url("Fonts/bodoni-moda-400-italic.woff2") format("woff2");
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "Bodoni Moda";
    src: url("Fonts/bodoni-moda-500-italic.woff2") format("woff2");
    font-weight: 500; font-style: italic; font-display: swap;
}

/* -----------------------------------------------------------------------------
   4. Typografie-Hierarchie (PLAYBOOK § 5)
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.75em;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
h5 { font-size: 0.85rem; font-weight: 600; }
h6 { font-size: 0.8rem;  font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: var(--stahlgrau);
    max-width: 60ch;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.85em;
}

em, .italic-accent, .page-hero-accent {
    font-family: var(--font-italic);
    font-style: italic;
    font-weight: 400;
}

a.text-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition);
}
a.text-link:hover { text-decoration-color: var(--primary); }

/* -----------------------------------------------------------------------------
   5. Layout-Helpers
   -------------------------------------------------------------------------- */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

section { padding: 6rem 0; }
.section-tight   { padding: 3.5rem 0; }
.section-loose   { padding: 8rem 0; }
.section-immense { padding: 9rem 0; }

.section-hell  { background: var(--hell); }
.section-navy  { background: var(--primary); color: var(--weiss); }
.section-navy h1, .section-navy h2, .section-navy h3,
.section-navy h4, .section-navy h5, .section-navy h6 { color: var(--weiss); }

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .section-tight   { padding: 2.5rem 0; }
    .section-loose   { padding: 5rem 0; }
    .section-immense { padding: 5.5rem 0; }
}

/* -----------------------------------------------------------------------------
   6. Skip-Link (WCAG)
   -------------------------------------------------------------------------- */

.skip-link {
    position: absolute;
    left: 0; top: 0;
    transform: translateY(-150%);
    background: var(--primary);
    color: var(--weiss);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius) 0;
    font-family: var(--font-ui);
    font-weight: 500;
    z-index: 1000;
    transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -----------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1;
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition),
                color var(--transition),
                border-color var(--transition),
                transform var(--dur-fast) var(--ease-out-quart),
                box-shadow var(--transition);
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--primary);
    color: var(--weiss);
    border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--weiss);
}

.btn-secondary {
    background: var(--accent-button);
    color: var(--weiss);
    border-color: var(--accent-button);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
    background: #8d7869;
    border-color: #8d7869;
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
    background: var(--primary);
    color: var(--weiss);
}

.btn-ghost-light {
    background: transparent;
    color: var(--weiss);
    border-color: var(--weiss);
}
.btn-ghost-light:hover, .btn-ghost-light:focus-visible {
    background: var(--weiss);
    color: var(--primary);
}

.btn-tel { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* -----------------------------------------------------------------------------
   8. Header (Sticky-Nav, 4 Dropdowns, Sprach-Switch)
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    background: var(--weiss);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--rauch);
    box-shadow: var(--shadow-soft);
}

body { padding-top: var(--header-h); }

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    text-decoration: none;
    color: var(--primary);
}
.site-logo img, .site-logo svg {
    height: 44px;
    width: auto;
    display: block;
}
.site-logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.005em;
    color: var(--primary);
    line-height: 1;
    white-space: nowrap;
}
/* Sehr enge Desktops (kleine Tablets im Landscape) — nur Mark, Text aus */
@media (max-width: 1023px) and (min-width: 769px) {
    .site-logo-text { display: none; }
}

.primary-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.primary-nav > ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
}

.nav-item { position: relative; white-space: nowrap; }

.nav-item > a {
    display: inline-flex;
    align-items: center;
    height: var(--header-h);
    padding: 0 0.875rem;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary);
    transition: color var(--transition);
    white-space: nowrap;
}
.nav-item > a:hover,
.nav-item > a:focus-visible { color: var(--accent-button); }
.nav-item.is-active > a { color: var(--accent-button); }

/* Dropdown-Chevron */
.nav-item.has-dropdown > a { padding-right: 0.25rem; }
.nav-toggle {
    display: inline-flex;
    align-items: center;
    height: var(--header-h);
    padding: 0 0.75rem 0 0.4rem;
    background: none;
    border: 0;
    color: var(--primary);
    transition: color var(--transition), transform var(--transition);
}
.nav-toggle:hover { color: var(--accent-button); }
.nav-toggle .chevron {
    width: 10px; height: 10px;
    transition: transform var(--transition);
}
.nav-item.is-open .nav-toggle .chevron,
.nav-item:hover .nav-toggle .chevron,
.nav-item:focus-within .nav-toggle .chevron { transform: rotate(180deg); }

/* Dropdown-Panel */
.dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 260px;
    background: var(--weiss);
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elev);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition),
                visibility var(--transition),
                transform var(--transition);
    pointer-events: none;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown,
.nav-item.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown li > a {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: calc(var(--radius) - 2px);
    font-family: var(--font-ui);
    font-size: 0.92rem;
    color: var(--primary);
    transition: background-color var(--transition), color var(--transition);
}
.dropdown li > a:hover,
.dropdown li > a:focus-visible {
    background: var(--hell);
    color: var(--primary-dark);
}
.dropdown li.dropdown-overview > a {
    font-weight: 600;
    border-bottom: 1px solid var(--rauch);
    border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
    margin-bottom: 0.25rem;
}

/* Header rechts: Tel-CTA + Sprach-Switch + Hamburger */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}
.header-tel {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    transition: background-color var(--transition),
                color var(--transition),
                border-color var(--transition);
}
.header-tel:hover, .header-tel:focus-visible {
    background: var(--primary);
    color: var(--weiss);
    border-color: var(--primary);
}

/* Compact primary-CTA for the header slot (replaces .header-tel where the
   page should push to /kontakt instead of phone). Same dimensions as
   .header-tel so the header height stays stable. */
.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    background: var(--primary);
    color: var(--weiss);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    transition: background-color var(--transition),
                border-color var(--transition);
}
.header-cta:hover, .header-cta:focus-visible {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--weiss);
}

/* Sprach-Switch DE/EN */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.25rem;
    background: var(--hell);
    border-radius: var(--radius);
}
.lang-switch a {
    padding: 0.35rem 0.65rem;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stahlgrau);
    border-radius: calc(var(--radius) - 2px);
    transition: background-color var(--transition), color var(--transition);
}
.lang-switch a[aria-current="true"] {
    background: var(--weiss);
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}
.lang-switch a:hover:not([aria-current="true"]) { color: var(--primary); }

/* Lang-Flag — nackte Flagge ohne Button-Wrapper (Desktop) */
.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 3px;
    background: transparent;
    border: 0;
    flex: 0 0 auto;
    opacity: 0.85;
    transition: opacity var(--transition), transform var(--transition);
    cursor: pointer;
}
.lang-flag svg {
    display: block;
    width: 26px;
    height: auto;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.lang-flag:hover,
.lang-flag:focus-visible {
    opacity: 1;
    transform: scale(1.08);
    outline: none;
}
.lang-flag:focus-visible svg {
    box-shadow: 0 0 0 2px var(--primary);
}

/* Hamburger (≤968 px) */
.nav-hamburger {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    align-items: center;
    justify-content: center;
}
.nav-hamburger .bars {
    position: relative;
    width: 20px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: background-color var(--transition);
}
.nav-hamburger .bars::before,
.nav-hamburger .bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--transition), top var(--transition);
}
.nav-hamburger .bars::before { top: -6px; }
.nav-hamburger .bars::after  { top:  6px; }
.nav-hamburger[aria-expanded="true"] .bars { background: transparent; }
.nav-hamburger[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .bars::after  { top: 0; transform: rotate(-45deg); }

/* -----------------------------------------------------------------------------
   9. Mobile Drawer (≤968 px)
   -------------------------------------------------------------------------- */

.mobile-drawer {
    position: fixed;
    top: var(--header-h-mobile);
    left: 0; right: 0;
    bottom: 0;
    background: var(--weiss);
    overflow-y: auto;
    padding: 1.5rem var(--container-pad) calc(2rem + var(--sticky-cta-h));
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur-base) var(--ease-out-expo),
                visibility var(--dur-base) var(--ease-out-expo);
    z-index: 90;
}
.mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-drawer details {
    border-bottom: 1px solid var(--rauch);
}
.mobile-drawer details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
}
.mobile-drawer details summary::-webkit-details-marker { display: none; }
.mobile-drawer details summary::after {
    content: "";
    width: 12px; height: 12px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: transform var(--transition);
    margin-right: 4px;
}
.mobile-drawer details[open] summary::after { transform: rotate(-135deg); }

.mobile-drawer details > ul {
    padding: 0 0 1rem 0.25rem;
}
.mobile-drawer details > ul a {
    display: block;
    padding: 0.6rem 0;
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--stahlgrau);
}
.mobile-drawer details > ul a:hover { color: var(--primary); }
.mobile-drawer details > ul li.dropdown-overview a {
    color: var(--primary);
    font-weight: 600;
}

.mobile-drawer .single-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rauch);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary);
}

.mobile-drawer .lang-switch {
    margin-top: 1.5rem;
}

body.drawer-open { overflow: hidden; }

/* -----------------------------------------------------------------------------
   10. Footer (8 Spalten, 4×2 Desktop / 2×4 Tablet / Akkordeon Mobile)
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--primary);
    color: var(--weiss);
    padding-top: 4rem;
    padding-bottom: 1.5rem;
    margin-top: 6rem;
}
.site-footer h4 {
    color: var(--weiss);
    font-size: 0.82rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
}

.footer-col p,
.footer-col li {
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(252, 251, 249, 0.78);
}
.footer-col li { padding: 0.2rem 0; }
.footer-col a {
    color: rgba(252, 251, 249, 0.85);
    transition: color var(--transition);
}
.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--weiss);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-brand p { max-width: 28ch; }
.footer-brand .footer-logo {
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-brand .footer-logo img,
.footer-brand .footer-logo svg {
    height: 52px;
    width: auto;
    display: block;
}
.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.005em;
    color: var(--weiss);
    line-height: 1;
    white-space: nowrap;
}

.footer-contact-item {
    display: block;
    padding: 0.2rem 0;
    font-size: 0.94rem;
}
.footer-contact-item strong {
    display: block;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--weiss);
}
.footer-hours {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(252, 251, 249, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(252, 251, 249, 0.12);
    font-size: 0.85rem;
    color: rgba(252, 251, 249, 0.6);
}
.footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

@media (max-width: 968px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 568px) {
    .footer-grid { grid-template-columns: 1fr; gap: 0; }
    .footer-col { border-bottom: 1px solid rgba(252, 251, 249, 0.12); }
    .footer-col > h4 { margin-bottom: 0; }
    .footer-col details summary {
        list-style: none;
        cursor: pointer;
        padding: 1rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .footer-col details summary::-webkit-details-marker { display: none; }
    .footer-col details summary h4 { margin: 0; }
    .footer-col details summary::after {
        content: "+";
        font-family: var(--font-ui);
        font-size: 1.4rem;
        line-height: 1;
        color: var(--weiss);
        transition: transform var(--transition);
    }
    .footer-col details[open] summary::after { content: "−"; }
    .footer-col details > ul,
    .footer-col details > p { padding: 0 0 1rem; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile Font-Bump (PLAYBOOK § 10.3) */
@media (max-width: 768px) {
    .site-footer h4 { font-size: 14px; }
    .footer-col li,
    .footer-col p,
    .footer-contact-item { font-size: 16px; }
}

/* -----------------------------------------------------------------------------
   11. Cards (Anteaser)
   -------------------------------------------------------------------------- */

.card {
    background: var(--weiss-pure);
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover, .card:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elev);
}
.card-media {
    aspect-ratio: 16 / 11;
    background: var(--hell);
    overflow: hidden;
}
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out-expo);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.card-body .eyebrow { margin-bottom: 0.25em; }
.card-body h3 { margin: 0; font-size: 1.2rem; }
.card-body p {
    color: var(--stahlgrau);
    font-size: 0.95rem;
    margin: 0;
}
.card-cta {
    margin-top: auto;
    padding-top: 0.5rem;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.card-cta::after {
    content: "→";
    transition: transform var(--transition);
}
.card:hover .card-cta::after { transform: translateX(3px); }

.card-grid {
    display: grid;
    /* Feste 3 Spalten: 6 Kacheln -> 2x3 sauber, 5 -> 3+2, 3 -> 3x1.
       Verhindert den 4+2-Versatz, den auto-fit bei breitem Container erzeugt. */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 968px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 568px) {
    .card-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------------------
   12. FAQ-Accordion (native details/summary)
   -------------------------------------------------------------------------- */

.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 60rem; }
.faq-item { border-bottom: 1px solid var(--rauch); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 16px; height: 16px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item > div, .faq-item > p {
    padding: 0 0 1.25rem;
    color: var(--stahlgrau);
    max-width: 60ch;
}

/* -----------------------------------------------------------------------------
   13. Form-Inputs
   -------------------------------------------------------------------------- */

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}
.form-row label {
    font-family: var(--font-ui);
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--primary);
}
.form-row .required { color: var(--accent-button); }

.form-control {
    width: 100%;
    padding: 0.7rem 0.85rem;
    font: inherit;
    color: var(--primary);
    background: var(--weiss-pure);
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-focus);
}
textarea.form-control { min-height: 140px; resize: vertical; }

.form-hint { font-size: 0.8rem; color: var(--stahlgrau); }

/* Honeypot — visuell und für Reader unsichtbar */
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* -----------------------------------------------------------------------------
   14. Sticky-CTA-Mobile (≤768)
   -------------------------------------------------------------------------- */

.sticky-cta-mobile {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--weiss);
    border-top: 1px solid var(--rauch);
    padding: 0.6rem var(--container-pad);
    display: none;
    gap: 0.6rem;
    z-index: 95;
    box-shadow: 0 -4px 16px rgba(7, 28, 46, 0.06);
}
.sticky-cta-mobile .btn { flex: 1 1 0; }

/* -----------------------------------------------------------------------------
   14b. Floating-Contact (Desktop right-side pill buttons)
        Pattern 1:1 von chauffeurservice.hamburg. Pill expandiert horizontal
        bei Hover (icon-wrap fix 48px + label max-width 0 → 280px).
        Slidet komplett vom Bildschirmrand ins Sichtfeld bei Scroll.
        Mobile (≤768): hidden via Cascade-Override unter Media-Queries.
   -------------------------------------------------------------------------- */

.floating-contact {
    position: fixed;
    right: 1.25rem;
    top: 50%;
    transform: translate(120%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    transition: transform 0.5s var(--ease-out-expo),
                opacity 0.4s var(--ease-out-expo);
}
.floating-contact.is-visible {
    transform: translate(0, -50%);
    opacity: 1;
    pointer-events: auto;
}
.floating-contact-btn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    min-width: 48px;
    padding: 0;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--weiss);
    text-decoration: none;
    box-shadow:
        0 2px 6px rgba(10, 37, 62, 0.18),
        0 12px 32px -10px rgba(10, 37, 62, 0.32);
    overflow: hidden;
    transition: background var(--transition),
                box-shadow var(--transition),
                padding-right var(--transition);
}
.floating-contact-btn:hover,
.floating-contact-btn:focus-visible {
    background: var(--primary-dark);
    color: var(--weiss);
    padding-right: 1.125rem;
    box-shadow:
        0 4px 10px rgba(10, 37, 62, 0.22),
        0 20px 40px -10px rgba(10, 37, 62, 0.38);
    outline: none;
}
.floating-contact-btn .icon-wrap {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-contact-btn .label {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.9rem;
    transition: max-width var(--transition), opacity var(--transition);
}
.floating-contact-btn:hover .label,
.floating-contact-btn:focus-visible .label {
    max-width: 280px;
    opacity: 1;
}

/* -----------------------------------------------------------------------------
   15. Breadcrumb / Page-Hero (Subpages-Vorlage)
   -------------------------------------------------------------------------- */

.breadcrumb {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--stahlgrau);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--stahlgrau); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--primary); font-weight: 500; }
.breadcrumb .sep { margin: 0 0.4rem; color: var(--rauch); }

.page-hero {
    background: var(--hell);
    border-bottom: 1px solid var(--rauch);
    padding: 9rem 0 5rem;
}
.page-hero .container { max-width: 60rem; }
@media (max-width: 768px) {
    .page-hero { padding: 7rem 0 3rem; }
}

/* Page-Hero fadeUp-Animation (Detail-Pages) — subtiler als Index-Hero,
   keine 100vh-Bühne, aber gleiches Stagger-Pattern Breadcrumb→Eyebrow→
   H1→Lead. Wirkt automatisch auf jeder Page mit `.page-hero`. */
.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead {
    opacity: 0;
    transform: translateY(16px);
}
.page-hero .breadcrumb { animation: heroFadeUp 0.7s var(--ease-out-expo) 0.10s forwards; }
.page-hero .eyebrow    { animation: heroFadeUp 0.8s var(--ease-out-expo) 0.20s forwards; }
.page-hero h1          { animation: heroFadeUp 0.9s var(--ease-out-expo) 0.30s forwards; }
.page-hero .lead       { animation: heroFadeUp 0.9s var(--ease-out-expo) 0.45s forwards; }

@media (prefers-reduced-motion: reduce) {
    .page-hero .breadcrumb,
    .page-hero .eyebrow,
    .page-hero h1,
    .page-hero .lead {
        opacity: 1; transform: none; animation: none;
    }
}

/* -----------------------------------------------------------------------------
   16. Trust-Strip
   -------------------------------------------------------------------------- */

.trust-strip {
    background: var(--hell);
    border-top: 1px solid var(--rauch);
    border-bottom: 1px solid var(--rauch);
}
.trust-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.trust-item .icon {
    flex: 0 0 auto;
    width: 28px; height: 28px;
    color: var(--accent-button);
}
.trust-item strong {
    display: block;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.98rem;
    margin-bottom: 0.15rem;
}
.trust-item span {
    font-size: 0.88rem;
    color: var(--stahlgrau);
    line-height: 1.45;
}

/* Dark/Navy variant — analogous to chauffeurservice.hamburg's trust-strip.
   Mirrors .statement-strip visual language so the page reads as
   Hero(Foto) → Trust(Navy) → Content → Statement(Navy) — coherent rhythm. */
.trust-strip--dark {
    background: var(--primary);
    border-top: 0;
    border-bottom: 1px solid rgba(252, 251, 249, 0.08);
    position: relative;
    overflow: hidden;
}
.trust-strip--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(169, 157, 150, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 85% 70%, rgba(169, 157, 150, 0.05) 0%, transparent 55%);
    pointer-events: none;
}
.trust-strip--dark .container {
    position: relative;
    z-index: 1;
    padding-top: 1.1rem;
    padding-bottom: 1.25rem;
}
.trust-strip--dark .trust-item .icon {
    color: var(--accent);
    width: 32px; height: 32px;
}
.trust-strip--dark .trust-item strong {
    color: var(--weiss);
    font-size: 1.12rem;
    margin-bottom: 0.25rem;
}
.trust-strip--dark .trust-item span {
    color: rgba(252, 251, 249, 0.82);
    font-size: 1rem;
    line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   16b. Prozess-Liste (5-Schritte-Bewerbungsprozess auf karriere.html)
        Nummerierter Ablauf mit großem Badge links und Beschreibung rechts.
   -------------------------------------------------------------------------- */

.prozess-list {
    list-style: none;
    counter-reset: prozess;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1.5rem;
    max-width: 56rem;
}
.prozess-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.5rem 1.5rem 1.5rem 1.25rem;
    background: var(--weiss);
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(10, 37, 62, 0.04);
}
.prozess-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--weiss);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1;
    flex: 0 0 44px;
}
.prozess-item h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: var(--primary);
}
.prozess-item p {
    margin: 0;
    color: var(--stahlgrau);
    line-height: 1.55;
}
.prozess-item p a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--rauch);
    transition: text-decoration-color var(--transition);
}
.prozess-item p a:hover { text-decoration-color: var(--primary); }

@media (max-width: 568px) {
    .prozess-item {
        grid-template-columns: 38px 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }
    .prozess-num {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        flex-basis: 38px;
    }
}

/* -----------------------------------------------------------------------------
   16c. Cookie-Banner / Datenschutz-Consent (Bottom-Slide-Up)
        Privacy-by-default: ohne Klick wird KEIN Tracking geladen.
        JS in js/consent.js feuert Event "consent:analytics-granted" bei Accept.
   -------------------------------------------------------------------------- */

.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    background: var(--primary);
    color: var(--weiss);
    padding: 1.25rem 1.5rem;
    z-index: 200;
    box-shadow: 0 -8px 32px -8px rgba(0, 0, 0, 0.3);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease-out-expo);
}
.cookie-banner.is-open {
    transform: translateY(0);
}
.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-banner-text {
    flex: 1 1 auto;
}
.cookie-banner-text strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--weiss);
}
.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(252, 251, 249, 0.85);
}
.cookie-banner-text a {
    color: var(--weiss);
    text-decoration: underline;
    text-decoration-color: rgba(252, 251, 249, 0.45);
    transition: text-decoration-color var(--transition);
}
.cookie-banner-text a:hover { text-decoration-color: var(--weiss); }

.cookie-banner-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.cookie-banner-actions .btn {
    margin: 0;
}

/* Mobile: Stack-Layout, Buttons vollbreit */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem 1rem 1.25rem;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .cookie-banner-actions {
        justify-content: stretch;
    }
    .cookie-banner-actions .btn {
        flex: 1 1 0;
        text-align: center;
    }
    /* Sticky-CTA-Mobile höher schieben wenn Banner offen, damit kein Overlap */
    .cookie-banner.is-open ~ .sticky-cta-mobile { bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        transition: none;
    }
}

/* -----------------------------------------------------------------------------
   17. Scroll-Reveal-Animationen
        5 Varianten analog chauffeurservice.hamburg:
          .reveal         vertical fade-up (default, 12 px — gentle)
          .reveal-left    horizontal slide-in von links (-32 px)
          .reveal-right   horizontal slide-in von rechts (+32 px)
          .reveal-scale   subtile Skalierung (0.96 → 1)
          .reveal-stagger jedes Direct-Child mit fade-up + 0.1s-Delay-Kette
        Activation-Class: .is-visible (JS IntersectionObserver fügt sie hinzu).
        Mobile-Overflow-Schutz: translateX-Werte sind kleiner als Container-Pad
        (siehe PLAYBOOK § 10.4) — kein horizontaler Bleed.
   -------------------------------------------------------------------------- */

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-out-expo),
                transform var(--dur-slow) var(--ease-out-expo);
}
.reveal               { transform: translateY(12px); }
.reveal-left          { transform: translateX(-32px); }
.reveal-right         { transform: translateX(32px); }
.reveal-scale         { transform: scale(0.96); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger: alle direkten Children gleichzeitig fade-up, aber mit
   gestaffeltem transition-delay. Triggert wenn der Wrapper sichtbar wird. */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--dur-slow) var(--ease-out-expo),
                transform var(--dur-slow) var(--ease-out-expo);
}
.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* prefers-reduced-motion: jede Reveal-Variante sofort sichtbar */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}

/* -----------------------------------------------------------------------------
   18. Media Queries (Header → Mobile)
   -------------------------------------------------------------------------- */

@media (max-width: 968px) {
    .primary-nav { display: none; }
    .header-tel { display: none; }
    .header-cta { display: none; }
    .lang-flag { display: none; }
    .nav-hamburger { display: inline-flex; }

    .site-header { height: var(--header-h-mobile); }
    body { padding-top: var(--header-h-mobile); }

    /* Lock-up: kompakter auf Mobile */
    .site-logo { gap: 0.5rem; }
    .site-logo img, .site-logo svg { height: 38px; }
    .site-logo-text { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .sticky-cta-mobile { display: flex; }
    body { padding-bottom: var(--sticky-cta-h); }
}

/* MUSS NACH .floating-contact-Default stehen (PLAYBOOK § 12.2). Mobile
   übernimmt der sticky-cta-mobile-Bottom-Bar; der rechts schwebende
   Stack würde dort mit dem Tap-Target kollidieren. */
@media (max-width: 768px) {
    .floating-contact { display: none; }
}

/* -----------------------------------------------------------------------------
   19. Hero-Index (Startseite)
   -------------------------------------------------------------------------- */

.hero-index {
    /* Filter-Pattern aehnlich chauffeurservice.hamburg:
       - Vertikale Vignette: oben leicht, mitte moderat, unten sauberer Uebergang
       - Plus diagonaler Links-Schatten fuer Text-Lesbarkeit auf der Content-Seite
       - Bild bleibt insgesamt deutlich sichtbar (vorher: zu dunkel) */
    background:
        linear-gradient(
            180deg,
            rgba(10, 37, 62, 0.45) 0%,
            rgba(10, 37, 62, 0.65) 55%,
            rgba(7, 26, 44, 0.90) 100%
        ),
        linear-gradient(
            90deg,
            rgba(10, 37, 62, 0.55) 0%,
            rgba(10, 37, 62, 0.10) 60%
        ),
        url('Bilder/flotte-vans-mercedes-buskontakt-hamburg.webp') center/cover no-repeat;
    color: var(--weiss);
    position: relative;
    overflow: hidden;
    /* Full-viewport-Hero (Chauffeur-Pattern): füllt min. die Viewport-Höhe
       abzgl. fixe Header-Höhe. Content wird via flex vertikal zentriert.
       padding-top etwas größer, damit der Inhalt nicht direkt am Header klebt. */
    min-height: calc(100vh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
@media (max-width: 968px) {
    .hero-index {
        min-height: calc(100vh - var(--header-h-mobile));
    }
}
.hero-index .eyebrow {
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.9s var(--ease-out-expo) 0.2s forwards;
}
.hero-index h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.4s forwards;
}
.hero-index .lead {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.6s forwards;
}
.hero-index .hero-ctas {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.8s forwards;
}
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-index .eyebrow,
    .hero-index h1,
    .hero-index .lead,
    .hero-index .hero-ctas {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
.hero-index::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 85%, rgba(252, 251, 249, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Hiring-Badge im Hero — "Busfahrer (m/w/d) gesucht" als Pill-Button.
   Farbe wie der "Anfrage stellen"-CTA (--accent-button), solide statt
   Glas-Look. Pulse-Dot bleibt als visuelles Signal. */
.hero-hiring-badge {
    position: absolute;
    top: calc(var(--header-h) + 1.5rem);
    right: 1.5rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.2rem 0.7rem 1rem;
    background: var(--accent-button);
    border: 0;
    border-radius: 999px;
    color: var(--weiss);
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    box-shadow:
        0 4px 14px -2px rgba(0, 0, 0, 0.28),
        0 2px 4px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-12px);
    animation: heroFadeUp 0.9s var(--ease-out-expo) 1.0s forwards;
    transition: background var(--transition), box-shadow var(--transition),
                transform var(--transition);
}
.hero-hiring-badge:hover,
.hero-hiring-badge:focus-visible {
    background: var(--primary);
    transform: translateY(0) scale(1.04);
    box-shadow:
        0 6px 20px -2px rgba(0, 0, 0, 0.38),
        0 3px 6px rgba(0, 0, 0, 0.22);
    outline: none;
}
.hero-hiring-pulse {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--weiss);
    box-shadow: 0 0 0 0 rgba(252, 251, 249, 0.7);
    animation: hiringPulse 2.4s ease-out infinite;
}
@keyframes hiringPulse {
    0%   { box-shadow: 0 0 0 0 rgba(252, 251, 249, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(252, 251, 249, 0); }
    100% { box-shadow: 0 0 0 0 rgba(252, 251, 249, 0); }
}
.hero-hiring-arrow {
    margin-left: 0.15rem;
    opacity: 0.7;
    transition: transform var(--transition), opacity var(--transition);
}
.hero-hiring-badge:hover .hero-hiring-arrow,
.hero-hiring-badge:focus-visible .hero-hiring-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Mobile: kleineres Badge, oben zentriert statt rechts */
@media (max-width: 768px) {
    .hero-hiring-badge {
        top: calc(var(--header-h-mobile) + 1rem);
        right: 50%;
        transform: translate(50%, -12px);
        padding: 0.45rem 0.85rem 0.45rem 0.7rem;
        font-size: 0.78rem;
    }
    .hero-hiring-badge:hover,
    .hero-hiring-badge:focus-visible {
        transform: translate(50%, 0) scale(1.03);
    }
    /* Animation in Mobile-Position überschreiben */
    @keyframes heroFadeUpBadgeMobile {
        to { opacity: 1; transform: translate(50%, 0); }
    }
    .hero-hiring-badge {
        animation: heroFadeUpBadgeMobile 0.9s var(--ease-out-expo) 1.0s forwards;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-hiring-badge {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .hero-hiring-pulse {
        animation: none;
    }
}
.hero-index .container { position: relative; }
.hero-index .eyebrow {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
}
.hero-index .eyebrow::before {
    content: '';
    display: inline-block;
    width: 1.75rem;
    height: 1px;
    background: var(--accent);
    opacity: 0.7;
}
/* H1-Typografie 1:1 von chauffeurservice.hamburg:
   - fluid clamp(2.75rem, 6.2vw, 5rem) -> 44px Min, 80px Max
   - sehr enges letter-spacing + line-height fuer Premium-Optik
   - text-wrap: balance fuer ausgewogene Zeilenumbrueche */
.hero-index h1 {
    color: var(--weiss);
    font-size: clamp(2.75rem, 6.2vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.02;
    margin-bottom: 1.75rem;
    max-width: 22ch;
    text-wrap: balance;
}
.hero-index .page-hero-accent {
    /* Warmer Erdton + italic Bodoni-Akzent — 1:1 wie .hero-h1-accent
       bei chauffeurservice.hamburg (Brand-Konsistenz T&M-Familie). */
    color: var(--accent);
    font-weight: 500;
    letter-spacing: -0.02em;
    display: inline-block;
    margin-top: 0.25em;
}
.hero-index .lead {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 2.5rem;
    max-width: 50ch;
    line-height: 1.5;
    text-wrap: pretty;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem;
}

/* Hero-Trust-Strip am unteren Hero-Rand — 1:1 chauffeurservice.hamburg
   Heritage-Anker mit Hervorhebung "Aus Hamburg" als Strong-Teil. */
.hero-trust {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(to top, rgba(7, 28, 46, 0.55), rgba(7, 28, 46, 0.0));
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-out-expo) 1s forwards;
}
.hero-trust p {
    margin: 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-ui);
    letter-spacing: 0.01em;
}
.hero-trust-strong {
    color: var(--weiss);
    font-weight: 500;
}
@media (max-width: 640px) {
    .hero-trust { padding: 1.25rem 0; }
    .hero-trust p {
        font-size: 0.8125rem;
        gap: 0.625rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-trust {
        opacity: 1;
        animation: none;
    }
}

/* -----------------------------------------------------------------------------
   19a. Page-Hero — Image Variant
        Adds Navy-gradient overlay + background photo to .page-hero on
        Detail-Pages where a representative image is available.
        Image-URL is supplied via inline CSS-Variable --hero-image on the
        section element, e.g.:
          <section class="page-hero page-hero--image"
                   style="--hero-image: url('../Bilder/foo.webp');">
        Path is relative to styles.css. Mirror og:image + preload in <head>.
   -------------------------------------------------------------------------- */

.page-hero--image {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10, 37, 62, 0.55) 0%, rgba(7, 26, 44, 0.85) 100%),
        var(--hero-image) center/cover no-repeat;
    color: var(--weiss);
    border-bottom: 1px solid rgba(252, 251, 249, 0.08);
}
.page-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 85%, rgba(252, 251, 249, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero--image .container { position: relative; }
.page-hero--image .breadcrumb { color: rgba(252, 251, 249, 0.7); }
.page-hero--image .breadcrumb a { color: rgba(252, 251, 249, 0.85); }
.page-hero--image .breadcrumb a:hover { color: var(--weiss); }
.page-hero--image .breadcrumb span[aria-current] { color: var(--weiss); }
.page-hero--image .breadcrumb .sep { color: rgba(252, 251, 249, 0.4); }
.page-hero--image .eyebrow { color: var(--accent); }
.page-hero--image h1 { color: var(--weiss); }
.page-hero--image .page-hero-accent { color: rgba(252, 251, 249, 0.7); }
.page-hero--image .lead { color: rgba(252, 251, 249, 0.85); }

/* -----------------------------------------------------------------------------
   19b. Statement-Strip (blauer Trenner mit Headline + CTA)
        Inspired by chauffeurservice.hamburg .heritage-section.
        Used as inter-content divider that breaks long card-grid sequences
        and restates the USP with a procurement-action hook.
   -------------------------------------------------------------------------- */

.statement-strip {
    background: var(--primary);
    color: var(--weiss);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(252, 251, 249, 0.08);
    border-bottom: 1px solid rgba(252, 251, 249, 0.08);
}
.statement-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(169, 157, 150, 0.10) 0%, transparent 55%),
        radial-gradient(circle at 85% 70%, rgba(169, 157, 150, 0.06) 0%, transparent 55%);
    pointer-events: none;
}
.statement-strip .container { position: relative; z-index: 1; }
.statement-strip-inner {
    max-width: 56rem;
    margin: 0 auto;
}
.statement-strip h2 {
    color: var(--weiss);
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0;
    text-wrap: balance;
}
.statement-strip-accent {
    display: block;
    margin-top: 0.75rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1rem, 1.9vw, 1.18rem);
    line-height: 1.5;
    color: rgba(252, 251, 249, 0.72);
    letter-spacing: 0;
}
.statement-strip-ctas {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* -----------------------------------------------------------------------------
   20. Section-Heading-Layout (Eyebrow + H2 + Lead)
   -------------------------------------------------------------------------- */

.section-head { max-width: 60rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head .lead { margin-top: 0.4rem; }

/* -----------------------------------------------------------------------------
   21. Process-Steps („Wie wir arbeiten")
   -------------------------------------------------------------------------- */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: step;
}
.process-step {
    counter-increment: step;
    position: relative;
    padding-top: 2.5rem;
    border-top: 1px solid var(--rauch);
}
.process-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -1px; left: 0;
    padding-top: 0.85rem;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--accent-button);
    letter-spacing: 0.12em;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.process-step p { color: var(--stahlgrau); font-size: 0.95rem; margin: 0; }

/* -----------------------------------------------------------------------------
   22. Card-Media: Inline-SVG-Placeholder
   -------------------------------------------------------------------------- */

.card-media-illu {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hell) 0%, var(--rauch) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.card-media-illu svg {
    width: 56%;
    height: auto;
    max-height: 60%;
    opacity: 0.55;
}
/* New PNG icon set: cluster cards render as <img> (navy art, intrinsic ratio).
   More specific than ".card-media img" so the cover rule does not blow it up. */
.card-media-illu img.illu-img {
    width: 62%;
    height: auto;
    max-height: 62%;
    object-fit: contain;
    opacity: 0.55;
}
.card:hover .card-media-illu img.illu-img { transform: none; }
/* Trust-strip icons (index DE/EN): CSS-masked so they recolour via
   background-color: currentColor — works on the dark/navy strip. */
.illu-mask {
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}
.illu--netzwerk { -webkit-mask-image: url(icons/svg/netzwerk.svg); mask-image: url(icons/svg/netzwerk.svg); }
.illu--headset  { -webkit-mask-image: url(icons/svg/headset.svg);  mask-image: url(icons/svg/headset.svg); }
.illu--personen { -webkit-mask-image: url(icons/svg/personen.svg); mask-image: url(icons/svg/personen.svg); }

/* -----------------------------------------------------------------------------
   23. CTA-Box (Bottom-of-page Anchor)
   -------------------------------------------------------------------------- */

.cta-box {
    background: var(--primary);
    color: var(--weiss);
    border-radius: var(--radius);
    padding: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}
.cta-box h2 { color: var(--weiss); margin-bottom: 0.5rem; max-width: 24ch; }
.cta-box .lead { color: rgba(252, 251, 249, 0.85); }
.cta-box .eyebrow { color: var(--accent); }
.cta-box-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.cta-box-actions .btn { justify-content: center; }
.cta-box-hours {
    margin-top: 0.5rem;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(252, 251, 249, 0.75);
}
@media (max-width: 768px) {
    .cta-box { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------------------
   24. Spec-Block (Detail-Pages: 2-Spalten Illu + Fakten-Liste)
   -------------------------------------------------------------------------- */

.spec-block {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}
.spec-block .spec-illu {
    background: linear-gradient(135deg, var(--hell) 0%, var(--rauch) 100%);
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.spec-block .spec-illu svg {
    width: 72%;
    height: auto;
    max-height: 70%;
    opacity: 0.55;
}
.spec-block .spec-illu img.spec-illu-img {
    width: 72%;
    height: auto;
    max-height: 70%;
    object-fit: contain;
    opacity: 0.55;
}

.spec-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.85rem 1.75rem;
    margin: 0;
}
.spec-list dt {
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-button);
    padding-top: 0.15rem;
}
.spec-list dd {
    margin: 0;
    color: var(--primary);
    font-size: 0.98rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .spec-block { grid-template-columns: 1fr; }
    .spec-list { grid-template-columns: 1fr; gap: 1.25rem; }
    .spec-list dd { margin-top: -0.4rem; }
}

/* -----------------------------------------------------------------------------
   25. Case-Cards (Anwendungsbeispiele, kompakt, text-only)
   -------------------------------------------------------------------------- */

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.case-card {
    background: var(--weiss-pure);
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    padding: 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.case-card:hover { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.case-card .eyebrow { margin-bottom: 0; }
.case-card h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.case-card p { color: var(--stahlgrau); font-size: 0.94rem; margin: 0; }
.case-card .case-meta {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rauch);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--stahlgrau);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

/* -----------------------------------------------------------------------------
   26. Kontakt-Grid (Formular + Sidebar)
   -------------------------------------------------------------------------- */

.kontakt-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}
@media (max-width: 880px) {
    .kontakt-grid { grid-template-columns: 1fr; }
}

.kontakt-form {
    background: var(--weiss-pure);
    border: 1px solid var(--rauch);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.kontakt-form .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 568px) {
    .kontakt-form .form-row-2col { grid-template-columns: 1fr; }
}

.kontakt-form .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0;
    font-size: 0.88rem;
    color: var(--stahlgrau);
}
.kontakt-form .form-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px; height: 18px;
    accent-color: var(--primary);
}
.kontakt-form .form-consent a { text-decoration: underline; }

.kontakt-form .form-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.kontakt-form .form-required-hint {
    font-size: 0.82rem;
    color: var(--stahlgrau);
}

.kontakt-sidebar {
    background: var(--hell);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.kontakt-sidebar h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.kontakt-sidebar dl { display: grid; gap: 1.25rem; margin: 0; }
.kontakt-sidebar dt {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-button);
    margin-bottom: 0.25rem;
}
.kontakt-sidebar dd {
    margin: 0;
    color: var(--primary);
    font-size: 0.96rem;
    line-height: 1.5;
}
.kontakt-sidebar dd a { color: var(--primary); }
.kontakt-sidebar dd a:hover { text-decoration: underline; }

.form-status {
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-ui);
    font-weight: 500;
}
.form-status.is-success {
    background: rgba(10, 37, 62, 0.06);
    border: 1px solid rgba(10, 37, 62, 0.2);
    color: var(--primary);
}
.form-status.is-error {
    background: #fdf0f0;
    border: 1px solid #d4a8a8;
    color: #7a3030;
}

/* -----------------------------------------------------------------------------
   27. Legal-Content (impressum, datenschutz, agb, haftungsausschluss)
   -------------------------------------------------------------------------- */

.legal-content {
    max-width: 60rem;
    margin: 0 auto;
}
.legal-content h2 {
    margin-top: 2.5rem;
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    text-transform: none;
    letter-spacing: -0.005em;
}
.legal-content h3 {
    margin-top: 1.5rem;
    font-size: 1.05rem;
}
.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
    margin: 0 0 1em;
    list-style: revert;
}
.legal-content li { padding: 0.15rem 0; line-height: 1.55; }
.legal-content p { line-height: 1.65; }
.legal-content .legal-meta {
    color: var(--stahlgrau);
    font-size: 0.88rem;
    margin: 1.5rem 0 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--hell);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent-button);
}
.legal-content address {
    font-style: normal;
    line-height: 1.6;
}
.legal-content .draft-warning {
    background: #fff8e6;
    border: 1px solid #d4b75a;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    color: #6b4f00;
    font-size: 0.92rem;
    margin: 1.5rem 0 2.5rem;
}
.legal-content .draft-warning strong { display: block; margin-bottom: 0.35rem; }

/* -----------------------------------------------------------------------------
   28. 404
   -------------------------------------------------------------------------- */

.error-hero {
    background: var(--primary);
    color: var(--weiss);
    text-align: center;
    padding: 8rem 0 6rem;
}
.error-hero h1 { color: var(--weiss); font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 0.5rem; }
.error-hero h2 { color: var(--weiss); font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 1rem; }
.error-hero .lead { color: rgba(252, 251, 249, 0.85); max-width: 50ch; margin: 0 auto 2rem; }
.error-hero .hero-ctas { justify-content: center; }
@media (max-width: 768px) {
    .error-hero { padding: 6rem 0 4rem; }
}

/* -----------------------------------------------------------------------------
   29. Print
   -------------------------------------------------------------------------- */

@media print {
    .site-header, .site-footer, .sticky-cta-mobile,
    .nav-hamburger, .mobile-drawer { display: none !important; }
    body { padding: 0; }
    a { color: black; text-decoration: underline; }
}
