:root {
    --primary-color: #cf060c; /* Accent Red */
    --secondary-color: #2ecc71; /* A fresh green for accents */
    --dark-color: #2c3e50; /* Dark blue/grey for text */
    --light-color: #ecf0f1; /* Light grey for backgrounds */
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Header for subpages */
section.page-header {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 2rem;
    text-align: center;
    background-color: #f8f9fa;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Header & Navbar */
.header {
    background-color: #d9d9d9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.nav-links-left {
    justify-content: flex-start;
}

.nav-links-right {
    justify-content: flex-end;
}

.nav-logo {
    flex-shrink: 0;
    padding: 0 2rem; /* Spacing around the logo */
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu-left {
    justify-content: flex-start;
    flex: 1;
}

.nav-menu-right {
    justify-content: flex-end;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

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

/* For sub-pages without the split nav */
.nav-links-desktop:not(.nav-links-left):not(.nav-links-right) {
    justify-content: center;
}

.mobile-nav-menu {
    display: none; /* Hidden by default */
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Prevent header overlap */
main {
    padding-top: var(--header-height);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    padding-top: 0; /* Let main handle the padding */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg.png') no-repeat center center/cover;
    filter: brightness(0.6);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #a5050a;
    transform: translateY(-2px);
}

/* General Section Styling */
.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 2.5rem;
    color: var(--dark-color);
}

.bg-light {
    background-color: #f8f9fa;
}

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

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    max-width: 350px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    height: 60px;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.4s ease;
}

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

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 1rem;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--white-color);
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--light-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 2001;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    user-select: none;
}

.lightbox-nav:hover {
    background-color: rgba(0,0,0,0.6);
}

.lightbox-nav.prev {
    left: 1rem;
}

.lightbox-nav.next {
    right: 1rem;
}

/* Pricing Section */
#pricing p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* CTA / Contact Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.cta-section .section-title {
    color: var(--white-color);
}

.contact-details {
    margin: 2rem 0;
}

.phone-number {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 600;
    margin: 0.5rem 0;
}

.phone-number a {
    color: var(--white-color);
    text-decoration: none;
}
.phone-number a:hover {
    text-decoration: underline;
}

.opening-hours {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.signature {
    margin-top: 2rem;
    font-style: italic;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: var(--white-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media(max-width: 992px) {
    .nav-links-desktop {
        gap: 1rem;
    }
    .nav-logo {
        padding: 0 1rem;
    }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
    .navbar {
        justify-content: space-between;
    }

    .nav-links-desktop {
        display: none;
    }
    
    .nav-logo {
       padding-left: 0;
       flex-grow: 1; /* Allow logo to push hamburger */
       margin-right: auto; /* Push hamburger to the right */
    }

    .hamburger-container {
        display: flex;
    }
    
    .mobile-nav-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        left: 0;
        top: var(--header-height);
        background-color: #fff;
        width: 100%;
        height: calc(100vh - var(--header-height));
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 2rem 0;
    }
    
    .mobile-nav-menu.active {
        transform: translateX(0);
    }
    
    .mobile-nav-links {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }
    
    .mobile-nav-links li {
        border-bottom: 1px solid var(--light-color);
    }
    
    .mobile-nav-links li:first-child {
        border-top: 1px solid var(--light-color);
    }

    .mobile-nav-link {
        display: block;
        padding: 1.25rem 1.5rem;
        color: var(--dark-color);
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 600;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .mobile-nav-link:hover,
    .mobile-nav-link:focus {
        background-color: var(--primary-color);
        color: var(--white-color);
    }
    
    .mobile-nav-footer {
        text-align: center;
        padding: 1rem;
    }
    
    .impressum-link-mobile {
        color: #888;
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .impressum-link-mobile:hover,
    .impressum-link-mobile:focus {
        color: var(--primary-color);
        text-decoration: underline;
    }
    
    .hamburger.active + .hamburger-label {
        color: var(--primary-color);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }

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

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

    .about-image {
        max-width: 300px;
    }

    .about-text {
        flex: 1;
    }

    .section {
        padding: 3rem 0;
    }
}

@media(max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}