:root {
    --hero-show-lead-text: 1;
    --hero-image: hero/pexels-cottonbro-6676164.webp;
    --hero-image-brightness: 0.75;
    --hero-height: 45vh;
    --hero-min-height: 450px;
    --hero-align-items: center;
    --hero-bg-size: cover;
    --hero-bg-position-x: center;
    --hero-bg-position-y: 80%;
    --hero-content-margin-bottom: 120px;
    --hero-content-max-width: 800px;
    --hero-content-padding: 0 20px;
    --hero-text-position: top;
    --hero-h1-font-size: 3.5rem;
    --hero-h1-margin-bottom: 1.5rem;
    --hero-h1-font-weight: 700;
    --hero-h1-text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    --hero-p-font-size: 1.2rem;
    --hero-p-margin-bottom: 2rem;
    --hero-p-text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --hero-mobile-height: 45vh;
    --hero-mobile-h1-font-size: 2.2rem;
    --hero-mobile-p-font-size: 1rem;
    --color-primary: #FF5722;
    --color-primary-dark: #E64A19;
    --color-secondary: #607D8B;
    --color-accent: #8BC34A;
    --color-accent-dark: #689F38;
    --color-dark: #263238;
    --color-light: #ECEFF1;
    --color-white: #FFFFFF;
    --color-gray-100: #F5F7FA;
    --color-gray-200: #E4E7EB;
    --color-gray-300: #CBD2D9;
    --color-gray-800: #323F4B;
    --font-family-primary: Poppins, sans-serif;
    --font-family-headings: Montserrat, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    --font-weight-extra-bold: 700;
    --card-border-radius: 12px;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --card-hover-transform: translateY(-5px);
    --card-hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --button-border-radius: 4px;
    --button-padding: 0.5rem 1.5rem;
    --button-animation-speed: 0.3s;
    --button-hover-transform: translateY(-2px);
    --button-hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --section-padding: 4rem 0;
    --content-max-width: 1200px;
    --animation-speed: 0.3s;
    --animation-delay-base: 0.1s;
    --table-header-bg: var(--color-gray-100);
    --table-border-color: var(--color-gray-200);
    --table-hover-bg: var(--color-gray-100);
}

/* Basis-Stile */
body {
    font-family: var(--font-family-primary);
    color: var(--color-dark);
    overflow-x: hidden;
    background-color: var(--color-gray-100);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-bold);
}

/* Card-Stil */
.card {
    border: none;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all var(--animation-speed) ease;
    height: 100%;
}

.card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--card-hover-shadow);
}

/* Button-Stil */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    transition: all var(--animation-speed) ease;
    padding: var(--button-padding);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: var(--button-hover-transform);
    box-shadow: var(--button-hover-shadow);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: var(--font-weight-medium);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: var(--button-hover-transform);
    box-shadow: var(--button-hover-shadow);
}

.btn-animated {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--animation-speed) ease;
}

.btn-animated:hover {
    transform: var(--button-hover-transform);
    box-shadow: var(--button-hover-shadow);
}

/* Badge-Stil */
.badge {
    padding: 0.5rem 0.8rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.3px;
}

/* Tabellen-Stil */
.table th {
    font-weight: var(--font-weight-bold);
    background-color: var(--table-header-bg);
    border-top: none;
    color: var(--color-gray-800);
    padding: 1rem 1.5rem;
}

.table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-color: var(--table-border-color);
}

.table tr:hover {
    background-color: var(--table-hover-bg);
}

/* Section-Stil */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 1.2rem 1.5rem;
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
}

.section-header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--color-white);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    border-radius: 3px;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: var(--hero-height, 45vh);
    min-height: var(--hero-min-height, 450px);
    display: flex;
    align-items: var(--hero-align-items, center);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../storage/hero/pexels-cottonbro-6676164.webp');
    background-size: var(--hero-bg-size, cover);
    background-position: var(--hero-bg-position-x, center) var(--hero-bg-position-y, 80%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    text-align: center;
    max-width: var(--hero-content-max-width, 800px);
    margin: 0 auto;
    padding: var(--hero-content-padding, 0 20px);
    margin-bottom: var(--hero-content-margin-bottom, 200px);
}

.hero-content h1 {
    font-size: var(--hero-h1-font-size, 3.5rem);
    margin-bottom: var(--hero-h1-margin-bottom, 1.5rem);
    font-weight: var(--hero-h1-font-weight, 700);
    text-shadow: var(--hero-h1-text-shadow, 0 2px 10px rgba(0, 0, 0, 0.5));
    animation: fadeInDown 1.2s ease;
}

.hero-content p {
    font-size: var(--hero-p-font-size, 1.2rem);
    margin-bottom: var(--hero-p-margin-bottom, 2rem);
    text-shadow: var(--hero-p-text-shadow, 0 2px 8px rgba(0, 0, 0, 0.5));
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    animation: fadeIn 1.5s ease;
}

/* Stats Section */
.stats-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stat-card {
    border-radius: var(--card-border-radius, 15px);
    overflow: hidden;
    transition: all var(--animation-speed, 0.3s) ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-card .card-body {
    padding: 2rem 1.5rem;
}

.stat-card h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Featured route styles */
.feature-card {
    background-color: var(--color-white);
    border-radius: var(--card-border-radius, 12px);
    overflow: hidden;
    transition: all var(--animation-speed, 0.3s) ease;
    margin-bottom: 30px;
    padding: 0;
    position: relative;
}

.feature-card .feature-img {
    height: 250px;
    overflow: hidden;
}

.feature-card .feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-img img {
    transform: scale(1.1);
}

.feature-card .feature-content {
    padding: 1.5rem;
}

.feature-card .feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Animation-Klassen */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Route difficulty */
.route-difficulty {
    position: relative;
    display: inline-block;
}

.route-difficulty .badge {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transition: all 0.3s ease;
}

.route-difficulty:hover .badge {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.route-difficulty .tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 200px;
    text-align: center;
    margin-bottom: 10px;
    pointer-events: none;
    z-index: 9999;
}

.route-difficulty .tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--color-dark) transparent transparent transparent;
}

.route-difficulty:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* Responsive-Stile für Hero-Bereich */
@media (max-width: 768px) {
    .hero-section {
        height: var(--hero-mobile-height, 45vh);
    }
    
    .hero-content h1 {
        font-size: var(--hero-mobile-h1-font-size, 2.2rem);
    }
    
    .hero-content p {
        font-size: var(--hero-mobile-p-font-size, 1rem);
    }
    
    .stat-card h2 {
        font-size: 2.5rem;
    }
    
    .stats-section {
        margin-top: -30px;
    }
}