/*
Theme Name: Sonntags Lernzentrum Live Premium
Theme URI: https://sonntags-lernzentrum.com
Author: Jason Sonntag
Author URI: https://sonntags-lernzentrum.com
Description: Finales Premium WordPress Theme fuer Sonntags Lernzentrum. Mit Startseite, Tarifseite, Aboseite, Kursseite, Kontakt, Terminbuchung, Elternlogin, Impressum, Datenschutz, Footer Widgets, ehrlicher Kommunikation und komplett anpassbaren Theme-Optionen.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: slz-live-premium
*/

:root {
  --slz-primary: #1f4fd3;
  --slz-primary-dark: #16358f;
  --slz-secondary: #0f172a;
  --slz-accent: #f4a000;
  --slz-accent-soft: #fff8eb;
  --slz-bg: #f5f8ff;
  --slz-surface: #ffffff;
  --slz-surface-soft: #eef4ff;
  --slz-border: #dbe6fb;
  --slz-text: #1e293b;
  --slz-muted: #64748b;
  --slz-success: #0f766e;
  --slz-danger: #b91c1c;
  --slz-radius: 24px;
  --slz-radius-lg: 34px;
  --slz-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
  --slz-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --slz-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--slz-text);
  line-height: 1.7;
  background:
    radial-gradient(circle at top right, rgba(31,79,211,.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(244,160,0,.10), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #f5f8ff 100%);
}
a { color: var(--slz-primary); text-decoration: none; }
a:hover { opacity: .94; }
img { max-width: 100%; height: auto; }
input, textarea, select, button { font: inherit; }
.container { width: min(var(--slz-max), 92%); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--slz-muted); }
.hidden-label { position:absolute;left:-9999px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.84);
  border-bottom: 1px solid rgba(219,230,251,.9);
  backdrop-filter: blur(16px);
}
.topbar {
  background: linear-gradient(90deg, var(--slz-secondary) 0%, #1d3e93 100%);
  color: #e2e8f0;
  font-size: .92rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}
.brand-wrap { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--slz-primary) 0%, #69a8ff 100%);
  box-shadow: var(--slz-shadow-soft);
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
}
.brand {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--slz-secondary);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: .85rem;
  color: var(--slz-muted);
  font-weight: 700;
}
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--slz-secondary);
  font-weight: 800;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--slz-primary) 0%, #2d6bff 100%);
  color: #fff;
  box-shadow: 0 14px 26px rgba(31,79,211,.22);
}
.btn-secondary {
  background: rgba(255,255,255,.88);
  color: var(--slz-secondary);
  border-color: var(--slz-border);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.16);
}

.hero {
  position: relative;
  padding: 80px 0 54px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: .5;
  pointer-events: none;
}
.hero::before {
  width: 340px;
  height: 340px;
  background: rgba(81, 147, 255, .22);
  right: -90px;
  top: 12px;
}
.hero::after {
  width: 280px;
  height: 280px;
  background: rgba(244,160,0,.18);
  left: -90px;
  bottom: 0;
}
.hero-grid,
.split,
.grid-2,
.grid-3,
.pricing-wrap,
.course-grid,
.testimonial-grid,
.footer-widgets,
.row-like,
.comparison,
.contact-grid,
.legal-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}
.hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; }
.grid-2, .comparison, .contact-grid, .legal-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
.grid-3, .pricing-wrap, .course-grid, .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.split { grid-template-columns: 1.02fr .98fr; align-items: start; gap: 28px; }
.footer-widgets { grid-template-columns: 1.25fr 1fr 1fr 1fr; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f0ff;
  border: 1px solid #cfe0ff;
  color: var(--slz-primary-dark);
  font-size: .88rem;
  font-weight: 800;
}
.hero h1,
.section-title,
.entry-title {
  margin: 0 0 14px;
  color: var(--slz-secondary);
  letter-spacing: -.04em;
  line-height: 1.04;
}
.hero h1 { font-size: clamp(2.55rem, 5vw, 5rem); max-width: 12ch; }
.section-title { font-size: clamp(1.95rem, 4vw, 3.2rem); }
.section-text,
.hero p.lead,
.entry-content p,
.panel p,
.card p,
.info-box p { color: var(--slz-muted); }
.hero p.lead { font-size: 1.12rem; max-width: 60ch; margin: 0 0 24px; }
.hero-actions,
.trust-row,
.course-meta,
.inline-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-pill,
.course-tag,
.micro-pill {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 800;
}
.trust-pill {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--slz-border);
  color: var(--slz-secondary);
}
.course-tag, .micro-pill {
  background: var(--slz-accent-soft);
  color: #9a6500;
}

.panel,
.card,
.stat-card,
.pricing-card,
.course-card,
.testimonial-card,
.cta-box,
.info-box,
.article-card,
.login-box,
.contact-box,
.legal-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(219,230,251,.95);
  border-radius: var(--slz-radius);
  box-shadow: var(--slz-shadow);
}
.panel,
.card,
.pricing-card,
.course-card,
.testimonial-card,
.info-box,
.article-card,
.contact-box,
.legal-card { padding: 26px; }
.hero-panel {
  padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(243,248,255,.96) 100%);
}
.metric-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 16px; }
.stat-card {
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
}
.stat-card strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--slz-secondary);
}
.stat-card span { display: block; margin-top: 8px; color: var(--slz-muted); font-weight: 700; }
.icon-badge {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 17px;
  font-weight: 900;
  background: var(--slz-surface-soft);
  color: var(--slz-primary-dark);
  margin-bottom: 16px;
}
.section { padding: 78px 0; }
.section-alt {
  padding: 78px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(247,250,255,.98) 100%);
  border-top: 1px solid rgba(219,230,251,.75);
  border-bottom: 1px solid rgba(219,230,251,.75);
}
.honesty-box {
  padding: 28px;
  color: #fff;
  border-radius: var(--slz-radius-lg);
  background: linear-gradient(135deg, #0f172a 0%, #183d9c 100%);
  box-shadow: var(--slz-shadow);
}
.honesty-box h3,
.honesty-box .section-title { color: #fff; }
.honesty-box p,
.honesty-box li { color: rgba(255,255,255,.88); }
.check-list,
.feature-list {
  padding-left: 18px;
  margin: 0;
}
.check-list li,
.feature-list li { margin: 12px 0; }
.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--slz-secondary);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}
.pricing-card {
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  transform: translateY(-8px);
  border-color: #b8d0ff;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}
.price {
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--slz-secondary);
  margin: 18px 0 6px;
}
.price small { font-size: 1rem; color: var(--slz-muted); font-weight: 700; }
.price-note { color: var(--slz-muted); font-size: .95rem; }
.quote { color: var(--slz-secondary); font-size: 1.02rem; font-weight: 800; }
.quote-source { margin-top: 14px; color: var(--slz-muted); font-weight: 700; }
.page-hero { padding: 68px 0 28px; }
.page-hero-card { padding: 32px; }
.table-like { display:grid; gap:14px; }
.row-like {
  grid-template-columns: 1.18fr .8fr .8fr;
  align-items: start;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--slz-border);
}
.small-label {
  display:block;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--slz-muted);
  margin-bottom: 7px;
}
.notice-strip {
  padding: 14px 18px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--slz-primary-dark);
  font-weight: 800;
}
.login-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px;
}
.form-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group-full { grid-column: 1 / -1; }
.login-box label,
.contact-form label { font-weight: 800; color: var(--slz-secondary); }
.login-box input,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #fff;
}
.contact-box .meta-line { color: var(--slz-secondary); font-weight: 800; margin-bottom: 6px; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.shortcode-slot {
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed #bfd6ff;
  background: #f8fbff;
}
.inline-icon {
  display:inline-grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:14px;
  background:#eef4ff;
  color:var(--slz-primary-dark);
  margin-right:8px;
  font-weight:900;
}
.footer-top {
  margin-top: 34px;
  padding: 58px 0;
  background: linear-gradient(180deg, #0f172a 0%, #030712 100%);
  color: #d9e3f4;
}
.footer-brand {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.footer-brand h3,
.widget-title { color: #fff; margin-top: 0; }
.footer-widgets a { color: #dbeafe; }
.widget {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}
.footer-bottom {
  padding: 18px 0;
  background: #020617;
  color: #cbd5e1;
  border-top: 1px solid rgba(255,255,255,.08);
}
.content-area { padding: 52px 0; }
.entry-card { max-width: 820px; margin: 0 auto; }
.legal-card h2,
.entry-content h2,
.entry-content h3 { color: var(--slz-secondary); }
.entry-content ul { padding-left: 18px; }
.page-template-default .entry-card,
.single .entry-card,
.archive .entry-card,
.search .entry-card { padding: 28px; }
.post-list { display:grid; gap:20px; }
.search-form {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.search-field {
  flex:1;
  min-width:220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
}
.menu-toggle { display:none; }

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .pricing-wrap,
  .course-grid,
  .testimonial-grid,
  .footer-widgets,
  .comparison,
  .contact-grid,
  .legal-grid,
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; }
  .nav-menu { flex-wrap: wrap; gap: 14px; }
  .hero,
  .section,
  .section-alt,
  .page-hero,
  .content-area { padding-top: 54px; }
  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .pricing-wrap,
  .course-grid,
  .testimonial-grid,
  .footer-widgets,
  .comparison,
  .contact-grid,
  .legal-grid,
  .stats-grid,
  .row-like,
  .metric-grid,
  .form-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .header-actions { width: 100%; }
}

@media (max-width: 640px) {
  .hero h1 { max-width: none; }
  .brand-sub { display: none; }
  .btn { width: 100%; }
  .hero-actions .btn,
  .inline-actions .btn { width: auto; }
  .topbar-inner { gap: 8px; }
}


.pricing-wrap-wide, .course-grid-wide { grid-template-columns: repeat(3, 1fr); }
.course-card-rich, .embed-card { background: rgba(255,255,255,.92); border: 1px solid var(--slz-border); border-radius: var(--slz-radius); box-shadow: var(--slz-shadow-soft); padding: 26px; }
.compact-table { gap: 12px; margin-top: 18px; }
.single-row { grid-template-columns: 1fr; }
.booking-html-demo { margin-top: 18px; padding: 18px; border-radius: 20px; background: #f8fbff; border: 1px dashed var(--slz-border); }
.booking-html-demo code { display: block; margin-top: 10px; white-space: pre-wrap; word-break: break-word; font-size: .88rem; color: var(--slz-secondary); }
.html-slot iframe, .shortcode-slot iframe { width: 100%; min-height: 760px; border: 0; border-radius: 24px; }
.slz-inline-form p { margin: 0 0 16px; }
.slz-inline-form input, .slz-inline-form textarea, .slz-inline-form select { width: 100%; margin-top: 8px; border: 1px solid var(--slz-border); border-radius: 16px; padding: 14px 16px; background: #fff; }
.slz-inline-form input:focus, .slz-inline-form textarea:focus, .slz-inline-form select:focus { outline: 2px solid rgba(31,79,211,.15); border-color: var(--slz-primary); }
.slz-inline-form button { border: 0; cursor: pointer; }
@media (max-width: 900px) {
  .pricing-wrap-wide, .course-grid-wide { grid-template-columns: 1fr; }
}
