/* The German intent pages (/de/…).
 *
 * These pages exist to be CRAWLED and to answer one query each — so they are plain HTML with the
 * text in the markup, not a client-rendered shell. They reuse styles.css for the design tokens,
 * the buttons and the top bar; everything below is the page furniture specific to a landing page.
 *
 * Rule: no colour, radius or spacing value is invented here — every one comes from a token.
 */

.de-page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  margin: 0;
}

/* ---------- top bar (same shape as the homepage, no language switch: this page IS German) ---- */
.de-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(243, 247, 250, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.de-top img { height: 30px; width: auto; display: block; }
.de-top .de-top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.de-top a.de-quiet { font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.de-top a.de-quiet:hover { color: var(--accent-deep); }

/* ---------- the page ---------- */
.de-wrap { max-width: 940px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }

.de-hero { padding: clamp(40px, 7vw, 72px) 0 clamp(24px, 4vw, 40px); }
.de-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
}
.de-h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 20ch;
}
.de-lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); margin: 0 0 26px; max-width: 60ch; }
.de-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.de-note { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; }

/* the price statement — the one number the page must not bury */
.de-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 30px 0 0;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.de-price b { font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.de-price span { font-size: 14.5px; color: var(--ink-2); }
.de-price .de-price-tag {
  margin-inline-start: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-wash);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- content blocks ---------- */
.de-section { padding: 34px 0; border-top: 1px solid var(--line-soft); }
.de-h2 { font-size: clamp(21px, 3vw, 27px); line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 14px; }
.de-p { margin: 0 0 12px; color: var(--ink-2); max-width: 68ch; }
.de-p strong { color: var(--ink); }

.de-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 10px; }
.de-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
}
.de-card h3 { margin: 0 0 6px; font-size: 15.5px; }
.de-card p { margin: 0; font-size: 14px; color: var(--ink-2); }

.de-steps { counter-reset: step; list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.de-steps li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 44px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.de-steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font: 700 14px/1 var(--font-mono);
}

/* a real table: the price comparison is information, not decoration */
.de-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14.5px; }
.de-table th, .de-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.de-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); font-weight: 700; }
.de-table td:last-child, .de-table th:last-child { text-align: end; white-space: nowrap; }
.de-table tbody tr:last-child td { border-bottom: none; }
.de-table td b { color: var(--ink); }

.de-faq { margin-top: 6px; }
.de-faq details {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.de-faq summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); list-style: none; }
.de-faq summary::-webkit-details-marker { display: none; }
.de-faq summary::after { content: "+"; float: inline-end; color: var(--ink-3); font-weight: 700; }
.de-faq details[open] summary::after { content: "–"; }
.de-faq p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- closing call to action ---------- */
.de-cta {
  margin: 30px 0 0;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
}
.de-cta h2 { margin: 0 0 8px; font-size: clamp(20px, 3vw, 26px); color: #fff; letter-spacing: -0.01em; }
.de-cta p { margin: 0 0 18px; color: #c9d6e3; font-size: 14.5px; }
.de-cta .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.de-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); box-shadow: none; }
.de-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: #fff; }

/* ---------- footer ---------- */
.de-foot { padding: 34px 0 46px; font-size: 13.5px; color: var(--ink-3); }
.de-foot a { color: var(--ink-2); }
.de-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }

/* ---------- consent card (identical behaviour to the homepage: only after a campaign click) -- */
.de-consent {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 9;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px -20px rgba(20, 36, 58, 0.5);
  font-size: 13.5px;
}
.de-consent p { margin: 0; flex: 1 1 260px; color: var(--ink-2); }
.de-consent[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .de-page * { transition: none !important; }
}
