/* sicht:weise — design tokens
   No external font loading (DSGVO: keine externen Schriften nachgeladen). */

:root {
  /* ── Core palette ─────────────────────────────────── */
  --ink:        #1a1d1c;   /* near-black, primary BG + type */
  --ink-soft:   #3a3d3b;   /* secondary text */
  --ink-mute:   #6c6f6c;   /* tertiary, captions */
  --cream:      #f4efe6;   /* warm off-white */
  --cream-deep: #ebe5d8;   /* card / section BG */
  --paper:      #faf7f0;   /* lightest BG */
  --sage:       #6b7a5a;
  --sage-deep:  #4a5640;
  --sage-mist:  #c8cfc0;
  --clay:       #c47554;   /* primary accent — terracotta */
  --clay-deep:  #a85d3e;
  --line:       #d8d4c8;
  --line-soft:  #e6e1d4;

  /* ── Type stacks — system only, no @font-face ─────── */
  --serif: "Iowan Old Style", "Palatino Linotype", "Palatino",
           "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI",
           "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* ── Spacing — 4px grid ───────────────────────────── */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;
  --s-11: 160px;

  /* ── Type scale ───────────────────────────────────── */
  --t-xs:   13px;
  --t-sm:   15px;
  --t-base: 17px;
  --t-md:   19px;
  --t-lg:   22px;
  --t-xl:   28px;
  --t-2xl:  36px;
  --t-3xl:  48px;
  --t-4xl:  64px;
  --t-5xl:  88px;
  --t-6xl:  120px;

  /* ── Radii / containers ───────────────────────────── */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 10px;
  --container: 1320px;
  --measure:   64ch;
}

/* ── Minimal reset ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ── Skip link ────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: var(--s-3) var(--s-4); z-index: 1000;
  text-decoration: none;
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

/* ── Portrait placeholder ─────────────────────────────── */
.portrait-placeholder {
  position: relative;
  background: linear-gradient(160deg, var(--sage-mist), var(--cream-deep));
  overflow: hidden;
}
.portrait-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(107,122,90,0.35), transparent 55%),
    radial-gradient(ellipse at 50% 75%, rgba(196,117,84,0.18), transparent 60%);
}
.portrait-placeholder::after {
  content: "Portrait \00B7 Platzhalter";
  position: absolute; left: 50%; bottom: var(--s-4);
  transform: translateX(-50%);
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(244,239,230,0.85);
  padding: 6px 10px;
  border-radius: 999px;
}

/* ── Cookie banner ────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 50%; bottom: var(--s-5);
  transform: translateX(-50%);
  width: min(720px, calc(100% - var(--s-5) * 2));
  background: var(--ink); color: var(--cream);
  padding: var(--s-5);
  display: flex; gap: var(--s-5);
  align-items: center; flex-wrap: wrap;
  font-size: var(--t-sm); line-height: 1.5;
  z-index: 900;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.35);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { flex: 1 1 280px; }
.cookie-banner a { text-decoration: underline; color: var(--cream); }
.cookie-banner button {
  background: var(--cream); color: var(--ink);
  border: none; padding: 10px 20px;
  font-weight: 600; font-size: var(--t-sm);
  letter-spacing: 0.02em;
  border-radius: var(--radius);
}
.cookie-banner button:hover { background: #fff; }

/* ── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
