/* ================================================================
   WPNTEC — Shared Component Styles
   Nav · Footer · Cookie Banner · Base Tokens · Utilities
   Eingebunden in alle Seiten über <link href="components.css">
   ================================================================ */

/* ── LOKALE SCHRIFTARTEN ─────────────────────────────────────── */
/* bebas-neue-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/bebas-neue-v16-latin-regular.woff2') format('woff2');
}
/* inter-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/inter-v20-latin-300.woff2') format('woff2');
}
/* inter-300italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/inter-v20-latin-300italic.woff2') format('woff2');
}
/* inter-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
}
/* inter-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
}
/* inter-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
}
/* inter-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
}
/* roboto-mono-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/roboto-mono-v31-latin-300.woff2') format('woff2');
}
/* roboto-mono-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-mono-v31-latin-regular.woff2') format('woff2');
}
/* roboto-mono-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/roboto-mono-v31-latin-500.woff2') format('woff2');
}
/* roboto-mono-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/roboto-mono-v31-latin-600.woff2') format('woff2');
}
/* roboto-mono-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-mono-v31-latin-700.woff2') format('woff2');
}

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --void:     #060606;
  --ink:      #0d0d0d;
  --s1:       #111;
  --s2:       #181818;
  --border:   #1e1e1e;
  --blight:   #2a2a2a;

  --fire:     #D94F00;
  --fire-b:   #FF6120;
  --fire-dim: rgba(217,79,0,.10);
  --fire-glo: rgba(217,79,0,.22);
  --fire-rim: rgba(217,79,0,.4);

  --silver:   #7A8BA0;
  --sil-l:    #A8B8C8;

  --white:    #FFFFFF;
  --ofw:      #EBEBEB;
  --t2:       #787878;
  --t3:       #404040;

  --fd:  'Bebas Neue', sans-serif;
  --fb:  'Inter', sans-serif;
  --fm:  'Roboto Mono', monospace;

  --ease: cubic-bezier(0.16,1,0.3,1);
}

/* ── BASE ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--void);
  color: var(--ofw);
  font-family: var(--fb);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────────── */
.eyebrow {
  font-family: var(--fm); font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--fire);
}
.hd { font-family: var(--fd); line-height: .92; letter-spacing: .015em; color: var(--white); }
.hd-xl { font-size: clamp(4.5rem,9vw,9rem); }
.hd-lg  { font-size: clamp(3rem,6vw,6rem); }
.hd-md  { font-size: clamp(2.2rem,4vw,3.8rem); }
.accent { color: var(--fire); }
.ghost  { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); }
.rule   { width: 44px; height: 2px; background: var(--fire); border-radius: 1px; margin: 18px 0; }
.bcopy  { font-size: 1.05rem; color: var(--t2); line-height: 1.8; max-width: 520px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px;
  font-family: var(--fm); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 2px; border: none; cursor: pointer;
  transition: all .3s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-f  { background: var(--fire); color: var(--white); }
.btn-f:hover { background: var(--fire-b); box-shadow: 0 10px 40px var(--fire-glo); transform: translateY(-2px); }
.btn-o  { background: transparent; color: var(--ofw); border: 1px solid var(--blight); }
.btn-o:hover { border-color: var(--fire); color: var(--fire); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 11px; }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }

/* ================================================================
   COOKIE BANNER
   ================================================================ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  transform: translateY(110%);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner.hiding { transform: translateY(110%); }
.cb-inner {
  background: rgba(6,6,6,.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 52px;
  max-width: 100%;
}
.cb-icon { width: 32px; height: 32px; color: var(--fire); flex-shrink: 0; }
.cb-label {
  font-family: var(--fm); font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--fire); margin-bottom: 3px;
}
.cb-msg { font-size: .825rem; color: var(--t2); }
.cb-msg a { color: var(--silver); text-decoration: underline; }
.cb-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cb-btn {
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--fm); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 20px; border-radius: 2px; border: 1px solid; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  touch-action: manipulation;
  position: relative; z-index: 1;
}
/* Beide Buttons gleichwertig — DSGVO: kein Dark Pattern */
.cb-btn-accept { background: var(--fire); color: #fff; border-color: var(--fire); }
.cb-btn-accept:hover { background: #c34700; border-color: #c34700; }
.cb-btn-reject { background: transparent; color: var(--ofw); border-color: var(--blight); }
.cb-btn-reject:hover { border-color: var(--ofw); color: var(--white); }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  transition: all .4s var(--ease);
}
.nav__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 52px;
  transition: all .4s var(--ease);
}
.nav.stuck .nav__bar {
  padding: 14px 52px;
  background: rgba(6,6,6,.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav__logo { display: flex; align-items: center; gap: 13px; }
.nav__logo-img { display: block; position: relative; top: -5px; left: 5px; }
.nav__brand { font-family: var(--fd); font-size: 1.7rem; letter-spacing: .15em; color: var(--white); }
.nav__links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav__links a {
  font-family: var(--fm); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); transition: color .2s; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--fire);
  transition: width .25s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--fire); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__loc { font-family: var(--fm); font-size: 10px; letter-spacing: .14em; color: var(--t3); }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  cursor: pointer; background: none; border: none; padding: 4px; z-index: 1001;
}
.nav__burger span {
  display: block; width: 100%; height: 1.5px; background: var(--white);
  transition: transform .3s var(--ease), opacity .2s, width .3s var(--ease);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: rgba(6,6,6,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 90px 32px 48px;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  pointer-events: none;
}
.nav__mobile.open { transform: translateY(0); pointer-events: all; }
.nav__mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav__mobile ul li a {
  display: block; font-family: var(--fd); font-size: 2.2rem; letter-spacing: .08em;
  color: var(--t2); text-transform: uppercase; padding: 10px 0;
  border-bottom: 1px solid var(--border); transition: color .2s;
}
.nav__mobile ul li a:hover,
.nav__mobile ul li a.active { color: var(--fire); }
.nm-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.f-brand { font-family: var(--fd); font-size: 1.9rem; letter-spacing: .15em; color: var(--white); margin-top: -5px; }
.f-tagline { font-family: var(--fm); font-size: 9px; letter-spacing: .2em; color: var(--fire); text-transform: uppercase; margin-top: 3px; }
.f-about { font-size: .85rem; color: var(--t3); line-height: 1.7; margin-top: 14px; max-width: 275px; }
.f-social { display: flex; gap: 10px; margin-top: 22px; }
.f-social a {
  width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--t3);
  transition: all .25s;
}
.f-social a:hover { border-color: var(--fire); color: var(--fire); }
.f-col-h { font-family: var(--fm); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--fire); margin-bottom: 16px; }
.f-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.f-list a { font-size: .875rem; color: var(--t3); transition: color .2s; }
.f-list a:hover { color: var(--ofw); }
.fc-k { font-family: var(--fm); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--t3); margin-bottom: 2px; }
.fc-v { font-size: .875rem; color: var(--silver); }
.fc-v a { transition: color .2s; }
.fc-v a:hover { color: var(--fire); }
.fc-row { margin-bottom: 12px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.f-copy { font-family: var(--fm); font-size: 10px; letter-spacing: .1em; color: var(--t3); }
.f-made { font-family: var(--fm); font-size: 10px; letter-spacing: .1em; color: var(--t3); }
.f-legal { display: flex; gap: 22px; }
.f-legal a { font-family: var(--fm); font-size: 10px; letter-spacing: .1em; color: var(--t3); transition: color .2s; }
.f-legal a:hover { color: var(--ofw); }

/* Footer minimal (Rechtsseiten) */
.footer--minimal {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer--minimal .footer__bottom { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__right .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .nav__bar { padding: 16px 24px; }
  .nav.stuck .nav__bar { padding: 12px 24px; }
  .cb-inner { grid-template-columns: 1fr; padding: 18px 24px; gap: 14px; }
  .cb-icon { display: none; }
  .cb-actions { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer--minimal .footer__bottom { padding: 0 24px; }
}
