:root {
    /* Grau/Blau/Schwarz Theme */
    --bg: #0a0c10;           /* fast Schwarz */
    --bg-muted: #12151b;     /* sehr dunkles Grau */
    --card: #0f1620;         /* dunkles Blau-Grau */
    --text: #e6e9ef;         /* helles Grau */
    --text-muted: #aab4c0;   /* gedämpftes Grau */
    --brand: #3aa0f2;        /* Blau */
    --brand-strong: #2563eb; /* kräftiges Blau */
    --accent: #a0b8d9;       /* Stahlblau für Eyebrow */
    --danger: #ff6b6b;
    --border: #1e2735;       /* kühles Randgrau */
    --shadow: 0 10px 30px rgba(0,0,0,.35);

    /* Animations-Utilities */
    --anim-fast: .6s;
    --anim-med: 1.2s;
    --anim-slow: 6s;
    /* Parallax Offsets (werden per JS aktualisiert) */
    --mx: 0px;
    --my: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 800px at 10% -10%, #0f1a29, transparent 60%),
                radial-gradient(800px 600px at 100% 0%, #142238, transparent 60%),
                var(--bg);
    line-height: 1.5;
    position: relative;
}

/* Animierter Hintergrund-Glanz (dezent) */
body::before {
    content: "";
    position: fixed;
    inset: -15% -10% -10% -10%;
    background:
        radial-gradient(60% 60% at 0% 0%, rgba(58,160,242,.16), transparent 60%),
        radial-gradient(50% 50% at 100% 10%, rgba(37,99,235,.14), transparent 60%),
        radial-gradient(40% 40% at 50% 120%, rgba(20,26,36,.5), transparent 60%);
    filter: blur(18px);
    animation: bg-shift 28s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* Zweite Hintergrundschicht für stärkeren Tiefeneffekt */
body::after {
    content: "";
    position: fixed;
    inset: -20% -15% -15% -15%;
    background:
        radial-gradient(50% 40% at 80% 20%, rgba(37,99,235,.10), transparent 60%),
        radial-gradient(35% 35% at 20% 80%, rgba(58,160,242,.10), transparent 60%);
    filter: blur(24px);
    /* leichte, interaktive Bewegung über CSS-Variablen */
    transform: translate3d(calc(var(--mx) * .03), calc(var(--my) * .03), 0);
    pointer-events: none;
    z-index: 0;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

.container { width: min(1100px, 92%); margin: 0 auto; }
.container { padding-left: max(env(safe-area-inset-left), 0px); padding-right: max(env(safe-area-inset-right), 0px); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 15, 20, .75);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding-top: max(env(safe-area-inset-top), 0px);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .3px;
}
.brand-badge {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    background-size: 200% 200%;
    animation: gradient-shift 8s ease-in-out infinite alternate;
    display: inline-block;
    box-shadow: var(--shadow);
}
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }
/* animierte Unterstreichung */
.nav-links a { position: relative; }
.nav-links a::after {
    content: "";
    position: absolute; left: 0; right: auto; bottom: -6px; height: 2px; width: 0;
    background: linear-gradient(90deg, var(--brand), var(--brand-strong));
    transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #0b0f14; font-weight: 800; padding: 10px 14px; border-radius: 10px;
    border: 0; box-shadow: var(--shadow);
}

/* Hero */
.hero {
    padding: 72px 0 56px;
}
.hero::before {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(800px 300px at 70% -10%, rgba(37,99,235,.10), transparent 60%);
    animation: hero-parallax 18s ease-in-out infinite alternate;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.1; margin: 10px 0 10px; }
.lead { color: var(--text-muted); font-size: clamp(16px, 2.5vw, 18px); margin-bottom: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 12px; padding: 12px 16px; font-weight: 700; border: 1px solid var(--border);
    color: var(--text); background: #0b0f14;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
    position: relative; overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #0b0f14; border: 0; background-size: 200% 200%; animation: gradient-pan var(--anim-slow) ease-in-out infinite alternate; }
.btn-secondary { background: var(--card); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0); }
/* Shine-Effekt über Buttons */
.btn::after {
    content: "";
    position: absolute; inset: -20% -60% auto -60%; height: 200%; transform: rotate(12deg) translateX(-140%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transition: transform .5s ease;
}
.btn:hover::after { transform: rotate(12deg) translateX(30%); }

.hero-card {
    background: linear-gradient(180deg, rgba(76,201,240,.15), rgba(72,149,239,.08));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    animation: float-slow 9s ease-in-out infinite;
}
.hero-grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(2, 1fr);
}
.hero-tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    min-height: 96px;
}
.hero-tile h3 { margin: 0 0 6px; font-size: 16px; }
.hero-tile p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* Features */
.features { padding: 26px 0 10px; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature {
    background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px;
    transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: rgba(58,160,242,.35); transform: translateY(-2px); }
.feature strong { display: block; margin-bottom: 6px; }
.feature span { color: var(--text-muted); font-size: 14px; }
/* Gestaffelte Reveals */
.feature-row .feature { animation: fadeUp .8s ease both; }
.feature-row .feature:nth-child(1) { animation-delay: .1s; }
.feature-row .feature:nth-child(2) { animation-delay: .2s; }
.feature-row .feature:nth-child(3) { animation-delay: .3s; }
.feature-row .feature:nth-child(4) { animation-delay: .4s; }

/* Locations */
.section { padding: 40px 0; }
.section h2 { font-size: clamp(22px, 3.5vw, 30px); margin: 0 0 12px; }
.section p.section-intro { color: var(--text-muted); margin: 0 0 20px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card {
    background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow);
    transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(58,160,242,.35); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.meta { color: var(--text-muted); font-size: 14px; margin: 0 0 10px; }
.cards .card { animation: fadeUp .8s ease both; }
.cards .card:nth-child(1) { animation-delay: .1s; }
.cards .card:nth-child(2) { animation-delay: .2s; }

/* Fleet */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vehicle-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.vehicle-card__image { background: linear-gradient(135deg, #21324a, #1a2b44); height: 140px; border-bottom: 1px solid var(--border); background-size: 200% 200%; animation: gradient-pan-slow 18s ease-in-out infinite alternate; position: relative; }
.vehicle-card__body { padding: 12px; }
.vehicle-card__title { margin: 0 0 6px; font-size: 16px; }
.vehicle-card__meta { color: var(--text-muted); font-size: 14px; }
.vehicle-card:hover { transform: translateY(-4px) rotateX(.5deg) rotateY(-.5deg); border-color: rgba(58,160,242,.35); }
/* Shine auf Fahrzeugbildern bei Hover */
.vehicle-card__image::after {
    content: "";
    position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.12) 55%, transparent 100%);
}
.vehicle-card:hover .vehicle-card__image::after { animation: sheen 1.2s ease forwards; }
.grid .vehicle-card { animation: fadeUp .8s ease both; }
.grid .vehicle-card:nth-child(1) { animation-delay: .1s; }
.grid .vehicle-card:nth-child(2) { animation-delay: .2s; }
.grid .vehicle-card:nth-child(3) { animation-delay: .3s; }
.grid .vehicle-card:nth-child(4) { animation-delay: .4s; }
.grid .vehicle-card:nth-child(5) { animation-delay: .5s; }
.grid .vehicle-card:nth-child(6) { animation-delay: .6s; }

/* Contact */
.contact {
    background: linear-gradient(180deg, rgba(72,149,239,.12), rgba(76,201,240,.06));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #0b0f14;
    color: var(--text);
    border-radius: 10px;
    padding: 10px 12px;
}
textarea { min-height: 100px; resize: vertical; }

/* Footer */
footer { color: var(--text-muted); border-top: 1px solid var(--border); padding: 18px 0; text-align: center; }
footer { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }

/* Sanfte Fade/Slide-In Animationen */
.hero { animation: fadeUp .8s ease both .05s; }
.features { animation: fadeUp .8s ease both .1s; }
.section { animation: fadeUp .8s ease both .15s; }
footer { animation: fadeUp .8s ease both .2s; }

@keyframes bg-shift {
    0% { transform: translate3d(-2%, -1%, 0) scale(1.03); opacity: .9; }
    50% { transform: translate3d(1%, 2%, 0) scale(1.04); opacity: .95; }
    100% { transform: translate3d(3%, -2%, 0) scale(1.03); opacity: .9; }
}
@keyframes bg-shift-2 {
    0% { transform: translate3d(2%, 1%, 0) scale(1.02); opacity: .8; }
    50% { transform: translate3d(-1%, -2%, 0) scale(1.03); opacity: .9; }
    100% { transform: translate3d(-3%, 1%, 0) scale(1.02); opacity: .8; }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes gradient-pan {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes gradient-pan-slow {
    0% { background-position: 20% 50%; }
    100% { background-position: 80% 50%; }
}
@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes sheen {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}
@keyframes hero-parallax {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* Barrierefreiheit: Animationen reduzieren */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 920px) {
    .hero-inner { grid-template-columns: 1fr; }
    .feature-row { grid-template-columns: 1fr 1fr; }
    .cards { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .nav { flex-wrap: wrap; gap: 10px; }
    .nav-links { width: 100%; justify-content: center; }
    .hero { padding: 48px 0 24px; }
    .feature-row { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
}


