/* Grundlegendes Design & Farben */
:root {
    --primary-color: #2E64FE;
    --secondary-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 140px;
    line-height: 1.6;
    color: var(--secondary-color);
    overflow-x: hidden;
}

img {
    max-width: 120px;
    display: block;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    margin: 0px 30px 0px 10px;
}

header {
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 180px;
    width: auto;
}

.nav-menu {
    display: block;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.nav-menu ul li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu (Desktop) */
.nav-menu .dropdown {
    position: relative;
}

.dropdown-toggle .arrow {
    font-size: 0.8em;
    margin-left: 3px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0 !important;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.dropdown-menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #1f2937 !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #f3f4f6;
    color: #2e64fe !important; 
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    width: 46px;
    height: 46px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.menu-toggle .bar {
    width: 26px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open .bar1 {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open .bar2 {
    opacity: 0;
}

.menu-toggle.open .bar3 {
    transform: translateY(-8px) rotate(-45deg);
}


.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 15px; 
    padding-left: 15px;
    border-left: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-active {
    color: var(--primary-color, #2b6cb0); 
    cursor: default;
}

.lang-link {
    color: #718096;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lang-link:hover {
    color: var(--primary-color, #2b6cb0);
}

.lang-divider {
    color: #cbd5e0;
}

.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1517649763962-0c623066013b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    height: clamp(420px, 60vh, 680px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 24px 0;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 20px;
}

.btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    border: 2px solid var(--white);
    transition: 0.3s;
    display: inline-block;
}

.btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

.about {
    padding: 50px 0;
    text-align: center;
    background: var(--white);
}

.about h2 {
    color: var(--primary-color);
}

.services {
    padding: 50px 0;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

.service-card h3 {
    margin-top: 0;
}

.contact {
    padding: 50px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-left {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.contact-left h3 {
    margin-top: 0;
}

.contact-description {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    border-radius: 12px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.contact-form span {
    color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    padding: 12px 14px;
    font: inherit;
    color: var(--secondary-color);
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(46, 100, 254, 0.22);
    border-color: var(--primary-color);
}

.form-btn {
    width: fit-content;
    border: none;
    cursor: pointer;
}

.site-footer {
    background-color: #1a1d20;
    color: #a0aec0;
    padding-top: 60px;
    padding-bottom: 30px;
    margin-top: 60px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-address p {
    margin: 0;
}

.site-footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.opening-hours {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #2d3748;
    padding-bottom: 6px;
}

.opening-hours .closed {
    color: #e53e3e;
    font-weight: 500;
}

.hours-note {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 15px;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #718096;
}

.footer-bottom p {
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../img/fahrradbild.avif') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.9;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.intro-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary-color);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Gallery */
.slideshow-container {
    max-width: 850px;
    position: relative;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: #000;
}

.mySlides {
    display: none;
    position: relative;
}

.mySlides img {
    width: 100%;
    max-width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 12px 20px;
    font-size: 0.95rem;
    text-align: center;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(0,0,0,0.4);
    border: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: var(--primary-color);
}

.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from { opacity: 0.4 } 
    to { opacity: 1 }
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.step-card {
    background: var(--light-bg);
    padding: 25px 20px;
    border-radius: 10px;
    position: relative;
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.8;
    margin-bottom: 10px;
}

.step-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
}

.cta-box {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(46, 100, 254, 0.1);
}

.cta-box h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cta-box p {
    margin-bottom: 20px;
}
.booking-widget-wrapper {
    width: 100%;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    margin-top: 15px;
}

.booking-widget-wrapper iframe {
    width: 100% !important;
    min-width: 100% !important;
    border: none;
    display: block;
}

.pricing-section {
            padding: 60px 20px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .pricing-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .pricing-header h1 {
            font-size: 2.5rem;
            color: var(--primary-color, #2c3e50);
            margin-bottom: 10px;
        }

        .rate-card {
            background: linear-gradient(135deg, #f4f4f4, #f4f4f4);
            color: #ffffff;
            padding: 20px 25px;
            border-radius: 12px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
            box-shadow: 0 4px 15px #f4f4f4;
        }

        .rate-item {
            text-align: center;
        }

        .rate-item span {
            display: block;
            font-size: 0.9rem;
            opacity: 0.85;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color:#2c3e50;
            font-weight: bold;
        }

        .rate-item strong {
            font-size: 1.4rem;
            color: #2c3e50;
        }

        .price-category {
            background: #ffffff;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px #f4f4f4;
            border: 1px solid #eef2f5;
        }

        .price-category summary {
            font-size: 1.4rem;
            font-weight: bold;
            color: #2c3e50;
            cursor: default;
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .price-category summary::-webkit-details-marker {
            display: none;
        }

        .price-category h2 {
            font-size: 1.4rem;
            color: #2c3e50;
            margin: 0 0 20px 0;
            padding-bottom: 10px;
            border-bottom: 2px solid #3498db;
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
        }

        .surcharge-card h2 {
            border-bottom-color: #e67e22;
        }

        .accordion-icon {
            display: none;
            font-size: 1rem;
            transition: transform 0.3s ease;
        }

        .price-table {
            width: 100%;
            border-collapse: collapse;
        }

        .price-table tr {
            border-bottom: 1px solid #f0f3f6;
            transition: background-color 0.2s ease;
        }

        .price-table tr:last-child {
            border-bottom: none;
        }

        .price-table tr:hover {
            background-color: #f8fafc;
        }

        .price-table td {
            padding: 14px 8px;
            vertical-align: middle;
        }

        .service-title {
            font-weight: 600;
            color: #2c3e50;
            font-size: 1.05rem;
        }

        .price-value {
            text-align: right;
            font-weight: 700;
            color: #2980b9;
            font-size: 1.1rem;
            white-space: nowrap;
        }

        .surcharge-card {
            background-color: #fff9f0;
            border: 1px solid #ffe8cc;
        }

        .price-notice-box {
            margin-top: 30px;
            padding: 15px 20px;
            background-color: #f8f9fa;
            border-left: 4px solid #3498db;
            border-radius: 0 8px 8px 0;
            font-size: 0.95rem;
            color: #666;
            line-height: 1.6;
        }

/* Responsive Design */
@media (max-width: 1024px) {
    .services-wrapper {
        position: relative;
        padding-bottom: 10px;
    }

    .services-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 calc(33.333% - 10px);
        min-width: 220px;
        scroll-snap-align: start;
    }

    .bike-track {
        width: min(280px, 80%); 
        height: 2px;
        background-color: rgba(46, 100, 254, 0.2);
        margin: 15px auto 0 auto;
        position: relative;
    }

    .bike-runner {
        width: 26px;
        height: 26px;
        background-image: url('../img/bike-icon.png'); 
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        
        position: absolute;
        top: -23px; 
        left: 0;
        will-change: transform;
        transition: transform 0.05s linear;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smartphones (768px) */
@media (max-width: 768px) {
    body {
        padding-top: 86px;
    }

    .container {
        width: min(100%, calc(100% - 24px));
    }

    header {
        padding: 8px 0;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .logo img {
        max-height: 72px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: var(--white);
        border: 1px solid rgba(46, 100, 254, 0.15);
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        padding: 12px;
        display: none;
    }

    .nav-menu.open {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 6px;
    }

    .nav-menu ul li {
        width: 100%;
        text-align: left;
    }

    .nav-menu a {
        display: block;
        font-size: 1rem;
        padding: 8px 6px;
    }

    .nav-menu .dropdown-menu {
        display: none !important; 
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f4f5f7 !important;
        border-left: 3px solid var(--primary-color) !important;
        border-radius: 0 8px 8px 0 !important;
        padding: 6px 0 !important;
        margin: 6px 0 6px 12px !important;
    }

    .nav-menu .dropdown.active .dropdown-menu {
        display: block !important;
    }

    .nav-menu .dropdown.active .dropdown-toggle .arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        padding: 8px 12px !important;
        font-size: 0.95rem !important;
    }

    .hero {
        min-height: 420px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .service-card {
        flex: 0 0 85vw;
        min-width: 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-frame,
    .contact-map {
        min-height: 320px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-left {
        padding: 18px;
    }

    .form-btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .mySlides img {
        height: 320px;
    }
    
    .section-padding {
        padding: 40px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        padding: 0;
        gap: 20px;
    }

    .contact-left {
        padding: 0 5px; 
    }

    .booking-widget-wrapper {
        border-radius: 8px;
        box-shadow: none;
        border: 1px solid #eee;
    }

    .booking-widget-wrapper iframe {
        height: 520px !important; 
    }

    .rate-card {
                flex-direction: column;
                align-items: flex-start;
            }
            .rate-item {
                text-align: left;
            }
            .pricing-header h1 {
                font-size: 2rem;
            }

            .price-category {
                padding: 15px 20px;
            }

            .price-category summary {
                cursor: pointer;
            }

            .price-category h2 {
                margin-bottom: 0;
                border-bottom: none;
                padding-bottom: 0;
            }

            .accordion-icon {
                display: inline-block;
            }

            .price-category[open] .accordion-icon {
                transform: rotate(180deg);
            }

            .price-category[open] h2 {
                margin-bottom: 15px;
                padding-bottom: 10px;
                border-bottom: 2px solid #3498db;
            }

            .surcharge-card[open] h2 {
                border-bottom-color: #e67e22;
            }

            .price-table td {
                padding: 12px 4px;
                font-size: 0.95rem;
            }

            .service-title {
                font-size: 0.95rem;
                padding-right: 10px;
            }

            .price-value {
                font-size: 1rem;
            }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .services {
        padding: 40px 0;
    }

    .service-card {
        padding: 18px;
    }
}