/* Textseiten (Impressum, Datenschutz, Förderung) im Stil der Tür. Schriften und
   Produktname kommen aus grund.css. */
:root {
  color-scheme: dark;
  --rand: clamp(16px, 5.6vw, 80px);
  --grund: #03060c;
  --text: #ecf0f5;
  --text-2: #98a3b3;
  --text-3: #707b8b;
  --rahmen: rgba(152, 163, 179, 0.30);
  --fokus: #4da3ff;
  --f-titel: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-text: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[data-l] { display: none; }
[data-sprache="de"] [data-l="de"],
[data-sprache="en"] [data-l="en"],
[data-sprache="sk"] [data-l="sk"] { display: inline; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--grund); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 3px; border-radius: 6px; }
.produkt::before { content: var(--produkt); }

.seite { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.innen {
  width: 100%; max-width: calc(1280px + 2 * var(--rand)); margin-inline: auto;
  padding-inline: max(var(--rand), env(safe-area-inset-left)) max(var(--rand), env(safe-area-inset-right));
}

.kopf {
  flex: none; height: calc(68px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.marke {
  flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding-block: 9px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1;
}
.marke img { width: 26px; height: 26px; display: block; }
.zurueck {
  position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border: 1px solid var(--rahmen); border-radius: 999px;
  font-size: 0.875rem; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.zurueck::after { content: ''; position: absolute; inset: -5px -2px; }
.zurueck:hover { border-color: rgba(238, 242, 248, 0.55); background: rgba(238, 242, 248, 0.04); }

.inhalt { flex: 1 0 auto; padding-block: clamp(48px, 12svh, 128px) 64px; }
.inhalt h1 {
  margin: 0 0 clamp(24px, 4svh, 40px); max-width: 14ch;
  font-family: var(--f-titel); font-optical-sizing: auto; font-weight: 300;
  font-size: clamp(2rem, 1.2rem + 3.8vw, 4.25rem); line-height: 1.04; letter-spacing: -0.02em;
  text-wrap: balance; hyphens: auto; overflow-wrap: break-word;   /* „Datenschutzerklärung“ passt auch bei 360 px */
}
.inhalt p { max-width: 36em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.inhalt p + p { margin-top: 1em; }
.foerderer { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(32px, 6svh, 56px); }
.foerderer a {
  display: inline-flex; align-items: center; padding: 20px 28px; border-radius: 14px; background: #ffffff;
  transition: box-shadow .2s;
}
.foerderer a:hover { box-shadow: 0 0 0 3px rgba(238, 242, 248, 0.25); }
.foerderer img { display: block; height: clamp(72px, 12vw, 120px); width: auto; }

.fuss {
  flex: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px;
  padding-top: 24px; padding-bottom: calc(clamp(16px, 3.4svh, 40px) + env(safe-area-inset-bottom));
  font-size: 0.8125rem; line-height: 1.4; color: var(--text-3);
}
.fuss a { color: var(--text-2); text-decoration: none; padding-block: 13px; margin-block: -13px; transition: color .2s; }
.fuss a:hover, .fuss a[aria-current="page"] { color: var(--text); }
@media (max-width: 699px) {
  .kopf { height: calc(60px + env(safe-area-inset-top)); }
  .fuss { gap: 4px 20px; font-size: 0.78125rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
