/* ==========================================================
   Bennert Consulting — NIS2 Landingpage
   Farben angelehnt an bennert-consulting.de
   ========================================================== */

:root {
  --brand:        #3F65EF;
  --brand-dark:   #2A4AD1;
  --accent:       #30A67B;
  --ink:          #030524;
  --muted:        #6C758D;
  --bg:           #FFFFFF;
  --bg-soft:      #F5F9FC;
  --border:       #E5EAF4;

  --radius:       14px;
  --radius-sm:    10px;
  --shadow-sm:    0 1px 2px rgba(3, 5, 36, 0.04), 0 2px 8px rgba(3, 5, 36, 0.04);
  --shadow-md:    0 6px 24px rgba(3, 5, 36, 0.08);
  --shadow-lg:    0 20px 60px rgba(63, 101, 239, 0.18);

  --container:    1180px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(63, 101, 239, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.accent { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(63, 101, 239, 0.25);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

.btn-light {
  background: #fff;
  color: var(--brand);
}
.btn-light:hover { background: #F5F9FC; color: var(--brand-dark); }

.btn-sm  { padding: 10px 16px; font-size: 0.9rem; }
.btn-lg  { padding: 18px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
}
.brand-logo-sm {
  height: 28px;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--brand); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(63, 101, 239, 0.10), transparent 60%),
    radial-gradient(900px 400px at -10% 30%, rgba(48, 166, 123, 0.07), transparent 60%),
    #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38em;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(48, 166, 123, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-card h3 { margin-bottom: 8px; }
.hero-card p  { color: var(--muted); margin-bottom: 18px; }
.hero-card .btn { margin-bottom: 10px; }
.hero-card .muted { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Sections (generic) ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--bg-soft);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 { margin-bottom: 12px; }
.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- Mini Video-Kurs ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.course-media {
  aspect-ratio: 16 / 9;
  background: #0b1030;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b1030;
}
.course-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chapter-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.course-body h3 { margin-bottom: 8px; }
.course-body p  { color: var(--muted); margin-bottom: 14px; }
.course-meta {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .course-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .course-grid { grid-template-columns: 1fr; }
}

/* ---------- Downloads ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.download-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.download-card:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 101, 239, 0.4);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.dl-icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(63, 101, 239, 0.10);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-icon svg { width: 24px; height: 24px; }
.dl-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.dl-body p  { color: var(--muted); margin: 0 0 8px; font-size: 0.95rem; }
.dl-meta {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 700px) {
  .download-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA Section (Termin) ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, #5A7DF5 100%);
  color: #fff;
  padding: 72px 0;
}
.cta-section h2 { color: #fff; }
.cta-section p  { color: rgba(255, 255, 255, 0.88); }
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-text .eyebrow { margin-bottom: 14px; }
.cta-action {
  text-align: center;
}
.cta-action .small.light { color: rgba(255, 255, 255, 0.85); margin-top: 12px; }
@media (max-width: 820px) {
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-text { text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}
.footer-brand .brand-logo { height: 28px; }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--brand); }
.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Utilities ---------- */
@media (max-width: 540px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .nav-cta { display: none; }
}
