/* ============================================================
   Verkaufstexter-Akademie – Haupt-Stylesheet
   Design: Bauhaus-Minimalismus, Violett #7272ff, Dark Hero
   ============================================================ */

/* ── Reset & Basis ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1c1c2e;
  background: #fff;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Farben & Tokens ── */
:root {
  --violet: #7272ff;
  --violet-dark: #5a5ae0;
  --violet-light: #f0f0ff;
  --dark: #1c1c2e;
  --gray: #6b7280;
  --gray-light: #f8f8ff;
  --border: #e5e7eb;
  --radius: 0.75rem;
  --shadow: 0 4px 24px rgba(114,114,255,.12);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .18s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 16px rgba(114,114,255,.3);
}
.btn-primary:hover { background: var(--violet-dark); box-shadow: 0 6px 20px rgba(114,114,255,.45); }
.btn-outline {
  background: transparent;
  color: var(--violet);
  border-color: var(--violet);
}
.btn-outline:hover { background: var(--violet); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--violet);
}
.btn-white:hover { background: #f0f0ff; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ── Header / Navbar ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: 'Space Grotesk', sans-serif;
}
.logo-text strong { font-size: 1rem; color: var(--dark); }
.logo-text small { font-size: .65rem; letter-spacing: .12em; color: var(--violet); text-transform: uppercase; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--gray);
  transition: color .15s;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.nav-active { color: var(--violet); }
.main-nav .nav-highlight { color: var(--violet); font-weight: 600; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .2s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .25;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--dark) 50%, transparent);
}
.hero-diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 8rem;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  background: rgba(114,114,255,.15);
  border: 1px solid rgba(114,114,255,.3);
  border-radius: 99px;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--violet);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--violet); }
.hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.hero-stat-label { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-light { background: var(--gray-light); }
.section-dark { background: var(--dark); color: #fff; }
.section-violet { background: var(--violet); color: #fff; }
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: .75rem;
}
.section-dark .section-label, .section-violet .section-label { color: rgba(255,255,255,.7); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-subtitle { color: var(--gray); font-size: 1.05rem; max-width: 560px; }
.section-header { margin-bottom: 3.5rem; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-dark {
  background: var(--dark);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}
.card-violet {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  border: none;
  color: #fff;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.card-icon-violet { background: rgba(114,114,255,.15); }
.card-icon-white { background: rgba(255,255,255,.2); }
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card p { color: var(--gray); font-size: .95rem; line-height: 1.6; }
.card-dark p, .card-violet p { color: rgba(255,255,255,.7); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Lektionen-Grid ── */
.lesson-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.lesson-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lesson-number-bg {
  position: absolute;
  top: -8px;
  right: -8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(114,114,255,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.lesson-badge {
  display: inline-block;
  background: var(--violet-light);
  color: var(--violet);
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: .3rem;
  margin-bottom: .75rem;
}
.lesson-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.lesson-card p { font-size: .875rem; color: var(--gray); }

/* ── Preise ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.pricing-card {
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 2rem;
  background: #fff;
  position: relative;
  transition: box-shadow .2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--violet);
  box-shadow: var(--shadow);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .9rem;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--violet);
  margin: 1rem 0;
}
.pricing-price span { font-size: 1rem; color: var(--gray); font-weight: 400; }
.pricing-desc { color: var(--gray); font-size: .9rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border: none; }
.pricing-features .check { color: var(--violet); font-size: 1rem; }
.pricing-features .locked { color: #ccc; }

/* ── Mitgliederbereich ── */
.member-hero {
  background: var(--dark);
  color: #fff;
  padding: 3rem 0;
}
.member-hero h1 { font-size: 2rem; margin-bottom: .5rem; }
.member-hero p { color: rgba(255,255,255,.6); }
.lesson-list { display: flex; flex-direction: column; gap: 1rem; }
.lesson-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.lesson-item:hover { box-shadow: var(--shadow); }
.lesson-item.locked { opacity: .6; cursor: not-allowed; }
.lesson-item.locked:hover { box-shadow: none; }
.lesson-num {
  width: 48px;
  height: 48px;
  border-radius: .5rem;
  background: var(--violet-light);
  color: var(--violet);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lesson-item.locked .lesson-num { background: #f3f4f6; color: #9ca3af; }
.lesson-info { flex: 1; }
.lesson-info h3 { font-size: 1rem; margin-bottom: .2rem; }
.lesson-info p { font-size: .875rem; color: var(--gray); }
.lesson-lock { color: #9ca3af; font-size: 1.2rem; }
.lesson-arrow { color: var(--violet); font-size: 1.2rem; }

/* ── Formulare ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: .4rem;
  color: var(--dark);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: .5rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--dark);
  background: #fff;
  transition: border-color .15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(114,114,255,.1);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-error { color: #dc2626; font-size: .85rem; margin-top: .3rem; }
.form-success {
  background: #dcfce7;
  color: #166534;
  padding: 1rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
}
.alert {
  padding: .9rem 1.2rem;
  border-radius: .5rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
}
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-info { background: var(--violet-light); color: var(--violet-dark); border: 1px solid rgba(114,114,255,.3); }

/* ── Auth-Seiten ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  padding: 2rem 1rem;
}
.auth-box {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo img { height: 48px; margin: 0 auto 1rem; }
.auth-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: .5rem;
}
.auth-subtitle { color: var(--gray); text-align: center; font-size: .9rem; margin-bottom: 2rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: .875rem; color: var(--gray); }
.auth-footer a { color: var(--violet); font-weight: 600; }

/* ── Admin ── */
.admin-header {
  background: var(--dark);
  color: #fff;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}
.admin-header h1 { font-size: 1.5rem; }
.admin-nav { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.admin-nav a {
  padding: .4rem .9rem;
  border-radius: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  transition: all .15s;
}
.admin-nav a:hover, .admin-nav a.active { background: var(--violet); color: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th {
  background: var(--gray-light);
  padding: .75rem 1rem;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray);
  border-bottom: 2px solid var(--border);
}
.admin-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.admin-table tr:hover td { background: var(--gray-light); }
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-violet { background: var(--violet-light); color: var(--violet-dark); }
.badge-gray { background: #f3f4f6; color: #6b7280; }

/* ── Blockquote / Zitat ── */
.quote-section {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12rem;
  color: rgba(114,114,255,.08);
  line-height: 1;
}
.quote-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
  position: relative;
}
.quote-author { color: rgba(255,255,255,.5); font-size: .9rem; }

/* ── Checklist ── */
.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .5rem 0;
  font-size: .95rem;
}
.checklist li::before {
  content: '✓';
  color: var(--violet);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Inhaltsseiten (Impressum etc.) ── */
.content-page { padding: 4rem 0; }
.content-page h1 { font-size: 2rem; margin-bottom: 2rem; }
.content-page h2 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.content-page p, .content-page li { color: var(--gray); line-height: 1.8; margin-bottom: .75rem; }
.content-page ul { padding-left: 1.5rem; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; padding-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text strong, .footer-brand .logo-text small { color: rgba(255,255,255,.9); }
.footer-brand p { font-size: .9rem; max-width: 260px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.footer-links h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  padding: .25rem 0;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.4); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: .75rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-violet { color: var(--violet); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }
