@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/**
 * Custom Enhancements CSS — webseiteerstellen.eu
 * Стили для Exit-Intent Modal и FAQ Chatbot
 * Цветовая схема: тёмная тема с золотыми акцентами (#d4af37)
 */

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --wee-gold: #d4af37;
  --wee-gold-light: #f0d060;
  --wee-gold-dark: #b8962e;
  --wee-dark-bg: #1a1a2e;
  --wee-dark-card: #16213e;
  --wee-dark-surface: #0f3460;
  --wee-text: #e8e8e8;
  --wee-text-muted: #a0a0b8;
  --wee-radius: 12px;
  --wee-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   EXIT-INTENT MODAL
   ============================================================ */

/* Overlay */
#wee-exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

#wee-exit-overlay.wee-exit-visible {
  opacity: 1;
  visibility: visible;
}

#wee-exit-overlay.wee-exit-hiding {
  opacity: 0;
  visibility: hidden;
}

/* Modal Box */
#wee-exit-modal {
  background: linear-gradient(145deg, var(--wee-dark-card), var(--wee-dark-bg));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--wee-radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--wee-shadow), 0 0 40px rgba(212, 175, 55, 0.1);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
}

.wee-exit-visible #wee-exit-modal {
  transform: translateY(0) scale(1);
}

/* Close Button */
#wee-exit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--wee-text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

#wee-exit-close:hover {
  color: var(--wee-gold);
}

/* Icon */
.wee-exit-icon {
  margin-bottom: 16px;
}

/* Title */
#wee-exit-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--wee-gold);
  margin: 0 0 8px;
}

/* Subtitle */
.wee-exit-subtitle {
  font-size: 18px;
  color: var(--wee-text);
  margin: 0 0 12px;
  line-height: 1.4;
}

.wee-exit-subtitle strong {
  color: var(--wee-gold-light);
}

/* Description */
.wee-exit-desc {
  font-size: 14px;
  color: var(--wee-text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Features */
.wee-exit-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wee-exit-features span {
  font-size: 13px;
  color: var(--wee-gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* CTA Button */
#wee-exit-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--wee-gold), var(--wee-gold-dark));
  color: var(--wee-dark-bg);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 320px;
}

#wee-exit-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* Dismiss Link */
.wee-exit-dismiss {
  font-size: 12px;
  color: var(--wee-text-muted);
  margin: 16px 0 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.wee-exit-dismiss:hover {
  color: var(--wee-text);
}


/* ============================================================
   AI CHATBOT — Modern Design
   ============================================================ */

#wee-chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999998;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Toggle — Avatar Button */
#wee-chat-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 2px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding: 0;
  overflow: visible;
}

#wee-chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

.wee-toggle-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.wee-chat-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wee-hidden { display: none !important; }

/* Pulse Ring */
.wee-chat-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wee-gold);
  animation: weePulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes weePulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Badge */
.wee-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid #0f172a;
}

.wee-chat-badge-visible {
  opacity: 1;
  transform: scale(1);
}

/* Chat Window */
#wee-chat-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-height: 540px;
  background: #0f172a;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s ease;
}

#wee-chat-window.wee-chat-closed {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  visibility: hidden;
  pointer-events: none;
}

#wee-chat-window.wee-chat-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

/* Header */
.wee-chat-header {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.wee-chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wee-chat-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.wee-chat-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.wee-chat-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0f172a;
}

.wee-chat-name {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 15px;
}

.wee-chat-status-text {
  color: #64748b;
  font-size: 12px;
}

/* Messages */
.wee-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 260px;
  min-height: 120px;
}

.wee-chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.wee-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.wee-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 80%;
}

.wee-chat-bot .wee-msg-bubble {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom-left-radius: 4px;
}

.wee-chat-user {
  flex-direction: row-reverse;
}

.wee-chat-user .wee-msg-bubble {
  background: linear-gradient(135deg, var(--wee-gold), var(--wee-gold-dark));
  color: #0f172a;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

/* Typing Dots */
.wee-typing-bubble {
  padding: 12px 18px !important;
}

.wee-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.wee-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wee-gold);
  animation: weeDotBounce 1.4s ease-in-out infinite;
}

.wee-typing-dots span:nth-child(2) { animation-delay: 0.16s; }
.wee-typing-dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes weeDotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Action Buttons — Stylish */
.wee-chat-actions {
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wee-action-calendly,
.wee-action-whatsapp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.2px;
}

.wee-action-calendly {
  background: linear-gradient(135deg, var(--wee-gold), #c9a227);
  color: #0f172a;
}

.wee-action-whatsapp {
  background: linear-gradient(135deg, #25d366, #1da851);
  color: #fff;
}

.wee-action-calendly:hover,
.wee-action-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.wee-action-calendly span,
.wee-action-whatsapp span {
  white-space: nowrap;
}

/* Input */
.wee-chat-input-wrap {
  display: flex;
  padding: 12px 14px;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.2);
}

#wee-chat-input {
  flex: 1;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  color: #e2e8f0;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

#wee-chat-input:focus {
  border-color: var(--wee-gold);
}

#wee-chat-input::placeholder {
  color: #475569;
}

#wee-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wee-gold), var(--wee-gold-dark));
  color: #0f172a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

#wee-chat-send:hover {
  transform: scale(1.08);
}

/* ============================================================
   PROACTIVE CTA — Center Screen Modal
   ============================================================ */

#wee-chat-proactive {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: weeProactiveFadeIn 0.4s ease;
}

.wee-proactive-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 32px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.08);
  animation: weeCardPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes weeCardPop {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.wee-proactive-close,
.wee-proactive-close:focus,
.wee-proactive-close:active,
.wee-proactive-close:visited {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #94a3b8;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.wee-proactive-close:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff;
}

.wee-proactive-top {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.wee-proactive-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.wee-proactive-top strong {
  display: block;
  color: #f1f5f9;
  font-size: 16px;
}

.wee-proactive-role {
  display: block;
  color: var(--wee-gold);
  font-size: 12px;
  font-weight: 500;
}

.wee-proactive-text {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.wee-proactive-langs {
  color: #475569;
  font-size: 12px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.wee-proactive-btn {
  background: linear-gradient(135deg, var(--wee-gold), #c9a227);
  color: #0f172a;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wee-proactive-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

@keyframes weeProactiveFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scrollbar */
.wee-chat-messages::-webkit-scrollbar { width: 4px; }
.wee-chat-messages::-webkit-scrollbar-track { background: transparent; }
.wee-chat-messages::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.2); border-radius: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
  #wee-exit-modal { padding: 28px 20px; margin: 10px; }
  #wee-exit-title { font-size: 22px; }
  .wee-exit-subtitle { font-size: 16px; }
  .wee-exit-features { flex-direction: column; align-items: center; gap: 8px; }
  #wee-exit-cta { font-size: 14px; padding: 12px 24px; }

  #wee-chatbot { bottom: 14px; right: 14px; }
  #wee-chat-toggle { width: 56px; height: 56px; }
  .wee-toggle-avatar { width: 48px; height: 48px; }
  #wee-chat-window {
    width: calc(100vw - 28px);
    right: -8px;
    bottom: 68px;
    max-height: 75vh;
  }
  .wee-proactive-card { padding: 24px; }
  .wee-action-calendly span,
  .wee-action-whatsapp span { font-size: 11px; }
}


/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL FAQ PATCH
   Единый стиль FAQ для всех страниц webseiteerstellen.eu
   Принудительное переопределение розовых цветов Elementor
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   FAQ КОНТЕЙНЕР
   ═══════════════════════════════════════════════════════════════ */
.faq,
.wee-faq,
[class*="faq-section"] {
  background: #0f172a !important;
  padding: 80px 0;
  position: relative;
}

/* Золотая линия сверху секции */
.faq::before,
.wee-faq::before,
[class*="faq-section"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #d1b45a 50%, transparent 100%);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ЗАГОЛОВОК
   ═══════════════════════════════════════════════════════════════ */
.faq h2,
.wee-faq h2,
[class*="faq"] h2 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #f9fafb !important;
  text-align: center;
  margin-bottom: 48px !important;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ITEM (каждый вопрос)
   ═══════════════════════════════════════════════════════════════ */
.faq-item,
.wee-faq-item,
[class*="faq-item"],
.elementor-toggle-item {
  background: radial-gradient(ellipse at top left, rgba(209, 180, 90, 0.05), #0f172a) !important;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  border-radius: 16px !important;
  margin-bottom: 16px !important;
  overflow: hidden;
  transition: all 0.3s ease !important;
}

.faq-item:hover,
.wee-faq-item:hover,
[class*="faq-item"]:hover,
.elementor-toggle-item:hover {
  border-color: rgba(209, 180, 90, 0.5) !important;
}

.faq-item.active,
.wee-faq-item.active,
[class*="faq-item"].active,
.elementor-toggle-item.elementor-active {
  border-color: #ffffff !important;
  background: radial-gradient(ellipse at top left, rgba(209, 180, 90, 0.08), #0f172a) !important;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ QUESTION (кнопка вопроса)
   ═══════════════════════════════════════════════════════════════ */
.faq-q,
.faq-question,
.wee-faq-question,
[class*="faq-question"],
.elementor-toggle-title {
  width: 100% !important;
  min-height: 70px !important;
  padding: 20px 24px !important;
  background: transparent !important;
  border: none !important;
  text-align: left !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #f9fafb !important;
  transition: color 0.2s ease !important;
  line-height: 1.5 !important;
}

.faq-q:hover,
.faq-question:hover,
.wee-faq-question:hover,
[class*="faq-question"]:hover,
.elementor-toggle-title:hover {
  color: #d1b45a !important;
}

/* Текст вопроса */
.faq-q span,
.faq-question span,
.wee-faq-question span,
[class*="faq-question"] span {
  flex: 1 !important;
  text-align: left !important;
  line-height: 1.5 !important;
  color: #f9fafb !important;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ICON (стрелка)
   ═══════════════════════════════════════════════════════════════ */
.faq-icon,
.wee-faq-icon,
[class*="faq-icon"],
.elementor-toggle-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  color: #d1b45a !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Поворот стрелки при открытии */
.faq-item.active .faq-icon,
.wee-faq-item.active .wee-faq-icon,
[class*="faq-item"].active [class*="faq-icon"],
.elementor-toggle-item.elementor-active .elementor-toggle-icon {
  transform: rotate(180deg) !important;
}

/* Elementor специфичные иконки */
.elementor-toggle-icon svg,
.elementor-toggle-icon i {
  color: #d1b45a !important;
  fill: #d1b45a !important;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ANSWER (ответ)
   ═══════════════════════════════════════════════════════════════ */
.faq-a,
.faq-answer,
.wee-faq-answer,
[class*="faq-answer"],
.elementor-toggle-content {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: transparent !important;
}

.faq-item.active .faq-a,
.faq-item.active .faq-answer,
.wee-faq-item.active .wee-faq-answer,
[class*="faq-item"].active [class*="faq-answer"],
.elementor-toggle-item.elementor-active .elementor-toggle-content {
  max-height: 600px !important;
}

/* Внутренний контейнер ответа */
.faq-a-inner,
.faq-answer-inner,
.wee-faq-answer-inner,
[class*="faq-answer-inner"],
.elementor-toggle-content p,
.elementor-toggle-content {
  padding: 0 24px 24px !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #cbd5e1 !important;
  background: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════
   ГАЛОЧКИ В СПИСКАХ (если есть внутри FAQ)
   ═══════════════════════════════════════════════════════════════ */
.faq-answer ul li::before,
.wee-faq-answer ul li::before,
[class*="faq-answer"] ul li::before {
  content: "\2713" !important;
  color: #4ade80 !important;
  font-weight: bold !important;
}

/* ═══════════════════════════════════════════════════════════════
   LEISTUNGEN PAGE - СПЕЦИФИЧНЫЕ ФИКСЫ
   ═══════════════════════════════════════════════════════════════ */
.features li:before,
.modal li:before {
  content: "\2713" !important;
  color: #4ade80 !important;
  font-weight: bold !important;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .faq h2,
  .wee-faq h2,
  [class*="faq"] h2 {
    font-size: 28px !important;
  }

  .faq-q,
  .faq-question,
  .wee-faq-question,
  [class*="faq-question"],
  .elementor-toggle-title {
    font-size: 16px !important;
    padding: 16px 20px !important;
    min-height: 60px !important;
  }

  .faq-a-inner,
  .faq-answer-inner,
  .wee-faq-answer-inner,
  [class*="faq-answer-inner"],
  .elementor-toggle-content {
    padding: 0 20px 20px !important;
    font-size: 14px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE / ELEMENTOR OVERRIDES
   Принудительное переопределение Elementor стилей
   ═══════════════════════════════════════════════════════════════ */

/* Убираем любые светлые фоны от Elementor */
.elementor-widget-toggle .elementor-toggle,
.elementor-widget-toggle .elementor-toggle-item,
.elementor-widget-toggle .elementor-tab-title,
.elementor-widget-toggle .elementor-tab-content {
  background: transparent !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
}

/* Убираем розовые/фиолетовые оттенки Elementor */
.elementor-widget-toggle *,
[class*="faq"] * {
  --e-global-color-primary: #d1b45a !important;
  --e-global-color-secondary: #f9fafb !important;
  --e-global-color-text: #cbd5e1 !important;
  --e-global-color-accent: #d1b45a !important;
}

/* ═══════════════════════════════════════════════════════════════
   SITE BACKGROUND — тёмный фон вместо белого
   ═══════════════════════════════════════════════════════════════ */
html,
body,
.site {
  background-color: #0f172a !important;
}

/* ═══════════════════════════════════════════════════════════════
   GAP FIX — убираем лишние отступы header/footer
   ═══════════════════════════════════════════════════════════════ */

/* Footer: убираем огромный margin-top 8rem */
footer,
.site-footer,
[class*="footer"] {
  margin-top: 0 !important;
}

/* Default template pages: .site-main gets padding-top to clear fixed .wee-header (~110px) */
.site-main {
  padding-top: 120px !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.page-content,
.entry-content,
.post-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Elementor page wrapper — убираем лишние отступы */
.elementor-page .page-header,
.elementor-page .entry-header {
  display: none !important;
}

/* Hide default Hello Elementor header — custom .wee-header replaces it */
#site-header.site-header,
header.site-header.dynamic-header {
  display: none !important;
}

/* Heroes inside .site-main (default template pages):
   .site-main already provides 120px offset, heroes just need breathing room */
.site-main #wee-pakete-hero {
  padding-top: 40px !important;
}
.site-main #wee-contact-hero {
  padding-top: 60px !important;
}

/* Heroes on Canvas pages (no .site-main): need ~150px to clear fixed header (~110px) + breathing room */
#wee-erstellen-hero,
#wee-impressum-hero {
  padding-top: 150px !important;
}
.elementor-411 .hero {
  padding-top: 150px !important;
}
@media (max-width: 768px) {
  #wee-erstellen-hero,
  #wee-impressum-hero {
    padding-top: 100px !important;
  }
  .elementor-411 .hero {
    padding-top: 100px !important;
  }
}

/* Elementor sections: первая секция — без верхнего отступа от header */
.elementor .elementor-section-wrap > .elementor-section:first-child,
.elementor .elementor-element:first-child > .e-con:first-child {
  margin-top: 0 !important;
}

/* Elementor sections: последняя секция — без нижнего отступа до footer */
.elementor .elementor-section-wrap > .elementor-section:last-child,
.elementor .elementor-element:last-child > .e-con:last-child {
  margin-bottom: 0 !important;
}


/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║                    PREMIUM DESIGN UPGRADE                           ║
   ║  Polished, high-end visual enhancements for webseiteerstellen.eu    ║
   ║  All overrides use high specificity + !important for Elementor      ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

/* =================================================================
   1. TYPOGRAPHY REFINEMENT
   ================================================================= */

/* @import for Inter font is at the top of this file (CSS spec requirement) */

body,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-theme-post-content p,
p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
  letter-spacing: -0.04em !important;
  font-weight: 800 !important;
}

/* Subheadings / smaller headings */
h3, h4, h5, h6,
.elementor-widget-heading h3,
.elementor-widget-heading h4 {
  font-weight: 500 !important;
}

/* =================================================================
   2. PREMIUM BUTTON STYLES
   ================================================================= */

/* Primary CTA buttons — solid gold gradient with dark text */
.hero-section .btn-primary,
.hero .btn-primary,
.cta-section .btn-primary,
.cta .btn-primary,
a.btn-primary,
button.btn-primary,
.elementor-widget-button .elementor-button,
.hero-section a[class*="btn"]:first-of-type,
.hero a[class*="btn"]:first-of-type,
.cta-section a[class*="btn"],
.cta a[class*="btn"] {
  background: linear-gradient(135deg, var(--wee-gold), var(--wee-gold-dark)) !important;
  color: #0f172a !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 32px !important;
  border-radius: 10px !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-section .btn-primary:hover,
.hero .btn-primary:hover,
.cta-section .btn-primary:hover,
.cta .btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.elementor-widget-button .elementor-button:hover,
.hero-section a[class*="btn"]:first-of-type:hover,
.hero a[class*="btn"]:first-of-type:hover,
.cta-section a[class*="btn"]:hover,
.cta a[class*="btn"]:hover {
  transform: scale(1.02) translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35),
              0 0 20px rgba(212, 175, 55, 0.15) !important;
}

/* Secondary / outline buttons — glass-morphism */
.btn-secondary,
.hero-section a[class*="btn"]:nth-of-type(2),
.hero a[class*="btn"]:nth-of-type(2),
a[class*="btn-outline"]:not(.pp-btn),
a[class*="btn-secondary"]:not(.pp-btn) {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: var(--wee-gold) !important;
  font-weight: 600 !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 32px !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.btn-secondary:hover,
.hero-section a[class*="btn"]:nth-of-type(2):hover,
.hero a[class*="btn"]:nth-of-type(2):hover,
a[class*="btn-outline"]:not(.pp-btn):hover,
a[class*="btn-secondary"]:not(.pp-btn):hover {
  background: rgba(212, 175, 55, 0.1) !important;
  border-color: var(--wee-gold) !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15) !important;
}

/* Button press effect */
.btn-primary:active,
.btn-secondary:active,
a[class*="btn"]:active,
.elementor-widget-button .elementor-button:active {
  transform: scale(0.98) !important;
}

/* =================================================================
   3. CARD ELEVATION SYSTEM
   ================================================================= */

/* Service cards, feature cards, any card-like containers */
.service-card,
.card,
.feature-card,
.tech-card,
.process-card,
.pricing-card,
[class*="service-card"],
[class*="feature-card"],
[class*="card-item"],
.elementor-widget-icon-box .elementor-icon-box-wrapper {
  background: rgba(22, 33, 62, 0.6) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-radius: 16px !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
  /* Base shadow — subtle depth */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
              0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Hover state — elevated + gold glow */
.service-card:hover,
.card:hover,
.feature-card:hover,
.tech-card:hover,
.process-card:hover,
.pricing-card:hover,
[class*="service-card"]:hover,
[class*="feature-card"]:hover,
[class*="card-item"]:hover,
.elementor-widget-icon-box .elementor-icon-box-wrapper:hover {
  transform: translateY(-6px) rotate(0.5deg) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
              0 8px 24px rgba(0, 0, 0, 0.2),
              0 0 30px rgba(212, 175, 55, 0.08),
              inset 0 1px 0 rgba(212, 175, 55, 0.1) !important;
}

/* Active/pressed state */
.service-card:active,
.card:active,
.feature-card:active,
.tech-card:active,
[class*="service-card"]:active,
[class*="feature-card"]:active {
  transform: translateY(-2px) rotate(0deg) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
              0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* =================================================================
   4. SECTION SEPARATORS & SPACING
   ================================================================= */

/* Add breathing room — only named content sections, NOT generic .e-con
   (generic .e-con was adding 200px to empty Elementor containers) */
section[id^="wee-"][id$="-content"],
section[id^="wee-"][id$="-services"],
section[id^="wee-"][id$="-process"],
section[id^="wee-"][id$="-benefits"],
section[id^="wee-"][id$="-faq"],
section[id^="wee-"][id$="-comparison"] {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Subtle gold gradient divider between named sections */
section[id^="wee-"] + section[id^="wee-"]::before {
  content: '' !important;
  display: block !important;
  width: 50% !important;
  max-width: 400px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent) !important;
  margin: 0 auto !important;
  position: relative !important;
  top: -40px !important;
}

/* =================================================================
   5. HERO SECTION POLISH
   ================================================================= */

/* Stats numbers — subtle text-shadow glow */
.hero-section .stat-number,
.hero .stat-number,
.hero-stats .stat-number,
[class*="stat"] .stat-number,
[class*="hero"] [class*="stat"] strong,
[class*="hero"] [class*="stat"] span:first-child {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4),
               0 0 40px rgba(212, 175, 55, 0.15) !important;
}

/* Hero image — better visibility */
.hero-section img,
.hero img,
[class*="hero"] .elementor-image img,
[class*="hero"] img:not(.wee-toggle-avatar):not(.wee-msg-avatar) {
  opacity: 0.8 !important;
  transition: opacity 0.3s ease !important;
}

.hero-section img:hover,
.hero img:hover,
[class*="hero"] img:not(.wee-toggle-avatar):not(.wee-msg-avatar):hover {
  opacity: 0.9 !important;
}

/* Animated gradient shimmer on hero background */
@keyframes weeHeroShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero-section::after,
.hero::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212, 175, 55, 0.03) 45%,
    rgba(212, 175, 55, 0.05) 50%,
    rgba(212, 175, 55, 0.03) 55%,
    transparent 60%
  ) !important;
  background-size: 200% 100% !important;
  animation: weeHeroShimmer 8s ease-in-out infinite !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* =================================================================
   6. MICRO-INTERACTIONS
   ================================================================= */

/* Gold focus rings for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--wee-gold) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* Link hover — smooth underline animation */
.elementor-widget-text-editor a:not(.pp-btn),
.entry-content a:not(.pp-btn),
p a:not(.pp-btn),
.elementor-widget a:not(.elementor-button):not(.btn-primary):not(.btn-secondary):not([class*="btn"]):not(.pp-btn) {
  text-decoration: none !important;
  position: relative !important;
  color: var(--wee-gold) !important;
  transition: color 0.2s ease !important;
}

.elementor-widget-text-editor a::after,
.entry-content a::after,
p a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  background: var(--wee-gold) !important;
  transition: width 0.3s ease !important;
}

.elementor-widget-text-editor a:hover::after,
.entry-content a:hover::after,
p a:hover::after {
  width: 100% !important;
}

/* =================================================================
   7. FOOTER POLISH
   ================================================================= */

/* Top border with gold gradient */
footer,
.site-footer,
.elementor-location-footer {
  border-top: 1px solid transparent !important;
  border-image: linear-gradient(90deg, transparent 5%, rgba(212, 175, 55, 0.4) 50%, transparent 95%) 1 !important;
  padding-top: 60px !important;
}

/* Footer headings */
footer h3,
footer h4,
.site-footer h3,
.site-footer h4,
.elementor-location-footer h3,
.elementor-location-footer h4 {
  color: var(--wee-gold) !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}

/* Footer text spacing */
footer p,
footer li,
.site-footer p,
.site-footer li {
  line-height: 1.8 !important;
  color: var(--wee-text-muted) !important;
}

/* Social icons — gold hover glow */
footer a[href*="facebook"],
footer a[href*="instagram"],
footer a[href*="linkedin"],
footer a[href*="twitter"],
footer a[href*="youtube"],
.elementor-location-footer .elementor-social-icon,
.elementor-location-footer .elementor-icon {
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important;
}

footer a[href*="facebook"]:hover,
footer a[href*="instagram"]:hover,
footer a[href*="linkedin"]:hover,
footer a[href*="twitter"]:hover,
footer a[href*="youtube"]:hover,
.elementor-location-footer .elementor-social-icon:hover,
.elementor-location-footer .elementor-icon:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25) !important;
  color: var(--wee-gold) !important;
}

/* =================================================================
   8. SCROLLBAR STYLING
   ================================================================= */

/* Webkit scrollbar — dark theme with gold thumb */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0f1e;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--wee-gold-dark), rgba(212, 175, 55, 0.4));
  border-radius: 5px;
  border: 2px solid #0a0f1e;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--wee-gold), var(--wee-gold-dark));
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--wee-gold-dark) #0a0f1e;
}

/* =================================================================
   9. SELECTION COLOR
   ================================================================= */

::selection {
  background: rgba(212, 175, 55, 0.3) !important;
  color: #ffffff !important;
}

::-moz-selection {
  background: rgba(212, 175, 55, 0.3) !important;
  color: #ffffff !important;
}

/* =================================================================
   PREMIUM RESPONSIVE ADJUSTMENTS
   ================================================================= */

@media (max-width: 768px) {
  /* Reduce section padding on mobile */
  section[id^="wee-"][id$="-content"],
  section[id^="wee-"][id$="-services"],
  section[id^="wee-"][id$="-process"],
  section[id^="wee-"][id$="-benefits"],
  section[id^="wee-"][id$="-faq"],
  section[id^="wee-"][id$="-comparison"] {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  /* Stack buttons vertically on small screens */
  .hero-section .btn-primary,
  .hero .btn-primary,
  .btn-secondary,
  .hero-section a[class*="btn"],
  .hero a[class*="btn"] {
    width: 100% !important;
    max-width: 320px !important;
  }

  /* Reduce card hover rotation on mobile (can feel janky on touch) */
  .service-card:hover,
  .card:hover,
  .feature-card:hover,
  .tech-card:hover,
  [class*="service-card"]:hover,
  [class*="feature-card"]:hover {
    transform: translateY(-4px) rotate(0deg) !important;
  }

  /* Section dividers — narrower on mobile */
  section[id^="wee-"] + section[id^="wee-"]::before {
    width: 70% !important;
    top: -25px !important;
  }

  /* Smaller scrollbar on mobile */
  ::-webkit-scrollbar {
    width: 6px;
  }
}

@media (max-width: 480px) {
  section[id^="wee-"][id$="-content"],
  section[id^="wee-"][id$="-services"],
  section[id^="wee-"][id$="-process"],
  section[id^="wee-"][id$="-benefits"],
  section[id^="wee-"][id$="-faq"],
  section[id^="wee-"][id$="-comparison"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .hero-section .btn-primary,
  .hero .btn-primary,
  .btn-secondary {
    height: 48px !important;
    font-size: 14px !important;
  }
}

/* =================================================================
   BADGE / LABEL TOP SPACING FIX
   Badges (.wee-section-badge) sit too close to section top edge.
   Original has only margin-bottom:16px — add margin-top.
   ================================================================= */

.wee-section-badge,
[class*="-badge"] {
  margin-top: 24px !important;
}

/* =================================================================
   BLOG: Hide duplicate EZ-TOC (auto-generated collapsed block).
   The manual <h2>Inhaltsverzeichnis</h2><ul> below it is kept.
   ================================================================= */
.wee-single-content .wee-toc > #ez-toc-container {
  display: none !important;
}

/* =================================================================
   BLOG POSTS: push content below fixed header (~110px)
   Original padding-top: 120px — only 10px gap. Increase to 150px.
   ================================================================= */
.wee-single-main {
  padding-top: 150px !important;
}
@media (max-width: 768px) {
  .wee-single-main {
    padding-top: 110px !important;
  }
}

/* =================================================================
   FLOATING ELEMENTS — PREMIUM VERTICAL STACK
   Right column (bottom→top): Chatbot(64px) → Scroll-top(44px) → Cookie(36px)
   Gaps: 12px between elements, aligned center on chatbot axis
   ================================================================= */

/* ---- 1. Chatbot: stays at bottom-right (64×64) ---- */
/* (positioned by #wee-chatbot already: bottom 24px, right 24px) */

/* ---- 2. Scroll-to-top: above chatbot (44×44) ---- */
/*   bottom = 24 + 64 + 12 = 100px                    */
/*   right  = 24 + (64-44)/2 = 34px (centered)        */
button.wee-scroll-top,
button.wee-scroll-top:link,
button.wee-scroll-top:visited,
button.wee-scroll-top:hover,
button.wee-scroll-top:focus,
button.wee-scroll-top:active {
  position: fixed;
  bottom: 100px;
  right: 34px;
  left: auto;
  z-index: 999990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease,
              transform 0.35s ease;
}
button.wee-scroll-top.visible,
button.wee-scroll-top.visible:hover,
button.wee-scroll-top.visible:focus {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  background: transparent !important;
  background-color: transparent !important;
}
button.wee-scroll-top:active {
  transform: scale(0.92);
}
button.wee-scroll-top svg,
button.wee-scroll-top:hover svg {
  width: 40px;
  height: 40px;
  stroke: #d1b45a;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
}

/* ---- 3. Cookie consent: above scroll-top (36×36) ---- */
/*   bottom = 100 + 44 + 12 = 156px                      */
/*   right  = 24 + (64-36)/2 = 38px (centered)           */
#cmplz-manage-consent {
  position: fixed !important;
  bottom: 156px !important;
  right: 38px !important;
  left: auto !important;
  z-index: 999990 !important;
}
/* Kill old override + Complianz defaults on .cmplz-btn */
#cmplz-manage-consent .cmplz-btn,
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent,
#cmplz-manage-consent button.cmplz-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: visible !important;
  cursor: pointer !important;
  transition: filter 0.2s ease !important;
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  -webkit-appearance: none !important;
}
/* Cookie icon (SVG via ::before) — bigger, with glow */
#cmplz-manage-consent .cmplz-btn::before,
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent::before {
  content: '' !important;
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d1b45a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5'/%3E%3Cpath d='M8.5 8.5v.01'/%3E%3Cpath d='M16 15.5v.01'/%3E%3Cpath d='M12 12v.01'/%3E%3Cpath d='M11 17v.01'/%3E%3Cpath d='M7 14v.01'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5)) !important;
}
#cmplz-manage-consent .cmplz-btn:hover,
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}
#cmplz-manage-consent .cmplz-btn:hover::before,
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent:hover::before {
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.7)) brightness(1.15) !important;
}
#cmplz-manage-consent .cmplz-btn:focus,
#cmplz-manage-consent .cmplz-btn:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ---- Mobile: 20% smaller, 12px edge offset ---- */
@media (max-width: 768px) {
  /* Chatbot shrinks to ~52px via its own responsive rules */
  /* Recalculate stack: chatbot ~56px, gap 10px */

  /* Scroll-to-top mobile */
  button.wee-scroll-top,
  button.wee-scroll-top:hover,
  button.wee-scroll-top:focus {
    width: 44px;
    height: 44px;
    bottom: 82px;
    right: 18px;
    background: transparent !important;
    background-color: transparent !important;
  }
  button.wee-scroll-top svg,
  button.wee-scroll-top:hover svg {
    width: 34px;
    height: 34px;
  }

  /* Cookie: 30px (36*0.8≈30) */
  #cmplz-manage-consent {
    bottom: 130px !important;
    right: 25px !important;
  }
  #cmplz-manage-consent .cmplz-btn,
  #cmplz-manage-consent .cmplz-btn.cmplz-manage-consent,
  #cmplz-manage-consent button.cmplz-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
  }
  #cmplz-manage-consent .cmplz-btn::before,
  #cmplz-manage-consent .cmplz-btn.cmplz-manage-consent::before {
    width: 20px !important;
    height: 20px !important;
  }
}

/* =================================================================
   COMMENT SECTION — Mobile optimization
   ================================================================= */

/* Base styling for comment section (dark theme) */
.wee-single-comments {
  background: #0a0e27;
  color: #e2e8f0;
}
.wee-single-comments .comment-reply-title {
  color: #e2e8f0;
}
.wee-single-comments .comment-form label {
  color: #94a3b8;
}
.wee-single-comments .comment-form input[type="text"],
.wee-single-comments .comment-form input[type="email"],
.wee-single-comments .comment-form input[type="url"],
.wee-single-comments .comment-form textarea {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
}
.wee-single-comments .comment-form input:focus,
.wee-single-comments .comment-form textarea:focus {
  border-color: rgba(212, 175, 55, 0.5);
  outline: none;
}

/* Submit button — gold, right-aligned */
.wee-single-comments .form-submit {
  text-align: right;
}
.wee-single-comments .form-submit input.submit {
  background: linear-gradient(135deg, #d4af37, #b8962e) !important;
  color: #0f172a !important;
  border: none !important;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.wee-single-comments .form-submit input.submit:hover {
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  background: linear-gradient(135deg, #d4af37, #b8962e) !important;
}

/* Mobile: single column, button right */
@media (max-width: 768px) {
  .wee-single-comments .comment-form p {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .wee-single-comments .comment-form {
    display: flex !important;
    flex-direction: column !important;
  }
  .wee-single-comments .comment-form input[type="text"],
  .wee-single-comments .comment-form input[type="email"],
  .wee-single-comments .comment-form input[type="url"],
  .wee-single-comments .comment-form textarea {
    width: 100% !important;
    box-sizing: border-box;
  }
  .wee-single-comments .form-submit {
    text-align: right;
  }
}

/* =================================================================
   /BEWERTUNGEN/ PAGE — Full mobile optimization
   Forces 1 column, proper spacing, button right-aligned
   ================================================================= */

/* Reviews grid: 1 column on mobile + tablet */
@media (max-width: 992px) {
  .wee-reviews-3col,
  .wee-reviews-2col,
  .wee-reviews-grid.wee-reviews-3col,
  .wee-reviews-grid.wee-reviews-2col {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  /* Page section padding */
  .wee-reviews-section {
    padding: 32px 14px !important;
  }

  /* Title */
  .wee-reviews-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .wee-reviews-subtitle {
    font-size: 14px !important;
  }

  /* Cards: 1 column, full width */
  .wee-reviews-3col,
  .wee-reviews-2col,
  .wee-reviews-grid.wee-reviews-3col,
  .wee-reviews-grid.wee-reviews-2col {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .wee-review-card {
    padding: 20px !important;
  }
  .wee-review-text {
    font-size: 14px !important;
  }

  /* Form: single column fields */
  .wee-rf-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .wee-review-form-wrap {
    padding: 20px 16px !important;
    margin-top: 28px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .wee-review-form-title {
    font-size: 18px !important;
  }

  /* Submit button: right-aligned, not full width */
  button.wee-rf-submit,
  button.wee-rf-submit:hover,
  button.wee-rf-submit:focus,
  button.wee-rf-submit:active {
    width: auto !important;
    display: inline-block !important;
    float: right !important;
    padding: 12px 32px !important;
  }

  /* SEO content block */
  .seo-content-block {
    padding: 0 14px !important;
  }
  .seo-content-block h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .seo-content-block h2 {
    font-size: 18px !important;
  }
  .seo-content-block p,
  .seo-content-block li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* =================================================================
   UNSERE LEISTUNGEN — Services section mobile optimization
   ================================================================= */

/* Tablet: force 1 column earlier (cards get cramped at 2-col below 900px) */
@media (max-width: 900px) {
  #wee-services .grid,
  #wee-svc-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  /* Section: zero Elementor parent padding, prevent overflow */
  .elementor-widget-html:has(#wee-services),
  .e-con:has(#wee-services) {
    --padding-left: 0px !important;
    --padding-right: 0px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #wee-services {
    padding: 50px 0 40px !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .wee-services-container {
    padding: 0 16px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Section header */
  .wee-services-header h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  .wee-services-subtitle {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  /* Tabs row: scroll horizontally */
  .wee-svc-tabs {
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px !important;
    scrollbar-width: none;
  }
  .wee-svc-tabs::-webkit-scrollbar {
    display: none;
  }
  .wee-svc-tab {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    flex-shrink: 0 !important;
  }

  /* Grid: single column, less gap */
  #wee-services .grid,
  #wee-svc-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Cards: less padding, contained */
  #wee-services .card,
  #wee-svc-grid .card {
    padding: 20px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #wee-services .card h3 {
    font-size: 17px !important;
    margin-bottom: 8px !important;
  }
  #wee-services .card p {
    font-size: 14px !important;
    margin-bottom: 14px !important;
  }
  #wee-services .card-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 14px !important;
  }
  #wee-services .card-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  #wee-services .price {
    margin-bottom: 14px !important;
  }
  #wee-services .price-val {
    font-size: 20px !important;
  }
  #wee-services .features {
    margin-bottom: 16px !important;
  }
  #wee-services .features li {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }
  #wee-services .btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
  }

  /* Toggle button */
  .wee-svc-toggle {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }

  /* ── ALL remaining sections: kill Elementor parent padding ── */
  .e-con:has(#wee-why),
  .e-con:has(.wee-process-section),
  .e-con:has(#wee-tech),
  .e-con:has(#wee-faq),
  .e-con:has(#wee-cta),
  .elementor-widget-html:has(#wee-why),
  .elementor-widget-html:has(.wee-process-section),
  .elementor-widget-html:has(#wee-tech),
  .elementor-widget-html:has(#wee-faq),
  .elementor-widget-html:has(#wee-cta) {
    --padding-left: 0px !important;
    --padding-right: 0px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* All section containers: flush to screen, equal 16px padding */
  .wee-why-container,
  .wee-process-container,
  .wee-tech-container,
  .wee-faq-container,
  .wee-cta-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Sections: full width, no overflow */
  #wee-why,
  .wee-process-section,
  #wee-tech,
  #wee-faq,
  #wee-cta {
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* CTA: email fits in one line */
  .wee-cta-contact-item {
    padding: 12px 14px !important;
    gap: 10px !important;
  }
  .wee-cta-contact-icon {
    width: 40px !important;
    height: 40px !important;
  }
  .wee-cta-contact-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .wee-cta-contact-value {
    font-size: 13px !important;
  }

  /* FAQ: arrows always top-aligned */
  .wee-faq-question {
    align-items: flex-start !important;
    padding: 18px 16px !important;
    font-size: 15px !important;
    gap: 12px !important;
  }
  .wee-faq-icon {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
  }
}


/* =================================================================
   PARTNER PAGE BUTTON FIX — override premium button styles
   ================================================================= */

/* Gold CTA button — dark text on gold background */
.pp-btn.pp-btn-gold,
.elementor-widget-text-editor .pp-btn.pp-btn-gold,
.elementor-text-editor .pp-btn.pp-btn-gold,
a.pp-btn.pp-btn-gold {
  background: linear-gradient(135deg, #d1b45a, #c5a03a) !important;
  color: #020617 !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(209,180,90,0.25) !important;
  height: auto !important;
  backdrop-filter: none !important;
}

.pp-btn.pp-btn-gold:hover,
.elementor-widget-text-editor .pp-btn.pp-btn-gold:hover,
.elementor-text-editor .pp-btn.pp-btn-gold:hover,
a.pp-btn.pp-btn-gold:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 36px rgba(209,180,90,0.35) !important;
  color: #020617 !important;
  background: linear-gradient(135deg, #d9be6a, #d1b45a) !important;
}

.pp-btn.pp-btn-gold::after {
  display: none !important;
}

/* Outline button — gold text on transparent background */
.pp-btn.pp-btn-outline,
.elementor-widget-text-editor .pp-btn.pp-btn-outline,
.elementor-text-editor .pp-btn.pp-btn-outline,
a.pp-btn.pp-btn-outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(209,180,90,0.3) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  height: auto !important;
  backdrop-filter: none !important;
}

.pp-btn.pp-btn-outline:hover,
.elementor-widget-text-editor .pp-btn.pp-btn-outline:hover,
.elementor-text-editor .pp-btn.pp-btn-outline:hover,
a.pp-btn.pp-btn-outline:hover {
  background: #d1b45a !important;
  color: #020617 !important;
  transform: translateY(-3px) !important;
  border-color: #d1b45a !important;
}

.pp-btn.pp-btn-outline::after {
  display: none !important;
}

/* WhatsApp button */
.pp-btn.pp-btn-wa,
.elementor-widget-text-editor .pp-btn.pp-btn-wa,
a.pp-btn.pp-btn-wa {
  background: #25D366 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37,211,102,0.25) !important;
  height: auto !important;
}

.pp-btn.pp-btn-wa:hover,
a.pp-btn.pp-btn-wa:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 36px rgba(37,211,102,0.35) !important;
  color: #fff !important;
}

.pp-btn.pp-btn-wa::after {
  display: none !important;
}

/* Partner banner buttons on main page (inline-styled) */
.wee-partner-banner a[style*="d1b45a"],
.wee-partner-banner a[style*="gold"],
section[id*="partner"] a[style*="background"] {
  color: #020617 !important;
}

.wee-partner-banner a[style*="d1b45a"]:hover,
section[id*="partner"] a[style*="background"]:hover {
  color: #020617 !important;
}

/* ── Global Elementor Color Override (prevents default blue/green/pink) ── */
:root,
body,
.elementor-kit-5,
.elementor-kit-5 *,
.elementor *,
[class*="elementor"] {
  --e-global-color-primary: #d1b45a !important;
  --e-global-color-secondary: #f9fafb !important;
  --e-global-color-text: #cbd5e1 !important;
  --e-global-color-accent: #d1b45a !important;
}

/* WooCommerce color overrides (prevent defaults) */
.woocommerce a,
.woocommerce .button,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  --wc-primary: #d1b45a !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background-color: #d1b45a !important;
  color: #0a0e27 !important;
  border-color: #d1b45a !important;
  border-radius: 999px !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: #bfa044 !important;
  color: #0a0e27 !important;
}

/* ── Kill Hello Elementor default pink (#cc3366 / #c36) ── */
body a {
  color: var(--gold, #d1b45a);
}
body button,
body [type="button"],
body [type="submit"],
body input[type="button"] {
  border-color: var(--gold, #d1b45a);
  color: var(--gold, #d1b45a);
}
body a:hover {
  color: var(--gold-hover, #bfa044);
}

/* ============================================
   WooCommerce Product Page Styling
   ============================================ */
.single-product .product {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.single-product .product .woocommerce-product-gallery {
    border-radius: 12px;
    overflow: hidden;
}
.single-product .product .woocommerce-product-gallery img {
    border-radius: 12px;
}
.single-product .product .summary .product_title {
    color: #d1b45a !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
}
.single-product .product .summary .price {
    color: #d1b45a !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
}
.single-product .product .summary .price .woocommerce-Price-currencySymbol {
    color: #d1b45a !important;
}
.single-product .product .woocommerce-product-details__short-description {
    color: #cbd5e1 !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
}
.single-product .product .single_add_to_cart_button {
    background: #d1b45a !important;
    color: #0a0e27 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
}
.single-product .product .single_add_to_cart_button:hover {
    background: #e5c96e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(209,180,90,0.3) !important;
}
.single-product .woocommerce-tabs .tabs li a {
    color: #cbd5e1 !important;
}
.single-product .woocommerce-tabs .tabs li.active a {
    color: #d1b45a !important;
}
.single-product .woocommerce-Tabs-panel {
    color: #cbd5e1 !important;
}
.woocommerce .quantity .qty {
    background: rgba(15,23,42,0.8) !important;
    color: #f8fafc !important;
    border: 1px solid rgba(209,180,90,0.3) !important;
    border-radius: 6px !important;
}

/* Cart & Checkout gold theme */
.woocommerce .button.alt,
.woocommerce .checkout-button,
.woocommerce #place_order {
    background: #d1b45a !important;
    color: #0a0e27 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.woocommerce .button.alt:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover {
    background: #e5c96e !important;
    transform: translateY(-1px) !important;
}
