/* OPC v2 – Frontend: klickbare Zonen über dem Bilder-Slider */
.opc2-zones-data { display: none !important; }

.opc2-zone-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;   /* Slider-Steuerung bleibt bedienbar */
    z-index: 20;            /* ÜBER dem nivo-Hauptbild (z-index 6) */
}
.opc2-zone-link {
    position: absolute;
    display: block;
    pointer-events: auto;
    cursor: pointer;
    background: transparent;   /* unsichtbar */
    transition: background .12s ease;
}
.opc2-zone-link:hover,
.opc2-zone-link:focus {
    background: rgba(20, 170, 245, .12);   /* dezent nur beim Drüberfahren */
    outline: none;
}

/* Feste Höhe via SEITENVERHÄLTNIS (Referenzbreite : Höhe). Skaliert auf jeder Breite gleich
   -> Ausschnitt & Zonen passen immer. Fokus über object-position (statisch, kein Springen). */
.opc2-fixed-h {
    aspect-ratio: var(--opc2-w) / var(--opc2-h) !important;
    height: auto !important;
    width: 100% !important;
    overflow: hidden !important;
}
/* Zuschnitt auf ALLE Bilder im Slider – auch die Roh-Bilder VOR nivos Aufbau.
   Dadurch ist der Ausschnitt vom ersten Frame an korrekt -> kein „oben, dann Sprung". */
.opc2-fixed-h img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% var(--opc2-focus, 50%) !important;
}
.opc2-fixed-h .nivo-main-image { position: relative !important; z-index: 6 !important; }

/* ===== USP-/Icon-Boxen ===== (extern, weil <style>-Blöcke in der OPC-Vorschau nicht greifen) */
.opc2-usp .opc2-usp-grid { display: grid; grid-template-columns: repeat(var(--usp-cols, 4), minmax(0, 1fr)); gap: 26px 16px; }
.opc2-usp .opc2-usp-col { box-sizing: border-box; }
@media (max-width: 991px) { .opc2-usp .opc2-usp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) { .opc2-usp .opc2-usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.opc2-usp-center .opc2-usp-col { text-align: center; }
.opc2-usp-right .opc2-usp-col { text-align: right; }
.opc2-usp .opc2-usp-box { display: block; color: inherit; text-decoration: none; }
.opc2-usp .opc2-usp-icon { font-size: var(--usp-icon, 40px); line-height: 1; color: #14AAF5; margin-bottom: 12px; }
.opc2-usp .opc2-usp-img img { max-width: var(--usp-icon, 40px); height: auto; }
.opc2-usp .opc2-usp-title { font-weight: 700; font-size: 17px; margin-bottom: 6px; color: inherit; }
.opc2-usp .opc2-usp-text { color: #6c757d; font-size: 14px; line-height: 1.55; }
.opc2-usp a.opc2-usp-box:hover .opc2-usp-icon { opacity: .8; }
.opc2-usp a.opc2-usp-box:hover .opc2-usp-title { color: #14AAF5; }

/* ===== Kundenmeinungen (Reviews) ===== */
.opc2-rev .opc2-rev-grid { display: grid; gap: 16px; }
@media (max-width: 991px) { .opc2-rev .opc2-rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .opc2-rev .opc2-rev-grid { grid-template-columns: 1fr !important; } }
.opc2-rev .opc2-rev-card { transition: box-shadow .15s, transform .15s; }
.opc2-rev .opc2-rev-card:hover { box-shadow: 0 6px 18px rgba(16, 33, 43, .10); transform: translateY(-2px); }

/* ===== Zähler / Statistik ===== */
.opc2-count .opc2-count-grid { display: grid; grid-template-columns: repeat(var(--count-cols, 4), minmax(0, 1fr)); gap: 24px 16px; }
.opc2-count .opc2-count-col { box-sizing: border-box; }
@media (max-width: 991px) { .opc2-count .opc2-count-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 575px) { .opc2-count .opc2-count-grid { grid-template-columns: 1fr !important; } }
.opc2-count-center .opc2-count-col { text-align: center; }
.opc2-count-right .opc2-count-col { text-align: right; }
.opc2-count .opc2-count-icon { font-size: var(--count-icon, 34px); line-height: 1; color: #14AAF5; margin-bottom: 10px; }
.opc2-count .opc2-count-img img { max-width: var(--count-icon, 34px); height: auto; }
.opc2-count .opc2-count-num { font-size: var(--count-num, 44px); line-height: 1.1; font-weight: 800; color: #0b6aa2; font-variant-numeric: tabular-nums; }
.opc2-count .opc2-count-label { color: #6c757d; font-size: 14px; line-height: 1.55; margin-top: 6px; }

/* ===== Preistabelle ===== */
.opc2-price .opc2-price-grid { display: grid; grid-template-columns: repeat(var(--price-cols, 3), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 991px) { .opc2-price .opc2-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .opc2-price .opc2-price-grid { grid-template-columns: 1fr !important; } }
.opc2-price .opc2-price-col { display: flex; }
.opc2-price .opc2-price-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid #e6edf2; border-radius: 14px; padding: 28px 22px 24px; box-shadow: 0 2px 10px rgba(16, 33, 43, .05); transition: box-shadow .15s, transform .15s; }
.opc2-price .opc2-price-col:hover .opc2-price-card { box-shadow: 0 8px 24px rgba(16, 33, 43, .10); transform: translateY(-3px); }
.opc2-price .opc2-price-featured .opc2-price-card { border: 2px solid var(--price-accent, #14AAF5); box-shadow: 0 10px 30px rgba(16, 33, 43, .12); }
.opc2-price .opc2-price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--price-accent, #14AAF5); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.opc2-price .opc2-price-name { font-size: 19px; font-weight: 700; color: #16212b; text-align: center; margin-bottom: 10px; }
.opc2-price .opc2-price-amount { text-align: center; margin-bottom: 18px; }
.opc2-price .opc2-price-value { font-size: 38px; font-weight: 800; color: #0b6aa2; line-height: 1; }
.opc2-price .opc2-price-featured .opc2-price-value { color: var(--price-accent, #14AAF5); }
.opc2-price .opc2-price-period { font-size: 14px; color: #6c757d; margin-left: 4px; }
.opc2-price .opc2-price-features { list-style: none; margin: 0 0 22px; padding: 0; }
.opc2-price .opc2-price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #4a5c6b; padding: 7px 0; border-bottom: 1px solid #f0f4f7; }
.opc2-price .opc2-price-features li:last-child { border-bottom: none; }
.opc2-price .opc2-price-features li i { color: var(--price-accent, #14AAF5); margin-top: 3px; flex: 0 0 auto; }
.opc2-price .opc2-price-btn { display: block; margin-top: auto; text-align: center; background: var(--price-accent, #14AAF5); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 5px; transition: filter .15s; }
.opc2-price .opc2-price-btn:hover { filter: brightness(.93); color: #fff; }

/* ===== FAQ (natives <details>-Accordion) ===== */
.opc2-faq summary { list-style: none; }
.opc2-faq summary::-webkit-details-marker { display: none; }
.opc2-faq summary:hover { background: #f7fbff; }
.opc2-faq details[open] .opc2-faq-chev { transform: rotate(180deg); }
.opc2-faq details[open] > summary { border-bottom: 1px solid #eef3f7; }
.opc2-faq details[open] .opc2-faq-qmark { background: #14AAF5; color: #fff; }
.opc2-faq .opc2-faq-item { transition: box-shadow .15s; }
.opc2-faq .opc2-faq-item:hover { box-shadow: 0 3px 12px rgba(16, 33, 43, .07); }

/* ===== Bild-Portlet: abweichendes Mobil-Bild + Lightbox/Zoom ===== */
.opc2-img-mobile-img { display: none; max-width: 100%; height: auto; }
@media (max-width: 767px) {
    .opc2-img-has-mobile .opc2-img-desktop-wrap { display: none; }
    .opc2-img-has-mobile .opc2-img-mobile-img { display: block; }
}
.opc2-img-lightbox, .opc2-img-lightbox img { cursor: zoom-in; }
/* Feste Höhe für beide Bilder (Desktop + Mobil), Breite automatisch */
.opc2-img-fixedh img { height: var(--opc2-imgh) !important; width: auto !important; max-width: 100% !important; aspect-ratio: auto !important; }
.opc2-lb-overlay { position: fixed; inset: 0; background: rgba(10, 15, 20, .92); z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .18s ease; }
.opc2-lb-overlay.show { opacity: 1; }
.opc2-lb-overlay img { max-width: 95vw; max-height: 92vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: transform .2s ease; cursor: zoom-in; will-change: transform; }
.opc2-lb-overlay.zoom img { cursor: zoom-out; transform: scale(2); }
.opc2-lb-close { position: fixed; top: 14px; right: 20px; width: 42px; height: 42px; border: none; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.opc2-lb-close:hover { background: rgba(255, 255, 255, .28); }

/* ===== Newsletter-Anmeldung ===== */
.opc2-nl, .opc2-nl * { box-sizing: border-box; }
.opc2-nl { max-width: 100%; }
.opc2-nl .opc2-nl-card { max-width: 100%; overflow-wrap: break-word; }
.opc2-nl .opc2-nl-input:focus { outline: none; border-color: var(--nl-accent, #14AAF5) !important; box-shadow: 0 0 0 3px rgba(20, 170, 245, .15); }
.opc2-nl .opc2-nl-btn { transition: filter .15s, box-shadow .15s; box-shadow: 0 4px 14px rgba(20, 170, 245, .22); }
.opc2-nl .opc2-nl-btn:hover { filter: brightness(.94); }
.opc2-nl .opc2-nl-consent a { text-decoration: underline; }
@media (max-width: 560px) { .opc2-nl .opc2-nl-fields { flex-direction: column !important; } .opc2-nl .opc2-nl-fields .opc2-nl-btn { width: 100%; } }

/* ===== Hero / CTA-Sektion ===== */
.opc2-hero .opc2-hero-btn { transition: filter .15s; }
.opc2-hero .opc2-hero-btn:hover { filter: brightness(.92); color: #fff; }
/* Mobil-Modus: je Element eigene Position/Skalierung (Werte inline als --mx/--my/--ms). */
@media (max-width: 767px) {
    .opc2-hero .opc2-hero-el.has-m { left: var(--mx) !important; top: var(--my) !important; transform: scale(var(--ms)) !important; }
    .opc2-hero .opc2-hero-el.hide-m { display: none !important; }
}
@media (min-width: 768px) {
    .opc2-hero .opc2-hero-el.hide-d { display: none !important; }
}

/* ===== Karte ===== */
.opc2-map .opc2-map-load, .opc2-map-consent .opc2-map-load { transition: filter .15s; }
.opc2-map .opc2-map-load:hover, .opc2-map-consent .opc2-map-load:hover { filter: brightness(.93); }

/* ===== Vorher/Nachher ===== */
.opc2-ba .opc2-ba-grip { transition: transform .1s; }
.opc2-ba:hover .opc2-ba-grip, .opc2-ba.opc2-ba-drag .opc2-ba-grip { transform: translate(-50%, -50%) scale(1.08); }
