/* ============================================================
   FF Logistics - Landingpage
   Brand: FF-Rot #E5472A | Gold #FFD700
   Stil:  Liquid Glass / Glassmorphism + moderne Akzente
   ============================================================ */

:root {
    --ff-red: #E5472A;
    --ff-red-dark: #b8381f;
    --ff-red-light: #ff6044;
    --ff-gold: #FFD700;
}

/* Smooth Scroll Offset fuer fixed Header */
section[id] {
    scroll-margin-top: 6rem;
}

/* ============================================================
   NAVIGATION - Liquid Glass
   ============================================================ */
.glass-nav {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dark .glass-nav {
    background: rgba(20, 20, 25, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#mainHeader.scrolled .glass-nav {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.dark #mainHeader.scrolled .glass-nav {
    background: rgba(15, 15, 20, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgb(51, 65, 85);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.dark .nav-link {
    color: rgb(203, 213, 225);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.25rem;
    width: 0;
    height: 2px;
    background: var(--ff-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--ff-red);
    background: rgba(229, 71, 42, 0.06);
}

.nav-link:hover::after {
    width: 1.25rem;
}

.nav-link-mobile {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    color: rgb(51, 65, 85);
    transition: all 0.2s ease;
}

.dark .nav-link-mobile {
    color: rgb(203, 213, 225);
}

.nav-link-mobile:hover {
    background: rgba(229, 71, 42, 0.1);
    color: var(--ff-red);
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgb(51, 65, 85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgb(203, 213, 225);
}

.theme-toggle-btn:hover {
    background: rgba(229, 71, 42, 0.15);
    color: var(--ff-red);
    transform: rotate(15deg);
}

/* ============================================================
   HERO PILL & GLASS PHONE
   ============================================================ */
.glass-pill {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.dark .glass-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-phone {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(229, 71, 42, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.dark .glass-phone {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.875rem;
    transition: all 0.3s ease;
}

.glass-card-mini:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(4px);
}

.glass-badge {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.dark .glass-badge {
    background: rgba(30, 30, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================================
   CTAs
   ============================================================ */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-dark));
    color: white;
    font-weight: 600;
    border-radius: 0.875rem;
    box-shadow: 0 12px 28px rgba(229, 71, 42, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ff-red-light), var(--ff-red));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(229, 71, 42, 0.55);
}

.cta-primary:hover::before {
    opacity: 1;
}

.cta-primary > * {
    position: relative;
    z-index: 1;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    color: rgb(30, 41, 59);
    font-weight: 600;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
}

.dark .cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--ff-red);
    color: var(--ff-red);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   ABOUT CARDS
   ============================================================ */
.about-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dark .about-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ff-red), var(--ff-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(229, 71, 42, 0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(229, 71, 42, 0.15), rgba(255, 215, 0, 0.15));
    color: var(--ff-red);
    box-shadow: inset 0 0 0 1px rgba(229, 71, 42, 0.2);
}

/* ============================================================
   FEATURE CARDS - Liquid Glass mit Hover Glow
   ============================================================ */
.feature-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    isolation: isolate;
}

.dark .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
                                rgba(229, 71, 42, 0.18),
                                transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 71, 42, 0.3);
    box-shadow: 0 20px 40px rgba(229, 71, 42, 0.18);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-light));
    color: white;
    box-shadow: 0 10px 24px rgba(229, 71, 42, 0.35);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.08) rotate(-4deg);
}

.feature-card h3 {
    color: rgb(15, 23, 42);
    margin-bottom: 0.5rem;
}

.dark .feature-card h3 {
    color: white;
}

.feature-card p {
    color: rgb(71, 85, 105);
    line-height: 1.6;
    font-size: 0.95rem;
}

.dark .feature-card p {
    color: rgb(148, 163, 184);
}

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-card {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
    transition: all 0.3s ease;
    cursor: default;
}

.dark .tech-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--ff-red);
    box-shadow: 0 16px 30px rgba(229, 71, 42, 0.2);
}

.tech-emoji {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
}

.tech-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgb(51, 65, 85);
}

.dark .tech-label {
    color: rgb(203, 213, 225);
}

/* ============================================================
   PREVIEW SECTION
   ============================================================ */
.preview-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.dark .preview-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-step:hover {
    transform: translateX(8px);
    border-color: var(--ff-red);
}

.preview-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-dark));
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(229, 71, 42, 0.35);
}

.glass-showcase {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dark .glass-showcase {
    background: rgba(20, 20, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
    position: relative;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    box-shadow: 0 30px 60px rgba(229, 71, 42, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.dark .contact-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(229, 71, 42, 0.15), transparent 70%);
    pointer-events: none;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.15), transparent 70%);
    pointer-events: none;
}

.contact-mail-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-dark));
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(229, 71, 42, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    max-width: 100%;
}

.contact-mail-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
                                transparent 30%,
                                rgba(255, 255, 255, 0.25) 50%,
                                transparent 70%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    border-radius: inherit;
    pointer-events: none;
}

.contact-mail-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 24px 50px rgba(229, 71, 42, 0.6);
}

.contact-mail-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    color: rgb(71, 85, 105);
    font-weight: 500;
}

.dark .contact-mini {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgb(203, 213, 225);
}

/* ============================================================
   COUNTER & ANIMATIONS
   ============================================================ */
.counter {
    display: inline-block;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selektion */
::selection {
    background: var(--ff-red);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(229, 71, 42, 0.4);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ff-red);
    background-clip: padding-box;
    border: 2px solid transparent;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Anpassungen */
@media (max-width: 640px) {
    .contact-mail-btn {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem;
    }

    .contact-card {
        padding: 2rem 1.25rem;
    }
}

/* ============================================================
   ACTIVE NAV-LINK
   ============================================================ */
.nav-link-active {
    color: var(--ff-red) !important;
    background: rgba(229, 71, 42, 0.08);
}

.nav-link-active::after {
    width: 1.5rem !important;
}

.nav-link-mobile-active {
    background: rgba(229, 71, 42, 0.12);
    color: var(--ff-red) !important;
}

/* ============================================================
   USP STRIP (Index)
   ============================================================ */
.usp-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.dark .usp-strip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.usp-item svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(229, 71, 42, 0.15), rgba(255, 215, 0, 0.15));
    border-radius: 0.5rem;
    box-sizing: content-box;
}

/* ============================================================
   INFO PILL (App-Page)
   ============================================================ */
.info-pill {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.dark .info-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-pill:hover {
    transform: translateY(-2px);
    border-color: var(--ff-red);
}

/* ============================================================
   WORKFLOW CARD (App-Page)
   ============================================================ */
.workflow-card {
    position: relative;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.dark .workflow-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 71, 42, 0.3);
    box-shadow: 0 16px 32px rgba(229, 71, 42, 0.15);
}

.workflow-num {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* ============================================================
   USECASE CARD (App-Page)
   ============================================================ */
.usecase-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.dark .usecase-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.usecase-card:hover {
    transform: translateX(6px);
    border-color: rgba(229, 71, 42, 0.3);
    box-shadow: 0 16px 32px rgba(229, 71, 42, 0.1);
}

.usecase-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(229, 71, 42, 0.3);
}

@media (max-width: 640px) {
    .usecase-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    .usecase-icon {
        width: 56px;
        height: 56px;
    }
}

/* ============================================================
   COMPARE CARDS (Features-Page)
   ============================================================ */
.compare-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(16px);
    border: 1px solid;
}

.compare-before {
    background: rgba(248, 250, 252, 0.6);
    border-color: rgba(203, 213, 225, 0.6);
}

.dark .compare-before {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.compare-after {
    background: linear-gradient(145deg, rgba(229, 71, 42, 0.08), rgba(255, 215, 0, 0.05));
    border-color: rgba(229, 71, 42, 0.3);
    box-shadow: 0 16px 32px rgba(229, 71, 42, 0.12);
}

.compare-label {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(148, 163, 184, 0.2);
    color: rgb(71, 85, 105);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0.5rem;
}

.dark .compare-label {
    background: rgba(148, 163, 184, 0.1);
    color: rgb(148, 163, 184);
}

.compare-label-after {
    background: var(--ff-red);
    color: white;
}

.compare-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgb(71, 85, 105);
    line-height: 1.5;
}

.dark .compare-item {
    color: rgb(203, 213, 225);
}

.compare-item::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.compare-item-x::before {
    background-color: rgba(148, 163, 184, 0.25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='6' y1='18' x2='18' y2='6'/%3E%3C/svg%3E");
}

.compare-item-check::before {
    background-color: rgba(229, 71, 42, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E5472A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.compare-after .compare-item {
    color: rgb(15, 23, 42);
    font-weight: 500;
}

.dark .compare-after .compare-item {
    color: rgb(241, 245, 249);
}

/* ============================================================
   TECH DETAIL CARDS (Tech-Page)
   ============================================================ */
.tech-detail {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.dark .tech-detail {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-detail:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 71, 42, 0.3);
    box-shadow: 0 20px 36px rgba(229, 71, 42, 0.15);
}

.tech-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tech-detail-emoji {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(229, 71, 42, 0.15), rgba(255, 215, 0, 0.15));
    border: 1px solid rgba(229, 71, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    background-clip: padding-box;
    color: var(--ff-red);
}

/* ============================================================
   ARCHITECTURE DIAGRAM (Tech-Page)
   ============================================================ */
.arch-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.dark .arch-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.arch-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .arch-row {
        flex-direction: row;
        align-items: center;
    }
}

.arch-block {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    border-radius: 1.25rem;
    color: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.arch-mobile {
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-light));
}

.arch-api {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.arch-db {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.arch-block-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.arch-block-tech {
    font-size: 0.85rem;
    opacity: 0.85;
}

.arch-arrow {
    text-align: center;
    color: var(--ff-red);
    font-size: 1.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .arch-arrow {
        transform: rotate(-90deg);
    }
}

.arch-aux {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.875rem;
    text-align: center;
}

.dark .arch-aux {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   SECURITY CARD (Tech-Page)
   ============================================================ */
.security-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.dark .security-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.security-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 71, 42, 0.3);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dark .contact-form {
    background: rgba(20, 20, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
    .contact-form {
        padding: 1.75rem 1.25rem;
        border-radius: 1.5rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(30, 41, 59);
}

.dark .form-label {
    color: rgb(226, 232, 240);
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: rgb(15, 23, 42);
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(203, 213, 225, 0.6);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    outline: none;
}

.dark .form-input {
    color: rgb(241, 245, 249);
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgb(148, 163, 184);
}

.form-input:hover {
    border-color: rgba(229, 71, 42, 0.4);
}

.form-input:focus {
    border-color: var(--ff-red);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(229, 71, 42, 0.12);
}

.dark .form-input:focus {
    background: rgba(255, 255, 255, 0.06);
}

.form-input-error {
    border-color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.04) !important;
}

.form-input-error:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15) !important;
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
    font-family: inherit;
}

.form-error {
    min-height: 1.1rem;
    font-size: 0.8rem;
    color: #dc2626;
    font-weight: 500;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.form-checkbox:hover {
    background: rgba(229, 71, 42, 0.04);
}

.form-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-checkbox-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border: 2px solid rgba(148, 163, 184, 0.6);
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    transition: all 0.2s ease;
}

.dark .form-checkbox-box {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-checkbox input:checked + .form-checkbox-box {
    background: var(--ff-red);
    border-color: var(--ff-red);
}

.form-checkbox input:checked + .form-checkbox-box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.form-checkbox input:focus-visible + .form-checkbox-box {
    box-shadow: 0 0 0 4px rgba(229, 71, 42, 0.2);
}

/* Honeypot - versteckt aber nicht display:none (manche Bots erkennen das) */
.hp-field {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-submit {
    position: relative;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-dark));
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 0.875rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(229, 71, 42, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    font-size: 1rem;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
                                transparent 30%,
                                rgba(255, 255, 255, 0.25) 50%,
                                transparent 70%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(229, 71, 42, 0.55);
}

.form-submit:active:not(:disabled) {
    transform: translateY(0);
}

.form-submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   CONTACT INFO BOXES
   ============================================================ */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.dark .info-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-box:hover {
    transform: translateX(4px);
    border-color: rgba(229, 71, 42, 0.3);
}

.info-box-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(229, 71, 42, 0.3);
}

.info-tip {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 0.875rem;
}

.dark .info-tip {
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.875rem;
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    max-width: 380px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    color: #047857;
}

.dark .toast-success {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
}

.toast-error {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.4);
    color: #b91c1c;
}

.dark .toast-error {
    background: rgba(220, 38, 38, 0.18);
    color: #fca5a5;
}

@media (max-width: 640px) {
    #toast-container {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
    }
    .toast {
        max-width: 100%;
    }
}

/* ============================================================
   HERO PHONE: Hauptmenü-Tiles im Mockup
   ============================================================ */
.app-menu-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    background: #707176;
    color: white;
    border-radius: 1rem;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    animation: tile-in 0.5s ease forwards;
}

@keyframes tile-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PHONE MOCKUP - Skalierbar / Reusable
   ============================================================ */
.phone-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-red-light), var(--ff-gold));
    border-radius: 3rem;
    filter: blur(48px);
    opacity: 0.3;
    transform: scale(0.9);
    z-index: -1;
}

.phone-mockup-inner {
    position: relative;
    width: 18rem;
    aspect-ratio: 9 / 19;
    border-radius: 2.75rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(229, 71, 42, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    padding: 0.75rem;
}

.dark .phone-mockup-inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
    .phone-mockup-inner {
        width: 20rem;
    }
}

.phone-notch {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 999px;
    z-index: 20;
}

.app-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 2.25rem;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ----- App Header (rote Bar) ----- */
.app-header {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3.75rem;
    background: var(--ff-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.app-body {
    position: absolute;
    inset: 0;
    padding-top: 4.25rem;
    padding-inline: 0.6rem;
    padding-bottom: 0.6rem;
    overflow: hidden;
}

/* ----- Body Variant: Hauptmenü (Großkacheln) ----- */
.app-body-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-tile {
    flex: 1;
    background: #707176;
    color: white;
    border-radius: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.menu-tile:hover {
    transform: scale(1.02);
}

/* ----- Body Variant: Liste (Fahrzeuge, Meldungen) ----- */
.app-body-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: hidden;
}

/* Fahrzeug-Karten */
.vehicle-card {
    background: #707176;
    border-radius: 0.875rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vehicle-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.vehicle-img-label {
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    color: rgba(229, 71, 42, 0.9);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.vehicle-name {
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    padding-bottom: 0.2rem;
}

/* ----- Body Variant: Form ----- */
.app-body-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.form-row-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #444;
}

.form-row-input {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.7rem;
    color: #222;
    min-height: 1.65rem;
}

.form-row-textarea {
    min-height: 2.5rem;
    line-height: 1.3;
}

/* Radio Pills */
.radio-pill {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #444;
}

.radio-dot {
    width: 0.85rem;
    height: 0.85rem;
    border: 1.5px solid #888;
    border-radius: 50%;
    background: white;
    position: relative;
}

.radio-dot-active {
    border-color: var(--ff-red);
}

.radio-dot-active::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--ff-red);
}

.form-submit-btn {
    background: var(--ff-red);
    color: white;
    text-align: center;
    border: none;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.6rem;
    margin-top: 0.4rem;
    box-shadow: 0 4px 10px rgba(229, 71, 42, 0.3);
    cursor: default;
}

.form-submit-btn-outline {
    background: white;
    color: var(--ff-red);
    border: 1.5px solid var(--ff-red);
    box-shadow: none;
}

/* Statistik-Box (Alle Meldungen) */
.stats-box {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 0.7rem;
    padding: 0.5rem;
}

.stats-box-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.4rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
}

.stat-cell {
    border-radius: 0.5rem;
    padding: 0.3rem;
    text-align: center;
}

.stat-num {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.5rem;
    margin-top: 0.15rem;
    font-weight: 600;
}

.stat-blue   { background: #d6ecfa; color: #1565c0; }
.stat-red    { background: #fadcd9; color: #c62828; }
.stat-yellow { background: #fdebc8; color: #b06d10; }
.stat-green  { background: #d6efd9; color: #2e7d32; }

/* Meldungs-Karten */
.report-card {
    background: white;
    border: 1px solid #ececec;
    border-radius: 0.7rem;
    padding: 0.55rem 0.6rem;
}

.report-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.report-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #222;
}

.report-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    color: white;
    white-space: nowrap;
}

.report-badge-red    { background: var(--ff-red); }
.report-badge-yellow { background: #d4972a; }
.report-badge-green  { background: #2e7d32; }

.report-line {
    font-size: 0.55rem;
    color: #555;
    line-height: 1.4;
}

/* ============================================================
   APP-PAGE: Step-Numbers, Tags, Chips
   ============================================================ */
.screen-step-num {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--ff-red), var(--ff-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.screen-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    font-weight: 600;
    color: rgb(30, 41, 59);
}

.dark .screen-tag {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgb(226, 232, 240);
}

.info-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    background: rgba(229, 71, 42, 0.1);
    color: var(--ff-red);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(229, 71, 42, 0.2);
}

/* Status-Chips (App-Page Status-Übersicht) */
.status-chip {
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: 0.7rem;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid;
}

.status-chip-blue   { background: rgba(21, 101, 192, 0.1);  border-color: rgba(21, 101, 192, 0.3);  color: #1565c0; }
.status-chip-red    { background: rgba(198, 40, 40, 0.1);   border-color: rgba(198, 40, 40, 0.3);   color: #c62828; }
.status-chip-yellow { background: rgba(176, 109, 16, 0.1);  border-color: rgba(176, 109, 16, 0.3);  color: #b06d10; }
.status-chip-green  { background: rgba(46, 125, 50, 0.1);   border-color: rgba(46, 125, 50, 0.3);   color: #2e7d32; }

.dark .status-chip-blue   { background: rgba(66, 165, 245, 0.15);  color: #90caf9; }
.dark .status-chip-red    { background: rgba(239, 83, 80, 0.15);   color: #ef9a9a; }
.dark .status-chip-yellow { background: rgba(255, 167, 38, 0.15);  color: #ffcc80; }
.dark .status-chip-green  { background: rgba(102, 187, 106, 0.15); color: #a5d6a7; }

/* ============================================================
   DEMO-PAGE (/demo) - Rollen-Karten
   ============================================================ */
.role-card {
    display: block;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark .role-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ff-red), var(--ff-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.role-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(229, 71, 42, 0.18);
    border-color: rgba(229, 71, 42, 0.3);
}

.role-card:hover::before {
    transform: scaleX(1);
}

.role-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.role-badge {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.role-badge-admin       { background: linear-gradient(135deg, #b8381f, #8a2a16); }
.role-badge-kommandant  { background: linear-gradient(135deg, #d4972a, #a3711d); }
.role-badge-geraetewart { background: linear-gradient(135deg, #1976d2, #115293); }
.role-badge-mitglied    { background: linear-gradient(135deg, #388e3c, #256429); }

.role-title h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(15, 23, 42);
    margin: 0;
    line-height: 1.1;
}

.dark .role-title h3 {
    color: white;
}

.role-login {
    display: inline-block;
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85rem;
    color: var(--ff-red);
    background: rgba(229, 71, 42, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.role-desc {
    color: rgb(71, 85, 105);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.dark .role-desc {
    color: rgb(148, 163, 184);
}

.role-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.role-features span {
    font-size: 0.8rem;
    color: rgb(51, 65, 85);
    background: rgba(229, 71, 42, 0.06);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.dark .role-features span {
    color: rgb(203, 213, 225);
    background: rgba(255, 255, 255, 0.04);
}

.role-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ff-red);
    font-weight: 700;
    font-size: 0.9rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(229, 71, 42, 0.15);
    width: 100%;
}

.role-card:hover .role-cta {
    gap: 0.75rem;
}

/* Demo-Page Info-Box */
.info-card {
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.dark .info-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: rgb(51, 65, 85);
}

.dark .info-list {
    color: rgb(203, 213, 225);
}

.info-list li {
    position: relative;
    padding-left: 2rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: rgba(229, 71, 42, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E5472A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}

@media (max-width: 640px) {
    .info-card {
        padding: 1.5rem;
    }
    .role-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   LEGAL / DATENSCHUTZ-SEITE
   ============================================================ */
.legal-card {
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    color: rgb(51, 65, 85);
    line-height: 1.7;
}

.dark .legal-card {
    background: rgba(20, 20, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgb(203, 213, 225);
}

@media (max-width: 640px) {
    .legal-card {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }
}

.legal-card p {
    margin: 0.75rem 0;
}

.legal-card a {
    color: var(--ff-red);
    font-weight: 500;
}

.legal-card a:hover {
    text-decoration: underline;
}

.legal-meta {
    font-size: 0.85rem;
    color: rgb(100, 116, 139);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .legal-meta {
    color: rgb(148, 163, 184);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.legal-h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: rgb(15, 23, 42);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--ff-red);
    display: inline-block;
}

.dark .legal-h2 {
    color: white;
}

.legal-h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: rgb(30, 41, 59);
    margin: 1.5rem 0 0.5rem;
}

.dark .legal-h3 {
    color: rgb(226, 232, 240);
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--ff-red);
}

.legal-box {
    background: rgba(229, 71, 42, 0.05);
    border-left: 4px solid var(--ff-red);
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    line-height: 1.7;
}

.dark .legal-box {
    background: rgba(229, 71, 42, 0.08);
}

.legal-hr {
    margin: 2.5rem 0 1.5rem;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .legal-hr {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.legal-footer {
    font-size: 0.875rem;
    color: rgb(100, 116, 139);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    line-height: 1.6;
}

.dark .legal-footer {
    color: rgb(148, 163, 184);
    background: rgba(255, 215, 0, 0.05);
}
