@font-face { font-family: 'Inter Tight'; src: url(fonts/inter-tight-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
/* Maße wie die Cargo-Vorlage dornburgrebirth.cargo.site (gemessen 19.11.2026 bei 1440×690 und 509×659) */
:root { --green: #05A86B; --cream: #EFEADF; --mint: #CEFFAE; --bar: 40px; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body { font-family: 'Inter Tight', -apple-system, system-ui, sans-serif; color: var(--cream); background: #2b2a26; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

.hero { position: fixed; inset: 0 0 calc(var(--bar) + env(safe-area-inset-bottom)) 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* feines Pixelraster über dem Video (1 px Schachbrett, 60 % Schwarz) wie in der Vorlage */
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: conic-gradient(rgba(0,0,0,.6) 25%, transparent 0 50%, rgba(0,0,0,.6) 0 75%, transparent 0);
  background-size: 2px 2px; }
.hero > * { position: relative; z-index: 2; }

.logo { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: clamp(96px, 8.2vw, 180px); height: auto; display: block; }
h1 { font-weight: 700; font-size: max(44px, 3.93vw); line-height: 1; letter-spacing: -.04em; margin: 0 15px .24em; color: var(--cream); text-wrap: balance; }
.sub { width: clamp(190px, 16.3vw, 360px); height: auto; margin: 0 auto; display: block; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; height: calc(var(--bar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--green); display: flex; align-items: center; justify-content: space-between; padding: 0 21px; font-weight: 700; }
.bar small { font-size: 11.2px; line-height: 1.2; color: rgba(206,255,174,.46); font-weight: 700; }
.bar nav { display: flex; gap: clamp(28px, 5.5vw, 90px); align-items: center; }
.bar a { color: var(--mint); text-decoration: none; font-size: 14.5px; letter-spacing: -.023em; }
.bar a:hover, .bar a:focus-visible { text-decoration: underline; }
.bar small a { font-size: 11.2px; color: inherit; letter-spacing: 0; }
.bar .legal { margin-left: 14px; }
.bar .legal a { margin-right: 10px; }

@media (max-width: 640px) {
  :root { --bar: 64px; }
  h1 { font-size: 9.6vw; }
  .bar { align-items: flex-start; padding: 10px 21px; }
  .bar small { max-width: 50%; }
  .bar .legal { display: block; margin: 4px 0 0; }
  .bar nav { flex-direction: column; align-items: flex-end; gap: 0; }
  .bar a { line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } .hero { background: url(img/SchlossDornburg_Preview.png) center/cover; } }
