/* ==========================================================================
   PIAdental - Globale Stylesheet
   ========================================================================== */

/* ── BASIS & VARIABLEN ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark: #18171e;
  --light: #e6f1f9;
  --purple: #b348d1;
  --purple-light: rgba(179,72,209,0.10);
  --purple-mid: rgba(179,72,209,0.18);
  --border: #e2e8f0;
  --muted: #8b97a8;
  --text: #374151;
}

/* ── ANTI-WACKEL-FIX FÜR MOBILE ── */
html { 
  scroll-behavior: smooth; 
  overflow-x: hidden; 
  width: 100vw; 
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
  min-height: 100vh; 
  display: flex; 
  flex-direction: column; 
  background: #fafbfc; 
  color: var(--text); 
  overflow-x: hidden; /* Verhindert seitliches Schwabbeln */
  width: 100%;
  position: relative;
}

main { flex: 1; overflow-x: hidden; }
a { text-decoration: none; }

/* ── ANIMATIONEN ── */
.fade { opacity: 0; transform: translateY(30px); transition: opacity 0.75s cubic-bezier(.4,0,.2,1), transform 0.75s cubic-bezier(.4,0,.2,1); }
.fade.visible { opacity: 1; transform: translateY(0); }
.fade-d1 { transition-delay: 80ms; } 
.fade-d2 { transition-delay: 160ms; } 
.fade-d3 { transition-delay: 240ms; }
.fade-d4 { transition-delay: 320ms; }
.fade-d5 { transition-delay: 400ms; }

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
@keyframes fadeInRight { 
  from { opacity: 0; transform: translateX(20px); } 
  to { opacity: 1; transform: translateX(0); } 
}

/* ── TYPOGRAFIE & TAGS ── */
.tag { 
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; 
  letter-spacing: 0.07em; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; 
  margin-bottom: 20px; background: var(--purple-light); color: var(--purple); 
  border: 1px solid rgba(179,72,209,0.22); 
}
.purple-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(179,72,209,0.35), transparent);
  margin: 0;
}


/* ── BUTTONS ── */
.btn { 
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; 
  border-radius: 50px; cursor: pointer; letter-spacing: -0.01em; font-family: inherit; 
  white-space: nowrap; transition: all 0.22s cubic-bezier(.4,0,.2,1); border: 2px solid transparent; text-decoration: none;
}
.btn-sm  { padding: 11px 26px; font-size: 13px; } 
.btn-md  { padding: 14px 34px; font-size: 15px; } 
.btn-lg  { padding: 18px 46px; font-size: 16px; }

.btn-primary  { background: var(--purple); color: #fff; border-color: var(--purple); } 
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(179,72,209,0.38); }
.btn-outline  { background: transparent; color: var(--purple); border-color: var(--purple); } 
.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(24,23,30,0.13); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); } 
.btn-outline-dark:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(24,23,30,0.13); }
.btn-ghost { background: rgba(230,241,249,0.10); color: #fff; border-color: rgba(230,241,249,0.22); } 
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(24,23,30,0.13); }
.btn-white { background: #fff; color: var(--purple); border-color: #fff; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,0.2); }
.btn-full { width: 100%; }

/* ── FORMS & WIZARD MODAL ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.form-control { 
  width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 16px; 
  font-size: 15px; color: var(--text); resize: vertical; outline: none; font-family: inherit; 
  box-sizing: border-box; transition: all 0.2s; background: #fafbfc; line-height: 1.6; 
}
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(179,72,209,0.1); }
textarea.form-control { min-height: 120px; }

.modal-overlay { 
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(24, 23, 30, 0.6); 
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; 
  justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; 
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { 
  background: #fff; width: 100%; max-width: 640px; border-radius: 24px; 
  box-shadow: 0 24px 64px rgba(0,0,0,0.2); overflow: hidden; transform: translateY(30px) scale(0.95); 
  transition: transform 0.4s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; 
  max-height: 90vh; margin: 20px; 
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.progress-container { height: 6px; background: var(--light); width: 100%; }
.progress-bar { height: 100%; background: var(--purple); width: 0%; transition: width 0.4s ease; }
.modal-header { padding: 24px 32px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-weight: 800; font-size: 16px; color: var(--dark); }
.modal-close { background: none; border: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; transition: color 0.2s; padding: 0; }
.modal-close:hover { color: var(--dark); }
.modal-body { padding: 40px 32px; overflow-y: auto; flex: 1; min-height: 320px; }
.step-container { display: none; animation: fadeInRight 0.4s ease forwards; }
.step-container.active { display: block; }
.step-question { font-size: 24px; font-weight: 900; color: var(--dark); margin: 0 0 24px; line-height: 1.3; letter-spacing: -0.02em; }
.modal-footer { padding: 24px 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; background: #fafbfc; gap: 12px; }

/* ── CARDS (Global) ── */
.hcard { 
  background: #fff; border-radius: 20px; border: 1.5px solid var(--border); 
  transition: all 0.25s cubic-bezier(.4,0,.2,1); 
}
.hcard:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 16px 44px rgba(179,72,209,0.13); }

.feature-card { padding: 32px 28px; height: 100%; box-sizing: border-box; }
.feature-icon { 
  width: 52px; height: 52px; border-radius: 14px; background: var(--light); 
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; 
}
.feature-card h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin: 0 0 10px; letter-spacing: -0.02em; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }

.social-card { background: var(--dark); border-radius: 24px; padding: 48px 40px; }
.contact-box { background: #fff; border-radius: 28px; border: 1.5px solid var(--border); padding: 48px 52px; box-shadow: 0 8px 40px rgba(24,23,30,0.08); }

/* ── NAVIGATION ── */
nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); transition: all 0.3s; }
nav.scrolled { background: rgba(255,255,255,0.97); border-bottom-color: transparent; backdrop-filter: blur(18px); box-shadow: 0 4px 32px rgba(24,23,30,0.09); }
nav.menu-open { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }

.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; background: none; border: none; cursor: pointer; text-decoration: none; }
.nav-logo-img { height: 38px; width: auto; object-fit: contain; }
.nav-logo-text { font-size: 20px; font-weight: 900; color: var(--dark); letter-spacing: -0.03em; }
.nav-logo-text em { color: var(--purple); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { 
  background: none; border: none; cursor: pointer; font-weight: 500; font-size: 14px; 
  color: #6b7280; padding: 8px 16px; border-radius: 8px; transition: color 0.18s; 
  position: relative; font-family: inherit; text-decoration: none; display: inline-block; 
}
.nav-link:hover, .nav-link.active { color: var(--dark); }
.nav-link.active { color: var(--purple); }
.nav-link.active::after { 
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); 
  width: 4px; height: 4px; border-radius: 50%; background: var(--purple); 
}
.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 8px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; color: var(--dark); padding: 8px; }

/* Mobile Nav */
.nav-mobile { 
  position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); 
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); 
  padding: 20px 32px 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; 
  gap: 32px; opacity: 0; pointer-events: none; clip-path: circle(0% at 90% 0%); 
  transition: opacity 0.5s ease, clip-path 0.7s cubic-bezier(0.6, 0.05, 0.01, 0.99); 
  z-index: 99; overflow-y: auto; border-top: 1px solid rgba(226, 232, 240, 0.6); 
}
.nav-mobile.open { opacity: 1; pointer-events: auto; clip-path: circle(150% at 90% 0%); }
.nav-mobile-link { 
  display: inline-block; width: auto; text-align: center; padding: 5px 20px; font-weight: 900; 
  font-size: 34px; color: var(--dark); text-decoration: none; letter-spacing: -0.04em; opacity: 0; 
  transform: translateY(40px) scale(0.9); filter: blur(10px); 
  transition: transform 0.6s cubic-bezier(.4,0,.2,1), opacity 0.6s ease, filter 0.6s ease, color 0.2s; 
}
.nav-mobile.open .nav-mobile-link { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.nav-mobile-link:nth-child(1) { transition-delay: 0.10s; } 
.nav-mobile-link:nth-child(2) { transition-delay: 0.18s; } 
.nav-mobile-link:nth-child(3) { transition-delay: 0.26s; } 
.nav-mobile-link:nth-child(4) { transition-delay: 0.34s; }
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--purple); }

.nav-mobile-cta { 
  margin-top: 24px; width: 100%; max-width: 280px; opacity: 0; transform: translateY(40px); 
  filter: blur(10px); transition: transform 0.6s cubic-bezier(.4,0,.2,1) 0.42s, opacity 0.6s ease 0.42s, filter 0.6s ease 0.42s; 
}
.nav-mobile.open .nav-mobile-cta { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ── FOOTER ── */
footer { background: var(--dark); color: #fff; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 72px 32px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo-img { height: 32px; width: auto; object-fit: contain; }
.footer-brand-name { font-weight: 900; font-size: 18px; letter-spacing: -0.03em; color: #fff; }
.footer-brand-name em { color: var(--purple); font-style: normal; }
.footer-col-label { color: rgba(230,241,249,0.3); font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 18px; }
.footer-link { display: block; color: rgba(230,241,249,0.5); font-size: 14px; padding: 5px 0; text-decoration: none; transition: color 0.18s; }
.footer-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(230,241,249,0.07); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }


/* ==========================================================================
   SPEZIFISCHE BEREICHE (Startseite & Co.) 
   ========================================================================== */

/* ── Hero Startseite ── */
.hero { background: var(--dark); padding: 120px 32px 160px; position: relative; overflow: hidden; }
.hero-glow-1 { position: absolute; top: 10%; right: -5%; width: 700px; height: 700px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(179,72,209,0.11) 0%, transparent 65%); }
.hero-glow-2 { position: absolute; bottom: -10%; left: -5%; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(179,72,209,0.06) 0%, transparent 65%); }
.hero-line { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(179,72,209,0.3), transparent); }
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.5rem); font-weight: 900; line-height: 1.08; color: #fff; margin: 0 0 26px; letter-spacing: -0.04em; }
.hero-gradient-text { background: linear-gradient(130deg, var(--purple), #e07af0, #b348d1, #e07af0); background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 5s linear infinite; }
.hero p { font-size: 19px; color: rgba(230,241,249,0.58); max-width: 540px; margin: 0 auto 48px; line-height: 1.75; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 52px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(230,241,249,0.42); font-weight: 600; }

/* ── Entry Cards (Die beiden Kacheln unter dem Hero) ── */
.entry-section { max-width: 1100px; margin: -64px auto 0; padding: 0 32px; position: relative; z-index: 10; }
.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.entry-card { background: #fff; border-radius: 24px; border: 2px solid var(--border); padding: 38px 34px; height: 100%; box-shadow: 0 4px 20px rgba(24,23,30,0.07); }
.entry-card.primary { border-color: var(--purple); box-shadow: 0 12px 48px rgba(179,72,209,0.16); }
.entry-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.entry-card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.entry-card-icon.primary { background: var(--purple-light); }
.entry-card-label { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.entry-card-label.primary { color: var(--purple); }
.entry-card h3 { font-size: 20px; font-weight: 900; color: var(--dark); margin: 0 0 14px; letter-spacing: -0.03em; line-height: 1.3; }
.entry-card p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 30px; }

/* ── Problem Section (Dunkel) ── */
.problem-section { background: var(--dark); margin: 100px 0 0; padding: 100px 32px; position: relative; overflow: hidden; }
.problem-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 500px; pointer-events: none; background: radial-gradient(ellipse, rgba(179,72,209,0.07) 0%, transparent 68%); }
.problem-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.problem h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; margin: 0 0 20px; letter-spacing: -0.04em; line-height: 1.15; }
.problem p { color: rgba(230,241,249,0.5); font-size: 16px; line-height: 1.85; margin: 0 0 36px; }
.problem-cards { display: flex; flex-direction: column; gap: 14px; }
.problem-card { display: flex; align-items: flex-start; gap: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 22px 24px; }
.problem-card-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.problem-card p { color: rgba(230,241,249,0.55); font-size: 15px; line-height: 1.75; margin: 0; }

/* ── How it works (3 Schritte) ── */
.how-section { max-width: 1100px; margin: 0 auto; padding: 100px 32px; }
.how-section .section-head { text-align: center; margin-bottom: 64px; }
.how-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--dark); margin: 0 0 16px; letter-spacing: -0.04em; }
.how-section .sub { color: var(--muted); font-size: 16px; max-width: 500px; margin: 0 auto; line-height: 1.75; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.step-card { padding: 36px 30px; position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.step-num-bg { position: absolute; top: 12px; right: 18px; font-size: 80px; font-weight: 900; color: rgba(179,72,209,0.06); line-height: 1; user-select: none; letter-spacing: -0.05em; }
.step-label { font-size: 11px; font-weight: 800; color: var(--purple); margin-bottom: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.step-icon { font-size: 28px; margin-bottom: 16px; }
.step-card h3 { font-size: 17px; font-weight: 800; color: var(--dark); margin: 0 0 12px; letter-spacing: -0.02em; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; }
.how-cta { text-align: center; padding-top: 16px; }

/* ── Stats Section ── */
.stats-section { background: var(--light); padding: 80px 32px; }
.stats-inner { max-width: 1100px; margin: 0 auto; }
.stats-head { text-align: center; margin-bottom: 52px; }
.stats-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--dark); margin: 0; letter-spacing: -0.04em; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat-card { padding: 36px 28px; text-align: center; }
.stat-icon { font-size: 30px; margin-bottom: 14px; }
.stat-val { font-size: 42px; font-weight: 900; color: var(--purple); letter-spacing: -0.05em; margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── Features Section ── */
.features-section { max-width: 1100px; margin: 0 auto; padding: 100px 32px; }
.features-head { text-align: center; margin-bottom: 60px; }
.features-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--dark); margin: 0; letter-spacing: -0.04em; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

/* ── For Both Section (Die geteilte Praxis / ZFA Ansicht) ── */
.for-both { max-width: 1100px; margin: 0 auto; padding: 100px 32px; }
.for-both-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.dark-card { background: var(--dark); border-radius: 24px; padding: 48px 40px; position: relative; overflow: hidden; height: 100%; }
.dark-card-glow { position: absolute; top: -20px; right: -20px; width: 180px; height: 180px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(179,72,209,0.15) 0%, transparent 70%); }
.light-card { background: #fff; border-radius: 24px; border: 1.5px solid var(--border); padding: 48px 40px; box-shadow: 0 4px 24px rgba(24,23,30,0.06); position: relative; overflow: hidden; height: 100%; }
.light-card-glow { position: absolute; top: -20px; right: -20px; width: 180px; height: 180px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(230,241,249,0.8) 0%, transparent 70%); }
.card-emoji { font-size: 36px; margin-bottom: 20px; }

/* ── FAQ Section ── */
.faq-section { background: var(--light); padding: 100px 32px; }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 56px; }
.faq-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--dark); margin: 0; letter-spacing: -0.04em; }
.faq-box { background: #fff; border-radius: 24px; border: 1.5px solid var(--border); padding: 12px 40px; box-shadow: 0 4px 24px rgba(24,23,30,0.06); }
.faq-item { border-bottom: 1.5px solid var(--border); overflow: hidden; }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q span:first-child { font-weight: 700; font-size: 15px; color: var(--dark); letter-spacing: -0.01em; }
.faq-toggle { font-size: 20px; color: var(--purple); flex-shrink: 0; transition: transform 0.25s; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: transparent; }
.faq-toggle.open { transform: rotate(45deg); background: var(--purple-light); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(.4,0,.2,1); }
.faq-answer.open { max-height: 300px; }
.faq-answer p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 22px; padding-right: 40px; }

/* ── Final CTA Section ── */
.final-cta { background: var(--dark); padding: 100px 32px; position: relative; overflow: hidden; }
.final-cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 500px; pointer-events: none; background: radial-gradient(ellipse, rgba(179,72,209,0.12) 0%, transparent 65%); }
.final-cta-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; }
.final-cta-emoji { font-size: 48px; margin-bottom: 24px; }
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; color: #fff; margin: 0 0 18px; letter-spacing: -0.04em; line-height: 1.15; }
.final-cta p { color: rgba(230,241,249,0.5); font-size: 17px; line-height: 1.75; margin: 0 0 44px; }
.final-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Checklisten & Service Inner (Zahnärzte) ── */
.service-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: flex-start; }
.check-list { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; min-width: 180px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); white-space: nowrap; }
.check-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex-shrink: 0; }

/* ── Pricing Container & Swipe-Galerie (Desktop Normal) ── */
.pricing-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 64px; align-items: stretch; }
.price-card { background: #fff; border-radius: 28px; border: 1.5px solid var(--border); padding: 40px 32px; display: flex; flex-direction: column; position: relative; transition: all 0.25s ease; height: 100%; }
.price-card:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 16px 44px rgba(179,72,209,0.1); }

/* Index Pricing Grid (Dark Mode Style) */
.pricing-section { background: var(--dark); padding: 100px 32px; position: relative; overflow: hidden; }
.pricing-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 1000px; height: 600px; pointer-events: none; background: radial-gradient(ellipse, rgba(179,72,209,0.09) 0%, transparent 65%); }
.pricing-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.pricing-head { text-align: center; margin-bottom: 60px; }
.pricing-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: #fff; margin: 0 0 14px; letter-spacing: -0.04em; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: stretch; }
.price-card-dark { background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.09); border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; transition: all 0.25s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden; height: 100%; }
.price-card-dark:hover { border-color: rgba(179,72,209,0.4); transform: translateY(-4px); box-shadow: 0 20px 48px rgba(179,72,209,0.18); }
.price-card-dark.featured { background: linear-gradient(160deg, rgba(179,72,209,0.13) 0%, rgba(179,72,209,0.05) 100%); border-color: var(--purple); box-shadow: 0 0 0 1px rgba(179,72,209,0.25), 0 24px 56px rgba(179,72,209,0.22); padding: 44px 32px 36px; }

/* ── LEGAL PAGES (Impressum, Datenschutz, AGB) ── */
.simple-hero { background: var(--dark); padding: 88px 32px 104px; text-align: center; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 300px; background: radial-gradient(circle, rgba(179,72,209,0.1), transparent 70%); pointer-events: none; }
.simple-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: #fff; margin: 0; letter-spacing: -0.04em; position: relative; z-index: 1; }

.legal-container { max-width: 720px; margin: -40px auto 96px; padding: 0 32px; position: relative; z-index: 2; }
.text-card { background: #fff; border-radius: 24px; border: 1.5px solid var(--border); padding: 48px; box-shadow: 0 8px 32px rgba(24,23,30,0.05); }
.legal-section { margin-bottom: 40px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-weight: 800; font-size: 16px; color: var(--purple); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.legal-section h3 { font-weight: 800; font-size: 15px; color: var(--dark); margin: 28px 0 12px; letter-spacing: 0.02em; }
.legal-section p { color: var(--dark); line-height: 1.8; margin-bottom: 12px; font-size: 15px; }
.legal-section strong { color: var(--dark); font-weight: 700; }
.legal-section a { color: var(--purple); font-weight: 600; }
.legal-section ul { padding-left: 0; margin-bottom: 12px; }
.legal-section li { margin-bottom: 12px; line-height: 1.8; list-style-type: none; position: relative; font-size: 15px; color: var(--dark); display: flex; align-items: flex-start; }
.legal-section .section-number { color: var(--purple); font-weight: 800; margin-right: 12px; flex-shrink: 0; }


/* ══════════════════════════════════════
   RESPONSIVE (Tablet & Mobile)
   ══════════════════════════════════════ */

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .for-both-grid { grid-template-columns: 1fr; }
}

/* ── TABLET PORTRAIT / MOBILE MENU (≤ 768px) ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  
  .service-inner { grid-template-columns: 1fr; gap: 24px; }
  .check-list { flex-direction: row; flex-wrap: wrap; min-width: unset; padding-top: 0; gap: 10px; }
  .check-item { white-space: normal; flex: 1 1 calc(50% - 10px); }
}

/* ── MOBILE (≤ 640px) ── */
@media (max-width: 640px) {
  /* Globale Abstände */
  .hero { padding: 72px 20px 100px !important; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 2.8rem) !important; }
  .hero p { font-size: 16px !important; margin-bottom: 32px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-badges { gap: 14px; margin-top: 36px; }

  /* Sections */
  .entry-section { margin-top: 24px; padding: 0 16px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { padding: 28px 22px; }

  .problem-section { padding: 72px 20px; margin-top: 60px; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .problem-card { padding: 16px 18px; }
  
  .how-section { padding: 72px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 28px 24px; }
  
  .stats-section { padding: 60px 20px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-val { font-size: 32px; }
  
  .features-section { padding: 72px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-section { padding: 72px 20px; }
  .for-both { padding: 60px 20px; }
  .faq-section { padding: 72px 20px; }
  .final-cta { padding: 72px 20px; }

  /* Cards & Boxen */
  .feature-card, .social-card, .contact-box, .full-service-box, .service-card, .dark-card, .light-card { 
    padding: 32px 20px !important; border-radius: 20px !important; 
  }
  .full-service-grid { grid-template-columns: 1fr !important; gap: 32px !important; text-align: center; }
  .full-service-prices { justify-content: center; gap: 16px !important; }
  .full-service-btn-wrapper .btn { width: 100%; }
  
  .check-list { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
  .check-item { flex: unset; }

  /* ── SWIPE PRICING CONTAINER (TINDER STYLE) ── */
  /* Das ist der Trick, damit sich nichts quetscht */
  .pricing-container, .pricing-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding: 20px 20px 40px !important;
    margin: 0 -20px 40px !important; /* Über den Rand wischen */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
  }
  .pricing-container::-webkit-scrollbar, .pricing-grid::-webkit-scrollbar { 
    display: none; 
  }
  
  /* Die direkte Karte IN der Swipe-Leiste zwingen, groß zu bleiben */
  .pricing-container > div, .pricing-grid > div {
    flex: 0 0 85vw !important; /* Nimmt 85% der Bildschirmbreite ein */
    max-width: 320px !important;
    scroll-snap-align: center !important;
    margin-right: 16px !important;
  }
  
  /* Optische Anpassung der Karten selbst */
  .price-card, .price-card-dark {
    height: 100% !important;
    padding: 32px 24px !important;
  }

  /* Legal Pages Mobile */
  .text-card { padding: 32px 24px; border-radius: 20px; }
  .legal-container { margin-top: -20px; padding: 0 20px; }

  /* Footer */
  .footer-inner { padding: 48px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Fullscreen Mobile Modal (Bottom Sheet Style) */
  .modal-overlay { align-items: flex-start; }
  .modal-box { 
    width: 100%; margin: 0; border-radius: 0; height: 100dvh; max-height: 100dvh; 
    transform: translateY(100%) !important; display: flex; flex-direction: column; 
  }
  .modal-overlay.open .modal-box { transform: translateY(0) !important; }
  .modal-header { padding: 16px 20px; }
  .modal-body { padding: 20px; flex: 1; overflow-y: auto; }
  .step-question { font-size: 20px !important; margin-bottom: 16px !important; }
  .form-control { font-size: 16px !important; padding: 14px !important; } 
  .modal-footer { 
    padding: 16px 20px 24px; flex-direction: column-reverse; gap: 12px; 
    background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,0.05); position: relative; z-index: 10; 
  }
  .modal-footer .btn { width: 100%; justify-content: center; }
}

/* ── VERY SMALL (≤ 380px) ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.9rem !important; }
  .btn-lg { padding: 15px 28px; font-size: 14px; }
}

/* Animation für Erfolg */
.success-msg { text-align: center; padding: 40px; background: #fff; border-radius: 20px; border: 1px solid var(--purple); }
.checkmark { width: 50px; height: 50px; border-radius: 50%; display: block; stroke-width: 2; stroke: var(--purple); stroke-miterlimit: 10; margin: 0 auto 20px; box-shadow: inset 0px 0px 0px var(--purple); animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both; }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px var(--purple); } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }