/* ===== STYLE.CSS - CSS Styles ===== */
nav
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(30, 30, 30, 0.98);
    box-shadow: 0 2px 20px rgba(255, 133, 27, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;         /* Richtet das Logo vertikal mittig aus */
    align-items: center;
    height: 50px;          /* Das ist die "Leine", die das Logo bändigt */
    text-decoration: none;
    transition: transform 0.3s ease;
    overflow: hidden;      /* Schneidet nichts ab, aber hält alles kompakt */
}

.logo img {
    height: 100%;    /* Das Bild soll so hoch sein wie der .logo Container (60px) */
    width: auto;     /* Die Breite passt sich automatisch proportional an */
    display: block;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fc6104;
    background: rgba(255, 133, 27, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fc6104;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    margin-top: 0;
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)),
       url('Images/logo-eabw01.png') center center / cover no-repeat;         
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-bottom: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 133, 27, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    opacity: 1;
    transition: opacity 1s ease;
    margin-top: 0;
    padding: 0 20px;
}

.hero h1 {
    /* Verwenden Sie eine responsive Einheit wie 'vw' oder 'clamp()' */
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero .subtitle {
    /* Verwenden Sie eine responsive Einheit */
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    color: #ffffff;
    animation: fadeInUp 1s ease 0.3s both;
    opacity: 1;
}

.hero .description {
    /* Verwenden Sie eine responsive Einheit */
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
    opacity: 1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #fc6104, #ffeb35);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.9s both;
    box-shadow: 0 4px 15px rgba(255, 133, 27, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 133, 27, 0.4);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section h2::after {
    content: '';
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #fc6104, #fc6104);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Service Cards */
.services-grid {
    display: grid;
    /* Festgelegt auf maximal 2 Spalten für die 2x2 Optik */
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
    margin: 3rem auto 0 auto;
    max-width: 1000px; /* Begrenzt die Breite, damit die Karten nicht zu riesig werden */
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Stellt sicher, dass alle Karten gleich hoch sind, egal wie viel Text drin steht */
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #fc6104, #fc6104);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #fc6104;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Company Info */
.company-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 5rem 2rem;
    margin-top: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card .icon {
    font-size: 3rem;
    color: #fc6104;
    margin-bottom: 1rem;
}

/*Team Card*/
.team-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 5rem 2rem;
    margin-top: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card .icon {
    font-size: 3rem;
    color: #fc6104;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    background: #ff851b;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items:
    center;
    justify-content: center;
    font-size: 2rem; 
    color: white;
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fc6104;
}

.submit-btn {
    background: linear-gradient(135deg, #fc6104, #ffeb35);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1e1e1e;
    color: white;
    text-align: center;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fc6104;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    margin-top: 2rem;
}

/* Footer Bottom Styling */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8); /* Die gleiche Farbe wie dein Copyright */
}

.legal-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem; /* Abstand zum Copyright auf Mobilgeräten */
}

/* Die Links im Footer gezielt ansprechen */
.footer-link {
    color: inherit; /* Übernimmt das Weiß/Hellgrau des Eltern-Elements */
    text-decoration: none; /* Entfernt den Unterstrich */
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Hover-Effekt: Etwas heller oder in deinem Marken-Orange */
.footer-link:hover {
    color: #fc6104; 
    text-decoration: underline; /* Optional: Unterstreichen beim Hover für bessere Usability */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(30, 30, 30, 0.98);
        flex-direction: column;
        justify-content: start;
        padding-top: 2rem;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)), 
        url('Images/hero_mo_op.png');
        
        background-position: center center;
        background-size: cover;
        height: 75vh; 
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

        .hero-content {
        max-width: 100%; 
        padding: 0 15px;
        box-sizing: border-box;
        text-align: center;
        padding-top: 40px;
    }

    /* Textgröße für Hero-Bereich optimieren */
    .hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem); /* Besserer Wert für lange Titel */
        line-height: 1.2;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .hero .description {
        font-size: 0.9rem;
    }
}

/* Hidden sections for navigation */
.page-section {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}


.page-section.active {
    display: block;
}

/* ============ Bildergalerie ============ */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.animated-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Zustand, wenn die Klasse 'visible' angewendet wird */
.animated-image.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Kontaktseite Styling ============ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
        align-items: center;
    }
    .contact-info,
    .contact-form {
        text-align: center;
    }
    .contact-info .contact-item {
        text-align: left;
    }
}

.contact-info,
.contact-form {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-title {
    color: #fc6104;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-subtitle {
    color: #fc6104;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Anpassungen für das Formular */
#contact-form {
    display: grid;
    gap: 1.5rem; /* Abstand zwischen den Formularfeldern */
}

.form-group {
    display: grid;
    grid-template-columns: 1fr; /* Standard: Label und Feld untereinander */
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fc6104;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #fc6104, #ffeb35);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 133, 27, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 133, 27, 0.4);
}

/* Media-Query für Desktop-Ansicht (für verbesserte Ausrichtung) */
@media (min-width: 600px) {
    .form-group {
        display: grid;
        grid-template-columns: 150px 1fr; /* Feste Spaltenbreite für das Label */
        gap: 1rem;
        align-items: center; /* Zentriert Label und Feld vertikal */
    }
}

.form-check-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.form-check-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px; /* Kleine Anpassung für die vertikale Ausrichtung */
}

.form-check-group label {
    font-size: 0.9rem;
    font-weight: normal;
    display: inline; /* Korrigiert die Ausrichtung des Labels */
}

.form-check-group a {
    color: #fc6104;
    text-decoration: none;
}
/* Zusätzliche Abstände für die Datenschutzerklärung */
#datenschutz .content-container h2 {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

#datenschutz .content-container h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

#datenschutz .content-container p,
#datenschutz .content-container ul {
    margin-bottom: 1rem;
}

#datenschutz .content-container ul li {
    margin-bottom: 0.5rem;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 15px;
    min-height: 1px;
    overflow: visible;
}

/* Klaro Banner Styling */
.klaro .consent-notice {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100% !important;
    z-index: 9999;
    background: #fff;
    border-top: 2px solid #007bff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Modal ohne dunklen Hintergrund */
.klaro .consent-modal .modal {
    background: rgba(0,0,0,0) !important;
}

.klaro .consent-modal .modal .modal-content {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
}

/* Banner Buttons */
.klaro .consent-notice .cn-buttons button {
    margin: 5px;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.klaro .consent-notice .cn-buttons .cm-btn-accept-all {
    background: #007bff;
    color: white;
}

.klaro .consent-notice .cn-buttons .cm-btn-accept-all:hover {
    background: #0056b3;
}

.map-container {
    width: 100%; /* Die Breite des Containers füllt den übergeordneten Bereich aus */
    max-width: 800px; /* Begrenzt die maximale Breite, um auf großen Bildschirmen gut auszusehen */
    margin: 0 auto; /* Zentriert den Container */
    height: 400px; /* Legt eine feste Höhe fest */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px; /* Optional: fügt abgerundete Ecken hinzu */
    border: none;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 3px solid white;
    cursor: pointer;
}