/* MarketingKiOldenburg – 90er-modern, schrill, KI-Agency */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-card: #1a1a24;
  --color-primary: #00f5d4;
  --color-primary-dim: #00c4a7;
  --color-accent: #ff006e;
  --color-accent-dim: #cc0058;
  --color-highlight: #fee440;
  --color-text: #e8e8ed;
  --color-text-muted: #8888a0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header – laut, klar */
header {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-primary);
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-highlight);
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

nav > a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
}

nav > a:hover {
  color: var(--color-primary);
}

/* Zielgruppen-Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-dropdown-trigger:hover {
  color: var(--color-primary);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0; /* Keine Lücke – Menü bleibt beim Bewegen zum Klicken sichtbar */
  min-width: 220px;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  padding: 0.75rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

/* Unsichtbare Brücke zwischen Trigger und Menü – Klicks funktionieren zuverlässig */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.5rem;
  margin-top: -0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-group {
  padding: 0 1rem 0.5rem;
}

.nav-dropdown-group:not(:last-child) {
  border-bottom: 1px solid rgba(0, 245, 212, 0.2);
  margin-bottom: 0.5rem;
}

.nav-dropdown-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.nav-dropdown-group a {
  display: block;
  padding: 0.35rem 0;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-dropdown-group a:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .nav-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 200px;
  }
}

/* Hero – Statement */
.hero {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 50%, #0d1b2a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1200');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 1rem;
  color: white;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 0 40px rgba(0, 245, 212, 0.3);
}

.hero .tagline {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.hero .tagline strong {
  color: var(--color-primary);
}

/* 90er American Agency – Hero Upgrade */
.hero-90s {
  position: relative;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
}

.hero-badges {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  min-height: 1.5rem;
}

.hero-badge {
  display: inline-block;
  position: relative;
  top: 0;
  font-size: 0.75rem;
}

.hero-badges .badge-90s {
  position: relative;
  top: -6px;
  right: auto;
}

.hero-badge-left {
  order: 1;
}

.hero-badge-right {
  order: 2;
}

.tagline-90s strong:last-of-type {
  color: var(--color-highlight);
  text-shadow: 0 0 20px rgba(254, 228, 64, 0.4);
}

.cta-90s {
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}

.cta-90s:hover {
  box-shadow: 0 0 40px rgba(254, 228, 64, 0.5);
}

.badge-accent {
  background: var(--color-accent);
  color: white;
  margin-left: 0.5rem;
}

.intro-90s .badge {
  display: inline-block;
  margin-right: 0.5rem;
}

.cta {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta:hover {
  background: var(--color-highlight);
  color: var(--color-bg);
}

.cta-secondary {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-secondary:hover {
  color: var(--color-highlight);
}

/* Intro & Focus – klare Blöcke */
.intro, .focus {
  padding: 3.5rem 0;
}

.intro {
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 245, 212, 0.2);
}

.intro h2, .focus h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  color: white;
}

.intro p, .focus p {
  color: var(--color-text-muted);
  max-width: 42em;
  font-size: 1.05rem;
}

.focus-examples {
  margin-top: 1rem;
}

.intro .badge {
  display: inline-block;
  background: rgba(0, 245, 212, 0.15);
  color: var(--color-primary);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Page Hero (Unterseiten – Grafik im Stil der Startseite) */
.page-hero {
  position: relative;
  padding: 3.5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 60%, #0d1b2a 100%);
  overflow: hidden;
}

.page-hero-90s .hero-scanline {
  z-index: 2;
}

.page-hero .hero-badge {
  margin-bottom: 0.75rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--page-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  letter-spacing: 0.03em;
  color: white;
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  margin-bottom: 0;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

/* Page Head (innere Seiten, wenn kein Page-Hero) */
.page-head {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid rgba(0, 245, 212, 0.2);
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.03em;
  color: white;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.lead a {
  color: var(--color-primary);
}

/* Service Cards – punchy */
.services {
  padding: 2rem 0 3rem;
}

.service-card {
  background: var(--color-card);
  padding: 1.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--color-primary);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* CTA Section */
.cta-section {
  padding: 2.5rem 0 3rem;
  text-align: center;
  background: var(--color-surface);
}

.cta-section p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-list {
  padding: 2rem 0 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 245, 212, 0.15);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.faq-item a {
  color: var(--color-primary);
}

/* So startest du – 3 Wege */
.start-ways {
  padding: 3rem 0;
  background: var(--color-surface);
}

.start-ways h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
}

.start-ways-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .start-ways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .start-ways-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.start-way-card {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--color-primary);
}

.start-way-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.start-way-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.start-way-card .cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Mit welchen KIs wir arbeiten */
.ki-stack {
  padding: 3rem 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.ki-stack h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  color: white;
  text-align: center;
}

.ki-stack p.ki-stack-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36em;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.ki-stack-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .ki-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.ki-stack-item {
  background: var(--color-card);
  padding: 1.25rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
}

.ki-stack-item strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.ki-stack-item span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Was wir nicht machen */
.no-list {
  padding: 3rem 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.no-list h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  color: white;
  text-align: center;
}

.no-list p.no-list-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 32em;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.no-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.no-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.no-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Unser Versprechen */
.versprechen-section {
  padding: 3rem 0;
  background: rgba(0, 245, 212, 0.05);
  border-top: 1px solid rgba(0, 245, 212, 0.2);
}

.versprechen-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.versprechen-section .versprechen-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 32em;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.versprechen-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.versprechen-section li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.versprechen-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* KI live erleben – Demo */
.demo-section {
  padding: 3.5rem 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.demo-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.demo-section .demo-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36em;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.demo-form-wrap {
  max-width: 24rem;
  margin: 0 auto 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.demo-form-wrap input {
  flex: 1;
  min-width: 140px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--color-card);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

.demo-form-wrap input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.demo-result {
  max-width: 28rem;
  margin: 1rem auto 0;
  padding: 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.demo-result.loading {
  color: var(--color-text-muted);
}

.demo-result.success {
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.3);
  color: var(--color-text);
}

.demo-result.error {
  color: var(--color-accent);
}

.demo-cta {
  text-align: center;
  margin-top: 1.25rem;
}

.hashtag-widget {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(0, 245, 212, 0.3);
}

.hashtag-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.hashtag-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.hashtag-form input {
  flex: 1;
  min-width: 120px;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--color-card);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
}

.cta-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.hashtag-result {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  word-break: break-word;
}

.hashtag-result.success {
  color: var(--color-primary);
}

/* Prozess in 3 Schritten */
.process-section {
  padding: 3rem 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.process-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
}

.process-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

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

.process-step {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid var(--color-primary);
}

.process-step .step-num {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  background: var(--color-primary);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.process-step p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Referenzen / Erste Erfolge */
.refs-section {
  padding: 3rem 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.refs-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.refs-section .refs-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 32em;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.refs-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

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

.ref-card {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
}

.ref-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.ref-card span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.refs-section-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.refs-section-footer a {
  color: var(--color-primary);
  text-decoration: none;
}

.refs-section-footer a:hover {
  text-decoration: underline;
}

/* Beispielkampagne – Kino-Spot / Video */
.beispielkampagne-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(10, 14, 18, 0.97) 100%);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.beispielkampagne-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.beispielkampagne-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 40em;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.beispielkampagne-video-wrap {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 212, 0.2);
}

.beispielkampagne-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.08) 0%, rgba(10, 14, 18, 0.95) 100%);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.beispielkampagne-placeholder-label {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.beispielkampagne-placeholder-desc {
  font-size: 0.85rem;
  opacity: 0.9;
}

.beispielkampagne-placeholder-hint {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.beispielkampagne-cta {
  text-align: center;
  margin: 0;
}

/* Sticky CTA-Leiste */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 2px solid var(--color-primary);
  padding: 0.75rem 1rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-bar p strong {
  color: var(--color-highlight);
}

.cta-bar p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-bar .cta {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

body.has-cta-bar {
  padding-bottom: calc(4rem + env(safe-area-inset-bottom));
}

/* KI-Badge im Footer */
.ki-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.ki-badge strong {
  color: var(--color-primary);
}

/* Fail-Safe-Versprechen */
.promise-section {
  padding: 3rem 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.promise-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.promise-section p {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36em;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.5;
}

.promise-section .promise-highlight {
  color: var(--color-primary);
  font-weight: 700;
}

/* Reverse-Briefing */
.reverse-section {
  padding: 3rem 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.reverse-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.reverse-section p {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36em;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.5;
}

/* Was-wäre-wenn Generator */
.szenarien-section {
  padding: 3rem 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.szenarien-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.szenarien-section .szenarien-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36em;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.szenarien-form-wrap {
  max-width: 28rem;
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.szenarien-form-wrap input,
.szenarien-form-wrap select {
  flex: 1;
  min-width: 120px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--color-card);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

.szenarien-form-wrap select {
  cursor: pointer;
}

.szenarien-form-wrap input:focus,
.szenarien-form-wrap select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.szenarien-result {
  max-width: 32rem;
  margin: 1rem auto 0;
  padding: 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
  text-align: left;
}

.szenarien-result.success {
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.3);
  color: var(--color-text);
}

.szenarien-result.error {
  color: var(--color-accent);
}

/* Newsletter */
.newsletter-section {
  padding: 2rem 0;
  background: var(--color-card);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.newsletter-section .container {
  max-width: 24rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-section h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.newsletter-section p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--color-surface);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.newsletter-form .status {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.newsletter-form .status.success { color: var(--color-primary); }
.newsletter-form .status.error { color: var(--color-accent); }

/* KI-Check */
.ki-check-section {
  padding: 3rem 0;
  background: var(--color-bg);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.ki-check-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: white;
  text-align: center;
}

.ki-check-lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36em;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.ki-check-form {
  max-width: 28rem;
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ki-check-form select,
.ki-check-form input {
  padding: 0.7rem 1rem;
  border: 2px solid var(--color-card);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

.ki-check-form select { min-width: 120px; }
.ki-check-form input { flex: 1; min-width: 140px; }

.ki-check-form input:focus,
.ki-check-form select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.ki-check-result {
  max-width: 32rem;
  margin: 1rem auto 0;
  padding: 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.ki-check-result.success {
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

.ki-check-result.error {
  color: var(--color-accent);
}

/* Zielgruppen: Region, Target-Cards, Direktvermarktung */
.region-section,
.direktvermarktung-section,
.schule-uni-section {
  padding: 3rem 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.region-section h2,
.direktvermarktung-section h2,
.schule-uni-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  color: white;
}

.region-section p,
.direktvermarktung-section p,
.schule-uni-section p {
  color: var(--color-text-muted);
  max-width: 42em;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.target-grid {
  padding: 3rem 0;
  background: var(--color-bg);
}

.target-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  color: white;
  text-align: center;
}

.target-grid .section-badge {
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.target-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .target-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .target-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.target-card {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--color-primary);
  display: flex;
  flex-direction: column;
}

.target-badge {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.target-card h3 {
  font-size: 1.15rem;
  color: white;
  margin: 0 0 0.75rem;
}

.target-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 0.5rem;
}

.target-ideen-link {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.target-ideen-link a {
  color: var(--color-primary);
  text-decoration: none;
}

.target-ideen-link a:hover {
  text-decoration: underline;
}

.target-card {
  position: relative;
}

.target-card-highlight {
  border-top-width: 5px;
  box-shadow: 0 0 0 2px rgba(0, 245, 212, 0.25), 0 4px 12px rgba(0, 245, 212, 0.1);
}

.target-card .cta {
  margin-top: auto;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Analytics-Dashboard */
.analytics-dashboard {
  padding: 3rem 0 4rem;
  background: var(--color-bg);
}

.analytics-form {
  max-width: 640px;
  margin: 0 auto 2rem;
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 212, 0.15);
}

.analytics-form-row {
  margin-bottom: 1rem;
}

.analytics-form-row label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--color-text-muted);
}

.analytics-form-row input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #05070b;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
}

.analytics-form-row-inline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .analytics-form-row-inline {
    grid-template-columns: repeat(2, 1fr);
  }
}

.analytics-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.analytics-hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.analytics-error {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #ff6b81;
}

.analytics-summary {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.analytics-grid {
  display: grid;
  gap: 1.5rem;
}

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

.analytics-card {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 212, 0.15);
}

.analytics-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: white;
}

.analytics-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.analytics-card th,
.analytics-card td {
  padding: 0.25rem 0.3rem;
  text-align: left;
}

.analytics-card th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.analytics-card tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.analytics-raw-wrap {
  margin-top: 2rem;
}

.analytics-raw-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.analytics-raw {
  max-height: 260px;
  overflow: auto;
  background: #05070b;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: pre;
}

/* 90er-Badges – American Agency Style */
.badge-90s {
  position: absolute;
  top: -6px;
  right: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-bg);
  background: var(--color-highlight);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  animation: badge-pulse 2s ease-in-out infinite;
}

.section-badge {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
  top: 0;
  right: auto;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

/* Interaktive Widgets pro Zielgruppe */
.target-interactive {
  margin: 1rem 0;
}

.btn-try {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.btn-try:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.target-widget {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}

.target-widget input {
  flex: 1;
  min-width: 120px;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--color-card);
  border-radius: 4px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.9rem;
}

.target-widget input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.target-result {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 4px;
}

.target-result.loading {
  color: var(--color-text-muted);
}

.target-result.success {
  background: rgba(0, 245, 212, 0.15);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: var(--color-text);
}

.direkt-interactive {
  margin: 1.5rem 0;
}

.btn-try-block {
  max-width: 24rem;
}

.target-widget-block {
  max-width: 24rem;
}

.konzepte-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2rem 0 0.75rem;
  color: var(--color-primary);
}

.konzepte-list {
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 50em;
}

/* Ideen-Seite */
.ideen-overview {
  padding: 2rem 0;
  background: var(--color-bg);
}

.ideen-overview h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: white;
}

.ideen-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}

.ideen-card {
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--color-primary);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ideen-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 245, 212, 0.15);
}

.ideen-count {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.ideen-card h3 {
  font-size: 1.2rem;
  color: white;
  margin: 0 0 0.5rem;
}

.ideen-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.ideen-detail {
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 245, 212, 0.15);
}

.ideen-detail:nth-child(even) {
  background: var(--color-surface);
}

.ideen-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.ideen-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ideen-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.ideen-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.ideen-list li strong {
  color: var(--color-text);
}

/* About */
.about-content .container {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .about-content .container {
    grid-template-columns: 1fr 280px;
  }
}

.about-text h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 700;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid rgba(0, 245, 212, 0.3);
}

.about-image .credit {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Legal */
.legal {
  padding: 0 0 3rem;
}

.legal p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.legal a {
  color: var(--color-primary);
}

/* Contact Form */
.contact-form-section {
  padding: 0 0 3rem;
}

.contact-form {
  max-width: 28rem;
  width: 100%;
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--color-card);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-surface);
  color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  margin-top: 1.25rem;
}

.form-hint {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.form-hint a {
  color: var(--color-primary);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--color-primary);
}

.form-status.error {
  color: var(--color-accent);
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 2px solid rgba(0, 245, 212, 0.2);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

footer .container {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

footer a {
  color: var(--color-primary);
  text-decoration: none;
}

footer a:hover {
  color: var(--color-highlight);
}

.footer-cookie-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0.25rem 0 0;
}

.footer-cookie-hint a {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-cookie-hint a:hover {
  color: var(--color-highlight);
}

/* ---- Cookie-Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 2px solid var(--color-primary);
  padding: 1rem 1.5rem;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
  flex: 1;
  min-width: 200px;
}

.cookie-banner-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--color-highlight);
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  border: 2px solid transparent;
}

.cookie-banner-btn--primary {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

.cookie-banner-btn--primary:hover {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: var(--color-bg);
}

.cookie-banner-btn--secondary {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-text-muted);
}

.cookie-banner-btn--secondary:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-buttons {
    justify-content: flex-end;
  }
}

/* ---- Chatbot Widget ---- */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  font-family: var(--font-sans);
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 245, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 245, 212, 0.5);
}

.chat-toggle.pulse .chat-toggle-icon {
  animation: chat-pulse 1.5s ease-in-out infinite;
}

@keyframes chat-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite both;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.escalation-btn-wrap {
  margin-top: 0.5rem;
}

.escalation-btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}

.escalation-btn:hover {
  background: rgba(0, 245, 212, 0.15);
}

.chat-msg.escalation {
  border-left: 3px solid var(--color-highlight);
}

.chat-panel {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 480px;
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.open {
  display: flex;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: var(--color-card);
  border-bottom: 1px solid rgba(0, 245, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}

.chat-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.25rem;
}

.chat-close:hover {
  color: white;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--color-card);
  border: 1px solid rgba(0, 245, 212, 0.2);
  color: var(--color-text);
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--color-primary);
  color: var(--color-bg);
}

.chat-msg.typing {
  opacity: 0.8;
}

.chat-input-wrap {
  padding: 1rem;
  border-top: 1px solid rgba(0, 245, 212, 0.2);
  background: var(--color-card);
}

.chat-input-form {
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 2px solid var(--color-card);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.chat-send {
  padding: 0.65rem 1rem;
  background: var(--color-primary);
  color: var(--color-bg);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.chat-send:hover {
  background: var(--color-highlight);
  color: var(--color-bg);
}

.chat-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobil: Chat als nutzbare Bottom-Sheet (Pixel 7, kleine Smartphones) */
@media (max-width: 480px) {
  .chat-widget {
    bottom: 0.75rem;
    right: 0.75rem;
    left: auto;
  }

  .chat-toggle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    font-size: 1.4rem;
    box-shadow: 0 2px 12px rgba(0, 245, 212, 0.5);
  }

  .chat-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: none;
    height: min(85vh, 85dvh);
    min-height: 320px;
    border-radius: 16px 16px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  }

  .chat-header {
    padding: 1rem 1rem 1rem 1.25rem;
    min-height: 52px;
  }

  .chat-header h3 {
    font-size: 1rem;
  }

  .chat-close {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
  }

  .chat-messages {
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }

  .chat-msg {
    max-width: 90%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .chat-input-wrap {
    padding: 0.75rem 1rem 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .chat-input-form {
    gap: 0.5rem;
  }

  .chat-input {
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 16px; /* verhindert iOS-Zoom beim Fokus */
  }

  .chat-send {
    min-width: 52px;
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

/* ============================================
   Mobile & Foldable – responsive für alle Geräte
   Breakpoints: 280px (klappbar zu), 360px, 480px, 600px (klappbar auf), 768px
   ============================================ */

/* Safe Area – Notch, Dynamic Island, Klapphandy-Falten */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

header {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.cta-bar {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.chat-widget {
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
}

.chat-panel {
  right: max(0, env(safe-area-inset-right));
}

/* 768px – Tablet / Klapphandy aufgeklappt (Landscape) */
@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .page-hero {
    padding: 2.5rem 0;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .intro, .focus {
    padding: 2.5rem 0;
  }

  .intro h2, .focus h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .cta {
    padding: 0.85rem 1.5rem;
    min-height: 44px; /* Touch-Target */
  }

  .cta-bar {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    text-align: center;
  }

  .cta-bar p {
    margin: 0;
    width: 100%;
  }

  footer .container {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    text-align: center;
  }
}

/* 600px – Klapphandy aufgeklappt (z. B. Fold, Magic V – Portrait) */
@media (max-width: 600px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.35rem;
    text-align: center;
  }

  nav {
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  nav > a {
    font-size: 0.9rem;
  }

  .nav-dropdown-trigger {
    font-size: 0.9rem;
  }

  .nav-dropdown-menu {
    min-width: min(220px, calc(100vw - 2rem));
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.15;
  }

  .hero .tagline {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .ki-stack-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .demo-form-wrap,
  .szenarien-form-wrap,
  .hashtag-form {
    flex-direction: column;
  }

  .demo-form-wrap input,
  .szenarien-form-wrap input,
  .hashtag-form input {
    width: 100%;
  }

  .target-cards {
    grid-template-columns: 1fr;
  }

  .target-card {
    padding: 1.25rem;
  }
}

/* 480px – Standard-Smartphone */
@media (max-width: 480px) {
  .container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  nav {
    gap: 0.4rem 0.75rem;
  }

  nav > a {
    font-size: 0.85rem;
  }

  .nav-dropdown-trigger {
    font-size: 0.85rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }

  .hero .tagline {
    font-size: 0.9rem;
  }

  .hero .tagline strong {
    display: inline;
  }

  .page-hero {
    padding: 2rem 0;
  }

  .page-hero h1 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }

  .page-hero .lead {
    font-size: 0.9rem;
  }

  .intro h2, .focus h2,
  .no-list h2, .versprechen-section h2 {
    font-size: clamp(1.35rem, 4vw, 1.8rem);
  }

  .intro p, .focus p {
    font-size: 0.95rem;
  }

  .no-list li, .versprechen-section li {
    font-size: 0.9rem;
  }

  .cta {
    padding: 0.8rem 1.25rem;
    font-size: 0.85rem;
  }

  .btn-try, .cta-small {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }

  .chat-toggle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
}

/* 360px – Schmale Smartphones / Klapphandy zugeklappt (z. B. Fold Cover) */
@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  nav > a {
    font-size: 0.8rem;
  }

  .nav-dropdown-trigger {
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .hero .tagline {
    font-size: 0.85rem;
  }

  .page-hero h1 {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

  .target-card h3 {
    font-size: 1.05rem;
  }

  .target-card p {
    font-size: 0.9rem;
  }
}

/* 280px – Sehr schmal (Klapphandy Cover-Display, kleine Geräte) */
@media (max-width: 280px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .logo {
    font-size: 1rem;
  }

  nav {
    gap: 0.3rem 0.5rem;
  }

  nav > a {
    font-size: 0.75rem;
  }

  .nav-dropdown-trigger {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 1.15rem;
  }

  .hero .tagline {
    font-size: 0.8rem;
  }

  .cta {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }
}

/* Klapphandy aufgeklappt – 600–720px (quadratisch/tablet-artig) */
@media (min-width: 600px) and (max-width: 720px) {
  .target-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .ki-stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
