/* firnis-software.com: eine Datei fuer alle Seiten. Kein Inline-CSS, damit die
   Content-Security-Policy (style-src 'self') ohne Ausnahme auskommt. */
@font-face { font-family: "Archivo"; src: url("Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --grund: #ffffff; --schrift: #0b0c0f; --leise: #5c6068; --linie: #d9dbe0;
  --kobalt: #1a3cff; --bernstein: #f5a300; --smaragd: #0b8a4b; --zinnober: #f03418;
}
@media (prefers-color-scheme: dark) {
  :root { --grund: #0e0f13; --schrift: #f4f5f7; --leise: #a3a7b0; --linie: #2a2d35; }
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--grund); color: var(--schrift); font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* ── Startseite ─────────────────────────────────────────────────────────── */
/* Schwarze Seite, in der Mitte die weisse Wortmarke, darunter drei Banner, unten die
   Rechtsverweise. Ablauf beim Oeffnen, ohne Skript:
   1. Wortmarke blendet ein, 2. Rechtsverweise blenden ein, 3. die Banner kommen nacheinander
   von links nach rechts als leere Leinwand (.banner, Verzoegerung ueber --ab), 4. auf jeder
   Leinwand malt sich das Bild Strich fuer Strich. Das Malen ist ein stummes Video je Banner
   (assets/banner-*.mp4); es startet mit der Seite, deshalb traegt jedes Video vorne die leere
   Leinwand als Vorlauf (--ab plus 0,3 s, siehe README). Wer im System weniger Bewegung
   eingestellt hat, sieht statt des Videos das fertige Bild (.ruhe) und keine Bewegung. */
body.start { background: #000; color: #fff; }
.start .seite { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.buehne { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(40px, 7vh, 84px); padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 72px) clamp(24px, 4vh, 48px); }
.marke { margin: 0; font: inherit; animation: ein 1s ease-out both; }
.marke svg { display: block; width: clamp(210px, 34vw, 470px); height: auto; }
.reihe { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(22px, 3vw, 44px); width: 100%; max-width: 1080px; }
.banner { flex: 0 1 300px; min-width: 0; animation: herein .5s cubic-bezier(.2,.7,.2,1) var(--ab) both; }
.b-vault { --ab: .9s; }
.b-soon { --ab: 1.15s; }
.b-contact { --ab: 1.4s; }
.banner > a, .banner > div { display: block; color: inherit; text-decoration: none; }
.bild { position: relative; display: block; overflow: hidden; border-radius: 7% / 13.6%; background: #1a1b1f;
  transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.bild video, .bild img { display: block; width: 100%; height: auto; aspect-ratio: 750 / 384; }
.bild .ruhe { display: none; }
.banner > a:hover .bild, .banner > a:focus-visible .bild { transform: translateY(-4px); }
.banner > a:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 6px; }
.zeile { display: block; margin-top: 14px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; overflow-wrap: anywhere; }
.zeile .adresse { display: block; margin-top: 5px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; font-size: 14px; }
.banner > a:hover .adresse, .banner > a:hover .ziel { text-decoration: underline; text-underline-offset: 5px; }

.start .fuss { justify-content: center; padding: 0 20px clamp(22px, 4vh, 40px); color: #b9bcc4; animation: ein .8s ease-out .5s both; }
.start .fuss span { background: #33363d; }
.fuss { display: flex; gap: 22px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.fuss a { text-decoration: none; padding: 6px 0; }
.fuss a:hover, .fuss a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.fuss a:focus-visible, .blatt a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.fuss span { width: 1px; height: 22px; background: var(--linie); }

@keyframes ein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes herein { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .reihe { flex-direction: column; align-items: center; }
  .banner { flex: none; width: min(100%, 320px); }
}
@media (prefers-reduced-motion: reduce) {
  .marke, .banner, .start .fuss { animation: none; }
  .bild { transition: none; }
  .bild video { display: none; }
  .bild .ruhe { display: block; }
}

/* ── Textseiten: Impressum, Datenschutz, 404 ────────────────────────────── */
.blatt { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.streifen { display: flex; height: 10px; flex: none; }
.streifen span { flex: 1 1 0; background: var(--kobalt); }
.streifen span:nth-child(2) { background: var(--bernstein); }
.streifen span:nth-child(3) { background: var(--smaragd); }
.streifen span:nth-child(4) { background: var(--zinnober); }
.kopf { padding: clamp(28px, 5vw, 72px) clamp(28px, 5vw, 72px) 0; }
.kopf a { display: inline-block; }
.kopf svg { display: block; width: clamp(140px, 14vw, 200px); height: auto; }
.text { flex: 1 0 auto; width: 100%; max-width: 46em; padding: clamp(36px, 6vw, 80px) clamp(28px, 5vw, 72px) 48px; }
.text h1 { margin: 0 0 clamp(24px, 3vw, 40px); font-weight: 300; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.015em; }
.text h2 { margin: 40px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.text p, .text li { margin: 0 0 14px; font-weight: 400; font-size: 17px; line-height: 1.55; }
.text ul { margin: 0 0 14px; padding-left: 1.2em; }
.text li { margin-bottom: 6px; }
.text a { text-underline-offset: 4px; }
.text .stand { margin-top: 40px; color: var(--leise); font-size: 15px; }
.blatt > .fuss { padding: 0 clamp(28px, 5vw, 72px) clamp(28px, 5vw, 72px); flex-wrap: wrap; }
