/* aja-systems.de — Stylesheet für Rechtsseiten (Impressum, Datenschutz) und die Vorschau-Sperre.
   Die Startseite hat ihr eigenes Stylesheet: assets/start.css */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Markenfarben (laut Rechnungsprogramm 25.10.2026) */
  --grund: #F6F8FB;
  --tafelblau: #2B6595;
  --signal: #469CDB;          /* nur für Bedienbares und die Streichlinie */
  /* abgeleitet */
  --weiss: #FFFFFF;
  --tinte: #17283A;
  --tinte-leise: #4A5B6C;
  --linie: #D3DDE7;
  --band-text: #D9E8F5;

  --schrift-text: "Barlow", system-ui, sans-serif;
  --schrift-schild: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  --rand: clamp(16px, 4vw, 40px);
  --breite: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #9DB3C8 var(--weiss); }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.6;
}
::selection { background: var(--signal); color: #fff; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--tafelblau); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.wortmarke { font-family: var(--schrift-schild); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--tinte); text-decoration: none; }
.wortmarke span { color: var(--signal); }

/* ---------- Knopf (Vorschau-Sperre) ---------- */
.knopf {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 72px; padding: 0.6rem 1.5rem; border-radius: 3px;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms ease-out;
}
.knopf:active { transform: scale(0.97); }

/* ---------- Fuß ---------- */
.fuss { padding-block: 1.75rem; font-size: 0.95rem; color: var(--tinte-leise); border-top: 1px solid var(--linie); }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.fuss ul { display: flex; gap: 1.5rem; }
.fuss a { color: var(--tinte-leise); }

/* ---------- Rechtsseiten ---------- */
.kopf { padding-block: 1.5rem; }
.kopf .huelle { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.navigation a { font-weight: 500; font-size: 1rem; color: var(--tinte); }
.rechtstext { padding-block: clamp(2rem, 6vw, 4rem) clamp(4rem, 8vw, 6rem); }
.rechtstext h1 { font-family: var(--schrift-schild); font-weight: 700; font-size: clamp(2rem, 7vw, 3.6rem); overflow-wrap: anywhere; hyphens: auto; line-height: 1; margin-bottom: 1.5rem; color: var(--tafelblau); }
.rechtstext p { max-width: 40rem; margin-bottom: 1rem; }
.rechtstext h2 { font-family: var(--schrift-schild); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.15; margin: 2rem 0 0.5rem; color: var(--tafelblau); overflow-wrap: anywhere; }
.rechtstext a { color: var(--tafelblau); }
.rechtstext .quelle { margin-top: 2.5rem; font-size: 0.875rem; }
.rechtstext h3 { font-family: var(--schrift-schild); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.2; margin: 1.75rem 0 0.4rem; overflow-wrap: anywhere; }
.rechtstext h4 { font-weight: 600; font-size: 1rem; margin: 1.25rem 0 0.3rem; }
.rechtstext ul { max-width: 40rem; margin: 0 0 1rem 1.25rem; list-style: disc; }
.rechtstext li { margin-bottom: 0.5rem; }
.rechtstext p, .rechtstext li { overflow-wrap: anywhere; }
.platzhalter { border: 2px dashed #C27C0E; background: #FFF6E5; color: #5C3A00; padding: 1.25rem 1.5rem; border-radius: 3px; max-width: 40rem; }
.platzhalter strong { display: block; margin-bottom: 0.25rem; }

/* ---------- Vorschau-Sperre ---------- */
.sperre { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: var(--rand); background: var(--grund); }
.sperre .schild { width: 100%; max-width: 30rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: 3px; box-shadow: 0 28px 48px -32px rgba(23, 40, 58, 0.45); }
.sperre .schild-kopf { background: var(--tafelblau); color: #fff; padding: 1.5rem clamp(1.25rem, 4vw, 2rem); border-radius: 2px 2px 0 0; }
.sperre .schild-feld { font-family: var(--schrift-schild); font-weight: 600; font-size: 1.125rem; color: var(--band-text); margin-bottom: 0.4rem; }
.sperre .schild-kopf h1 { font-family: var(--schrift-schild); font-weight: 700; font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1; }
.sperre form { padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 2rem; display: grid; gap: 0.75rem; }
.sperre label { font-family: var(--schrift-schild); font-weight: 600; font-size: 1.125rem; }
.sperre input { min-height: 48px; padding: 0.5rem 0.875rem; border: 1px solid #B9C9D8; border-radius: 3px; font: inherit; color: var(--tinte); background: #fff; }
.sperre input:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--signal); }
.sperre .fehler { color: #A3271B; font-weight: 500; }
.sperre .knopf { min-height: 52px; width: 100%; margin-top: 0.25rem; align-items: center; border: 0; background: var(--tafelblau); color: #fff; font-family: var(--schrift-schild); font-weight: 700; font-size: 1.375rem; }
.sperre .knopf:hover { background: var(--tinte); }
