/* ----------------------------- */
/* Google Fonts Einbindung */
/* ----------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* ----------------------------- */
/* Globale Box-Sizing-Einstellung */
/* ----------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ----------------------------- */
/* Global Styles */
/* ----------------------------- */
body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    overflow-x: hidden; /* Verhindert horizontales Überlaufen */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

/* ----------------------------- */
/* Top-Bar für Telefonnummer und E-Mail */
/* ----------------------------- */
.top-bar {
    background-color: #FF5400;
    color: #fff;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    /* Verhindert Überlauf auf kleinen Bildschirmen */
    flex-wrap: wrap;
}

.top-bar-box {
    display: flex;
    align-items: center;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.top-bar a:hover {
    color: #E04800;
}

/* ----------------------------- */
/* Logo Container im Header */
/* ----------------------------- */
.header-section {
    padding: 20px 0;
    background-color: #252E34;
}

.header-section .logo {
    margin-left: auto;
    margin-right: auto;
    display: block;
    max-width: 150px;
}

.header-section .logo img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------- */
/* Hauptinhalt - Überschrift außerhalb des Headers */
/* ----------------------------- */
.main-content h1 {
    text-align: center;
    padding: 0 40px;
    font-size: 2.5rem;
    margin-top: 40px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ----------------------------- */
/* Dunkle Bereiche */
/* ----------------------------- */
.dark-section {
    background-color: #252E34;
    color: #f5f5f5;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left; /* Standard: linksbündig */
}

.dark-section.header-section {
    padding: 20px 0;
}

.dark-section h1, 
.dark-section h2 {
    color: #f5f5f5;
    text-align: left;
    margin-left: 0;
    margin-bottom: 40px;
}

/* Zusätzliche Regeln zur Begrenzung der Breite und Verhinderung von Überläufen */
.dark-section h1,
.dark-section p {
    max-width: 800px; /* Begrenzung der maximalen Breite */
    width: 100%;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.dark-section h1 {
    font-size: 3rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin-bottom: 20px; /* Abstand zum Paragraphen */
}

.dark-section p {
    font-size: 1.1rem;
    margin-bottom: 30px; /* Abstand zum Button */
}

.dark-section .btn-primary {
    background-color: #FF5400;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-block;
    transition: background-color 0.3s ease;
    white-space: normal; /* Erlaubt den Umbruch */
    max-width: 300px; /* Begrenzung der maximalen Breite */
    width: 100%; /* Volle Breite innerhalb des Containers */
    text-align: center;
}

.dark-section .btn-primary:hover {
    background-color: #E04800;
}

/* ----------------------------- */
/* Helle Bereiche */
/* ----------------------------- */
.light-section {
    background-color: #EAEAEA;
    color: #333;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.light-section .section-content {
    flex-direction: row;
}

/* ----------------------------- */
/* Dynamische Boxen für Bilder, Videos und Bilder selbst */
/* ----------------------------- */
.image-content {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.image-content img,
.image-content video,
.dynamic-box {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 10px;
    box-shadow: none;
    margin: 0 auto;
}

/* ----------------------------- */
/* Button Styles */
/* ----------------------------- */
.text-content {
    text-align: left;
    margin-bottom: 20px;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Punkt 1: Sanfte Animationen für Buttons */
.btn-primary, .btn-secondary {
    background-color: #FF5400;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Erlaubt den Umbruch */
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #E04800;
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #FF5400;
    color: #FF5400;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #FF5400;
    color: white;
    transform: translateY(-5px);
}

/* Punkt 2: Verbesserte Typografie */
h1 {
    font-size: 3rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

h2 {
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* Abstand zwischen Absätzen */
p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Abstand zwischen Listenpunkten */
/* Bulletpoints in Orange und keine doppelten Punkte */
.benefits-list {
    list-style: none; /* Entfernt die Standard-Bulletpoints */
    padding-left: 0; /* Verhindert zusätzlichen Einzug */
}

.benefits-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.benefits-list li::before {
    content: "•";
    color: #FF5400; /* Nur Bulletpoints in Orange */
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Punkt 5: Hover-Effekte für Bilder */
.image-content img:hover, .image-content video:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* ----------------------------- */
/* Text- und Bildausrichtung */
/* ----------------------------- */
.section-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.text-content {
    flex-basis: 50%;
    margin-left: auto;
    margin-right: auto;
    max-width: 550px;
    text-align: left; /* Text linksbündig */
}

/* Optimierungen für mobile Geräte */

/* Container-Optimierungen für mobile Ansicht */
@media (max-width: 768px) {
    .container {
        width: 100%; /* Volle Breite für kleinere Bildschirme */
        padding: 10px;
        flex-direction: column;
    }

    .light-section .section-content {
        flex-direction: column;
    }

    .header-section h1 {
        font-size: 2.5rem;
        padding: 0 20px; /* Reduziertes Padding */
    }

    .main-content h1 {
        padding: 0 20px; /* Reduziertes Padding */
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }

    .text-content, .image-content, .form-group {
        flex-basis: 100%;
        margin-right: 0; /* Entfernt rechten Rand */
        padding: 0; /* Engeres Padding */
    }

    .section-content {
        flex-direction: column;
    }

    .benefits-list {
        text-align: left;
        padding-left: 20px;
    }

    .benefits-list li {
        display: flex;
        align-items: center;
    }

    .benefits-list li::before {
        font-size: 1.5rem;
        margin-right: 10px;
    }

    /* Bildgrößen anpassen */
    .image-content img {
        max-width: 90%; /* Anpassung für kleinere Bildschirme */
        margin: 10px auto;
        display: block;
    }

    /* Spezifische Anpassungen für das Video */
    .light-section .image-content video {
        max-width: 90%; /* Anpassung für kleinere Bildschirme */
        margin: 10px auto;
        display: block;
    }

    /* Footer Anpassungen für mobile Ansicht */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

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

    /* Anpassungen für die dunkle Sektion */
    .dark-section {
        padding: 60px 20px; /* Reduziertes Padding */
        align-items: center; /* Zentriert die Inhalte */
        text-align: center; /* Zentriert den Text */
    }

    .dark-section h1 {
        font-size: 2rem; /* Kleinere Schriftgröße */
        padding: 0; /* Entfernt zusätzliches Padding */
        max-width: 100%; /* Maximale Breite */
    }

    .dark-section p {
        font-size: 1rem; /* Kleinere Schriftgröße */
        padding: 0 10px; /* Geringes Padding */
        max-width: 100%; /* Maximale Breite */
    }

    .dark-section .btn-primary, .dark-section .btn-secondary {
        width: 100%; /* Button nimmt die volle Breite ein */
        padding: 15px; /* Angepasstes Padding */
        font-size: 1rem; /* Kleinere Schriftgröße */
        max-width: 300px; /* Begrenzung der maximalen Breite */
    }
}

/* Verbesserungen für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .main-content h1 {
        padding: 0 10px; /* Weiter reduziertes Padding */
        font-size: 1.8rem; /* Kleinere Schriftgröße */
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px; /* Reduziertes Padding */
        font-size: 0.9rem; /* Kleinere Schriftgröße */
    }

    .top-bar {
        padding: 5px 20px;
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
    }

    .header-section .logo {
        max-width: 120px; /* Kleinere Logogröße */
    }

    p {
        font-size: 0.9rem; /* Kleinere Schrift für Absätze */
    }

    .image-content img,
    .image-content video { /* Neue Regel für Video */
        max-width: 90%; /* Verkleinert das Bild bei kleineren Bildschirmen */
        margin: 10px auto;
        display: block;
    }

    /* Weitere Anpassungen für die dunkle Sektion */
    .dark-section {
        padding: 40px 10px; /* Weiter reduziertes Padding */
        align-items: center; /* Zentriert die Inhalte */
        text-align: center; /* Zentriert den Text */
    }

    .dark-section h1 {
        font-size: 1.8rem; /* Noch kleinere Schriftgröße */
    }

    .dark-section p {
        font-size: 0.9rem; /* Noch kleinere Schriftgröße */
    }

    .dark-section .btn-primary, .dark-section .btn-secondary {
        padding: 12px 20px; /* Reduziertes Padding */
        font-size: 0.9rem; /* Kleinere Schriftgröße */
        max-width: 300px; /* Begrenzung der maximalen Breite */
    }
}

/* Links und Telefonnummer im Orange (#FF5400) */
a, .contact-info a {
    color: #FF5400;
    text-decoration: none;
}

a:hover, .contact-info a:hover {
    color: #E04800;
}

/* ----------------------------- */
/* Footer Styles */
/* ----------------------------- */
.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    min-height: 300px;
    max-height: 500px;
    padding: 20px 0;
}

/* Footer-Inhalte flexibel */
.footer-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Box-Styles */
.footer-box {
    margin-bottom: 20px;
}

/* Logo */
.footer-logo {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Links */
.footer-links {
    flex-grow: 1;
    text-align: left;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-links li::before {
    content: "•";
    color: #FF5400;
    position: absolute;
    left: 0;
    top: 0;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    margin-top: auto;
    width: 100%;
}

/* Desktop-Anpassungen */
@media (min-width: 1024px) {
    .footer-section {
        padding: 40px 0;
        max-height: 400px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-box {
        margin-bottom: 0;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links li::before {
        left: 0;
    }

    .footer-links li {
        padding-left: 25px;
    }

    .footer-copyright {
        text-align: center;
        margin-top: auto;
    }
}

/* ----------------------------- */
/* Kontaktformular */
/* ----------------------------- */
.contact-form-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-header h1 {
    font-size: 2.5rem;
    color: #252E34;
}

.contact-form-header p {
    color: #252E34;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Flexbox für zweispaltiges Layout */
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-right: 20px;
}

.form-group:last-child {
    margin-right: 0;
}

label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #252E34;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f7f7f7;
    color: #333;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

textarea {
    height: 150px;
}

/* Zentrierung und Flexbox-Styling für Felder */
.form-row {
    display: flex;
    gap: 20px;
}

.full-width {
    width: 100%;
}

/* Button Styling */
.btn-primary {
    background-color: #FF5400;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    display: block;
    margin: 0 auto;
    transition: background-color 0.3s ease;
    white-space: normal; /* Erlaubt den Umbruch */
    max-width: 300px; /* Begrenzung der maximalen Breite */
    width: 100%; /* Volle Breite innerhalb des Containers */
    text-align: center;
}

.btn-primary:hover {
    background-color: #E04800;
}

/* Checkbox und Radio Buttons */
input[type="checkbox"], input[type="radio"] {
    margin-right: 10px;
}

/* Zentrierung des Buttons */
.btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* Flexbox für Desktop: Bild links, Formular rechts */
.section-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Bildgröße im Desktop-Modus */
.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Feedback Message Styling */
.feedback-message {
    padding: 15px;
    border-radius: 4px;
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
    text-align: center;
    font-weight: bold;
    display: none;  /* Standard: versteckt */
    position: relative;
    background-color: #4CAF50;  /* Grün für Erfolg */
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Animation für das Erscheinen */
.feedback-message.show {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

/* ----------------------------- */
/* Mobile Ansicht */
/* ----------------------------- */
/* Die bereits vorhandenen Media Queries decken die mobile Ansicht ab */

/* Kleinere Bildschirme (z.B. iPhone SE) */
/* Diese Media Query ist bereits integriert */
.workspace {
    position: relative;
    width: 100%;
    height: calc(100vh - 200px);
    overflow: scroll;
    background-color: #f0f0f0;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.agent-card {
    position: absolute;
    width: 200px;
    height: 150px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    margin: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.agent-card:hover {
    transform: scale(1.05);
}
/* Zusätzliche Styles für die Impressum-Seite */
.legal-section {
    padding: 60px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.legal-content h1 {
    color: #252E34;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.legal-content h2 {
    color: #252E34;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-text {
    line-height: 1.8;
}

.legal-text p {
    margin-bottom: 20px;
    color: #333;
}

.legal-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-text ul li {
    margin-bottom: 10px;
    color: #333;
}

/* Aktiver Link im Footer */
.footer-links .active {
    color: #FF5400;
}
/* Anpassungen nur für die Datenschutzseite */
@media (max-width: 768px) {
    .datenschutz .legal-section {
        padding: 40px 20px; /* Reduziertes Padding für mehr Text */
    }

    .datenschutz .legal-text p,
    .datenschutz .legal-text ul {
        font-size: 0.95rem; /* Kleinere Schriftgröße für Absätze und Listen */
        margin-bottom: 15px; /* Weniger Abstand zwischen den Absätzen und Listen */
    }

    .datenschutz .legal-text ul li {
        margin-bottom: 10px; /* Engerer Abstand zwischen Listenelementen */
    }

    .datenschutz .legal-content h1 {
        font-size: 2rem; /* Kleinere Überschrift für mobile Ansicht */
        margin-bottom: 20px;
    }

    .datenschutz .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px; /* Geringerer Abstand */
    }

    .datenschutz .legal-text .intro {
        font-size: 1rem; /* Kleinere Schriftgröße für die Einleitung */
    }

    /* Zentrierung von Buttons auf Mobilgeräten */
    .datenschutz .btn-primary {
        width: 100%; /* Buttons nehmen die volle Breite ein */
        padding: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .datenschutz .legal-section {
        padding: 30px 10px; /* Noch engeres Padding für kleinere Bildschirme */
    }

    .datenschutz .legal-text p,
    .datenschutz .legal-text ul {
        font-size: 0.85rem; /* Noch kleinere Schriftgröße für Absätze und Listen */
        margin-bottom: 10px; /* Weniger Abstand zwischen den Absätzen */
    }

    .datenschutz .legal-text ul li {
        margin-bottom: 8px; /* Weniger Abstand für Listen */
    }

    .datenschutz .legal-content h1 {
        font-size: 1.8rem; /* Kleinere Überschrift */
        margin-bottom: 15px;
    }

    .datenschutz .legal-content h2 {
        font-size: 1.3rem; /* Kleinere Zwischenüberschrift */
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Button-Größe anpassen */
    .datenschutz .btn-primary {
        padding: 12px;
        font-size: 0.9rem;
    }
}


/*18Nov24*/
div#mobilecontact {
    display: none !important;
}
@media(max-width:768px){
    div#mobilecontact {display:block !important;}
    div#webcontact{
        display: none !important;
    }
}




