/* =============================================================================
   EK-Designsystem (Grundwerte). Alle Widgets nutzen diese Variablen.
   Ecken: eckig (0). Rund nur, was inhaltlich rund ist (Avatare, Punkte, Ampel).
   ============================================================================= */
:root {
    --ek-blau: #004494;
    --ek-blau-dunkel: #003375;
    --ek-rot: #E32119;
    --ek-rot-dunkel: #b51a14;
    --ek-text: #1d1d1b;
    --ek-text-muted: #555;
    --ek-linie: #e7e7e7;
    --ek-flaeche: #f4f4f4;
    --ek-schatten: 0 4px 20px rgba(0, 0, 0, .08);
    --ek-schatten-hover: 0 10px 30px rgba(0, 0, 0, .12);
    --ek-radius: 0;
}

.process-timeline {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    background: linear-gradient(to right, #e32119, #004494);
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

/* NEU: Verhindert, dass das Link-Tag das Layout zerschießt */
a.process-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.process-number {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: white;
    border: 5px solid #e32119;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 900;
    color: #e32119;
    box-shadow: var(--ek-schatten);
    transition: all 0.3s;
    position: relative;
}

.process-step:nth-child(even) .process-number {
    border-color: #004494;
    color: #004494;
}

.process-number:hover {
    transform: scale(1.1);
    box-shadow: var(--ek-schatten-hover);
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    color: var(--ek-text);
}

.process-step p {
    color: var(--ek-text-muted);
    line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .process-timeline {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .process-number {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .process-step h3 {
        font-size: 1.3rem;
    }
}

/* =========================================
   EK FÖRDER CHECK WIDGET
========================================= */

.ek-foerder-check-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 0;
    box-shadow: var(--ek-schatten);
    overflow: hidden;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}

.ek-foerder-check-widget * { box-sizing: border-box; }

.ek-foerder-check-widget .progress-container {
    height: 6px;
    background: #eee;
    width: 100%;
}
.ek-foerder-check-widget .progress-bar {
    height: 100%;
    background: #E32119;
    width: 25%;
    transition: width 0.4s ease;
}

.ek-foerder-check-widget .ek-step {
    padding: 30px;
    display: none;
    animation: ekFadeIn 0.4s ease-out;
}
.ek-foerder-check-widget .ek-step.active { display: block; }

.ek-foerder-check-widget .ek-question {
    font-size: 22px;
    color: var(--ek-text);
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.ek-foerder-check-widget .ek-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.ek-foerder-check-widget .ek-option {
    background: #fff;
    border: 2px solid #e5e7eb;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    position: relative;
}
.ek-foerder-check-widget .ek-option:hover {
    border-color: #004494;
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: var(--ek-schatten-hover);
}
.ek-foerder-check-widget .ek-option:active {
    transform: scale(0.98);
    background: #eef2ff;
}

/* Fix für Elementor Icons (sowohl FontAwesome <i> als auch Elementor <svg>) */
.ek-foerder-check-widget .ek-option i,
.ek-foerder-check-widget .ek-option svg {
    font-size: 24px;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    color: #E32119;
    fill: #E32119; /* Macht das SVG rot */
    flex-shrink: 0;
    margin-right: 20px; /* Ersetzt die alte 45px-Breite für korrekten Abstand */
    display: inline-block;
}
.ek-foerder-check-widget .ek-option div { flex-grow: 1; }

.ek-foerder-check-widget .ek-option-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--ek-text);
    display: block;
}
.ek-foerder-check-widget .ek-option-sub {
    font-size: 13px;
    color: var(--ek-text-muted);
    display: block;
    font-weight: 400;
    margin-top: 3px;
}

/* Ergebnis */
.ek-foerder-check-widget .result-box {
    text-align: center;
    padding: 10px 0;
}
.ek-foerder-check-widget .result-amount {
    font-size: 52px;
    color: #E32119;
    font-weight: 900;
    margin: 15px 0;
    line-height: 1;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}
.ek-foerder-check-widget .result-sub {
    font-size: 15px;
    color: var(--ek-text-muted);
    margin-bottom: 30px;
    background: #f9fafb;
    padding: 12px;
    border-radius: 0;
    display: inline-block;
    border: 1px solid var(--ek-linie);
    line-height: 1.4;
}
.ek-foerder-check-widget .badge-success {
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.ek-foerder-check-widget a.ek-btn-primary {
    background-color: #E32119 !important;
    color: white !important;
    border: none !important;
    padding: 18px 30px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    text-align: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial !important;
    margin-bottom: 0 !important;
}
.ek-foerder-check-widget a.ek-btn-primary:hover {
    background-color: #004494 !important;
    transform: none;
    box-shadow: none !important;
    color: white !important;
}

.ek-foerder-check-widget button.ek-btn-ghost {
    background-color: transparent !important;
    color: var(--ek-text-muted) !important;
    border: 1px solid #ddd !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    width: 100% !important;
    display: block !important;
    margin-top: 15px !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial !important;
}
.ek-foerder-check-widget button.ek-btn-ghost:hover {
    border-color: #E32119 !important;
    color: #E32119 !important;
    background: #fff !important;
}

.ek-foerder-check-widget button.link-back {
    background: none !important;
    border: none !important;
    color: var(--ek-text-muted) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    font-size: 14px !important;
    padding: 5px !important;
    width: auto !important;
    display: inline-block !important;
}
.ek-foerder-check-widget button.link-back:hover { color: var(--ek-text) !important; }

/* Animationen */
@keyframes ekFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Spinner */
.ek-foerder-check-widget .analyzing { text-align: center; padding: 40px; }
.ek-foerder-check-widget .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #E32119;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: ekSpin 1s linear infinite;
    margin: 0 auto 25px auto;
}
@keyframes ekSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* =========================================
   EK GERÄTE RETTER WIDGET
========================================= */

.ek-gerate-retter-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    max-width: 800px;
    margin: auto;
    background: #fff;
    border-radius: 0;
    box-shadow: var(--ek-schatten);
    overflow: hidden;
    border: 1px solid var(--ek-linie);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ek-gerate-retter-widget * { box-sizing: border-box; }

@media (min-width: 768px) {
    .ek-gerate-retter-widget {
        flex-direction: row;
    }
}

.ek-gerate-retter-widget .ek-bonus-visual {
    background: linear-gradient(135deg, #004494 0%, #003375 100%);
    padding: 40px 30px;
    color: white;
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ek-gerate-retter-widget .ek-bonus-visual::before {
    content: '\f0ad'; /* Wrench Icon */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    color: rgba(255,255,255,0.05);
    transform: rotate(15deg);
}

.ek-gerate-retter-widget .ek-bonus-badge {
    background: #E32119;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    padding: 5px 15px;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 20px;
    align-self: flex-start;
    box-shadow: var(--ek-schatten);
}

.ek-gerate-retter-widget .ek-bonus-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-gerate-retter-widget .ek-bonus-text {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 30px;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-gerate-retter-widget .ek-bonus-text p { margin-top: 0; }

.ek-gerate-retter-widget .ek-steps {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ek-gerate-retter-widget .ek-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-gerate-retter-widget .ek-step-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Fix für Elementor Icons in den Steps */
.ek-gerate-retter-widget .ek-step-icon i,
.ek-gerate-retter-widget .ek-step-icon svg {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    color: white !important;
    fill: white !important;
    display: inline-block;
}

.ek-gerate-retter-widget .ek-bonus-calc {
    padding: 40px 30px;
    flex: 1;
    background: var(--ek-flaeche);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ek-gerate-retter-widget .calc-title {
    font-size: 20px;
    color: var(--ek-text);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-gerate-retter-widget .slider-container {
    margin-bottom: 30px;
}

.ek-gerate-retter-widget input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}

.ek-gerate-retter-widget input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #E32119;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(227, 33, 25, 0.4);
    border: 2px solid white;
}

.ek-gerate-retter-widget .slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--ek-text-muted);
    font-size: 13px;
    font-weight: 600;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

/* Ergebnis Box */
.ek-gerate-retter-widget .savings-box {
    background: white;
    border: 2px solid #eef2f6;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.ek-gerate-retter-widget .savings-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-gerate-retter-widget .savings-label { font-size: 15px; color: var(--ek-text-muted); }
.ek-gerate-retter-widget .savings-value { font-size: 18px; font-weight: 700; color: var(--ek-text); }

.ek-gerate-retter-widget .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-gerate-retter-widget .you-pay-label {
    font-size: 16px;
    font-weight: 700;
    color: #004494;
}

.ek-gerate-retter-widget .you-pay-value {
    font-size: 38px;
    font-weight: 900;
    color: #004494;
    line-height: 1;
}

.ek-gerate-retter-widget .bonus-tag {
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 0;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    white-space: nowrap;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
    text-transform: uppercase;
}

/* CTA */
.ek-gerate-retter-widget a.ek-repair-btn {
    background-color: #E32119 !important;
    color: white !important;
    border: none !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    text-align: center !important;
    border-radius: 0 !important;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial !important;
}

.ek-gerate-retter-widget a.ek-repair-btn:hover {
    background-color: var(--ek-rot-dunkel) !important;
    transform: none;
}

.ek-gerate-retter-widget .legal-note {
    font-size: 11px;
    color: var(--ek-text-muted);
    text-align: center;
    margin-top: 15px;
    line-height: 1.3;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-gerate-retter-widget .legal-note a { color: var(--ek-text-muted); text-decoration: underline; }

/* =========================================
   EK ERSTE HILFE WIDGET
========================================= */

.ek-erste-hilfe-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    max-width: 800px;
    margin: auto;
    background: #fff;
    box-shadow: var(--ek-schatten);
    border-radius: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.ek-erste-hilfe-widget * { box-sizing: border-box; }

/* Header */
.ek-erste-hilfe-widget .ek-ts-header {
    background: #E32119;
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.ek-erste-hilfe-widget .ek-ts-header h3 {
    margin: 0 0 5px 0;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ek-erste-hilfe-widget .ek-ts-header p {
    margin: 0;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
    font-size: 15px;
    color: #fff;
}

/* Header Icon Fix */
.ek-erste-hilfe-widget .header-icon-wrapper i,
.ek-erste-hilfe-widget .header-icon-wrapper svg {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
    color: white !important;
    fill: white !important;
}

/* Grid für Auswahl */
.ek-erste-hilfe-widget .ek-ts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 30px;
}

.ek-erste-hilfe-widget .ek-ts-card {
    border: 2px solid var(--ek-linie);
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Zwingt alles nach oben */
    height: 100%; /* Macht alle Karten in der Reihe gleich hoch */
}

.ek-erste-hilfe-widget .ek-ts-card:hover {
    border-color: #004494;
    background: #f4f8ff;
    transform: translateY(-3px);
    box-shadow: var(--ek-schatten-hover);
}

/* Feste Höhe für den Icon-Bereich, damit der Text immer am selben Punkt startet */
.ek-erste-hilfe-widget .ek-card-icon-wrapper {
    height: 50px;
    min-height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ek-erste-hilfe-widget .ek-ts-card h4 {
    margin: 0;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ek-text);
    text-transform: uppercase;
}

/* BULLETPROOF Elementor Icon Fix für die großen blauen Icons in den Karten */
.ek-erste-hilfe-widget .ek-card-icon-wrapper {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}
.ek-erste-hilfe-widget .ek-card-icon-wrapper > i,
.ek-erste-hilfe-widget .ek-card-icon-wrapper > svg,
.ek-erste-hilfe-widget .ek-card-icon-wrapper > span {
    font-size: 40px !important;
    width: 40px !important;
    height: 40px !important;
    color: #004494 !important;
    fill: #004494 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.ek-erste-hilfe-widget .ek-card-icon-wrapper svg path {
    fill: #004494 !important;
}

/* Detail Ansicht (Lösung) */
.ek-erste-hilfe-widget .ek-ts-solution {
    display: none;
    padding: 30px;
    background: var(--ek-flaeche);
    border-top: 1px solid var(--ek-linie);
    animation: slideDownTs 0.4s ease;
}
.ek-erste-hilfe-widget .ek-ts-solution.active { display: block; }

.ek-erste-hilfe-widget .ek-tip-box {
    background: #fff;
    border-left: 5px solid #004494;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--ek-schatten);
}

.ek-erste-hilfe-widget .ek-tip-title {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
    font-weight: 800;
    color: #004494;
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.ek-erste-hilfe-widget .ek-tip-content p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ek-text);
    margin: 0;
}

.ek-erste-hilfe-widget .ek-cta-text {
    text-align: center;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ek-text);
}

/* Haupt-Button (Notruf/Termin) */
.ek-erste-hilfe-widget a.ek-btn-emergency {
    background-color: #E32119 !important;
    color: white !important;
    text-decoration: none !important;
    padding: 15px 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
}

.ek-erste-hilfe-widget a.ek-btn-emergency:hover {
    background-color: #004494 !important;
    color: white !important;
    transform: none;
    box-shadow: none !important;
}

/* Button Icon Fix */
.ek-erste-hilfe-widget .btn-icon-wrapper i,
.ek-erste-hilfe-widget .btn-icon-wrapper svg {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    color: white !important;
    fill: white !important;
    display: inline-block;
}

/* Blauer Button Variante */
.ek-erste-hilfe-widget a.ek-btn-blue-start {
    background-color: #004494 !important;
}
.ek-erste-hilfe-widget a.ek-btn-blue-start:hover {
    background-color: #E32119 !important;
}

/* Zurück Button */
.ek-erste-hilfe-widget button.ek-btn-reset {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    color: var(--ek-text-muted) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial !important;
    font-size: 14px !important;
    width: 100% !important;
    padding: 10px !important;
    box-shadow: none !important;
    transition: color 0.3s ease !important;
}

.ek-erste-hilfe-widget button.ek-btn-reset:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #E32119 !important;
}

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

/* =========================================
   EK PV CHECK WIDGET
========================================= */

.ek-pv-check-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    max-width: 900px;
    margin: auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ek-schatten);
    box-sizing: border-box;
}

.ek-pv-check-widget * { box-sizing: border-box; }

@media (min-width: 768px) {
    .ek-pv-check-widget {
        flex-direction: row;
        min-height: 480px;
    }
}

/* Linke Seite: Eingabe */
.ek-pv-check-widget .pv-input-area {
    flex: 1;
    padding: 30px;
    background: var(--ek-flaeche);
    border-right: 1px solid var(--ek-linie);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ek-pv-check-widget .pv-step-title {
    color: #004494;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 0.5px;
}

/* Radio Buttons als Kacheln */
.ek-pv-check-widget .pv-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.ek-pv-check-widget .pv-option-label {
    flex: 1 1 calc(50% - 12px);
    cursor: pointer;
    margin: 0;
}

.ek-pv-check-widget .pv-radio { display: none; }

.ek-pv-check-widget .pv-card {
    border: 2px solid #ddd;
    background: white;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--ek-text-muted);
}

.ek-pv-check-widget .pv-card:hover {
    border-color: #004494;
    color: #004494;
    background: #f4f8ff;
    transform: translateY(-3px);
}

.ek-pv-check-widget .pv-radio:checked + .pv-card {
    border-color: #E32119;
    background: #fff5f5;
    color: #b51a14;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(227, 33, 25, 0.1);
}

/* Elementor Bulletproof Icon Fix für die Karten */
.ek-pv-check-widget .pv-card .pv-icon,
.ek-pv-check-widget .pv-card i,
.ek-pv-check-widget .pv-card svg {
    font-size: 28px !important;
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 10px !important;
    display: inline-block !important;
    fill: currentColor !important;
}

.ek-pv-check-widget .pv-text {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

/* Rechte Seite: Ergebnis (Ampel) */
.ek-pv-check-widget .pv-result-area {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    position: relative;
}

/* Die Ampel */
.ek-pv-check-widget .traffic-light {
    width: 80px;
    background: #333;
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: var(--ek-schatten);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ek-pv-check-widget .light {
    width: 50px;
    height: 50px;
    background: #555;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    border: 2px solid #444;
}

/* Aktive Lichter */
.ek-pv-check-widget .light.red.active { background: #ff0000; box-shadow: 0 0 25px #ff0000; border-color: var(--ek-rot-dunkel); }
.ek-pv-check-widget .light.yellow.active { background: #fbbf24; box-shadow: 0 0 25px #fbbf24; border-color: #d97706; }
.ek-pv-check-widget .light.green.active { background: #22c55e; box-shadow: 0 0 25px #22c55e; border-color: #15803d; }

.ek-pv-check-widget .pv-res-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--ek-text);
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
    transition: color 0.3s ease;
}
.ek-pv-check-widget .pv-res-text {
    font-size: 15px;
    color: var(--ek-text-muted);
    margin-bottom: 25px;
    max-width: 85%;
    line-height: 1.5;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

/* CTA Button */
.ek-pv-check-widget a.pv-cta {
    background-color: #E32119 !important;
    color: white !important;
    text-decoration: none !important;
    padding: 18px 40px !important;
    display: inline-block !important;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    letter-spacing: 0.5px !important;
}

.ek-pv-check-widget a.pv-cta:hover {
    background-color: #004494 !important;
    color: white !important;
    transform: none;
    box-shadow: none !important;
}

/* =========================================
   EK FIRMEN-TIMELINE WIDGET
========================================= */

.ek-historie-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    box-sizing: border-box;
}

.ek-historie-widget * {
    box-sizing: border-box;
}

.ek-historie-widget .timeline-wrapper {
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.ek-historie-widget .timeline {
    position: relative;
    padding-left: 0;
}

.ek-historie-widget .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e32119;
    transform: translateX(-50%);
}

.ek-historie-widget .timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-bottom: 4rem;
    align-items: center;
    position: relative;
}

/* Ungerade Items (links) */
.ek-historie-widget .timeline-item:nth-child(odd) {
    grid-template-areas: "year dot content";
}

.ek-historie-widget .timeline-item:nth-child(odd) .timeline-year {
    grid-area: year;
    text-align: right;
    padding-right: 2rem;
    align-self: center;
}

.ek-historie-widget .timeline-item:nth-child(odd) .timeline-dot {
    grid-area: dot;
    align-self: center;
}

.ek-historie-widget .timeline-item:nth-child(odd) .timeline-content {
    grid-area: content;
    padding-left: 2rem;
}

/* Gerade Items (rechts) */
.ek-historie-widget .timeline-item:nth-child(even) {
    grid-template-areas: "content dot year";
}

.ek-historie-widget .timeline-item:nth-child(even) .timeline-year {
    grid-area: year;
    text-align: left;
    padding-left: 2rem;
    align-self: center;
}

.ek-historie-widget .timeline-item:nth-child(even) .timeline-dot {
    grid-area: dot;
    align-self: center;
}

.ek-historie-widget .timeline-item:nth-child(even) .timeline-content {
    grid-area: content;
    text-align: right;
    padding-right: 2rem;
}

.ek-historie-widget .timeline-year {
    font-size: 2.5rem;
    font-weight: 900;
    color: #e32119;
    line-height: 1;
}

.ek-historie-widget .timeline-dot {
    width: 24px;
    height: 24px;
    background: #e32119;
    border: 5px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e32119;
    position: relative;
    z-index: 2;
    justify-self: center;
}

.ek-historie-widget .timeline-content {
    background: var(--ek-flaeche);
    padding: 2rem;
    transition: all 0.3s;
}

.ek-historie-widget .timeline-item:nth-child(odd) .timeline-content {
    border-left: 4px solid #004494;
}

.ek-historie-widget .timeline-item:nth-child(even) .timeline-content {
    border-right: 4px solid #004494;
}

.ek-historie-widget .timeline-content:hover {
    background: white;
    box-shadow: var(--ek-schatten-hover);
    transform: scale(1.02);
}

.ek-historie-widget .timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #004494;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.ek-historie-widget .timeline-content p {
    color: var(--ek-text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ek-historie-widget .timeline::before {
        left: 20px;
    }

    .ek-historie-widget .timeline-item {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "dot year"
            "dot content";
        gap: 1.5rem;
        margin-bottom: 3rem;
        align-items: start;
    }

    .ek-historie-widget .timeline-item:nth-child(odd),
    .ek-historie-widget .timeline-item:nth-child(even) {
        grid-template-areas:
            "dot year"
            "dot content";
    }

    .ek-historie-widget .timeline-item:nth-child(odd) .timeline-year,
    .ek-historie-widget .timeline-item:nth-child(even) .timeline-year {
        grid-area: year;
        text-align: left;
        padding: 0;
        font-size: 2rem;
        align-self: start;
    }

    .ek-historie-widget .timeline-item:nth-child(odd) .timeline-dot,
    .ek-historie-widget .timeline-item:nth-child(even) .timeline-dot {
        grid-area: dot;
        align-self: start;
        margin-top: 0.3rem;
    }

    .ek-historie-widget .timeline-item:nth-child(odd) .timeline-content,
    .ek-historie-widget .timeline-item:nth-child(even) .timeline-content {
        grid-area: content;
        text-align: left;
        padding: 2rem;
        border-left: 4px solid #004494;
        border-right: none;
    }
}

/* =========================================
   EK EINSATZGEBIET KARTE WIDGET
========================================= */

.ek-map-widget {
    width: 100%;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    box-sizing: border-box;
}

.ek-map-widget * { box-sizing: border-box; }

.kammerhofer-pro-map {
    width: 100%;
    height: 600px;
    background: #f4f4f4;
    z-index: 1;
}

/* Pulsierender Marker */
.ek-pulse-icon {
    background-color: #E32119;
    border-radius: 50%;
    border: 3px solid #fff;
    animation: ekPulse 2s infinite;
}

@keyframes ekPulse {
    0% { box-shadow: 0 0 0 0 rgba(227, 33, 25, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(227, 33, 25, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 33, 25, 0); }
}

/* Popup & UI Styling (Leaflet überschreiben) */
.ek-map-widget .leaflet-popup-content-wrapper {
    border-radius: 0;
    padding: 5px;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-map-widget .leaflet-popup-content h3 {
    color: #004494;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-map-widget .leaflet-popup-content p {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--ek-text-muted);
}

.ek-map-btn {
    background: #E32119;
    color: white !important;
    padding: 8px 16px;
    text-decoration: none !important;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 5px;
    border-radius: 0;
    transition: all 0.3s;
}

.ek-map-btn:hover {
    background: #004494;
    color: white !important;
}

/* Legende */
.ek-map-legend {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-left: 4px solid #E32119;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.ek-map-legend .ek-dot {
    height: 12px;
    width: 12px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
}

/* =========================================
   EK KONTAKTFORMULAR WIDGET
========================================= */
.ek-kontakt-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    box-shadow: var(--ek-schatten);
    border: 1px solid var(--ek-linie);
    box-sizing: border-box;
}

.ek-kontakt-widget * { box-sizing: border-box; }

.ek-kontakt-widget .ek-contact-header {
    background: #004494;
    color: white;
    padding: 30px;
    text-align: center;
}

.ek-kontakt-widget .ek-contact-header h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ek-kontakt-widget .ek-contact-form {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ek-kontakt-widget .form-full { grid-column: span 2; }

.ek-kontakt-widget label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ek-text);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ek-kontakt-widget input,
.ek-kontakt-widget select,
.ek-kontakt-widget textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    font-size: 16px;
    color: var(--ek-text);
    background: var(--ek-flaeche);
    border-radius: 0;
    transition: all 0.3s ease;
    outline: none;
}

.ek-kontakt-widget input:focus,
.ek-kontakt-widget select:focus,
.ek-kontakt-widget textarea:focus {
    border-color: #E32119;
    background: #fff;
}

.ek-kontakt-widget select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.ek-kontakt-widget .ek-btn-contact {
    grid-column: span 2;
    background-color: #E32119;
    color: white;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ek-kontakt-widget .ek-btn-contact:hover:not(:disabled) {
    background-color: #003375;
    transform: none;
}

.ek-kontakt-widget .ek-btn-contact:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* Status-Meldungen */
.ek-form-msg {
    grid-column: span 2;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    display: none;
}
.ek-form-msg.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.ek-form-msg.error { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* Karriere-Hinweis Box */
.ek-betreff-hinweis {
    padding: 14px 18px;
    background: #fff5f4;
    border-left: 4px solid #E32119;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ek-text);
}

.ek-betreff-hinweis a {
    color: #E32119 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.ek-betreff-hinweis a:hover {
    color: #004494 !important;
    text-decoration: underline !important;
}

/* reCAPTCHA Info */
/* reCAPTCHA Badge global ausblenden (ToS-konform solange Hinweistext in Formularen vorhanden) */
.grecaptcha-badge { visibility: hidden !important; }

.ek-recaptcha-info {
    grid-column: span 2;
    font-size: 11px;
    color: var(--ek-text-muted);
    text-align: center;
    margin: 0;
}
.ek-recaptcha-info a { color: var(--ek-text-muted); text-decoration: underline; }

@media (max-width: 600px) {
    .ek-kontakt-widget .ek-contact-form { grid-template-columns: 1fr; }
    .ek-kontakt-widget .form-full { grid-column: span 1; }
    .ek-kontakt-widget .ek-btn-contact, .ek-form-msg, .ek-recaptcha-info { grid-column: span 1; }
}

/* =========================================
   EK FEEDBACK FORMULAR WIDGET
========================================= */
.ek-feedback-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    box-shadow: var(--ek-schatten);
    border-top: 5px solid #E32119;
    box-sizing: border-box;
}

.ek-feedback-widget * { box-sizing: border-box; }

.ek-feedback-widget .ek-feedback-header {
    background: var(--ek-flaeche);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--ek-linie);
}

.ek-feedback-widget .ek-feedback-header h3 {
    color: #004494;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.ek-feedback-widget .ek-feedback-header p {
    color: var(--ek-text-muted);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.ek-feedback-widget .ek-feedback-form {
    padding: 30px;
}

.ek-feedback-widget .ek-form-group {
    margin-bottom: 20px;
}

.ek-feedback-widget .ek-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ek-text);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ek-feedback-widget .ek-form-group label span.optional {
    color: var(--ek-text-muted);
    font-size: 12px;
    text-transform: none;
    font-weight: 400;
}

.ek-feedback-widget input,
.ek-feedback-widget textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    font-size: 16px;
    color: var(--ek-text);
    transition: all 0.3s ease;
    outline: none;
    background: var(--ek-flaeche);
    border-radius: 0;
}

.ek-feedback-widget input:focus,
.ek-feedback-widget textarea:focus {
    border-color: #004494;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 68, 148, 0.1);
}

.ek-feedback-widget .ek-btn-submit {
    background-color: #E32119;
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    box-shadow: none;
    margin-top: 10px;
}

.ek-feedback-widget .ek-btn-submit:hover:not(:disabled) {
    background-color: #004494;
    transform: none;
    box-shadow: none;
}

.ek-feedback-widget .ek-btn-submit:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.ek-contact-sub {
    margin-bottom:0;
}

/* =========================================
   BULLETPROOF FORMULAR FELDER (Kontakt & Feedback)
========================================= */
.ek-kontakt-widget input[type="text"],
.ek-kontakt-widget input[type="email"],
.ek-kontakt-widget input[type="tel"],
.ek-kontakt-widget select,
.ek-kontakt-widget textarea,
.ek-feedback-widget input[type="text"],
.ek-feedback-widget input[type="email"],
.ek-feedback-widget input[type="tel"],
.ek-feedback-widget textarea {
    width: 100% !important;
    padding: 15px !important;
    border: 2px solid #ddd !important;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial !important;
    font-size: 16px !important;
    color: var(--ek-text) !important;
    background: var(--ek-flaeche) !important;
    border-radius: 0 !important; /* Zwingt Elementor zu eckigen Kanten */
    transition: all 0.3s ease !important;
    outline: none !important;
    box-shadow: none !important;
    min-height: 52px !important; /* Verhindert gequetschte Felder */
    line-height: normal !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Feedback-Formular: Fokus-Status (Blau) */
.ek-feedback-widget input:focus,
.ek-feedback-widget textarea:focus {
    border-color: #004494 !important;
    background: #fff !important;
    box-shadow: 0 0 8px rgba(0, 68, 148, 0.1) !important;
}

/* Kontakt-Formular: Fokus-Status (Rot) */
.ek-kontakt-widget input:focus,
.ek-kontakt-widget select:focus,
.ek-kontakt-widget textarea:focus {
    border-color: #E32119 !important;
    background: #fff !important;
    box-shadow: 0 0 8px rgba(227, 33, 25, 0.1) !important;
}

/* Spezieller Fix für das Dropdown im Kontaktformular */
.ek-kontakt-widget select {
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 40px !important; /* Platz für den Pfeil */
}

/* reCAPTCHA Info für das Feedback-Widget */
.ek-feedback-widget .ek-recaptcha-info {
    font-size: 11px;
    color: var(--ek-text-muted);
    text-align: center;
    margin-top: 20px !important; /* Hier ist der fehlende Abstand zum Button */
    margin-bottom: 0 !important;
    line-height: 1.4;
}
.ek-feedback-widget .ek-recaptcha-info a {
    color: var(--ek-text-muted);
    text-decoration: underline;
}

/* =========================================
   EK KUNDENBEWERTUNGEN ANZEIGE WIDGET
========================================= */

.ek-bewertungen-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    box-sizing: border-box;
    width: 100%;
}

.ek-bewertungen-widget * {
    box-sizing: border-box;
}

/* Grid (gleiche Höhe) */
.ek-bw-grid {
    display: grid;
    gap: 25px;
    align-items: stretch;
}

.ek-bw-grid.ek-bw-cols-1 { grid-template-columns: 1fr; }
.ek-bw-grid.ek-bw-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ek-bw-grid.ek-bw-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Masonry (variable Höhe): CSS Grid, Karten behalten ihre eigene Höhe.
   Früher CSS-Spalten; die hervorgehobene Karte (column-span: all) und der
   Hover-Effekt haben in Safari die Spalten verschoben und springen lassen. */
.ek-bw-masonry {
    display: grid;
    gap: 25px;
    align-items: start;
}
.ek-bw-masonry.ek-bw-cols-1 { grid-template-columns: 1fr; }
.ek-bw-masonry.ek-bw-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ek-bw-masonry.ek-bw-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Card */
.ek-bw-card {
    background: #ffffff;
    border-top: 4px solid #E32119;
    padding: 35px 30px 25px;
    box-shadow: var(--ek-schatten);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ek-bw-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ek-schatten-hover);
}

/* Quote-Zeichen */
.ek-bw-quote-icon {
    font-size: 72px;
    line-height: 0.7;
    color: #004494;
    font-family: Georgia, serif;
    font-weight: 900;
    margin-bottom: 20px;
    opacity: 0.25;
    user-select: none;
}

/* Bewertungstext */
.ek-bw-text {
    font-size: 16px;
    color: var(--ek-text);
    line-height: 1.75;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

/* Trennlinie */
.ek-bw-divider {
    height: 1px;
    background: #eee;
    margin-bottom: 20px;
}

/* Author-Bereich */
.ek-bw-author {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.ek-bw-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ek-bw-name {
    font-size: 14px;
    font-weight: 900;
    color: var(--ek-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ek-bw-firma {
    font-size: 13px;
    color: var(--ek-text-muted);
    font-weight: 400;
}

.ek-bw-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.ek-bw-badge {
    font-size: 11px;
    font-weight: 700;
    color: #004494;
    background: #eef4ff;
    border: 1px solid #c5d8f5;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.ek-bw-datum {
    font-size: 11px;
    color: var(--ek-text-muted);
}

.ek-bw-bereich {
    display: inline-block;
    font-size: 11px;
    color: #004494;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

.ek-bw-header {
    text-align: center;
    margin-bottom: 36px;
}

.ek-bw-header-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: var(--ek-text);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif;
}

.ek-bw-header-sub {
    font-size: 15px;
    color: var(--ek-text-muted);
    margin: 0;
}

.ek-bw-filter-wrap {
    display: flex;
    justify-content: center;
}

/* Pill-Filter */
.ek-bw-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.ek-bw-pill {
    padding: 7px 18px;
    border-radius: 0;
    border: 1.5px solid #c5d8f5;
    background: #fff;
    color: #004494;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}

.ek-bw-pill:hover {
    background: #eef4ff;
    border-color: #004494;
    color: #004494;
}

.ek-bw-pill.is-active {
    background: #004494;
    color: #fff;
    border-color: #004494;
}

.ek-bw-pill.is-active:hover {
    background: var(--ek-blau-dunkel);
    color: #fff;
    border-color: var(--ek-blau-dunkel);
}

/* Highlight-Karte */
.ek-bw-card.is-highlight {
    background: linear-gradient(135deg, #f8faff 0%, #fff 100%);
    box-shadow: var(--ek-schatten);
    /* grid layout: span all columns (also set inline via PHP) */
    grid-column: 1 / -1;
    /* masonry (CSS columns) layout */
    column-span: all;
}

.ek-bw-card.is-highlight .ek-bw-quote-icon {
    font-size: 72px;
    color: #E32119;
    opacity: 0.22;
    margin-bottom: -12px;
}

.ek-bw-card.is-highlight .ek-bw-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ek-text);
}

/* Avatar */
.ek-bw-author-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 0;
}

.ek-bw-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Carousel */
.ek-bw-carousel-outer {
    position: relative;
    overflow: hidden;
}

.ek-bw-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.ek-bw-carousel-track::-webkit-scrollbar { display: none; }

.ek-bw-carousel-track .ek-bw-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
}

.ek-bw-carousel-cols-2 .ek-bw-card { flex-basis: calc(50% - 12px); }
.ek-bw-carousel-cols-1 .ek-bw-card { flex-basis: 100%; }

.ek-bw-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.ek-bw-carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 0;
    border: 1.5px solid #c5d8f5;
    background: #fff;
    color: #004494;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    line-height: 1;
}

.ek-bw-carousel-btn:hover {
    background: #004494;
    color: #fff;
    border-color: #004494;
}

.ek-bw-carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ek-bw-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #c5d8f5;
    cursor: pointer;
    padding: 0;
    transition: background .15s, transform .15s;
}

.ek-bw-dot.is-active {
    background: #004494;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .ek-bw-grid.ek-bw-cols-3    { grid-template-columns: repeat(2, 1fr); }
    .ek-bw-masonry.ek-bw-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .ek-bw-carousel-track .ek-bw-card,
    .ek-bw-carousel-cols-3 .ek-bw-card { flex-basis: calc(50% - 12px); }
}

@media (max-width: 640px) {
    .ek-bw-grid.ek-bw-cols-2,
    .ek-bw-grid.ek-bw-cols-3    { grid-template-columns: 1fr; }
    .ek-bw-masonry.ek-bw-cols-2,
    .ek-bw-masonry.ek-bw-cols-3 { grid-template-columns: 1fr; }
    .ek-bw-grid .ek-bw-card.is-highlight { grid-column: span 1; }

    .ek-bw-card { padding: 25px 20px 20px; }

    .ek-bw-carousel-track .ek-bw-card,
    .ek-bw-carousel-cols-2 .ek-bw-card,
    .ek-bw-carousel-cols-3 .ek-bw-card { flex-basis: 85%; }
}


/* ============================================================
   EK PRODUKTE WIDGET
   ============================================================ */

.ek-produkte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* Card shell */
.ek-produkte-card {
    background: #fff;
    box-shadow: var(--ek-schatten);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.ek-produkte-card:hover {
    box-shadow: var(--ek-schatten-hover);
    transform: translateY(-3px);
}

/* Top accent bar */
.ek-produkte-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: #e32119;
    z-index: 2;
    transition: height 0.2s;
}
.ek-produkte-card.is-blue::before { background: #004494; }
.ek-produkte-card:hover::before   { height: 4px; }

/* Image area */
.ek-prod-image {
    background: #fff;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ek-prod-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.ek-prod-image img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.ek-produkte-card:hover .ek-prod-image img {
    transform: scale(1.06);
}

.ek-prod-no-image {
    width: 64px;
    height: 64px;
    background: #dde3ec;
    border-radius: 0;
}

/* Badge chip */
.ek-prod-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: #e32119;
    color: #fff;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px 2px;
    line-height: 1.5;
}
.ek-produkte-card.is-blue .ek-prod-badge { background: #004494; }

/* Details panel */
.ek-prod-details {
    padding: 1.1rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.6rem;
    border-top: 1px solid #f0f0f0;
}

/* Title — 2-line clamp */
.ek-prod-title {
    margin: 0;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ek-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.ek-prod-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.ek-prod-title a:hover                           { color: #e32119; }
.ek-produkte-card.is-blue .ek-prod-title a:hover { color: #004494; }

/* Price */
.ek-prod-price-wrap {
    margin-top: auto;
    padding-top: 0.4rem;
}

.ek-prod-price {
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    color: #e32119;
    line-height: 1;
    letter-spacing: -0.01em;
}
.ek-produkte-card.is-blue .ek-prod-price { color: #004494; }

.ek-prod-price-hint {
    font-size: 0.72rem;
    color: var(--ek-text-muted);
    margin-top: 3px;
    letter-spacing: 0.02em;
}

/* CTA button — outline at rest, fills on hover */
.ek-prod-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding: 0.65rem 1rem;
    border: 1.5px solid #e32119;
    color: #e32119;
    text-decoration: none;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    box-sizing: border-box;
}
.ek-produkte-card.is-blue .ek-prod-btn {
    border-color: #004494;
    color: #004494;
}
.ek-prod-btn:hover {
    background: #e32119;
    color: #fff !important;
}
.ek-produkte-card.is-blue .ek-prod-btn:hover {
    background: #004494;
    border-color: #004494;
    color: #fff !important;
}
.ek-prod-btn svg {
    flex-shrink: 0;
    transition: transform 0.18s;
}
.ek-prod-btn:hover svg { transform: translateX(3px); }

/* Error state */
.ek-produkte-error {
    padding: 1.5rem 1.75rem;
    background: #fff8f7;
    border-left: 3px solid #e32119;
    border-radius: 0;
    color: #7a1010;
    font-size: 0.9rem;
    line-height: 1.6;
}
.ek-produkte-error p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
    .ek-produkte-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .ek-produkte-grid { grid-template-columns: 1fr; gap: 1rem; }
    .ek-prod-price    { font-size: 1.45rem; }
}

/* =============================================================
   REFERENZ-WIDGETS: Infobox, Kennzahlen, Vorher/Nachher, Galerie
   ============================================================= */

/* ---- Projekt-Infobox ---- */
.ek-projekt-infobox {
    background: #fff;
    border-radius: 0;
    box-shadow: var(--ek-schatten);
    overflow: hidden;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}

.ek-pib-title {
    padding: 1rem 1.4rem 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 2px solid currentColor;
}

.ek-pib-rows {
    padding: 0.5rem 0;
}

.ek-pib-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 1.4rem;
    border-bottom: 1px solid #f0f0f0;
}
.ek-pib-row:last-child { border-bottom: none; }

.ek-pib-icon {
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
    font-size: 0.95rem;
}

.ek-pib-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ek-pib-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ek-text-muted);
}

.ek-pib-value {
    font-size: 0.98rem;
    color: var(--ek-text);
    font-weight: 600;
    line-height: 1.4;
}

/* Beschreibung als Punkt in der Infobox: mehrzeilig, Icon oben */
.ek-pib-row-text { align-items: flex-start; }
.ek-pib-row-text .ek-pib-icon { padding-top: 0.15rem; }
.ek-pib-row-text .ek-pib-meta { gap: 3px; }
.ek-pib-text {
    font-weight: 400;
    line-height: 1.55;
    max-width: 70ch;
}

/* ---- Projekt-Kennzahlen ---- */
.ek-projekt-kennzahlen {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 0;
}
.ek-projekt-kennzahlen.style-rot   { background: #e32119; }
.ek-projekt-kennzahlen.style-blau  { background: #004494; }
.ek-projekt-kennzahlen.style-hell  { background: #f5f7fa; }

.ek-kz-item {
    flex: 1 1 140px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.ek-kz-icon {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.ek-kz-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}

.ek-kz-number {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ek-kz-einheit {
    font-size: 1.2rem;
    font-weight: 700;
}

.ek-kz-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 520px) {
    .ek-kz-item { flex-basis: calc(50% - 0.75rem); }
    .ek-kz-number { font-size: 2rem; }
}

/* ---- Vorher/Nachher-Slider ---- */
.ek-vn-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    user-select: none;
    -webkit-user-select: none;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}

.ek-vn-stage {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ek-vn-before-img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.ek-vn-after-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ek-vn-label {
    position: absolute;
    top: 0.7rem;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 0;
    pointer-events: none;
}
.ek-vn-label-before { left:  0.7rem; }
.ek-vn-label-after  { right: 0.7rem; }

.ek-vn-handle {
    position: absolute;
    top: 0; bottom: 0;
    transform: translateX(-50%);
    width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: ew-resize;
    z-index: 5;
}

.ek-vn-handle-line {
    flex: 1;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.4);
}

.ek-vn-handle-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #004494;
    font-size: 0.85rem;
}

/* ---- Projekt-Galerie ---- */
/* Elementor-Flex-Container (Spalte, wrap) misst das Widget sonst ohne Breite und
   damit ohne die Höhe der aspect-ratio-Kacheln. Eigene Breite aus Elementor gewinnt. */
.e-con .elementor-widget-ek_projekt_galerie { width: 100%; }
.ek-projekt-galerie {
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}
.ek-pg-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pg-accent, #004494);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pg-accent, #004494);
}
.ek-pg-grid {
    display: grid;
    gap: 0.75rem;
}
.ek-pg-item {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.ek-projekt-galerie .ek-pg-thumb {
    position: relative;
    display: block;
    width: 100%;
    flex: 1 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #f0f3f8;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
}
.ek-projekt-galerie .ek-pg-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ek-projekt-galerie .ek-pg-thumb:hover img,
.ek-projekt-galerie .ek-pg-thumb:focus-visible img { transform: scale(1.04); }
.ek-projekt-galerie .ek-pg-thumb:focus-visible {
    outline: 3px solid var(--pg-accent, #004494);
    outline-offset: 3px;
}
.ek-pg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,68,148,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.ek-projekt-galerie .ek-pg-thumb:hover .ek-pg-overlay,
.ek-projekt-galerie .ek-pg-thumb:focus-visible .ek-pg-overlay { opacity: 1; }
.ek-pg-caption {
    font-size: 0.8rem;
    color: var(--ek-text-muted);
    margin: 0.4rem 0 0;
    line-height: 1.4;
}

/* Theme-Reset (Hello: button, [type=button]:hover) neutralisieren */
.ek-projekt-galerie .ek-pg-thumb:hover,
.ek-projekt-galerie .ek-pg-thumb:focus { background: #f0f3f8; color: inherit; }

/* Mosaik: erstes Bild groß, die übrigen daneben (bis 4 Bilder) bzw. darunter (ab 5) */
.ek-pg-mosaik .ek-pg-grid { grid-template-columns: repeat(3, 1fr); }
.ek-pg-mosaik.ek-pg-n-1 .ek-pg-grid { grid-template-columns: 1fr; }
.ek-pg-mosaik.ek-pg-n-1 .ek-pg-thumb { aspect-ratio: 16 / 9; }
.ek-pg-mosaik.ek-pg-n-2 .ek-pg-grid { grid-template-columns: repeat(2, 1fr); }
.ek-pg-mosaik.ek-pg-n-3 .ek-pg-grid,
.ek-pg-mosaik.ek-pg-n-4 .ek-pg-grid { grid-template-columns: 2fr 1fr; }
.ek-pg-mosaik.ek-pg-n-3 .ek-pg-item.is-featured { grid-row: span 2; }
.ek-pg-mosaik.ek-pg-n-4 .ek-pg-item.is-featured { grid-row: span 3; }
.ek-pg-mosaik.ek-pg-n-5 .ek-pg-item.is-featured { grid-column: span 2; grid-row: span 2; }
.ek-pg-mosaik.ek-pg-n-3 .ek-pg-item.is-featured .ek-pg-thumb,
.ek-pg-mosaik.ek-pg-n-4 .ek-pg-item.is-featured .ek-pg-thumb,
.ek-pg-mosaik.ek-pg-n-5 .ek-pg-item.is-featured .ek-pg-thumb { aspect-ratio: auto; min-height: 100%; }
.ek-pg-mosaik.ek-pg-n-4 .ek-pg-item:not(.is-featured) .ek-pg-thumb { aspect-ratio: 16 / 10; }

/* Raster: gleich große Kacheln */
.ek-pg-raster.ek-pg-cols-2 .ek-pg-grid { grid-template-columns: repeat(2, 1fr); }
.ek-pg-raster.ek-pg-cols-3 .ek-pg-grid { grid-template-columns: repeat(3, 1fr); }
.ek-pg-raster.ek-pg-cols-4 .ek-pg-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 767px) {
    .ek-pg-mosaik .ek-pg-grid,
    .ek-pg-mosaik.ek-pg-n-3 .ek-pg-grid,
    .ek-pg-mosaik.ek-pg-n-4 .ek-pg-grid,
    .ek-pg-raster.ek-pg-cols-3 .ek-pg-grid,
    .ek-pg-raster.ek-pg-cols-4 .ek-pg-grid { grid-template-columns: repeat(2, 1fr); }
    .ek-pg-mosaik .ek-pg-grid .ek-pg-item.is-featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .ek-pg-mosaik .ek-pg-grid .ek-pg-item.is-featured .ek-pg-thumb { aspect-ratio: 16 / 9; min-height: 0; }
    .ek-pg-mosaik.ek-pg-n-4 .ek-pg-item:not(.is-featured):last-child { grid-column: 1 / -1; }
    .ek-pg-mosaik.ek-pg-n-4 .ek-pg-item:not(.is-featured):last-child .ek-pg-thumb { aspect-ratio: 16 / 9; }
}
@media (max-width: 420px) {
    .ek-pg-raster .ek-pg-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.ek-pg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10,16,28,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4.5rem;
}
.ek-pg-lightbox[hidden] { display: none; }
.ek-pg-lb-inner {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.ek-pg-lb-img {
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    border-radius: 0;
    object-fit: contain;
    display: block;
}
.ek-pg-lb-cap {
    color: rgba(255,255,255,.8);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}
.ek-pg-lb-count {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}
/* Lightbox-Buttons im Stil des Vorher/Nachher-Reglers; drei Klassen tief,
   damit Theme-Reset (button:focus/:hover, #c36) in keinem Zustand greift */
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next {
    position: fixed;
    width: 48px; height: 48px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #fff;
    color: #004494;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close:hover,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev:hover,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next:hover,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close:focus,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev:focus,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next:focus {
    background: #004494;
    color: #fff;
    border: none;
}
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close:focus:not(:focus-visible),
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev:focus:not(:focus-visible),
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next:focus:not(:focus-visible) {
    background: #fff;
    color: #004494;
}
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close:hover,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev:hover,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next:hover {
    background: #004494;
    color: #fff;
}
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close:focus-visible,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev:focus-visible,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close { top: 1rem; right: 1rem; }
/* SVG-Icons statt Schriftzeichen: sitzen unabhängig von der Schrift exakt mittig */
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-close svg,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev svg,
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next svg {
    display: block;
    width: 22px; height: 22px;
    flex: none;
    pointer-events: none;
}
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
    .ek-pg-lightbox { padding: 4rem 0.75rem; }
    .ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-prev,
    .ek-projekt-galerie .ek-pg-lightbox .ek-pg-lb-next { top: auto; bottom: 0.75rem; transform: none; }
    .ek-pg-lb-count { bottom: 1.6rem; }
}

/* ---- Projekt-Technologien ---- */
.ek-projekt-technologien {
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}

.ek-pt-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pt-accent, #004494);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pt-accent, #004494);
}

.ek-pt-grid {
    display: grid;
    gap: 0.75rem;
}
.ek-pt-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ek-pt-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ek-pt-cols-4 { grid-template-columns: repeat(4, 1fr); }

.ek-pt-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s, border-color 0.18s;
    position: relative;
}
a.ek-pt-card:hover {
    box-shadow: var(--ek-schatten-hover);
    border-color: var(--pt-accent, #004494);
}

.ek-pt-logo-wrap {
    flex-shrink: 0;
    width: 88px; height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    border-radius: 0;
    overflow: hidden;
    padding: 10px;
}
.ek-pt-logo-wrap img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
}
.ek-pt-logo-placeholder {
    flex-shrink: 0;
    width: 88px; height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    border-radius: 0;
}

.ek-pt-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ek-pt-brand {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ek-text);
    line-height: 1.2;
}

.ek-pt-product {
    font-size: 0.78rem;
    color: var(--ek-text-muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.ek-pt-arrow {
    margin-left: auto;
    font-size: 1rem;
    color: var(--pt-accent, #004494);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .ek-pt-cols-3,
    .ek-pt-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ek-pt-cols-2,
    .ek-pt-cols-3,
    .ek-pt-cols-4 { grid-template-columns: 1fr; }
}

/* ---- Projekt-Verwandte ---- */
.ek-projekt-verwandte {
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}

.ek-pv-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pv-accent, #004494);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pv-accent, #004494);
}

.ek-pv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.ek-pv-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ek-pv-card:hover {
    box-shadow: var(--ek-schatten-hover);
    transform: translateY(-3px);
}

.ek-pv-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f3f8;
}
.ek-pv-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.ek-pv-card:hover .ek-pv-thumb img { transform: scale(1.04); }

.ek-pv-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
}

.ek-pv-body {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.ek-pv-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.ek-pv-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pv-accent, #004494);
    background: rgba(0,68,148,.08);
    padding: 2px 7px;
    border-radius: 0;
    align-self: flex-start;
}

.ek-pv-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ek-text);
    margin: 0;
    line-height: 1.3;
}

.ek-pv-excerpt {
    font-size: 0.82rem;
    color: var(--ek-text-muted);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.ek-pv-btn {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pv-accent, #004494);
    transition: gap 0.15s;
}

@media (max-width: 900px) {
    .ek-pv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .ek-pv-grid { grid-template-columns: 1fr; }
}

/* ---- Projekt-Übersicht ---- */
.ek-projekt-uebersicht {
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}

/* Shared card */
.ek-pu-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e8edf5;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ek-pu-card:hover {
    box-shadow: var(--ek-schatten-hover);
    transform: translateY(-3px);
}

.ek-pu-thumb {
    position: relative;
    display: flex;
    overflow: hidden;
    background: #f0f3f8;
    flex-shrink: 0;
}
.ek-pu-thumb img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.ek-pu-card:hover .ek-pu-thumb img { transform: scale(1.05); }

.ek-pu-thumb-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2.5rem;
}

.ek-pu-badges {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    right: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.ek-pu-card:hover .ek-pu-badges,
.ek-pu-card:focus-visible .ek-pu-badges { opacity: 1; }
@media (hover: none) {
    .ek-pu-badges { opacity: 1; }
}
.ek-pu-badge {
    background: var(--pu-accent, #004494);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 9px;
    border-radius: 0;
    pointer-events: none;
}

.ek-pu-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.ek-pu-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ek-text);
    margin: 0;
    line-height: 1.3;
}

.ek-pu-excerpt {
    font-size: 0.83rem;
    color: var(--ek-text-muted);
    margin: 0;
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ek-pu-btn {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pu-accent, #004494);
}

/* ---- Style: Kacheln ---- */
.ek-pu-kacheln {
    display: grid;
    gap: 1.2rem;
}
.ek-pu-kacheln.ek-pu-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ek-pu-kacheln.ek-pu-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ek-pu-kacheln.ek-pu-cols-4 { grid-template-columns: repeat(4, 1fr); }

.ek-pu-kacheln .ek-pu-thumb { aspect-ratio: 16/9; }

/* ---- Style: Liste ---- */
.ek-pu-liste {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ek-pu-liste .ek-pu-card {
    flex-direction: row;
    border-radius: 0;
}

.ek-pu-liste .ek-pu-thumb {
    width: 240px;
    min-height: 160px;
    flex-shrink: 0;
}

.ek-pu-liste .ek-pu-body {
    justify-content: center;
    padding: 1.1rem 1.3rem;
}

.ek-pu-liste .ek-pu-name { font-size: 1.15rem; }

.ek-pu-liste .ek-pu-excerpt {
    -webkit-line-clamp: 2;
}

/* ---- Style: Mosaik ---- */
.ek-pu-mosaik-hero .ek-pu-card {
    flex-direction: row;
    min-height: 340px;
    margin-bottom: 1.2rem;
    border-radius: 0;
}

.ek-pu-mosaik-hero .ek-pu-thumb {
    flex: 0 0 55%;
    min-height: 340px;
}

.ek-pu-mosaik-hero .ek-pu-body {
    justify-content: center;
    padding: 2rem 1.8rem;
    gap: 0.7rem;
}

.ek-pu-mosaik-hero .ek-pu-name {
    font-size: 1.5rem;
    line-height: 1.25;
}

.ek-pu-mosaik-hero .ek-pu-excerpt {
    font-size: 0.92rem;
    -webkit-line-clamp: 4;
}

.ek-pu-mosaik-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.ek-pu-mosaik-grid .ek-pu-thumb { aspect-ratio: 16/9; }

/* Responsive */
@media (max-width: 900px) {
    .ek-pu-kacheln.ek-pu-cols-3,
    .ek-pu-kacheln.ek-pu-cols-4 { grid-template-columns: repeat(2, 1fr); }

    .ek-pu-liste .ek-pu-thumb { width: 180px; min-height: 130px; }

    .ek-pu-mosaik-hero .ek-pu-card { flex-direction: column; min-height: unset; }
    .ek-pu-mosaik-hero .ek-pu-thumb { flex: unset; min-height: 220px; aspect-ratio: 16/9; }
    .ek-pu-mosaik-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .ek-pu-kacheln.ek-pu-cols-2,
    .ek-pu-kacheln.ek-pu-cols-3,
    .ek-pu-kacheln.ek-pu-cols-4 { grid-template-columns: 1fr; }

    .ek-pu-liste .ek-pu-card { flex-direction: column; }
    .ek-pu-liste .ek-pu-thumb { width: 100%; min-height: unset; aspect-ratio: 16/9; }

    .ek-pu-mosaik-grid { grid-template-columns: 1fr; }
}

/* =========================================
   EK FLUGBLATT VIEWER WIDGET
   Akzentfarbe: #e6007e
========================================= */

/* ── Wrapper ─────────────────────────────────────────────────────────── */
.ek-flugblatt-widget {
    font-family: 'helvetica-neue-lt-pro-cond', sans-serif, Arial;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    box-shadow: var(--ek-schatten);
    border-top: 4px solid #e6007e;
    box-sizing: border-box;
    outline: none;
    position: relative;
}

.ek-flugblatt-widget * { box-sizing: border-box; }

/* ── Header ──────────────────────────────────────────────────────────── */
.ek-fb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ek-linie);
    background: var(--ek-flaeche);
    gap: 12px;
    flex-wrap: wrap;
}

.ek-fb-titel {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--ek-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ek-fb-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6007e;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.ek-fb-download:hover { background: #bf005f !important; }

/* ── Outer (nav buttons + book) ──────────────────────────────────────── */
.ek-fb-outer {
    display: flex;
    align-items: stretch;
    background: #1c1c1c;
    position: relative;
    min-height: 300px;
}

.ek-fb-nav {
    flex-shrink: 0;
    width: 46px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s;
    z-index: 20;
    padding: 0;
    border-radius: 0;
}
.ek-fb-nav:hover:not(:disabled) { background: #e6007e; }
.ek-fb-nav:disabled { opacity: 0.18; cursor: default; }
.ek-fb-nav:disabled:hover { background: rgba(0,0,0,0.45); }

/* ── Book wrap & book ────────────────────────────────────────────────── */
.ek-fb-book-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    position: relative;
}

.ek-fb-book {
    display: flex;
    align-items: stretch;
    max-height: 68vh;
    position: relative;
    box-shadow: 0 12px 50px rgba(0,0,0,0.6);
    /* perspective for the 3-D flip */
    perspective: 2200px;
    perspective-origin: center center;
}

/* ── Page slots ──────────────────────────────────────────────────────── */
.ek-fb-slot {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #e8e0d5;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Left slot: soft right-edge shadow (spine) */
.ek-fb-slot-l .ek-fb-slot-shadow {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 22px;
    background: linear-gradient(to left, rgba(0,0,0,0.18), transparent);
    pointer-events: none;
    z-index: 2;
}

/* Right slot: soft left-edge shadow (spine) */
.ek-fb-slot-r .ek-fb-slot-shadow {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 22px;
    background: linear-gradient(to right, rgba(0,0,0,0.18), transparent);
    pointer-events: none;
    z-index: 2;
}

.ek-fb-slot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.12s ease-out;
    will-change: transform;
    cursor: zoom-in;
    user-select: none;
}

/* Hover zoom */
.ek-fb-slot.zooming .ek-fb-slot-img {
    transform: scale(2.4);
}

/* Cover: right half only — keep left slot in layout (prevents right from expanding) */
.ek-fb-book.is-cover .ek-fb-slot-l   { visibility: hidden; }
.ek-fb-book.is-cover .ek-fb-spine    { display: none; }

/* Back cover: left half only — keep right slot in layout */
.ek-fb-book.is-backcover .ek-fb-slot-r { visibility: hidden; }
.ek-fb-book.is-backcover .ek-fb-spine  { display: none; }

/* ── Spine ───────────────────────────────────────────────────────────── */
.ek-fb-spine {
    width: 8px;
    flex-shrink: 0;
    background: linear-gradient(to right,
        rgba(0,0,0,0.25) 0%,
        rgba(255,255,255,0.15) 40%,
        rgba(0,0,0,0.25) 100%);
    position: relative;
    z-index: 5;
}

/* ── Flipper (3-D page turn) ─────────────────────────────────────────── */
.ek-fb-flipper {
    position: absolute;
    top: 0;
    bottom: 0;
    /* left/right/width set by JS */
    transform-style: preserve-3d;
    z-index: 15;
    display: none;
    pointer-events: none;
}

.ek-fb-flipper-front,
.ek-fb-flipper-back {
    position: absolute;
    inset: 0;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #e8e0d5;
}

/* Back face starts rotated 180° so it's hidden at rest */
.ek-fb-flipper-back {
    transform: rotateY(180deg);
}

/* Fold shadow on the turning front face */
.ek-fb-flipper-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(0,0,0,0.22) 0%,
        rgba(0,0,0,0.06) 25%,
        transparent 55%);
    pointer-events: none;
}

/* ── PDF loading overlay ─────────────────────────────────────────────── */
.ek-fb-pdf-loading {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(28,28,28,0.75);
    color: #e6007e;
    font-size: 30px;
    z-index: 30;
}
.ek-fb-pdf-loading span {
    font-size: 13px;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ek-fb-placeholder {
    color: #888;
    padding: 40px;
    text-align: center;
    font-size: 14px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.ek-fb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    background: var(--ek-flaeche);
    border-top: 1px solid #ddd;
}

.ek-fb-page-info {
    font-size: 12px;
    font-weight: 700;
    color: var(--ek-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ── Dots ────────────────────────────────────────────────────────────── */
.ek-fb-dots {
    display: flex;
    gap: 0;
    align-items: center;
}

.ek-fb-dot {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}
/* sichtbarer Punkt bleibt klein, die Trefferfläche ist 24 × 24 px */
.ek-fb-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #767676;
    transition: background 0.2s, transform 0.2s;
}
.ek-fb-dot.active::before        { background: #e6007e; transform: scale(1.4); }
.ek-fb-dot:hover:not(.active)::before { background: #333; }
.ek-fb-dot:focus-visible { outline: 2px solid #e6007e; outline-offset: 1px; }

/* ── Thumbnails ──────────────────────────────────────────────────────── */
.ek-fb-thumbs {
    display: flex;
    gap: 7px;
    padding: 10px 14px;
    overflow-x: auto;
    background: #efefef;
    border-top: 1px solid #ddd;
    scrollbar-width: thin;
    scrollbar-color: #e6007e #ddd;
}
.ek-fb-thumbs::-webkit-scrollbar       { height: 3px; }
.ek-fb-thumbs::-webkit-scrollbar-track { background: #ddd; }
.ek-fb-thumbs::-webkit-scrollbar-thumb { background: #e6007e; }

.ek-fb-thumb {
    flex-shrink: 0;
    width: 52px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
}
/* nur das Vorschaubild abschwächen, die Seitenzahl bleibt lesbar */
.ek-fb-thumb img          { opacity: 0.55; transition: opacity 0.15s; }
.ek-fb-thumb:hover img    { opacity: 0.85; }
.ek-fb-thumb:hover        { border-color: rgba(230,0,126,0.4); }
.ek-fb-thumb.active       { border-color: #e6007e; }
.ek-fb-thumb.active img   { opacity: 1; }
.ek-fb-thumbs:focus-visible { outline: 2px solid #e6007e; outline-offset: 2px; }

.ek-fb-thumb img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    background: #ccc;
}
.ek-fb-thumb span {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #595959;
    margin-top: 3px;
    line-height: 1;
}
.ek-fb-thumb.active span { color: #e6007e; }

/* ── Fullscreen zoom overlay ─────────────────────────────────────────── */
.ek-fb-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ek-fb-zoom-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: #e6007e;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.ek-fb-zoom-close:hover { background: #bf005f; }

.ek-fb-zoom-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
}
.ek-fb-zoom-inner:active { cursor: grabbing; }

.ek-fb-zoom-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    transition: transform 0.05s linear;
    will-change: transform;
    user-select: none;
    pointer-events: none;
}

.ek-fb-zoom-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.3px;
}

/* ── Mobile: single-page layout (< 640px) ───────────────────────────── */
@media (max-width: 639px) {
    .ek-fb-book.is-spread .ek-fb-slot-l,
    .ek-fb-book.is-spread .ek-fb-spine { display: none; }
    .ek-fb-nav { width: 38px; font-size: 15px; }
}

/* ---- Projekt-Anmerkungen ---- */
.ek-pan-text {
    padding: 1rem 1.4rem 1.1rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ek-text);
}
.ek-pan-text p { margin: 0 0 0.6rem; }
.ek-pan-text p:last-child { margin-bottom: 0; }

/* ---- Projekt-Verwandte: Abstand als visueller Abschluss ---- */
.elementor-widget-ek_projekt_verwandte {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid #e3e7ee;
}
@media (max-width: 767px) {
    .elementor-widget-ek_projekt_verwandte {
        margin-top: 3rem;
        padding-top: 2.5rem;
    }
}

/* ---- Projekt-Kurzbeschreibung ---- */
.ek-projekt-kurzbeschreibung {
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
    margin: 0;
}
.ek-pkb-hero {
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 42rem;
    margin-inline: auto;
}
.ek-pkb-hero::before {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin: 0 auto 1rem;
    background: #E32119;
}
.ek-pkb-inhalt {
    color: var(--ek-text);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.5;
    padding-left: 1.2rem;
    border-left: 4px solid var(--pkb-accent, #E32119);
}
@media (max-width: 767px) {
    .ek-pkb-hero { font-size: 1.1rem; }
    .ek-pkb-inhalt { font-size: 1.1rem; }
}

/* ---- Projekt-Zurück ---- */
.ek-projekt-zurueck {
    display: flex;
    justify-content: center;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}
.ek-projekt-zurueck .ek-pz-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.ek-projekt-zurueck .ek-pz-link svg { display: block; flex: none; transition: transform 0.18s; }
.ek-projekt-zurueck .ek-pz-link:hover svg,
.ek-projekt-zurueck .ek-pz-link:focus-visible svg { transform: translateX(-3px); }
.ek-projekt-zurueck .ek-pz-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.ek-pz-hell .ek-pz-link,
.ek-pz-hell .ek-pz-link:visited {
    color: #fff;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(0,0,0,.15);
}
.ek-pz-hell .ek-pz-link:hover,
.ek-pz-hell .ek-pz-link:focus-visible {
    color: #004494;
    background: #fff;
    border-color: #fff;
}

.ek-pz-dunkel .ek-pz-link,
.ek-pz-dunkel .ek-pz-link:visited {
    color: #004494;
    border: 1px solid #004494;
    background: transparent;
}
.ek-pz-dunkel .ek-pz-link:hover,
.ek-pz-dunkel .ek-pz-link:focus-visible {
    color: #fff;
    background: #004494;
}

/* ---- Projekt-Navigation (Vorheriges / Alle / Nächstes) ---- */
.ek-projekt-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 1rem;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}
.ek-projekt-navigation .ek-pn-karte {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 0;
    color: var(--ek-text);
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.ek-projekt-navigation .ek-pn-next { grid-column: 3; flex-direction: row-reverse; text-align: right; }
.ek-projekt-navigation .ek-pn-karte:hover,
.ek-projekt-navigation .ek-pn-karte:focus-visible {
    border-color: #004494;
    box-shadow: var(--ek-schatten-hover);
    color: var(--ek-text);
}
.ek-projekt-navigation .ek-pn-karte:focus-visible,
.ek-projekt-navigation .ek-pn-alle:focus-visible { outline: 2px solid #004494; outline-offset: 3px; }
.ek-pn-bild { flex: none; width: 64px; height: 64px; border-radius: 0; overflow: hidden; background: #f5f7fa; }
.ek-pn-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ek-pn-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ek-pn-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #E32119;
}
.ek-pn-next .ek-pn-label { flex-direction: row-reverse; align-self: flex-end; }
.ek-pn-label svg { display: block; flex: none; }
.ek-pn-titel {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ek-projekt-navigation .ek-pn-alle {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.1rem;
    border-radius: 0;
    color: #004494;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}
.ek-projekt-navigation .ek-pn-alle svg { display: block; }
.ek-projekt-navigation .ek-pn-alle:hover,
.ek-projekt-navigation .ek-pn-alle:focus-visible { background: #004494; color: #fff; }
@media (max-width: 767px) {
    .ek-projekt-navigation { grid-template-columns: 1fr 1fr; }
    .ek-projekt-navigation .ek-pn-alle { grid-column: 1 / -1; grid-row: 2; flex-direction: row; }
    .ek-projekt-navigation .ek-pn-next { grid-column: 2; }
    .ek-projekt-navigation .ek-pn-karte { flex-direction: column; align-items: flex-start; text-align: left; }
    .ek-projekt-navigation .ek-pn-next { align-items: flex-end; text-align: right; }
    .ek-pn-bild { width: 100%; height: auto; aspect-ratio: 16 / 10; }
    .ek-pn-titel { white-space: normal; font-size: 0.95rem; }
    .ek-pn-lang { display: none; }
}

/* ---- Projekt-Anfrage (Kontakt-Aufruf) ---- */
.ek-projekt-anfrage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    flex-wrap: wrap;
    padding: 2.25rem 2.5rem;
    border-radius: 0;
    background: #004494;
    color: #fff;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}
.ek-pa-text { flex: 1 1 22rem; }
.ek-projekt-anfrage .ek-pa-titel {
    margin: 0 0 0.4rem;
    color: #fff;
    font-family: inherit;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}
.ek-projekt-anfrage .ek-pa-beschreibung {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 1.1rem;
    line-height: 1.5;
}
.ek-projekt-anfrage .ek-pa-btn,
.ek-projekt-anfrage .ek-pa-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: 0;
    background: #E32119;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}
.ek-projekt-anfrage .ek-pa-btn svg { display: block; flex: none; transition: transform 0.18s; }
.ek-projekt-anfrage .ek-pa-btn:hover,
.ek-projekt-anfrage .ek-pa-btn:focus-visible { background: #fff; color: #E32119; }
.ek-projekt-anfrage .ek-pa-btn:hover svg { transform: translateX(3px); }
.ek-projekt-anfrage .ek-pa-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) {
    .ek-projekt-anfrage { padding: 1.75rem 1.4rem; }
    .ek-projekt-anfrage .ek-pa-titel { font-size: 1.5rem; }
    .ek-projekt-anfrage .ek-pa-btn { width: 100%; justify-content: center; }
}

/* ---- Textlinks: nicht nur über die Farbe erkennbar (Farbe kommt aus dem Elementor-Kit) ---- */
.elementor-widget-text-editor a:not(.elementor-button) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---- EK Downloads ---- */
.ek-downloads {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
    font-family: helvetica-neue-lt-pro-cond, Arial Narrow, sans-serif;
}
.ek-downloads li { margin: 0; padding: 0; }
.ek-downloads, .ek-downloads * { box-sizing: border-box; }
.ek-downloads .ek-dl-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1rem 1.2rem;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 0;
    color: var(--ek-text);
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.ek-downloads .ek-dl-item:hover,
.ek-downloads .ek-dl-item:focus-visible {
    border-color: #004494;
    box-shadow: var(--ek-schatten-hover);
    color: var(--ek-text);
}
.ek-downloads .ek-dl-item:focus-visible { outline: 2px solid #004494; outline-offset: 3px; }
.ek-dl-icon {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 3.4rem;
    height: 3.8rem;
    border-radius: 0;
    background: #E32119;
    color: #fff;
}
.ek-dl-icon svg { display: block; }
.ek-dl-typ { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1; }
.ek-dl-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ek-dl-titel { font-size: 1.2rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.02em; }
.ek-dl-beschreibung { font-size: 0.98rem; color: var(--ek-text-muted); line-height: 1.45; }
.ek-dl-meta { font-size: 0.75rem; font-weight: 700; color: var(--ek-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ek-downloads .ek-dl-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.3rem;
    border-radius: 0;
    background: #004494;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1;
    transition: background 0.18s;
}
.ek-downloads .ek-dl-btn svg { display: block; flex: none; }
.ek-downloads .ek-dl-item:hover .ek-dl-btn,
.ek-downloads .ek-dl-item:focus-visible .ek-dl-btn { background: #E32119; }
@media (max-width: 767px) {
    .ek-downloads .ek-dl-item { flex-wrap: wrap; align-items: flex-start; }
    .ek-dl-text { flex-basis: calc(100% - 4.6rem); }
    .ek-downloads .ek-dl-btn { width: 100%; justify-content: center; }
}

/* ---- Kundenstimmen: Abschnitt ohne Stimmen ausblenden ---- */
.e-con:has(> .elementor-widget-ek_bewertungen .ek-bw-leer),
.e-con:has(> .e-con-inner > .elementor-widget-ek_bewertungen .ek-bw-leer) { display: none; }

/* ---- Gesperrte Inhalte (Complianz): Hinweis-Button im EK-Design ----
   Gilt für Karten, Instagram und andere Inhalte vor der Einwilligung.
   Kontrast Weiß auf EK-Blau 8,6:1. Hover wie alle blauen Buttons: Rot. */
body .cmplz-blocked-content-container .cmplz-blocked-content-notice,
body .cmplz-wp-video .cmplz-blocked-content-notice {
    width: calc(100% - 2rem);
    max-width: 380px;
    padding: .85rem 1.25rem .85rem 3.1rem;
    border: 0;
    border-radius: var(--ek-radius, 0);
    background: var(--ek-blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat 1.1rem 50% / 1.25rem !important;
    color: #fff !important;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    box-shadow: var(--ek-schatten-hover);
    cursor: pointer;
    transition: background-color .2s ease;
}
body .cmplz-blocked-content-container .cmplz-blocked-content-notice:hover,
body .cmplz-blocked-content-container .cmplz-blocked-content-notice:focus-visible {
    background-color: var(--ek-rot) !important;
}
body .cmplz-blocked-content-container .cmplz-blocked-content-notice:focus-visible {
    outline: 3px solid var(--ek-blau-dunkel);
    outline-offset: 3px;
}
/* Karten: Fläche ohne Rundung und Schatten, Button unter den Standort-Pin */
body .cmplz-blocked-content-container:is([data-service="google-maps"], [data-service="Carto-Leaflet"]),
body .cmplz-blocked-content-container:has(> [data-service="google-maps"], > [data-service="Carto-Leaflet"]) {
    border-radius: 0;
    box-shadow: none;
    background-color: #eef1f6;
    background-position: center !important;
    min-height: 320px;
}
/* Bilder direkt setzen (unabhängig davon, ob Complianz das Platzhalterbild setzt) */
body .cmplz-blocked-content-container:has(> iframe[data-service="google-maps"]) {
    background-image: url("assets/img/karte-platzhalter.webp") !important;
}
body .cmplz-blocked-content-container:has(> iframe[data-service="google-maps"][data-src-cmplz*="!6m8"]) {
    background-image: url("assets/img/rundgang-platzhalter.webp") !important;
    background-color: #003375;
}
/* Rundgang: Button rot auf dem blauen Foto, Hover blau (wie alle roten Buttons) */
body .cmplz-blocked-content-container:has(> iframe[data-service="google-maps"][data-src-cmplz*="!6m8"]) .cmplz-blocked-content-notice {
    background-color: var(--ek-rot) !important;
}
body .cmplz-blocked-content-container:has(> iframe[data-service="google-maps"][data-src-cmplz*="!6m8"]) .cmplz-blocked-content-notice:hover,
body .cmplz-blocked-content-container:has(> iframe[data-service="google-maps"][data-src-cmplz*="!6m8"]) .cmplz-blocked-content-notice:focus-visible {
    background-color: var(--ek-blau) !important;
    outline-color: #fff;
}
/* Leaflet-Karte: die Kartenfläche selbst (#f4f4f4) würde das Bild verdecken */
.kammerhofer-pro-map.cmplz-placeholder-element {
    background: #eef1f6 url("assets/img/karte-platzhalter.webp") center / cover no-repeat;
}
body .cmplz-blocked-content-container:is([data-service="google-maps"], [data-service="Carto-Leaflet"]) .cmplz-blocked-content-notice,
body .cmplz-blocked-content-container:has(> [data-service="google-maps"], > [data-service="Carto-Leaflet"]) .cmplz-blocked-content-notice {
    top: auto;
    bottom: 12%;
    transform: translateX(-50%);
}

/* =============================================================================
   Mitarbeiter-Karten (Beitragstyp Ansprechpartner)
   Loop-Vorlage #1578 (Seite Unternehmen) und #426 (Bereichsseiten).
   Fehlen Foto, Telefon oder E-Mail, darf in der Karte kein Loch entstehen.
   ============================================================================= */

/* Kein Foto: neutraler Platzhalter statt leerer weißer Fläche */
.elementor-1578 .elementor-element-34f2001:not(:has(img)),
.elementor-426 .elementor-element-5a10939a:not(:has(img)) {
    min-height: 100%;
    background-color: #e9edf3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='23' r='12' fill='%23004494' fill-opacity='.28'/%3E%3Cpath d='M8 60c0-13.3 10.7-22 24-22s24 8.7 24 22' fill='%23004494' fill-opacity='.28'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center 60%;
    background-size: 58% auto;
}

/* Telefon- oder E-Mail-Button ohne Inhalt ausblenden (leeres Feld = keine Überschrift) */
.type-ansprechpartner .tel-cont:not(:has(.elementor-heading-title)),
.type-ansprechpartner .mail-cont:not(:has(.elementor-heading-title)) {
    display: none !important;
}

/* Weder Telefon noch E-Mail: Trennlinie und leere Kontaktzeile ausblenden */
.elementor-1578 .elementor-element-7941cce:not(:has(.tel-cont .elementor-heading-title, .mail-cont .elementor-heading-title)) .elementor-element-be0f286,
.elementor-1578 .elementor-element-7941cce:not(:has(.tel-cont .elementor-heading-title, .mail-cont .elementor-heading-title)) .elementor-element-314a419,
.elementor-426 .elementor-element-6f785942:not(:has(.tel-cont .elementor-heading-title, .mail-cont .elementor-heading-title)) .elementor-element-20e1efa,
.elementor-426 .elementor-element-6f785942:not(:has(.tel-cont .elementor-heading-title, .mail-cont .elementor-heading-title)) .elementor-element-60251bfa {
    display: none !important;
}

/* Kontakt-Buttons dürfen umbrechen (lange E-Mail-Adressen am Handy) */
.type-ansprechpartner .tel-cont .elementor-heading-title,
.type-ansprechpartner .mail-cont .elementor-heading-title {
    overflow-wrap: anywhere;
}

/* =============================================================================
   FAQ (Startbox GEO Tools, Shortcode [sbx_faq]) im EK-Design
   GEO Tools lädt sein CSS erst im Footer und arbeitet mit !important,
   deshalb hier body + doppelte Klasse für die höhere Spezifität.
   ============================================================================= */
body .sbx-faq-container.sbx-faq-container {
    --sgt-faq-bg: #fff;
    --sgt-faq-text: #1d1d1b;
    --sgt-faq-accent: #004494;
    --sgt-faq-btn-text: #fff;
    font-family: 'helvetica-neue-lt-pro-cond', 'Helvetica Neue', Arial, sans-serif !important;
    margin: 2rem 0;
}
body .sbx-faq-container.sbx-faq-container details {
    background: #fff !important;
    border: 1px solid #e7e7e7 !important;
    border-left: 4px solid #e7e7e7 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 0 .75rem !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}
body .sbx-faq-container.sbx-faq-container details:hover {
    border-left-color: #004494 !important;
}
body .sbx-faq-container.sbx-faq-container details.sbx-is-open {
    border-color: #e7e7e7 !important;
    border-left-color: #E32119 !important;
    box-shadow: 0 12px 32px rgba(0, 68, 148, .08) !important;
}
body .sbx-faq-container.sbx-faq-container summary {
    min-height: 64px;
    padding: 1rem 1rem 1rem 1.5rem;
    gap: 1.25rem;
    background: transparent !important;
}
body .sbx-faq-container.sbx-faq-container summary:focus-visible {
    outline: 3px solid #004494 !important;
    outline-offset: 2px;
}
body .sbx-faq-container.sbx-faq-container .sbx-q-text {
    color: #1d1d1b !important;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .01em;
    transition: color .2s ease !important;
}
body .sbx-faq-container.sbx-faq-container summary:hover .sbx-q-text,
body .sbx-faq-container.sbx-faq-container details.sbx-is-open .sbx-q-text {
    color: #004494 !important;
}
/* Plus/Minus als quadratischer Button in EK-Blau, offen in EK-Rot */
body .sbx-faq-container.sbx-faq-container .sbx-icon {
    width: 40px;
    height: 40px;
    background: #004494 !important;
    color: #fff !important;
    transition: background-color .2s ease !important;
}
body .sbx-faq-container.sbx-faq-container .sbx-icon::after {
    content: "+";
    color: #fff !important;
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    transform: none !important;
}
body .sbx-faq-container.sbx-faq-container details.sbx-is-open .sbx-icon {
    background: #E32119 !important;
}
body .sbx-faq-container.sbx-faq-container details.sbx-is-open .sbx-icon::after {
    content: "\2212";
    transform: none !important;
}
/* Antwort */
body .sbx-faq-container.sbx-faq-container .sbx-faq-content {
    width: auto !important;
    margin: 0 1.5rem;
    padding: 1rem 3.5rem 1.4rem 0 !important;
    border-top: 1px solid #e7e7e7;
    font-size: 1.1rem;
    opacity: 1;
}
body .sbx-faq-container.sbx-faq-container .sbx-faq-content,
body .sbx-faq-container.sbx-faq-container .sbx-faq-content p,
body .sbx-faq-container.sbx-faq-container .sbx-faq-content div,
body .sbx-faq-container.sbx-faq-container .sbx-faq-content span,
body .sbx-faq-container.sbx-faq-container .sbx-faq-content li {
    color: #333 !important;
    line-height: 1.6 !important;
}
body .sbx-faq-container.sbx-faq-container .sbx-faq-content a {
    color: #004494 !important;
    text-decoration: underline;
}
/* Button „Alle Fragen anzeigen“ wie die EK-Buttons */
body .sbx-faq-container.sbx-faq-container .sbx-mehr-btn,
body .sbx-faq-container.sbx-faq-container .sbx-mehr-btn:hover,
body .sbx-faq-container.sbx-faq-container .sbx-mehr-btn:focus,
body .sbx-faq-container.sbx-faq-container .sbx-mehr-btn:active {
    margin-top: 1.5rem;
    padding: .9rem 2.2rem;
    background: #E32119 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
body .sbx-faq-container.sbx-faq-container .sbx-mehr-btn:hover,
body .sbx-faq-container.sbx-faq-container .sbx-mehr-btn:focus-visible {
    background: #004494 !important;
    filter: none;
}
body .sbx-faq-container.sbx-faq-container .sbx-mehr-btn:focus-visible {
    outline: 3px solid #004494 !important;
    outline-offset: 3px;
}
@media (max-width: 767px) {
    body .sbx-faq-container.sbx-faq-container summary { padding: .9rem .9rem .9rem 1.1rem; gap: 1rem; }
    body .sbx-faq-container.sbx-faq-container .sbx-q-text { font-size: 1.1rem; }
    body .sbx-faq-container.sbx-faq-container .sbx-icon { width: 36px; height: 36px; }
    body .sbx-faq-container.sbx-faq-container .sbx-faq-content { margin: 0 1.1rem; padding: .9rem 0 1.2rem !important; font-size: 1.05rem; }
}

/* =============================================================================
   Instagram Feed (Smash Balloon): Hello Elementor färbt Buttons bei Hover und
   Fokus pink (#c36). Für Lightbox-Pfeile, Schließen-Button und Karussell nur
   die Farben zurücksetzen; background-color statt background, damit die
   Pfeil-Grafiken von Smash Balloon erhalten bleiben.
   ============================================================================= */
.sbi_lightbox button,
.sbi_lightbox [type="button"],
.sbi_lightbox button:hover,
.sbi_lightbox button:focus,
.sbi_lightbox button:active,
.sbi_lightbox [type="button"]:hover,
.sbi_lightbox [type="button"]:focus,
.sbi_lightbox .sbi_lb-nav a:hover,
.sbi_lightbox .sbi_lb-nav a:focus,
#sb_instagram .sbi-owl-nav button,
#sb_instagram .sbi-owl-nav button:hover,
#sb_instagram .sbi-owl-nav button:focus,
#sb_instagram .sbi-owl-nav [class*="sbi-owl-"]:hover,
#sb_instagram .sbi-owl-nav [class*="sbi-owl-"]:focus,
#sb_instagram .sbi-owl-dots button,
#sb_instagram .sbi-owl-dots button:hover,
#sb_instagram .sbi-owl-dots button:focus {
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}
/* Sichtbarer Fokus für die Tastatur: weiß auf der dunklen Lightbox, EK-Blau im Feed */
.sbi_lightbox button:focus-visible,
.sbi_lightbox [type="button"]:focus-visible,
.sbi_lightbox .sbi_lb-nav a:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: -3px;
}
#sb_instagram .sbi-owl-nav button:focus-visible,
#sb_instagram .sbi-owl-nav [class*="sbi-owl-"]:focus-visible,
#sb_instagram .sbi-owl-dots button:focus-visible {
    outline: 3px solid #004494 !important;
    outline-offset: 2px;
}
.sbi_lightbox button:focus:not(:focus-visible),
.sbi_lightbox [type="button"]:focus:not(:focus-visible) {
    outline: none !important;
}

/* =============================================================================
   EK-Buttons einheitlich: eckig, Großbuchstaben, 700, ohne Schatten und ohne
   Anheben. Primär = EK-Rot, beim Überfahren EK-Blau. Sekundär = EK-Blau,
   beim Überfahren EK-Rot. Steht am Ende, damit es ältere Regeln überschreibt.
   ============================================================================= */
.ek-foerder-check-widget a.ek-btn-primary,
.ek-gerate-retter-widget a.ek-repair-btn,
.ek-erste-hilfe-widget a.ek-btn-emergency,
.ek-pv-check-widget a.pv-cta,
.ek-map-btn,
.ek-kontakt-widget .ek-btn-contact,
.ek-feedback-widget .ek-btn-submit,
.ek-projekt-anfrage .ek-pa-btn,
.ek-projekt-anfrage .ek-pa-btn:visited,
.ek-downloads .ek-dl-btn,
.ek-erste-hilfe-widget a.ek-btn-blue-start {
    border-radius: 0 !important;
    font-weight: 700 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}
.ek-foerder-check-widget a.ek-btn-primary:hover,
.ek-foerder-check-widget a.ek-btn-primary:focus-visible,
.ek-gerate-retter-widget a.ek-repair-btn:hover,
.ek-gerate-retter-widget a.ek-repair-btn:focus-visible,
.ek-erste-hilfe-widget a.ek-btn-emergency:hover,
.ek-erste-hilfe-widget a.ek-btn-emergency:focus-visible,
.ek-pv-check-widget a.pv-cta:hover,
.ek-pv-check-widget a.pv-cta:focus-visible,
.ek-map-btn:hover,
.ek-map-btn:focus-visible,
.ek-kontakt-widget .ek-btn-contact:hover:not(:disabled),
.ek-kontakt-widget .ek-btn-contact:focus-visible,
.ek-feedback-widget .ek-btn-submit:hover:not(:disabled),
.ek-feedback-widget .ek-btn-submit:focus-visible {
    background-color: var(--ek-blau) !important;
    color: #fff !important;
    transform: none !important;
}
/* Auf blauen oder roten Flächen: beim Überfahren weiß mit roter Schrift */
.ek-projekt-anfrage .ek-pa-btn:hover,
.ek-projekt-anfrage .ek-pa-btn:focus-visible {
    background-color: #fff !important;
    color: var(--ek-rot) !important;
}
/* Sekundär: blau gefüllt, beim Überfahren EK-Rot */
.ek-erste-hilfe-widget a.ek-btn-blue-start:hover,
.ek-erste-hilfe-widget a.ek-btn-blue-start:focus-visible,
.ek-downloads .ek-dl-item:hover .ek-dl-btn,
.ek-downloads .ek-dl-item:focus-visible .ek-dl-btn {
    background-color: var(--ek-rot) !important;
    color: #fff !important;
}
/* Sichtbarer Fokus für alle EK-Buttons */
.ek-foerder-check-widget a.ek-btn-primary:focus-visible,
.ek-gerate-retter-widget a.ek-repair-btn:focus-visible,
.ek-erste-hilfe-widget a.ek-btn-emergency:focus-visible,
.ek-pv-check-widget a.pv-cta:focus-visible,
.ek-map-btn:focus-visible,
.ek-kontakt-widget .ek-btn-contact:focus-visible,
.ek-feedback-widget .ek-btn-submit:focus-visible,
.ek-bw-carousel-btn:focus-visible,
.ek-prod-btn:focus-visible {
    outline: 3px solid var(--ek-blau) !important;
    outline-offset: 3px;
}
/* Deaktiviert: grau, aber lesbar */
.ek-kontakt-widget .ek-btn-contact:disabled,
.ek-feedback-widget .ek-btn-submit:disabled {
    background-color: #767676 !important;
    color: #fff !important;
    cursor: not-allowed;
}

/* =============================================================================
   Buttons auf farbigen Flächen. Grundregel: Rot wird beim Überfahren Blau,
   Blau wird Rot. Hätte der Button dann die Farbe seiner Fläche, wird er
   stattdessen weiß mit Schrift in der Flächenfarbe.
   Container in Elementor: CSS-Klasse ek-flaeche-rot oder ek-flaeche-blau.
   ============================================================================= */
.ek-flaeche-rot .elementor-button,
.ek-flaeche-blau .elementor-button {
    border-radius: 0 !important;
    font-weight: 700 !important;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ek-flaeche-rot .elementor-button:hover,
.ek-flaeche-rot .elementor-button:focus-visible {
    background-color: #fff !important;
    border-color: #fff !important;
    color: var(--ek-rot) !important;
}
.ek-flaeche-blau .elementor-button:hover,
.ek-flaeche-blau .elementor-button:focus-visible {
    background-color: #fff !important;
    border-color: #fff !important;
    color: var(--ek-blau) !important;
}
.ek-flaeche-rot .elementor-button:focus-visible,
.ek-flaeche-blau .elementor-button:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px;
}

/* =============================================================================
   Barrierefreiheit: Links in Hinweistexten der Formulare nicht nur über die
   Farbe erkennbar (Unterstreichung) und in EK-Blau.
   ============================================================================= */
.ek-recaptcha-info a,
.ek-kontakt-widget .ek-recaptcha-info a,
.ek-feedback-widget .ek-recaptcha-info a {
    color: var(--ek-blau) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* Bewerbungsseiten: main-Bereich ohne Theme-Breitenbegrenzung (vollflächig wie zuvor) */
main.ek-bewerbung-main { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }

/* =============================================================================
   Bewerbungsportal (Jobs, Lehrstellen): Korrekturen für Handys
   Die Vorlagen bringen eigenes CSS im <body> mit (gleiche Spezifität, später
   geladen), daher hier mit body-Präfix. Nur, was auf schmalen Bildschirmen bricht. Gilt für alle Vorlagen unter bewerbungen/templates/.
   ============================================================================= */
.ek-bewerbung-main { overflow-x: clip; }
body .ek-bewerbung-wrap .submit-button,
body .ek-bewerbung-wrap .hero-cta-button,
body .ek-bewerbung-wrap .job-badge {
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}
body .ek-bewerbung-wrap h1,
body .ek-bewerbung-wrap h2,
body .ek-bewerbung-wrap h3 {
    overflow-wrap: break-word;
    hyphens: manual;
}
@media (max-width: 768px) {
    /* „BEWERBUNG ABSCHICKEN“ passte nicht in eine Zeile und verbreiterte die Seite */
    body .ek-bewerbung-wrap .submit-button {
        font-size: 1.2rem;
        letter-spacing: .04em;
        padding: 1.1rem 1rem;
    }
    body .ek-bewerbung-wrap .submit-button:hover,
    body .ek-bewerbung-wrap .job-card:hover { transform: none; }
    body .ek-bewerbung-wrap .job-card-header { padding: 2rem 1.25rem; }
    /* Lehrstellen-Kästen: Logo hängt an der oberen Kante des Kastens */
    body .ek-bewerbung-wrap .job-card-header:has(> .logo) { padding-top: 0; }
    body .ek-bewerbung-wrap .job-card-header > .logo { margin-top: 0; }
    body .ek-bewerbung-wrap .job-card-header h2 { font-size: 1.45rem; }
    body .ek-bewerbung-wrap .job-badge { letter-spacing: .08em; }
    /* Zustimmung: normale Schrift statt fett, Kästchen oben ausgerichtet */
    body .ek-bewerbung-wrap label:has(> input[type="checkbox"]) {
        font-weight: 400;
        line-height: 1.45;
        align-items: flex-start;
    }
    body .ek-bewerbung-wrap input[type="checkbox"] { flex-shrink: 0; width: 20px; height: 20px; margin-top: .15rem; }
    /* Eingabefelder: 16px verhindert das automatische Hineinzoomen auf dem iPhone */
    body .ek-bewerbung-wrap input,
    body .ek-bewerbung-wrap select,
    body .ek-bewerbung-wrap textarea { font-size: 16px; max-width: 100%; }
}
@media (max-width: 768px) {
    /* Hero mit Logo-Leiste (Übersicht, Stellen): wie die Lehrstellen-Seite nur das
       EK-Logo, mittig und bündig an der oberen Kante. „Wir leben Zukunft“ entfällt
       am Handy (kollidierte mit Rand und MENÜ-Knopf). */
    body .ek-bewerbung-wrap .hero-header { justify-content: center; padding: 0; }
    body .ek-bewerbung-wrap .hero-header-left { display: none; }
    body .ek-bewerbung-wrap .hero-header-right img { height: 96px; width: auto; padding: 0; margin: 0; display: block; }
    body .ek-bewerbung-wrap .hero-content { padding-left: 1.25rem; padding-right: 1.25rem; }

    /* Lehrstellen-Hero (großes EK-Ausbildung-Logo): unter dem MENÜ-Knopf beginnen,
       Text mit Abstand zum Rand. */
    body .ek-bewerbung-wrap .hero:has(> .logo) { padding: 0 1.25rem 2rem; box-sizing: border-box; }
    body .ek-bewerbung-wrap .hero > .logo { margin-top: 0; padding-top: 0; }
    body .ek-bewerbung-wrap .hero > .logo { margin-bottom: 1.5rem; }
    body .ek-bewerbung-wrap .hero > .logo img { max-width: 9.5rem; }
    body .ek-bewerbung-wrap h1.hero-statement { font-size: 2rem; margin: 1rem 0 2rem; }
}
