/* ══════════════════════════════════════════════════════════
   SANDIIX – Stylesheet für Impressum und Datenschutzerklärung

   Ausschnitt aus dem Design-System der Hauptseite (style.css).
   Enthält nur die Regeln, die imprint.html und privacy.html
   tatsächlich verwenden – Kopfzeile, Textsatz, Fußzeile.
   Die IZOROYAL-Startseite nutzt ein eigenes, helles Layout
   (css/izoroyal.css) und bindet dieses Stylesheet nicht ein.
   ══════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-vf.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #090909;
  --line: rgba(255, 255, 255, 0.1);
  --txt: #f5f5f6;
  --mut: #9a9aa1;
  --red: #0e7f95;   /* Petrol-Blau, dunkle Variante (Variablenname aus style.css beibehalten) */
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }

.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

/* ── Kopfzeile ──────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(9, 9, 9, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  width: min(1400px, calc(100% - 48px)); margin-inline: auto;
  height: var(--nav-h); display: flex; align-items: center; gap: 32px;
}
.nav__logo { display: flex; flex-direction: column; align-items: center; line-height: 1; gap: 5px; }
.nav__logoimg { height: 30px; width: auto; display: block; object-fit: contain; }
@media (max-width: 900px) { .nav__logoimg { height: 24px; } }

.wordmark { font-size: 1.4rem; font-weight: 900; letter-spacing: 0.06em; }
.wordmark em { font-style: normal; color: var(--red); }
.wordmark sup { font-size: 0.5em; font-weight: 600; opacity: 0.7; }
/* „BUILT TO PERFORM" mittig unter der Wortmarke – wie im Original-Logo */
.wordmark__sub {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-indent: 0.25em;
  text-transform: uppercase;
  color: var(--mut);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .wordmark__sub { font-size: 7px; letter-spacing: 0.46em; text-indent: 0.23em; }
}

.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 13px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--mut);
  transition: color 0.3s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--txt); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ── Textsatz ───────────────────────────────────────────── */

.legal { padding: calc(var(--nav-h) + 56px) 0 90px; max-width: 780px; position: relative; }
.legal h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); font-weight: 900; text-transform: uppercase; margin-bottom: 36px; }
.legal h2 { font-size: 1.12rem; font-weight: 800; text-transform: uppercase; margin: 36px 0 10px; color: var(--red); }
.legal p, .legal li { color: var(--mut); margin-bottom: 10px; }
.legal strong { color: var(--txt); }
.legal a { color: var(--red); }
.legal ul { list-style: disc; padding-left: 22px; }

/* ── Fußzeile ───────────────────────────────────────────── */

.footer { background: #060606; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.footer__base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.06em; color: var(--mut);
}
.footer__line { height: 3px; background: var(--red); }

/* ── Mobil ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .nav__inner { width: calc(100% - 32px); gap: 16px; }
  .nav__links a { font-size: 11px; letter-spacing: 0.08em; }
}
