/* ─────────────────────────────────────────────────────────────────
   Detailseite — Layout A "Editorial Sheet"
   Wird von Modal UND Standalone-Seite geteilt.
   ───────────────────────────────────────────────────────────────── */

.dt { background: var(--bg); color: var(--ink); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.dt-crumbs {
  padding: 12px 28px;
  border-bottom: 1.5px solid var(--ink);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; gap: 8px; align-items: center;
  color: var(--ink-2); flex-wrap: wrap;
}
.dt-crumbs .sep { color: var(--orange); }
.dt-crumbs .here { color: var(--ink); }
.dt-crumbs a { text-decoration: none; }
.dt-crumbs a:hover { color: var(--orange); }

/* ── Hero ────────────────────────────────────────────────── */
.dt-hero {
  border-bottom: 1.5px solid var(--ink);
  display: grid; grid-template-columns: 1fr 340px;
}
.dt-hero-main { padding: 48px 28px 40px; min-width: 0; }
.dt-goals { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.dt-title-row { display: flex; align-items: flex-start; gap: 24px; min-width: 0; }
.dt-num {
  font-weight: 900; font-size: clamp(40px, 5vw, 92px);
  line-height: 0.82; letter-spacing: -0.05em;
  color: var(--orange); font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.dt-hero h1 {
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 88px);
  line-height: 0.88; letter-spacing: -0.045em;
  margin: 0; text-wrap: balance;
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}
.dt-tagline {
  font-size: clamp(17px, 2vw, 22px); font-weight: 500;
  line-height: 1.35; margin: 26px 0 0;
  max-width: 40ch; color: var(--ink);
}
.dt-rating-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px; flex-wrap: wrap; font-size: 14px;
}
.dt-rating-row .stars { color: var(--orange); display: inline-flex; gap: 1px; }
.dt-rating-row strong { font-size: 17px; }
.dt-rating-row .dim { color: var(--ink-2); }
.dt-readtime {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--ink); padding: 3px 9px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.dt-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

/* hero image / icon block — real image OR icon fallback, never both */
.dt-hero-visual {
  border-left: 1.5px solid var(--ink);
  background: var(--cream);
  position: relative;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  overflow: hidden;
}
.dt-hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.dt-hero-visual .icon-fallback {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.85;
  pointer-events: none;
}

/* ── Body grid: facts rail + main ────────────────────────── */
.dt-body { display: grid; grid-template-columns: 300px 1fr; }

.dt-rail {
  border-right: 1.5px solid var(--ink);
  padding: 32px 24px;
  background: var(--bg);
  align-self: start;
}
.dt-rail-label {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--orange); margin-bottom: 14px;
}
.dt-fact {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 2px;
}
.dt-fact:first-of-type { border-top: 0; }
.dt-fact .l {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-3);
}
.dt-fact .r { font-size: 15px; font-weight: 600; }
.dt-rail-group {
  margin-top: 22px; padding-top: 18px;
  border-top: 1.5px solid var(--ink);
}
.dt-taglist { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-taglist .tag { cursor: default; }
.dt-taglist .tag.sky { background: var(--sky); }

.dt-main { min-width: 0; }

.dt-sect {
  padding: 36px 40px;
  border-bottom: 1.5px solid var(--ink);
}
.dt-sect:last-child { border-bottom: 0; }
.dt-sect h2 {
  font-weight: 800; font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.025em; margin: 0 0 20px;
}
.dt-sect > h2:only-child { margin-bottom: 0; }
.dt-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; margin: 0; max-width: 66ch; }

/* ── Steps ───────────────────────────────────────────────── */
.dt-steps-head { padding: 36px 40px 24px; }
.dt-steps-head h2 { font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.025em; margin: 0; }
.dt-steps-head .sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.dt-step {
  display: grid; grid-template-columns: 80px 108px 1fr;
  gap: 20px; padding: 22px 40px;
  border-top: 1.5px solid var(--ink);
  align-items: start;
}
.dt-step .n {
  font-weight: 900; font-size: 46px; line-height: 0.85;
  letter-spacing: -0.04em; color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.dt-step .t {
  background: var(--cream); border: 1.5px solid var(--ink);
  padding: 5px 10px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  justify-self: start; white-space: nowrap;
}
.dt-step h3 { font-size: 22px; font-weight: 700; margin: 0 0 5px; letter-spacing: -0.015em; }
.dt-step p { font-size: 16px; color: var(--ink-2); margin: 0; line-height: 1.55; max-width: 62ch; }
.dt-step .t-mob { display: none; }

/* ── Tips / warning ──────────────────────────────────────── */
.dt-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 36px 40px;
  border-top: 1.5px solid var(--ink);
}
.dt-tips { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.dt-tips li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  font-size: 16px; line-height: 1.55;
}
.dt-tips li::before { content: "→"; color: var(--orange); font-weight: 700; font-size: 18px; }
.dt-warn {
  border-left: 4px solid var(--orange);
  background: var(--cream);
  padding: 16px 18px; font-size: 16px; line-height: 1.55;
}

/* ── Reviews ─────────────────────────────────────────────── */
.dt-reviews { display: flex; flex-direction: column; gap: 12px; }
.dt-review { border: 1.5px solid var(--ink); padding: 18px; background: var(--bg); }
.dt-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dt-review-head .av {
  width: 36px; height: 36px; background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.dt-review-head .who { display: flex; flex-direction: column; min-width: 0; }
.dt-review-head .who .n { font-weight: 700; font-size: 15px; }
.dt-review-head .who .r { font-size: 12px; color: var(--ink-2); }
.dt-review-head .st { margin-left: auto; color: var(--orange); display: inline-flex; gap: 1px; }
.dt-review p { margin: 0; font-size: 15px; line-height: 1.55; }
.dt-review-cta {
  border: 2px dashed var(--ink);
  padding: 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.dt-review-cta .txt { font-size: 15px; color: var(--ink-2); }
.dt-rating-summary {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 18px; background: var(--ink); color: var(--bg);
  margin-bottom: 14px; flex-wrap: wrap;
}
.dt-rating-summary .big {
  font-weight: 900; font-size: 44px; line-height: 1;
  letter-spacing: -0.03em;
}
.dt-rating-summary .stars { color: var(--orange); display: inline-flex; gap: 2px; }
.dt-rating-summary .meta { font-size: 13px; color: var(--sky); }

/* ── FAQ (SEO) ───────────────────────────────────────────── */
.dt-faq { display: flex; flex-direction: column; }
.dt-faq-item { border-top: 1.5px solid var(--ink); }
.dt-faq-item:last-child { border-bottom: 1.5px solid var(--ink); }
.dt-faq-q {
  width: 100%; background: transparent; border: 0;
  padding: 18px 0; text-align: left;
  display: flex; align-items: center; gap: 14px;
  font-size: 19px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); font-family: inherit;
  cursor: pointer; list-style: none;
}
.dt-faq-q::-webkit-details-marker { display: none; }
.dt-faq-q:hover { color: var(--orange); }
.dt-faq-q .mark {
  margin-left: auto; flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1.5px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; line-height: 1;
  color: var(--ink);
}
.dt-faq-item[open] .dt-faq-q .mark, .dt-faq-item.open .dt-faq-q .mark { background: var(--orange); color: #fff; border-color: var(--ink); }
.dt-faq-q .mark .minus { display: none; }
.dt-faq-item[open] .dt-faq-q .mark .plus { display: none; }
.dt-faq-item[open] .dt-faq-q .mark .minus { display: inline; }
.dt-faq-a { padding: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }

/* ── Keywords (SEO) ──────────────────────────────────────── */
.dt-keywords { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-keywords .kw {
  border: 1.5px solid var(--line-soft);
  padding: 5px 11px; font-size: 13px; font-weight: 500;
  color: var(--ink-2); background: var(--bg);
}
.dt-keywords .kw:hover { border-color: var(--ink); color: var(--ink); }

/* ── Related ─────────────────────────────────────────────── */
.dt-related-head { padding: 36px 28px 22px; }
.dt-related-head h2 { font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.025em; margin: 0; }
.dt-related {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink);
}
.dt-related-card {
  padding: 24px 22px; cursor: pointer;
  border-right: 1.5px solid var(--ink);
  background: var(--bg);
  transition: background .12s;
  text-decoration: none; color: inherit;
}
.dt-related-card:last-child { border-right: 0; }
.dt-related-card:nth-child(2) { background: var(--cream); }
.dt-related-card:hover { background: var(--orange); color: #fff; }
.dt-related-card:hover .rn { color: #fff; }
.dt-related-card:hover p { color: rgba(255,255,255,0.9); }
.dt-related-card .rn {
  font-weight: 900; font-size: 32px; color: var(--orange);
  line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 8px;
}
.dt-related-card h3 { font-weight: 800; font-size: 24px; margin: 0 0 6px; letter-spacing: -0.02em; }
.dt-related-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }

/* ── CTA band ────────────────────────────────────────────── */
.dt-cta {
  background: var(--ink); color: var(--bg);
  padding: 44px 28px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1.5px solid var(--ink);
}
.dt-cta .big { font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; letter-spacing: -0.03em; }
.dt-cta .sub { opacity: 0.7; margin-top: 8px; font-size: 15px; }
.dt-cta .btn.accent { border-color: var(--bg); }

/* ── Footer (standalone only) ────────────────────────────── */
.dt-footer {
  border-top: 1.5px solid var(--ink);
  padding: 32px 28px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: start;
  font-size: 14px;
}
.dt-footer .brand { font-size: 20px; margin-bottom: 8px; }
.dt-footer .dim { color: var(--ink-2); max-width: 44ch; line-height: 1.5; }
.dt-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.dt-footer nav a { text-decoration: none; font-weight: 500; }
.dt-footer nav a:hover { color: var(--orange); }

/* ── Modal-specific tweaks ───────────────────────────────── */
.modal .dt-hero-main { padding: 36px 28px 32px; }
.modal .dt-hero { grid-template-columns: 1fr 280px; }
.modal .dt-body { grid-template-columns: 260px 1fr; }
.modal .dt-sect, .modal .dt-two-col, .modal .dt-step, .modal .dt-steps-head { padding-left: 28px; padding-right: 28px; }
.modal .dt-related-head { padding-left: 28px; padding-right: 28px; }
.modal .dt-footer { display: none; }
.modal .dt-crumbs { display: none; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dt-crumbs { padding: 10px 16px; font-size: 11px; }

  .dt-hero { grid-template-columns: 1fr; }
  .dt-hero-main { padding: 28px 16px 24px; }
  .dt-title-row { gap: 14px; }
  .dt-tagline { margin-top: 18px; }
  .dt-rating-row { margin-top: 20px; }
  .dt-actions { margin-top: 22px; }
  .dt-actions .btn { flex: 1 1 auto; justify-content: center; }
  .dt-hero-visual {
    border-left: 0;
    border-top: 1.5px solid var(--ink);
    min-height: 200px; order: -1;
  }

  .dt-body { grid-template-columns: 1fr; }
  .dt-rail {
    border-right: 0;
    border-bottom: 1.5px solid var(--ink);
    padding: 20px 16px;
  }

  .dt-sect { padding: 24px 16px; }
  .dt-steps-head { padding: 24px 16px 18px; }
  .dt-step {
    grid-template-columns: 44px 1fr;
    gap: 12px; padding: 16px;
  }
  .dt-step .n { font-size: 30px; }
  .dt-step .t { display: none; }
  .dt-step .t-mob {
    display: inline-block;
    background: var(--cream); border: 1.5px solid var(--ink);
    padding: 3px 8px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
  .dt-step h3 { font-size: 19px; }
  .dt-step p { font-size: 15px; }

  .dt-two-col { grid-template-columns: 1fr; gap: 26px; padding: 24px 16px; }
  .dt-tips li { font-size: 15px; }
  .dt-warn { font-size: 15px; }

  .dt-faq-q { font-size: 17px; padding: 16px 0; }
  .dt-faq-a { font-size: 15px; }

  .dt-related-head { padding: 24px 16px 16px; }
  .dt-related { grid-template-columns: 1fr; }
  .dt-related-card {
    border-right: 0;
    border-bottom: 1.5px solid var(--ink);
  }
  .dt-related-card:last-child { border-bottom: 0; }

  .dt-cta { padding: 28px 16px; }
  .dt-cta .btn { width: 100%; justify-content: center; }

  .dt-footer { grid-template-columns: 1fr; padding: 24px 16px; }

  .modal .dt-hero { grid-template-columns: 1fr; }
  .modal .dt-body { grid-template-columns: 1fr; }
  .modal .dt-hero-main { padding: 24px 16px; }
  .modal .dt-sect, .modal .dt-two-col, .modal .dt-steps-head { padding-left: 16px; padding-right: 16px; }
  .modal .dt-step { padding-left: 16px; padding-right: 16px; }
  .modal .dt-related-head { padding-left: 16px; padding-right: 16px; }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .dt-actions, .dt-cta, .dt-review-cta, .dt-footer, .dt-crumbs { display: none !important; }
  .dt-hero, .dt-body { grid-template-columns: 1fr !important; }
  .dt-rail { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .dt-hero-visual { display: none; }
  .dt-step, .dt-review, .dt-faq-item { break-inside: avoid; }
  .dt-faq-a { display: block !important; }
}
