/* === BASE === */
:root {
  --bg: #f8f7f5;
  --bg-alt: #f0ede8;
  --navy: #1a2744;
  --navy-light: #2d3a5c;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --text: #1a2744;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e0d9;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
}

.nav-auth-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-auth-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}

.nav-auth-link:hover {
  background: var(--bg-alt);
  color: var(--navy);
}

.nav-auth-link--cta {
  font-weight: 500;
  color: var(--navy);
  background: var(--bg-alt);
}

.nav-auth-link--cta:hover {
  background: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark { color: var(--navy); }

/* === HERO === */
.hero {
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}

/* Deliberately not pill/button-shaped — the former dark .hero-badge pill sat
   directly above the amber CTA and read as a competing button. */
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}

.hero-cta-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  background: var(--amber);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.hero-cta-btn:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.hero-cta-btn:active {
  transform: translateY(0);
}

/* === HERO VISUAL === */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: var(--navy);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(26, 39, 68, 0.18), 0 8px 24px rgba(26, 39, 68, 0.12);
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #fafaf8;
  border-radius: 28px;
  overflow: hidden;
}

.screen-header {
  background: #f0ede8;
  padding: 10px 16px;
  display: flex;
  align-items: center;
}

.screen-dots {
  display: flex;
  gap: 6px;
}

.screen-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.screen-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc-input {
  border: 1.5px dashed var(--text-light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.doc-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.arrow-down {
  display: flex;
  justify-content: center;
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.summary-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s-line {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

.s-line--long { width: 100%; }
.s-line--medium { width: 75%; }
.s-line--short { width: 45%; }

.deadline-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.deco-ring--1 {
  width: 340px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.deco-ring--2 {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: #e9e6df;
}

/* === SECTION HEADINGS === */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  max-width: 600px;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--white);
  padding: 96px 24px;
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-card {
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.step-icon {
  margin-bottom: 16px;
}

.step-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1875rem;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: var(--text-light);
}

/* === WHO CLAR === */
.whoclar {
  background: var(--navy);
  padding: 96px 24px;
  color: var(--white);
}

.whoclar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.whoclar-content .section-label {
  color: var(--amber);
}

.whoclar-content .section-title {
  color: var(--white);
}

.whoclar-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.letter-types {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.letter-type {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.lt-icon {
  color: var(--amber);
  flex-shrink: 0;
}

/* === PRICING === */
.pricing {
  padding: 96px 24px;
  background: var(--bg-alt);
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* .section-title/.section-subtitle have a max-width but no auto margins
   (fine for the site's other, left-aligned sections) — in this centered
   section that left the heading box itself flush-left while only the text
   inside it centered. Scoped here rather than fixed globally, since a
   global fix would shift every other section's (left-aligned) heading. */
.pricing-inner .section-title,
.pricing-inner .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.pc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.pc-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pc-price {
  margin-bottom: 12px;
}

.pc-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.pc-per {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
}

.pc-feature--excluded {
  color: var(--text-muted);
}

.pc-feature--excluded svg path {
  stroke: var(--text-light);
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* === PRICING — Kostenlos/Plan A (hervorgehoben)/Plan B, Ohne-Abo-Block (2026-07-08) === */
.pricing-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto 48px;
  text-align: left;
  align-items: stretch;
}

.pricing-main-grid .pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card--abo {
  display: flex;
  flex-direction: column;
}

/* Plan A — the single highlighted card: dark navy, elevated, bordered.
   Child text colors are overridden here rather than adding new markup
   classes, so the same .pc-label/.pc-desc/.pc-feature/etc. structure works
   on both the white cards and this dark one. */
.pricing-card--popular {
  background: var(--navy);
  border: 2px solid var(--navy);
  transform: translateY(-10px);
  box-shadow: 0 16px 32px rgba(26, 39, 68, 0.22);
  /* Base text color for every descendant (headline, hero-metric number,
     feature list, ...) — set once here instead of enumerating every child
     selector, so nothing is missed (a missed child silently inherits the
     page's default dark navy text on this dark card = unreadable). Only
     elements that need a MUTED shade get an explicit override below. */
  color: var(--white);
}

.pricing-card--popular .pc-label,
.pricing-card--popular .pc-per {
  color: rgba(255, 255, 255, 0.65);
}

/* .pc-amount/.pc-desc/.pc-feature each carry their OWN hardcoded navy color
   from the base (light-card) rules below — an explicit rule on an element
   always wins over an inherited one, no matter what the ancestor's color
   is. The base `color: white` on .pricing-card--popular above only reaches
   elements that don't set their own color (e.g. .pc-hero-metric-number via
   color:inherit) — everything else needs its own override here, or it
   silently renders navy-on-navy. (Learned this the hard way: 2026-07-08,
   see MEMORY.md — verify every .pc-* selector used in the popular card's
   markup against this list before trusting inheritance again.) */
.pricing-card--popular .pc-amount,
.pricing-card--popular .pc-desc,
.pricing-card--popular .pc-feature {
  color: var(--white);
}

.pricing-card--popular .pc-fineprint {
  color: rgba(255, 255, 255, 0.55);
}

.pc-badge--popular {
  background: var(--amber);
  color: var(--navy);
}

/* Held element — the Vorgänge count is the hero of each paid card, not a
   grey side note. */
.pc-hero-metric {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(26, 39, 68, 0.05);
}

.pricing-card--popular .pc-hero-metric {
  background: rgba(255, 255, 255, 0.1);
}

.pc-hero-metric-number {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;
  color: inherit;
}

.pc-hero-metric-contrast {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
  margin-top: 2px;
}

.pricing-card--popular .pc-hero-metric-contrast {
  color: var(--amber-light);
}

/* "Alles aus X, plus:" — additive framing between tiers */
.pc-plus-line {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.pricing-card--popular .pc-plus-line {
  color: rgba(255, 255, 255, 0.55);
}

.pc-feature-muted {
  opacity: 0.65;
  font-weight: 400;
}

/* Restrictions (no rollover, etc.) live here, never as a checklist item */
.pc-fineprint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.5;
}

/* Same amber styling as the active .pc-cta on every card, including the
   dark Plan-A one — a washed-out "disabled" look made it nearly invisible
   there and inconsistent with the other cards; cursor:not-allowed is enough
   to signal it's not clickable yet. */
.pc-cta--disabled {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: not-allowed;
  text-align: center;
}

.pc-cta-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 8px;
}

.pricing-card--popular .pc-cta-note {
  color: rgba(255, 255, 255, 0.6);
}

.pc-cta--secondary {
  background: var(--white);
  border: 1px solid var(--navy);
  color: var(--navy);
}

/* Ohne Abo — full-width, two columns: price/CTA left, tinted feature panel right */
.pricing-creditpack {
  max-width: 1040px;
  margin: 0 auto 24px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  text-align: left;
}

.cp-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cp-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cp-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 6px 0 16px;
}

.cp-right {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.cp-right-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

/* === CLOSING === */
.closing {
  padding: 96px 24px;
  background: var(--white);
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.closing-icon {
  width: 96px;
  height: 96px;
  background: #fffbeb;
  border: 2px solid #fde68a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-inline: auto;
}

.closing-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-inline: auto;
}

.closing-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.125rem;
  color: var(--amber);
  letter-spacing: 0.02em;
  /* breathing room below the CTA button that now sits above the sign-off */
  margin-top: 24px;
}

/* === SECTION SUBTITLE === */
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin-top: 8px;
}

/* === VERTRAUEN === */
.vertrauen {
  padding: 96px 24px;
  background: var(--bg);
}

.vertrauen-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.vertrauen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.vertrauen-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.vk-icon {
  margin-bottom: 20px;
}

.vk-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.125rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.vk-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.vertrauen-disclaimer {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 16px 20px;
  background: var(--bg-alt);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.6;
  max-width: 680px;
}

/* === FAQ === */
.faq {
  padding: 96px 24px;
  background: var(--white);
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  list-style: none;
  padding: 20px 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  line-height: 1.5;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--amber);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 8px 20px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--navy);
  text-decoration: underline;
}

/* === PRICING UPDATES === */
.pricing-card--active {
  border-color: var(--navy);
}

.pc-badge--beta {
  background: #16a34a;
}

.pc-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.pc-cta:hover {
  background: var(--amber-light);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-legal-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal-link:hover {
  color: var(--navy);
}

.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* === WARUM === */
.warum {
  padding: 96px 24px;
  background: var(--white);
}

.warum-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Visually-hidden utility (accessible caption, reused by other sections if needed) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Table wrapper enables horizontal scroll on narrow viewports */
.warum-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.warum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  table-layout: fixed;
}

/* Column widths */
.wt-col-feature { width: 38%; }
.wt-col-ki,
.wt-col-scan    { width: 18%; }
.wt-col-bk      { width: 26%; }

/* Header row */
.warum-table thead tr {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.warum-table th {
  padding: 16px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  vertical-align: bottom;
  color: var(--text-muted);
}

.warum-table th.wt-col-feature {
  text-align: left;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.wt-col-bk--highlight {
  background: #fffbeb;
  border-left: 1px solid #fde68a;
  border-right: 1px solid #fde68a;
}

.wt-col-label {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-weight: 400;
  margin-top: 4px;
}

.wt-col-sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.wt-col-logo {
  display: block;
  margin-bottom: 4px;
}

/* Body rows */
.warum-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.warum-table tbody tr:last-child {
  border-bottom: none;
}

.warum-table tbody tr:hover {
  background: var(--bg);
}

.warum-table tbody tr:hover .wt-cell--highlight {
  background: #fef3c7;
}

/* Feature cell (left column) */
.wt-feature {
  padding: 20px 20px 20px 24px;
  vertical-align: middle;
}

.wt-feature-text {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

.wt-feature-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 3px;
}

/* Data cells */
.wt-cell {
  padding: 20px 12px;
  text-align: center;
  vertical-align: middle;
}

.wt-cell--highlight {
  background: #fffbeb;
  border-left: 1px solid #fde68a;
  border-right: 1px solid #fde68a;
}

.wt-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.wt-cell-note {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.wt-cell--highlight .wt-cell-note {
  color: #92400e;
  font-weight: 500;
}

/* Disclaimer note below table */
.warum-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-left: 3px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 720px;
}

/* === WARUM MOBILE CARDS === */
/* Cards are hidden on desktop; table is shown */
.warum-cards {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.warum-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.warum-card--briefklar {
  border-color: #fde68a;
  background: #fffbeb;
}

.wc-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.warum-card--briefklar .wc-header {
  border-bottom-color: #fde68a;
}

.wc-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.0625rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.wc-sub {
  font-size: 0.75rem;
  color: var(--text-light);
}

.warum-cards-others {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.wc-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.wc-item svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.wc-item--yes {
  color: var(--text);
  font-weight: 500;
}

.wc-item--partial {
  color: var(--text-muted);
}

.wc-item--no {
  color: var(--text-light);
}

.wc-item--unknown {
  color: var(--text-light);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: 240px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-connector {
    display: none;
  }

  .whoclar-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vertrauen-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-main-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card--popular {
    transform: none;
  }

  .pricing-creditpack {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer-legal-nav {
    justify-content: flex-start;
  }

  /* Warum section: hide table, show stacked cards */
  .warum-table-wrap {
    display: none;
  }

  .warum-cards {
    display: flex;
  }
}

/* Narrow mobile: stack the "others" cards too */
@media (max-width: 480px) {
  .warum-cards-others {
    grid-template-columns: 1fr;
  }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
  .hero-headline {
    animation: fadeUp 0.6s ease-out;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
/* === LANGUAGE SWITCHER (partials/lang-switcher.ejs) ===
   Pure <details>/<summary> dropdown — no JavaScript, works on every page. */
.lang-switcher {
  position: relative;
}

.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s, color 0.15s;
}

.lang-switcher-toggle::-webkit-details-marker { display: none; }

.lang-switcher-toggle:hover,
.lang-switcher[open] .lang-switcher-toggle {
  background: var(--bg-alt);
  color: var(--navy);
}

.lang-switcher-toggle:focus-visible {
  outline: 2px solid var(--amber, #f59e0b);
  outline-offset: 2px;
}

.lang-switcher-icon { flex: 0 0 auto; }

.lang-switcher-current {
  max-width: 9ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-switcher-caret {
  flex: 0 0 auto;
  transition: transform 0.15s;
}

.lang-switcher[open] .lang-switcher-caret { transform: rotate(180deg); }

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  z-index: 200;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.lang-switcher-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--navy);
  text-decoration: none;
}

.lang-switcher-option:hover { background: var(--bg-alt); }

.lang-switcher-option.is-current {
  font-weight: 600;
  color: var(--navy);
}

/* Mobile: the switcher label shrinks to the globe icon to save nav width. */
@media (max-width: 560px) {
  .lang-switcher-current { display: none; }
  .lang-switcher-menu { min-width: 170px; }
}

/* === RTL SUPPORT (Arabic) ===
   The layout is mostly flex/grid and mirrors automatically once dir="rtl" is
   set on <html>. These rules fix the places that use physical properties. */
[dir="rtl"] .nav-auth-links,
[dir="rtl"] .nav-back {
  margin-left: 0;
  margin-inline-start: auto;
}

[dir="rtl"] .hero-cta-btn,
[dir="rtl"] .pc-cta,
[dir="rtl"] .btn-primary {
  /* Arrow glyphs in CTA copy point the wrong way in RTL; the locale files use
     a left-pointing arrow for ar, so nothing to flip here — but keep text
     direction explicit so mixed German/Arabic strings do not reorder. */
  unicode-bidi: plaintext;
}

[dir="rtl"] .step-connector svg,
[dir="rtl"] .arrow-down svg {
  transform: scaleX(-1);
}

[dir="rtl"] .warum-table th,
[dir="rtl"] .warum-table td,
[dir="rtl"] .legal-content,
[dir="rtl"] .app-header {
  text-align: right;
}

/* Amounts, dates, §-citations and the extracted German letter text must keep
   LTR reading order inside an RTL page. */
[dir="rtl"] .deadline-date,
[dir="rtl"] .amount-chip,
[dir="rtl"] .raw-text,
[dir="rtl"] .deadline-verified-list,
[dir="rtl"] code,
[dir="rtl"] pre {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

/* Active page marker in the shared app nav (partials/app-nav.ejs). */
.nav-auth-link.is-active {
  font-weight: 600;
  color: var(--navy);
}
