/* ==========================================================================
   Lorath Landing Page — Dark Fantasy / Multi-Genre Theme
   Mobile First, keine externen Abhängigkeiten, CSS Custom Properties
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  /* === Hintergründe === */
  --ff-bg-primary: #0d0d1a;
  --ff-bg-secondary: #1a1a2e;
  --ff-bg-tertiary: #16213e;
  --ff-bg-primary-rgb: 13, 13, 26;
  --ff-bg-secondary-rgb: 26, 26, 46;
  --ff-bg-tertiary-rgb: 22, 33, 62;

  /* === Textfarben === */
  --ff-text-primary: #eeeeee;
  --ff-text-secondary: #a0a0b8;
  --ff-text-muted: #6b6b80;

  /* === Akzentfarben === */
  --ff-accent: #e94560;
  --ff-accent-hover: #ff6b81;
  --ff-accent-rgb: 233, 69, 96;
  --ff-gold: #d4a574;
  --ff-gold-light: #e8c89e;
  --ff-gold-rgb: 212, 165, 116;

  /* === Funktionale Farben === */
  --ff-border-color: #2a2a4a;
  --ff-success: #4ade80;
  --ff-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);

  /* === Schriften === */
  --ff-font-heading: Georgia, 'Times New Roman', serif;
  --ff-font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* === Layout === */
  --ff-nav-height: 64px;
  --ff-container-max: 1200px;
  --ff-section-padding: 5rem 0;
  --ff-radius: 16px;
  --ff-radius-sm: 12px;
  --ff-radius-xs: 8px;

  /* === RGB-Hilfswerte === */
  --ff-white-rgb: 255, 255, 255;
  --ff-black-rgb: 0, 0, 0;

  /* === Webseiten-spezifisch === */
  --ff-hero-overlay-start: rgba(13, 13, 26, 0.5);
  --ff-hero-overlay-mid: rgba(13, 13, 26, 0.7);
  --ff-hero-overlay-end: rgba(13, 13, 26, 0.95);
  --ff-promo-gradient: linear-gradient(135deg, #e94560 0%, #c73a52 50%, #d4a574 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--ff-nav-height); }
body {
  font-family: var(--ff-font-body);
  background-color: var(--ff-bg-primary);
  color: var(--ff-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ff-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ff-gold-light); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ff-gold); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--ff-font-heading); color: var(--ff-gold); line-height: 1.2; }
.container { width: 100%; max-width: var(--ff-container-max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: var(--ff-section-padding); }
.section-header { text-align: center; margin-bottom: 3rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-intro { font-size: 1.1rem; color: var(--ff-text-secondary); line-height: 1.8; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Alternating section backgrounds */
.how-it-works, .tafelrunde, .faq { background-color: var(--ff-bg-secondary); }

/* --- Scroll Animations --- */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 0.9rem 2rem; border-radius: var(--ff-radius-xs);
  font-size: 1.05rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background-color: var(--ff-accent); color: #fff;
  box-shadow: 0 4px 20px rgba(var(--ff-accent-rgb), 0.3);
}
.btn-primary:hover {
  background-color: var(--ff-accent-hover); color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 28px rgba(var(--ff-accent-rgb), 0.4);
}
.btn-secondary { border: 2px solid var(--ff-gold); color: var(--ff-gold); background: transparent; }
.btn-secondary:hover { background-color: var(--ff-gold); color: var(--ff-bg-primary); transform: translateY(-2px); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--ff-nav-height); transition: background-color 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background-color: rgba(var(--ff-bg-primary-rgb), 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ff-border-color);
}
.nav-container {
  max-width: var(--ff-container-max); margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-font-heading); font-size: 1.25rem; color: var(--ff-gold);
  font-weight: 700; text-decoration: none;
}
.nav-logo img { width: 40px; height: 40px; border-radius: 8px; }
.nav-logo:hover { color: var(--ff-gold-light); }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.hamburger-line {
  display: block; width: 24px; height: 2px; background-color: var(--ff-text-primary);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Menu */
.nav-menu {
  position: fixed; top: 0; right: -100%; width: min(300px, 80vw); height: 100vh; height: 100dvh;
  background-color: var(--ff-bg-secondary); display: flex; flex-direction: column;
  padding: calc(var(--ff-nav-height) + 2rem) 2rem 2rem; gap: 0.5rem;
  transition: right 0.3s ease; border-left: 1px solid var(--ff-border-color); z-index: 999;
}
.nav-menu.open { right: 0; }
.nav-link {
  color: var(--ff-text-secondary); font-size: 1.1rem; padding: 0.75rem 0;
  border-bottom: 1px solid var(--ff-border-color); text-decoration: none; transition: color 0.2s;
}
.nav-link:hover { color: var(--ff-gold); }
.nav-cta {
  display: inline-block; margin-top: 1rem; padding: 0.75rem 1.5rem;
  background-color: var(--ff-accent); color: #fff; border-radius: var(--ff-radius-xs);
  text-align: center; font-weight: 600; text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}
.nav-cta:hover { background-color: var(--ff-accent-hover); color: #fff; transform: translateY(-1px); }
.nav-lang-link { color: var(--ff-gold) !important; font-weight: 600; opacity: 0.85; }
.nav-lang-link:hover { opacity: 1; color: var(--ff-gold-light) !important; }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(var(--ff-black-rgb), 0.5); z-index: 998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-menu {
    position: static; width: auto; height: auto; background: none;
    flex-direction: row; align-items: center; padding: 0; gap: 0; border: none;
  }
  .nav-link { font-size: 0.95rem; padding: 0.5rem 0.85rem; border-bottom: none; }
  .nav-cta { margin-top: 0; margin-left: 0.5rem; padding: 0.5rem 1.25rem; font-size: 0.95rem; }
}

/* ==========================================================================
   PROMO-BANNER — Slides down from header after delay
   ========================================================================== */
.promo-banner {
  position: fixed;
  top: var(--ff-nav-height); left: 0; right: 0;
  z-index: 999;
  background: var(--ff-promo-gradient);
  color: #fff;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  box-shadow: 0 4px 20px rgba(var(--ff-accent-rgb), 0.4);
}
.promo-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.promo-banner-content {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: 10px 50px 10px 1.5rem;
  flex-wrap: wrap; text-align: center;
}
.promo-banner-badge {
  background: rgba(var(--ff-black-rgb), 0.25); padding: 3px 10px;
  border-radius: 4px; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.promo-banner-text {
  font-size: 0.9rem; line-height: 1.4;
}
.promo-banner-cta {
  background: #fff; color: var(--ff-accent); padding: 6px 16px;
  border-radius: 6px; font-weight: 700; font-size: 0.85rem;
  text-decoration: none; white-space: nowrap; transition: background 0.2s;
}
.promo-banner-cta:hover { background: #f0f0f0; }
.promo-banner-close {
  position: absolute; top: 50%; right: 12px;
  transform: translateY(-50%);
  background: none; border: none; color: rgba(var(--ff-white-rgb), 0.8);
  font-size: 1.5rem; cursor: pointer; padding: 4px 8px; line-height: 1;
}
.promo-banner-close:hover { color: #fff; }

@media (max-width: 600px) {
  .promo-banner-content { flex-direction: column; gap: 0.5rem; padding: 10px 40px 10px 1rem; }
  .promo-banner-text { font-size: 0.8rem; }
}

/* ==========================================================================
   HERO — Full-width background image with blur-up
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--ff-nav-height); overflow: hidden;
}
.hero-bg-image {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-bg-mini {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: blur(20px); transform: scale(1.1);
  transition: opacity 0.6s ease-out;
}
.hero-bg-full {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 0.6s ease-out;
}
.hero-bg-full.loaded { opacity: 1; }
.hero-bg-full.loaded + .hero-bg-mini,
.hero-bg-mini.hidden { opacity: 0; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--ff-hero-overlay-start) 0%, var(--ff-hero-overlay-mid) 50%, var(--ff-hero-overlay-end) 100%);
}
.hero-bg-particles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-content {
  position: relative; z-index: 3; text-align: center;
  max-width: 720px; padding: 2rem 1.25rem;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 1.25rem; line-height: 1.1;
  text-shadow: 0 2px 30px rgba(var(--ff-black-rgb), 0.5), 0 0 40px rgba(var(--ff-gold-rgb), 0.15);
}
/* Epochen-Schriften: Gotisch → Modern → Futuristisch */
.epoch-gothic {
  font-family: 'UnifrakturMaguntia', Georgia, serif;
  font-weight: 400;
}
.epoch-modern {
  font-family: var(--ff-font-heading);
  font-style: italic;
}
.epoch-future {
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--ff-text-secondary);
  line-height: 1.8; margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1rem; }
.hero-note { font-size: 0.85rem; color: var(--ff-text-muted); }

/* ==========================================================================
   ABOUT — Two columns
   ========================================================================== */
.about-grid {
  display: flex; flex-direction: column; gap: 2.5rem; align-items: center;
}
.about-image {
  border-radius: var(--ff-radius); overflow: hidden; box-shadow: var(--ff-shadow);
  max-width: 500px; width: 100%;
}
.about-image img { width: 100%; height: auto; }
.about-text { max-width: 560px; }
.about-text .section-title { text-align: left; margin-bottom: 1.5rem; }
.about-text p { color: var(--ff-text-secondary); margin-bottom: 1rem; line-height: 1.8; }

@media (min-width: 900px) {
  .about-grid { flex-direction: row; gap: 4rem; }
  .about-image { flex: 0 0 45%; max-width: none; }
  .about-text { flex: 1; }
}

/* ==========================================================================
   GENRE SHOWCASE — Infinite auto-scroll carousel
   ========================================================================== */
.genre-carousel {
  position: relative;
  margin: 0 -1.25rem;
  padding: 0 0 1rem;
}
.genre-carousel-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  cursor: grab;
}
.genre-carousel-viewport.dragging { cursor: grabbing; }
.genre-carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  transition: transform 0.4s ease;
}
.genre-carousel-track.no-transition { transition: none; }
.genre-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(var(--ff-bg-secondary-rgb), 0.85); border: 1px solid var(--ff-border-color);
  color: var(--ff-gold); font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}
.genre-carousel-btn:hover {
  background: rgba(var(--ff-bg-secondary-rgb), 0.95); border-color: var(--ff-gold);
}
.genre-carousel-btn--prev { left: 0.5rem; }
.genre-carousel-btn--next { right: 0.5rem; }
@media (max-width: 600px) {
  .genre-carousel-btn { width: 32px; height: 32px; font-size: 1rem; }
}
.genre-card {
  flex: 0 0 220px;
  border-radius: var(--ff-radius); overflow: hidden;
  border: 2px solid var(--ff-border-color); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  background: var(--ff-bg-secondary);
}
.genre-card:hover {
  transform: translateY(-6px);
  border-color: var(--genre-color, var(--ff-gold));
  box-shadow: 0 8px 32px rgba(var(--ff-black-rgb), 0.4), 0 0 20px color-mix(in srgb, var(--genre-color, var(--ff-gold)) 30%, transparent);
}
.genre-card-image {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
}
.genre-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.genre-card:hover .genre-card-image img { transform: scale(1.05); }
.genre-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(var(--ff-bg-primary-rgb), 0.95));
}
.genre-card-overlay h3 {
  font-size: 1.1rem; color: #fff; text-shadow: 0 2px 8px rgba(var(--ff-black-rgb), 0.6);
}
.genre-new-badge {
  display: inline-block;
  background: var(--ff-accent); color: #fff;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.genre-footer {
  text-align: center; color: var(--ff-text-muted); font-size: 0.95rem; margin-top: 2rem;
}

@media (min-width: 600px) {
  .genre-card { flex: 0 0 260px; }
}
@media (min-width: 1000px) {
  .genre-card { flex: 0 0 280px; }
}

/* ==========================================================================
   HOW IT WORKS — 3 Steps
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.step-card {
  background: var(--ff-bg-tertiary); border: 1px solid var(--ff-border-color); border-radius: var(--ff-radius);
  padding: 2rem 1.5rem; text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--ff-gold); }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ff-accent); color: #fff;
  font-family: var(--ff-font-heading); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1.25rem;
}
.step-screenshot {
  border-radius: var(--ff-radius-sm); overflow: hidden; margin-bottom: 1.25rem;
  box-shadow: var(--ff-shadow); border: 1px solid var(--ff-border-color);
}
.step-screenshot img { width: 100%; height: auto; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.step-card p { color: var(--ff-text-secondary); font-size: 0.95rem; line-height: 1.7; }

@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   DEMO CHAT — Interactive preview widget
   ========================================================================== */
.demo-chat {
  position: relative;
  max-width: 680px; margin: 0 auto;
  background: var(--ff-bg-secondary);
  border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(var(--ff-black-rgb), 0.4);
}
.demo-chat-messages {
  height: 420px; overflow-y: auto;
  padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem;
  scroll-behavior: smooth;
}
.demo-msg { display: flex; gap: 0.5rem; max-width: 85%; animation: demo-fadein 0.3s ease; }
.demo-msg--user { align-self: flex-end; flex-direction: row-reverse; }
.demo-msg--ai { align-self: flex-start; }
@keyframes demo-fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }
.demo-msg-avatar {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: rgba(var(--ff-gold-rgb), 0.1);
  border-radius: 50%; border: 1px solid rgba(var(--ff-gold-rgb), 0.2);
}
.demo-msg-bubble {
  padding: 0.75rem 1rem; border-radius: 12px;
  font-size: 0.9rem; line-height: 1.6;
}
.demo-msg--user .demo-msg-bubble {
  background: rgba(var(--ff-accent-rgb), 0.15); border: 1px solid rgba(var(--ff-accent-rgb), 0.25);
  color: var(--ff-text-primary); border-bottom-right-radius: 4px;
}
.demo-msg--ai .demo-msg-bubble {
  background: rgba(var(--ff-white-rgb), 0.04); border: 1px solid var(--ff-border-color);
  color: var(--ff-text-secondary); border-bottom-left-radius: 4px;
}
.demo-chat-typing {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0 1.25rem 0.75rem;
}
.demo-chat-counter {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem; color: var(--ff-text-muted);
  border-top: 1px solid var(--ff-border-color);
}
.demo-chat-input {
  display: flex; gap: 0.5rem;
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid var(--ff-border-color);
  background: rgba(var(--ff-black-rgb), 0.2);
}
.demo-chat-input textarea {
  flex: 1; resize: none;
  background: rgba(var(--ff-white-rgb), 0.06); border: 1px solid var(--ff-border-color);
  border-radius: 8px; padding: 0.6rem 0.75rem;
  color: var(--ff-text-primary); font-size: 0.9rem;
  font-family: var(--ff-font-body);
  min-height: 38px; max-height: 100px;
}
.demo-chat-input textarea:focus {
  outline: none; border-color: rgba(var(--ff-gold-rgb), 0.4);
}
.demo-send { white-space: nowrap; align-self: flex-end; }
.demo-cta-overlay {
  position: absolute; inset: 0;
  background: rgba(var(--ff-bg-primary-rgb), 0.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 10; backdrop-filter: blur(4px);
}
.demo-cta-content {
  text-align: center; padding: 2rem; max-width: 380px;
}
.demo-cta-content h3 {
  font-size: 1.3rem; color: var(--ff-gold); margin-bottom: 0.75rem;
}
.demo-cta-content p { color: var(--ff-text-secondary); margin-bottom: 1.25rem; }
.demo-cta-trust {
  font-size: 0.75rem; color: var(--ff-text-muted); margin-top: 0.75rem;
}
.btn-large { padding: 0.85rem 2rem; font-size: 1rem; }

@media (max-width: 600px) {
  .demo-chat-messages { height: 350px; padding: 1rem; }
  .demo-msg { max-width: 92%; }
}

/* ==========================================================================
   FEATURES — Alternating blocks
   ========================================================================== */
.feature-block {
  display: flex; flex-direction: column; gap: 2rem; align-items: center;
  margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--ff-border-color);
}
.feature-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.feature-block-image {
  width: 100%; max-width: 560px; border-radius: var(--ff-radius-sm); overflow: hidden;
  box-shadow: var(--ff-shadow); border: 1px solid var(--ff-border-color);
}
.feature-block-image img { width: 100%; height: auto; }
.feature-block-text h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-block-text p { color: var(--ff-text-secondary); font-size: 1.05rem; line-height: 1.8; }

/* Collage for Völker/Klassen feature */
.feature-block-collage {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
  padding: 1rem; background: var(--ff-bg-tertiary);
}
.feature-block-collage img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 2px solid var(--ff-border-color); transition: border-color 0.3s, transform 0.3s;
}
.feature-block-collage img:hover { border-color: var(--ff-gold); transform: scale(1.08); }

/* Icon-only feature block */
.feature-block--icon {
  flex-direction: row; gap: 2rem; text-align: left;
  background: var(--ff-bg-tertiary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius); padding: 2.5rem; margin-bottom: 0;
}
.feature-block-icon {
  flex-shrink: 0; width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.feature-block-icon img { width: 80px; height: 80px; object-fit: contain; }

@media (min-width: 900px) {
  .feature-block { flex-direction: row; text-align: left; }
  .feature-block-image { flex: 0 0 50%; max-width: none; }
  .feature-block-text { flex: 1; }
  .feature-block--reverse { flex-direction: row-reverse; }
}

/* ==========================================================================
   TAFELRUNDE
   ========================================================================== */
.tafelrunde-layout {
  display: flex; flex-direction: column; gap: 2.5rem; align-items: center;
}
.tafelrunde-image {
  width: 100%; max-width: 500px; border-radius: var(--ff-radius); overflow: hidden;
  box-shadow: var(--ff-shadow);
}
.tafelrunde-image img { width: 100%; height: auto; }
.tafelrunde-info { max-width: 560px; }
.tafelrunde-modes { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.tafelrunde-mode {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--ff-bg-tertiary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius-sm); padding: 1.25rem; transition: border-color 0.3s;
}
.tafelrunde-mode:hover { border-color: var(--ff-gold); }
.tafelrunde-mode-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.tafelrunde-mode strong { color: var(--ff-gold); display: block; margin-bottom: 0.25rem; }
.tafelrunde-mode p { color: var(--ff-text-secondary); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.tafelrunde-desc { color: var(--ff-text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }

@media (min-width: 900px) {
  .tafelrunde-layout { flex-direction: row; gap: 4rem; }
  .tafelrunde-image { flex: 0 0 42%; max-width: none; }
  .tafelrunde-info { flex: 1; }
}

/* ==========================================================================
   TAFELRUNDE
   ========================================================================== */
.tafelrunde-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-bottom: 2rem;
}
.tafelrunde-feature {
  background: var(--ff-bg-tertiary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius); padding: 2rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.tafelrunde-feature:hover {
  transform: translateY(-4px); border-color: var(--ff-gold);
}
.tafelrunde-icon {
  font-size: 2.5rem; display: block; margin-bottom: 0.75rem;
}
.tafelrunde-feature h3 {
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.tafelrunde-feature p {
  font-size: 0.9rem; color: var(--ff-text-secondary); line-height: 1.6;
}
@media (min-width: 700px) { .tafelrunde-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   HERO TRUST BADGES
   ========================================================================== */
.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: 1.5rem; opacity: 0.7;
}
.hero-trust-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; color: var(--ff-text-muted); letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-trust-badge svg { opacity: 0.6; }

/* ==========================================================================
   SOCIAL PROOF — Animated counter bar
   ========================================================================== */
.social-proof {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(var(--ff-bg-primary-rgb), 0.95) 0%, var(--ff-bg-secondary) 50%, rgba(var(--ff-bg-primary-rgb), 0.95) 100%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  text-align: center;
}
.stat-card {
  padding: 1.5rem 1rem;
}
.stat-number {
  font-family: var(--ff-font-heading); font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ff-gold); font-weight: 700; line-height: 1;
}
.stat-suffix {
  font-family: var(--ff-font-heading); font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--ff-gold); font-weight: 400; margin-left: 0.15em;
}
.stat-label {
  font-size: 0.85rem; color: var(--ff-text-secondary); margin-top: 0.5rem;
  line-height: 1.4;
}
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   CREATOR / GRÜNDER STORY
   ========================================================================== */
.creator-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center;
}
.creator-photo {
  position: relative; text-align: center;
}
.creator-photo img {
  width: 200px; height: auto; border-radius: var(--ff-radius);
  position: relative; z-index: 1;
}
.creator-photo-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 240px; height: 320px;
  background: radial-gradient(ellipse, rgba(var(--ff-gold-rgb), 0.15) 0%, transparent 70%);
  border-radius: 50%; z-index: 0; filter: blur(20px);
}
.creator-text p {
  font-size: 0.95rem; color: var(--ff-text-secondary); line-height: 1.7;
  margin-bottom: 1rem;
}
.creator-quote {
  font-family: var(--ff-font-heading); font-style: italic;
  font-size: 1.05rem; color: var(--ff-gold); line-height: 1.6;
  border-left: 3px solid var(--ff-gold); padding-left: 1.25rem;
  margin: 1.5rem 0;
}
.creator-contact {
  font-size: 0.85rem; color: var(--ff-text-muted);
}
.creator-contact a {
  color: var(--ff-gold); text-decoration: none;
}
.creator-contact a:hover { text-decoration: underline; }

@media (min-width: 700px) {
  .creator-grid { grid-template-columns: 250px 1fr; }
  .creator-photo img { width: 250px; }
  .creator-photo-glow { width: 290px; height: 380px; }
}

/* ==========================================================================
   PAYMENT TRUST — under pricing
   ========================================================================== */
.payment-trust {
  text-align: center; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--ff-border-color);
}
.payment-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.payment-logos img {
  height: 22px; opacity: 0.5; transition: opacity 0.3s;
  filter: grayscale(0.3);
}
.payment-logos img:hover { opacity: 1; filter: none; }
.payment-trust-text {
  font-size: 0.8rem; color: var(--ff-text-muted); line-height: 1.6;
  max-width: 600px; margin: 0 auto 0.75rem;
}
.payment-trust-free {
  font-size: 0.9rem; color: var(--ff-gold); font-weight: 600;
}

/* ==========================================================================
   CHARAKTERE
   ========================================================================== */
.char-showcase {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  margin-bottom: 3rem;
}
.char-card {
  background: var(--ff-bg-secondary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.char-card:hover { transform: translateY(-4px); border-color: var(--ff-gold); }
.char-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.char-card-info { padding: 0.75rem 1rem 1rem; }
.char-card-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 600;
  padding: 0.15rem 0.5rem; border-radius: 999px; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 0.35rem;
  background: color-mix(in srgb, var(--badge-color, var(--ff-gold)) 20%, transparent);
  color: var(--badge-color, var(--ff-gold)); border: 1px solid var(--badge-color, var(--ff-gold));
}
.char-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.char-card p { font-size: 0.8rem; color: var(--ff-text-muted); line-height: 1.4; }

@media (min-width: 600px) { .char-showcase { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .char-showcase { grid-template-columns: repeat(6, 1fr); } }

/* Weltenbau Showcase */
.worlds-showcase {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin-bottom: 2rem;
}
.world-card {
  background: var(--ff-bg-secondary); border: 1px solid rgba(212,165,116,0.15);
  border-radius: 12px; overflow: hidden; transition: all 0.3s ease;
}
.world-card:hover { transform: translateY(-4px); border-color: var(--ff-gold); }
.world-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.world-card-info { padding: 0.75rem 1rem 1rem; }
.world-card-badge {
  display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.65rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  background: color-mix(in srgb, var(--badge-color) 20%, transparent); color: var(--badge-color);
  margin-bottom: 0.4rem;
}
.world-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.world-card p { font-size: 0.8rem; color: var(--ff-text-muted); line-height: 1.4; }
@media (min-width: 600px) { .worlds-showcase { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .worlds-showcase { grid-template-columns: repeat(6, 1fr); } }

.worlds-stats {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
  margin: 2rem 0; padding: 1.5rem; background: rgba(212,165,116,0.05);
  border-radius: 12px; border: 1px solid rgba(212,165,116,0.1);
}
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 700; color: var(--ff-gold); font-family: Georgia, serif; }
.stat-label { font-size: 0.8rem; color: var(--ff-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Tindra Section */
.tindra-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 700px; margin: 0 auto 24px; }
@media (max-width: 500px) { .tindra-features { grid-template-columns: 1fr; } }
.tindra-feature {
  background: var(--ff-bg-secondary); border: 1px solid rgba(212,165,116,0.12); border-radius: 12px;
  padding: 20px; text-align: center; transition: all 0.2s;
}
.tindra-feature:hover { border-color: var(--ff-gold); transform: translateY(-2px); }
.tindra-feature-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.tindra-feature h4 { color: var(--ff-gold); margin-bottom: 6px; font-size: 0.95rem; }
.tindra-feature p { font-size: 0.8rem; color: var(--ff-text-muted); line-height: 1.4; }
.tindra-beta-note { text-align: center; color: var(--ff-text-muted); font-size: 0.85rem; font-style: italic; margin-top: 12px; }

/* Gallery Tabs & Scroll */
.gallery-tabs { margin-top: 2rem; }
.gallery-main-title {
  text-align: center; font-size: 1.3rem; color: var(--ff-gold); margin-bottom: 1.5rem;
  font-family: var(--ff-font-heading);
}
.gallery-tab-nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem;
}
.gallery-tab {
  background: var(--ff-bg-tertiary); border: 1px solid var(--ff-border-color);
  border-radius: 999px; padding: 0.5rem 1.25rem; font-size: 0.85rem;
  color: var(--ff-text-secondary); cursor: pointer; font-family: var(--ff-font-body);
  transition: all 0.2s;
}
.gallery-tab:hover { border-color: var(--ff-gold); color: var(--ff-text-primary); }
.gallery-tab.active {
  background: var(--ff-gold); color: var(--ff-bg-primary); border-color: var(--ff-gold); font-weight: 600;
}

.gallery-section { margin-bottom: 2rem; }
.gallery-title { font-size: 1.1rem; margin-bottom: 1rem; color: var(--ff-gold); }
.gallery-scroll {
  display: flex; gap: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem; scrollbar-width: thin; scrollbar-color: var(--ff-border-color) transparent;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background-color: var(--ff-border-color); border-radius: 3px; }
.gallery-item {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; cursor: default; transition: opacity 0.3s;
}
.gallery-item.hidden { display: none; }
.gallery-item img {
  width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--ff-border-color); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover img {
  border-color: var(--ff-gold); transform: scale(1.08);
  box-shadow: 0 0 16px rgba(var(--ff-gold-rgb), 0.25);
}
.gallery-name {
  font-size: 0.75rem; color: var(--ff-text-muted); text-align: center;
  max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color 0.3s;
}
.gallery-item:hover .gallery-name { color: var(--ff-gold-light); }

@media (min-width: 600px) {
  .gallery-item img { width: 100px; height: 100px; }
  .gallery-name { max-width: 100px; }
}

/* ==========================================================================
   PREISE
   ========================================================================== */
.free-banner {
  display: flex; align-items: flex-start; gap: 1rem;
  background: linear-gradient(135deg, rgba(var(--ff-gold-rgb), 0.08), rgba(var(--ff-gold-rgb), 0.03));
  border: 1px solid var(--ff-gold); border-radius: var(--ff-radius); padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.free-banner-icon { font-size: 2rem; flex-shrink: 0; }
.free-banner-content { font-size: 0.95rem; color: var(--ff-text-secondary); line-height: 1.7; }
.free-banner-content strong { color: var(--ff-gold); }

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
.pricing-card {
  position: relative; background: var(--ff-bg-secondary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius); padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  border-color: var(--ff-gold);
  background: linear-gradient(180deg, rgba(var(--ff-gold-rgb), 0.06) 0%, var(--ff-bg-secondary) 100%);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ff-gold); color: var(--ff-bg-primary); font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 1rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-name { font-size: 1.2rem; margin-bottom: 0.75rem; }
.pricing-price { font-family: var(--ff-font-heading); font-size: 2.4rem; color: var(--ff-text-primary); margin-bottom: 0.5rem; }
.pricing-coins { font-size: 1.1rem; color: var(--ff-gold); margin-bottom: 0.5rem; }
.pricing-per-coin { font-size: 0.85rem; color: var(--ff-text-muted); }

@media (min-width: 500px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-card--featured { transform: scale(1.04); }
  .pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }
}

/* Coin-Kalkulator */
.pricing-calculator {
  background: var(--ff-bg-secondary); border: 1px solid var(--ff-border-color); border-radius: var(--ff-radius);
  padding: 2rem; margin-bottom: 2.5rem; text-align: center;
}
.pricing-calc-title { font-size: 1.3rem; color: var(--ff-gold); margin-bottom: 0.5rem; }
.pricing-calc-subtitle { font-size: 0.9rem; color: var(--ff-text-muted); margin-bottom: 1.5rem; }
.pricing-calc-slider-row { padding: 0 0.5rem; margin-bottom: 1rem; }
.pricing-calc-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
  border-radius: 4px; background: linear-gradient(90deg, var(--ff-bg-primary), var(--ff-gold)); outline: none; cursor: pointer;
}
.pricing-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ff-gold); border: 3px solid var(--ff-bg-primary); cursor: grab;
  box-shadow: 0 2px 8px rgba(var(--ff-gold-rgb), 0.4);
}
.pricing-calc-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--ff-gold);
  border: 3px solid var(--ff-bg-primary); cursor: grab;
}
.pricing-calc-display { margin-bottom: 1.25rem; }
.pricing-calc-coins { font-size: 2.2rem; font-weight: 800; color: var(--ff-gold); }
.pricing-calc-price { font-size: 1.8rem; font-weight: 700; color: var(--ff-text-primary); margin: 4px 0; }
.pricing-calc-bonus { font-size: 0.85rem; color: var(--ff-success); }
.pricing-calc-examples {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.pricing-example {
  padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; cursor: pointer;
  background: rgba(var(--ff-white-rgb), 0.05); border: 1px solid var(--ff-border-color); color: var(--ff-text-muted);
  transition: all 0.2s;
}
.pricing-example:hover { border-color: var(--ff-gold); color: var(--ff-gold); }
.pricing-example--featured { border-color: var(--ff-gold); color: var(--ff-gold); background: rgba(var(--ff-gold-rgb), 0.08); }

/* Flat-Preistabelle */
.pricing-flats { margin-bottom: 2.5rem; text-align: center; }
.pricing-flats-title { font-size: 1.3rem; color: var(--ff-gold); margin-bottom: 0.5rem; }
.pricing-flats-subtitle { font-size: 0.9rem; color: var(--ff-text-muted); margin-bottom: 1.5rem; }
.pricing-flat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 700px) { .pricing-flat-grid { grid-template-columns: repeat(4, 1fr); } }
.pricing-flat-card {
  position: relative; background: var(--ff-bg-secondary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius); padding: 1.5rem 1rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.pricing-flat-card:hover { transform: translateY(-3px); border-color: var(--ff-gold); }
.pricing-flat-card--featured {
  border-color: var(--ff-gold);
  background: linear-gradient(180deg, rgba(var(--ff-gold-rgb), 0.06) 0%, var(--ff-bg-secondary) 100%);
}
.pricing-flat-emoji { font-size: 2rem; margin-bottom: 6px; }
.pricing-flat-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.pricing-flat-prices { font-size: 0.85rem; color: var(--ff-text-secondary); line-height: 1.8; }
.pricing-flat-prices strong { color: var(--ff-text-primary); }
.pricing-flat-note { font-size: 0.82rem; color: var(--ff-text-muted); line-height: 1.6; max-width: 700px; margin: 0 auto; }

/* Cost Details Toggle */
.cost-details { margin-bottom: 2rem; }
.cost-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; background: var(--ff-bg-secondary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius-sm); color: var(--ff-text-primary); font-size: 1rem;
  font-family: var(--ff-font-body); cursor: pointer; transition: border-color 0.2s;
}
.cost-toggle:hover { border-color: var(--ff-gold); }
.cost-toggle-icon { font-size: 0.75rem; transition: transform 0.3s; }
.cost-toggle[aria-expanded="true"] .cost-toggle-icon { transform: rotate(180deg); }
.cost-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.cost-panel.open { max-height: 2000px; }
.cost-table-group { padding: 1.5rem 0 0; }
.cost-table-group h4 { font-size: 1rem; color: var(--ff-gold); margin-bottom: 0.75rem; }
.cost-table-wrapper { overflow-x: auto; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cost-table th, .cost-table td { padding: 0.6rem 1rem; text-align: left; border-bottom: 1px solid var(--ff-border-color); }
.cost-table th { color: var(--ff-text-muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cost-table td { color: var(--ff-text-secondary); }
.cost-payment { padding-top: 1.25rem; font-size: 0.9rem; color: var(--ff-text-muted); }
.pricing-disclaimer {
  font-size: 0.8rem; color: var(--ff-text-muted); line-height: 1.6;
  max-width: 800px; margin: 2rem auto 0; text-align: center;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--ff-bg-tertiary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius-sm); overflow: hidden; transition: border-color 0.2s;
}
.faq-item:hover, .faq-item[open] { border-color: var(--ff-gold); }
.faq-question {
  padding: 1.25rem 1.5rem; font-family: var(--ff-font-heading); font-size: 1.05rem;
  color: var(--ff-gold); cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+'; font-family: var(--ff-font-body); font-size: 1.4rem;
  color: var(--ff-text-muted); flex-shrink: 0; transition: transform 0.3s;
}
.faq-item[open] .faq-question::after { content: '\2212'; transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; }
.faq-answer p { color: var(--ff-text-secondary); font-size: 0.95rem; line-height: 1.7; }
.faq-answer a { color: var(--ff-gold); }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.kontakt { text-align: center; }
.kontakt-options {
  margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.kontakt-oder { font-size: 0.9rem; color: var(--ff-text-muted); }
.kontakt-email {
  display: inline-block; font-family: var(--ff-font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--ff-gold);
  padding: 0.75rem 1.5rem; border: 2px solid var(--ff-gold); border-radius: var(--ff-radius-sm);
  transition: background-color 0.2s, color 0.2s;
}
.kontakt-email:hover { background-color: var(--ff-gold); color: var(--ff-bg-primary); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--ff-bg-secondary); border-top: 1px solid var(--ff-border-color); padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: center; text-align: center; margin-bottom: 1.5rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-font-heading); font-size: 1.1rem; color: var(--ff-gold);
}
.footer-brand img { width: 32px; height: 32px; border-radius: 6px; }
.footer-copy { color: var(--ff-text-muted); font-family: var(--ff-font-body); font-size: 0.85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer-nav a { color: var(--ff-text-secondary); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--ff-gold); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: var(--ff-text-muted); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--ff-text-secondary); }
.footer-note { text-align: center; font-size: 0.75rem; color: var(--ff-text-muted); }

@media (min-width: 768px) {
  .footer-grid { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: var(--ff-bg-secondary); border-top: 1px solid var(--ff-border-color);
  box-shadow: 0 -4px 24px rgba(var(--ff-black-rgb), 0.4); padding: 1.25rem;
  animation: cookie-slide-up 0.4s ease-out;
}
@keyframes cookie-slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner[hidden] { display: none; }
.cookie-banner-content {
  max-width: var(--ff-container-max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center;
}
.cookie-banner-content p { font-size: 0.9rem; color: var(--ff-text-secondary); line-height: 1.6; max-width: 680px; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.cookie-btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; border: none; cursor: pointer; font-family: var(--ff-font-body); }
.cookie-btn.btn-secondary { font-size: 0.9rem; padding: 0.6rem 1.5rem; }
.cookie-link { font-size: 0.8rem; color: var(--ff-text-muted); }

@media (min-width: 768px) {
  .cookie-banner-content { flex-direction: row; text-align: left; gap: 1.5rem; }
  .cookie-banner-content p { flex: 1; }
  .cookie-banner-actions { flex-shrink: 0; }
  .cookie-link { flex-shrink: 0; align-self: center; }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
/* Flat-Promo */
.pricing-flat-promo {
  background: linear-gradient(135deg, rgba(var(--ff-gold-rgb), 0.12), rgba(var(--ff-gold-rgb), 0.04));
  border: 1px solid rgba(var(--ff-gold-rgb), 0.3);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  margin: 24px auto;
  max-width: 560px;
}
.pricing-flat-promo p { color: var(--ff-text-primary); font-size: 0.95rem; line-height: 1.6; margin: 8px 0 0; }
.flat-promo-badge {
  display: inline-block;
  background: var(--ff-gold);
  color: var(--ff-bg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

/* ==========================================================================
   THEME-TOGGLE — Header-Dropdown
   ========================================================================== */
.theme-toggle-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.theme-toggle-btn {
  background: none; border: 1px solid rgba(var(--ff-gold-rgb), 0.3);
  color: var(--ff-gold); border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.theme-toggle-btn:hover {
  border-color: var(--ff-gold);
  background: rgba(var(--ff-gold-rgb), 0.1);
}

/* Dropdown */
.theme-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--ff-bg-secondary); border: 1px solid var(--ff-border-color);
  border-radius: var(--ff-radius-sm); padding: 16px;
  min-width: 260px; z-index: 1100;
  box-shadow: 0 8px 32px rgba(var(--ff-black-rgb), 0.5);
}
.theme-dropdown.open { display: block; }
.theme-dropdown-section { margin-bottom: 12px; }
.theme-dropdown-section:last-child { margin-bottom: 0; }
.theme-dropdown-label {
  display: block; font-size: 0.7rem; font-weight: 600;
  color: var(--ff-text-muted); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 8px;
}

/* Farbkreise */
.theme-dropdown-colors {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.theme-color-dot {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.theme-color-dot:hover { transform: scale(1.15); }
.theme-color-dot.active {
  border-color: var(--ff-gold);
  box-shadow: 0 0 10px rgba(var(--ff-gold-rgb), 0.4);
}
.theme-color-dot::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%;
  background: inherit;
}

/* Font-Buttons */
.theme-dropdown-fonts {
  display: flex; flex-direction: column; gap: 4px;
}
.theme-font-btn {
  background: rgba(var(--ff-white-rgb), 0.03);
  border: 1px solid transparent; border-radius: 6px;
  padding: 6px 10px; cursor: pointer; color: var(--ff-text-secondary);
  font-size: 0.82rem; text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.theme-font-btn:hover {
  border-color: rgba(var(--ff-gold-rgb), 0.3);
  background: rgba(var(--ff-white-rgb), 0.05);
}
.theme-font-btn.active {
  border-color: var(--ff-gold);
  color: var(--ff-gold);
  background: rgba(var(--ff-gold-rgb), 0.08);
}

/* Mobile Theme-Section (im Burger-Menü) */
.mobile-theme-section {
  padding-top: 1rem; margin-top: 0.5rem;
  border-top: 1px solid var(--ff-border-color);
}
.mobile-theme-section .theme-dropdown-colors { margin-bottom: 10px; }
.mobile-theme-section .theme-color-dot { width: 36px; height: 36px; }

/* Desktop: Dropdown neben Logo, Mobile-Section verstecken */
@media (min-width: 768px) {
  .mobile-theme-section { display: none; }
  .theme-toggle-wrap { margin-left: auto; margin-right: 0.5rem; }
}
/* Mobile: Toggle-Button bleibt sichtbar, Dropdown wird zum Overlay */
@media (max-width: 767px) {
  .theme-dropdown {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0;
    border-radius: var(--ff-radius-sm) var(--ff-radius-sm) 0 0;
    max-height: 60vh; overflow-y: auto;
  }
}

/* ==========================================================================
   STAGING-BANNER
   ========================================================================== */
.staging-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  background: #ff9800; color: #1a1a1a;
  text-align: center; padding: 8px 16px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.staging-banner a {
  color: #1a1a1a; text-decoration: underline; font-weight: 700;
}
.staging-banner a:hover { color: #000; }
/* Seite nach unten verschieben wenn Staging */
.is-staging .navbar { top: 36px; }
.is-staging .promo-banner { top: calc(var(--ff-nav-height) + 36px); }
