/* Mein XXANA: Erscheinungsbild (Creme und Schwarz, passend zu xxana.de).
   Schrift: Avenir auf Apple-Geräten, sonst Nunito Sans. Die Schrift liegt auf unserem Server
   (keine Verbindung zu Google oder anderen Drittanbietern). */
@font-face { font-family: "Nunito Sans"; font-weight: 300; font-display: swap; src: url("/static/schrift/nunito-sans-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("/static/schrift/nunito-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("/static/schrift/nunito-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito Sans"; font-weight: 300; font-display: swap; src: url("/static/schrift/nunito-sans-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("/static/schrift/nunito-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("/static/schrift/nunito-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --creme: #FAF7F1; --creme-2: #F1ECE2; --linie: #D9D1C3; --linie-2: #CFC6B6;
  --schwarz: #1E1E1C; --text: #2B2B2B; --grau: #6F695F; --hinweis: #8A8377;
  --fehler: #8E2B2B; --fehler-grund: #F6ECE8; --ok-grund: #ECEFE6; --ok: #3F4F2E;
  --schrift: Avenir, "Avenir Next", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--creme); color: var(--text); font-family: var(--schrift);
  font-size: 15px; letter-spacing: .6px; line-height: 1.55; min-height: 100vh; min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 3px; }

/* Aufbau: links Bildfläche, rechts Anmeldung. Auf dem Handy untereinander. */
.seite { display: flex; justify-content: center; min-height: 100vh; min-height: 100dvh; }
.bild { position: relative; background: var(--creme-2); overflow: hidden; display: flex; align-items: flex-end; padding: 56px; }
.bild svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 76%; }
.bild .zitat { position: relative; max-width: 26ch; }
.klein { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: var(--hinweis); margin: 0 0 14px; }
.bild .gross { font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -.3px; color: var(--schwarz); margin: 0; text-wrap: balance; }

.inhalt { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-block: 64px 32px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.karte { width: 100%; max-width: 320px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo { width: 190px; height: auto; margin-bottom: 44px; }
h1 { font-weight: 300; font-size: 30px; letter-spacing: -.4px; color: var(--schwarz); margin: 0 0 12px; line-height: 1.15; text-wrap: balance; }
.unter { font-size: 14px; color: var(--grau); margin: 0 0 32px; max-width: 34ch; }

form { width: 100%; display: flex; flex-direction: column; gap: 22px; text-align: left; }
label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--hinweis); display: block; margin-bottom: 6px; }
.feld { position: relative; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: transparent;
  padding: 10px 0; font: inherit; font-size: 16px; letter-spacing: .5px; color: var(--schwarz); outline: none;
}
input:focus { border-bottom-color: var(--schwarz); }
input.mit-knopf { padding-right: 84px; }
.anzeigen { position: absolute; right: 0; bottom: 8px; background: none; border: 0; font: inherit; font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px; color: var(--grau); cursor: pointer; padding: 4px 0; }
.anzeigen:hover { color: var(--schwarz); }
input.code { text-align: center; font-size: 19px; letter-spacing: 8px; padding: 8px 0 8px 8px; }
.adresse { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--schwarz); border-bottom: 1px solid var(--linie); padding-bottom: 12px; overflow-wrap: anywhere; }

.primaer { width: 100%; background: var(--schwarz); color: #fff; border: 0; border-radius: 0; padding: 11px 16px; font: inherit;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; cursor: pointer; transition: background .2s, opacity .2s; }
.primaer:hover { background: #000; }
.primaer[disabled] { opacity: .55; cursor: progress; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--schwarz); text-decoration: underline;
  text-underline-offset: 4px; text-decoration-color: var(--linie-2); cursor: pointer; letter-spacing: .8px; }
.link:hover { text-decoration-color: var(--schwarz); }
.zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.zeile.zentriert { justify-content: center; gap: 8px; margin-top: 4px; }
.leise { font-size: 12.5px; color: var(--hinweis); }

.meldung { width: 100%; font-size: 13px; line-height: 1.5; padding: 12px 14px; text-align: left; margin: 0 0 22px; }
.meldung.fehler { background: var(--fehler-grund); color: var(--fehler); }
.meldung.ok { background: var(--ok-grund); color: var(--ok); }
.regeln { font-size: 12px; color: var(--hinweis); margin: -8px 0 0; }

.hinweis { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--linie); font-size: 12px; color: var(--hinweis); width: 100%;
  display: flex; gap: 10px; justify-content: center; align-items: flex-start; text-align: left; }
.hinweis svg { flex: none; margin-top: 3px; }
footer { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: 11px; color: var(--hinweis); padding-top: 32px; letter-spacing: 1.5px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--schwarz); }

/* Startseite nach der Anmeldung */
.kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 22px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--linie); background: var(--creme); }
.kopf img { width: 160px; height: auto; display: block; }
.haupt { max-width: 760px; margin: 0 auto; padding-block: 56px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.haupt h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.haupt .unter { max-width: none; }
.objekte { margin-top: 8px; border-top: 1px solid var(--linie); }
.objekt { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--linie); }
.objekt .name { font-size: 15px; color: var(--schwarz); margin: 0; }
.objekt .einheit { font-size: 12.5px; color: var(--grau); margin: 0; letter-spacing: 1px; }

@media (max-width: 860px) {
  .inhalt { padding-top: 56px; justify-content: flex-start; }
  .logo { width: 170px; margin-bottom: 38px; }
  .kopf img { width: 136px; }
  h1 { font-size: 27px; }
}
