/* Shared base for all five design proposals (Herr Bellos Rudel, 25.10.2026) */
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(fonts/font-1.ttf) format('truetype'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(fonts/font-2.ttf) format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(fonts/font-3.ttf) format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url(fonts/font-5.ttf) format('truetype'); }

:root {
  --ink: #101010;
  --ink-2: #1b1d1a;
  --paper: #f4efe4;
  --paper-2: #ebe3d3;
  --forest: #1f3a2b;
  --moss: #4f6b3c;
  --gold: #c9a45a;
  --brass: #74561c;          /* readable gold on paper (5.9:1) */
  --white: #fffdf8;
  --muted-dark: #c9c3b6;     /* secondary text on ink (10:1) */
  --muted-light: #4d4a43;    /* secondary text on paper (7.6:1) */
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--paper); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .95; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 999px; }
.skip-link:focus { top: 16px; }

/* Header */
.hb-header { position: fixed; inset: 12px 12px auto; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 12px;
  border-radius: 999px; background: rgb(16 16 16 / .62); color: var(--white); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.hb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 20px; line-height: .9; text-transform: uppercase; }
.hb-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 1.5px var(--gold); }
.hb-nav { display: flex; gap: 4px; margin-left: auto; }
.hb-nav a { padding: 12px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; transition: background .2s var(--ease); }
.hb-nav a:hover { background: rgb(255 255 255 / .12); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .18s var(--ease), background .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8b66f; }
.btn-ghost { background: rgb(255 255 255 / .1); color: var(--white); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgb(255 255 255 / .14); color: inherit; font: 600 15px var(--body); cursor: pointer; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .hb-header .btn { display: none; }
  .hb-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 24px;
    background: rgb(16 16 16 / .94); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
  .hb-nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .hb-nav a { padding: 14px 16px; font-size: 17px; }
}

/* Sticky mobile contact bar */
.hb-mobile-bar { display: none; }
@media (max-width: 900px) {
  .hb-mobile-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    border-radius: 999px; background: rgb(16 16 16 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .hb-mobile-bar a { min-height: 48px; display: grid; place-items: center; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; }
  .hb-mobile-bar a:last-child { background: var(--gold); color: var(--ink); }
}

/* Small proposal badge so the viewer knows which draft this is */
.hb-badge { position: fixed; z-index: 60; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--ink);
  font: 600 13px var(--body); box-shadow: 0 6px 24px rgb(0 0 0 / .18); text-decoration: none; }
@media (max-width: 900px) { .hb-badge { bottom: 84px; } }

/* Reveal on enter (motion.js adds .in) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shared footer */
.hb-footer { padding: 48px 0 120px; background: var(--ink); color: var(--muted-dark); font-size: 15px; }
.hb-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.hb-footer a { color: var(--white); padding: 6px 0; display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
