/* ============================================================
   derKIassistent – anleitung.css
   Styles nur für surf/anleitung.php
   Einbinden zusätzlich zu main.css:
   <link rel="stylesheet" href="/assets/css/anleitung.css">
   ============================================================ */

/* ── PDF BAR ────────────────────────────────────────────────── */
.pdf-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
}
.btn-pdf {
  background: var(--ocean);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: 'Epilogue', sans-serif;
}
.btn-pdf:hover { background: var(--ink); color: var(--white); text-decoration: none; }

/* ── STEP CARDS ─────────────────────────────────────────────── */
.step-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(11,20,32,0.07);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.step-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--foam);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 3px;
}
.step-sub {
  font-size: 12px;
  color: var(--muted);
}
.step-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}
.step-body strong { font-weight: 600; color: var(--ink); }

/* ── URL BOX ────────────────────────────────────────────────── */
.url-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.url-box span {
  font-family: 'Epilogue', monospace;
  font-size: 13px;
  color: var(--ocean);
  word-break: break-all;
}
.copy-url {
  background: var(--ocean);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.copy-url:hover { background: var(--ink); }

/* ── HIGHLIGHT BOX ──────────────────────────────────────────── */
.highlight {
  background: rgba(13,148,136,0.07);
  border: 1px solid rgba(13,148,136,0.25);
  border-radius: 8px;
  padding: 16px 18px;
}
.highlight-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.highlight p { font-size: 13px; color: #0a5248; margin: 0; line-height: 1.65; }

/* ── SUCCESS BOX ────────────────────────────────────────────── */
.success-box {
  background: rgba(5,150,105,0.07);
  border: 1px solid rgba(5,150,105,0.25);
  border-radius: 8px;
  padding: 16px 18px;
}
.success-box p { font-size: 13px; color: #065f46; margin: 0; line-height: 1.65; }

/* ── KEY EXAMPLE ────────────────────────────────────────────── */
.key-example {
  background: var(--ink);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: 'Epilogue', monospace;
  font-size: 13px;
  color: #34d399;
  letter-spacing: 0.05em;
  word-break: break-all;
}

/* ── COST TABLE ─────────────────────────────────────────────── */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cost-table th {
  background: var(--bg-mid);
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--ocean);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.cost-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: middle;
  line-height: 1.5;
}
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: rgba(232,244,248,0.5); }

/* ── FINAL CTA ──────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, var(--teal), var(--ocean));
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
  color: var(--white);
  margin-top: 12px;
}
.final-cta h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.final-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  line-height: 1.6;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--teal);
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── PRINT STYLES ───────────────────────────────────────────── */
@media print {
  nav, .pdf-bar, .btn-pdf, .copy-url, .final-cta, footer { display: none !important; }
  .page-hero { padding: 20px 0; background: none !important; border: none !important; }
  .step-card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
  body { background: white; font-size: 12px; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .step-header { padding: 16px 18px; gap: 12px; }
  .step-body { padding: 18px; }
  .pdf-bar { flex-direction: column; align-items: flex-start; }
  .url-box { flex-direction: column; align-items: flex-start; }
  .final-cta { padding: 28px 20px; }
}
