/* Fenster Anmelden / Kostenlos eintragen im Hochzeits-Design - LIEFERUNG 546, 25.11.2026
   Nur Vorschau: modals.inc.tpl setzt die Klasse ea-fe und laedt diese Datei nur,
   wenn ein Admin das neue Design eingeschaltet hat. Kennungen und Skripte unveraendert.
   Entwurf: EVENT ABC/_MOCKUP_2026-11-25_Anmelden-Eintragen/ */
body.ea .ea-anm.ea-fe .modal-dialog{max-width:880px}
body.ea .ea-anm.ea-fe .ea-anm__box{display:grid;grid-template-columns:1fr 1fr;padding:0;border:0;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 30px 80px rgba(43,40,34,.25);color:#474338}
body.ea .ea-anm.ea-fe .ea-anm__box::before{display:none}
body.ea .ea-fe__bild{position:relative;min-height:560px;background:#EEECE7}
body.ea .ea-fe__bild img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
body.ea .ea-fe__bild::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,40,34,0) 45%,rgba(43,40,34,.62))}
body.ea .ea-fe__zitat{position:absolute;left:32px;right:32px;bottom:30px;z-index:1;color:#fff;margin:0}
body.ea .ea-fe__zitat b{display:block;font-weight:400;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:27px;line-height:1.25}
body.ea .ea-fe__zitat span{display:block;margin-top:12px;font-size:12px;letter-spacing:.2em;text-transform:uppercase;opacity:.85}
body.ea .ea-fe__in{padding:44px 44px 34px;display:flex;flex-direction:column;min-width:0}
body.ea .ea-fe__in>.ea-anm__teil:not(.none){display:flex;flex-direction:column;flex:1}
body.ea .ea-anm.ea-fe .ea-anm__kopf{margin:0 0 4px}
body.ea .ea-anm.ea-fe .ea-anm__hut{font-size:11.5px;letter-spacing:.22em;color:#7D6736;font-weight:600;margin:0 0 12px}
body.ea .ea-anm.ea-fe .ea-anm__h{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;font-size:38px;line-height:1.08;color:#2B2822;letter-spacing:0}
body.ea .ea-anm.ea-fe .ea-anm__h em{font-style:italic;font-weight:400;color:#A98545}
body.ea .ea-anm.ea-fe .ea-anm__zu{width:38px;height:38px;margin:-24px -26px 0 0;border:0;background:#F6F4EF;color:#655F53}
body.ea .ea-anm.ea-fe .ea-anm__zu:hover{background:#EEECE7;color:#2B2822}
body.ea .ea-anm.ea-fe .ea-anm__lead{font-size:15px;line-height:1.65;color:#655F53;margin:8px 0 22px}
body.ea .ea-anm.ea-fe .ea-anm__lab{font-size:13px;letter-spacing:0;text-transform:none;font-weight:400;color:#655F53;margin:0 0 2px}
body.ea .ea-anm.ea-fe .ea-anm__feld{height:auto;border:0;border-bottom:1px solid #CFC8B8;border-radius:0;padding:9px 0 10px;margin:0 0 16px;background:transparent;font-size:16px;color:#2B2822;box-shadow:none}
body.ea .ea-anm.ea-fe .ea-anm__feld:focus{border-bottom-color:#A98545;box-shadow:none}
body.ea .ea-anm.ea-fe .ea-anm__feld::placeholder{color:#A8A397}
body.ea .ea-anm.ea-fe .ea-anm__pwzeile .ea-anm__feld{padding-right:80px}
body.ea .ea-anm.ea-fe .ea-anm__zeigen{top:auto;bottom:24px;right:0;height:auto;padding:0;color:#7D6736;background:none}
body.ea .ea-anm.ea-fe .ea-reg__zwei{gap:18px}
body.ea .ea-anm.ea-fe .ea-anm__hin{font-size:12.5px;line-height:1.5;color:#8A8478;margin:-8px 0 16px}
body.ea .ea-anm.ea-fe .ea-anm__bleiben,body.ea .ea-anm.ea-fe .ea-reg__zu{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.5;color:#655F53;margin:4px 0 18px;cursor:pointer}
body.ea .ea-anm.ea-fe .ea-anm__bleiben input,body.ea .ea-anm.ea-fe .ea-reg__zu input{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:1px solid #C8AE7A;border-radius:5px;margin:1px 0 0;flex:0 0 18px;position:relative;cursor:pointer;background:#fff}
body.ea .ea-anm.ea-fe .ea-anm__bleiben input:checked,body.ea .ea-anm.ea-fe .ea-reg__zu input:checked{background:#DBC181;border-color:#DBC181}
body.ea .ea-anm.ea-fe .ea-anm__bleiben input:checked::after,body.ea .ea-anm.ea-fe .ea-reg__zu input:checked::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #2B2822;border-width:0 1.6px 1.6px 0;transform:rotate(45deg)}
body.ea .ea-anm.ea-fe a,body.ea .ea-anm.ea-fe .ea-anm__link{color:#7D6736;text-decoration:none;border-bottom:1px solid #E3D3AE;font-size:14px}
body.ea .ea-anm.ea-fe .ea-anm__link{border-top:0;border-left:0;border-right:0;padding:0 0 1px;background:none}
body.ea .ea-anm.ea-fe .ea-anm__link:hover,body.ea .ea-anm.ea-fe a:hover{color:#2B2822}
body.ea .ea-anm.ea-fe .ea-anm__kn{height:auto;padding:15px 20px;border:0;border-radius:999px;background:#DBC181;color:#2B2822;font-weight:600;font-size:16px;margin:0}
body.ea .ea-anm.ea-fe .ea-anm__kn:hover{background:#C6AB6E;color:#2B2822}
body.ea .ea-anm.ea-fe .ea-anm__kn[disabled]{background:#F3E9D2;color:#655F53}
body.ea .ea-anm.ea-fe .ea-anm__unten{margin-top:auto;padding-top:22px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:#655F53}
body.ea .ea-anm.ea-fe .ea-reg__captcha-hinweis{font-size:11.5px;line-height:1.5;color:#A8A397;margin:12px 0 0}
body.ea .ea-anm.ea-fe .ea-reg__captcha-hinweis a{color:#8A8478;border-bottom-color:#E1DFDB;font-size:inherit}
body.ea .ea-anm.ea-fe .ea-anm__fehler{border-radius:10px}
body.ea .ea-fe__punkte{list-style:none;margin:12px 0 22px;padding:0;display:grid;gap:8px}
body.ea .ea-fe__punkte li{display:flex;gap:10px;font-size:14px;color:#474338}
body.ea .ea-fe__punkte li::before{content:"";flex:0 0 14px;height:8px;margin-top:5px;border:solid #A98545;border-width:0 0 1.6px 1.6px;transform:rotate(-45deg)}
@media (max-width:767.98px){
 body.ea .ea-anm.ea-fe .modal-dialog{max-width:none}
 body.ea .ea-anm.ea-fe .ea-anm__box{grid-template-columns:1fr;border-radius:22px 22px 0 0;max-height:calc(100dvh - 16px)}
 body.ea .ea-anm.ea-fe .ea-anm__box::before{display:block;z-index:3;background:rgba(255,255,255,.85)}
 body.ea .ea-fe__bild{min-height:170px;height:170px}
 body.ea .ea-fe__bild img{object-position:50% 30%}
 body.ea .ea-fe__bild::after{background:linear-gradient(180deg,rgba(43,40,34,.25),rgba(43,40,34,0) 40%)}
 body.ea .ea-fe__zitat{display:none}
 body.ea .ea-fe__in{padding:26px 22px calc(26px + env(safe-area-inset-bottom))}
 body.ea .ea-anm.ea-fe .ea-anm__zu{position:absolute;right:14px;top:14px;margin:0;background:rgba(255,255,255,.9);z-index:4}
 body.ea .ea-anm.ea-fe .ea-anm__h{font-size:32px}
}

/* ---- Uebergang 1:1 wie das Anfrage-Fenster am Profil (LIEFERUNG 548-550) ----
   Werte aus css/profil-hochzeit-1.0.css und js/profil-anfrage-1.0.js:
   Fenster 0,7 s (pr-fenster-rein), Hintergrund 0,55 s mit Hauch Unschaerfe,
   Kopf nach 0,12 s, der Inhalt nach 0,18 s ALS EIN BLOCK (dort sind es die
   wenigen grossen Bloecke von .ea-anfrage__inhalt - nicht jedes Feld einzeln;
   genau das machte L548 zaeh), hinaus 0,42 s. iPhone: Blatt 0,6 s / 0,38 s. */
@keyframes fe-fenster-rein{from{opacity:0;transform:translateY(26px) scale(.965)}to{opacity:1;transform:none}}
@keyframes fe-fenster-raus{from{opacity:1;transform:none}to{opacity:0;transform:translateY(18px) scale(.975)}}
@keyframes fe-feld-rein{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
/* L579: translate statt transform - wie das Anfrageblatt am Profil, das in Safari sauber laeuft */
@keyframes fe-blatt-rein{from{translate:0 100%}to{translate:0 0}}
@keyframes fe-blatt-raus{from{translate:0 0}to{translate:0 100%}}
body.ea .ea-anm.ea-fe.fade{opacity:1;transition:visibility .42s linear}
body.ea .ea-anm.ea-fe.fade .modal-dialog{transform:none;transition:none}
body.ea .ea-anm.ea-fe.fade:not(.show) .modal-dialog{animation:fe-fenster-raus .42s cubic-bezier(.4,0,.6,1) both}
body.ea .ea-anm.ea-fe.show .modal-dialog{animation:fe-fenster-rein .7s cubic-bezier(.16,1,.3,1) both}
/* L551: Den Hintergrund macht das Fenster SELBST (wie .pr-dunkel beim Anfrage-
   Fenster). Bootstrap blendet sonst zuerst seinen eigenen Hintergrund ein und
   WARTET, bis der fertig ist - erst dann kam das Fenster (in Andrejs Aufnahme
   rund 0,6 s nur grau). Bootstraps Hintergrund ist jetzt ohne Uebergang und
   unsichtbar, solange eines dieser Fenster offen ist. */
/* seit L553 ohne Bootstrap-Hintergrund (data-bs-backdrop="false" in modals.inc.tpl) */
/* L555: Hintergrund als eigene Ebene, die nur ihre DECKKRAFT aendert. Vorher
   wurden Farbe und Unschaerfe selbst bewegt - das rechnet Safari auf dem
   Haupt-Faden, und wenn der beim Anmelden mit dem Schluesselbund beschaeftigt
   ist, ruckelt es (Andrejs Aufnahme 15:59: in 0,17 s in Stufen statt weich in
   0,5 s). Deckkraft und transform laufen auf der Grafikkarte, unabhaengig davon. */
@keyframes fe-dunkel-rein{from{opacity:0}to{opacity:1}}
@keyframes fe-dunkel-raus{from{opacity:1}to{opacity:0}}
body.ea .ea-anm.ea-fe::before{content:"";position:fixed;inset:0;z-index:0;background:rgba(43,40,34,.55);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;will-change:opacity;pointer-events:none}
body.ea .ea-anm.ea-fe .modal-dialog{z-index:1;will-change:transform,opacity}
@media (min-width:768px){body.ea .ea-anm.ea-fe .modal-dialog{position:relative}}
body.ea .ea-anm.ea-fe.show::before{animation:fe-dunkel-rein .55s ease both}
body.ea .ea-anm.ea-fe.fade:not(.show)::before{animation:fe-dunkel-raus .42s ease both}
/* L552: wie in Andrejs Aufnahme vom Anfrage-Fenster - das Fenster ist sofort da,
   dann kommen die Zeilen von oben nach unten nacheinander (0,06 s Abstand).
   Feldname und Feld gehoeren zusammen und kommen gemeinsam (gleiche Verzoegerung). */
body.ea .ea-anm.ea-fe.show .ea-anm__kopf,
body.ea .ea-anm.ea-fe.show .ea-anm__teil > *{animation:fe-feld-rein .8s cubic-bezier(.16,1,.3,1) both}
body.ea .ea-anm.ea-fe.show .ea-anm__kopf{animation-delay:.12s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > *{animation-delay:.18s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__lab ~ *{animation-delay:.24s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__lab[for="ea-anm-pw"],body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__pwzeile{animation-delay:.30s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-reg__zwei ~ *{animation-delay:.24s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__hin,body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__hin ~ *{animation-delay:.30s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__bleiben,body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-reg__zu{animation-delay:.36s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__fehler,body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__kn{animation-delay:.42s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-reg__captcha-hinweis{animation-delay:.48s}
body.ea .ea-anm.ea-fe.show .ea-anm__teil > .ea-anm__unten{animation-delay:.5s}
@media (max-width:767.98px){
 body.ea .ea-anm.ea-fe.fade:not(.show) .modal-dialog{animation:fe-blatt-raus .38s cubic-bezier(.4,0,.6,1) both}
 body.ea .ea-anm.ea-fe.show .modal-dialog{animation:fe-blatt-rein .6s cubic-bezier(.16,1,.3,1) both}
 body.ea .ea-anm.ea-fe.fade{transition:visibility .38s linear}
}
@media (prefers-reduced-motion: reduce){
 body.ea .ea-anm.ea-fe::before,body.ea .ea-anm.ea-fe .modal-dialog,body.ea .ea-anm.ea-fe *{animation-duration:.01s !important;animation-delay:0s !important;transition-duration:.01s !important}
}

/* ---- L574: Kreuz am Handy gut sichtbar - rund, oben rechts auf dem Foto,
   mit Schatten. Vorher lag es weiss auf weiss neben der Ueberschrift. ---- */
@media (max-width:767.98px){
 body.ea .ea-anm.ea-fe .ea-anm__box{position:relative}
 body.ea .ea-anm.ea-fe .ea-fe__in,body.ea .ea-anm.ea-fe .ea-anm__kopf{position:static}
 body.ea .ea-anm.ea-fe .ea-anm__zu{position:absolute;right:14px;top:16px;width:42px;height:42px;border-radius:50%;background:#fff !important;color:#2B2822 !important;
   box-shadow:0 4px 14px rgba(43,40,34,.25);z-index:5;display:inline-grid;place-items:center}
 body.ea .ea-anm.ea-fe .ea-anm__zu svg{width:18px;height:18px}
 /* Eine laufende transform-Animation macht den Kopf zum Bezugsrahmen - dann
    saesse das Kreuz wieder neben der Ueberschrift. Am Handy nur einblenden. */
 body.ea .ea-anm.ea-fe.show .ea-anm__kopf{animation-name:fe-nur-blenden}
}
@keyframes fe-nur-blenden{from{opacity:0}to{opacity:1}}

/* ---- L577: kein Springen beim Oeffnen (Safari). Ohne .show und ohne
   .fe-zu ist das Fenster gerade erst eingeblendet worden - dann unsichtbar
   bleiben statt die Schliess-Animation zu zeigen. .fe-zu setzt
   js/anmelden-1.0.js nur beim Schliessen. ---- */
body.ea .ea-anm.ea-fe.fade:not(.show):not(.fe-zu) .modal-dialog{animation:none;opacity:0}
body.ea .ea-anm.ea-fe.fade:not(.show):not(.fe-zu)::before{animation:none;opacity:0}

/* ---- L578: aus dem Konto-Blatt geoeffnet (.fe-direkt, js/kopf-hochzeit-1.0.js):
   der dunkle Hintergrund ist sofort voll da - das Konto-Blatt lag schon
   abgedunkelt darunter, ein neues Einblenden von 0 liess die helle Seite
   aufblitzen. Das Blatt selbst faehrt wie immer von unten hoch. ---- */
body.ea .ea-anm.ea-fe.show.fe-direkt::before{animation:none;opacity:1}

/* ---- L579 (Andrej: "in Chrome richtig, in Safari springt es").
   Bootstraps .modal ist ein scrollbarer Rahmen (overflow-y:auto). Das Blatt
   steht darin unten und startet 100 % tiefer - in Safari verlaengert das den
   Rahmen, Safari scrollt ihn mit, das Blatt erscheint zu weit oben und
   springt. Am Handy scrollt nur das Blatt selbst (.ea-anm__box hat schon
   max-height + overflow-y:auto), der Rahmen nicht. ---- */
@media (max-width:767.98px){
 body.ea .ea-anm.ea-fe{overflow:hidden !important}
 /* Das Blatt scrollt in sich: oben in diesem Stylesheet steht overflow:hidden
    am Kasten - damit war "Kostenlos eintragen" am Handy unten abgeschnitten
    (gemessen 922 px Inhalt bei 796 px Hoehe). */
 body.ea .ea-anm.ea-fe .ea-anm__box{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
}
