:root {
  --bg: #0b0b0c;
  --surface: #17171a;
  --text-primary: #f2f1ec;
  --text-muted: #8b8b85;
  --accent: #ff8000;
  --accent-dim: #cc6600;
  --font-display: "Archivo Expanded", sans-serif;
  --font-body: "Work Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

/* Topbar */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.75rem 2.5rem;
}

.logo-center {
  display: inline-flex;
}

.logo-center-img {
  display: block;
  height: 88px;
  width: auto;
}

@media (max-width: 720px) {
  .logo-center-img { height: 58px; }
}

.timecode {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Chooser */
.chooser {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1rem 2.5rem 3rem;
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.intro-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.intro-sub {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  text-transform: none;
}

/* Doors */
.doors {
  display: flex;
  width: 100%;
  max-width: 1100px;
  height: min(58vh, 520px);
  min-height: 340px;
  gap: 2px;
}

.door {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--surface);
  transition: flex-grow 0.5s ease;
}

.door-media {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 30% 20%, #2a2a2c 0%, #141416 60%, #0b0b0c 100%);
  filter: grayscale(0.6) brightness(0.65);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.door--wedding .door-media {
  background: radial-gradient(120% 100% at 70% 15%, #2c2622 0%, #16130f 60%, #0b0b0c 100%);
}

.door:hover .door-media,
.door:focus-visible .door-media {
  filter: grayscale(0) brightness(0.85);
  transform: scale(1.03);
}

.door-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 2rem;
  width: 100%;
  border-top: 2px solid transparent;
  transition: border-color 0.35s ease;
}

.door:hover .door-content,
.door:focus-visible .door-content {
  border-color: var(--accent);
}

.door-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.door-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
}

.door-cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
}

.door:hover .door-cta,
.door:focus-visible .door-cta {
  color: var(--accent);
}

.arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.door:hover .arrow,
.door:focus-visible .arrow {
  transform: translateX(4px);
}

.door:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.legal-nav { display: flex; gap: 1.25rem; }

.social-nav { display: flex; gap: 1.25rem; }
.social-nav a { color: var(--text-muted); transition: color 0.3s ease; }
.social-nav a:hover { color: var(--accent); }

.legal-nav a { color: var(--text-muted); transition: color 0.3s ease; }
.legal-nav a:hover { color: var(--text-primary); }

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid #2c2c30;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner.is-visible { display: flex; }

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner p a { color: var(--accent); text-decoration: underline; }

.cookie-banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cookie-banner-actions .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; border: none; cursor: pointer; }

@media (max-width: 480px) {
  .cookie-banner { left: 1rem; right: 1rem; max-width: none; }
}

/* Einfacher Header auf Impressum/Datenschutz */
.topbar--simple { justify-content: flex-start; }
.topbar .logo img { height: 40px; width: auto; }

/* Rechtstexte (Impressum/Datenschutz) */
.legal-content {
  padding: 3rem 2.5rem 6rem;
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.75rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; }

.legal-content a { color: var(--accent); text-decoration: underline; }

@media (max-width: 720px) {
  .legal-content { padding: 2.5rem 1.25rem 4rem; }
}

/* Übergangsseite */
.under-construction {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 1rem 2.5rem 3rem;
  text-align: center;
}

.uc-illustration { width: 140px; height: 140px; }
.uc-illustration svg { width: 100%; height: 100%; }

.uc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.uc-sub {
  color: var(--text-muted);
  max-width: 46ch;
  margin-top: -1rem;
}

.uc-contact {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 480px) {
  .uc-illustration { width: 100px; height: 100px; }
}
@media (max-width: 720px) {
  .topbar { padding: 1.25rem 1.25rem; }
  .doors { flex-direction: column; height: auto; }
  .door { min-height: 220px; flex: none; }
  .footer { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .door-media, .door-content, .door-cta, .arrow { transition: none; }
}
