
/* ═══════════════════════════════════════════════════════
   HOMEPAGE REDESIGN
═══════════════════════════════════════════════════════ */

.hp-section   { padding: 80px 0; }
.hp-center    { text-align: center; margin-bottom: 2.5rem; }
.hp-eyebrow   {
  display: inline-block; font-size: .75rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: #7c3aed; background: #f3e8ff; border-radius: 999px;
  padding: .25rem .85rem; margin-bottom: .75rem;
}
.hp-section-h2 { font-size: 2rem; font-weight: 900; line-height: 1.2; margin: 0 0 .75rem; color: var(--text-primary); }
.hp-section-h2 em { font-style: normal; color: #7c3aed; }
.hp-section-p  { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.hp-gradient   { background: linear-gradient(135deg,#7c3aed,#ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* HERO */
.hp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1e1b4b 0%, #312e81 40%, #4c1d95 70%, #6d28d9 100%);
  padding: 100px 0 80px; min-height: 85vh;
  display: flex; align-items: center;
}
.hp-hero-bubbles { position: absolute; inset: 0; pointer-events: none; }
.hp-hero-bubbles span {
  position: absolute; left: var(--x); top: var(--y);
  font-size: var(--s); animation: hpFloat 6s ease-in-out var(--d) infinite; opacity: .5;
}
@keyframes hpFloat {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-18px) rotate(5deg); }
}
.hp-hero-content { position: relative; z-index: 1; text-align: center; }
.hp-hero-tag {
  display: inline-block; background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9);
  border-radius: 999px; padding: .35rem 1rem; font-size: .8rem; font-weight: 600;
  margin-bottom: 1.25rem;
}
.hp-hero-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 1.25rem;
}
.hp-hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 580px;
  margin: 0 auto 2rem; line-height: 1.7;
}
.hp-hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hp-btn-main {
  background: linear-gradient(135deg,#f59e0b,#f97316); color: #fff;
  border: none; font-size: 1.05rem; padding: 14px 32px; border-radius: 14px;
  font-weight: 800; box-shadow: 0 8px 24px rgba(249,115,22,.4);
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.hp-btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(249,115,22,.5); }
.hp-btn-ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  font-size: 1rem; padding: 14px 28px; border-radius: 14px;
  font-weight: 600; backdrop-filter: blur(6px); cursor: pointer;
  transition: background .2s;
}
.hp-btn-ghost:hover { background: rgba(255,255,255,.2); }
.hp-hero-stats {
  display: inline-flex; align-items: center; gap: 1.5rem;
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 16px;
  padding: .75rem 2rem; flex-wrap: wrap; justify-content: center;
}
.hp-stat { text-align: center; }
.hp-stat-num   { display: block; font-size: 1.5rem; font-weight: 900; color: #fbbf24; }
.hp-stat-label { font-size: .72rem; color: rgba(255,255,255,.65); font-weight: 500; }
.hp-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* WAS IST ZAUBINI */
.hp-what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hp-what-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.hp-what-card  { border-radius: 16px; padding: 1.25rem; transition: transform .2s; }
.hp-what-card:hover { transform: translateY(-3px); }
.hp-wc-purple { background: #f3e8ff; }
.hp-wc-pink   { background: #fce7f3; }
.hp-wc-yellow { background: #fef3c7; }
.hp-wc-green  { background: #d1fae5; }
.hp-wc-icon   { font-size: 1.8rem; margin-bottom: .5rem; }
.hp-wc-title  { font-weight: 800; font-size: .9rem; margin-bottom: .25rem; color: var(--text-primary); }
.hp-wc-desc   { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; }

/* KI TIMELINE */
.hp-ai-section { background: linear-gradient(135deg,#0f172a,#1e1b4b); padding: 80px 0; color: #fff; }
.hp-ai-inner   { max-width: 680px; margin: 0 auto; text-align: center; }
.hp-ai-badge   {
  display: inline-block; background: rgba(124,58,237,.3); color: #c4b5fd;
  border: 1px solid rgba(124,58,237,.5); border-radius: 999px;
  padding: .3rem .9rem; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; margin-bottom: 1rem;
}
.hp-ai-h2 { font-size: 1.75rem; font-weight: 900; margin-bottom: 1rem; color: #fff; }
.hp-ai-p  { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.7; margin-bottom: 2rem; }
.hp-ai-timeline { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.hp-ai-step {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,255,255,.05); border-radius: 14px;
  padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,.08);
}
.hp-ai-dot { width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.hp-ai-dot-done   { background: #10b981; color: #fff; }
.hp-ai-dot-soon   { background: #f59e0b; color: #fff; }
.hp-ai-dot-future { background: rgba(255,255,255,.1); color: rgba(255,255,255,.4); border: 1.5px solid rgba(255,255,255,.2); }
.hp-ai-step-title { font-weight: 700; font-size: .9rem; color: #fff; }
.hp-ai-step-sub   { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: .15rem; }

/* HOW IT WORKS */
.hp-steps { display: flex; align-items: center; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hp-step {
  background: var(--bg-card); border-radius: 20px; border: 1px solid var(--border);
  padding: 2rem 1.5rem; text-align: center; flex: 1; min-width: 200px; max-width: 260px;
  position: relative;
}
.hp-step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg,#7c3aed,#ec4899);
  color: #fff; font-size: .8rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.hp-step-emoji { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.hp-step h3    { font-weight: 800; margin-bottom: .4rem; font-size: 1rem; }
.hp-step p     { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.hp-step-arrow { font-size: 1.5rem; color: var(--text-secondary); flex-shrink: 0; }

/* STYLES SHOWCASE */
.hp-styles-section { background: var(--bg-secondary); padding: 60px 0; }
.hp-styles-grid    { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hp-style-chip {
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 999px; padding: .6rem 1.4rem;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: all .2s; color: var(--text-primary);
}
.hp-style-chip:hover {
  border-color: #7c3aed; color: #7c3aed;
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124,58,237,.2);
}

/* FEATURES GRID */
.hp-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.hp-feat {
  background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border);
  padding: 1.5rem; transition: transform .2s, box-shadow .2s;
}
.hp-feat:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.hp-feat-icon { width: 3rem; height: 3rem; border-radius: 14px; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hp-feat h4   { font-weight: 800; margin-bottom: .4rem; font-size: .95rem; }
.hp-feat p    { font-size: .83rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* TESTIMONIALS */
.hp-testimonials { padding: 80px 0; background: var(--bg-secondary); }
.hp-testi-grid   { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.25rem; }
.hp-testi {
  background: var(--bg-card); border-radius: 18px; border: 1px solid var(--border); padding: 1.5rem;
}
.hp-testi-stars  { font-size: .9rem; margin-bottom: .75rem; }
.hp-testi p      { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.hp-testi-author { display: flex; align-items: center; gap: .75rem; }
.hp-testi-av     { width: 2.5rem; height: 2.5rem; border-radius: 50%; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp-testi strong { font-size: .9rem; }
.hp-testi small  { color: var(--text-secondary); font-size: .75rem; }

/* PRICING */
.hp-pricing { padding: 80px 0; }

/* FINAL CTA */
.hp-cta { background: linear-gradient(135deg,#7c3aed,#ec4899); padding: 80px 0; text-align: center; }
.hp-cta-inner   { max-width: 560px; margin: 0 auto; }
.hp-cta-emojis  { font-size: 1.8rem; margin-bottom: 1rem; letter-spacing: .15rem; }
.hp-cta h2      { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: .75rem; }
.hp-cta p       { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 1.75rem; }

/* MOBILE */
@media (max-width: 768px) {
  .hp-what-grid  { grid-template-columns: 1fr; }
  .hp-what-cards { grid-template-columns: 1fr 1fr; }
  .hp-steps      { flex-direction: column; align-items: stretch; }
  .hp-step       { max-width: 100%; }
  .hp-step-arrow { display: none; }
  .hp-section-h2 { font-size: 1.5rem; }
  .hp-hero-h1    { font-size: 1.9rem; }
  .hp-hero-stats { gap: 1rem; padding: .6rem 1.2rem; }
  .hp-stat-divider { display: none; }
}

/* ── Mobile: horizontales Scrollen für Testimonials & Preise ── */
@media (max-width: 640px) {
  /* Scroll-Container wrapper */
  .mobile-scroll-wrap {
    position: relative;
  }

  /* Container overflow freigeben für scroll-sections */
  .hp-testimonials .container,
  .hp-pricing .container {
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
  }
  .hp-testimonials .hp-center,
  .hp-pricing .hp-center,
  .hp-pricing > .container > p { padding: 0 20px; }

  /* Testimonials */
  .hp-testi-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 8px 16px 16px;
    scrollbar-width: none;
  }
  .hp-testi-grid::-webkit-scrollbar { display: none; }
  .hp-testi {
    min-width: 80vw;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  /* Pricing */
  .pricing-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 8px 16px 16px;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card {
    min-width: 80vw;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  .pricing-card.highlighted { transform: scale(1) !important; }

  /* Scroll dots indicator */
  .scroll-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }
  .scroll-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all .25s;
    cursor: pointer;
  }
  .scroll-dot.active {
    background: #7c3aed;
    width: 20px;
    border-radius: 999px;
  }

  /* Swipe hint arrow */
  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .75rem;
    color: #9ca3af;
    margin-bottom: 6px;
    font-weight: 600;
  }
  .swipe-hint-arrow {
    animation: swipeAnim 1.4s ease-in-out infinite;
  }
  @keyframes swipeAnim {
    0%,100% { transform: translateX(0); opacity: 1; }
    50%      { transform: translateX(6px); opacity: .5; }
  }
}

/* ÜBER UNS */
.au-block { margin-bottom: 2.5rem; }
.au-block h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: .75rem; color: var(--text-primary); }
.au-block p  { color: var(--text-secondary); line-height: 1.75; margin-bottom: .75rem; font-size: .97rem; }
.au-block p em { color: var(--text-primary); font-style: italic; font-weight: 600; }
.au-for-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1rem; }
.au-for-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; text-align: center; }
.au-for-icon { font-size: 2rem; margin-bottom: .5rem; }
.au-for-card strong { display: block; font-weight: 800; margin-bottom: .3rem; }
.au-for-card p { font-size: .82rem; color: var(--text-secondary); margin: 0; }
.au-cta { background: linear-gradient(135deg,#f3e8ff,#fce7f3); border-radius: 20px; padding: 2rem; text-align: center; margin-top: 1rem; }
.au-cta h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; }
@media (max-width: 600px) { .au-for-grid { grid-template-columns: 1fr; } }

/* USER DROPDOWN */
.nav-user-btn {
  display: flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .35rem .75rem; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--bg-card);
  font-size: .85rem; font-weight: 600; color: var(--text-primary);
  transition: border-color .2s; position: relative; user-select: none;
  max-width: 200px;
}
#userGreeting {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 110px;
}
.nav-user-btn:hover { border-color: var(--primary); }
.nav-user-avatar {
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: linear-gradient(135deg,#7c3aed,#ec4899);
  color: #fff; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.nav-user-chevron { font-size: .65rem; color: var(--text-secondary); }
.nav-user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.1);
  min-width: 190px; overflow: hidden; z-index: 9999;
}
.nav-user-dropdown a {
  display: block; padding: .7rem 1rem; font-size: .88rem;
  color: #111827 !important; text-decoration: none; transition: background .15s;
  white-space: nowrap;
}
.nav-user-dropdown a:hover { background: #f3f4f6 !important; }
#headerUser { position: relative; }

/* ABOUT US TEASER (homepage) */
.hp-about-teaser { background: linear-gradient(135deg,#ede9fe,#fce7f3); padding: 50px 0; }
.hp-about-teaser-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.hp-about-teaser-inner h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: .25rem; }
.hp-about-teaser-inner p  { color: var(--text-secondary); font-size: .9rem; margin: 0; }
.hp-btn-ghost-dark {
  background: transparent; border: 2px solid #7c3aed; color: #7c3aed;
  border-radius: 12px; padding: 12px 24px; font-weight: 700; font-size: .95rem;
  cursor: pointer; white-space: nowrap; transition: all .2s;
}
.hp-btn-ghost-dark:hover { background: #7c3aed; color: #fff; }

/* ABOUT US PAGE */
.au-hero {
  background: linear-gradient(135deg,#1e1b4b,#4c1d95);
  padding: 80px 0 60px; text-align: center;
}
.au-hero-inner { position: relative; z-index: 1; }
.au-hero-h1  { font-size: 2.2rem; font-weight: 900; color: #fff; margin: .5rem 0; }
.au-hero-sub { color: rgba(255,255,255,.7); font-size: 1rem; margin: 0; }

.au-row {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.au-row:last-of-type { border-bottom: none; }
.au-row-icon {
  font-size: 2.2rem; width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  background: var(--bg-secondary); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.au-row-content h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; }
.au-row-content p  { color: var(--text-secondary); line-height: 1.75; margin-bottom: .6rem; font-size: .95rem; }
.au-row-content p em { color: var(--text-primary); font-style: italic; font-weight: 600; }

.au-for-section { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.au-for-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.au-for-card    { background: var(--bg-secondary); border-radius: 16px; padding: 1.5rem; text-align: center; }
.au-for-icon    { font-size: 2.2rem; margin-bottom: .6rem; }
.au-for-card strong { display: block; font-weight: 800; margin-bottom: .3rem; font-size: .95rem; }
.au-for-card p  { font-size: .82rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.au-cta { background: linear-gradient(135deg,#f3e8ff,#fce7f3); border-radius: 24px; padding: 3rem 2rem; text-align: center; margin-top: 2.5rem; }
.au-cta-emojis { font-size: 2rem; margin-bottom: 1rem; letter-spacing: .2rem; }
.au-cta h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: .5rem; }
.au-cta p  { color: var(--text-secondary); margin-bottom: 1.5rem; }

@media (max-width: 600px) {
  .au-for-grid { grid-template-columns: 1fr; }
  .au-row { flex-direction: column; }
  .hp-about-teaser-inner { flex-direction: column; align-items: flex-start; }
  .au-hero-h1 { font-size: 1.6rem; }
}
