/* Séance / App-Projekte – Kino-inspiriertes Design */

:root {
  --bg: #0c0b0a;
  --bg-elevated: #161412;
  --surface: #1e1b18;
  --text: #f5f0e8;
  --text-muted: #a89f92;
  --accent: #d4a84b;
  --accent-dim: #b8923f;
  --accent-glow: rgba(212, 168, 75, 0.25);
  --border: #2a2622;
  --radius: 12px;
  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
a:hover {
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: linear-gradient(to bottom, var(--bg) 60%, transparent);
  transition: background 0.3s;
}
.site-header.scrolled {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  color: var(--text);
}
.logo img {
  height: 3.25rem;
  width: auto;
  display: block;
  vertical-align: middle;
}
.logo:hover img { opacity: 0.9; }

/* Logo-Popup (Lightbox) */
.logo-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.logo-popup.is-open {
  opacity: 1;
  visibility: visible;
}
.logo-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.logo-popup-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-popup-content img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  display: block;
}
.logo-popup-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.8;
}
.logo-popup-close:hover {
  opacity: 1;
  color: var(--accent);
}
.logo span { color: var(--accent); }
.nav-main {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-main a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.nav-main a:hover { color: var(--text); }

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 20%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 32ch;
  margin-bottom: 2rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* Section */
.section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
  color: var(--text);
}

/* App cards */
.app-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.app-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.app-card.soon {
  opacity: 0.85;
  border-style: dashed;
}
.app-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.app-card .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.app-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.app-card .badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Legal pages (privacy, support, imprint) */
.page {
  padding: 6rem 0 4rem;
  min-height: 100vh;
}
.page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.page h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.page p, .page li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  max-width: 65ch;
}
.page ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}
.page .updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.contact-list {
  list-style: none;
  margin-left: 0;
}
.contact-list li {
  margin-bottom: 0.5rem;
}
.contact-list a {
  color: var(--accent);
}

@media (max-width: 640px) {
  .nav-main { display: none; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
}
