/* CampMap V24.0.22 – Referenzgetreue Landingpage (1536 × 864).
   Ausschließlich die eigenständige Loginseite: keine Änderungen am Classic-/
   Campingfurs-Header oder an der Wartungsseite. */
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,system-ui,Arial,sans-serif}
body{background:#163528;color:#fff}
.landing{min-height:100svh;display:flex;flex-direction:column}
.landing-art{position:relative;width:100%;aspect-ratio:16/9;flex:none;
 background:#163528 url('/assets/v24-login-background.jpg') center top/100% 100% no-repeat}
/* Referenzgrafik: Login ca. x=608–929, y=219–298; Registrieren
   ca. x=630–904, y=310–375 auf einem Bild von 1536 × 864. */
.landing-actions{position:absolute;top:25.3%;left:50%;transform:translateX(-50%);
 width:20.84%;display:flex;flex-direction:column;align-items:center;
 gap:clamp(8px,.91vw,14px);z-index:1}
.cf-account-btn{box-sizing:border-box;min-height:44px;padding:0 16px;display:inline-flex;
 align-items:center;justify-content:center;gap:9px;border:2px solid #fff1db;
 border-radius:12px;background:linear-gradient(180deg,#438e60,#286b48);color:#fff;
 text-decoration:none;box-shadow:0 3px 8px rgba(30,18,9,.25),inset 0 1px 0 rgba(255,255,255,.16);
 font:800 14px Inter,system-ui,Arial,sans-serif;cursor:pointer;text-align:center}
.cf-account-btn:hover{filter:brightness(1.07)}
.cf-account-btn:focus-visible,.dialog-close:focus-visible,a:focus-visible,input:focus-visible{
 outline:3px solid #ffe29d;outline-offset:3px}
.landing-actions .cf-account-btn{border-radius:999px;white-space:nowrap;
 box-shadow:0 4px 13px rgba(29,23,15,.32),inset 0 1px 0 rgba(255,255,255,.18);
 padding:0 clamp(10px,1.2vw,20px)}
.landing-actions .cf-login-primary{width:100%;height:clamp(46px,5.08vw,78px);
 background:linear-gradient(180deg,#4c6146 0%,#263e2d 100%);
 border:3px solid #f8efe0;font-size:clamp(14px,1.9vw,30px);
 gap:clamp(7px,.95vw,15px)}
.landing-actions .cf-login-secondary{width:86%;height:clamp(43px,4.17vw,64px);
 background:linear-gradient(180deg,#fffaf3,#f0eae0);color:#334b3e;
 border:2px solid #405a48;font-size:clamp(13px,1.55vw,24px);
 gap:clamp(6px,.72vw,12px)}
.landing-actions svg{height:clamp(18px,2.25vw,35px);width:clamp(18px,2.25vw,35px);
 stroke:currentColor;stroke-width:2.4;fill:none;flex:none;stroke-linecap:round;stroke-linejoin:round}
.landing-actions .cf-login-secondary svg{height:clamp(17px,1.85vw,28px);width:clamp(17px,1.85vw,28px)}
.legal{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;
 margin-top:auto;padding:10px 12px;background:#163528;font-size:13px}
.legal a{color:#f4f0df}
.dialog-backdrop[hidden]{display:none}
.dialog-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(10,20,13,.75);
 display:grid;place-items:center;padding:18px}
.dialog-open{overflow:hidden}
.dialog-card{position:relative;width:min(440px,100%);max-height:calc(100svh - 36px);overflow:auto;
 background:#f7f4e9;color:#23412e;border:3px solid #a97b4c;border-radius:18px;
 padding:28px;box-shadow:0 18px 60px #0008}
.dialog-card h1{font-size:23px;margin:0 35px 22px 0}
.dialog-close{position:absolute;right:12px;top:10px;background:transparent;border:0;
 color:#23412e;font-size:32px;cursor:pointer;text-decoration:none;line-height:1.1}
.dialog-card form{display:grid;gap:15px}
.dialog-card label{display:grid;gap:6px;font-weight:700}
.dialog-card input{width:100%;min-height:44px;border:1px solid #a6b8a7;border-radius:9px;padding:10px;font:inherit}
.dialog-card .submit{width:100%;margin-top:6px}
.dialog-links{text-align:center;margin:18px 0 0}
.dialog-links a{color:#245c3e}
.error{padding:12px;background:#ffebeb;color:#872c2c;border-radius:8px}
/* 900px und schmaler: Motiv vollständig zeigen; Buttons danach statt über Figuren. */
@media(max-width:900px){
 .landing-art{aspect-ratio:auto;background:none;display:flex;flex-direction:column}
 .landing-art::before{content:"";display:block;width:100%;aspect-ratio:16/9;flex:none;
  background:#163528 url('/assets/v24-login-background.jpg') center/contain no-repeat}
 .landing-actions{position:static;top:auto;left:auto;transform:none;width:100%;max-width:420px;
  margin:0 auto;padding:16px 12px 20px;display:flex;flex-direction:row;gap:12px}
 .landing-actions .cf-account-btn{flex:1;width:auto;min-width:0;height:50px;
  font-size:clamp(12px,3vw,16px);padding:0 10px;border-width:2px;gap:6px}
 .landing-actions svg,.landing-actions .cf-login-secondary svg{height:20px;width:20px}
}
@media(max-width:360px){.landing-actions{gap:8px}.landing-actions .cf-account-btn{font-size:12px;padding:0 7px}}
@media(max-height:500px){.dialog-card{max-height:calc(100svh - 18px);padding:18px}}
@media(prefers-reduced-motion:reduce){.cf-account-btn{transition:none}}

/* CampingfursMap V36.0 TEST2.1: Desktop-Login wie die zentrale Einstiegsseite
   vollflächig darstellen. Das Motiv nutzt cover, der Footer bleibt im Viewport,
   vertikales Scrollen wird vermieden. Mobile Darstellung bleibt unverändert. */
@media (min-width:901px){
  html,body{height:100%;overflow:hidden}
  .landing{height:100dvh;min-height:0;overflow:hidden}
  .landing-art{
    width:100%;
    height:calc(100dvh - 38px);
    aspect-ratio:auto;
    margin:0;
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;
  }
  .legal{
    flex:none;
    min-height:38px;
    margin-top:0;
    padding:8px 12px;
    align-items:center;
  }
}

/* T-030 PROD1: optional read-only guest entry, independent of registered login. */
.landing-actions .cf-login-guest{width:96%;min-height:44px;height:clamp(42px,3vw,52px);background:linear-gradient(180deg,#f4efe3,#d5e3d8);color:#294c35;border:2px solid #4a6952;font-size:clamp(12px,1.15vw,19px)}
.cfm-guest-entry{min-height:100svh;display:grid;place-items:center;padding:24px;background:#173c2c}
.cfm-guest-entry .dialog-card{max-height:none}
.cfm-guest-entry .dialog-card p{line-height:1.5}
@media(max-width:900px){.landing-actions{flex-wrap:wrap;justify-content:center}.landing-actions .cf-login-guest{width:100%;flex:1 1 100%}}
