@font-face {
    font-family: "Barlow Condensed";
    font-weight: 700;
    font-style: italic;
    font-display: swap;
    src: url("/fonts/barlow-condensed-700-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-weight: 800;
    font-style: italic;
    font-display: swap;
    src: url("/fonts/barlow-condensed-800-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Manrope";
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/manrope-400.woff2") format("woff2");
}
@font-face {
    font-family: "Manrope";
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/manrope-500.woff2") format("woff2");
}
@font-face {
    font-family: "Manrope";
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/manrope-600.woff2") format("woff2");
}

:root {
    --bg: #0b0b0d;
    --surface: #151518;
    --surface-2: #1c1c20;
    --line: #2a2a30;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #ff6a13;
    --accent-soft: rgba(255, 106, 19, 0.14);
    --radius: 18px;
    --head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Manrope", system-ui, -apple-system, sans-serif;
}

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

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

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 90% 420px at 50% -80px, rgba(255, 106, 19, 0.22), transparent 70%),
        var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px;
}

.skip {
    position: absolute;
    left: -9999px;
}
.skip:focus {
    left: 16px;
    top: 16px;
    background: var(--accent);
    color: #000;
    padding: 8px 14px;
    border-radius: 999px;
    z-index: 10;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Kopf */

.hero {
    text-align: center;
    padding: 56px 0 28px;
}

.hero-logo {
    width: 132px;
    height: 132px;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(255, 106, 19, 0.18);
}

.wordmark {
    margin: 0;
    font-family: var(--head);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}
.wordmark span { color: var(--accent); }

.tagline {
    margin: 12px auto 0;
    max-width: 30ch;
    color: var(--muted);
    font-size: 1.02rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.chips li {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}
.chips i { color: var(--accent); margin-right: 6px; }

/* Links */

.links {
    display: grid;
    gap: 12px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.link {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 14px 18px 14px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.link:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--surface-2);
}
.link:active { transform: translateY(0); }

.link-icon {
    flex: 0 0 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.5rem;
    color: #fff;
}
.link-icon.youtube { background: #ff0033; }
.link-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.link-icon.snapchat { background: #fffc00; color: #000; }

.link-text { flex: 1; min-width: 0; }
.link-title {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
}
.link-sub {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}
.link-arrow {
    color: var(--muted);
    transition: color 0.15s ease, transform 0.15s ease;
}
.link:hover .link-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* Abschnitte */

.section { padding: 44px 0 0; }

.section-title {
    margin: 0 0 14px;
    font-family: var(--head);
    font-weight: 700;
    font-style: italic;
    font-size: 1.9rem;
    line-height: 1.1;
    text-transform: uppercase;
}
.section-title span { color: var(--accent); }

.card {
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.card p { margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }

.goal {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 106, 19, 0.35);
}
.goal i { color: var(--accent); font-size: 1.4rem; }
.goal strong { display: block; line-height: 1.3; }
.goal small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }

/* Strecke */

.route {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.route::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 18px;
    bottom: 48px;
    border-left: 2px dashed var(--line);
}

.stop {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 10px 0;
}
.stop-dot {
    position: relative;
    flex: 0 0 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--bg);
    color: var(--muted);
    font-size: 0.85rem;
}
.stop.done .stop-dot {
    border-color: var(--accent);
    background: var(--accent);
    color: #000;
}
.stop.next .stop-dot {
    border-color: var(--accent);
    color: var(--accent);
}
.stop.next .stop-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 0; }
}

.stop-body strong { display: block; line-height: 1.35; padding-top: 4px; }
.stop-body span { color: var(--muted); font-size: 0.9rem; }
.stop.next .stop-body em {
    display: block;
    width: fit-content;
    margin: 4px 0 2px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Fuss */

.footer {
    margin-top: 56px;
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
}
.footer-logo {
    width: 190px;
    margin: 0 auto 14px;
    opacity: 0.85;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer p { margin: 0; }

@media (min-width: 768px) {
    .hero { padding-top: 80px; }
    .hero-logo { width: 150px; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Probefahrten */

.rides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ride {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    aspect-ratio: 3 / 4;
}
.ride img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ride-info {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 14px 12px;
    background: linear-gradient(to top, rgba(11, 11, 13, 0.92), transparent);
}
.ride-no {
    display: block;
    color: var(--accent);
    font-family: var(--head);
    font-weight: 800;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1;
}
.ride-info strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}
.rides-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}
