/* =========================================================
   KI-Baden – Design-System
   Farben/Typografie/Abstände aus der Claude-Design-Vorlage
   ========================================================= */

:root {
  /* Flächen */
  --bg: #FBFAF8;
  --bg-alt: #F5F2ED;
  --bg-alt-2: #F4F2EF;
  --bg-card: #FFFFFF;
  --bg-dark: #151210;
  --bg-dark-2: #1C1F23;
  --bg-dark-3: #2A2E34;

  /* Schrift */
  --ink: #1C1F23;
  --ink-soft: #4A4F56;
  --ink-mute: #6A6F77;
  --ink-faint: #8A8680;
  --on-dark: #FBFAF8;
  --on-dark-soft: #B9BEC5;
  --on-dark-mute: #8A8680;

  /* Linien */
  --line: #E6E2DC;
  --line-soft: #EDEAE4;
  --line-strong: #C9C4BC;
  --line-dark: #3A3F46;

  /* Akzent Gold */
  --gold: #FFCC00;
  --gold-strong: #E5BB00;
  --gold-deep: #D6AD00;
  --gold-deeper: #BE9900;
  --gold-ink: #6B5A16;
  --gold-tint: #F4DF9C;
  --gold-tint-soft: #FFF7DB;
  --gold-tint-faint: #FFF3CC;

  /* Typografie */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Radius / Schatten */
  --r-sm: 3px;
  --r-md: 4px;
  --r-pill: 999px;
  --shadow-card: 0 1px 3px rgba(21, 18, 16, 0.06), 0 1px 2px rgba(21, 18, 16, 0.08);

  /* Layout */
  --wrap: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0; color: var(--ink-soft); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow--dot::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  display: inline-block;
}

.eyebrow--onlight {
  background: var(--gold-tint-faint);
  border: 1px solid var(--gold-tint);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-strong); border-color: var(--gold-strong); }

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

.btn--onDark {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line-dark);
}
.btn--onDark:hover { border-color: var(--on-dark-soft); }

.btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 96px;
}
.logo {
  display: flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
  text-decoration: none;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
}
.logo--footer img { height: 64px; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.nav a {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--on-dark-soft);
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--on-dark); background: rgba(255,255,255,0.06); }
.nav a[aria-current="page"] {
  color: var(--on-dark);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: var(--on-dark);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Sections */
section { position: relative; }
.section {
  padding: 88px 0;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--bg-dark);
  color: var(--on-dark);
}
.section--dark p { color: var(--on-dark-soft); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--alt { background: var(--bg-alt); }
.section--card { background: var(--bg-alt-2); }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { margin-top: 10px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero */
.hero {
  padding: 64px 0 88px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.hero h1 { margin-top: 18px; }
.hero p.lede {
  margin-top: 22px;
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}
.hero__meta span.sep { color: var(--line-strong); }

.photo-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.photo-placeholder {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, var(--line-soft), var(--line-soft) 10px, var(--bg-alt) 10px, var(--bg-alt) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.photo-card__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.6;
}
.photo-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}
.photo-card__caption .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 3px;
}
.photo-card__caption strong { font-family: var(--font-display); font-weight: 700; }
.photo-card__caption p { font-size: 0.85rem; margin: 0; }

/* Card-Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* Listen mit Haken */
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-tint-faint);
  color: var(--gold-ink);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-list--x li::before { content: "✕"; background: var(--bg-alt); color: var(--ink-faint); }

/* Zahlen/Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step .step__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-ink);
  background: var(--gold-tint-faint);
  border: 1px solid var(--gold-tint);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: 0.92rem; }

/* Zitate */
.quote {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
}
.quote p.quote-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  line-height: 1.45;
}
.quote footer {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: normal;
}

/* Stat-Kacheln */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 20px; border: 1px solid var(--line-dark); border-radius: var(--r-md); }
.stat .stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--gold);
}
.stat .stat__label { margin-top: 8px; font-size: 0.88rem; }

/* Info-Box (Auf einen Blick) */
.infobox {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.infobox dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.infobox dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
}
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.92rem; }

/* Tabs (Passt / Passt nicht) */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-card { border-radius: var(--r-md); padding: 26px; border: 1px solid var(--line); }
.fit-card--yes { background: var(--gold-tint-faint); border-color: var(--gold-tint); }
.fit-card--no { background: var(--bg-alt-2); }

/* Risikoklassen */
.risk-list { display: flex; flex-direction: column; gap: 16px; }
.risk-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
}
.risk-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  align-self: start;
}
.risk-card h3 { margin-bottom: 8px; }
.risk-card p { font-size: 0.92rem; }
.risk-card .risk-example {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* Checkliste (Compliance-Check "8 Punkte") */
.numbered-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.numbered-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-soft); }
.numbered-list .n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-ink);
  background: var(--gold-tint-faint);
  border: 1px solid var(--gold-tint);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Timeline (Über mich – Stationen) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 28px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px; top: 4px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg);
}
.timeline .year { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-faint); }
.timeline h3 { margin: 4px 0 6px; font-size: 1rem; }
.timeline p { font-size: 0.92rem; }

/* Kontakt / Buchung */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
}
.day-slots { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 0; }
.day-slots .day-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.slot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  background: transparent;
  cursor: pointer;
}
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--bg-dark); font-weight: 600; }
.slot-summary { margin-top: 16px; font-size: 0.85rem; color: var(--ink-faint); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-deep); }
.field textarea { resize: vertical; min-height: 100px; }
.form-note { margin-top: 12px; font-size: 0.8rem; color: var(--ink-faint); }
.form-status { margin-top: 14px; font-size: 0.9rem; }
.form-status[data-state="ok"] { color: #3d6b2f; }
.form-status[data-state="err"] { color: #a33; }

.direct-contact dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin: 18px 0 4px; }
.direct-contact dt:first-child { margin-top: 0; }
.direct-contact dd { margin: 0; font-family: var(--font-display); font-weight: 700; }
.direct-contact dd small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; margin-top: 2px; }

/* CTA-Band */
.cta-band {
  background: var(--bg-dark);
  color: var(--on-dark);
  border-radius: var(--r-md);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--on-dark); max-width: 34ch; }
.cta-band p { color: var(--on-dark-soft); margin-top: 10px; max-width: 46ch; }

/* Map-Platzhalter */
.map-placeholder {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 32% 40%, rgba(255,204,0,0.18), transparent 55%),
    var(--bg-alt-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.map-placeholder span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--on-dark-soft);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid p { color: var(--on-dark-soft); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col a, .footer-col button {
  display: block;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: var(--on-dark-soft);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: var(--font-body);
}
.footer-col a:hover, .footer-col button:hover { color: var(--on-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.25rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.98rem; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--gold-ink); text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .grid-4, .steps, .stats, .fit-grid, .contact-grid, .infobox, .numbered-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .risk-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn--primary { display: none; }
  .site-header__inner { height: 84px; }
  .logo img { height: 52px; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 16px;
    gap: 2px;
  }
  .section { padding: 56px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
