/* =====================================================================
   O-DIN · Anmeldung (Paket 1, 15.09.2026)
   Eigenständig (lädt NICHT die Dateien der Arbeitsflächen). Werte und Schriften wie odin.css
   (Designsystem „A · hell & dezent", previews/odin/runde3/): dunkle Markenfläche mit goldener
   Wortmarke, heller Arbeitsbereich, EINE Hauptfarbe. Kontrast: jeder Text ≥ 4,5 : 1.
   Handy (≤ 900 px): Marke als schmaler Kopf, Karte darunter, kein Querscrollen bei 390 px.
   ===================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(schrift/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(schrift/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(schrift/source-serif-4-latin-wght-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marcellus SC"; font-style: normal; font-weight: 400; font-display: swap; src: url(schrift/marcellus-sc-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-zitat: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-name: "Marcellus SC", "Trajan Pro", Georgia, serif;
  --bg: #F2F4F7; --surface: #FFFFFF; --line: #DEE3EA; --line-strong: #C3CBD6;
  --ink: #162030; --ink-2: #535E6E; --ink-3: #5E6877; --navy: #0E1A2B; --gold: #D2B273;
  --action: #2B5796; --action-hover: #234A82; --action-text: #24508F;
  --ok: #1F5C33; --ok-soft: #E4F2E8; --ok-line: #BFDCC8;
  --crit: #A1231D; --crit-soft: #FBEAE8; --crit-line: #EFC1BC;
  --info: #0D4A74; --info-soft: #E5EFF7; --info-line: #C3D8EA;
  --r-s: 3px; --r-l: 3px;
  --shadow-card: 0 1px 2px rgb(16 24 40 / .04), 0 8px 28px rgb(16 24 40 / .07);
  --focus: 0 0 0 3px rgb(43 87 150 / .35);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

.an-seite { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(380px, 44%) 1fr; }
html.ion-simulation .an-seite { min-height: calc(100vh - 30px); min-height: calc(100dvh - 30px); }

/* ---------- Markenfläche (einzige dunkle Fläche) ---------- */
.an-marke { position: relative; background: var(--navy); color: #E6ECF3; overflow: hidden; }
.an-bild { position: absolute; inset: 0; background: var(--navy) url(bilder/heute-landschaft.jpg) center / cover no-repeat; }
/* Feste Abdunklung über dem Foto: selbst über einem weißen Bildpunkt bleibt jeder Text ≥ 4,5 : 1 */
.an-bild::after { content: ""; position: absolute; inset: 0; background: rgb(14 26 43 / .84); }
.an-marke-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px 56px; }
.an-logo { display: flex; align-items: center; gap: 16px; }
.an-zeichen svg { width: 56px; height: 56px; display: block; }
.z-ring, .z-innen { fill: none; stroke: var(--gold); }
.z-ring { stroke-width: 2.4; }
.z-innen { stroke-width: 1; opacity: .55; }
.z-kerbe, .z-stab { fill: none; stroke: var(--gold); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.an-wort b { display: block; font-family: var(--f-name); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: .08em; color: var(--gold); }
.an-wort small { display: block; margin-top: 7px; font-size: 12.5px; letter-spacing: .05em; color: #C3CDDA; }
.an-claim { margin: 0 0 16px; font-family: var(--f-name); font-size: 27px; letter-spacing: .04em; color: #F3F5F8; }
.an-zitat { margin: 0; max-width: 30ch; font-family: var(--f-zitat); font-style: italic; font-size: 19px; line-height: 1.45; color: #DCE3EC; }
.an-zitat span { display: block; margin-top: 8px; font-family: var(--font); font-style: normal; font-size: 13px; letter-spacing: .06em; color: var(--gold); }
.an-firma { margin: 0; font-size: 13px; color: #C3CDDA; }

/* ---------- Arbeitsbereich mit Karte ---------- */
.an-arbeit { display: flex; align-items: center; justify-content: center; padding: 40px 24px; min-width: 0; }
.an-karte { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-card); padding: 32px 32px 26px; }
.an-karte h1 { margin: 0 0 6px; font-size: 24px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.an-sub { margin: 0 0 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.an-klein { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.an-karte label { display: block; margin: 14px 0 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.an-karte input { width: 100%; height: 46px; padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-s); }
.an-karte input:focus { outline: none; border-color: var(--action); box-shadow: var(--focus); }
.an-pw { position: relative; }
.an-pw input { padding-right: 104px; }
.an-zeigen { position: absolute; right: 5px; top: 5px; height: 36px; padding: 0 12px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--action-text); font: 600 13.5px var(--font); cursor: pointer; }
.an-zeigen:hover { background: #EEF3FA; }

.an-knopf { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; margin-top: 18px; padding: 0 16px;
  font: 600 15.5px var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-s); cursor: pointer; text-decoration: none; }
.an-knopf:hover { background: #F7F8FA; }
.an-knopf.haupt { color: #fff; background: var(--action); border-color: var(--action); }
.an-knopf.haupt:hover { background: var(--action-hover); border-color: var(--action-hover); }
.an-knopf:disabled { opacity: .7; cursor: progress; }
.an-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.an-link { display: block; margin: 14px auto 0; padding: 8px 10px; border: 0; background: none; color: var(--action-text); font: 600 14px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.an-knopf:focus-visible, .an-link:focus-visible, .an-zeigen:focus-visible { outline: none; box-shadow: var(--focus); }
.an-oder { display: flex; align-items: center; gap: 12px; margin: 18px 0 -6px; font-size: 13px; color: var(--ink-3); }
.an-oder::before, .an-oder::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.an-meldung { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--info-line); border-radius: var(--r-s); font-size: 14px; line-height: 1.45; color: var(--info); background: var(--info-soft); overflow-wrap: anywhere; }
.an-meldung.fehler { color: var(--crit); background: var(--crit-soft); border-color: var(--crit-line); }
.an-meldung.ok { color: var(--ok); background: var(--ok-soft); border-color: var(--ok-line); }
.an-lade { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.an-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--action); animation: an-puls 1s ease-in-out infinite; }
@keyframes an-puls { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .an-punkt { animation: none; } }

/* ---------- Mittlere Breite und Handy ---------- */
@media (max-width: 900px) {
  .an-seite { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .an-marke-in { padding: 20px 20px; gap: 0; }
  .an-leit, .an-firma { display: none; }
  .an-zeichen svg { width: 42px; height: 42px; }
  .an-wort b { font-size: 27px; }
  .an-wort small { font-size: 12px; }
  .an-arbeit { align-items: flex-start; padding: 20px 16px 32px; }
  .an-karte { padding: 24px 20px 20px; }
  .an-karte h1 { font-size: 22px; }
}
