/* ===== VARIABLEN FÜR IHRE NEUEN FARBEN ===== */
:root {
    /* Primärfarben - Ihre neuen Farben */
    --primary-color: #046f87;
    --primary-light: #22dff8;
    --primary-dark: #035a6e;
    --accent-color: #fcbe7e;
    --accent-light: #ffd8b5;
    --secondary-color: #916e62;
    --secondary-light: #d5bda9;
    --neutral-dark: #542c44;
    
    /* Farbverläufe */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --hero-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    
    /* Neutralfarben */
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --background: #ffffff;
    --card-bg: #ffffff;
    
    /* Schriftarten */
    --font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Inter', 'Segoe UI', system-ui, sans-serif;
    
    /* Abstände */
    --section-padding: 6rem 0;
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    
    /* Schatten */
    --shadow: 0 4px 6px -1px rgba(4, 111, 135, 0.1), 0 2px 4px -1px rgba(4, 111, 135, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(4, 111, 135, 0.1), 0 4px 6px -2px rgba(4, 111, 135, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(4, 111, 135, 0.1), 0 10px 10px -5px rgba(4, 111, 135, 0.04);
    
    /* Animationen */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASIS-STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== VERBESSERTE SCHRÄGE SECTION ÜBERGÄNGE - LEICHTER ===== */

/* Hero Section mit leichtem schrägem Übergang nach unten */
.hero {
    padding: 10rem 0 8rem;
    background: var(--hero-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/*.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--light-color);
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
} */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 111, 135, 0.3);
    z-index: 2;
}

/* Services Section mit leichten schrägen Kanten */
.services {
    padding: 6rem 0 8rem;
    background-color: var(--light-color);
    position: relative;
    margin-top: -2px;
    z-index: 1;
}

/*.services::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--light-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
} */

/* .services::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, var(--light-color) 65%, transparent 65%);
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 100%);
    z-index: 2;
} */

/* Contact Section mit leichten schrägen Kanten */
.contact {
    padding: 8rem 0 6rem;
    background: var(--primary-gradient);
    color: var(--white);
    position: relative;
    margin-top: -2px;
    z-index: 1;
}

/* .contact::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--primary-gradient);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
} */

/* Footer mit leichter schräger Kante */
.footer {
    background: var(--neutral-dark);
    color: var(--white);
    padding: 8rem 0 2rem;
    position: relative;
    margin-top: -2px;
    z-index: 0;
}

/* .footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--neutral-dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
} */

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
}

.section-title {
    margin-bottom: 1.5rem;
    position: relative;
}

.section-text {
    font-size: 1.125rem;
    color: var(--gray-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent-color);
}

.nav-logo i {
    color: var(--accent-color);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent-light);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-image .image-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition-slow);
}

.service-card:hover .service-image .image-placeholder {
    transform: scale(1.05);
}

.service-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.service-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-features {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    flex: 1;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-color);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

.service-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

a.offer {
    color: rgba(105, 105, 105, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

a.offer:hover {
    color: var(--accent-light);
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-header {
    text-align: left;
    margin: 0 0 3rem 0;
}

.contact-info .section-title,
.contact-info .section-text {
    color: var(--white);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ===== RESPONSIVE CONTACT TEXT ANPASSUNGEN ===== */
@media (max-width: 991px) {
    .contact-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .contact-text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .contact-text h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-text p {
        font-size: 0.73rem;
        line-height: 1.3;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-text h4 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-text p {
        font-size: 0.55rem;
        line-height: 1.2;
    }
    
    .contact-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .contact-text h4 {
        font-size: 0.7rem;
    }
    
    .contact-text p {
        font-size: 0.55rem;
    }
    
    .contact-item {
        padding: 0.2rem;
        gap: 0.2rem;
    }

    .contact-icon {
        width: 25px;
        height: 25px;
        font-size: 0.5rem;
    }
}

/* ===== CONTACT BUTTONS STYLES ===== */
.contact-buttons-container {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
    min-height: 45px;
    text-align: left;
    width: 100%;
    text-decoration: none;
}

.contact-btn i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-btn span {
    font-size: 0.8rem;
    line-height: 1.2;
    flex: 1;
}

/* Phone Button */
.phone-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow);
}

.phone-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-decoration: none;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: var(--shadow);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #45e585 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-decoration: none;
}

/* Route Button */
.route-btn {
    background: linear-gradient(135deg, #4285F4 0%, #346AC3 100%);
    box-shadow: var(--shadow);
}

.route-btn:hover {
    background: linear-gradient(135deg, #5b9bf8 0%, #4285F4 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-decoration: none;
}

/* Active States */
.contact-btn:active {
    transform: translateY(0);
}

/* Focus States für Accessibility */
.contact-btn:focus {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

/* Öffnungszeiten neben den Buttons */
.contact-item.opening-hours {
    grid-column: 2;
    align-self: start;
}

/* Anpassung für das Contact Grid Layout */
.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Responsive Design - Auf Mobile untereinander */
@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-buttons-container {
        grid-column: 1;
    }
    
    .contact-item.opening-hours {
        grid-column: 1;
    }
    
    .contact-buttons-container {
        gap: 0.6rem;
    }
    
    .contact-btn {
        padding: 0.7rem 0.9rem;
        min-height: 40px;
        gap: 0.8rem;
    }
    
    .contact-btn i {
        font-size: 0.9rem;
    }
    
    .contact-btn span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .contact-buttons-container {
        gap: 0.5rem;
    }
    
    .contact-btn {
        padding: 0.6rem 0.8rem;
        min-height: 38px;
        gap: 0.7rem;
    }
    
    .contact-btn i {
        font-size: 0.85rem;
    }
    
    .contact-btn span {
        font-size: 0.7rem;
    }
}

.map-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    padding: 5px;
}

@media (max-width: 420px) {
    .map-container {
        width: 98%;
        height: 300px;
    }
}

/* ===== FOOTER ===== */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent-light);
}

.footer-logo i {
    color: var(--accent-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-light);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .hero-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--gray-light);
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Angepasste schräge Kanten für Mobile */
    /* .hero::after,
    .services::before,
    .services::after,
    .contact::before,
    .footer::before {
        height: 60px;
    } */
    
    .services,
    .contact,
    .footer {
        margin-top: -2px;
        padding: 6rem 0 4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 8rem 0 6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .map-container {
        height: 500px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        animation: none;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .hero-visual {
        height: auto;
    }
    
    /* Vereinfachte schräge Kanten für kleine Bildschirme */
    /* .hero::after,
    .services::before,
    .services::after,
    .contact::before,
    .footer::before {
        height: 40px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    } */
    
    .services,
    .contact,
    .footer {
        margin-top: -2px;
        padding: 5rem 0 3rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .map-container {
        height: 400px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    /* Entferne schräge Kanten für sehr kleine Bildschirme */
    .hero::after,
    .services::before,
    .services::after,
    .contact::before,
    .footer::before {
        display: none;
    }
    
    .services,
    .contact,
    .footer {
        margin-top: 0;
    }
}

/* ===== SERVICE DETAIL SECTION ===== */
.service-detail {
    padding: var(--section-padding);
    background-color: var(--background);
    position: relative;
}

/* .service-detail::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--background);
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 100%);
    z-index: 2;
} */

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
    align-items: start;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-description {
    background: linear-gradient(135deg, rgba(4, 111, 135, 0.05) 0%, rgba(252, 190, 126, 0.05) 100%);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.service-description h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-description p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.service-description p:last-child {
    margin-bottom: 0;
}

.body-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.body-info h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.body-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 0.5rem;
    background: linear-gradient(135deg, rgba(4, 111, 135, 0.05) 0%, rgba(252, 190, 126, 0.05) 100%);
    border-radius: var(--border-radius);
    border-bottom: 3px solid var(--accent-color);
}

.spec-label {
    font-size: 0.75rem;
    color: var(--gray-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15px;
    line-height: 1;
}

.spec-value {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.1;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    grid-column: 2;
}

.gallery-section h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(4, 111, 135, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    background: var(--white);
}

.gallery-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(4, 111, 135, 0.15);
}

.gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--gray-light) 100%);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 111, 135, 0.85) 0%, rgba(252, 190, 126, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== SERVICES OFFERED - UPDATED STYLES WITH FONTAWESOME ICONS ===== */
.services-offered {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin-top: 4rem;
    color: var(--white);
}

.services-offered h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

/* Bootstrap-like grid system for services list */
.col-lg-4 {
    width: 100%;
}

.service.list-group {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.service.list-group li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service.list-group li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.service.list-group li .fa-circle-check {
    color: var(--accent-color);
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.service.list-group li span {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.4;
}

/* Responsive Grid System */
/* Default: 1 column for very small screens */
.service.list-group {
    grid-template-columns: 1fr;
}

/* 320px - 479px: 2 columns */
@media (min-width: 320px) {
    .service.list-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

/* 480px - 767px: 3 columns */
@media (min-width: 480px) {
    .service.list-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* 768px and up: 4 columns */
@media (min-width: 768px) {
    .service.list-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .col-lg-4 {
        width: 100%;
    }
    
    .mb-lg-0 {
        margin-bottom: 0 !important;
    }
}

/* Large screens: 4 columns maintained */
@media (min-width: 992px) {
    .service.list-group {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .service.list-group {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.8rem;
    }
}

/* Responsive adjustments for the container */
@media (max-width: 1199px) {
    .services-offered {
        padding: 2.5rem;
    }
    .service.list-group li span {
        font-size: 0.7rem;
    }
}

@media (max-width: 991px) {
    .services-offered {
        padding: 2rem;
    }
    
    .services-offered h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .services-offered {
        padding: 1.5rem;
    }
    
    .service.list-group li {
        padding: 0.7rem 0.9rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.6rem;
    }
    
    .service.list-group li span {
        font-size: 0.6rem;
    }
}

@media (min-width: 711px) and (max-width: 766px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 1rem;
    }
}

@media (min-width: 691px) and (max-width: 710px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 1rem;
    }
}

@media (min-width: 671px) and (max-width: 690px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 1rem;
    }
}

@media (min-width: 651px) and (max-width: 670px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 1.1rem;
    }
}

@media (min-width: 631px) and (max-width: 650px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 1rem;
    }
}

@media (min-width: 611px) and (max-width: 630px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 0.97rem;
    }
}

@media (min-width: 577px) and (max-width: 610px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 0.87rem;
    }
}

@media (min-width: 521px) and (max-width: 576px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 0.87rem;
    }
}

@media (min-width: 491px) and (max-width: 520px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 0.77rem;
    }
}

@media (min-width: 448px) and (max-width: 490px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 0.67rem;
    }
}

@media (min-width: 421px) and (max-width: 447px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 0.57rem;
    }
}

@media (min-width: 391px) and (max-width: 420px) {
    .services-offered {
        padding: 1rem;
    }
    
    .services-offered h3 {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .service.list-group li {
        padding: 0.6rem 0.8rem;
        gap: 0.8rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .service.list-group li span {
        font-size: 0.5rem;
    }
}

/* Very small screens optimization */
@media (min-width: 320px) and (max-width: 390px) {
    .service.list-group {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .service.list-group li {
        padding: 0.5rem 0.7rem;
        gap: 0.7rem;
    }
    
    .service.list-group li .fa-circle-check {
        font-size: 1.3rem;
        width: 22px;
    }
    
    .service.list-group li span {
        font-size: 0.8rem;
    }
}

/* Hover effects enhancement */
.service.list-group li {
    position: relative;
    overflow: hidden;
}

.service.list-group li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.service.list-group li:hover::before {
    left: 100%;
}

/* Focus states for accessibility */
.service.list-group li:focus-within {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

/* Animation for icon on hover */
.service.list-group li:hover .fa-circle-check {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.scrollable-text {
    max-height: 350px; /* 60 Zeilen * 14px Zeilenhöhe */
    overflow-y: auto;
    padding: 10px;
    color: var(--dark-color);

    /* Gestalteter Scrollbalken für Webkit-Browser (Chrome, Safari, Edge) */
    scrollbar-width: thin; /* Für Firefox */
    scrollbar-color: rgba(4, 111, 135, 0.4) transparent; /* Für Firefox */
}

/* Gestalteter Scrollbalken für Webkit-Browser */
.scrollable-text::-webkit-scrollbar {
    width: 6px;
}

.scrollable-text::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.scrollable-text::-webkit-scrollbar-thumb {
    background: rgba(4, 111, 135, 0.4);
    border-radius: 10px;
    border: none;
    box-shadow: none;
}

.scrollable-text::-webkit-scrollbar-thumb:hover {
    background: rgba(4, 111, 135, 0.6);
}

.scrollable-text::-webkit-scrollbar-thumb:active {
    background: rgba(4, 111, 135, 0.8);
}

/* Optional: Scrollbalken-Buttons (oben/unten) */
.scrollable-text::-webkit-scrollbar-button {
    display: none;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 7rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0.5;
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 1;
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Responsive für kleinere Bildschirme */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 4.5rem;
        right: 1.5rem;
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 4rem;
        right: 1.2rem;
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

@media (max-width: 320px) {
    .scroll-to-top {
        bottom: 3.5rem;
        right: 1rem;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* ===== RESPONSIVE SERVICE DETAIL ===== */
@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-section {
        grid-column: auto;
    }

}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 4rem 0;
    }

    .service-detail-content {
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .gallery-section h4 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .services-offered {
        padding: 2rem;
    }

    .services-offered h3 {
        font-size: 1.5rem;
    }

    .service-item-small {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .gallery-item {
        border-radius: 12px;
    }

    .gallery-image {
        aspect-ratio: 3 / 4;
    }

    .gallery-overlay i {
        font-size: 2rem;
    }

    .services-offered {
        padding: 1.5rem;
    }

    .service-description,
    .body-info {
        padding: 1.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== NOTIFICATION STYLES ===== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== FORM FOCUS STATES ===== */
.form-group.focused label {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.form-group.focused input,
.form-group.focused textarea,
.form-group.focused select {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(252, 190, 126, 0.1);
}

/* ===== LOADING STATES ===== */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ELEGANT LIGHTBOX STYLES ===== */
/* .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 20% 80%,
            rgba(4, 111, 135, 0.65) 0%,
            rgba(2, 80, 100, 0.62) 50%,
            rgba(1, 50, 65, 0.6) 100%
        );
    backdrop-filter: blur(25px) saturate(180%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 0.6);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 80% 20%,
            rgba(252, 190, 126, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(34, 223, 248, 0.1) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.lightbox-close {
    position: fixed;
    top: 2.5rem;
    right: 2.5rem;
    width: 65px;
    height: 65px;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.lightbox-close:hover {
    background: 
        linear-gradient(135deg, 
            rgba(252, 190, 126, 0.95) 0%,
            rgba(255, 216, 181, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    transform: rotate(90deg) scale(1.08);
    box-shadow: 
        0 12px 40px rgba(252, 190, 126, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 75px;
    height: 75px;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.06) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: 
        linear-gradient(135deg, 
            rgba(252, 190, 126, 0.95) 0%,
            rgba(255, 216, 181, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 
        0 12px 40px rgba(252, 190, 126, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.lightbox-prev {
    left: 2.5rem;
}

.lightbox-next {
    right: 2.5rem;
}

.lightbox-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 85vw;
    max-height: 85vh;
    padding: 3rem;
    position: relative;
}

.lightbox-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.03) 0%,
            transparent 70%
        );
    border-radius: 16px;
    z-index: -1;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.4),
        0 16px 32px -8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: elegantAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

@keyframes elegantAppear {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
        filter: blur(4px);
    }
    50% {
        opacity: 0.8;
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
} */

/* Loading animation */
/* .lightbox-loading #lightbox-image {
    opacity: 0.3;
    filter: blur(8px) grayscale(0.3);
}

.lightbox-loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-top: 3px solid var(--accent-light);
    border-right: 3px solid var(--accent-light);
    border-radius: 50%;
    animation: elegantSpin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    z-index: 5;
    box-shadow: 0 0 20px rgba(252, 190, 126, 0.3);
}

@keyframes elegantSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
} */

/* ===== ELEGANT LIGHTBOX STYLES WITH SMALLER BUTTONS ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 20% 80%,
            rgba(4, 111, 135, 0.65) 0%,
            rgba(2, 80, 100, 0.62) 50%,
            rgba(1, 50, 65, 0.6) 100%
        );
    backdrop-filter: blur(25px) saturate(180%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 80% 20%,
            rgba(252, 190, 126, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(34, 223, 248, 0.1) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.lightbox-close:hover {
    background: 
        linear-gradient(135deg, 
            rgba(252, 190, 126, 0.95) 0%,
            rgba(255, 216, 181, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(252, 190, 126, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: 
        linear-gradient(135deg, 
            rgba(252, 190, 126, 0.95) 0%,
            rgba(255, 216, 181, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(252, 190, 126, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 85vw;
    max-height: 85vh;
    padding: 3rem;
    position: relative;
}

.lightbox-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: 
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.03) 0%,
            transparent 70%
        );
    border-radius: 16px;
    z-index: -1;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.4),
        0 16px 32px -8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: elegantAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

@keyframes elegantAppear {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(30px);
        filter: blur(4px);
    }
    50% {
        opacity: 0.8;
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* Loading animation */
.lightbox-loading #lightbox-image {
    opacity: 0.3;
    filter: blur(8px) grayscale(0.3);
}

.lightbox-loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-light);
    border-right: 2px solid var(--accent-light);
    border-radius: 50%;
    animation: elegantSpin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    z-index: 5;
    box-shadow: 0 0 15px rgba(252, 190, 126, 0.3);
}

@keyframes elegantSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

/* Image transition animation */
.lightbox-image-changing #lightbox-image {
    opacity: 0;
    transform: scale(0.94);
    filter: blur(6px) grayscale(0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Touch-friendly controls for mobile */
@media (max-width: 768px) {
    .lightbox {
        background: 
            radial-gradient(
                circle at 20% 80%,
                rgba(4, 111, 135, 0.38) 0%,
                rgba(2, 80, 100, 0.36) 100%
            );
        backdrop-filter: blur(30px) saturate(200%);
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-image-container {
        max-width: 92vw;
        max-height: 92vh;
        padding: 2rem;
    }
    
    #lightbox-image {
        border-radius: 10px;
        box-shadow: 
            0 24px 48px -8px rgba(0, 0, 0, 0.4),
            0 12px 24px -4px rgba(0, 0, 0, 0.3);
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .lightbox-prev {
        left: 0.75rem;
    }
    
    .lightbox-next {
        right: 0.75rem;
    }
    
    .lightbox-image-container {
        max-width: 96vw;
        max-height: 96vh;
        padding: 1.5rem;
    }
    
    #lightbox-image {
        border-radius: 8px;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .lightbox-image-container {
        max-width: 80vw;
    }
}

/* Ultra-wide screens */
@media (min-width: 2000px) {
    .lightbox-image-container {
        max-width: 70vw;
    }
}

/* Keyboard focus styles with elegant animation */
.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
    outline: none;
    animation: elegantFocus 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes elegantFocus {
    0% {
        box-shadow: 
            0 0 0 0 rgba(252, 190, 126, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(252, 190, 126, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 0 0 3px rgba(252, 190, 126, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* Hover effects for desktop with subtle animations */
@media (hover: hover) and (pointer: fine) {
    .lightbox-close:hover::before,
    .lightbox-prev:hover::before,
    .lightbox-next:hover::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(
                circle at center,
                rgba(255, 255, 255, 0.2) 0%,
                transparent 70%
            );
        border-radius: 50%;
        animation: ripple 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: -1;
    }
    
    @keyframes ripple {
        0% {
            transform: scale(0.8);
            opacity: 0;
        }
        50% {
            opacity: 0.5;
        }
        100% {
            transform: scale(1.4);
            opacity: 0;
        }
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .lightbox,
    #lightbox-image,
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        transition: none;
        animation: none;
    }
    
    .lightbox.active {
        opacity: 1;
    }
    
    #lightbox-image {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
    
    .lightbox-loading::after {
        animation: spin 1s linear infinite;
    }
}

/* Dark theme refinements */
@media (prefers-color-scheme: dark) {
    .lightbox {
        background: 
            radial-gradient(
                circle at 20% 80%,
                rgba(2, 55, 67, 0.66) 0%,
                rgba(1, 35, 45, 0.64) 50%,
                rgba(0, 20, 30, 0.62) 100%
            );
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.2);
    }
    
    #lightbox-image {
        box-shadow: 
            0 16px 32px rgba(0, 0, 0, 0.6),
            0 0 0 2px rgba(255, 255, 255, 0.1);
    }
}

/* Performance optimizations for lower-end devices */
@media (prefers-reduced-transparency: reduce) {
    .lightbox {
        background: rgba(4, 111, 135, 0.58);
        backdrop-filter: none;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.15);
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 20% 80%,
            rgba(4, 111, 135, 0.66) 0%,
            rgba(2, 80, 100, 0.64) 50%,
            rgba(1, 50, 65, 0.62) 100%
        );
    backdrop-filter: blur(25px) saturate(180%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 80% 20%,
            rgba(252, 190, 126, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(34, 223, 248, 0.1) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.4),
        0 16px 32px -8px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--gray-light);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h2 {
    color: var(--white);
    margin: 0;
    font-size: 1.75rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.modal-section p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-section ul {
    color: var(--gray-color);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.modal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.modal-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    background: var(--gray-light);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.modal-close-btn {
    min-width: 120px;
}

/* Responsive Design für Modals */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-section {
        margin-bottom: 1.5rem;
    }
    
    .modal-section h3 {
        font-size: 1.1rem;
        padding-left: 0.75rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* Scrollbar für Modal Body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}