/* ==========================================================================
   YAHU LOGISTIK — "Nachtschicht-Dispo" Design System
   Display: Barlow Condensed | Body: Barlow | Data: IBM Plex Mono
   ========================================================================== */

/* Selbst gehostete Fonts (DSGVO) - generiert aus Google-Fonts-CSS */
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/ibm-plex-mono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   01. TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Surfaces */
    --ink: #0A111C;
    --ink-2: #0D1626;
    --panel: #111E2E;
    --paper: #F2F5F9;
    --card: #FFFFFF;

    /* Lines */
    --line-dark: rgba(133, 199, 232, 0.16);
    --line-light: #DBE3ED;

    /* Brand */
    --brand: #85C7E8;
    --brand-strong: #16699E;
    --brand-deep: #0F5480;
    --signal: #FFB300;
    --signal-deep: #E09C00;

    /* Text */
    --text-hi: #EDF4FA;
    --text-lo: #9FB3C6;
    --text-ink: #12202F;
    --text-mut: #4E6377;

    /* State */
    --error: #E5484D;
    --success: #30A46C;

    /* Type */
    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Consolas', monospace;

    --text-hero: clamp(3rem, 1.4rem + 7vw, 6.75rem);
    --text-h2: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
    --text-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);

    /* Rhythm */
    --sp-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.4s;

    /* Effects */
    --shadow-card: 0 2px 6px rgba(10, 17, 28, 0.05), 0 18px 44px rgba(10, 17, 28, 0.09);
    --shadow-pop: 0 6px 16px rgba(10, 17, 28, 0.12), 0 28px 60px rgba(10, 17, 28, 0.16);

    /* Hazard chevron (hi-vis edge) */
    --hazard: repeating-linear-gradient(
        135deg,
        var(--signal) 0 14px,
        var(--ink) 14px 28px
    );
}

/* --------------------------------------------------------------------------
   02. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--paper);
    color: var(--text-ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}

img, svg, video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    line-height: 1.02;
    color: var(--text-ink);
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-ink);
}

::selection {
    background: var(--signal);
    color: var(--ink);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2A3B50; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-strong); }

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

/* --------------------------------------------------------------------------
   03. UTILITIES
   -------------------------------------------------------------------------- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section-padding {
    padding: var(--sp-section) 0;
}

.bg-alt { background: var(--card); }

/* Mono eyebrow über Sektionsüberschriften */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-strong);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--signal);
}

.section-header {
    max-width: 720px;
    margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header.centered .eyebrow { justify-content: center; }

.section-header h2 {
    font-size: var(--text-h2);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-mut);
    font-size: 1.1rem;
    max-width: 620px;
}

.section-header.centered p { margin: 0 auto; }

.highlight-text { color: var(--brand-strong); }
.highlight-cyan { color: var(--brand-strong); }

/* Dark sections */
.on-dark {
    background: var(--ink);
    color: var(--text-lo);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--text-hi); }
.on-dark .section-header p { color: var(--text-lo); }
.on-dark .eyebrow { color: var(--brand); }
.on-dark .highlight-text,
.on-dark .highlight-cyan { color: var(--brand); }

/* --------------------------------------------------------------------------
   04. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    will-change: transform;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
    background: var(--signal);
    color: var(--ink);
    box-shadow: 0 4px 18px rgba(255, 179, 0, 0.28);
}

.btn-primary:hover {
    background: var(--signal-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 179, 0, 0.38);
}

.btn-secondary {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

.btn-secondary:hover {
    background: rgba(133, 199, 232, 0.12);
    transform: translateY(-2px);
}

.btn-cyan {
    background: var(--brand-strong);
    color: #FFFFFF;
    box-shadow: 0 4px 18px rgba(22, 105, 158, 0.3);
}

.btn-cyan:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(22, 105, 158, 0.4);
}

/* --------------------------------------------------------------------------
   05. HEADER / NAV
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(10, 17, 28, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    transition: background-color var(--dur) ease, border-color var(--dur) ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Logo: nur der Origami-Vogel als Marke */
.logo img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(10, 17, 28, 0.4));
}

/* Ohne Schriftzug füllt die Navigation die Leiste:
   Menüpunkte verteilen sich gleichmäßig über die freie Breite */
@media (min-width: 1081px) {
    .nav-menu {
        flex: 1;
        justify-content: space-evenly;
        margin-left: clamp(24px, 3vw, 64px);
    }
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 30px);
    list-style: none;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-lo);
    padding: 6px 2px;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease-out);
}

.nav-link:hover { color: var(--text-hi); }

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link.active { color: var(--text-hi); }

.lang-selector { display: flex; align-items: center; }

.lang-select {
    appearance: none;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    color: var(--text-lo);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    padding: 7px 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-select:hover {
    border-color: var(--brand);
    color: var(--text-hi);
}

.lang-select option {
    background: var(--ink);
    color: var(--text-hi);
}

/* Transparent variant over hero video (until scrolled) */
header.header-transparent:not(.scrolled) {
    background: linear-gradient(180deg, rgba(10, 17, 28, 0.55), transparent);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

/* Burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-hi);
    transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   06. HERO (index)
   -------------------------------------------------------------------------- */
.hero-container {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
}

.hero-video,
.hero-still {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
}

/* Handy und Bewegungs-Empfindliche sehen direkt das Endbild (Emblem +
   Schriftzug); erst ab Tablet-Breite und ohne reduced-motion läuft der Film.
   Die Videoquelle setzt app.js nur, wenn das Video hier sichtbar ist. */
.hero-video { display: none; }

@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    .hero-video { display: block; }
    .hero-still { display: none; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 17, 28, 0.5) 0%, rgba(10, 17, 28, 0.25) 40%, rgba(10, 17, 28, 0.94) 100%),
        radial-gradient(90% 70% at 18% 78%, rgba(10, 17, 28, 0.62) 0%, transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 120px clamp(20px, 4vw, 40px) 110px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 22px;
}

.hero-tagline::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--signal);
}

.hero-content h1 {
    font-size: var(--text-hero);
    color: var(--text-hi);
    max-width: 14ch;
    margin-bottom: 26px;
}

.hero-content h1 .highlight-text { color: var(--brand); }

.hero-content p {
    color: var(--text-lo);
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
    max-width: 560px;
    margin-bottom: 38px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-hi); /* context for .btn-secondary */
}

/* Hero load sequence */
.hero-seq {
    opacity: 0;
    transform: translateY(28px);
    animation: heroRise 0.9s var(--ease-out) forwards;
}
.hero-seq-1 { animation-delay: 0.15s; }
.hero-seq-2 { animation-delay: 0.3s; }
.hero-seq-3 { animation-delay: 0.5s; }
.hero-seq-4 { animation-delay: 0.65s; }

@keyframes heroRise {
    to { opacity: 1; transform: translateY(0); }
}

/* Dispo status bar (docked to hero bottom) */
.dispo-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    border-top: 1px solid var(--line-dark);
    background: rgba(10, 17, 28, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dispo-bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px clamp(20px, 4vw, 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-lo);
}

.dispo-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dispo-item strong {
    color: var(--text-hi);
    font-weight: 500;
}

.dispo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.5);
    animation: dispoPulse 2s ease-out infinite;
}

@keyframes dispoPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.5); }
    70% { box-shadow: 0 0 0 9px rgba(255, 179, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0); }
}

/* --------------------------------------------------------------------------
   07. MARQUEE BAND
   -------------------------------------------------------------------------- */
.marquee {
    position: relative;
    overflow: hidden;
    background: var(--ink-2);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    padding: 18px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeMove 45s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 0 26px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-lo);
    white-space: nowrap;
}

.marquee-item::after {
    content: '▸';
    color: var(--signal);
    font-size: 1rem;
}

@keyframes marqueeMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   08. SERVICES — Frachtbrief-Karten (waybill cards)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.services-grid .service-card:nth-child(1) { grid-column: span 7; }
.services-grid .service-card:nth-child(2) { grid-column: span 5; }
.services-grid .service-card:nth-child(3) { grid-column: span 5; }
.services-grid .service-card:nth-child(4) { grid-column: span 7; }

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color 0.25s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-strong);
    box-shadow: var(--shadow-pop);
}

/* Art area (replaces the old AI photos) */
.service-art {
    position: relative;
    background:
        radial-gradient(120% 100% at 50% 0%, rgba(133, 199, 232, 0.08) 0%, transparent 60%),
        var(--ink);
    border-bottom: 1px solid var(--line-light);
    padding: clamp(18px, 3vw, 30px);
}

.service-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.35;
    pointer-events: none;
}

.service-art svg {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 230px;
    margin: 0 auto;
}

/* SVG scene helpers */
.art-line {
    fill: none;
    stroke: var(--brand);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.art-line-thin {
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.55;
}

.art-fill { fill: rgba(133, 199, 232, 0.1); }
.art-fill-solid { fill: var(--brand); }
.art-amber { stroke: var(--signal); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.art-amber-fill { fill: var(--signal); }

.art-mono {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 2px;
    fill: var(--brand);
}

.art-mono-amber { fill: var(--signal); }

.art-dash {
    fill: none;
    stroke: var(--brand);
    stroke-width: 2;
    stroke-dasharray: 10 12;
    opacity: 0.7;
    animation: dashFlow 1.4s linear infinite;
    animation-play-state: paused;
}

.service-card:hover .art-dash { animation-play-state: running; }

@keyframes dashFlow {
    to { stroke-dashoffset: -44; }
}

.art-blink {
    animation: artBlink 1.6s ease-in-out infinite;
}

@keyframes artBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* Card body */
.service-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: clamp(22px, 3vw, 32px);
}

.service-code {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mut);
    margin-bottom: 14px;
}

.service-code::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line-light);
    margin-left: 16px;
}

.service-card h3 {
    font-size: var(--text-h3);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-mut);
    font-size: 0.98rem;
    margin-bottom: 22px;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-strong);
}

.read-more svg {
    width: 16px;
    height: 16px;
    transition: transform var(--dur) var(--ease-out);
}

.service-card:hover .read-more svg { transform: translateX(6px); }

/* Legacy icon wrapper (subpages) */
.icon-wrapper svg { width: 30px; height: 30px; color: var(--brand-strong); }

/* --------------------------------------------------------------------------
   09. ROUTE NETWORK (dark)
   -------------------------------------------------------------------------- */
.route-section {
    position: relative;
    background: var(--ink);
    overflow: hidden;
}

.route-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(133, 199, 232, 0.14) 1px, transparent 1.6px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.route-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.route-copy .eyebrow { color: var(--brand); }

.route-copy h2 {
    font-size: var(--text-h2);
    color: var(--text-hi);
    margin-bottom: 18px;
}

.route-copy h2 .highlight-text { color: var(--brand); }

.route-copy > p {
    color: var(--text-lo);
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 480px;
}

.route-facts {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-dark);
}

.route-fact {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
}

.route-fact-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--signal);
    padding-top: 3px;
}

.route-fact h3 {
    font-size: 1.15rem;
    color: var(--text-hi);
    margin-bottom: 4px;
}

.route-fact p {
    color: var(--text-lo);
    font-size: 0.94rem;
}

/* Map SVG */
.route-map {
    position: relative;
}

.route-map svg {
    width: 100%;
    height: auto;
}

.map-route {
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.8;
    stroke-dasharray: 5 7;
    opacity: 0.85;
}

/* draw-in via pathLength=1 (activated by app.js), loopt endlos:
   zeichnen → halten → ausblenden → neu ansetzen */
.js .map-route {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.js .route-map.drawn .map-route {
    animation: routeDraw 5s var(--ease-out) infinite;
}

@keyframes routeDraw {
    0%        { stroke-dashoffset: 1; opacity: 0.85; }
    50%, 74%  { stroke-dashoffset: 0; opacity: 0.85; }
    86%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.map-node { fill: var(--brand); }

.map-node-halo {
    fill: none;
    stroke: var(--brand);
    stroke-width: 1;
    opacity: 0.4;
}

.map-hub { fill: var(--signal); }

.map-hub-pulse {
    fill: none;
    stroke: var(--signal);
    stroke-width: 1.4;
    transform-origin: center;
    transform-box: fill-box;
    animation: hubPulse 2.4s ease-out infinite;
}

@keyframes hubPulse {
    0% { transform: scale(0.4); opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0; }
}

.map-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    fill: var(--text-lo);
    text-transform: uppercase;
}

.map-label-hub {
    fill: var(--signal);
    font-weight: 600;
}

/* Rhein – Atmosphäre hinter dem Netz, keine Route */
.map-river {
    fill: none;
    stroke: url(#rheinFade);
    stroke-width: 8;
    stroke-linecap: round;
    opacity: 0.1;
}

.map-river-in { stop-color: var(--brand); stop-opacity: 1; }
.map-river-out { stop-color: var(--brand); stop-opacity: 0; }

.map-country {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2.5px;
    fill: var(--text-lo);
    text-transform: uppercase;
    opacity: 0.38;
}

.map-note {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-lo);
}

/* --------------------------------------------------------------------------
   10. STATS (dark, mono counters)
   -------------------------------------------------------------------------- */
.stats-section {
    background: var(--ink-2);
    border-top: 1px solid var(--line-dark);
    padding: clamp(56px, 7vw, 96px) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    position: relative;
    padding-left: 22px;
}

.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--signal);
}

.stat-item h2 {
    font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem);
    color: var(--text-hi);
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}

.stat-item h2 .stat-unit {
    font-size: 0.5em;
    color: var(--brand);
    margin-left: 4px;
}

.stat-item p {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-lo);
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   11. ABOUT
   -------------------------------------------------------------------------- */
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.about-claim {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--text-ink);
    margin-bottom: 24px;
}

.about-claim em {
    font-style: normal;
    color: var(--brand-strong);
}

.about-text {
    color: var(--text-mut);
    font-size: 1.06rem;
    line-height: 1.8;
}

.about-panel {
    position: relative;
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 4vw, 48px);
    overflow: hidden;
    text-align: center;
}

.about-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.35;
}

.about-panel img {
    position: relative;
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 26px;
    filter: drop-shadow(0 10px 24px rgba(133, 199, 232, 0.25));
    animation: cubeFloat 5s ease-in-out infinite;
}

@keyframes cubeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-meta {
    position: relative;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    line-height: 2.1;
    color: var(--text-lo);
    text-transform: uppercase;
}

.about-meta strong {
    color: var(--text-hi);
    font-weight: 500;
}

.about-meta .amber { color: var(--signal); }

/* --------------------------------------------------------------------------
   12. WHY / PROPS
   -------------------------------------------------------------------------- */
.props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prop-item {
    background: var(--card);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-md);
    padding: clamp(24px, 3vw, 36px);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color 0.25s ease;
}

.prop-item:hover {
    transform: translateY(-4px);
    border-color: var(--brand-strong);
    box-shadow: var(--shadow-card);
}

.prop-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.prop-icon svg {
    width: 26px;
    height: 26px;
    color: var(--signal);
}

.prop-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.prop-content p {
    color: var(--text-mut);
    font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   13. CAREER BANNER (hi-vis)
   -------------------------------------------------------------------------- */
.career-banner {
    position: relative;
    background: var(--signal);
    overflow: hidden;
    /* gleicher heller Abstand über und unter dem Banner */
    margin-top: clamp(2.25rem, 1.5rem + 2vw, 4rem);
    margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 4rem);
}

/* Banner sitzt direkt unter dem Hero — die Folgesektion verzichtet auf eigenen
   Abstand oben, damit unter dem Banner derselbe Abstand wirkt wie darüber */
.career-banner + .section-padding {
    padding-top: 0;
}

.career-banner::before,
.career-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background: var(--hazard);
}

.career-banner::before { top: 0; }
.career-banner::after { bottom: 0; }

.career-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(36px, 4.5vw, 56px) 0;
}

.career-banner h2 {
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
    color: var(--ink);
    max-width: 16ch;
}

.career-banner p {
    color: rgba(10, 17, 28, 0.75);
    font-size: 1.05rem;
    font-weight: 500;
    max-width: 480px;
    margin-top: 10px;
}

.career-banner .btn {
    background: var(--ink);
    color: var(--text-hi);
    box-shadow: 0 10px 26px rgba(10, 17, 28, 0.28);
}

.career-banner .btn:hover {
    transform: translateY(-2px);
    background: var(--ink-2);
    box-shadow: 0 16px 34px rgba(10, 17, 28, 0.35);
}

/* --------------------------------------------------------------------------
   14. CTA BAND (dark)
   -------------------------------------------------------------------------- */
.cta-band {
    background: var(--ink);
    text-align: center;
    padding: var(--sp-section) 0;
}

.cta-band h2 {
    font-size: var(--text-h2);
    color: var(--text-hi);
    margin-bottom: 14px;
}

.cta-band h2 .highlight-text { color: var(--brand); }

.cta-band p {
    color: var(--text-lo);
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto 36px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    color: var(--text-hi);
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: var(--brand);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    padding: 15px 26px;
    transition: border-color 0.2s ease, color 0.2s ease, transform var(--dur) var(--ease-out);
}

.cta-phone:hover {
    border-color: var(--brand);
    color: var(--text-hi);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
footer {
    background: var(--ink-2);
    border-top: 1px solid var(--line-dark);
    color: var(--text-lo);
    padding-top: clamp(56px, 6vw, 80px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 56px;
}

/* Marken-Spalte: Vogel mittig über zentriertem Text */
.footer-grid .footer-col:first-child {
    text-align: center;
}

.footer-grid .footer-col:first-child > p {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}

footer .logo img {
    height: 68px;
    width: 68px;
}

.footer-col > p {
    font-size: 0.95rem;
    max-width: 320px;
    margin-top: 6px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-lo);
    transition: color 0.2s ease, padding-left 0.25s var(--ease-out);
}

.footer-links a:hover {
    color: var(--brand);
    padding-left: 6px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    font-size: 0.92rem;
    align-items: flex-start;
}

.footer-contact-info svg {
    width: 18px;
    height: 18px;
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-lo);
    transition: border-color 0.2s ease, color 0.2s ease, transform var(--dur) var(--ease-out);
}

.footer-social-btn:hover {
    border-color: var(--signal);
    color: var(--signal);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line-dark);
    padding-top: 24px;
    padding-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
}

.footer-bottom a {
    color: var(--text-lo);
    transition: color 0.2s ease;
}

.footer-bottom a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   16. PAGE HERO (subpages)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    background: var(--ink);
    padding: 190px 0 90px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(133, 199, 232, 0.13) 1px, transparent 1.6px);
    background-size: 30px 30px;
    opacity: 0.55;
}

.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10px;
    background: var(--hazard);
    opacity: 0.9;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 18px;
}

.page-hero-code::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--signal);
}

.page-hero h1 {
    font-size: clamp(2.6rem, 1.8rem + 4vw, 4.6rem);
    color: var(--text-hi);
    margin-bottom: 16px;
    max-width: 18ch;
}

.page-hero p {
    color: var(--text-lo);
    font-size: 1.1rem;
    max-width: 620px;
}

/* --------------------------------------------------------------------------
   17. DETAIL LAYOUT (subpages)
   -------------------------------------------------------------------------- */
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

.detail-main h2 {
    font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
    margin: 44px 0 16px;
}

.detail-main h2:first-child { margin-top: 0; }

.detail-main p {
    color: var(--text-mut);
    font-size: 1.04rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.feature-list {
    list-style: none;
    margin: 10px 0 26px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-light);
}

.feature-list li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-light);
    color: var(--text-mut);
    font-size: 1rem;
    line-height: 1.65;
}

.feature-list li strong { color: var(--text-ink); }

.feature-list svg {
    width: 22px;
    height: 22px;
    color: var(--ink);
    background: var(--signal);
    border-radius: 5px;
    padding: 3px;
    margin-top: 2px;
}

.detail-sidebar {
    position: sticky;
    top: 100px;
}

/* --------------------------------------------------------------------------
   18. FORMS
   -------------------------------------------------------------------------- */
.contact-form-box {
    background: var(--card);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3vw, 38px);
    box-shadow: var(--shadow-card);
}

.contact-form-box h3 {
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.form-field, .form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-field label, .form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mut);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    color: var(--text-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--card);
    border-color: var(--brand-strong);
    box-shadow: 0 0 0 3px rgba(22, 105, 158, 0.15);
}

.form-field textarea { resize: vertical; min-height: 110px; }

.form-field ::placeholder { color: #9AAABB; }

.error-message {
    display: none;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 6px;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.12);
}

.form-field.error .error-message { display: block; }

/* --------------------------------------------------------------------------
   19. CALCULATORS
   -------------------------------------------------------------------------- */
.calculator-box {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    color: var(--text-lo);
}

.calculator-box h2, .calculator-box h3 { color: var(--text-hi); }

.calculator-box label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-lo);
    margin-bottom: 12px;
}

.calculator-box label span { color: var(--text-hi); }

.calculator-box input[type="range"],
.form-field input[type="range"],
.form-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--panel);
    border: none;
    border-radius: 2px;
    padding: 0;
    outline: none;
    margin: 6px 0 22px;
    box-shadow: none;
}

.calculator-box input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: var(--signal);
    border: 2px solid var(--ink);
    box-shadow: 0 0 0 2px var(--signal);
    cursor: grab;
    transition: transform 0.15s ease;
}

.calculator-box input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }

.calculator-box input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--signal);
    border: 2px solid var(--ink);
    cursor: grab;
}

.calc-summary {
    border-top: 1px solid var(--line-dark);
    margin-top: 10px;
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.calc-total .price {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem);
    font-weight: 700;
    color: var(--text-hi);
    font-variant-numeric: tabular-nums;
}

.calc-total p, .calc-summary p {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-lo);
}

/* Vehicle selector */
.vehicle-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.vehicle-option {
    background: var(--panel);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-md);
    padding: 18px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform var(--dur) var(--ease-out), background-color 0.2s ease;
}

.vehicle-option:hover { transform: translateY(-2px); border-color: var(--brand); }

.vehicle-option.selected {
    border-color: var(--signal);
    background: rgba(255, 179, 0, 0.08);
    box-shadow: 0 0 0 1px var(--signal);
}

.vehicle-option h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-hi);
    margin-bottom: 4px;
}

.vehicle-option p {
    font-size: 0.84rem;
    color: var(--text-lo);
}

.vehicle-option .rate {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--signal);
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   20. WIZARD (60s application)
   -------------------------------------------------------------------------- */
.wizard-container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-card);
}

.wizard-progress {
    height: 5px;
    background: var(--paper);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 34px;
}

.wizard-progress-bar {
    height: 100%;
    width: 33.33%;
    background: var(--signal);
    border-radius: 3px;
    transition: width 0.5s var(--ease-out);
}

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: stepIn 0.45s var(--ease-out); }

@keyframes stepIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.wizard-step h3 { font-size: 1.5rem; }

.wizard-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wizard-option-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    text-align: left;
    background: var(--paper);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-ink);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform var(--dur) var(--ease-out);
}

.wizard-option-btn:hover {
    border-color: var(--brand-strong);
    transform: translateX(4px);
}

.wizard-option-btn svg {
    width: 22px;
    height: 22px;
    color: var(--brand-strong);
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.wizard-option-btn.selected {
    border-color: var(--brand-strong);
    background: rgba(22, 105, 158, 0.07);
}

.wizard-option-btn.selected svg { opacity: 1; }

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 30px;
    color: var(--text-ink);
}

.wizard-success {
    text-align: center;
    padding: 20px 0;
}

.wizard-success-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--signal);
    border-radius: 50%;
    animation: successPop 0.6s var(--ease-out);
}

@keyframes successPop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.wizard-success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--ink);
}

.wizard-success h2 { font-size: 1.9rem; margin-bottom: 12px; }
.wizard-success p { color: var(--text-mut); max-width: 420px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   21. CHATBOT
   -------------------------------------------------------------------------- */
.chatbot-widget {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 1100;
}

.chatbot-trigger {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--ink);
    border: 1px solid var(--line-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(10, 17, 28, 0.35);
    transition: transform var(--dur) var(--ease-out), border-color 0.2s ease;
}

.chatbot-trigger:hover {
    transform: translateY(-3px) scale(1.04);
    border-color: var(--brand);
}

.chatbot-trigger svg {
    width: 26px;
    height: 26px;
    color: var(--brand);
}

.chatbot-pulse {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--signal);
    border: 2px solid var(--ink);
    animation: dispoPulse 2s ease-out infinite;
}

.chat-window {
    position: absolute;
    bottom: 78px;
    right: 0;
    width: min(380px, calc(100vw - 40px));
    background: var(--ink);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(10, 17, 28, 0.5);
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--panel);
    border-bottom: 1px solid var(--line-dark);
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    border: 1px solid var(--line-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-header-avatar svg {
    width: 20px;
    height: 20px;
    color: var(--signal);
}

.chat-header-info h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-hi);
}

.chat-header-info span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--success);
}

.chat-body {
    height: 320px;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
}

.chat-msg {
    max-width: 85%;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    line-height: 1.5;
    animation: msgIn 0.3s var(--ease-out);
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    align-self: flex-start;
    background: var(--panel);
    color: var(--text-hi);
    border: 1px solid var(--line-dark);
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--brand-strong);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-reply-btn {
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    color: var(--brand);
    font-size: 0.8rem;
    padding: 7px 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.quick-reply-btn:hover {
    border-color: var(--signal);
    color: var(--signal);
}

.typing-dots {
    display: flex;
    gap: 5px;
    padding: 4px 2px;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    animation: typingBounce 1.1s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-area {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: var(--panel);
    border-top: 1px solid var(--line-dark);
}

.chat-input {
    flex: 1;
    background: var(--ink);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    color: var(--text-hi);
    padding: 11px 14px;
    font-size: 0.92rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--brand);
}

.chat-input::placeholder { color: var(--text-lo); }

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--signal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover { background: var(--signal-deep); transform: scale(1.05); }

.chat-send-btn svg {
    width: 20px;
    height: 20px;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   22. SCROLL REVEAL (classes applied by app.js)
   -------------------------------------------------------------------------- */
.will-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}

.will-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 74px;
        right: 0;
        bottom: 0;
        width: min(340px, 85vw);
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        background: var(--ink);
        border-left: 1px solid var(--line-dark);
        padding: 30px 28px;
        transform: translateX(100%);
        transition: transform 0.45s var(--ease-out);
        overflow-y: auto;
    }

    .nav-menu.open { transform: translateX(0); }

    .nav-menu li { width: 100%; }

    .nav-link {
        display: block;
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 600;
        text-transform: uppercase;
        padding: 10px 0;
    }

    .nav-link::after { display: none; }

    .lang-selector { margin-top: 18px; }

    .services-grid .service-card { grid-column: span 12 !important; }

    .route-layout { grid-template-columns: 1fr; }

    .about-layout { grid-template-columns: 1fr; }

    .detail-layout { grid-template-columns: 1fr; }

    .detail-sidebar { position: static; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

    .props-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero-content { padding-bottom: 170px; }

    .dispo-bar-inner { gap: 8px 22px; font-size: 0.68rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 18px; }

    .stat-item h2 { font-size: 2.2rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .vehicle-selector { grid-template-columns: 1fr; }

    .career-banner-inner { justify-content: center; text-align: center; }

    .career-banner h2 { max-width: none; }

    .marquee-item { font-size: 1.1rem; padding: 0 18px; gap: 18px; }

    /* SVG-Text skaliert mit der viewBox mit – auf schmalen Displays
       gegensteuern, sonst sind die Ortsnamen nur ~7px hoch. */
    .map-label { font-size: 15px; letter-spacing: 1px; }
    .map-country { font-size: 14px; letter-spacing: 2px; }
}

/* --------------------------------------------------------------------------
   24. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-seq { opacity: 1; transform: none; animation: none; }

    .will-reveal { opacity: 1; transform: none; }

    .marquee-track { animation: none; }

    .js .map-route {
        stroke-dasharray: 5 7;
        stroke-dashoffset: 0;
        transition: none;
        animation: none !important;
    }
}

/* Klickbare Kontaktdaten (tel:/mailto:) */
a[href^="tel:"]:not([class]),
a[href^="mailto:"]:not([class]) {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(133, 199, 232, 0.45);
    text-underline-offset: 3px;
}
a[href^="tel:"]:not([class]):hover,
a[href^="mailto:"]:not([class]):hover {
    color: var(--brand);
}

/* ==========================================================================
   FAQ (Frachtbrief-Akkordeon)
   ========================================================================== */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
    border-color: var(--brand);
    box-shadow: 0 10px 30px rgba(18, 32, 47, 0.08);
}

.faq-item summary {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: -2px;
    border-radius: var(--radius-sm);
}

.faq-q {
    flex: 1;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-ink);
    transition: color 0.2s ease;
}

.faq-item summary:hover .faq-q { color: var(--brand-strong); }

.faq-marker { flex-shrink: 0; }

.faq-marker::before {
    content: "+";
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--signal-deep);
}

.faq-item[open] .faq-marker::before { content: "–"; }

.faq-a {
    margin: 0;
    padding: 0 60px 22px 24px;
    color: var(--text-mut);
    line-height: 1.65;
}

@media (max-width: 640px) {
    .faq-item summary { padding: 16px 18px; gap: 12px; }
    .faq-a { padding: 0 18px 18px 18px; }
}

/* --------------------------------------------------------------------------
   25. BEWERBUNGSSEITE (bewerben.html) + KANAL-ICONS
   Ziele und Sichtbarkeit der Buttons steuert kanaele.js.
   -------------------------------------------------------------------------- */
.apply-section {
    padding-top: clamp(48px, 5vw, 76px);
}

.apply-card {
    max-width: 620px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-card);
}

.apply-lead {
    font-size: 1.08rem;
    color: var(--text-mut);
    margin-bottom: 28px;
}

.apply-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Volle Breite: Auf dem Handy ist das die Hauptaktion der Seite. */
.apply-btn {
    width: 100%;
    padding: 17px 26px;
    font-size: 1.1rem;
}

.apply-btn[hidden] { display: none; }

.apply-btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.apply-alt {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line-light);
}

.apply-alt-title {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mut);
    margin-bottom: 16px;
}

.apply-alt-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apply-alt-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--brand-strong);
    transition: color 0.2s ease, padding-left 0.25s var(--ease-out);
}

.apply-alt-list a::before {
    content: "→";
    font-family: var(--font-mono);
    color: var(--signal-deep);
}

.apply-alt-list a:hover {
    color: var(--brand-deep);
    padding-left: 5px;
}

.apply-note {
    margin-top: 28px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--text-mut);
}

.apply-note a {
    color: var(--brand-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Footer-Kanäle: echte Markenzeichen statt der früheren Kürzel. */
.footer-socials[hidden] { display: none; }

.footer-social-btn svg {
    width: 18px;
    height: 18px;
}

.career-wa-hint {
    margin-top: 22px;
    font-size: 0.95rem;
    color: var(--text-mut);
}

.career-wa-hint[hidden] { display: none; }

.career-wa-hint a {
    color: var(--brand-strong);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.career-wa-hint a:hover { color: var(--brand-deep); }
