/* Köln Express Logistik — purple / night express branding */

:root {
    --font-script: "Allura", cursive;
    --font-display: "Montserrat", "Segoe UI", sans-serif;
    --font-body: "Montserrat", "Segoe UI", sans-serif;

    --color-purple: #9b30ff;
    --color-purple-deep: #5a189a;
    --color-purple-muted: #7b2cbf;
    --color-gold: #d4af37;
    --color-gold-dim: #a8892a;
    --color-silver: #c4c0d0;

    --color-bg: #0a0810;
    --color-bg-alt: #110e1a;
    --color-surface: #161222;
    --color-text: #ece8f4;
    --color-text-muted: #9d96ad;
    --color-border: #2a2238;
    --color-accent: var(--color-purple);
    --color-accent-hover: #b05cff;
    --color-header: #080610;
    --color-header-text: #ece8f4;
    --color-banner-bg: #120e1c;
    --color-banner-text: #b8b0c8;
    --color-success: #52b788;
    --color-error: #e07070;

    --glow-purple: 0 0 40px rgba(155, 48, 255, 0.25);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --radius: 4px;
    --container: 68rem;
    --header-h: 4.75rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(155, 48, 255, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(90, 24, 154, 0.08), transparent);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--color-accent-hover);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: 0.06em;
}

h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h3 { font-size: 1.1rem; }

p {
    margin: 0 0 1rem;
}

ul, ol {
    margin: 0;
    padding: 0;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-purple);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 9999;
}

.skip-link:focus {
    left: 0;
}

/* ETS2 banner */
.ets2-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--color-banner-bg);
    color: var(--color-banner-text);
    font-size: 0.8125rem;
    border-bottom: 2px solid var(--color-purple);
}

.ets2-banner p {
    margin: 0;
    flex: 1;
}

.ets2-banner__badge {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.55rem;
    background: var(--color-purple);
    color: #fff;
    border-radius: var(--radius);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 6, 16, 0.92);
    backdrop-filter: blur(8px);
    color: var(--color-header-text);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
    margin-right: auto;
}

.logo:hover {
    color: inherit;
    opacity: 0.92;
}

.logo__img {
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(155, 48, 255, 0.35));
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo__text strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo__text small {
    font-size: 0.7rem;
    opacity: 0.65;
    letter-spacing: 0.02em;
}

.site-nav__list {
    display: flex;
    gap: 0.15rem;
    list-style: none;
}

.site-nav a {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--color-header-text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    opacity: 0.8;
}

.site-nav a:hover,
.site-nav a.is-active {
    opacity: 1;
    color: #fff;
    background: rgba(155, 48, 255, 0.15);
}

.site-nav a.is-active {
    box-shadow: inset 0 -2px 0 var(--color-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin-inline: auto;
    background: var(--color-header-text);
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    flex: 1;
}

/* Typography */
.eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin: 0 0 0.5rem;
}

.lead {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 40rem;
    font-weight: 400;
}

.meta-line {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.text-link {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.hero__title {
    text-transform: none;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero__title-script {
    font-family: var(--font-script);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--color-silver);
    font-size: 1.35em;
}

/* Hero */
.hero {
    position: relative;
    padding: 2.5rem 0 3.5rem;
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    top: 50%;
    left: 15%;
    width: 20rem;
    height: 20rem;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(155, 48, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: min(16rem, 35%) 1fr min(18rem, 100%);
    gap: 2rem;
    align-items: center;
}

.hero__brand {
    display: flex;
    justify-content: center;
}

.hero__logo {
    width: min(100%, 16rem);
    height: auto;
    filter: drop-shadow(var(--glow-purple));
}

.hero__grid--home {
    grid-template-columns: min(16rem, 35%) 1fr;
}

.home-content__grid {
    display: grid;
    gap: 1.5rem;
}

.next-event-section {
    padding-top: 0;
}

.next-event {
    margin: 0;
    padding: 1rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius);
    font-size: 1.05rem;
    line-height: 1.5;
}

.next-event__label {
    display: inline;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-right: 0.5rem;
}

.next-event__value {
    color: var(--color-text);
    font-weight: 600;
}

.next-event__value--empty {
    color: var(--color-text-muted);
    font-weight: 400;
}

.home-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-purple);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.home-block h2 {
    font-size: 1.15rem;
    color: var(--color-silver);
    margin-bottom: 1rem;
}

.home-block p {
    color: var(--color-text-muted);
    text-transform: none;
    font-weight: 400;
}

.home-block p:last-child {
    margin-bottom: 0;
}

.home-block__footer {
    margin-top: 1rem;
    font-style: italic;
}

.home-list,
.home-checklist {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    margin: 0 0 1rem;
    padding: 0;
}

.home-list li,
.home-checklist li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
    text-transform: none;
    font-weight: 400;
    font-size: 0.975rem;
}

.home-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--color-purple);
    font-weight: 700;
}

.home-checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.85rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero__panel {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-purple);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat-list {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.stat-list__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.stat-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-list dt {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-list dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
}

.hero__panel-note {
    margin: 1rem 0 0;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.page-hero {
    padding: 2.5rem 0 2rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.section {
    padding: 3rem 0;
}

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

.section-header {
    margin-bottom: 1.75rem;
}

.section-header--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-header__sub {
    margin: 0.25rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    text-transform: none;
    font-weight: 400;
}

.card-grid {
    display: grid;
    gap: 1.25rem;
}

.card-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-purple);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card h3 {
    color: var(--color-silver);
}

.card p:last-child {
    margin-bottom: 0;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    text-transform: none;
    font-weight: 400;
}

.fleet-gallery {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1.25rem;
    justify-content: start;
}

.fleet-gallery__item {
    margin: 0;
    max-width: 28rem;
}

.fleet-gallery__link {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-alt);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.fleet-gallery__link:hover,
.fleet-gallery__link:focus-visible {
    border-color: var(--color-purple);
    transform: translateY(-2px);
    outline: none;
}

.fleet-gallery__img {
    width: 100%;
    height: auto;
    max-height: 28rem;
    object-fit: contain;
    display: block;
}

.fleet-gallery__caption {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.fleet-empty,
.fleet-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.fleet-empty {
    margin-top: 0;
    padding: 1.5rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.content-grid {
    display: grid;
    gap: 2.5rem;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block p {
    text-transform: none;
    font-weight: 400;
}

.cta-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-alt) 100%);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-purple);
    border-radius: var(--radius);
    box-shadow: var(--glow-purple);
}

.cta-block p {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 32rem;
    text-transform: none;
    font-weight: 400;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-list dt {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
}

.contact-list dd {
    margin: 0.15rem 0 0;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-deep) 100%);
    color: #fff;
    border-color: var(--color-purple);
    box-shadow: 0 2px 12px rgba(155, 48, 255, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-purple) 100%);
    border-color: var(--color-accent-hover);
    color: #fff;
    box-shadow: 0 4px 20px rgba(155, 48, 255, 0.45);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn--ghost:hover {
    background: rgba(155, 48, 255, 0.1);
    border-color: var(--color-purple);
    color: var(--color-text);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.notice {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
}

.notice--warn {
    background: rgba(155, 48, 255, 0.12);
    border: 1px solid var(--color-purple);
    color: var(--color-text);
}

.site-footer {
    margin-top: auto;
    background: var(--color-header);
    color: var(--color-header-text);
    padding: 2.5rem 0 0;
    border-top: 1px solid var(--color-border);
}

.site-footer a {
    color: var(--color-header-text);
    opacity: 0.85;
}

.site-footer a:hover {
    opacity: 1;
    color: var(--color-purple);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.site-footer__logo {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 10px rgba(155, 48, 255, 0.3));
}

.site-footer__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 0.25rem;
}

.site-footer__meta,
.site-footer__disclaimer {
    font-size: 0.875rem;
    opacity: 0.75;
    margin: 0 0 0.5rem;
}

.site-footer__heading {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.9;
    margin: 0 0 0.75rem;
}

.site-footer__links ul,
.site-footer__contact ul {
    list-style: none;
}

.site-footer__links li,
.site-footer__contact li {
    margin-bottom: 0.35rem;
    font-size: 0.9375rem;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.8125rem;
    opacity: 0.6;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__game {
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

@media (max-width: 900px) {
    .hero__grid,
    .hero__grid--home {
        grid-template-columns: 1fr;
    }

    .hero__brand {
        grid-column: 1 / -1;
    }

    .hero__logo {
        width: min(100%, 12rem);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-header);
        border-bottom: 1px solid var(--color-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-nav.is-open {
        max-height: 20rem;
    }

    .site-nav__list {
        flex-direction: column;
        padding: 0.5rem 1rem 1rem;
    }

    .site-nav a {
        padding: 0.75rem 0.5rem;
    }

    .site-header {
        position: relative;
    }

    .site-header__inner {
        flex-wrap: wrap;
        position: relative;
    }

    .hero__grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .section-header--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .fleet-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ets2-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .logo__text small {
        display: none;
    }

    .logo__img {
        width: 2.75rem;
        height: 2.75rem;
    }
}
