/* Nach dem Entwurf aus Claude Design (Exploki_Landing-Page_von_claude-design/), Tokens aus dem
   nassi-designer-Designsystem (colors_and_type.css). Systemschriften – nichts wird nachgeladen. */
:root {
  --ink: #14213d;
  --ink-muted: #555555;
  /* Entwurf: #888 – auf 4,5 : 1 abgedunkelt (kleine Schrift) */
  --ink-subtle: #707070;
  --line: #cfd8dc;
  --line-soft: #e0e0e0;
  --link: #0a78ae; /* Entwurf: #0B7FB8 – 4,4 : 1, knapp unter AA */
  --orange: #ff8200;
  /* Entwurf: #E07000 bzw. #B85E00 – auf 4,5 : 1 abgedunkelt */
  --orange-text: #ad5800;
  --cyan: #00aeef;
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --blue-100: #e3f2fd;
  --green: #2e7d32;
  --green-bg: #e8f5e9;
  --footer: #0f1930;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: pretty;
}
p {
  margin: 0;
  text-wrap: pretty;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page > main {
  flex: 1;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 56px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
}
.nav .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: flex;
  gap: 4px 20px;
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink);
}

/* ---------- Kopfbereich ---------- */
.hero {
  padding: 72px 20px 64px;
  background: #f4f8fc;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--link);
}
.hero .eyebrow {
  letter-spacing: 1.5px;
  color: var(--orange-text);
}
.hero h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  background: var(--ink);
  color: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 33, 61, 0.3);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  padding: 11px 21px;
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  transform: none;
  box-shadow: none;
}

.tool-list {
  display: grid;
  gap: 10px;
}
.tool-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink);
  transition: box-shadow 0.15s;
}
.tool-link:hover {
  text-decoration: none;
  box-shadow: var(--shadow-card);
}
.tool-link .icon {
  width: 36px;
  height: 36px;
  flex: none;
}
.tool-link .name {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}
.tool-link .name small {
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-muted);
}
.tool-link .host {
  font-size: 12px;
  color: var(--ink-subtle);
  font-family: var(--font-mono);
  text-align: right;
}

/* ---------- Abschnitte ---------- */
.section {
  padding: 64px 20px;
}
.section-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}
.section-head h2 {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
}
.section-head h2.eyebrow,
.section-head p.eyebrow {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.65;
}
.section-head p {
  font-size: 15px;
  color: var(--ink-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: var(--shadow-card);
}
.card-visual {
  height: 190px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.card-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
}
.card-logo {
  display: block;
  height: 52px;
  width: auto;
}
.card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.card-body .more {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--green-bg);
  color: var(--green);
}
.badge-blue {
  background: var(--blue-100);
  color: var(--blue-dark);
}

/* Kartenbild nassi-designer: kleines Struktogramm */
.strukt {
  width: 100%;
  max-width: 210px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  font-size: 11px;
  line-height: 1.35;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.strukt > div {
  padding: 5px 8px;
  border-bottom: 1px solid var(--blue);
}
.strukt > div:last-child {
  border-bottom: 0;
}
.strukt .title {
  background: var(--blue-100);
  padding: 4px 8px;
  font-weight: 700;
}
.strukt .alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}
.strukt .alt > div {
  padding: 5px 8px;
}
.strukt .alt .cond {
  grid-column: 1 / 3;
  text-align: center;
  border-bottom: 1px solid var(--blue);
  font-style: italic;
}
.strukt .alt .yes {
  border-right: 1px solid var(--blue);
}

/* Kartenbild Rallye: Stationen */
.stations {
  width: 100%;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.6;
}
.station {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.station .dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.station .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.station .line {
  width: 2px;
  height: 18px;
  background: var(--line);
}
.station .text {
  padding-top: 2px;
}
.station .text small {
  display: block;
  font-size: 11px;
  color: var(--ink-subtle);
}
.station.done .dot,
.station.done .line {
  background: var(--cyan);
}
.station.now .dot {
  background: var(--orange);
}
.station.now .text small {
  color: var(--orange-text);
}
.station.next {
  color: var(--ink-subtle);
}
.station.next .dot {
  background: #fff;
  border: 2px solid var(--line);
  color: var(--ink-subtle);
}

/* Kartenbild Quiz: Frage mit Antworten */
.mini-quiz {
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.35;
}
.mini-quiz .q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.mini-quiz .answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}
.mini-quiz .answers span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  color: var(--ink-muted);
}
.mini-quiz .answers .right {
  background: var(--orange);
  border-color: var(--orange);
  /* Entwurf: weiß – auf Orange nur 2,5 : 1 */
  color: var(--ink);
}

/* ---------- Quiz mit KI ---------- */
.section-warm {
  background: #fff8f0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-warm .eyebrow {
  color: var(--orange-text);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ---------- Rechtsseiten ---------- */
.doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.doc h1 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.doc h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
}
.doc p,
.doc ul,
.doc address,
.doc .table-wrap {
  margin-bottom: 0.9rem;
}
.doc address {
  font-style: normal;
}
.muted {
  color: var(--ink-muted);
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

/* ---------- Fuß ---------- */
.footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 20px;
  font-size: 13px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.footer-logo span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo img {
  width: 18px;
  height: 18px;
}
.footer a {
  color: rgba(255, 255, 255, 0.8);
}
.footer .mail {
  color: #6fd3ff;
}
.footer nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .tool-link,
  .card {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
