:root {
  --color-solarium: #ffd217;
  --color-1: #ffd217;
  --color-2: #e7c85e;
  --color-3: #eacf72;
  --color-4: #edd686;
  --color-5: #f0dd9b;
  --color-6: #f3e3af;
  --color-7: #f6eac3;
  --color-8: #f9f1d7;
  --color-9: #fcf8eb;
  --color-white: #ffffff;
  --bronze-light: #d4a976;
  --bronze: #b87c4c;
  --bronze-dark: #8b4513;
  --sand-light: #f5e6d3;
  --sand: #e6d5c3;
  --sand-dark: #d4c4b7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--color-white);
    color: #333;
    line-height: 1.6;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100px;
}

.navbar.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar .logo img {
    height: 80px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 50px;
}

.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--color-solarium);
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    margin: 0 1.5rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-solarium);
}

.hero {
    height: 75vh; /* Reduziert von 90vh auf 75vh */
    background: linear-gradient(135deg, var(--color-6), var(--color-white));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem; /* Zusätzlicher Abstand zum nächsten Bereich */
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('hero.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--color-solarium), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    padding: 2rem 10%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--color-9);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.prices {
    background-color: var(--color-8);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background-color: var(--color-white);
}

/* Neue Styles für die Preiskarten */
.price-card {
    transition: transform 0.3s ease;
    border: none !important;
    background-color: var(--color-9) !important;
    border-radius: 15px;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(225, 186, 54, 0.1);
}

.price-card .card-header {
    background: linear-gradient(135deg, var(--color-solarium), var(--color-2)) !important;
    color: white !important;
    border: none;
    padding: 1rem !important;
    height: 80px !important; /* Einheitliche, kleinere Höhe für alle Cards */
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-card .card-header h3 {
    font-size: 1.3rem !important;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.price-card .list-group-item {
    background-color: var(--color-9) !important;
    border-color: var(--color-6) !important;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.price-card .list-group-item:hover {
    border-left: 3px solid var(--color-solarium);
    background-color: var(--color-8) !important;
}

.price-card .card-body {
    background-color: var(--color-9);
}

.price-section {
    background-color: var(--color-8);
    padding: 4rem 0;
}

.device-icon {
    font-size: 1.8rem;
    margin-right: 0.5rem;
    color: var(--color-9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Neue Styles für die Kontakt-Cards */
.contact-card {
    transition: transform 0.3s ease;
    border: none !important;
    background-color: var(--color-9) !important;
    border-radius: 15px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(225, 186, 54, 0.1);
}

.contact-card .card-header {
    background: linear-gradient(45deg, var(--color-solarium), var(--color-2)) !important;
    color: white !important;
    border: none;
    padding: 1rem !important;
    height: 80px !important; /* Einheitliche, kleinere Höhe für alle Cards */
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card .card-header h3 {
    font-size: 1.3rem !important;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.contact-card .card-header i {
    font-size: 1.8rem;
    margin-right: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-card .card-body {
    background-color: var(--color-9);
    padding: 1.5rem;
}

.contact-card .card-body i {
    font-size: 1.4rem;
    width: 30px;
    margin-right: 0.75rem;
    /* Entferne Gradient-Effekt für bessere Kompatibilität */
    color: var(--color-solarium);
    /* Entferne problematische Eigenschaften */
    /*background: linear-gradient(45deg, var(--color-solarium), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
}

.contact-card .card-body h5 i {
    font-size: 1.6rem;
    margin-right: 0.5rem;
}

.contact-card .card-body li:hover i {
    transform: scale(1.1);
}

.opening-hours li {
    padding: 0.5rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-6);
    transition: all 0.3s ease;
}

.opening-hours li:last-child {
    border-bottom: none;
}

.opening-hours li:hover {
    padding-left: 0.5rem;
    background-color: var(--color-8);
}

.opening-hours li i {
    font-size: 1.2rem;
    width: 30px;
    color: var(--color-solarium);
    margin-right: 0.5rem;
}

opening-hours li:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.list-unstyled li {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Zusätzliche Animation für Icons in den Headers */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card:hover .card-header i {
    animation: pulse 2s infinite;
}

/* Testimonials Styling */
.testimonials {
    background-color: var(--color-8);
    padding: 4rem 0;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 1.5rem 0;
}

.testimonial-author {
    color: var(--color-solarium);
    font-weight: 600;
    text-align: right;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--color-solarium);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.rating-box {
    background: linear-gradient(45deg, var(--color-solarium), var(--color-2));
    color: white;
    padding: 2rem !important;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(225, 186, 54, 0.15);
}

.rating-score {
    font-size: 2rem;
}

.rating-box .btn-outline-warning {
    color: white;
    border-color: white;
}

.rating-box .btn-outline-warning:hover {
    background: white;
    color: var(--color-solarium);
}

/* Footer Styles */
.footer {
    background: linear-gradient(45deg, var(--color-solarium), var(--color-2));
    padding: 2rem 0;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-solarium), 
        transparent
    );
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.footer-links i {
    font-size: 1.4rem;
}

.footer-copyright {
    color: white;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 100px; /* Änderung: Von 70px auf 100px, damit es unter dem Header beginnt */
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        text-align: center;
        z-index: 999; /* Niedriger als navbar */
    }

    .navbar.scrolled + .nav-links.active {
        top: 70px; /* Wenn Header kleiner wird, passt sich die Position an */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        backdrop-filter: blur(10px);
        max-height: calc(100vh - 100px); /* Maximale Höhe begrenzen */
        overflow-y: auto; /* Scrollbar wenn nötig */
    }

    /* Anpassungen für andere mobile Elemente */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        height: 70vh; /* Noch etwas kleiner auf mobilen Geräten */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .card-header h3 {
        font-size: 1.1rem !important;
    }
}

/* Moderne Card Styles */
.device-card {
    border: none;
    background: var(--color-9);
    transition: all 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
}

.device-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(225, 186, 54, 0.15);
}

.device-card img {
    transition: transform 0.6s ease;
}

.device-card:hover img {
    transform: scale(1.05);
}

.device-card .card-body {
    padding: 2rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .hero-content, .section h2 {
    animation: fadeUp 0.6s ease forwards;
}

/* Enhanced Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

p {
    line-height: 1.8;
    color: #4a4a4a;
}

.contact-info li i,
.opening-hours li i {
    font-size: 1.2rem;
    width: 30px;
    color: var(--color-solarium);
    margin-right: 0.5rem;
    /* Stelle sicher, dass keine Gradient-Eigenschaften vererbt werden */
    background: none;
    -webkit-text-fill-color: initial;
}

/* Safari-kompatible Icon-Styles */
.card-header i {
    color: white !important;
    /* Entferne mögliche Gradient-Effekte */
    background: none;
    -webkit-text-fill-color: initial;
}
