/* KI-Workshops · ki-workshops.inwebug.com
   Markenwerte wie inwebug.com (dunkle Fläche, Inter, Fünf-Farben-Verlauf). */

:root {
  --bg: #08090d;
  --bg-soft: #0d0f15;
  --surface: #13151d;
  --surface-2: #191c26;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eceef4;
  --muted: #a2a8b6;
  --faint: #6a7080;
  --brand: #20AAFF;
  --gruen: #80E464;
  --gelb: #FFDF5F;
  --pink: #FF65DB;
  --rot: #FF5148;
  --grad: linear-gradient(110deg, #20AAFF 0%, #80E464 28%, #FFDF5F 52%, #FF65DB 76%, #FF5148 100%);
  --fehler: #ff7b73;
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(8, 9, 13, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.marke small { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .cta { color: #0b0c10; background: var(--text); font-weight: 650; margin-left: 6px; }
.nav .cta:hover { background: #fff; color: #0b0c10; }
@media (max-width: 640px) {
  .marke small { display: none; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .nav .cta { display: none; }
}

/* Abschnitte */
.abschnitt { padding: 72px 0; border-top: 1px solid var(--border); }
.abschnitt:first-of-type { border-top: 0; }
.abschnitt h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; max-width: 22ch; }
.abschnitt .intro { color: var(--muted); font-size: 18px; max-width: 60ch; margin-top: 14px; }
.kicker { color: var(--brand); font-weight: 600; font-size: 15px; margin-bottom: 10px; }

/* Hero: Text links, Formular rechts */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 70%; pointer-events: none;
  background: radial-gradient(60% 50% at 20% 30%, rgba(32,170,255,0.18), transparent 70%),
              radial-gradient(40% 40% at 80% 20%, rgba(255,101,219,0.12), transparent 70%);
}
.hero .wrap { position: relative; display: grid; gap: 40px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 48ch; }
.hero .fakten { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--text); font-size: 16px; }
.hero .fakten li { display: flex; gap: 12px; align-items: baseline; }
.hero .fakten li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); transform: translateY(-1px); }
.hero .zweitlinks { margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.hero .zweitlinks a { color: var(--muted); }
.hero .zweitlinks a:hover { color: var(--text); }

/* Formularkarte */
.karte { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
@media (min-width: 640px) { .karte { padding: 32px; } }
.karte h2 { font-size: 22px; font-weight: 700; }
.karte .sub { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.feld { margin-bottom: 16px; position: relative; }
.feld label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.feld label .pflicht { color: var(--pink); margin-left: 3px; }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--bg-soft); color: var(--text); font: inherit; font-size: 16px;
}
.feld select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a2a8b6' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--faint); }
.feld input[aria-invalid="true"], .feld select[aria-invalid="true"] { border-color: var(--fehler); }
.feld .hinweis { font-size: 13px; color: var(--faint); margin-top: 6px; }
.feld .fehler { font-size: 13px; color: var(--fehler); margin-top: 6px; display: none; }
.feld.ungueltig .fehler { display: block; }
.zweispaltig { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .zweispaltig { grid-template-columns: 1fr 1fr; } }
.gruppe { margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }

/* Adress-Vorschläge */
.vorschlaege { position: absolute; left: 0; right: 0; top: 100%; z-index: 10; margin: 4px 0 0; padding: 6px; list-style: none;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.vorschlaege[hidden] { display: none; }
.vorschlaege li { padding: 10px 12px; border-radius: 7px; cursor: pointer; font-size: 15px; }
.vorschlaege li small { display: block; color: var(--muted); font-size: 13px; }
.vorschlaege li:hover, .vorschlaege li[aria-selected="true"] { background: rgba(32,170,255,0.14); }
.vorschlaege .leer { color: var(--muted); cursor: default; }

/* Honeypot: aus dem Fluss, nicht display:none */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.turnstile { display: flex; justify-content: center; margin: 4px 0 12px; }
.turnstile:empty { display: none; }

.knopf { appearance: none; border: 0; border-radius: 10px; padding: 14px 20px; width: 100%; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 700; color: #0b0c10; background: var(--text); }
.knopf:hover { background: #fff; }
.knopf:disabled { opacity: 0.55; cursor: progress; }
.knopf.sekundaer { background: transparent; color: var(--text); border: 1px solid var(--border-strong); width: auto; }
.knopf.sekundaer:hover { background: var(--surface-2); }
.kleingedruckt { font-size: 13px; color: var(--faint); margin-top: 12px; line-height: 1.5; }
.kleingedruckt a { color: var(--muted); }

.rueckmeldung { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; border: 1px solid; }
.rueckmeldung.sichtbar { display: block; }
.rueckmeldung.fehler { color: var(--fehler); border-color: rgba(255,123,115,0.4); background: rgba(255,81,72,0.08); }
.erfolg { text-align: center; padding: 24px 0 8px; }
.erfolg .haken { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; background: var(--grad); display: grid; place-items: center; color: #0b0c10; font-size: 26px; font-weight: 800; }
.erfolg h2 { font-size: 24px; }
.erfolg p { color: var(--muted); margin-top: 8px; }

/* Zielgruppen */
.raster { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 720px) { .raster { grid-template-columns: repeat(3, 1fr); } }
.raster article { padding: 22px 0 0; border-top: 2px solid var(--border-strong); }
.raster article h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.raster article p { color: var(--muted); font-size: 16px; }
.raster article:nth-child(1) { border-top-color: var(--brand); }
.raster article:nth-child(2) { border-top-color: var(--gruen); }
.raster article:nth-child(3) { border-top-color: var(--gelb); }
.raster article:nth-child(4) { border-top-color: var(--pink); }

/* Pakete: Stundenbalken */
.pakete { margin-top: 36px; display: grid; gap: 10px; }
.paket { display: grid; gap: 10px 20px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; }
@media (min-width: 720px) { .paket { grid-template-columns: 150px minmax(0, 1fr) 150px; } }
.paket:hover { border-color: var(--border-strong); background: var(--surface-2); }
.paket .name { font-weight: 700; font-size: 18px; }
.paket .name small { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }
.paket > span { display: block; min-width: 0; }
.paket .balken { display: block; height: 12px; border-radius: 6px; background: var(--bg-soft); position: relative; overflow: hidden; }
.paket .balken span { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--grad); width: var(--anteil, 50%); }
.paket .balken.offen span { background: repeating-linear-gradient(90deg, var(--faint) 0 6px, transparent 6px 12px); width: 100%; opacity: 0.5; }
.paket .umfang { font-size: 14px; color: var(--muted); margin-top: 6px; }
.paket .preis { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
@media (min-width: 720px) { .paket .preis { text-align: right; } }
.paket .preis small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; letter-spacing: 0; }
.steuerhinweis { color: var(--muted); font-size: 14px; margin-top: 16px; }
.paket .aktion { margin-top: 2px; color: var(--brand); font-weight: 600; font-size: 15px; }

/* Preisseite: Detailliste je Paket */
.paketdetails { margin-top: 48px; display: grid; gap: 22px; }
@media (min-width: 900px) { .paketdetails { grid-template-columns: repeat(2, 1fr); } }
.paketdetails article { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.paketdetails h3 { font-size: 22px; font-weight: 800; }
.paketdetails .meta { color: var(--muted); font-size: 15px; margin: 4px 0 16px; }
.paketdetails ul { margin: 0 0 20px; padding-left: 20px; color: var(--text); font-size: 16px; display: grid; gap: 6px; }
.paketdetails .knopf { margin-top: auto; }
.paketdetails .preis { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.paketdetails .preis small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.paketdetails article.hervor { border-color: rgba(32,170,255,0.5); }

/* Ablauf (echte Reihenfolge, daher nummeriert) */
.ablauf { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: schritt; display: grid; gap: 20px; }
@media (min-width: 720px) { .ablauf { grid-template-columns: repeat(4, 1fr); } }
.ablauf li { counter-increment: schritt; padding-top: 14px; border-top: 1px solid var(--border-strong); }
.ablauf li::before { content: counter(schritt); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.ablauf h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ablauf p { color: var(--muted); font-size: 15px; }

/* Workshop-Inhalte */
.themen { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.themen article { display: grid; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 800px) { .themen article { grid-template-columns: 280px minmax(0, 1fr); } }
.themen h3 { font-size: 20px; font-weight: 700; }
.themen .dauer { color: var(--muted); font-size: 14px; margin-top: 4px; }
.themen p { color: var(--muted); font-size: 16px; max-width: 64ch; }
.themen ul { margin: 10px 0 0; padding-left: 20px; color: var(--text); font-size: 16px; display: grid; gap: 4px; }
.vergleich { margin-top: 40px; overflow-x: auto; }
.vergleich table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.vergleich th, .vergleich td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.vergleich th { color: var(--muted); font-weight: 600; font-size: 14px; }
.vergleich td:first-child { color: var(--text); font-weight: 500; }
.vergleich td { color: var(--muted); }
.vergleich td .ja { color: var(--gruen); font-weight: 700; }

/* Schluss-CTA */
.schluss { text-align: left; }
.schluss .knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.schluss .knoepfe .knopf { width: auto; }

/* Anfrage-Seite */
.anfrage-layout { display: grid; gap: 32px; padding: 48px 0 72px; }
@media (min-width: 960px) { .anfrage-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } }
.paketwahl { position: sticky; top: 84px; }
.paketwahl h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.paketwahl .zusammenfassung { margin-top: 22px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.paketwahl .zusammenfassung .name { font-size: 22px; font-weight: 800; }
.paketwahl .zusammenfassung .preis { font-size: 28px; font-weight: 800; margin: 6px 0 4px; letter-spacing: -0.02em; }
.paketwahl .zusammenfassung .preis small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.paketwahl .zusammenfassung p { color: var(--muted); font-size: 15px; }
.paketwahl .zusammenfassung ul { margin: 12px 0 0; padding-left: 20px; font-size: 15px; display: grid; gap: 4px; }
.paketwahl .wechsel { margin-top: 16px; }

/* Fuß */
.fuss { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--faint); font-size: 14px; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.fuss a { color: var(--muted); text-decoration: none; }
.fuss a:hover { color: var(--text); }
.fuss nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Rechtstext */
.text { max-width: 72ch; padding: 48px 0 80px; }
.text h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.text h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; }
.text p, .text li { color: var(--muted); font-size: 16px; }
.text p + p { margin-top: 12px; }
.text ul { padding-left: 20px; }
.text .entwurf { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,223,95,0.12); color: var(--gelb); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
