* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 10px;
}

*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --success: #22c55e;
    --danger: #ef4444;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--dark);
    overflow-x: hidden;
    padding-top: 100px;
}

body.has-hero {
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small {
    max-width: 800px;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    position: relative;
    z-index: 1002;
}

.nav-logo img {
    height: 120px;
    margin-top: 10px;
    margin-bottom: -40px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin-left: auto;
}

.nav-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

.hero-fullscreen {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-fullscreen.small {
    height: 50vh;
    min-height: 400px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(240, 245, 255, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--dark);
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
    text-shadow: 0 2px 4px rgba(255,255,255,0.5);
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #374151;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(255,255,255,0.8);
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; top: 10px; }
    50% { opacity: 0.5; top: 30px; }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--white);
}

.features-section {
    padding: 100px 0;
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--dark-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.feature-image {
    height: 200px;
    overflow: hidden;
}

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

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

.feature-content {
    padding: 30px;
}

.feature-content h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
}

.feature-content p {
    color: var(--gray-light);
    line-height: 1.8;
}

.content-section {
    padding: 80px 0;
    background: var(--dark);
}

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

.price-card {
    background: var(--dark-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.price-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.price-header h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
}

.price-details {
    padding: 30px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.price-item .label {
    color: var(--gray-light);
}

.price-item .value {
    font-weight: 600;
    color: var(--white);
}

.status-available {
    color: var(--success) !important;
}

.status-unavailable {
    color: var(--danger) !important;
}

.btn-card {
    display: block;
    margin: 0 30px 30px;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-card:hover {
    background: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.anfahrt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.address-card {
    background: var(--dark-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.address-card h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.address-card p {
    color: var(--gray-light);
    line-height: 2;
    margin-bottom: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    height: 400px;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-card {
    background: var(--dark-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modern-form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 18px 15px 8px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--dark);
    color: var(--white);
    transition: all 0.3s ease;
}

.modern-form label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.modern-form textarea + label {
    top: 18px;
    transform: none;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.modern-form input:focus + label,
.modern-form input:not(:placeholder-shown) + label,
.modern-form textarea:focus + label,
.modern-form textarea:not(:placeholder-shown) + label {
    top: 8px;
    font-size: 0.75rem;
    color: var(--primary);
    transform: none;
}

.captcha-group input {
    max-width: 200px;
}

.btn-submit-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-submit-modern:hover {
    background: var(--primary-dark);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-submit-modern svg {
    transition: transform 0.3s ease;
}

.btn-submit-modern:hover svg {
    transform: translateX(5px);
}

.alert {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-weight: 500;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.legal-card {
    background: var(--dark-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.legal-card h2 {
    color: var(--white);
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    color: var(--light);
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-card p {
    color: var(--gray-light);
    line-height: 1.9;
    margin-bottom: 15px;
}

.modern-footer {
    background: var(--white);
    color: var(--dark);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--gray);
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .anfahrt-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 120px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 30px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 5px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        text-align: right;
    }
    
    .nav-menu a {
        color: var(--dark);
        font-size: 1.1rem;
        padding: 12px 0;
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-fullscreen {
        height: 80vh;
    }
    
    .hero-fullscreen.small {
        height: 40vh;
    }
    
    .modern-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-card {
        padding: 30px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-light);
    color: var(--white);
    padding: 25px;
    z-index: 9999;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    color: var(--gray-light);
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-accept {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gray);
    padding: 14px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
}

.cookie-reject:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Required fields note */
.required-note {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 20px;
    font-style: italic;
}

/* Privacy checkbox */
.privacy-group {
    margin-top: 10px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-wrapper label {
    position: static;
    transform: none;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-light);
    cursor: pointer;
}

.checkbox-wrapper a {
    color: var(--primary);
    text-decoration: underline;
    position: relative;
    z-index: 10;
}

.checkbox-wrapper a:hover {
    color: var(--primary-dark);
}
