/* ═══════════════════════════════════════════════════════════════════
   LAYOUT — Grid, Viewports, Navigation
   ═══════════════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Visually hidden but accessible to crawlers and screen readers */
.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;
}

body {
  background: var(--bg-base);
  overflow-x: hidden;
}

/* Main Nav */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 28px;
  background: rgba(12, 18, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(110, 145, 180, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--logo-dot-color);
  opacity: var(--logo-dot-opacity);
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 8px;
  color: var(--text-headline);
}

.nav-tagline {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 6px;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-body); }

.nav-hamburger {
  display: none;
}

/* Viewport base */
.viewport {
  min-height: 100vh;
  position: relative;
}

/* Hero */
.viewport-hero {
  background: linear-gradient(180deg, #0C121A 0%, #121820 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 65% 50%, transparent 25%, rgba(10, 15, 22, 0.25) 50%, rgba(10, 15, 22, 0.7) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 6;
  padding: 0 80px;
  max-width: 620px;
}

.hero-overline {
  font-size: 22px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.5;
}

.hero-claim {
  font-family: 'Playfair Display', serif;
  font-size: 88px;
  font-weight: 400;
  color: var(--text-headline);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subline {
  font-size: 29px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.6;
  opacity: 0.65;
  max-width: 400px;
}

.hero-illustration {
  position: absolute;
  right: 14%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 480px;
  z-index: 1;
}

.hero-illustration img {
  width: 100%;
  height: auto;
}

.rabbit-quote {
  position: absolute;
  right: 14%;
  bottom: 22%;
  z-index: 5;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--blue-electric);
  opacity: 0.4;
  max-width: 200px;
  line-height: 1.5;
  text-align: right;
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--text-muted);
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Denkraum CTA (Textlink mit Puls) */
.denkraum-cta {
  position: absolute;
  right: 80px;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

.denkraum-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-electric);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--blue-electric);
  animation: denkraumPulse 3s ease-in-out infinite;
}

.denkraum-cta:hover .denkraum-cta-dot {
  box-shadow: 0 0 16px var(--blue-electric), 0 0 24px rgba(59, 130, 246, 0.4);
}

@keyframes denkraumPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.denkraum-cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  opacity: 0.6;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.denkraum-cta:hover .denkraum-cta-text {
  color: var(--text-body);
  opacity: 1;
}

/* Closer */
.viewport-closer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.closer-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.closer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.closer-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.closer-quote {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-style: italic;
  color: var(--text-headline);
  line-height: 1.4;
  margin-bottom: 16px;
}

.closer-attribution {
  display: block;
  font-size: 14px;
  color: var(--blue-electric);
  opacity: 0.7;
  margin-bottom: 40px;
  font-style: normal;
}

.closer-bridge {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-style: normal;
  color: var(--text-headline);
  opacity: 0.95;
  max-width: 400px;
  margin: 40px auto;
  text-align: center;
  line-height: 1.5;
}

/* Virtueller Espresso CTA (gestalteter Block mit Kaffeetasse) */
.gap-espresso-cta {
  text-align: center;
  background: rgba(21, 29, 40, 0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(110, 145, 180, 0.12);
  border-radius: 14px;
  padding: 40px 32px 36px;
  max-width: 520px;
  margin: 96px auto 0;
}

.gap-espresso-icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
}

.gap-espresso-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.gap-espresso-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(160, 185, 215, 0.6);
  margin-bottom: 12px;
}

.gap-espresso-heading {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-headline);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.gap-espresso-text {
  font-size: 15px;
  color: rgba(160, 185, 215, 0.75);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 24px;
}

.gap-espresso-email {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(160, 185, 215, 0.55);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.gap-espresso-email a {
  color: rgba(180, 200, 225, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 200, 225, 0.2);
  transition: color 0.2s, border-color 0.2s;
}

.gap-espresso-email a:hover {
  color: rgba(200, 215, 235, 0.95);
  border-color: rgba(200, 215, 235, 0.5);
}

.gap-espresso-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid rgba(225, 185, 145, 0.4);
  border-radius: 8px;
  color: rgba(240, 235, 225, 0.95);
  background: rgba(225, 185, 145, 0.04);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.gap-espresso-cta .cta-button:hover {
  border-color: rgba(225, 185, 145, 0.6);
  background: rgba(225, 185, 145, 0.08);
  color: #fff;
}

.gap-espresso-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(225, 185, 145, 0.9);
}

/* Footer */
.main-footer {
  padding: 24px 28px;
  border-top: 1px solid rgba(110, 145, 180, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-body); }
