/* ============================================
   CONTENTIOR – Workshops für Content Creator
   ============================================ */
:root {
  --primary: #6c2bd9;
  --primary-dark: #4c1d95;
  --accent: #f43f75;
  --dark: #1e1b2e;
  --gray: #6b7280;
  --light: #f7f5fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(30, 27, 46, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  line-height: 1.65;
  background: var(--white);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-size: 1.6rem; font-weight: 800; text-decoration: none; color: var(--dark); letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
nav ul { display: flex; gap: 28px; list-style: none; }
nav a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem; }
nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 9px 20px; border-radius: 999px;
}
.nav-cta:hover { background: var(--primary-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.7rem; cursor: pointer; color: var(--dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 130%);
  color: var(--white);
  padding: 90px 0 100px;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.hero p.sub { font-size: 1.2rem; max-width: 720px; margin: 0 auto 34px; opacity: 0.92; }
.hero-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.badge {
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35);
  padding: 7px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
}
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 34px; border-radius: 999px; font-size: 1.05rem; transition: transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: var(--primary); }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-left: 12px; }
.btn-accent { background: var(--accent); color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--accent); text-transform: uppercase; letter-spacing: 2px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.5px; margin-bottom: 14px; }
.section-head p { color: var(--gray); }

/* ---------- USP Grid ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.usp {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); text-align: center;
}
.usp .icon { font-size: 2.2rem; margin-bottom: 14px; }
.usp h3 { font-size: 1.1rem; margin-bottom: 8px; }
.usp p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Kurskarten ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.course-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 5px solid var(--primary);
}
.course-card.featured { border-top-color: var(--accent); }
.course-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.course-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: var(--light); color: var(--primary-dark);
}
.tag.hot { background: var(--accent); color: var(--white); }
.course-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.course-card p.desc { color: var(--gray); font-size: 0.95rem; flex: 1; }
.course-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid #eee;
}
.price { font-size: 1.45rem; font-weight: 800; color: var(--primary); }
.price small { font-size: 0.75rem; color: var(--gray); font-weight: 400; display: block; }
.course-meta a { text-decoration: none; font-weight: 700; color: var(--accent); }

/* ---------- Termine ---------- */
.termine-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.termine-table th, .termine-table td { padding: 15px 18px; text-align: left; }
.termine-table th { background: var(--primary); color: var(--white); font-size: 0.9rem; }
.termine-table tr:nth-child(even) { background: var(--light); }
.termine-table td { font-size: 0.95rem; }
.status-frei { color: #059669; font-weight: 700; }
.status-wenige { color: #d97706; font-weight: 700; }

/* ---------- Kursdetails (kurse.html) ---------- */
.kurs-detail {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; margin-bottom: 40px;
}
.kurs-detail h2 { font-size: 1.7rem; margin-bottom: 6px; }
.kurs-detail .kurs-sub { color: var(--gray); margin-bottom: 22px; }
.kurs-detail h4 { margin: 22px 0 8px; color: var(--primary-dark); }
.kurs-detail ul { padding-left: 22px; color: #374151; }
.kurs-detail ul li { margin-bottom: 6px; }
.kurs-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; background: var(--light); border-radius: var(--radius);
  padding: 20px; margin: 22px 0;
}
.kurs-facts div strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white); border-radius: var(--radius); margin-bottom: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq summary { padding: 20px 26px; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 24px; font-size: 1.3rem; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 26px 20px; color: var(--gray); }

/* ---------- Kontakt ---------- */
.kontakt-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); border-radius: var(--radius); padding: 50px;
  text-align: center;
}
.kontakt-box h2 { font-size: 1.9rem; margin-bottom: 12px; }
.kontakt-box p { opacity: 0.9; max-width: 560px; margin: 0 auto 26px; }
.kontakt-box a.mail { color: var(--white); font-weight: 700; font-size: 1.15rem; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 20px; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal .stand { color: var(--gray); font-size: 0.9rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; color: var(--primary-dark); }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #374151; font-size: 0.97rem; margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 14px; }
.placeholder { background: #fef3c7; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.hinweis-box {
  background: #fef3c7; border-left: 4px solid #d97706; padding: 16px 20px;
  border-radius: 6px; margin-bottom: 30px; font-size: 0.92rem;
}

/* ---------- Footer ---------- */
footer { background: var(--dark); color: #c7c3d9; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer .logo { color: var(--white); }
footer h4 { color: var(--white); margin-bottom: 14px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: #c7c3d9; text-decoration: none; font-size: 0.93rem; }
footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #37324d; padding-top: 22px; font-size: 0.85rem; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    box-shadow: 0 12px 20px rgba(0,0,0,0.1); padding: 10px 0;
  }
  nav ul.open { display: flex; }
  nav ul li { padding: 12px 24px; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .kurs-detail { padding: 26px; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .termine-table { display: block; overflow-x: auto; }
}
