/* ==========================================================================
   Adressen Scraper Landing Page - Proinnova Design
   Farbschema: Navy-Blau (wie die App) + klare Typo
   ========================================================================== */

:root {
  /* Navy/Blau-Palette - passend zum App-Header */
  --navy-900: #1a2d4f;
  --navy-800: #223a66;
  --navy-700: #2c4a80;
  --navy-600: #375e9e;
  --navy-500: #4672b8;
  --blue-400: #6b91d4;
  --blue-300: #9fbae8;
  --blue-100: #e8eff8;
  --blue-50:  #f4f7fc;

  /* Akzentfarben */
  --accent:      #ffb300;      /* Gold wie der Schlüssel-Emoji */
  --accent-dark: #e09a00;
  --success:     #10b981;
  --danger:      #dc2626;

  /* Neutral */
  --white: #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Spacing */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 45, 79, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 45, 79, 0.08);
  --shadow-lg: 0 10px 30px rgba(26, 45, 79, 0.12);
  --shadow-xl: 0 20px 50px rgba(26, 45, 79, 0.18);

  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--navy-800); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
}

.logo-icon { font-size: 1.8rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--font-display); font-size: 1.15rem; }
.logo-sub {
  font-size: 0.72rem;
  color: var(--blue-300);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--blue-100);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--white); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 0;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-800);
  border: 2px solid var(--navy-600);
}
.btn-secondary:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(107, 145, 212, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h1 .accent {
  background: linear-gradient(135deg, var(--accent) 0%, #ffd966 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .lead {
  font-size: 1.2rem;
  color: var(--blue-100);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--blue-100);
  backdrop-filter: blur(10px);
}

.badge-check::before { content: '✓'; color: var(--accent); font-weight: 700; }

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
  max-height: 560px;
  width: auto;
  margin-left: auto;
}

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--blue-100);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--blue-50);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  color: var(--navy-600);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-top: 14px;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--navy-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 { color: var(--navy-900); }

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Screenshots
   ========================================================================== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.screenshot-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.screenshot-card img {
  width: 100%;
  display: block;
  background: var(--gray-100);
}

.screenshot-caption {
  padding: 20px 24px;
}
.screenshot-caption h3 { margin-bottom: 6px; font-size: 1.15rem; }
.screenshot-caption p { color: var(--gray-600); font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Demo Placeholder
   ========================================================================== */
.demo-placeholder {
  position: relative;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.demo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 179, 0, 0.12), transparent 70%);
}

.demo-placeholder .play-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--navy-900);
  box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.5); }
  70%  { box-shadow: 0 0 0 24px rgba(255, 179, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0); }
}

.demo-placeholder h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.demo-placeholder p {
  color: var(--blue-100);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

/* ==========================================================================
   Demo Video
   ========================================================================== */
.demo-video-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d1726;
  box-shadow: var(--shadow-xl);
}

.demo-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

.demo-caption {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 20px auto 0;
  max-width: 620px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.popular {
  border-color: var(--navy-600);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy-900);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.price-description {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
}

.price-currency { font-size: 1.5rem; font-weight: 600; color: var(--navy-700); }

.price-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  margin: 0 0 32px;
  flex-grow: 1;
}

.price-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-footnote {
  margin-top: 40px;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1.05rem;
  list-style: none;
  padding: 8px 0;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--navy-600);
  transition: transform 0.2s;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 12px 0 8px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--blue-100);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group label .required { color: var(--danger); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(55, 94, 158, 0.12);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.honeypot { display: none; }

.checkbox-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Flash
   ========================================================================== */
.flash-messages { padding: 16px 0 0; }
.flash {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  font-weight: 500;
}
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-success { background: #d1fae5; color: #065f46; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: var(--blue-100);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--blue-100);
  line-height: 1.7;
}

.footer-col ul { list-style: none; }
.footer-col ul li { padding: 4px 0; }
.footer-col ul a {
  color: var(--blue-100);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-brand { margin-top: 16px; font-size: 0.85rem; }
.footer-brand strong { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--blue-100);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-mini { opacity: 0.7; }

/* ==========================================================================
   Legal Pages
   ========================================================================== */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-content h1 { margin-bottom: 32px; }
.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: var(--navy-900);
}
.legal-content h3 { margin-top: 24px; font-size: 1.15rem; }
.legal-content p { margin-bottom: 14px; color: var(--gray-700); }
.legal-content ul, .legal-content ol { margin: 0 0 16px 24px; }
.legal-content li { margin-bottom: 6px; color: var(--gray-700); }
.legal-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
}
.legal-content th, .legal-content td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.legal-content th { background: var(--blue-50); font-weight: 600; color: var(--navy-900); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 80px; }
  .hero-image { transform: none; margin-top: 20px; }
  .hero-image img { margin: 0 auto; max-height: 480px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  body.nav-open .main-nav {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy-900);
    padding: 20px;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-toggle { display: flex; }

  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* ==========================================================================
   Weitere KI-Produkte (Cross-Sell-Grid)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-500);
}
.product-icon {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.product-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--navy-600);
  background: var(--blue-50);
  border-radius: 14px;
  padding: 5px 12px;
  margin-bottom: 12px;
}
/* Tag-Texte einzeilig halten -> alle Titel fluchten */
.product-tag { white-space: nowrap; }
.product-card h3 {
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.product-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 18px;
}
.product-link {
  font-weight: 700;
  color: var(--accent-dark);
}
.product-card:hover .product-link { color: var(--accent); }
@media (max-width: 980px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   KI-Chatbot "Buddy"
   ========================================================================== */
.ab-chat { position: fixed; right: 22px; bottom: 22px; z-index: 9999; font-family: inherit; }

.ab-chat-launcher {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: #fff; border: none; cursor: pointer;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 10px 26px rgba(26, 45, 79, 0.4), 0 0 0 4px rgba(255, 179, 0, 0.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ab-chat-launcher:hover { transform: translateY(-2px) scale(1.03); }
.ab-chat-launcher-icon { font-size: 1.3rem; line-height: 1; }
.ab-chat-launcher.ab-hidden { display: none; }

.ab-chat-panel[hidden] { display: none; }
.ab-chat-panel {
  width: 380px; max-width: calc(100vw - 32px);
  height: 580px; max-height: calc(100vh - 110px);
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 23, 38, 0.35), 0 0 0 1px rgba(26, 45, 79, 0.08);
  animation: abPop .2s ease;
}
@keyframes abPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.ab-chat-header {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 14px 16px;
}
.ab-chat-ava {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%;
  background: rgba(255, 179, 0, 0.18); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.ab-chat-head-txt { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.ab-chat-head-txt strong { font-size: 1rem; }
.ab-chat-head-txt span { font-size: 0.8rem; color: var(--blue-300); }
.ab-chat-close {
  background: none; border: none; color: #fff; font-size: 1.7rem; line-height: 1;
  cursor: pointer; opacity: .8; padding: 0 4px;
}
.ab-chat-close:hover { opacity: 1; }

.ab-chat-log {
  flex: 1; overflow-y: auto; padding: 18px 16px;
  background: var(--blue-50); display: flex; flex-direction: column; gap: 10px;
}
.ab-msg {
  max-width: 84%; padding: 10px 13px; border-radius: 14px;
  font-size: 0.93rem; line-height: 1.5; word-wrap: break-word; white-space: normal;
}
.ab-msg-assistant {
  align-self: flex-start; background: #fff; color: var(--gray-800);
  border: 1px solid var(--gray-200); border-bottom-left-radius: 5px;
}
.ab-msg-user {
  align-self: flex-end; background: var(--navy-700); color: #fff; border-bottom-right-radius: 5px;
}
.ab-msg a { color: var(--accent-dark); font-weight: 600; }
.ab-msg-user a { color: #ffe39c; }
.ab-msg ul { margin: 6px 0 2px; padding-left: 18px; }
.ab-msg li { margin: 2px 0; }

.ab-typing { display: inline-flex; gap: 4px; align-items: center; }
.ab-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gray-400);
  animation: abBlink 1.2s infinite both;
}
.ab-typing span:nth-child(2) { animation-delay: .2s; }
.ab-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes abBlink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.ab-chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 8px; background: var(--blue-50); }
.ab-chip {
  background: #fff; border: 1px solid var(--blue-300); color: var(--navy-700);
  border-radius: 999px; padding: 7px 13px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.ab-chip:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

.ab-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--gray-200); }
.ab-chat-form textarea {
  flex: 1; resize: none; border: 1px solid var(--gray-300); border-radius: 12px;
  padding: 10px 12px; font: inherit; font-size: 0.93rem; line-height: 1.4; max-height: 110px;
  outline: none;
}
.ab-chat-form textarea:focus { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(70, 114, 184, 0.18); }
.ab-chat-send {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--navy-900);
  font-size: 1.1rem; font-weight: 700; transition: transform .12s ease;
}
.ab-chat-send:hover { transform: scale(1.06); }
.ab-chat-foot { font-size: 0.7rem; color: var(--gray-400); text-align: center; padding: 0 12px 10px; }

@media (max-width: 480px) {
  .ab-chat { right: 14px; bottom: 14px; }
  .ab-chat-panel { height: calc(100vh - 90px); }
}

/* ==========================================================================
   Hauptmenü: Produkte-Dropdown
   ========================================================================== */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-caret { font-size: 0.7em; transition: transform 0.2s; }
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 12px;
  min-width: 232px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none; flex-direction: column; gap: 2px;
  z-index: 110;
}
/* unsichtbare Brücke über die 12px-Lücke, damit der Hover nicht abreißt */
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 14px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }

.nav-dropdown-menu a {
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--blue-100); font-size: 0.92rem; font-weight: 500; white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--navy-700); color: var(--white); }
.nav-dropdown-menu a:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 4px; font-weight: 700; color: var(--white);
}

/* Mobil: Dropdown statisch ausklappen (im body.nav-open-Menü) */
@media (max-width: 720px) {
  .nav-dropdown { display: block; width: 100%; text-align: center; }
  .nav-dropdown::after { content: none; }
  .nav-dropdown-menu {
    position: static; display: flex; align-items: center; margin-top: 8px;
    background: transparent; border: none; box-shadow: none; padding: 4px 0;
  }
  .nav-dropdown-menu a:first-child { border-bottom: none; margin-bottom: 0; }
  .nav-caret { display: none; }
}

/* Demo-Video: Ton-an/aus-Schaltfläche (unter dem Video, keine native Steuerung) */
.demo-controls { text-align: center; margin-top: 18px; }
.demo-sound-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--navy-900);
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 179, 0, 0.35);
  transition: transform 0.15s, background 0.2s;
}
.demo-sound-btn:hover { transform: translateY(-2px); background: var(--accent-dark); }
.demo-sound-btn.is-on { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-md); }
.demo-sound-ico { font-size: 1.15rem; line-height: 1; }
@media (max-width: 480px) { .demo-sound-btn { font-size: 0.9rem; padding: 10px 18px; } }
