/* ──────────────────────────────────────────────────────────────────────────
   KI für Websites & Sichtbarkeit (SEO/SEA)
   Design an die Hub-Seiten angelehnt (eu-ai-act / ki-einfuehrung-unternehmen).
   Mobile first · Accessibility · keine externen Frameworks · lokale Fonts.
   ────────────────────────────────────────────────────────────────────────── */

/* ── RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 72px; }

:root {
  --bg:            #0d1117;
  --surface:       #161b22;
  --panel:         #1c2128;
  --control:       #21262d;
  --border:        #30363d;
  --border-dim:    #21262d;

  --teal:          #2a9d8f;
  --teal-light:    #3dbfb0;
  --teal-dim:      #1a5e56;
  --teal-glow:     rgba(42,157,143,0.22);
  --teal-faint:    rgba(42,157,143,0.07);

  --amber:         #c9a84c;
  --amber-light:   #e4c46e;
  --amber-dim:     #7a6028;
  --amber-glow:    rgba(201,168,76,0.18);
  --amber-faint:   rgba(201,168,76,0.07);

  --orange:        #e07c3a;
  --orange-dim:    #7a3e14;
  --orange-faint:  rgba(224,124,58,0.08);

  --red:           #e05555;
  --red-dim:       #7a2020;
  --red-faint:     rgba(224,85,85,0.08);

  --green:         #3fb950;
  --green-dim:     #1f6f2c;
  --green-faint:   rgba(63,185,80,0.09);

  --text:          #e6edf3;
  --text-muted:    #8b949e;
  --text-dim:      #484f58;

  --radius:        10px;
  --radius-lg:     18px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.1;
  letter-spacing: .01em;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 10px;
}
.sub-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  margin: 40px 0 18px;
}

.kicker {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.kicker--amber { color: var(--amber); }

.wrap       { max-width: 860px;  margin: 0 auto; padding: 0 24px; }
.wrap--wide { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; border-bottom: 1px solid var(--border-dim); }
section:last-of-type { border-bottom: none; }


/* ── TOC BAR ─────────────────────────────────────────────────────── */
.toc-bar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
  position: sticky; top: 49px; z-index: 90;
}
.toc-bar::-webkit-scrollbar { display: none; }
.toc-bar__inner {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 24px; max-width: 1060px; margin: 0 auto; white-space: nowrap;
}
.toc-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .10em;
  text-transform: uppercase; color: var(--text-muted);
  text-decoration: none; padding: 5px 12px;
  border-radius: 100px; border: 1px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
}
.toc-link:hover { color: var(--text); border-color: var(--border); }
.toc-link.active { color: var(--teal); border-color: var(--teal-dim); background: var(--teal-faint); }
.toc-divider { width: 1px; height: 16px; background: var(--border-dim); margin: 0 4px; flex-shrink: 0; }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border-dim);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(42,157,143,.09) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -40px; left: 10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.hero__badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal);
  background: var(--teal-faint); border: 1px solid var(--teal-dim);
  padding: 4px 12px; border-radius: 100px;
}
.hero__badge--amber {
  color: var(--amber); background: var(--amber-faint); border-color: var(--amber-dim);
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 62px); font-weight: 800;
  margin-bottom: 8px; line-height: 1.0;
}
.hero h1 span { color: var(--teal); }
.hero__sub {
  font-size: clamp(15px, 2vw, 18px); color: var(--text-muted);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: .04em; margin-bottom: 20px;
}
.hero__intro {
  font-size: 15px; color: var(--text-muted); max-width: 640px;
  line-height: 1.75; margin-bottom: 32px;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 20px; }
.hero__meta-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-muted);
}
.hero__meta-item svg { color: var(--teal); flex-shrink: 0; }
.hero__meta-item strong { color: var(--text); }

/* ── SECTION INTRO ───────────────────────────────────────────────── */
.section-lead {
  font-size: 15px; color: var(--text-muted);
  max-width: 640px; line-height: 1.75; margin-top: 12px; margin-bottom: 40px;
}

/* ── INFO CARDS (2-col) ──────────────────────────────────────────── */
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 0;
}
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
  transition: border-color .2s, background .2s;
}
.info-card:hover { border-color: var(--teal-dim); background: var(--panel); }
.info-card__icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--teal-faint); border: 1px solid var(--teal-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light); margin-bottom: 14px;
}
.info-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 8px; line-height: 1.2;
}
.info-card__desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ── WHY / ANALYSE CARDS (relevanz) ──────────────────────────────── */
.relevanz-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
}
.relevanz-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .relevanz-grid--four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .relevanz-grid { grid-template-columns: 1fr; } }
@media (min-width: 520px) and (max-width: 780px) { .relevanz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .relevanz-grid--four { grid-template-columns: 1fr; } }

.relevanz-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.relevanz-card:hover {
  border-color: var(--teal-dim);
  background: var(--panel);
  box-shadow: 0 4px 24px rgba(42,157,143,.07);
}
.relevanz-card__icon { font-size: 22px; margin-bottom: 12px; display: block; color: var(--teal-light); }
.relevanz-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 8px; line-height: 1.2;
}
.relevanz-card__text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── COMPARE TABLE (semantic table) ──────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }
.compare-table {
  width: 100%; border-collapse: collapse; min-width: 480px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  font-size: 13.5px;
}
.compare-table th, .compare-table td {
  text-align: left; padding: 13px 16px; vertical-align: top;
  border-bottom: 1px solid var(--border-dim);
}
.compare-table thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: .04em;
  color: var(--text); background: var(--panel);
}
.compare-table thead th:nth-child(2) { color: var(--teal-light); }
.compare-table thead th:nth-child(3) { color: var(--amber-light); }
.compare-table .th-icon { margin-right: 6px; }
.compare-table tbody th {
  font-weight: 600; color: var(--text-muted);
  font-family: 'Inter', sans-serif; font-size: 12.5px;
  letter-spacing: .02em; white-space: nowrap;
}
.compare-table tbody td { color: var(--text-muted); line-height: 1.55; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }

/* ── COMPARE CARDS (2-col) ───────────────────────────────────────── */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 0;
}
@media (max-width: 560px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
}
.compare-card--before { border-color: var(--red-dim); }
.compare-card--after  { border-color: var(--green-dim); }
.compare-card__head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border-dim);
}
.compare-card__icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.compare-card--dsgvo  .compare-card__icon { background: var(--teal-faint); }
.compare-card--euai   .compare-card__icon { background: var(--amber-faint); }
.compare-card--before .compare-card__icon { background: var(--red-faint); }
.compare-card--after  .compare-card__icon { background: var(--green-faint); }
.compare-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--text);
}
.compare-card__sub { font-size: 11px; color: var(--text-dim); letter-spacing: .04em; }
.compare-row {
  display: flex; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--border-dim); font-size: 13px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row__label { color: var(--text-dim); min-width: 80px; flex-shrink: 0; font-size: 11.5px; letter-spacing: .03em; }
.compare-row__value { color: var(--text-muted); line-height: 1.5; }

/* ── BEFORE / AFTER LISTS ────────────────────────────────────────── */
.ba-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ba-list li {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.5;
  padding-left: 24px; position: relative;
}
.ba-list li::before {
  position: absolute; left: 0; top: 0; font-weight: 700;
}
.ba-list--before li::before { content: '✕'; color: var(--red); }
.ba-list--after  li::before { content: '✓'; color: var(--green); }

/* ── CHECK LIST ──────────────────────────────────────────────────── */
.check-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px;
}
.check-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.check-item:hover { border-color: var(--teal-dim); background: var(--panel); }
.check-item__mark {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-faint); border: 1px solid var(--teal-dim);
  color: var(--teal-light); font-size: 12px; font-weight: 700; margin-top: 1px;
}
.check-item__title {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.2;
}
.check-item__hint { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.45; margin-top: 3px; }

/* ── PROMPT CARDS ────────────────────────────────────────────────── */
.prompt-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px;
}
.prompt-card {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-lg); padding: 20px 20px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.prompt-card:hover {
  background: var(--panel);
  box-shadow: 0 4px 24px rgba(201,168,76,.07);
}
.prompt-card__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 10px;
}
.prompt-card__text {
  font-family: 'Inter', ui-monospace, sans-serif;
  font-size: 14px; color: var(--text); line-height: 1.55;
}

/* ── RESOURCE CARDS ──────────────────────────────────────────────── */
.resource-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}
.resource-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 20px 18px;
  text-decoration: none; display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .18s;
}
.resource-card:not(.resource-card--static):hover {
  border-color: var(--teal-dim);
  background: var(--panel);
  box-shadow: 0 6px 28px rgba(42,157,143,.10);
  transform: translateY(-2px);
}
.resource-card--static:hover { border-color: var(--teal-dim); background: var(--panel); }
.resource-card__flag { font-size: 22px; line-height: 1; margin-bottom: 4px; }
.resource-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.25;
}
.resource-card__desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.resource-card__type {
  display: inline-block; margin-top: 6px; width: fit-content;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal);
  background: var(--teal-faint); border: 1px solid var(--teal-dim);
  padding: 3px 9px; border-radius: 100px;
}

/* ── CALLOUT ─────────────────────────────────────────────────────── */
.callout {
  margin-top: 32px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--teal);
}
.callout--amber { border-left-color: var(--amber); }
.callout__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal);
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.callout--amber .callout__label { color: var(--amber); }
.callout__body { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.callout__body strong { color: var(--text); }

/* ── CTA ─────────────────────────────────────────────────────────── */
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
  padding: 11px 24px; border: 1.5px solid var(--teal-dim);
  border-radius: 100px; background: var(--teal-faint);
  transition: background .2s, border-color .2s, color .2s;
}
.cta-link:hover { background: rgba(42,157,143,.15); border-color: var(--teal); color: var(--teal-light); }
.cta-link--secondary { color: var(--text-muted); border-color: var(--border); background: transparent; }
.cta-link--secondary:hover { color: var(--text); border-color: var(--teal-dim); background: var(--teal-faint); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.site-footer { padding: 28px 0; border-top: 1px solid var(--border-dim); }
.site-footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.site-footer__copy { font-size: 12px; color: var(--text-dim); }
.site-footer__link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .10em;
  text-transform: uppercase; color: var(--text-muted);
  text-decoration: none; transition: color .2s;
}
.site-footer__link:hover { color: var(--teal); }

/* ── FOCUS STATES ────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding: 56px 0 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
