* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;       /* Abstand zwischen Logo-Bild und Text */
    font-size: 1.8em;
    font-weight: bold;
    color: #1e3c72;
    text-decoration: none;
}

.logo-img {
    height: 60px;    /* Logo-Höhe anpassen */
    width: auto;     /* proportional skalieren */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #ff0000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff0000;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: #ff0000;
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: #9c0404be;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #f50000;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(236, 55, 0, 0.95) 0%, rgba(42, 82, 152, 0.95) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23e0e0e0" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 20px 120px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.15em;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.cta-button:hover {
    background: #9c0404be;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* Sections */
section {
    padding: 90px 20px;
}

section:nth-child(even) {
    background: #f8f9fa;
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    color: #1e3c72;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff0000;
    margin: 25px auto 0;
    border-radius: 2px;
}

/* Über uns */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25em;
    line-height: 1.9;
    color: #555;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    text-align: center;
    padding: 30px;
}

.value-item span {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.value-item h3 {
    color: #1e3c72;
    margin-bottom: 10px;
}

/* Leistungen */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s;
    text-align: center;
    border-top: 4px solid transparent;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-top-color: #ff0000;
}

.service-icon {
    font-size: 3.5em;
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 18px;
    font-size: 1.6em;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05em;
}


.checkbox-group {
    display: flex;
    flex-wrap: wrap; /* Zeilenumbruch bei Bedarf */
    gap: 20px; /* Abstand zwischen Checkbox-Items */
}
.checkbox-item {
    display: flex;
    flex-direction: column; /* Text über Checkbox */
    align-items: center;
    gap: 5px;
}
.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
}


/* Galerie mit Filter */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #1e3c72;
    color: white;
}

.filter-btn.active {
    background: #ff0000;
    border-color: #ff0000;
    color: white;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    aspect-ratio: 4/3;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.4s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt die Box, schneidet dabei eventuell minimal zu */
    display: block;
    border-radius: 12px;
    transition: transform 0.4s, box-shadow 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05); /* sanfter Zoom beim Hover */
}
.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 40px 20px 20px;
    font-size: 1.1em;
    font-weight: 600;
}



.contact-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.12);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #1e3c72;
    font-weight: 600;
    font-size: 1.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.05em;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.file-upload {
    padding: 25px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
}

.file-upload:hover {
    border-color: #2a5298;
    background: #e8f0fe;
}

.file-upload input {
    display: none;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-button:hover {
    background: #9c0404be
;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.contact-info {
    text-align: center;
    margin-top: 50px;
    padding: 35px;
    background: #f8f9fa;
    border-radius: 15px;
}

.contact-info h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.contact-info p {
    font-size: 1.15em;
    margin: 12px 0;
}

.contact-info a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #9c0404be
;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.3em;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff0000;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.3em;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #ff0000;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

/* Rechtliche Seiten */
.legal-page {
    display: none;
    padding: 100px 20px 60px;
}

.legal-page.active {
    display: block;
}

.legal-page h3 {
    color: #1e3c72;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.legal-page ul {
    margin-left: 30px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.back-button {
    display: inline-block;
    margin-bottom: 30px;
    padding: 10px 25px;
    background: #1e3c72;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.back-button:hover {
    background: #2a5298;
}

.main-content {
    display: block;
}

.main-content.hidden {
    display: none;
}

/* Animationen */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    display: none;
    background: #4caf50;
    color: white;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 30px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: left 0.3s;
        gap: 20px;
    }

    .nav-links.active {
        left: 0;
    }


    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.15em;
    }

    h2 {
        font-size: 2.2em;
    }

    .contact-form {
        padding: 35px 25px;
    }

    body {
        padding-top: 70px;
    }

    .nav-container {
        padding: 12px 20px;
    }

    .logo {
        font-size: 1.5em;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
	
	html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}




}