/* Torsten Beth GmbH – Ergänzungen des Portal-Nachbaus (17.11.2026). Nur was WordPress-Plugins vorher geliefert haben. */

/* YouTube-Platzhalter (vorher Elementor-Video mit YouTube-API) — gleiches 16:9-Feld wie das Original */
/* 24.11.: Feld mindestens 16:9 (Breite des Widgets als Bezug), wächst aber mit dem Hinweis — in schmalen Spalten passte er nicht hinein */
[data-widget_type="beth-video.default"] > .elementor-widget-container { container-type: inline-size; }
.beth-video {
  position: relative; min-height: 56.25cqw; width: 100%; overflow: hidden;
  background: #0A2849 center / cover no-repeat; color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.beth-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.beth-video-inhalt { max-width: 34em; padding: 1.25rem; font-size: .95rem; line-height: 1.5; }
.beth-video-inhalt p { margin: 0 0 .9rem; color: #fff; }
.beth-video-inhalt a { color: #fff; text-decoration: underline; }
/* Knopf: Hausblau-Schrift auf Orange (6,7:1) — weiß auf Orange erreichte nur 2,2:1 */
.beth-video-laden {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .7em 1.4em; border: 0; border-radius: 0;
  background: #F39200; color: #0A2849; font: inherit; font-weight: 700; cursor: pointer;
}
.beth-video-laden:hover, .beth-video-laden:focus-visible { background: #fff; color: #0A2849; }
.beth-video-laden:focus-visible { outline: 2px solid #F39200; outline-offset: 3px; }
.beth-video-titel { font-size: 1.15rem; font-weight: 700; }
.beth-video-fuss { font-size: .85rem; margin: .9rem 0 0 !important; }
/* Hinweis-Animation (24.11.2026): Abspielzeichen mit zwei auslaufenden Wellen — „hier wartet ein Video“ */
.beth-video-zeichen { position: relative; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: #F39200;
  display: flex; align-items: center; justify-content: center; }
.beth-video-zeichen svg { position: relative; width: 30px; height: 30px; fill: #0A2849; margin-left: 4px; }
.beth-video-welle { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #F39200; opacity: 0;
  animation: beth-welle 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.beth-video-welle + .beth-video-welle { animation-delay: 1.2s; }
@keyframes beth-welle { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
.beth-video::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: beth-schimmer 4s linear infinite; }
@keyframes beth-schimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.beth-video-inhalt { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .beth-video-welle, .beth-video::before { animation: none; }
  .beth-video-welle { opacity: .35; transform: scale(1.35); }
}
@container (max-width: 520px) {
  .beth-video-inhalt { font-size: .85rem; padding: 1.1rem 1rem; }
  .beth-video-titel { font-size: 1rem; }
  .beth-video-zeichen { width: 46px; height: 46px; margin-bottom: .6rem; }
  .beth-video-zeichen svg { width: 22px; height: 22px; }
  .beth-video-inhalt p { margin-bottom: .6rem; }
}
/* Verschleierte E-Mail-Adressen (Schutz vor Adress-Sammlern): Text setzt beth.js */
.beth-mail-t { white-space: nowrap; }

/* Köderfeld der Formulare (Spam-Schutz des Portals) */
.beth-koeder { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Rückmeldung nach dem Senden (vorher von Elementor Pro geliefert) */
.elementor-form .elementor-message { margin-top: 12px; font-size: 1rem; line-height: 1.4; }
.elementor-form > .elementor-message { flex-basis: 100%; padding: 12px 14px; }
/* 24.11.: Vorrang nötig — das Mietformular steht auf Orange, Elementor färbt dort alle Meldungen weiß (Text war kaum lesbar) */
.elementor-form > .elementor-message-success { background: #e8f3ec !important; color: #14532d !important; }
.elementor-form > .elementor-message-danger { background: #fdecea !important; color: #8a1c1c !important; }
.elementor-form > .elementor-message::before { display: none !important; }   /* Elementor-Symbolschrift fehlt ⇒ Kästchen */
.elementor-form .elementor-help-inline { display: block; margin-top: 4px; font-size: .85rem; color: #b42318; }
.elementor-form-waiting [type=submit] { opacity: .6; cursor: progress; }

/* „Datenschutz-Einstellungen“ im Fuß — wie die übrigen Fußlinks */
[data-pxconsent-open] { cursor: pointer; }

/* Kontaktformular „Schreiben Sie uns“ auf Beratung (neu im Portal-Nachbau, Gestaltung des Mietformulars) */
.beth-kontakt-rahmen { --padding-top: 80px; --padding-bottom: 80px; padding: 80px 0; background: var(--e-global-color-da18e10, #FAFAFA); }
.beth-kontakt-rahmen > .e-con-inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding-inline: 20px; }
.beth-kontakt-text h2 { color: var(--e-global-color-primary, #0A2849); font-family: var(--e-global-typography-primary-font-family), sans-serif; font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); line-height: 1.15; margin: 0 0 16px; }
.beth-kontakt-text p { color: var(--e-global-color-text, #242424); font-size: 1.05rem; line-height: 1.6; max-width: 34em; }
.beth-kontakt-text a { color: var(--e-global-color-primary, #0A2849); font-weight: 600; white-space: nowrap; }
@media (min-width: 1025px) {
  .beth-kontakt-rahmen > .e-con-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}
@media (max-width: 767px) { .beth-kontakt-rahmen { padding: 56px 0; } }
/* Die Mietformular-Stile setzen weiße Beschriftungen (dort dunkler Grund) — hier auf hellem Grund in Hausblau */
.beth-kontakt .elementor-field-label, .beth-kontakt .elementor-field-option label { color: var(--e-global-color-primary, #0A2849) !important; }
.beth-kontakt .elementor-field-option label a { color: var(--e-global-color-primary, #0A2849) !important; text-decoration: underline; }
.beth-kontakt .elementor-field-textual, .beth-kontakt select { background-color: #fff !important; border: 1px solid #d5dbe3 !important; color: var(--e-global-color-text, #242424) !important; }

/* Einwilligungsfenster des Portals in Beth-Farben (24.11.2026, Ansage Michael: Aufbau wie überall, Farben der Firma).
   Das Portal stellt nur die Akzentfarbe ein (#0A2849 = Knöpfe); Text, Rahmen, Links, Abdunklung und Fokus kommen hier.
   Der Portal-Stil wird zur Laufzeit ans Ende von <head> gehängt und gewinnt bei gleicher Spezifität — Links und Fokus deshalb mit !important
   (Prüfbericht 24.11., Kriterium 3). */
.pxc.pxc { background: rgba(10, 40, 73, .6); }
.pxc .pxc__f { color: #242424; border-top: 5px solid #F39200; }
.pxc .pxc__t, .pxc .pxc__kn, .pxc summary { color: #0A2849; }
.pxc .pxc__k { border-color: rgba(10, 40, 73, .22); }
.pxc.pxc a { color: #0A2849 !important; text-decoration-color: #F39200 !important; text-underline-offset: 3px; }
.pxc .pxc__b.pxc__b--z { color: #0A2849; border-color: #0A2849; background: #fff; }
.pxc .pxc__b:hover { background: #F39200; border-color: #F39200; color: #0A2849; }
.pxc .pxc__b.pxc__b--z:hover { background: #FAFAFA; border-color: #F39200; color: #0A2849; }
.pxc.pxc :focus-visible { outline: 3px solid #0A2849 !important; outline-offset: 2px; }   /* Hausblau: Orange auf Weiß nur 2,35:1 */
