/* Shared styles for Between Deadlines subpages (Kontakt, Blog, Impressum, 404) */
@font-face { font-family: "Intrepid"; src: url("/fonts/intreb.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Apple Garamond"; src: url("/fonts/AppleGaramond-LightItalic.ttf") format("truetype"); font-style: italic; font-display: swap; }

:root {
  --paper: #f5f5f5;
  --lime: #c8f135;
  --lime-2: #d0ed30;
  --muted-light: #54595f;
  --line-dark: rgba(255,255,255,.12);
  --line-light: rgba(0,0,0,.08);
  --display: "Intrepid", "Archivo Black", "Helvetica Neue", Arial, sans-serif;
  --serif: "Apple Garamond", "EB Garamond", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.22,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--paper); color: #111; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--lime); color: #000; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lime { background: var(--lime); color: #000; }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(200,241,53,.65); }
.btn-black { background: #000; color: var(--lime); }
.btn-black:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(0,0,0,.55); }

/* Nav */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100; width: calc(100% - 32px); max-width: 1180px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 10px 10px 22px; border-radius: 16px; background: rgba(10,10,10,.82); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); color: #fff; }
.brand { font-family: var(--display); text-transform: uppercase; font-size: 17px; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { display: block; width: 30px; aspect-ratio: 2441 / 2117; background: currentColor; color: var(--paper); -webkit-mask: url("/img/logo-white-512.png") center / contain no-repeat; mask: url("/img/logo-white-512.png") center / contain no-repeat; transition: transform .5s var(--ease), color .3s; }
.brand:hover .logo { transform: scale(1.08); color: var(--lime); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: rgba(255,255,255,.72); }
.nav-links a { text-decoration: none; position: relative; transition: color .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--lime); transition: right .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-dark); position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 18px; height: 1.5px; background: #fff; content: ""; }
.burger span { top: 20px; } .burger span::before { left: 0; top: -6px; } .burger span::after { left: 0; top: 6px; }
.mobile-menu { display: none; }

/* Page header */
.head { position: relative; overflow: hidden; background: #000; color: #fff; padding: 170px 0 84px; isolation: isolate; }
.head::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); }
.head::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -420px; width: 700px; height: 560px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, #e6ff5b, #c8f135 40%, rgba(200,241,53,.2) 72%, transparent); filter: blur(30px); opacity: .85; }
.kicker { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); color: var(--lime-2); margin-bottom: 10px; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .98; }
.head h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 84px); line-height: .96; max-width: 18ch; }
.head .intro { margin-top: 22px; max-width: 64ch; color: rgba(255,255,255,.62); font-size: 16px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6b7a12; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }

/* Footer */
.site-foot { background: #000; color: rgba(255,255,255,.5); font-size: 13px; padding: 30px 0; }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--lime); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .logo { width: 22px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.96); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 32px; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .mobile-menu a { font-family: var(--display); text-transform: uppercase; font-size: 34px; color: #fff; text-decoration: none; }
  .mobile-menu.open { opacity: 1; pointer-events: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .head { padding: 130px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
