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

:root {
    --primary-blue: #2c3e50;
    --secondary-blue: #34495e;
    --light-gray: #ecf0f1;
    --gold: #d4af37;
    --dark-gold: #b8941f;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

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

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

.greeting-container {
    position: fixed;
    top: 90px;
    left: 2rem;
    z-index: 999;
}

.greeting {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.hero h1,
.hero p,
.hero .cta-button {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin-bottom: 1rem;
}

.motto {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold);
    margin-top: 2rem;
}

.carousel-section {
    width: 100%;
    overflow: hidden;
    background: var(--white);
    padding: 3rem 0;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 35s linear infinite;
    will-change: transform;
}

.carousel-item {
    width: 400px;
    height: 300px;
    margin: 0 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-3024px, 0, 0);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 800px;
    margin: 3rem auto 0;
}

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

.team-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #bdc3c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.team-member {
    margin-bottom: 1rem;
}

.team-member:last-child {
    margin-bottom: 0;
}

.team-member-name {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.team-member-role {
    color: var(--text-light);
    font-size: 1rem;
}

.services {
    background: var(--light-gray);
}

.price-grid {
    display: grid;
    gap: 2rem;
}

.price-category {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.price-category h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

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

.price-name {
    color: var(--text-dark);
    flex: 1;
}

.price-value {
    color: var(--gold);
    font-weight: 600;
    margin-left: 1rem;
    white-space: nowrap;
}

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

.product-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.product-card h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.wella {
    height: 115px;
    width: 200px;
    margin-bottom: 37px;
}

.goldwell {
    height: 150px;
    width: 300px;
}

.contact {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    align-items: stretch;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-item strong {
    color: var(--primary-blue);
    display: inline-block;
    min-width: 120px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

footer {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

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

    .motto {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .team-image {
        height: 400px;
    }

    .carousel-item {
        width: 300px;
        height: 225px;
    }

    @keyframes scroll {
        0% {
            transform: translate3d(0, 0, 0);
        }

        100% {
            transform: translate3d(-2324px, 0, 0);
        }
    }

    .greeting-container {
        left: 50%;
        transform: translateX(-50%);
    }

    .greeting {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .goldwell {
        height: 120px;
        width: 240px;
    }
}

/* Toggle Switch Styles */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.toggle-switch {
    display: inline-flex;
    background: var(--white);
    border-radius: 50px;
    position: relative;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-switch input[type="radio"] {
    display: none;
}

.toggle-switch label {
    position: relative;
    z-index: 2;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
    text-align: center;
    min-width: 150px;
}

.toggle-switch input[type="radio"]:checked+label {
    color: var(--white);
}

.toggle-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background: var(--gold);
    border-radius: 40px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

#toggle-kosmetik:checked~.toggle-slider {
    transform: translateX(100%);
}

.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 768px) {
    .toggle-switch label {
        padding: 10px 20px;
        font-size: 1rem;
        min-width: 130px;
    }
}

/* Legal Pages Styles */
.legal-section {
    padding-top: 120px;
    background: var(--light-gray);
    min-height: calc(100vh - 100px);
}

.legal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.legal-content a {
    color: var(--gold);
    text-decoration: none;
}

.legal-links {
    margin-top: 1rem;
    font-size: 0.85rem;
}

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

.legal-links a:hover {
    color: var(--gold);
}