/* ============================================================
   PulsDesign – Werbeagentur Innsbruck | Hauptstylesheet
   Farbe: #9156f1 | Font: Inter
   ============================================================ */

:root {
  --primary:       #9156f1;
  --primary-dark:  #7a3fd4;
  --primary-light: #ede8fc;
  --primary-glow:  rgba(145, 86, 241, 0.15);
  --text-dark:     #111827;
  --text-mid:      #374151;
  --text-light:    #6b7280;
  --bg-white:      #ffffff;
  --bg-light:      #f9fafb;
  --bg-section:    #f3f4f6;
  --border:        #e5e7eb;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 40px rgba(0,0,0,.10);
  --shadow-primary:0 8px 30px rgba(145,86,241,.25);
  --transition:    0.25s cubic-bezier(0.4,0,0.2,1);
  --max-width:     1200px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* Typography */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-mid); line-height: 1.75; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* Section Labels */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { max-width: 580px; margin: 16px auto 0; font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(145,86,241,.35); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .875rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 44px; width: auto; }
.logo-fallback {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--text-mid);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-links a.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--primary-dark); color: #fff; }
.nav-links a.nav-support {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .2s, color .2s;
}
.nav-links a.nav-support:hover { background: var(--primary); color: #fff; }
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #faf8ff 0%, #f3f0ff 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(145,86,241,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(145,86,241,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 { margin-bottom: 24px; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 1.15rem; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--text-light); font-weight: 500; margin-top: 4px; }
.hero-visual { position: relative; }
.hero-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-card-badge::before { content: '●'; font-size: .5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-services-list { display: flex; flex-direction: column; gap: 12px; }
.hero-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-weight: 500;
  font-size: .9rem;
}
.hero-service-item .icon {
  width: 36px; height: 36px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}
.floating-badge.top-right { top: -20px; right: -20px; }
.floating-badge.bottom-left { bottom: -20px; left: -20px; color: var(--primary); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: scale(1.025);
  box-shadow: 0 12px 40px rgba(145,86,241,.15);
}
.service-icon {
  width: 60px; height: 60px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .95rem; }
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 20px;
}
.service-card .service-link::after { content: '→'; transition: var(--transition); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ============================================================
   REFERENCES
   ============================================================ */
.referenzen-section { background: var(--bg-light); }
.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.referenz-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.referenz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.referenz-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.referenz-image img { width: 100%; height: 100%; object-fit: cover; }
.referenz-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,.9);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}
.referenz-body { padding: 24px; }
.referenz-body h3 { margin-bottom: 8px; }
.referenz-body p { font-size: .9rem; }
.referenz-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: .875rem;
  font-weight: 600;
  margin-top: 14px;
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: transparent;
  color: var(--text-mid);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, #ede8fc, #d8caff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.blog-category {
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.blog-card-body h3 { margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--text-dark); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .875rem;
  margin-top: 14px;
}
.read-more::after { content: '→'; transition: var(--transition); }
.read-more:hover::after { transform: translateX(4px); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text span { display: block; font-size: .75rem; color: var(--text-light); font-weight: 500; }
.contact-item-text a, .contact-item-text strong { color: var(--text-dark); font-weight: 600; }
.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
  box-sizing: border-box;
  line-height: 1.5;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group.full { grid-column: 1 / -1; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] { width: auto; margin-top: 2px; accent-color: var(--primary); }
.form-check label { font-size: .875rem; color: var(--text-light); cursor: pointer; }
.form-success, .form-error {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}
.form-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.form-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-feature:hover { border-color: var(--primary-light); background: var(--primary-light); }
.why-feature-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-feature-text h4 { margin-bottom: 4px; }
.why-feature-text p { font-size: .9rem; }
.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-big-number {
  font-size: 10rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  position: absolute;
  user-select: none;
}
.why-cards-stack { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; width: 100%; }
.why-stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.why-stat-card .stat-icon { font-size: 1.8rem; }
.why-stat-card .stat-number { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.why-stat-card .stat-desc { font-size: .85rem; color: var(--text-light); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.cta-banner .btn-primary:hover { background: #f5f0ff; transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER – Modern Dark
   ============================================================ */
.site-footer {
  background: #0c1220;
  color: #94a3b8;
}
.footer-body {
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* Brand column */
.footer-brand-col .logo-fallback { color: var(--primary); font-size: 1.3rem; font-weight: 800; }
.footer-tagline {
  font-size: .875rem;
  margin-top: 14px;
  line-height: 1.75;
  max-width: 270px;
  color: #94a3b8;
}
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.fsoc {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  font-size: .82rem;
  transition: var(--transition);
  text-decoration: none;
}
.fsoc:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-trust-badges {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.ftb {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: .65rem;
  color: #94a3b8;
  line-height: 1.3;
}
.ftb i { color: var(--primary); font-size: .82rem; flex-shrink: 0; }

/* Links columns */
.footer-links-col h4 {
  color: #e2e8f0;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links-col a {
  color: #94a3b8;
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: 0;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links-col a:hover { color: #e2e8f0; padding-left: 6px; }

/* Contact column */
.footer-contact-col h4 {
  color: #e2e8f0;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.fci {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #94a3b8;
  font-size: .875rem;
  text-decoration: none;
  transition: color var(--transition);
}
.fci:hover { color: #e2e8f0; }
.fci-icon {
  width: 34px; height: 34px;
  background: rgba(145,86,241,.14);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: .8rem;
  flex-shrink: 0;
}
.fci-label {
  display: block;
  font-size: .65rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.fci-value { display: block; color: #cbd5e1; font-size: .86rem; line-height: 1.5; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.footer-cta-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* Bottom bar */
.footer-bar { padding: 18px 0; }
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: .81rem; color: #64748b; margin: 0; }
.footer-bar-links { display: flex; align-items: center; gap: 10px; font-size: .81rem; }
.footer-bar-links a { color: #64748b; transition: color var(--transition); }
.footer-bar-links a:hover { color: var(--primary); }
.fbar-sep { color: #334155; }
.footer-made { font-size: .78rem; color: #64748b; display: flex; align-items: center; gap: 2px; margin: 0; }

/* ============================================================
   ALERTS & MISC
   ============================================================ */
.alert { padding: 16px 20px; border-radius: var(--radius-md); margin-bottom: 24px; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-dark    { background: var(--text-dark); color: #fff; }

.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #faf8ff 0%, #f3f0ff 100%);
  text-align: center;
}
.page-hero p { max-width: 600px; margin: 16px auto 0; font-size: 1.1rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  justify-content: center;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.pagination a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-weight: 500;
  transition: var(--transition);
}
.pagination a:hover,
.pagination a.active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: #f1f5f9; min-height: 100vh; padding-top: 0; }
.admin-header {
  background: var(--text-dark);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-header .logo-fallback { color: var(--primary); font-size: 1.2rem; font-weight: 800; }
.admin-header-right { display: flex; align-items: center; gap: 16px; }
.admin-header-right a { color: #9ca3af; font-size: .875rem; }
.admin-header-right a:hover { color: var(--primary); }
.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar {
  width: 240px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 24px 0;
  flex-shrink: 0;
}
.admin-sidebar-title {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0 20px;
  margin-bottom: 8px;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-mid);
  font-weight: 500;
  font-size: .9rem;
  transition: var(--transition);
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.admin-main { flex: 1; padding: 32px; }
.admin-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.admin-page-title h1 { font-size: 1.5rem; }
.admin-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.admin-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-header h3 { font-size: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--bg-light);
  padding: 12px 16px;
  text-align: left;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-mid);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-light); }
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--border);
}
.admin-stat-card .label { font-size: .8rem; color: var(--text-light); font-weight: 500; }
.admin-stat-card .value { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-top: 4px; }
.admin-stat-card .trend { font-size: .8rem; color: #16a34a; margin-top: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr !important; gap: 48px; }
  .hero-visual-simple { max-width: 500px; justify-self: center !important; }
}
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}
@media (max-width: 768px) {
  .hero { padding: 120px 0 64px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .admin-sidebar { display: none; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .referenzen-grid, .blog-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-section { background: var(--bg-white); }
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.faq-question[aria-expanded="true"] {
  background: none;
  color: var(--primary);
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  border-top: none;
}
.faq-answer p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: .95rem;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   VISUAL ENHANCEMENTS – Animationen, Glassmorphism, Imagery
   ============================================================ */

/* --- Animated gradient background utility --- */
.animated-gradient-bg {
  background: linear-gradient(135deg, #9156f1 0%, #c084fc 40%, #60a5fa 70%, #9156f1 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Blob / Orb shapes --- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.75;
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, #9156f1 0%, rgba(145,86,241,0) 65%);
  top: -150px; right: -120px;
  animation-duration: 14s;
}
.blob-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #c084fc 0%, rgba(192,132,252,0) 65%);
  bottom: -80px; left: -80px;
  animation-duration: 11s;
  animation-delay: -4s;
}
.blob-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #60a5fa 0%, rgba(96,165,250,0) 65%);
  top: 35%; left: 28%;
  animation-duration: 16s;
  animation-delay: -7s;
  opacity: 0.55;
}
.blob-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f472b6 0%, rgba(244,114,182,0) 65%);
  top: 10%; left: 15%;
  animation-duration: 18s;
  animation-delay: -9s;
  opacity: 0.35;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25%       { transform: translate(50px,-35px) scale(1.08); }
  50%       { transform: translate(20px,40px) scale(1.03); }
  75%       { transform: translate(-40px,-15px) scale(0.95); }
}

/* --- Floating shapes (decorative) --- */
.shape-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(145,86,241,0.2);
  pointer-events: none;
  animation: ringPulse 4s ease-in-out infinite;
}
.shape-ring-1 { width:120px; height:120px; top:15%; right:10%; animation-delay:0s; }
.shape-ring-2 { width:60px; height:60px; bottom:20%; right:20%; animation-delay:-1.5s; }
.shape-ring-3 { width:200px; height:200px; top:60%; left:5%; animation-delay:-3s; opacity:0.4; }
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity:0.4; }
  50%     { transform: scale(1.15); opacity:0.7; }
}

.shape-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  animation: dotBounce 3s ease-in-out infinite;
}
.shape-dot-1 { width:8px; height:8px; top:25%; left:8%; animation-delay:0s; opacity:0.5; }
.shape-dot-2 { width:12px; height:12px; top:70%; right:12%; animation-delay:-1s; opacity:0.4; }
.shape-dot-3 { width:6px; height:6px; top:45%; left:45%; animation-delay:-2s; opacity:0.3; }
@keyframes dotBounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

/* --- Hero overhaul --- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0a0614;
}
.hero-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 25%, rgba(145,86,241,.55) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 15% 85%, rgba(96,165,250,.35) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(192,132,252,.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(244,114,182,.2) 0%, transparent 55%);
  animation: heroBgPulse 8s ease-in-out infinite;
  z-index: 0;
}
@keyframes heroBgPulse {
  0%,100% { opacity: 1; transform: scale(1) rotate(0deg); }
  33%     { opacity: 0.85; transform: scale(1.06) rotate(1deg); }
  66%     { opacity: 0.95; transform: scale(1.02) rotate(-1deg); }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .hero-text p { color: rgba(255,255,255,0.75); }
.hero .section-label { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.hero .hero-stats { border-top-color: rgba(255,255,255,0.1); }
.hero .stat-label { color: rgba(255,255,255,0.5); }
.hero .stat-number { color: #fff; }
.hero h1 span { background: linear-gradient(90deg, #c084fc, #9156f1, #60a5fa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* Particles canvas */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- Hero card glassmorphism --- */
.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.hero-card-badge {
  display: inline-block;
  background: linear-gradient(90deg,#9156f1,#c084fc);
  color:#fff;
  font-size:.75rem;
  font-weight:700;
  padding:4px 14px;
  border-radius:100px;
  margin-bottom:20px;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.hero-service-item {
  display:flex; align-items:center; gap:14px;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.85);
  font-size:.95rem;
  font-weight:500;
}
.hero-service-item:last-child { border-bottom:none; }
.hero-service-item .icon {
  width:36px; height:36px;
  background:rgba(145,86,241,.25);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.floating-badge.top-right { top: -20px; right: -10px; animation: badgeFloat1 5s ease-in-out infinite; }
.floating-badge.bottom-left { bottom: -20px; left: 10px; animation: badgeFloat2 4.5s ease-in-out infinite -1s; }
@keyframes badgeFloat1 {
  0%,100% { transform: translate(0,0) rotate(-2deg); }
  50%     { transform: translate(6px,-8px) rotate(2deg); }
}
@keyframes badgeFloat2 {
  0%,100% { transform: translate(0,0) rotate(1deg); }
  50%     { transform: translate(-6px,8px) rotate(-2deg); }
}

/* --- Glassmorphism service cards --- */
/* === Fully clickable card base === */
.card-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.card-clickable:hover { text-decoration: none; color: inherit; }

/* === Service Cards — modern redesign === */
.service-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(145,86,241,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: scale(1.025);
  box-shadow: 0 16px 48px rgba(145,86,241,.18);
  text-decoration: none;
  color: inherit;
}
.service-card-num {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(145,86,241,.35);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(145,86,241,.14), rgba(99,102,241,.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(145,86,241,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(145,86,241,.22);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p  { font-size: .92rem; color: var(--text-light); flex: 1; margin-bottom: 20px; }
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  transition: gap .25s ease;
}
.service-card:hover .service-arrow { gap: 10px; }

/* --- Why/stats visual section --- */
.why-visual { position: relative; }
.why-big-number {
  font-size: clamp(6rem,15vw,10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  position: absolute;
  top: -20px; left: 0;
  user-select: none;
  pointer-events: none;
}
.why-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.why-stat-card::after {
  content:'';
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background: linear-gradient(180deg, var(--primary), #c084fc);
  border-radius:4px 0 0 4px;
}
.why-stat-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.stat-icon { font-size:1.75rem; }

/* --- CTA Banner animated --- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6d28d9 0%, #9156f1 40%, #7c3aed 70%, #4f46e5 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}
.cta-banner::before {
  content:'';
  position:absolute;
  inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
.cta-banner::after {
  content:'';
  position:absolute;
  width:600px; height:600px;
  background:radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 60%);
  top:-200px; right:-100px;
  border-radius:50%;
  animation: ctaOrb 8s ease-in-out infinite;
}
@keyframes ctaOrb {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-50px,30px); }
}
.cta-banner h2 { color:#fff; font-size:clamp(1.8rem,4vw,3rem); margin-bottom:16px; }
.cta-banner p { color:rgba(255,255,255,.8); font-size:1.1rem; margin-bottom:36px; }

/* --- Page hero (subpages) animated --- */
.page-hero {
  background: linear-gradient(135deg, #0a0614 0%, #1a0a2e 50%, #0f1729 100%);
  position:relative;
  overflow:hidden;
  padding: 120px 0 80px;
  color:#fff;
}
.page-hero::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(145,86,241,.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(96,165,250,.15) 0%, transparent 55%);
  animation: heroBgPulse 12s ease-in-out infinite;
}
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { color:#fff; }
.page-hero p { color:rgba(255,255,255,.7); }
.page-hero .section-label { color:rgba(255,255,255,.6); border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.08); }
.page-hero .breadcrumb a { color:rgba(255,255,255,.5); }
.page-hero .breadcrumb span { color:rgba(255,255,255,.4); }
.page-hero .breadcrumb > span:last-child { color:rgba(255,255,255,.8); }

/* --- Blog card hover effect --- */
.blog-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover { transform:translateY(-6px); box-shadow:0 20px 48px rgba(145,86,241,.12); text-decoration:none; color:inherit; }
.blog-card-body h3 { color: var(--text-dark); transition: color .2s; }
.blog-card:hover .blog-card-body h3 { color: var(--primary); }
.blog-card-image {
  height:180px;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(96,165,250,.15) 100%);
  display:flex; align-items:center; justify-content:center;
  font-size:3rem;
  position:relative;
  overflow:hidden;
}
.blog-card-image img {
  width:100%; height:100%;
  object-fit:cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-image img { transform:scale(1.05); }
.blog-card-image::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.08) 100%);
}

/* --- Referenz card hover --- */
.referenz-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.referenz-card:hover { transform:translateY(-6px); box-shadow:0 20px 48px rgba(145,86,241,.12); text-decoration:none; color:inherit; }
.referenz-body h3 { color: var(--text-dark); transition: color .2s; }
.referenz-card:hover .referenz-body h3 { color: var(--primary); }
.referenz-image {
  height:200px;
  background: linear-gradient(135deg, var(--primary-light), rgba(96,165,250,.15));
  display:flex; align-items:center; justify-content:center;
  font-size:3rem;
  position:relative;
  overflow:hidden;
}
.referenz-image img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.referenz-card:hover .referenz-image img { transform:scale(1.06); }

/* --- Animated section divider --- */
.section-divider {
  width:100%; height:80px;
  position:relative;
  overflow:hidden;
}
.section-divider svg { position:absolute; bottom:0; width:100%; }

/* --- Counter number shimmer --- */
.stat-number {
  background: linear-gradient(90deg, var(--primary), #c084fc, var(--primary));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
}
@keyframes shimmerText {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* --- Scroll reveal (enhanced) --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal-delay-4 { transition-delay:.4s; }

/* --- Typed cursor blink --- */
.typed-cursor {
  display:inline-block;
  width:3px; height:1em;
  background:var(--primary);
  border-radius:2px;
  vertical-align:text-bottom;
  margin-left:2px;
  animation:cursorBlink 1s steps(1) infinite;
}
@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* --- Noise texture overlay on hero --- */
.hero-noise {
  position:absolute;
  inset:0;
  z-index:0;
  opacity:.03;
  pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* --- Gradient text utility --- */
.gradient-text {
  background: linear-gradient(90deg, #9156f1, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Team card (über-uns) --- */
.team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:28px; margin-top:48px; }
.team-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px 24px;
  text-align:center;
  transition: transform .3s, box-shadow .3s;
  position:relative;
  overflow:hidden;
}
.team-card::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--primary),#c084fc);
}
.team-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.team-avatar {
  width:80px; height:80px;
  border-radius:50%;
  margin:0 auto 16px;
  background:linear-gradient(135deg,var(--primary-light),rgba(96,165,250,.2));
  display:flex; align-items:center; justify-content:center;
  font-size:2rem;
  border:3px solid var(--primary-light);
}
.team-name { font-size:1.05rem; font-weight:700; color:var(--text-dark); margin-bottom:4px; }
.team-role { font-size:.85rem; color:var(--primary); font-weight:600; margin-bottom:12px; }
.team-bio { font-size:.88rem; color:var(--text-light); line-height:1.6; }

/* --- Image section for ueber-uns / leistungen --- */
.img-card {
  border-radius:var(--radius-lg);
  overflow:hidden;
  position:relative;
  box-shadow:var(--shadow-lg);
}
.img-card img { width:100%; height:100%; object-fit:cover; display:block; }
.img-card-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(10,6,20,.6) 0%, transparent 50%);
}

/* ============================================================
   HERO V2 – Cinematic Animations
   ============================================================ */

/* Aurora glow layers */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora-layer {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: auroraMove 14s ease-in-out infinite;
  filter: blur(80px);
}
.aurora-1 {
  width: 70vw; height: 70vw;
  top: -20%; left: -10%;
  background: radial-gradient(circle, rgba(145,86,241,.28) 0%, rgba(96,165,250,.12) 50%, transparent 75%);
  animation-duration: 18s;
  animation-delay: 0s;
}
.aurora-2 {
  width: 50vw; height: 50vw;
  top: 10%; right: -10%;
  background: radial-gradient(circle, rgba(192,132,252,.22) 0%, rgba(59,130,246,.1) 60%, transparent 80%);
  animation-duration: 14s;
  animation-delay: -5s;
  animation-direction: reverse;
}
.aurora-3 {
  width: 40vw; height: 40vw;
  bottom: -10%; left: 30%;
  background: radial-gradient(circle, rgba(99,102,241,.2) 0%, rgba(236,72,153,.08) 60%, transparent 80%);
  animation-duration: 20s;
  animation-delay: -9s;
}
@keyframes auroraMove {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  25%  { transform: translate(4%, 3%) scale(1.06) rotate(3deg); }
  50%  { transform: translate(-3%, 6%) scale(0.96) rotate(-2deg); }
  75%  { transform: translate(5%, -3%) scale(1.04) rotate(4deg); }
  100% { transform: translate(0,0) scale(1) rotate(0deg); }
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(145,86,241,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145,86,241,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 20s linear infinite;
  opacity: .6;
}
@keyframes gridPan {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* Hero intro label (replaces .section-label in hero) */
.hero-intro-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 22px;
  animation: heroFadeUp .8s cubic-bezier(.16,1,.3,1) both;
}
.hero-intro-dot { display: none; }

/* Staggered headline entrance */
.hero-h1-line1 {
  display: inline-block;
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .15s both;
  color: #fff;
}
.hero-typed-wrap {
  display: inline-block;
  animation: heroFadeUp 1s cubic-bezier(.16,1,.3,1) .3s both;
}
#typed-word {
  background: linear-gradient(90deg, #c084fc, #9156f1, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(145,86,241,.6));
  background-size: 200% auto;
  animation: gradientShimmer 4s linear infinite;
}
@keyframes gradientShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-sub {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .45s both;
}
.hero-actions {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .6s both;
}
.hero-stats {
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .75s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Glowing primary button */
.btn-glow {
  position: relative;
  overflow: hidden;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(145,86,241,.8), rgba(192,132,252,.4), rgba(96,165,250,.8));
  z-index: -1;
  filter: blur(12px);
  opacity: 0;
  transition: opacity .3s;
}
.btn-glow:hover::after { opacity: 1; }
.btn-outline-glow {
  border-color: rgba(255,255,255,.25) !important;
  color: rgba(255,255,255,.85) !important;
  transition: all .3s;
}
.btn-outline-glow:hover {
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(145,86,241,.35);
}

/* Sparkles */
.hero-sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: sparklePop 3s ease-in-out infinite;
}
.hero-sparkle::before, .hero-sparkle::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 1px; height: 10px;
  background: rgba(255,255,255,.7);
  transform-origin: center;
  transform: translate(-50%,-50%) rotate(0deg);
}
.hero-sparkle::after { transform: translate(-50%,-50%) rotate(90deg); }
.hero-sparkle-1 { top: 20%; left: 12%; animation-delay: 0s; width:8px; height:8px; }
.hero-sparkle-2 { top: 65%; left: 45%; animation-delay: -1.2s; width:5px; height:5px; }
.hero-sparkle-3 { top: 15%; right: 25%; animation-delay: -2.1s; }
.hero-sparkle-4 { bottom: 25%; right: 15%; animation-delay: -0.7s; width:7px; height:7px; }
@keyframes sparklePop {
  0%,100% { opacity: 0; transform: scale(0) rotate(0deg); }
  20%,80% { opacity: 1; transform: scale(1) rotate(20deg); }
  50%     { opacity: .8; transform: scale(1.2) rotate(45deg); }
}

/* Hero card glow ring */
.hero-card-glow-ring {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: conic-gradient(
    from var(--ring-angle, 0deg),
    transparent 0deg,
    rgba(145,86,241,.9) 60deg,
    rgba(192,132,252,.6) 120deg,
    transparent 180deg,
    rgba(96,165,250,.8) 240deg,
    transparent 360deg
  );
  animation: ringRotate 4s linear infinite;
  filter: blur(4px);
  z-index: 0;
  opacity: .7;
}
@property --ring-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes ringRotate {
  to { --ring-angle: 360deg; }
}
/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from 1deg, red, blue)) {
  .hero-card-glow-ring { display: none; }
}

/* Hero card enhanced */
.hero-card {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform .1s ease-out;
}
.hero-card-inner {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.15), 0 1px 0 rgba(0,0,0,.3);
}

/* Badge with animated pulse dot */
.badge-pulse {
  display: inline-block;
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: heroDotPulse 2s ease-in-out infinite;
}

/* Service item arrow (hidden by default, shown on hover) */
.hero-service-arrow {
  margin-left: auto;
  font-size: .7rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
.hero-service-item:hover .hero-service-arrow {
  opacity: 1;
  transform: translateX(0);
}
.hero-service-item {
  cursor: default;
  transition: background .2s, padding-left .2s;
  border-radius: 8px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.hero-service-item:hover {
  background: rgba(145,86,241,.12);
  padding-left: 14px;
}

/* Card footer */
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-card-footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(251,191,36,.1);
  border: 1px solid rgba(251,191,36,.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Hero visual entrance */
.hero-visual {
  animation: heroCardEntrance 1.1s cubic-bezier(.16,1,.3,1) .4s both;
}
@keyframes heroCardEntrance {
  from { opacity: 0; transform: translateX(50px) scale(.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: heroFadeUp .8s cubic-bezier(.16,1,.3,1) 1.2s both;
}
.hero-scroll-indicator span {
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0; }
  81%  { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Enhanced blob with goo filter */
.blobs-goo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Mouse cursor glow */
.hero-cursor-glow {
  position: fixed;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145,86,241,.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .05s ease;
  mix-blend-mode: screen;
}

/* Mobile: disable heavy effects */
@media (max-width: 768px) {
  .hero-scroll-indicator { display: none; }
  .hero-grid-overlay { opacity: .3; }
  .aurora-1, .aurora-2, .aurora-3 { filter: blur(40px); }
  .hero-card-glow-ring { display: none; }
  .hero-sparkle { display: none; }
}

/* Override old hero-card (v1) styles – card visual now lives in .hero-card-inner */
.hero-card {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}
/* Card badge in old CSS resets */
.hero-card > .hero-card-badge { display: none; }
/* Blobs-goo inherits blob positioning */
.blobs-goo .blob { position: absolute; }

/* ============================================================
   MEGA-MENU – Leistungen Dropdown
   ============================================================ */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 6px; }
.nav-arrow {
  font-size: .65rem;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
  margin-top: 1px;
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

/* ── MEGA MENU ─────────────────────────────────────────────────────────── */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 980px;
  background: #ffffff;
  border: 1px solid #e8e3f8;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.13), 0 8px 24px rgba(0,0,0,.07);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1), visibility .22s;
  z-index: 200;
  overflow: hidden;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  background: #fff;
  border-left: 1px solid #e8e3f8;
  border-top: 1px solid #e8e3f8;
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 0;
}
.mega-menu-col {
  padding: 28px 24px;
  border-right: 1px solid #f0edf9;
}
.mega-menu-col:last-of-type { border-right: none; }
.mega-menu-heading {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0edf9;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-menu-heading::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: background .16s, transform .16s;
  margin-bottom: 3px;
}
.mega-item:hover {
  background: #f7f4ff;
  transform: translateX(4px);
}
.mega-icon {
  width: 40px; height: 40px;
  background: #f3f0fb;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background .16s, color .16s, transform .16s;
}
.mega-item:hover .mega-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}
.mega-icon--accent { background: linear-gradient(135deg,#f3f0fb,#ede4ff); }
.mega-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mega-text strong { font-size: .9rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.mega-text span   { font-size: .76rem; color: var(--text-light); }
.mega-badge {
  font-size: .63rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 100px;
  margin-left: auto; flex-shrink: 0;
}
.mega-badge--popular { background: #fff3e0; color: #d97706; }
.mega-badge--new     { background: #f0fdf4; color: #16a34a; }

/* bottom trust bar */
.mega-trust-bar {
  grid-column: 1 / -1;
  border-top: 1px solid #f0edf9;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: #faf9ff;
}
.mega-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .76rem; color: var(--text-mid); font-weight: 500;
}

/* CTA column */
.mega-menu-cta {
  padding: 28px 24px;
  background: linear-gradient(160deg, #f7f4ff 0%, #fdf4ff 60%, #f0f7ff 100%);
  display: flex;
  flex-direction: column;
}
.mega-cta-eyebrow {
  font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.mega-cta-heading {
  font-size: 1.05rem; font-weight: 800; color: var(--text-dark);
  line-height: 1.3; margin-bottom: 8px;
}
.mega-cta-sub {
  font-size: .82rem; color: var(--text-mid);
  line-height: 1.55; margin-bottom: 18px; flex: 1;
}
.mega-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; background: var(--primary); color: #fff !important;
  border-radius: 10px; font-size: .88rem; font-weight: 700;
  text-decoration: none; transition: background .15s, transform .15s;
  margin-bottom: 20px;
}
.mega-cta-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.mega-trust-pills {
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid #e8e3f8; padding-top: 16px;
}
.mega-trust-pill {
  display: flex; align-items: center; gap: 9px;
  font-size: .78rem; color: var(--text-mid); font-weight: 500;
}
.mega-trust-pill-icon {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0;
}

/* Mobile: mega-menu collapses */
@media (max-width: 900px) {
  .mega-menu {
    position: static; transform: none; width: 100%;
    border-radius: 12px; box-shadow: none;
    border: 1px solid var(--border); display: none;
  }
  .nav-dropdown.open .mega-menu { display: block; }
  .mega-menu::before { display: none; }
  .mega-menu-inner { grid-template-columns: 1fr; }
  .mega-menu-cta, .mega-trust-bar { display: none; }
  .mega-menu-col { border-right: none; border-bottom: 1px solid var(--border); padding: 16px; }
  .mega-menu.mobile-open { opacity: 1; visibility: visible; pointer-events: all; }
}
/* ── END MEGA MENU ─────────────────────────────────────────────────────── */

/* ============================================================
   MODERN ELEMENTS – Trust Bar, Testimonials, Section Dividers
   ============================================================ */

/* Trust / Tech Logo Strip */
.trust-bar {
  padding: 20px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.trust-bar::before, .trust-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.trust-bar::before { left: 0; background: linear-gradient(to right, var(--bg-light), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(to left, var(--bg-light), transparent); }
.trust-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: trustScroll 30s linear infinite;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  opacity: .65;
  transition: opacity .2s;
}
.trust-item:hover { opacity: 1; }
.trust-item i { font-size: 1.1rem; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Testimonial cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; right: 20px;
  font-size: 8rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #fbbf24; font-size: .85rem; margin-bottom: 12px; }
.testimonial-text { font-size: .95rem; line-height: 1.7; color: var(--text-mid); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .92rem; }
.testimonial-role { font-size: .78rem; color: var(--text-light); }

/* YouTube section */
.video-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.15);
  aspect-ratio: 16 / 9;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a0a2e 0%, #0a0614 100%);
  color: rgba(255,255,255,.5);
  gap: 12px;
}
.video-placeholder i { font-size: 3rem; opacity: .3; }

/* Section wave divider */
.section-wave {
  line-height: 0;
  overflow: hidden;
}
.section-wave svg { display: block; width: 100%; }

/* ============================================================
   HERO V3 – Lighter, Cleaner
   ============================================================ */

/* Lighter hero background */
.hero {
  background: #12082a !important;
}
.hero::before {
  background:
    radial-gradient(ellipse 70% 55% at 65% 25%, rgba(145,86,241,.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 15% 75%, rgba(96,165,250,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(192,132,252,.08) 0%, transparent 65%) !important;
}
/* Quieter aurora */
.aurora-1 { opacity: .6; }
.aurora-2 { opacity: .5; }
.aurora-3 { opacity: .4; }
/* Less grid */
.hero-grid-overlay { display: none; }
/* Fewer sparkles */
.hero-sparkle { display: none; }

/* Simplified hero visual */
.hero-visual-simple {
  max-width: 500px;
  justify-self: end;
  width: 100%;
}
.hero-visual-simple .hero-card {
  animation: heroCardEntrance 1s cubic-bezier(.16,1,.3,1) .4s both;
}
.hero-visual-simple .hero-card-inner {
  padding: 22px 24px;
}

/* ── Hero Browser Mockup ─────────────────────── */
.hero-browser-mock {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.08);
  margin-bottom: 12px;
}
.hbm-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.hbm-dots { display: flex; gap: 5px; }
.hbm-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
}
.hbm-dots span:nth-child(1) { background: #f87171; }
.hbm-dots span:nth-child(2) { background: #fbbf24; }
.hbm-dots span:nth-child(3) { background: #22c55e; }
.hbm-address {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: .63rem;
  color: #64748b;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Inter', monospace;
}
.hbm-screen { padding: 12px 14px 14px; }
.hbm-top-bar {
  height: 32px;
  background: linear-gradient(135deg, #9156f1, #7c3aed);
  border-radius: 8px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.hbm-top-bar::after {
  content: '';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 60px; height: 12px;
  background: rgba(255,255,255,.25);
  border-radius: 4px;
}
.hbm-body { display: flex; flex-direction: column; gap: 6px; }
.hbm-heading { height: 9px; background: #0f172a; border-radius: 4px; width: 60%; }
.hbm-sub { height: 6px; background: #e2e8f0; border-radius: 4px; width: 82%; }
.hbm-cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.hbm-card {
  height: 44px;
  background: #f1f5f9;
  border-radius: 7px;
  border: 1px solid #e2e8f0;
}
.hbm-card-purple {
  background: linear-gradient(135deg, #ede8fc, #d8caff);
  border-color: #c4b5fd;
}
.hbm-score-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.hbm-score {
  flex: 1;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 5px 4px;
  text-align: center;
}
.hbm-snum { display: block; font-size: .75rem; font-weight: 800; color: #16a34a; line-height: 1; }
.hbm-slbl { display: block; font-size: .5rem; color: #64748b; margin-top: 2px; white-space: nowrap; }

/* ── Hero Card Toprow & Metrics ─────────────── */
.hero-card-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.hct-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .73rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 100px;
}
.hct-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .73rem;
  font-weight: 700;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: 100px;
}
.hero-card-eyebrow {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 12px;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.hero-metric { text-align: center; }
.hm-num {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hm-lbl {
  display: block;
  font-size: .6rem;
  color: #64748b;
  margin-top: 3px;
  font-weight: 500;
}

/* Service items now linkable */
.hero-service-item {
  text-decoration: none;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  margin: 0 -8px;
  font-size: .93rem;
  font-weight: 500;
  transition: background .2s, padding-left .2s;
  cursor: pointer;
}
.hero-service-item:hover {
  background: rgba(145,86,241,.14);
  padding-left: 16px;
}
.hero-service-item:last-child { border-bottom: none; }

/* CTA button inside card */
.hero-card-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.hero-card-cta:hover { opacity: .9; transform: translateY(-1px); }

/* Trust pills below card */
.hero-trust-pills {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 12px;
  border-radius: 100px;
}

/* (mega-menu width now set in mega-menu block above) */

/* ============================================================
   WARUM PULSDESIGN – Video-only centered version
   ============================================================ */
.why-video-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.why-video-section .section-header { margin-bottom: 40px; }
.why-video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.12), 0 0 0 1px var(--border);
  aspect-ratio: 16 / 9;
  max-width: 860px;
  margin: 0 auto;
  background: #0a0614;
}
.why-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.why-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,.4);
  background: linear-gradient(135deg, #1a0a2e, #0a0614);
}
.why-video-placeholder i { font-size: 3.5rem; opacity: .25; }
.why-video-placeholder p { font-size: .9rem; }

/* ============================================================
   HERO V4 – LIGHT THEME
   ============================================================ */
.hero {
  background: #ffffff !important;
  border-bottom: 1px solid #ede9ff;
}
/* Kill the dark radial overlay */
.hero::before {
  background:
    radial-gradient(ellipse 70% 55% at 65% 20%, rgba(145,86,241,.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(96,165,250,.06) 0%, transparent 60%) !important;
  animation: none !important;
}
/* Light aurora */
.aurora-1 { opacity: .18; }
.aurora-2 { opacity: .14; }
.aurora-3 { opacity: .10; }

/* Dark text in hero */
.hero h1, .hero-h1-line1 { color: #0f172a !important; }
.hero-sub { color: #475569 !important; }
.hero .hero-stats { border-top-color: #e2e8f0 !important; }
.hero .stat-label { color: #64748b !important; }
.hero .stat-number { color: #0f172a !important; }
.hero-intro-label {
  color: var(--primary) !important;
  border-color: rgba(145,86,241,.25) !important;
  background: rgba(145,86,241,.07) !important;
}
.hero-intro-dot {
  background: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(145,86,241,.2) !important;
}
@keyframes heroDotPulsLight {
  0%,100% { box-shadow: 0 0 0 3px rgba(145,86,241,.2); }
  50%     { box-shadow: 0 0 0 7px rgba(145,86,241,.08); }
}

/* Outline button on light hero */
.btn-outline-glow {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
}
.btn-outline-glow:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(145,86,241,.35) !important;
  transform: translateY(-2px);
}

/* Typed word keeps gradient shimmer but lighter */
#typed-word {
  filter: none !important;
}

/* Light hero card */
.hero-visual-simple .hero-card-inner {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04) !important;
  text-align: center;
}
.hero-visual-simple .hero-card-eyebrow { text-align: center; }
.hero-visual-simple .hero-service-item { text-align: left; }
.hero-visual-simple .hero-card-cta { justify-content: center; }
/* Dark service items */
.hero-visual-simple .hero-service-item {
  color: #1e293b !important;
  border-bottom-color: #f1f5f9 !important;
}
.hero-visual-simple .hero-service-item:hover {
  background: rgba(145,86,241,.06) !important;
}
.hero-visual-simple .hero-service-item .icon {
  background: #f1f5f9 !important;
  color: var(--primary) !important;
}
/* Trust pills on light */
.hero-trust-pill {
  color: #64748b !important;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
/* Scroll indicator on light */
.hero-scroll-indicator span { color: #94a3b8 !important; }
.scroll-mouse { border-color: #cbd5e1 !important; }
.scroll-wheel { background: #94a3b8 !important; }
/* Noise overlay off on light */
.hero-noise { display: none; }
/* Particles quieter */
#hero-particles { opacity: .65; }

/* (mega-menu overrides removed – defined in mega-menu block) */

/* ============================================================
   MOBILE FIXES – Subpage Grids, Hero, Nav
   ============================================================ */

/* Tablet: 3-col grids → 2-col */
@media (max-width: 900px) {
  .svc-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .plans-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .steps-grid-5 { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Mobile: main fixes */
@media (max-width: 768px) {
  /* Subpage 2-col content layout → 1-col */
  .sp-content-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .sp-content-grid .img-card { height: 240px !important; }

  /* Hero: center text on mobile, reduce gaps */
  .hero-content { gap: 40px !important; }
  .hero-stats { gap: 24px; padding-top: 24px; margin-top: 32px; }
  .stat-number { font-size: 1.6rem; }

  /* Hero visual full-width on mobile */
  .hero-visual-simple { max-width: 100% !important; justify-self: stretch !important; }
  .hero-trust-pills { justify-content: center; }

  /* Page hero (subpages) tighter padding */
  .page-hero { padding: 100px 0 56px !important; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem) !important; }

  /* Nav z-index + scrollable when long */
  .nav-links { z-index: 999; max-height: calc(100vh - 72px); overflow-y: auto; }

  /* CTA banner buttons stack */
  .cta-banner .btn { display: flex; justify-content: center; margin-left: auto; margin-right: auto; }

  /* 3-col service grids → 2-col on tablet, handled below */
  .svc-grid-3 { grid-template-columns: 1fr 1fr !important; }

  /* Why-video section padding */
  .why-video-section { padding: 56px 0 !important; }

  /* Footer mobile */
  .footer-main { grid-template-columns: 1fr !important; gap: 36px !important; }
  .footer-tagline { max-width: 100% !important; }
  .footer-bar-inner { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Testimonial minmax safe on very small screens */
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* Trust bar gap smaller */
  .trust-track { gap: 28px !important; }

  /* Leistungen.php anchor nav pills */
  .section-header { margin-bottom: 40px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .svc-grid-3, .plans-grid-3 { grid-template-columns: 1fr !important; }
  .steps-grid-5 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Hero actions stack on very small */
  .page-hero div[style*="display:flex"] { flex-wrap: wrap !important; }
  .page-hero .btn-lg { width: 100%; justify-content: center; }

  /* Smaller section padding */
  .section { padding: 48px 0 !important; }

  /* Hero card padding */
  .hero-visual-simple .hero-card-inner { padding: 18px !important; }
}

/* ============================================================
   MOBILE OVERLAY MENU
   ============================================================ */

/* Backdrop */
.mob-overlay-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  transition: opacity .3s ease;
}
.mob-overlay-backdrop.active { opacity: 1; }

/* Overlay panel slides in from right */
.mob-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  z-index: 1999;
  pointer-events: none;
  visibility: hidden;
}
.mob-overlay.active {
  pointer-events: all;
  visibility: visible;
}
.mob-overlay-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  box-shadow: -8px 0 60px rgba(0,0,0,.18);
}
.mob-overlay.active .mob-overlay-panel {
  transform: translateX(0);
}

/* Overlay header */
.mob-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.mob-overlay-logo { display: flex; align-items: center; }
.mob-overlay-logo img { filter: none; }
.mob-overlay-logo-fallback { color: #111827; font-weight: 800; font-size: 1.1rem; }
.mob-overlay-close {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.mob-overlay-close:hover { background: #ede8fc; color: var(--primary); }

/* Navigation links */
.mob-nav {
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mob-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 12px;
  color: #374151;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background .18s, color .18s;
  font-family: inherit;
}
.mob-nav-link i:first-child { width: 20px; text-align: center; color: var(--primary); font-size: .95rem; flex-shrink: 0; }
.mob-nav-link:hover, .mob-nav-link:focus { background: #f3f4f6; color: #111827; }
.mob-nav-active { color: var(--primary) !important; }

/* Accordion toggle */
.mob-nav-accordion-toggle {
  justify-content: space-between;
}
.mob-nav-accordion-toggle span { display: flex; align-items: center; gap: 14px; }
.mob-acc-arrow {
  font-size: .75rem;
  color: #9ca3af;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
  margin-left: auto;
  flex-shrink: 0;
}
.mob-nav-accordion.open .mob-acc-arrow { transform: rotate(180deg); }

/* Accordion content */
.mob-acc-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(.16,1,.3,1);
  padding: 0 8px;
}
.mob-acc-content.open { max-height: 600px; }

.mob-acc-section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 12px 8px 4px;
}
.mob-acc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 10px;
  color: #4b5563;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.mob-acc-item i { width: 18px; text-align: center; color: var(--primary); font-size: .85rem; flex-shrink: 0; }
.mob-acc-item:hover { background: #ede8fc; color: var(--primary-dark); }
.mob-acc-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  margin-top: 4px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid #e5e7eb;
  transition: gap .2s;
}
.mob-acc-all:hover { gap: 12px; }

/* Footer section */
.mob-overlay-footer {
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mob-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(145,86,241,.35);
}
.mob-cta-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.mob-cta-btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: none;
}
.mob-cta-btn--secondary:hover { background: var(--primary); color: #fff; }

.mob-anfahrt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.mob-anfahrt-card:hover { background: #ede8fc; border-color: var(--primary); }
.mob-anfahrt-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.mob-anfahrt-text { flex: 1; }
.mob-anfahrt-text strong { display: block; color: #111827; font-size: .92rem; font-weight: 700; }
.mob-anfahrt-text span  { font-size: .8rem; color: #6b7280; }
.mob-anfahrt-arrow { font-size: .75rem; color: #9ca3af; }

.mob-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mob-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: #6b7280;
  font-size: .78rem;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
  overflow: hidden;
}
.mob-contact-item i { color: var(--primary); flex-shrink: 0; }
.mob-contact-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mob-contact-item:hover { background: #ede8fc; color: var(--primary-dark); border-color: var(--primary); }

/* Body scroll lock when overlay open (position:fixed technique for iOS Safari) */
body.mob-overlay-open { overflow: hidden; width: 100%; }

/* Only show overlay on mobile */
@media (min-width: 901px) {
  .mob-overlay, .mob-overlay-backdrop { display: none !important; }
}
@media (max-width: 900px) {
  /* Hide old mobile nav since overlay replaces it */
  .nav-links { display: none !important; }
}

/* ── Cookie Banner ─────────────────────────────────────────── */
#cookie-banner {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9999;
    width: calc(100% - 40px);
    max-width: 620px;
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}
#cookie-banner.cookie-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
#cookie-banner.cookie-hide {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
    pointer-events: none;
}
.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(15, 10, 30, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(145, 86, 241, 0.25);
    border-radius: 50px;
    padding: 12px 16px 12px 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04);
}
.cookie-text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.cookie-icon {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    opacity: .9;
}
.cookie-text p {
    margin: 0;
    font-size: .82rem;
    color: rgba(255,255,255,.78);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: inherit;
}
.cookie-text a:hover { color: #c084fc; }
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-btn {
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    padding: 7px 16px;
    transition: all .2s ease;
    letter-spacing: .01em;
    white-space: nowrap;
}
.cookie-btn--primary {
    background: var(--primary);
    color: #fff;
}
.cookie-btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(145,86,241,.4);
}
.cookie-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.15);
}
.cookie-btn--ghost:hover {
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.35);
}
@media (max-width: 500px) {
    .cookie-inner {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px 18px;
        align-items: flex-start;
    }
    .cookie-text p { white-space: normal; }
    .cookie-actions { width: 100%; justify-content: flex-end; }
}
