/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Navigation */
.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

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

.nav-menu li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 4px;
}

/* Header */
.site-header {
    background-color: #34495e;
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.site-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.site-header .subtitle {
    font-size: 1.2rem;
    color: #bdc3c7;
}

/* Home Page Specific Header */
.home-header {
    background-color: #ffffff;
    padding: 2rem 0 0 0;
    text-align: center;
}

.logo-container {
    margin-bottom: 0;
}

.site-logo {
    max-width: 300px;
    height: auto;
    display: inline-block;
}

/* Home Page Main */
.home-main {
    background-color: #ffffff;
    padding: 2rem 0 3rem 0;
}

.main-title {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

/* Home Images Section */
.home-images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem 0;
    flex-wrap: wrap;
}

.home-images a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.home-images a:hover {
    opacity: 0.8;
}

.home-images img {
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* Home Content Section */
.home-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-heading {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subheading {
    font-size: 1.6rem;
    color: #34495e;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-tagline {
    font-size: 1.3rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.service-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.service-block:first-of-type {
    border-top: none;
}

.service-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Page Header (for subpages) */
.page-header {
    background-color: #ffffff;
    padding: 2rem 0 0 0;
    text-align: center;
}

/* Page Main (for subpages) */
.page-main {
    background-color: #ffffff;
    padding: 2rem 0 3rem 0;
}

.page-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0 auto 1rem auto;
    text-align: center;
    max-width: 900px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin: 0 auto 2rem auto;
    font-weight: 400;
    max-width: 800px;
    text-align: center;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Blocks */
.content-block {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
    align-items: start;
}

.content-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.content-text {
    order: 1;
}

.content-image {
    order: 2;
    text-align: center;
}

.content-image img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

.content-heading {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.content-paragraph:last-child {
    margin-bottom: 0;
}

/* Main Content (for other pages) */
main {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Image Gallery (for other pages) */
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.image-item img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* Service Section */
.service-section,
.content-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.service-item,
.content-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.service-item:hover,
.content-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-item h2,
.content-item h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-item h3,
.content-item h3 {
    color: #34495e;
    margin: 1rem 0;
    font-size: 1.3rem;
}

.service-item img,
.content-item img {
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-item p,
.content-item p {
    color: #555;
    max-width: 800px;
    margin: 1rem auto;
    font-size: 1.1rem;
}

.content-item ul {
    list-style: none;
    max-width: 600px;
    margin: 1rem auto;
    text-align: left;
}

.content-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.content-item ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Why Section */
.why-section {
    background-color: #ecf0f1;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
    text-align: center;
}

.why-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.why-section p {
    color: #555;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.customer-quote {
    font-style: italic;
    color: #bdc3c7;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.copyright {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Legal Pages (Impressum, Datenschutz) */
.impressum-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.impressum-content h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.impressum-content h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.impressum-content h4 {
    color: #34495e;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.impressum-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.impressum-content ul li {
    margin-bottom: 0.5rem;
    color: #555;
}

.impressum-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Contact Page */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-message {
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 500;
    padding: 2rem;
    background-color: #ecf0f1;
    border-radius: 8px;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-details {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.contact-details p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.contact-details strong {
    color: #2c3e50;
}

.contact-note {
    padding: 1.5rem;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.contact-note p {
    margin: 0;
    color: #856404;
}

.contact-note a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.contact-note a:hover {
    text-decoration: underline;
}

/* Vision & Leitbild Sections (Was noch page) */
.vision-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e0e0e0;
}

.vision-heading {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}

.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.vision-highlight {
    font-size: 1.3rem;
    color: #2c3e50;
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f0f8ff;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

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

.vision-image img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

.leitbild-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e0e0e0;
}

.leitbild-heading {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.leitbild-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}

.leitbild-text h3 {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.values-list {
    list-style: none;
    margin-bottom: 2rem;
}

.values-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.3rem;
}

.leitbild-mission {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

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

.leitbild-image img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

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

.qualifikationen-heading {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.qualifikationen-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}

.qualifikationen-text h3 {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.qualifikationen-list {
    list-style: none;
}

.qualifikationen-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.qualifikationen-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
    font-size: 1.5rem;
}

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

.qualifikationen-image img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #2c3e50;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(236, 240, 241, 0.1);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* Images - Mobile Optimization */
    .home-images {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .home-images img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .site-header h1 {
        font-size: 2rem;
    }

    .site-header .subtitle {
        font-size: 1rem;
    }

    .image-gallery {
        flex-direction: column;
        align-items: center;
    }

    .service-item,
    .content-item {
        padding: 1rem;
    }

    main {
        padding: 1rem;
    }

    .impressum-content,
    .contact-content {
        padding: 0 1rem;
    }

    .contact-message {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    /* Content Blocks - Mobile */
    .content-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-text {
        order: 2;
    }

    .content-image {
        order: 1;
    }

    .content-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .main-title {
        font-size: 1.4rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .site-logo {
        max-width: 200px;
    }

    /* Was noch page - Mobile */
    .vision-content,
    .leitbild-content,
    .qualifikationen-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vision-image,
    .leitbild-image,
    .qualifikationen-image {
        order: -1;
    }

    .vision-image img,
    .leitbild-image img,
    .qualifikationen-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .vision-highlight {
        font-size: 1.1rem;
        padding: 1rem;
    }
}
