/* Gemeinsame Styles für Cyberlehrgang.de und alle Unterseiten */

:root {
  --bg: #0b1020;
  --card: #11172b;
  --card-hover: #162041;
  --text: #e9eef9;
  --muted: #a7b1c7;
  --accent: #6ea8fe;
  --accent2: #8bd3ff;
  --accent-strong: #2b63ff;
  --border: #1f2742;
  --border-hover: #2d3a6b;
  --success: #34d399;
  --warning: #fbbf24;
  --gold: #ffd864;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-strong: 0 20px 50px rgba(43, 99, 255, .25);
}

* { box-sizing: border-box }
html, body { height: 100% }
html { scroll-behavior: smooth }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(110, 168, 254, .22), transparent 60%),
    radial-gradient(1200px 800px at 110% 20%, rgba(139, 211, 255, .18), transparent 60%),
    var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Sticky-Stack: Announcement-Bar + Topbar */
.sticky-top { position: sticky; top: 0; z-index: 100 }

.announce-bar {
  background: linear-gradient(90deg, #2b63ff, #6ea8fe, #2b63ff);
  background-size: 200% 100%;
  animation: shimmer 7s linear infinite;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@keyframes shimmer {
  0% { background-position: 0% 0% }
  100% { background-position: 200% 0% }
}
.announce-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}
.announce-badge {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
}
.announce-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}
.announce-link:hover { opacity: .85 }
@media (max-width: 560px) {
  .announce-bar { padding: 8px 12px; font-size: 13px }
  .announce-inner { gap: 6px 10px }
}

/* Topbar */
.topbar {
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(11, 16, 32, .92);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent2) }
.nav-cta {
  background: var(--accent-strong);
  color: #fff;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, background .2s;
}
.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.nav-sale {
  color: var(--gold) !important;
  border: 1px solid rgba(255, 216, 100, .35);
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-sale:hover {
  background: rgba(255, 216, 100, .08);
  border-color: var(--gold);
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none }
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: rgba(110, 168, 254, .08);
  border-radius: 999px;
  color: var(--accent2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.1;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #ffffff, #bcd0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform .15s, background .2s, border-color .2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: var(--shadow-strong);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(110, 168, 254, .08);
  transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent2);
  text-decoration: underline;
}
.breadcrumb .sep {
  margin: 0 8px;
  opacity: .5;
}

/* Trust bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 40px auto 0;
}
.trust-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
}
.trust-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent2);
}
.trust-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr) }
}

/* Main */
main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}
section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)),
    var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
section h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 8px;
  font-weight: 700;
}
section .subtitle {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 17px;
}
section p, section li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
section h3 {
  color: var(--accent2);
  font-size: 20px;
  margin-top: 24px;
}
ul { margin: 12px 0 0 20px }
a { color: var(--accent2) }
.highlight {
  color: var(--accent2);
  font-weight: 600;
}

/* Course grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.course-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s, border-color .2s, background .2s;
  text-decoration: none;
  color: inherit;
}
.course-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--card-hover);
}
.course-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(110, 168, 254, .2), rgba(139, 211, 255, .1));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent2);
}
.course-icon svg { width: 22px; height: 22px }
.course-card h3 { color: #fff; font-size: 18px; margin: 6px 0 0 }
.course-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.course-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent2);
  background: rgba(110, 168, 254, .1);
  border: 1px solid rgba(110, 168, 254, .2);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  align-self: flex-start;
}
.course-link {
  color: var(--accent2);
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}
.course-link::after { content: " →" }

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.feature {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: rgba(110, 168, 254, .12);
  display: grid;
  place-items: center;
  color: var(--accent2);
}
.feature-icon svg { width: 18px; height: 18px }
.feature h3 { color: #fff; font-size: 17px; margin: 0 0 6px }
.feature p { font-size: 14px; margin: 0; line-height: 1.55 }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  background: var(--bg);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: #fff;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after {
  content: "+";
  color: var(--accent2);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg) }
.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA section */
.cta-section {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(43, 99, 255, .18), rgba(139, 211, 255, .08)),
    var(--card);
  border: 1px solid rgba(110, 168, 254, .3);
}
.cta-section h2 { color: #fff }
.cta-section p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Domain-Verkaufs-Section hervorgehoben */
section.domain-section {
  background:
    linear-gradient(135deg, rgba(43, 99, 255, .16), rgba(255, 216, 100, .06)),
    var(--card);
  border: 1px solid rgba(255, 216, 100, .35);
  position: relative;
  overflow: hidden;
}
section.domain-section::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 3px;
  background: linear-gradient(90deg, #ffd864, #2b63ff, #6ea8fe, #ffd864);
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}
.section-badge {
  display: inline-block;
  vertical-align: middle;
  background: linear-gradient(90deg, #ffd864, #ffb84d);
  color: #0b1020;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: .6px;
  margin-right: 12px;
  box-shadow: 0 4px 12px rgba(255, 184, 77, .25);
}
.domain-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 216, 100, .25);
}
.pricing-option {
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.pricing-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.pricing-value {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  margin-top: 6px;
}
.pricing-hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* Footer */
footer {
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}
.footer-links { margin-top: 10px }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 6px;
}
.footer-links a:hover {
  text-decoration: underline;
  color: var(--accent2);
}

@media (max-width: 640px) {
  section { padding: 28px 22px }
  .hero { padding: 60px 18px 30px }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center }
  .hero-actions { flex-direction: column }
}
