/* Readable-theme overrides for the life-situation matrix on NachlassGestalten.de */

/* styles-readable.css:1462-1851 */
body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot-box {
  align-items: center;
  max-width: 46rem;
  border: 1px solid rgba(61, 85, 104, 0.12);
  border-left: 3px solid var(--brand-gold);
  background: #eceae4;
  box-shadow: none;
}

body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot-box,
body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot-box *:not(svg):not(svg *) {
  color: var(--brand-navy);
}

body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot-box-icon {
  color: var(--brand-gold) !important;
}

body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot-box-icon > svg {
  fill: none;
  color: inherit;
}

body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot-box-icon svg [stroke] {
  stroke: currentColor;
  fill: none;
}

body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot-box-icon svg [fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot {
  color: var(--brand-navy);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 400;
}

body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot strong,
body.theme-v2.theme-readable .dn-audience-to-arch .dn-audience__foot .dn-audience__foot-match {
  color: var(--brand-navy);
  font-weight: 550;
}

/* Readable content sections */
body.theme-v2.theme-readable .dn-section,
body.theme-v2.theme-readable .dn-section--alt,
body.theme-v2.theme-readable .dn-section--snk {
  color: var(--text);
  background: var(--bg-mid);
  border-color: var(--line);
}

body.theme-v2.theme-readable .dn-audience {
  --dn-audience-surface: #f5f3ee;
  color: var(--brand-navy);
  background:
    radial-gradient(ellipse 62% 40% at 100% 0%, rgba(218, 160, 72, 0.08), transparent 58%),
    var(--dn-audience-surface);
  border-top: 1px solid rgba(218, 160, 72, 0.28);
  border-color: rgba(218, 160, 72, 0.28);
}

body.theme-v2.theme-readable .dn-audience-flow {
  --dn-audience-surface: #f5f3ee;
}

body.theme-v2.theme-readable .dn-audience-rail--arcs {
  color: var(--brand-gold);
}

body.theme-v2.theme-readable .dn-audience-rail--right {
  color: var(--brand-navy);
}

body.theme-v2.theme-readable .dn-audience {
  --dn-audience-rail-cutout: var(--dn-audience-surface);
}

body.theme-v2.theme-readable .dn-audience-rail__label,
body.theme-v2.theme-readable .dn-audience-rail__label--shaft,
body.theme-v2.theme-readable .dn-audience-rail__arcs-text {
  fill: var(--brand-gold);
  color: var(--brand-gold);
  font-weight: 700;
  letter-spacing: 0.16em;
}

body.theme-v2.theme-readable .dn-section--alt,
body.theme-v2.theme-readable .dn-section--snk {
  background: var(--bg-mid);
}

body.theme-v2.theme-readable .dn-section h1,
body.theme-v2.theme-readable .dn-section h2,
body.theme-v2.theme-readable .dn-section h3,
body.theme-v2.theme-readable .dn-section p,
body.theme-v2.theme-readable .dn-section li,
body.theme-v2.theme-readable .dn-section strong {
  color: var(--text);
}

body.theme-v2.theme-readable .dn-audience p.dn-audience-rail__label,
body.theme-v2.theme-readable .dn-audience p.dn-audience-rail__label--shaft {
  color: var(--brand-gold);
}

body.theme-v2.theme-readable .dn-audience .dn-section__head h2 {
  color: var(--brand-navy);
}

body.theme-v2.theme-readable .dn-audience .dn-section__head .sub,
body.theme-v2.theme-readable .dn-audience .dn-section__head .sub em {
  color: rgba(6, 22, 38, 0.72);
}

body.theme-v2.theme-readable .dn-audience .dn-section__head strong {
  color: var(--brand-navy);
}

body.theme-v2.theme-readable .dn-audience .dn-section__head {
  margin-bottom: 0.4rem;
}

body.theme-v2.theme-readable .dn-audience__infobox {
  display: flex;
  align-items: center;
  gap: 0.75rem 0.9rem;
  width: 100%;
  max-width: 46rem;
  margin: 1rem 0 0;
  padding: 0.7rem 0.95rem 0.75rem 0.85rem;
  border: 1px solid rgba(61, 85, 104, 0.12);
  border-left: 3px solid var(--brand-gold);
  border-radius: 0.45rem;
  background: #eceae4;
  box-shadow: none;
}

body.theme-v2.theme-readable .dn-audience__infobox-icon {
  flex: 0 0 auto;
  margin-top: 0;
  align-self: center;
  color: var(--brand-gold);
  line-height: 0;
}

body.theme-v2.theme-readable .dn-audience__infobox-icon svg {
  display: block;
}

body.theme-v2.theme-readable .dn-audience__infobox p {
  margin: 0;
  color: var(--brand-navy);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
}

body.theme-v2.theme-readable .dn-audience__infobox strong {
  color: var(--brand-navy);
  font-weight: 700;
}

body.theme-v2.theme-readable .dn-audience__infobox .dn-snk-lead__term {
  color: var(--brand-gold);
  font-weight: 700;
}

body.theme-v2.theme-readable .dn-audience__matrix-mobile-note {
  margin-top: 1.85rem;
}

@media (max-width: 640px) {
  body.theme-v2.theme-readable .dn-audience__infobox {
    align-items: center;
    padding: 0.65rem 0.8rem 0.7rem 0.75rem;
  }
}

body.theme-v2.theme-readable .dn-section p.sub,
body.theme-v2.theme-readable .dn-kicker,
body.theme-v2.theme-readable .dn-price-card__subtitle,
body.theme-v2.theme-readable .dn-ul,
body.theme-v2.theme-readable .dn-price small,
body.theme-v2.theme-readable .dn-download-hub__lead,
body.theme-v2.theme-readable .dn-download-hub__hint,
body.theme-v2.theme-readable .dn-download-hub__os-meta {
  color: var(--text-soft);
}

body.theme-v2.theme-readable .dn-kicker {
  color: #9a641d;
}

/* Audience matrix — flush with section (no panel box) */
body.theme-v2.theme-readable .dn-audience__matrix-panel {
  color: var(--brand-navy);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding-top: 0.2rem;
  padding-left: 0;
  padding-right: 0;
}

body.theme-v2.theme-readable .dn-audience__matrix-axis-shell {
  color: var(--brand-navy);
  /* Identical to section surface so sticky scroll never mismatches */
  background: var(--dn-audience-surface);
  border: none;
  box-shadow: 0 12px 16px -8px rgba(6, 22, 38, 0.05);
}

body.theme-v2.theme-readable .dn-audience-card {
  color: var(--brand-navy);
  background: #fff;
  border: 1px solid rgba(6, 22, 38, 0.55);
  box-shadow: 0 10px 28px rgba(6, 22, 38, 0.07);
}

body.theme-v2.theme-readable .dn-age-col__num {
  color: var(--brand-navy);
  font-weight: 750;
}

body.theme-v2.theme-readable .dn-audience-card h3,
body.theme-v2.theme-readable .dn-audience-card > p:not(.dn-audience-card__band, .dn-audience-card__pull),
body.theme-v2.theme-readable .dn-audience-card label,
body.theme-v2.theme-readable .dn-audience-card__pull,
body.theme-v2.theme-readable .dn-audience-card__icp-match {
  color: var(--brand-navy);
}

body.theme-v2.theme-readable .dn-matrix-rule {
  position: relative;
  z-index: 1;
  height: clamp(3px, 0.42vw, 5px);
  margin: 0;
  padding: 0;
  border: none;
  background: var(--brand-navy);
  overflow: visible;
}

body.theme-v2.theme-readable .dn-matrix-rule__range {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  border: none;
  background: var(--brand-gold);
  opacity: 0;
  transform: none;
  pointer-events: none;
  /* Only fade — geometry is set instantly for a clean edge */
  transition: opacity 0.18s ease;
}

body.theme-v2.theme-readable .dn-audience__matrix-panel.is-axis-hot .dn-matrix-rule__range {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-v2.theme-readable .dn-matrix-rule__range {
    transition: none;
  }

  body.theme-v2.theme-readable .dn-age-col::after {
    transition: none;
  }
}

body.theme-v2.theme-readable .dn-audience__matrix-axis {
  --dn-age-icon-h: clamp(36px, 6vw, 88px);
  --dn-age-icon-w: calc(var(--dn-age-icon-h) * 467 / 778);
  --dn-age-bubble: 1.3875rem; /* 1.85rem − 25% */
  /* Platz unter der Linie für die Halbbubbles */
  padding-bottom: calc(var(--dn-age-bubble) * 0.55 + 0.45rem);
  overflow: visible;
}

body.theme-v2.theme-readable .dn-audience__matrix-xscroll--axis,
body.theme-v2.theme-readable .dn-audience__matrix-axis-shell,
body.theme-v2.theme-readable .dn-age-col {
  overflow: visible;
}

body.theme-v2.theme-readable .dn-age-col::after {
  content: "";
  position: absolute;
  left: calc(var(--dn-age-icon-w) * 0.5);
  top: 100%;
  bottom: auto;
  z-index: 6;
  width: var(--dn-age-bubble);
  height: calc(var(--dn-age-bubble) * 0.5);
  border: none;
  /* Echter Halbkreis: flache Kante oben (an der Linie), Kurve nur nach unten */
  border-radius: 0 0 999px 999px;
  background: var(--brand-navy);
  clip-path: none;
  box-shadow: 0 0.22rem 0.45rem rgba(6, 22, 38, 0.22);
  transform: translate(-50%, 0);
  pointer-events: none;
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
}

body.theme-v2.theme-readable .dn-age-col.is-axis-hot::after {
  background: var(--brand-gold);
  box-shadow: 0 0.28rem 0.55rem rgba(218, 160, 72, 0.4);
}

body.theme-v2.theme-readable .dn-age-col.is-axis-hot .dn-age-col__num {
  color: var(--brand-gold);
}

body.theme-v2.theme-readable .dn-age-col img {
  height: var(--dn-age-icon-h);
  filter:
    drop-shadow(0.35px 0 0 rgba(6, 22, 38, 0.55))
    drop-shadow(-0.35px 0 0 rgba(6, 22, 38, 0.55))
    drop-shadow(0 0.35px 0 rgba(6, 22, 38, 0.55))
    drop-shadow(0 -0.35px 0 rgba(6, 22, 38, 0.55))
    drop-shadow(0 1px 3px rgba(6, 22, 38, 0.1));
}

body.theme-v2.theme-readable .dn-audience-card__band {
  color: var(--brand-navy);
}

body.theme-v2.theme-readable .dn-audience-card__quote {
  position: relative;
  color: var(--brand-navy);
  background: #f3ead6;
  border: none;
  border-top: none;
  border-radius: 0.55rem;
  padding: 0.75rem 0.9rem 0.75rem 0.95rem;
  margin-top: 0.85rem;
}

body.theme-v2.theme-readable .dn-audience-card__quote::before {
  content: "“";
  position: absolute;
  top: 0.15rem;
  left: 0.55rem;
  color: var(--brand-gold);
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}

body.theme-v2.theme-readable .dn-audience-card__quote p {
  color: var(--brand-navy);
  padding-left: 0.85rem;
}

body.theme-v2.theme-readable .dn-audience-card__pull {
  border-color: rgba(6, 22, 38, 0.28);
  background: rgba(6, 22, 38, 0.04);
}

body.theme-v2.theme-readable .dn-audience-card__checkbox {
  border-color: rgba(218, 160, 72, 0.72);
  background: #fff;
}

body.theme-v2.theme-readable .dn-audience-card__checkbox:checked {
  border-color: var(--brand-gold);
  background-color: var(--brand-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%23061626' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5 9-11'/%3E%3C/svg%3E");
}

body.theme-v2.theme-readable .dn-audience-card--heir-back,
body.theme-v2.theme-readable .dn-audience-card--digital-back {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 244, 236, 0.96) 100%);
  border-color: rgba(6, 22, 38, 0.42);
  border-style: dashed;
}

body.theme-v2.theme-readable .dn-audience-card--heir-back h3,
body.theme-v2.theme-readable .dn-audience-card--digital-back h3 {
  color: var(--brand-navy);
}

/* styles-readable.css:3002-3031 */
/* Info-„i“-Icons in Infoboxen: immer Brand-Gold — Ring hohl, Dot gefüllt */
body.theme-v2.theme-readable .dn-audience__infobox-icon,
body.theme-v2.theme-readable .dn-audience__foot-box-icon,
body.theme-v2.theme-readable .dn-snk-context-to-arch__box-icon,
body.theme-v2.theme-readable .dn-snk-context-why__disclaimer .dn-audience__infobox-icon,
body.theme-v2.theme-readable .dn-snk-context-why__infobox .dn-audience__infobox-icon {
  color: var(--brand-gold) !important;
}

body.theme-v2.theme-readable .dn-audience__infobox-icon > svg,
body.theme-v2.theme-readable .dn-audience__foot-box-icon > svg,
body.theme-v2.theme-readable .dn-snk-context-to-arch__box-icon > svg {
  display: block;
  fill: none;
  color: inherit;
}

body.theme-v2.theme-readable .dn-audience__infobox-icon svg [stroke],
body.theme-v2.theme-readable .dn-audience__foot-box-icon svg [stroke],
body.theme-v2.theme-readable .dn-snk-context-to-arch__box-icon svg [stroke] {
  stroke: currentColor;
  fill: none;
}

body.theme-v2.theme-readable .dn-audience__infobox-icon svg [fill="currentColor"],
body.theme-v2.theme-readable .dn-audience__foot-box-icon svg [fill="currentColor"],
body.theme-v2.theme-readable .dn-snk-context-to-arch__box-icon svg [fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}


/* NG: keep the estimate box on the same light surface as the matrix (no navy fade into SNK). */
body.theme-v2.theme-readable .dn-audience-to-arch {
  background: var(--dn-audience-surface, #f5f3ee);
  padding-bottom: clamp(1.2rem, 3vw, 2rem);
}
body.theme-v2.theme-readable .dn-audience-to-arch::before,
body.theme-v2.theme-readable .dn-audience-to-arch::after {
  display: none !important;
}
