/* ═══════════════════════════════════════════════════════════════
   CHATBOT + COOKIE-CONSENT · 360°-Fotobox
   Saubere konsolidierte Version
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1) FLOATING ACTION BUTTON (FAB) ─────────────────────────── */

.chatbot-fab {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  left: auto !important;
  top: auto !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: var(--lime, #B8E834) !important;
  border: 3px solid var(--lime, #B8E834) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  box-shadow:
    0 8px 32px rgba(184, 232, 52, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
  overflow: visible;
  -webkit-appearance: none;
  appearance: none;
  animation: chatbot-fab-bounce 8s ease-in-out infinite;
}

@keyframes chatbot-fab-bounce {
  0%, 84%, 100% { transform: translateY(0) scale(1); }
  86% { transform: translateY(-8px) scale(1.05); }
  92% { transform: translateY(-2px) scale(1.02); }
  98% { transform: translateY(0) scale(1); }
}

.chatbot-fab-img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.chatbot-fab-badge {
  position: absolute !important;
  bottom: -3px !important;
  right: -3px !important;
  width: 22px !important;
  height: 22px !important;
  background: var(--lime, #B8E834) !important;
  color: var(--bg, #0A0D0B) !important;
  border-radius: 50% !important;
  border: 2px solid var(--bg, #0A0D0B) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.chatbot-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(184, 232, 52, 0.6), 0 6px 20px rgba(0, 0, 0, 0.6);
  animation-play-state: paused;
}
.chatbot-fab:active {
  transform: translateY(-1px) scale(1.02);
}

.chatbot-fab-pulse,
.chatbot-fab-pulse-2 {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--lime, #B8E834);
  animation: chatbot-fab-pulse 2.4s ease-out infinite;
  pointer-events: none !important;
  z-index: -1;
}
.chatbot-fab-pulse-2 { animation-delay: 1.2s; }
@keyframes chatbot-fab-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

body.chatbot-active .chatbot-fab {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

@supports (bottom: env(safe-area-inset-bottom)) {
  .chatbot-fab {
    bottom: max(20px, env(safe-area-inset-bottom)) !important;
  }
}

/* ─── 2) BACKDROP ──────────────────────────────────────────────── */

.chatbot-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 11, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9998;
}
.chatbot-backdrop.chatbot-backdrop-open {
  opacity: 1;
  pointer-events: auto;
}

/* ─── 3) CHAT-WINDOW ─────────────────────────────────────────── */

.chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 380px;
  height: min(640px, calc(100vh - 40px));
  background: var(--bg-card, #131A14);
  border: 1px solid rgba(184, 232, 52, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 64px -8px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(184, 232, 52, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--body, 'Inter', sans-serif);
}
.chatbot.chatbot-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width: 879px) {
  .chatbot {
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
}

/* ─── 4) HEADER ─────────────────────────────────────────────── */

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(184, 232, 52, 0.08) 0%, rgba(19, 26, 20, 0.95) 100%);
  border-bottom: 1px solid rgba(184, 232, 52, 0.12);
  flex-shrink: 0;
}
.chatbot-head-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(184, 232, 52, 0.3);
  overflow: hidden;
  border: 2px solid var(--lime, #B8E834);
}
.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.chatbot-title {
  font-family: var(--display, 'Anton', sans-serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--cream, #EDEADD);
  line-height: 1.2;
}
.chatbot-status {
  font-size: 0.74rem;
  color: rgba(237, 234, 221, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.chatbot-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  box-shadow: 0 0 6px var(--lime, #B8E834);
  animation: chatbot-status-pulse 2s ease-in-out infinite;
}
@keyframes chatbot-status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.chatbot-close {
  background: transparent;
  border: none;
  color: rgba(237, 234, 221, 0.6);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream, #EDEADD);
}

/* ─── 5) BODY · BUBBLES ─────────────────────────────────────── */

.chatbot-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.chatbot-body::-webkit-scrollbar { width: 6px; }
.chatbot-body::-webkit-scrollbar-thumb {
  background: rgba(184, 232, 52, 0.2);
  border-radius: 3px;
}

.chatbot-bubble {
  max-width: 82%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: chatbot-bubble-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
@keyframes chatbot-bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chatbot-bubble-bot { align-self: flex-start; }
.chatbot-bubble-user { align-self: flex-end; }

.chatbot-bubble-text {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.chatbot-bubble-bot .chatbot-bubble-text {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream, #EDEADD);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
}
.chatbot-bubble-user .chatbot-bubble-text {
  background: var(--lime, #B8E834);
  color: var(--bg, #0A0D0B);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.chatbot-typing .chatbot-bubble-text {
  display: inline-flex;
  gap: 4px;
  padding: 14px 16px;
}
.chatbot-typing .chatbot-bubble-text span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(237, 234, 221, 0.5);
  animation: chatbot-typing-dot 1.2s ease-in-out infinite;
}
.chatbot-typing .chatbot-bubble-text span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing .chatbot-bubble-text span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbot-typing-dot {
  0%, 60%, 100% { transform: scale(1); opacity: 0.5; }
  30% { transform: scale(1.3); opacity: 1; }
}

.chatbot-bubble-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chatbot-bubble-btn {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream, #EDEADD);
  border: 1px solid rgba(184, 232, 52, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.chatbot-bubble-btn:hover {
  background: rgba(184, 232, 52, 0.1);
  border-color: rgba(184, 232, 52, 0.5);
  transform: translateY(-1px);
}
.chatbot-bubble-btn-primary {
  background: var(--lime, #B8E834);
  color: var(--bg, #0A0D0B);
  border-color: var(--lime, #B8E834);
  font-weight: 600;
}
.chatbot-bubble-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 14px rgba(184, 232, 52, 0.35);
}

/* ─── 6) QUICK-REPLIES ──────────────────────────────────────── */

.chatbot-quickreplies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px 8px;
  flex-shrink: 0;
}
.chatbot-quickreply {
  background: rgba(184, 232, 52, 0.08);
  color: var(--lime, #B8E834);
  border: 1px solid rgba(184, 232, 52, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-family: var(--body, 'Inter', sans-serif);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.chatbot-quickreply:hover {
  background: rgba(184, 232, 52, 0.18);
  transform: translateY(-1px);
}

/* ─── 7) INPUT FORM ─────────────────────────────────────────── */

.chatbot-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
@supports (padding: env(safe-area-inset-bottom)) {
  .chatbot-input {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}
.chatbot-input input {
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--cream, #EDEADD);
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chatbot-input input::placeholder {
  color: rgba(237, 234, 221, 0.4);
}
.chatbot-input input:focus {
  border-color: rgba(184, 232, 52, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.chatbot-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  color: var(--bg, #0A0D0B);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(184, 232, 52, 0.3);
}
.chatbot-send:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(184, 232, 52, 0.5);
}

/* ─── 8) COOKIE-CONSENT-BANNER ───────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 88;
  pointer-events: none;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  padding: 16px;
}
.cookie-banner-visible {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}
@supports (padding: env(safe-area-inset-bottom)) {
  .cookie-banner { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-card, #131A14);
  border: 1px solid rgba(184, 232, 52, 0.25);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 64px -8px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(184, 232, 52, 0.08);
  font-family: var(--body, 'Inter', sans-serif);
}
.cookie-banner-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.cookie-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  color: var(--bg, #0A0D0B);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(184, 232, 52, 0.3);
  grid-row: span 2;
}
.cookie-banner-text strong {
  display: block;
  font-family: var(--display, 'Anton', sans-serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--cream, #EDEADD);
  margin-bottom: 6px;
}
.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(237, 234, 221, 0.8);
}
.cookie-banner-text a {
  color: var(--lime, #B8E834);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(184, 232, 52, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.cookie-btn-ghost {
  background: transparent;
  color: var(--cream, #EDEADD);
}
.cookie-btn-ghost:hover {
  background: rgba(184, 232, 52, 0.08);
  border-color: rgba(184, 232, 52, 0.5);
}
.cookie-btn-primary {
  background: var(--lime, #B8E834);
  color: var(--bg, #0A0D0B);
  border-color: var(--lime, #B8E834);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(184, 232, 52, 0.3);
}
.cookie-btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 232, 52, 0.45);
}
.cookie-back {
  background: transparent;
  border: none;
  color: rgba(237, 234, 221, 0.65);
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}
.cookie-back:hover { color: var(--cream, #EDEADD); }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.cookie-cat {
  display: block;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: border-color 0.2s ease;
}
.cookie-cat:hover { border-color: rgba(184, 232, 52, 0.2); }
.cookie-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-cat-head strong {
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 0.98rem;
  color: var(--cream, #EDEADD);
  font-weight: 600;
}
.cookie-cat-always {
  font-size: 0.78rem;
  color: rgba(184, 232, 52, 0.7);
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(184, 232, 52, 0.08);
  border: 1px solid rgba(184, 232, 52, 0.2);
}
.cookie-cat p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(237, 234, 221, 0.7);
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.cookie-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(237, 234, 221, 0.85);
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: rgba(184, 232, 52, 0.25);
  border-color: var(--lime, #B8E834);
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateY(-50%) translateX(18px);
  background: var(--lime, #B8E834);
  box-shadow: 0 0 10px rgba(184, 232, 52, 0.5);
}

/* ─── 9) MOBILE ─────────────────────────────────────────────── */

@media (max-width: 760px) {
  .chatbot-fab {
    width: 60px !important;
    height: 60px !important;
    bottom: 16px !important;
    right: 16px !important;
  }
  .chatbot-fab-badge {
    width: 20px !important;
    height: 20px !important;
  }
  .cookie-banner { padding: 12px; }
  .cookie-banner-inner { padding: 20px; border-radius: 14px; }
  .cookie-banner-main { grid-template-columns: 1fr; gap: 14px; }
  .cookie-banner-icon { grid-row: auto; }
  .cookie-banner-text strong { font-size: 1.05rem; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; padding: 12px 18px; }
}

/* ─── 10) REDUCED MOTION ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .chatbot,
  .chatbot-fab,
  .chatbot-fab-pulse,
  .chatbot-fab-pulse-2,
  .chatbot-status-dot,
  .chatbot-bubble,
  .chatbot-typing .chatbot-bubble-text span,
  .cookie-banner,
  .cookie-toggle-slider,
  .cookie-toggle-slider::before {
    animation: none !important;
    transition: opacity 0.2s ease !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   HERO-ENHANCED · Fotobox (Lime-Effekte, Animationen, Spektakel)
   ───────────────────────────────────────────────────────────────
   Diese Sektion wird zusätzlich geladen — keine Original-CSS
   wird überschrieben (höhere Specificity per .fb-hero-enhanced).
   ═══════════════════════════════════════════════════════════════ */

.fb-hero-enhanced {
  position: relative;
  overflow: hidden;
  /* isolation: isolate ENTFERNT — sonst sperrt es den Bot ein */
}

/* ─── 1) BACKGROUND-GLOW (radialer Lime-Schimmer) ─── */
.fb-hero-glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(184, 232, 52, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 30% 40%, rgba(184, 232, 52, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 70% 60%, rgba(184, 232, 52, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: fb-glow-breathe 8s ease-in-out infinite;
}

@keyframes fb-glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ─── 2) SPOTLIGHT (Maus-Folger-Glow auf Desktop) ─── */
.fb-hero-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184, 232, 52, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  animation: fb-spotlight-drift 20s ease-in-out infinite;
}

@keyframes fb-spotlight-drift {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  25% { transform: translate(-40%, -55%) scale(1.1); }
  50% { transform: translate(-55%, -45%) scale(0.95); }
  75% { transform: translate(-50%, -50%) scale(1.05); }
}

/* ─── 3) MULTI-ORBIT-SYSTEM ─── */
.fb-hero-enhanced .fb-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(184, 232, 52, 0.12);
  pointer-events: none;
  z-index: 1;
  animation: fb-orbit-rotate linear infinite;
}

.fb-hero-enhanced .fb-orbit-1 {
  width: min(700px, 80vw);
  height: min(700px, 80vw);
  transform: translate(-50%, -50%);
  animation-duration: 40s;
  border-color: rgba(184, 232, 52, 0.18);
}

.fb-hero-enhanced .fb-orbit-2 {
  width: min(900px, 95vw);
  height: min(900px, 95vw);
  transform: translate(-50%, -50%);
  animation-duration: 60s;
  animation-direction: reverse;
  border-color: rgba(184, 232, 52, 0.1);
  border-style: dashed;
}

.fb-hero-enhanced .fb-orbit-3 {
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  transform: translate(-50%, -50%);
  animation-duration: 25s;
  border-color: rgba(184, 232, 52, 0.15);
}

@keyframes fb-orbit-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ─── 4) ORBIT-DOTS (mehr Stil) ─── */
.fb-hero-enhanced .fb-orbit-dot {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  box-shadow:
    0 0 12px var(--lime, #B8E834),
    0 0 24px rgba(184, 232, 52, 0.6),
    0 0 48px rgba(184, 232, 52, 0.3);
}

.fb-hero-enhanced .fb-orbit-dot-small {
  width: 10px;
  height: 10px;
  margin-left: -5px;
  top: -5px;
  background: var(--lime, #B8E834);
  box-shadow:
    0 0 8px var(--lime, #B8E834),
    0 0 18px rgba(184, 232, 52, 0.5);
}

.fb-hero-enhanced .fb-orbit-dot-tiny {
  width: 8px;
  height: 8px;
  margin-left: -4px;
  top: -4px;
  opacity: 0.7;
  box-shadow:
    0 0 6px var(--lime, #B8E834),
    0 0 14px rgba(184, 232, 52, 0.4);
}

/* ─── 5) SPARKLE-DOTS (Glanz-Punkte) ─── */
.fb-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.fb-sparkle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  box-shadow:
    0 0 8px var(--lime, #B8E834),
    0 0 16px rgba(184, 232, 52, 0.5);
  animation: fb-sparkle-twinkle 3s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: 0;
  pointer-events: none;
}

@keyframes fb-sparkle-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* ─── 6) KICKER ENHANCED (mit pulsierendem Dot) ─── */
.fb-kicker-enhanced {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(184, 232, 52, 0.14) 0%,
    rgba(184, 232, 52, 0.06) 100%
  ) !important;
  border: 1px solid rgba(184, 232, 52, 0.32) !important;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    0 4px 20px rgba(184, 232, 52, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.fb-kicker-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  box-shadow:
    0 0 8px var(--lime, #B8E834),
    0 0 16px rgba(184, 232, 52, 0.6);
  animation: fb-kicker-dot-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fb-kicker-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* ─── 7) H1 ENHANCED (Glow + Underline-Animation) ─── */
.fb-h1-enhanced {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 60px rgba(184, 232, 52, 0.08);
}

/* Brush-Underline animiert beim Reveal */
.fb-h1-enhanced .brush {
  position: relative;
  display: inline-block;
}

.fb-h1-enhanced .brush::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 6px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--lime, #B8E834) 20%,
    var(--lime, #B8E834) 80%,
    transparent 100%
  );
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: 3px;
  filter: drop-shadow(0 0 8px rgba(184, 232, 52, 0.6));
  animation: fb-brush-grow 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards,
             fb-brush-pulse 3s ease-in-out 2.5s infinite;
}

@keyframes fb-brush-grow {
  to { transform: scaleX(1); }
}

@keyframes fb-brush-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(184, 232, 52, 0.6));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(184, 232, 52, 1)) drop-shadow(0 0 32px rgba(184, 232, 52, 0.5));
  }
}

/* ─── 8) CTA ENHANCED ─── */
.fb-cta-enhanced {
  position: relative;
  z-index: 2;
}

.fb-cta-enhanced .btn-primary {
  position: relative;
  box-shadow:
    0 4px 14px rgba(184, 232, 52, 0.4),
    0 0 32px rgba(184, 232, 52, 0.2);
  animation: fb-cta-glow 3s ease-in-out infinite;
}

@keyframes fb-cta-glow {
  0%, 100% {
    box-shadow:
      0 4px 14px rgba(184, 232, 52, 0.4),
      0 0 32px rgba(184, 232, 52, 0.2);
  }
  50% {
    box-shadow:
      0 6px 22px rgba(184, 232, 52, 0.55),
      0 0 48px rgba(184, 232, 52, 0.35);
  }
}

.fb-cta-enhanced .btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--lime, #B8E834), transparent, var(--lime, #B8E834));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.fb-cta-enhanced .btn-primary:hover::before {
  opacity: 0.8;
  filter: blur(8px);
}

.fb-cta-enhanced .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(184, 232, 52, 0.5),
    0 0 48px rgba(184, 232, 52, 0.4);
}

/* Ghost-Button mit Lime-Border-Hover */
.fb-cta-enhanced .btn-ghost {
  border: 1px solid rgba(184, 232, 52, 0.25);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.fb-cta-enhanced .btn-ghost:hover {
  border-color: var(--lime, #B8E834);
  background: rgba(184, 232, 52, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(184, 232, 52, 0.15);
}

/* ─── 9) SCROLL-HINT (Mouse-Wheel Animation unten) ─── */
.fb-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(184, 232, 52, 0.4);
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}

.fb-scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto;
  background: var(--lime, #B8E834);
  border-radius: 2px;
  animation: fb-scroll-hint-bounce 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  box-shadow: 0 0 6px var(--lime, #B8E834);
}

@keyframes fb-scroll-hint-bounce {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ─── 10) MOBILE: weniger Spektakel, Battery-friendly ─── */
@media (max-width: 760px) {
  .fb-hero-enhanced .fb-orbit-2 { display: none; }
  .fb-hero-enhanced .fb-orbit-1,
  .fb-hero-enhanced .fb-orbit-3 {
    opacity: 0.5;
  }
  .fb-hero-spotlight { opacity: 0.5; }
  .fb-sparkle { display: none; }
  .fb-sparkle:nth-child(1),
  .fb-sparkle:nth-child(3),
  .fb-sparkle:nth-child(5) { display: block; opacity: 0.6; }
  .fb-scroll-hint { bottom: 16px; }
}

/* ─── 11) REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .fb-hero-glow,
  .fb-hero-spotlight,
  .fb-hero-enhanced .fb-orbit,
  .fb-sparkle,
  .fb-kicker-dot,
  .fb-h1-enhanced .brush::after,
  .fb-cta-enhanced .btn-primary,
  .fb-scroll-hint span {
    animation: none !important;
  }
  .fb-h1-enhanced .brush::after {
    transform: scaleX(1) !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   12) FIX: Click-Blocker abschalten (Hero-Decorative-Layer)
   ───────────────────────────────────────────────────────────────
   Stelle sicher, dass kein Hero-Effekt-Layer Klicks auf den Bot
   abfängt. Alle Decorative-Layer = pointer-events: none.
   ═══════════════════════════════════════════════════════════════ */

.fb-hero-glow,
.fb-hero-spotlight,
.fb-sparkles,
.fb-sparkle,
.fb-scroll-hint,
.fb-scroll-hint span,
.fb-kicker-dot,
.fb-hero-enhanced .fb-orbit,
.fb-hero-enhanced .fb-orbit-dot,
.fb-h1-enhanced .brush::after {
  pointer-events: none !important;
}

/* Stelle sicher, dass der Hero NICHT einen Stacking-Context erzeugt,
   der den Bot blockiert */
.fb-hero-enhanced {
  isolation: auto !important;
}

/* Bot + Backdrop garantiert klickbar wenn open */
.chatbot-fab,
.chatbot-fab-img {
  pointer-events: auto !important;
}
.chatbot-fab-badge,
.chatbot-fab-pulse,
.chatbot-fab-pulse-2 {
  pointer-events: none !important;
}
.chatbot.chatbot-open {
  pointer-events: auto !important;
}
.chatbot-backdrop.chatbot-backdrop-open {
  pointer-events: auto !important;
}


/* ═══════════════════════════════════════════════════════════════
   13) "WAS DRINSTECKT" · 2-SPALTEN-LAYOUT mit echtem Foto
   ───────────────────────────────────────────────────────────────
   Bild der echten Fotobox links, Features rechts in elegantem
   Grid. Mobile: Bild oben, Features darunter.
   ═══════════════════════════════════════════════════════════════ */

.fb-features-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 5vh, 56px);
}

@media (max-width: 880px) {
  .fb-features-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ─── Bild-Container ─── */
.fb-features-image {
  position: relative;
}

.fb-features-image-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(184, 232, 52, 0.18);
  box-shadow:
    0 24px 48px -8px rgba(0, 0, 0, 0.6),
    0 0 64px -16px rgba(184, 232, 52, 0.25);
  aspect-ratio: 4 / 5;
  background: var(--bg-card, #131A14);
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease,
              border-color 0.4s ease;
}

.fb-features-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Subtiler Lime-Glow im Bild-Rahmen */
.fb-features-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 70%,
    rgba(184, 232, 52, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Hover-Effekt auf dem Bild (Desktop) */
@media (hover: hover) and (pointer: fine) {
  .fb-features-image-frame:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 232, 52, 0.35);
    box-shadow:
      0 32px 64px -8px rgba(0, 0, 0, 0.7),
      0 0 96px -16px rgba(184, 232, 52, 0.4);
  }
}

/* Caption unter dem Bild */
.fb-features-image-caption {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-family: var(--body, 'Inter', sans-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(237, 234, 221, 0.6);
  letter-spacing: 0.01em;
}

/* ─── Features-Liste verbessert ─── */
.fb-features-enhanced {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fb-features-enhanced li {
  position: relative;
  padding: 14px 20px 14px 52px;
  background: rgba(184, 232, 52, 0.03);
  border: 1px solid rgba(184, 232, 52, 0.1);
  border-radius: 12px;
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cream, #EDEADD);
  transition: background 0.3s ease,
              border-color 0.3s ease,
              transform 0.3s ease;
}

/* Custom Checkmark vor jedem Feature */
.fb-features-enhanced li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime, #B8E834);
  box-shadow: 0 0 12px rgba(184, 232, 52, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.fb-features-enhanced li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-65%) rotate(-45deg);
  width: 12px;
  height: 6px;
  border-left: 2.5px solid var(--bg, #0A0D0B);
  border-bottom: 2.5px solid var(--bg, #0A0D0B);
}

/* Hover: Lime intensiver, Liste lebt */
@media (hover: hover) and (pointer: fine) {
  .fb-features-enhanced li:hover {
    background: rgba(184, 232, 52, 0.08);
    border-color: rgba(184, 232, 52, 0.3);
    transform: translateX(4px);
  }
  .fb-features-enhanced li:hover::before {
    transform: translateY(-50%) scale(1.15);
    box-shadow:
      0 0 16px rgba(184, 232, 52, 0.7),
      0 0 32px rgba(184, 232, 52, 0.3);
  }
}

/* Mobile Kompakter */
@media (max-width: 540px) {
  .fb-features-enhanced li {
    padding: 12px 16px 12px 46px;
    font-size: 0.9rem;
  }
  .fb-features-enhanced li::before {
    left: 12px;
    width: 22px;
    height: 22px;
  }
  .fb-features-enhanced li::after {
    left: 18px;
    width: 11px;
    height: 5px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .fb-features-image-frame,
  .fb-features-enhanced li,
  .fb-features-enhanced li::before {
    transition: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   14) MOBILE-FIXES: Bild-Anzeige + Sticky-CTA aus
   ───────────────────────────────────────────────────────────────
   - Sticky-CTA ist auf Mobile aktiv und überlagert die Caption
   - Bild-Aspect-Ratio auf Mobile flexibler (komplettes Bild zeigen)
   ═══════════════════════════════════════════════════════════════ */

/* Sticky-CTA komplett aus (Bot ist überall unser primärer CTA) */
.sticky-cta {
  display: none !important;
}
body {
  padding-bottom: 0 !important;
}

/* Mobile: Bild-Frame zeigt das komplette Bild ohne Crop */
@media (max-width: 880px) {
  .fb-features-image-frame {
    aspect-ratio: auto;
    max-height: 70vh;
  }
  .fb-features-image-frame img {
    object-fit: contain;
    object-position: center center;
    background: var(--bg-card, #131A14);
  }
  .fb-features-image-caption {
    margin-top: 12px;
    font-size: 0.82rem;
    padding: 0 8px;
  }
}

/* Auf sehr kleinen Phones (≤480px) Bild noch kompakter */
@media (max-width: 480px) {
  .fb-features-image-frame {
    max-height: 60vh;
  }
}


/* ═══════════════════════════════════════════════════════════════
   15) MOBILE-NAV FIX + STICKY-CTA HARD-OFF
   ───────────────────────────────────────────────────────────────
   Das Burger-Menü zeigte leere Links, weil:
   - <ul>-Default-Styles (list-style, padding) störten
   - Der Hero hatte ein höheres Stacking-Layer als das Nav
   - Sticky-CTA blieb trotz vorherigem display:none aktiv
   ═══════════════════════════════════════════════════════════════ */

/* Mobile Nav komplett über alles ─ höchstes Z-Index */
@media (max-width: 880px) {
  .nav {
    z-index: 1000 !important;
  }
  .nav .nav-links {
    z-index: 999 !important;
    list-style: none !important;
    margin: 0 !important;
    background: rgb(10, 13, 11) !important;
  }
  .nav .nav-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }
  .nav .nav-links li::marker {
    display: none !important;
    content: "" !important;
  }
  .nav .nav-links a {
    display: block !important;
    width: 100% !important;
    padding: 18px 0 !important;
    color: var(--cream, #EDEADD) !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(184, 232, 52, 0.12) !important;
    opacity: 1 !important;
  }
  .nav .nav-links li:last-child a {
    border-bottom: none !important;
  }
  .nav .nav-links a:active,
  .nav .nav-links a:hover {
    color: var(--lime, #B8E834) !important;
  }

  /* Hero darf das Nav NICHT überlagern */
  .fb-hero-enhanced {
    z-index: 0 !important;
    isolation: auto !important;
  }
  .fb-hero-glow,
  .fb-hero-spotlight,
  .fb-hero-enhanced .fb-orbit {
    z-index: 0 !important;
  }
}

/* Sticky-CTA HARDCORE-OFF — überall, jeder Breakpoint */
.sticky-cta,
.sticky-cta * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}
body {
  padding-bottom: 0 !important;
}


/* ═══════════════════════════════════════════════════════════════
   16) MOBILE-HEADER · IDENTISCH ZUR HAUPTSEITE www.dreihundertsechzig.com
   ───────────────────────────────────────────────────────────────
   Übernommen 1:1 aus der funktionierenden Hauptseite-CSS:
   - position: fixed statt sticky (iOS Safari Sticky-Bug umgehen)
   - body padding-top kompensiert den fixed Header
   - Notch-Padding via env(safe-area-inset-top)
   - Burger-Toggle größer für besseres Tapping
   - Auf Mobile: NUR Burger rechts (Logo + Back-Link unsichtbar)
   ═══════════════════════════════════════════════════════════════ */

/* Header opak ─ kein Backdrop-Blur (iOS Safari Bug) */
.nav {
  background: rgb(10, 13, 11) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav.is-scrolled {
  background: rgb(10, 13, 11) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 880px) {
  /* Header FIXIERT statt sticky (das war der Trick auf der Hauptseite) */
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
  }

  /* Body bekommt padding-top, damit Inhalt nicht unter dem Header liegt */
  body {
    padding-top: calc(84px + env(safe-area-inset-top, 0px)) !important;
  }

  /* nav-inner mit Notch-Padding */
  .nav .nav-inner {
    padding-top: calc(18px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 14px !important;
    padding-left: max(var(--pad), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(var(--pad), env(safe-area-inset-right, 0px)) !important;
    /* Burger nach rechts schieben (kein Content links blockt) */
    justify-content: flex-end !important;
  }

  /* Logo auf Mobile AUSBLENDEN (nur Burger sichtbar, identisch zu Hauptseite) */
  .nav .logo {
    display: none !important;
  }

  /* "Zur Hauptseite"-Link auch ausblenden auf Mobile */
  .nav .fb-back-link {
    display: none !important;
  }

  /* Anfragen-CTA im Header ausblenden (nur Burger soll sichtbar sein) */
  .nav .nav-cta {
    display: none !important;
  }

  /* Burger-Menü öffnet UNTER dem Header */
  .nav-links {
    inset: calc(84px + env(safe-area-inset-top, 0px)) 0 auto 0 !important;
  }

  /* Burger-Toggle GROSS sichtbar (52×52) wie auf Hauptseite */
  .nav .nav-toggle,
  nav.nav .nav-toggle,
  .nav-toggle {
    display: flex !important;
    width: 52px !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .nav .nav-toggle span,
  .nav .nav-toggle span::before,
  .nav .nav-toggle span::after,
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block !important;
    width: 30px !important;
    height: 2.5px !important;
    background: var(--cream, #EDEADD) !important;
    border-radius: 2px !important;
  }
  .nav .nav-toggle span::before,
  .nav-toggle span::before { top: -9px !important; }
  .nav .nav-toggle span::after,
  .nav-toggle span::after  { top: 9px !important; }
}

/* HTML/Body schwarz (Hintergrund unter Notch) */
html, body {
  background: #0A0D0B;
}
