/* Druckerei Pockrandt — shared design system */

/* ---------- Webfonts (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/fraunces-300.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/inter-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/jetbrains-mono-300.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
}

:root {
  --paper: #F4EFE6;
  --paper-2: #EAE3D3;
  --paper-3: #DDD3BC;
  --ink: #1A1915;
  --ink-2: #3A3830;
  --ink-3: #6B6659;
  --ink-4: #A8A193;
  --blue: #1E3A5F;
  --blue-2: #2B4F7D;
  --blue-ink: #0F2137;
  --kraft: #B8A88A;
  --red: #B23B2E;   /* "printer's red" — used sparingly */
  --line: rgba(26, 25, 21, 0.14);
  --line-2: rgba(26, 25, 21, 0.08);

  --f-serif: "Fraunces", "Times New Roman", serif;
  --f-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

/* ---------- Typography utilities ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.mono-sm { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-weight: 400; font-optical-sizing: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ---------- Container ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 239, 230, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-serif);
  font-size: 20px;
  font-variation-settings: "SOFT" 30, "opsz" 20;
  letter-spacing: -0.01em;
}
.brand small {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink);
}
.nav-cta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 2px;
  transition: background .2s var(--ease);
}
.nav-cta:hover { background: var(--blue-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 24px; border-radius: 2px;
  transition: all .2s var(--ease);
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap .2s var(--ease);
}
.btn-link:hover { gap: 14px; }

/* ---------- Printer's marks (register mark etc.) ---------- */
.reg-mark {
  width: 18px; height: 18px; display: inline-block; position: relative; flex: none;
}
.reg-mark::before, .reg-mark::after {
  content: ""; position: absolute; background: currentColor;
}
.reg-mark::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.reg-mark::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.reg-mark span {
  position: absolute; inset: 3px; border-radius: 50%; border: 1px solid currentColor;
}

/* ---------- Section label ---------- */
.sec-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.sec-label::before {
  content: ""; width: 28px; height: 1px; background: currentColor; display: inline-block;
}

/* ---------- Placeholder imagery (striped, with mono caption) ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(26,25,21,0.04) 0 2px,
      transparent 2px 14px),
    var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-3);
  overflow: hidden;
}
.ph.ink {
  background:
    repeating-linear-gradient(135deg,
      rgba(244,239,230,0.06) 0 2px,
      transparent 2px 14px),
    var(--blue-ink);
  color: rgba(244,239,230,0.7);
  border-color: rgba(244,239,230,0.2);
}
.ph-cap {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  pointer-events: none;
}
.ph-cap .num { opacity: 0.6; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 40px;
  margin-top: 120px;
}
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; }
.footer h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 20px; font-weight: 500;
}
.footer .bigmark {
  font-family: var(--f-serif); font-size: 44px; line-height: 0.95; letter-spacing: -0.02em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: rgba(244,239,230,0.72); transition: color .2s var(--ease); }
.footer ul a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(244,239,230,0.14);
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-4);
}

/* ---------- Utility ---------- */
.rule { height: 1px; background: var(--line); width: 100%; }
.rule-thick { height: 2px; background: var(--ink); width: 100%; }
.hide-sm { }
@media (max-width: 840px) {
  .hide-sm { display: none !important; }
}
