/* General Styling */
:root {
    --primary-color: #336699;
    --secondary-color: #333;
    --background-color: #ffffff;
    --text-color: #4a4a4a;
    --light-gray: #f4f4f4;
    --font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

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

h1, h2, h3 {
    color: var(--secondary-color);
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    height: 60px; /* Feste Höhe wie in der App */
    padding: 0 15px; /* Vertikales Padding entfernen, horizontales beibehalten/anpassen */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
}

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

.logo {
    height: 40px;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

header nav li {
    margin-left: 30px;
}

header nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
}

.login-container {
    position: relative;
}

.login-icon-button {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-color);
}

.login-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px;
    width: 250px;
}

.login-dropdown form {
    display: flex;
    flex-direction: column;
}

.login-dropdown input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-dropdown .login-submit-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
    overflow: hidden;
}

#bgvideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.cta-button-main {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button-main:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}


/* Services Section */
.services {
    background-color: var(--light-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    transition: transform 0.3s;
}

/* Korrektur: Stellt sicher, dass ALLE Texte einen Schatten haben */
.service-item-content h3,
.service-item-content p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* NEU: Stile für die Pill-Buttons am unteren Rand der Kachel */
.card-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-item:hover .card-actions {
    opacity: 1;
}

.action-pill {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.action-pill:hover {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: white;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.action-pill.primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.action-pill.primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.4s, opacity 0.4s; /* opacity zur transition hinzufügen */
    opacity: 0.8; /* Bild standardmäßig leicht transparent */
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.4s, opacity 0.4s; /* opacity zur transition hinzufügen */
    opacity: 0.8; /* Bild standardmäßig leicht transparent */
}

.service-item:hover .service-item-bg-image {
    transform: scale(1.05);
    opacity: 1; /* Bei Hover voll sichtbar */
}

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

.service-item-content {
    padding: 30px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    position: relative;
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* NEU: Fügt den Textschatten auch für den Absatztext hinzu */
.service-item-content p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* About Us Section */
.about-us-content {
    display: grid; /* Umstellung auf Grid für mehr Flexibilität */
    grid-template-columns: 1fr 2fr 1fr; /* Drei Spalten: Bild, Text, Siegel */
    align-items: center;
    gap: 50px;
}

.about-us-text {
    /* Keine Änderung nötig, passt sich dem Grid an */
}

.about-us-image {
    /* Keine Änderung nötig, passt sich dem Grid an */
}

.about-us-image img {
}

/* NEU: Stile für das Siegel */
.about-us-seal {
    text-align: center;
}

.about-us-seal img {
    max-width: 180px;
}

.about-us-image img {
    width: 100%;
    border-radius: 10px;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form-container h2 {
    margin-top: 0;
}

.contact-form-container p {
    text-align: center;
    margin-bottom: 30px;
}

.contact-form-container form input,
.contact-form-container form select,
.contact-form-container form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form-container form button {
    width: 100%;
}

.custom-file-input {
    display: none;
}

.custom-file-label {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 12px;
    display: block;
    cursor: pointer;
    text-align: center;
    margin-bottom: 15px;
}

.form-check-public {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-check-public input {
    width: auto;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #a0a0a0;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) { /* Breiterer Breakpoint für bessere Darstellung */
    .main-nav { /* Die Desktop-Navigation ausblenden */
        display: none;
    }
    .mobile-menu-toggle {
        display: block; /* Den Burger-Button einblenden */
    }

    /* KORREKTUR FÜR HORIZONTALEN SCROLL-BUG */
    .about-us-content {
        grid-template-columns: 1fr; /* Nur noch eine Spalte, Elemente stapeln sich */
        text-align: center; /* Text zentrieren für schönere Optik */
    }
    .about-us-image {
        grid-row: 1; /* Bild soll oben sein */
    }
    .about-us-text {
        grid-row: 2;
    }
    .about-us-seal {
        grid-row: 3;
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}
/* HINZUGEFÜGT: Styles für das mobile Menü */
.mobile-nav-container {
    display: none; /* Standardmäßig versteckt */
    position: absolute;
    top: 100%; /* Direkt unter dem Header */
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 15px;
}
.mobile-nav-container.active {
    display: block; /* Wird per JS angezeigt */
}
.mobile-nav-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.mobile-nav-container li {
    padding: 10px 0;
}
.mobile-nav-container a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
}
/* --- Stile für die dedizierte Login-Seite --- */
.login-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 40px;
    background-color: var(--light-gray);
    min-height: 100vh;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
}

.login-box h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 600;
}

.login-box .title-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 30px;
}

.login-box .form-control {
    height: 48px;
    padding: 10px 15px;
    text-align: center;
    font-size: 1rem;
}

.login-box .form-check {
    text-align: left;
    padding-left: 2rem;
}

.login-box .btn-login-submit {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-box .btn-login-submit:hover {
    background-color: #2a5279; /* Dunklere Variante von #336699 */
}
/* Strengths Section */
.strengths {
    background-color: #fff;
    text-align: center;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.strength-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background-color: #f0f6fa;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.strength-item:hover i {
    background-color: var(--primary-color);
    color: #fff;
}

.strength-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
/* --- Stile für Flash-Nachrichten auf öffentlichen Seiten --- */
.flash-messages-container {
    /* Setzt einen Abstand nach oben, damit Nachrichten nicht von der fixierten Navbar verdeckt werden. */
    padding-top: 100px;
    /* Setzt die Nachrichten über den normalen Inhalt, falls es Überlappungen gibt. */
    position: relative;
    z-index: 1010;
}

.alert-public {
    text-align: center;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 0 auto 20px auto;
    max-width: 600px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    font-weight: 500;
}

.alert-public-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-public-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-public-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-public-warning {
    background-color: #fff3cd;
    color: #856404;
}
/* --- HINZUGEFÜGT: reCAPTCHA-Badge ausblenden --- */
/* Dies verhindert, dass das Badge die Klick-Events anderer Elemente stört. */
.grecaptcha-badge {
    visibility: hidden !important;
}


/* --- NEUE, VERBESSERTE STILE FÜR DEN MODUS-UMSCHALTER --- */
.mode-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 25px; /* Abstand zum Login-Icon */
}
.mode-switch {
    position: relative;
    display: inline-block;
    width: 210px; /* Breite für beide Texte anpassen */
    height: 34px;
}
.mode-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.mode-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e9ecef; /* Helleres Grau für den Hintergrund */
    border-radius: 34px;
    transition: .4s;
}
.mode-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 100px; /* Breite des inneren Kreises */
    left: 4px;
    bottom: 4px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 26px;
    transition: .4s;
}
.mode-switch input:checked + .slider {
    background-color: var(--primary-color); /* Blau, wenn aktiv */
}
.mode-switch input:checked + .slider:before {
    transform: translateX(102px); /* Bewegung des Kreises */
}
.mode-switch .switch-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    user-select: none;
    pointer-events: none;
    transition: color .4s;
}
.mode-switch .label-left {
    left: 15px;
    color: #333; /* Dunkle Schrift für inaktiven Zustand */
}
.mode-switch .label-right {
    right: 15px;
    color: #a0a0a0; /* Helle Schrift für inaktiven Zustand */
}
.mode-switch input:checked ~ .label-left {
    color: #fff; /* Helle Schrift auf blauem Grund */
}
.mode-switch input:checked ~ .label-right {
    color: #333; /* Dunkle Schrift im aktiven Kreis */
}
/* --- Farben für den Maschinenbau-Modus --- */
body.mode-maschinenbau .cta-button-main,
body.mode-maschinenbau .strength-item:hover i {
    background-color: #6c757d; /* Bootstrap Grau */
}
body.mode-maschinenbau .cta-button-main:hover {
    background-color: #5a6268; /* Dunkleres Grau */
}
body.mode-maschinenbau .strength-item i,
body.mode-maschinenbau h2::after {
    background: #e9ecef; /* Helles Grau */
    color: #6c757d;
}
body.mode-maschinenbau .service-item i {
    color: #6c757d;
}
/* NEUE REGELN FÜR DEN FOOTER */
body.mode-maschinenbau #standort h3,
body.mode-maschinenbau #standort .fas {
    color: #6c757d !important;
}

/* Anpassung für mittelgroße Bildschirme, um Umbruch in der Navi zu vermeiden */
@media (min-width: 993px) and (max-width: 1150px) {
    header nav a {
        font-size: 0.8rem; /* Schriftgröße verkleinern */
    }
    header nav li {
        margin-left: 10px; /* Abstand zwischen den Links verringern */
    }
}

/* --- Korrekturen für die mobile Kopfzeile --- */
@media (max-width: 767px) {
    /* NEU: Schrift & Abstände für die Hauptnavigation anpassen */
    header nav a {
        font-size: 0.8rem;
    }
    header nav li {
        margin-left: 10px; /* Du kannst diesen Wert verkleinern (z.B. 10px), falls es immer noch zu eng ist */
    }

    /* Erzwingt, dass die Desktop-Navigation auf Handys GANZ sicher ausgeblendet ist */
    .main-nav {
        display: none !important;
    }

    header {
        padding: 5px 0; /* Kopfzeile so schmal wie möglich machen */
    }

    header .container {
        flex-wrap: nowrap;
        padding: 0 5px; /* Weniger seitlichen Abstand für mehr Platz */
    }

    .header-right {
        display: flex;
        align-items: center;
    }

    .logo {
        height: 30px; /* Logo noch etwas kleiner */
    }

    /* Mobiles Menü so kompakt wie möglich */
    .mobile-nav-container {
        padding: 5px 0;
    }
    .mobile-nav-container li {
        padding: 0;
    }
    .mobile-nav-container a {
        font-size: 0.8rem;
        padding: 5px 0;
        display: block;
    }

    /* Schalter anpassen */
    .d-flex.align-items-center.mr-3 {
        margin-right: 10px !important;
    }
    .custom-switch {
        transform: scale(0.85);
    }

    /* Icons anpassen */
    .login-icon-button, .mobile-menu-toggle {
        flex-shrink: 0;
        font-size: 1.6rem;
    }

    /* Schriftgrößen auf den Service-Unterseiten anpassen (JETZT MIT !important) */
    .service-detail-header h1 {
        font-size: 2.2rem !important; /* Hauptüberschrift verkleinern */
    }
    .service-detail-content h2 {
        font-size: 1.8rem !important; /* Unter-Überschriften verkleinern */
        margin-bottom: 30px !important;
    }
}
/* --- Stile für klickbare Service-Boxen --- */
.service-item-link {
    text-decoration: none;
    color: inherit;
}
.service-item .learn-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}
.service-item:hover .learn-more {
    opacity: 1;
}

/* --- Stile für die Service-Detailseite --- */
.service-detail-header {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}
.service-detail-header h1 {
    font-size: 3rem;
    color: white;
}
.service-detail-content {
    padding: 80px 0;
}
.icon-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.icon-box .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 50px;
    text-align: center;
}
.service-sidebar {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 120px;
}
/* --- Korrektur für Header-Schrift auf Service-Seiten --- */
.service-detail-header h1,
.service-detail-header .lead {
    color: #ffffff;
}
/* --- Stile für Job-Anzeigen Fader --- */
.job-ticker-section {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}
.job-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.job-ticker-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.1rem;
}
.job-ticker-link {
    font-size: 1.1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    display: inline-block; /* Stellt sicher, dass die Breite angewendet wird */
    min-width: 280px;      /* Gibt dem Text einen festen Platz, verhindert Springen */
    text-align: left;      /* Richtet den Text innerhalb des Platzes links aus */
}
body.mode-maschinenbau .job-ticker-link {
    color: #6c757d; /* Grau im Maschinenbau-Modus */
}
.job-ticker-link:hover {
    text-decoration: underline;
}
#job-ticker-text {
    transition: opacity 0.5s ease-in-out;
}
/* --- Stile für die Karriere-Seite --- */
.job-posting-card {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.job-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 25px;
    width: 60px;
    text-align: center;
}
body.mode-maschinenbau .job-icon {
    color: #6c757d;
}
.job-details {
    flex-grow: 1;
}
.job-title {
    margin-top: 0;
    margin-bottom: 5px;
}
.job-location {
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 10px;
}
.job-text {
    margin-bottom: 0;
}
/* --- Stellt sicher, dass Textfelder nicht vergrößerbar sind --- */
.contact-form-container textarea {
    resize: none;
}
/* --- Korrektur für Dropdown-Anzeige im Kontaktformular --- */
.contact-form-container form select.form-control {
    height: 48px; /* Stellt sicher, dass die Höhe zu den anderen Feldern passt */
}
/* --- Stile für die vollflächige Google Maps Karte --- */
.full-width-map-section {
    width: 100%;
    height: 450px; /* Höhe der Karte anpassen */
}

.full-width-map-section iframe {
    width: 100%;
    height: 100%;
}

/* NEUE Stile für die Kontakt-Infos in der Top-Leiste (rechts, gestapelt) */
.top-contact-info {
    margin-left: 1rem; /* Abstand zum Login-Icon */
    font-size: 0.7rem; /* Deutlich kleiner */
    line-height: 1.3; /* Zeilenhöhe anpassen */
}

.top-contact-info a {
    display: block; /* Stellt sicher, dass die Links untereinander stehen */
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap; /* Verhindert Zeilenumbruch in der Telefonnummer */
    transition: color 0.2s;
}

.top-contact-info a:hover {
    color: var(--primary-color);
}

.top-contact-info i {
    color: var(--primary-color);
    margin-right: 0.4rem;
}

/* Auf mittelgroßen und kleinen Bildschirmen ausblenden */
@media (max-width: 992px) {
    .top-contact-info {
        display: none;
    }
}

/* Stile für den schwebenden WhatsApp-Button */
.whatsapp-overlay-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* Offizielles WhatsApp Grün */
    color: #FFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-overlay-button:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* --- Stile für den "Was wir bieten"-Abschnitt auf der Karriere-Seite --- */
.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* --- Stile für den neu gestalteten "Über uns"-Bereich --- */
.about-us-text h2 {
    text-align: left;
}

.about-us-text h2::after {
    margin: 20px 0 0; /* Strich linksbündig ausrichten */
}

.about-us-image img {
    width: 100%;
    border-radius: 10px;
    /* box-shadow wurde hier entfernt, um den Fade-Effekt nicht zu stören */
}

/* --- Hover-Effekt für Wellhub-Link auf Karriere-Seite --- */
.wellhub-link-hover {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.wellhub-link-hover:hover {
    transform: scale(1.05); /* Leicht vergrößern */
}

/* --- NEU: Stile für den Konfigurator --- */
.config-summary {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    padding: 1.5rem;
    top: 100px; /* Abstand zur oberen Navbar */
}
.config-summary h4 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.config-summary hr {
    margin: 1rem 0;
}

/* Toggle-Schalter Stile (ersetzt die normalen Checkboxen) */
.form-check.form-switch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    margin-bottom: 0.5rem;
}
.form-check.form-switch .form-check-label {
    margin-right: auto;
}
.form-check.form-switch .price-tag {
    color: #28a745; /* Grün */
    font-weight: 600;
    margin-right: 1rem;
    font-size: 0.9rem;
}
.form-check.form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin-left: 0;
    float: none; /* Wichtig um Bootstrap-Standard zu überschreiben */
}

/* Eigene Stile für die Radio-Buttons zur Hauptauswahl */
.form-check-input-config {
    display: none; /* Versteckt die eigentlichen Radio-Buttons */
}
.form-check-input-config + label {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: 2px solid #dee2e6;
    border-radius: .375rem;
    cursor: pointer;
    margin-right: 1rem;
    transition: all 0.2s ease-in-out;
}
.form-check-input-config:checked + label {
    border-color: var(--primary-color);
    background-color: #f0f6fa;
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Anpassungen für Konfigurator-Buttons */
@media (max-width: 576px) {
    .service-detail-header .btn-lg {
        font-size: 0.9rem; /* Kleinere Schrift für die oberen 3 Buttons */
        padding: 0.6rem 0.8rem; /* Weniger Innenabstand */
    }

    .configurator-form-section .btn.cta-button-main {
        font-size: 1rem; /* Kleinere Schrift für den Angebots-Button */
        padding: 0.8rem 1rem; /* Weniger Innenabstand */
    }
}

/* --- NEU: Stile für die Sticky Summary Box auf Mobilgeräten --- */
@media (max-width: 991.98px) {
    /* Diese Regeln überschreiben Bootstrap's .sticky-top nur auf Mobilgeräten, wenn unsere JS-Klasse aktiv ist */
    .config-summary.is-sticky {
        position: fixed !important; /* Erzwingt die Positionierung am Viewport */
        top: auto !important; /* Deaktiviert das "oben kleben" von sticky-top */
        bottom: 0 !important; /* Klebt die Box stattdessen unten fest */
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-radius: 0;
        border-top: 1px solid #dee2e6;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 0.75rem 1rem;
    }

    /* Verstecke ALLE direkten Kinder der sticky Box... */
    .config-summary.is-sticky > * {
        display: none;
    }

    /* ...und zeige dann NUR die Gesamt-Zeile wieder an und style sie. */
    .config-summary.is-sticky .h4 {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0;
        font-size: 1.1rem;
    }
}

/* Stile für den schwebenden WhatsApp-Button */
.whatsapp-overlay-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* Offizielles WhatsApp Grün */
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 999; /* WICHTIG: Muss niedriger sein als der z-index der Summary-Box (1000) */
    transition: transform 0.2s ease-in-out;
}

.whatsapp-overlay-button:hover {
    transform: scale(1.1);
    color: #FFF;
}

.price-tag.inclusive {
    color: var(--primary-color);
    font-weight: 600;
}

/* Versteckt den Haken bei deaktivierten, aber aktivierten Bootstrap-Switches (FINALE VERSION) */
.custom-switch .custom-control-input:checked:disabled ~ .custom-control-label::after {
    background-image: none !important;
}