/* Grundrahmen aller Seiten (die eigenen Elemente bringen ihre Gestaltung mit). */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Barlow", Helvetica, Arial, sans-serif; color: #11140A; background: #eef2f5; overflow-x: hidden; }
#main { display: block; min-height: 60vh; }
#main > section[hidden] { display: none; }
.site-notfound { max-width: 760px; margin: 120px auto 80px; padding: 24px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(17,20,10,0.07); }
.site-notfound h1 { margin: 0 0 8px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.site-notfound a { color: #2F86D6; font-weight: 700; }
@media (max-width: 640px) { .site-notfound { margin: 90px 16px 60px; padding: 16px; font-size: 13px; } .site-notfound h1 { font-size: 22px; } }
.site-wait { max-width: 760px; margin: 140px auto; padding: 0 16px; text-align: center; }
/* Neues Passwort (style2: weiße Karte, Felder Radius 12 px, Pillen-Knopf) */
.pw-card { max-width: 480px; margin: 110px auto 80px; padding: 28px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(17,20,10,0.07); box-sizing: border-box; }
.pw-card h1 { margin: 0 0 6px; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; }
.pw-lead { margin: 0 0 18px; color: #4a5160; }
.pw-card form { display: grid; gap: 14px; }
.pw-card label { display: grid; gap: 6px; min-width: 0; }
.pw-card label span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; font-weight: 700; }
.pw-card input { font: inherit; padding: 12px 14px; border: 1px solid #d7dde5; border-radius: 12px; min-width: 0; }
.pw-card button { font: inherit; font-weight: 700; color: #fff; border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer;
  background: linear-gradient(180deg, #4FA8F0, #2F86D6); }
.pw-card button:disabled { opacity: .6; }
.pw-msg { margin: 0; padding: 10px 12px; border-radius: 12px; }
.pw-msg.ok { background: #eef8d6; color: #3d4a05; } .pw-msg.err { background: #fde8e8; color: #8a1c1c; }
@media (max-width: 640px) { .pw-card { margin: 90px 16px 60px; padding: 18px; font-size: 13px; } .pw-card h1 { font-size: 22px; } .site-wait { font-size: 13px; } }
/* Anmeldung: eigene Ebene über der ganzen Seite (auch über der Kopfzeile), halb weiß,
   Anmeldemaske mittig; bei wenig Höhe scrollt nur die Ebene. */
.login-layer { position: fixed; inset: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  overflow-y: auto; overscroll-behavior: contain; padding: 24px 0; box-sizing: border-box; }
.login-layer > rtat-login { margin: auto 0; max-width: 520px; }
html.login-open, html.login-open body { overflow: hidden; }

/* Seiten mit Platzhalter (Landesinfo, Inspiration): erst zeigen, wenn die Daten da sind (kein Flackern). */
.site-pending { opacity: 0; }
.site-shown { animation: site-fade-in .45s ease-out both; }
@keyframes site-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .site-shown { animation: none; } }

/* Elemente, die sich bis „data-fit“ (Inhalt steht) selbst ausblenden: Regel schon beim ersten Zeichnen,
   sonst erscheinen sie kurz, verschwinden und blenden erneut ein (altes Wix-Flackern). */
rtat-account:not([data-fit]),
rtat-admin:not([data-fit]),
rtat-booking:not([data-fit]),
rtat-checkout:not([data-fit]),
rtat-companion:not([data-fit]),
rtat-content:not([data-fit]),
rtat-countries:not([data-fit]),
rtat-footer:not([data-fit]),
rtat-group:not([data-fit]),
rtat-inquiry:not([data-fit]),
rtat-legal:not([data-fit]),
rtat-member:not([data-fit]),
rtat-my-trips:not([data-fit]),
rtat-office:not([data-fit]),
rtat-private-trips:not([data-fit]),
rtat-trips:not([data-fit]) { opacity: 0; }
