/* ==========================================================================
   Richtung A · Vorsorge & IGeL – vollständiger Katalog der Praxis (Okt. 2026)
   Realistische Mikrodioramen statt Icons, Dauer/Kosten unten über dem CTA,
   Themenpakete, Preisliste, Grundsätze. Ergänzt styles.css.
   ========================================================================== */

/* Realistisches Diorama (dioramen-real/) */
.dio { display: block; }
.dio img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dio.is-missing { display: none; }

/* --------------------------------------------------------------------------
   Angebotskarten mit Diorama – Dauer und Kosten bündig über dem CTA
   -------------------------------------------------------------------------- */
.igel { gap: 16px; }
.igel__dio {
  position: relative; margin: -12px -10px 2px; height: 178px;
  border-radius: calc(var(--r-card) - 8px);
  background: radial-gradient(70% 85% at 50% 62%, #FFF6D9 0%, #FBF3E6 46%, #F5EEE4 100%);
  overflow: hidden; isolation: isolate;
}
.igel__dio img { padding: 8px 18px 2px; filter: drop-shadow(0 16px 18px rgba(120, 50, 20, .16)); transition: transform .7s var(--ease); }
@media (hover: hover) { .igel:hover .igel__dio img { transform: translateY(-4px) scale(1.035); } }
@media (min-width: 760px) { .igel__dio { margin: -16px -16px 4px; height: 200px; } }
.igel h3 small { margin-top: 4px; }

.igel__meta { margin-top: auto; }
.igel .btn { margin-top: 0; }
.igel .btn .ico { width: 20px; height: 20px; }
.igel__meta--multi { grid-template-columns: 1fr; }
.igel__meta--multi > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 10px; }
.igel__meta--multi > div:first-child dd { margin: 0; text-align: right; }

ul.igel__prices, ul.igel__vals { display: grid; margin-top: 4px; }
.igel__prices li, .igel__vals li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding-block: 6px; }
.igel__prices li + li, .igel__vals li + li { border-top: 1px dashed var(--line-2); }
.igel__prices span { font-weight: 500; font-size: .9375rem; color: var(--ink-2); }
.igel__prices b, .igel__vals b { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Themenpakete (Blutwerte) */
.igel__text { color: var(--ink-2); font-size: 1.0625rem; }
.igel__tier { padding: 6px 16px 8px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.igel__tier-h { margin: 6px 0 0; font-size: .8125rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--red-d); }
.igel__vals li { font-size: 1rem; }
.igel__vals span { color: var(--ink); }

.checks--4 { display: grid; gap: 16px; }
@media (min-width: 900px) { .checks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) {
  /* Breite Paketkarte: Diorama links neben Titel und Text, Werte darunter */
  .igel--pkg { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 24px; row-gap: 14px; align-content: start; }
  .igel--pkg > .igel__dio { grid-row: 1 / span 2; margin: -10px 0 0 -10px; height: 200px; }
  .igel--pkg > :not(.igel__dio) { grid-column: 2; }
  .igel--pkg > .igel__tiers, .igel--pkg > .igel__meta, .igel--pkg > .btn, .igel--pkg > .mock-note { grid-column: 1 / -1; }
  .igel--pkg > .igel__tiers { align-self: start; }
  .igel--pkg > .igel__meta { align-self: end; }
  .igel__tiers:not(.igel__tiers--2) .igel__vals { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .igel__tiers:not(.igel__tiers--2) .igel__vals li:nth-child(2) { border-top: 0; }
  .igel__tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .igel--pkg .igel__meta--multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .igel--pkg .igel__meta--multi > div:first-child { display: block; padding-block: 12px; }
  .igel--pkg .igel__meta--multi > div:first-child dd { margin-top: 2px; text-align: left; }
  .igel--pkg .igel__prices li { padding-block: 2px; }
}
.igel__tiers { display: grid; gap: 12px; }
.panel--sand .check { border: 1px solid rgba(216, 204, 188, .7); box-shadow: var(--shadow-1); }

/* Kopf Blutwerte mit Diorama */
.blut__head { display: grid; gap: 8px; }
.blut__visual { display: none; }
@media (min-width: 1100px) {
  .blut__head { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 48px; }
  .blut__visual { display: block; margin: -48px 0 -24px; }
  .blut__dio { aspect-ratio: 1; filter: drop-shadow(0 26px 30px rgba(120, 50, 20, .18)); }
}

/* Grundsätze der Praxis auf der roten Fläche */
/* ul.promise: die Reset-Regel ul[class] { margin: 0 } in styles.css ist spezifischer als .promise */
ul.promise { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 900px) { ul.promise { margin-top: 44px; } }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .promise { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.promise li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .9); font-size: 1rem; line-height: 1.45; }
.promise .ico { flex: none; margin-top: 2px; color: var(--yellow); }
.promise strong { display: block; margin-bottom: 2px; color: #fff; font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Preisliste aller Einzelwerte (aufklappbar)
   -------------------------------------------------------------------------- */
.pricelist { margin-top: 32px; border-radius: var(--r-card); background: var(--paper); border: 1px solid rgba(216, 204, 188, .7); box-shadow: var(--shadow-1); scroll-margin-top: 96px; }
.pricelist summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 18px 22px; border-radius: var(--r-card); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.pricelist summary::-webkit-details-marker { display: none; }
.pricelist summary:hover .pricelist__t { color: var(--red-d); }
.pricelist__sum { display: grid; gap: 2px; }
.pricelist__t { font-family: var(--ff-head); font-weight: 600; font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; transition: color .2s; }
.pricelist__s { color: var(--muted); font-size: 1rem; }
.pricelist__chev { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--yellow-xl); color: var(--red-d); transform: rotate(90deg); transition: transform .35s var(--ease), background .2s; }
.pricelist[open] .pricelist__chev { transform: rotate(-90deg); background: var(--yellow-l); }
.pricelist__grid { display: grid; gap: 14px; padding: 4px 14px 14px; }
@media (min-width: 760px) { .pricelist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 22px 22px; gap: 16px; } }
@media (min-width: 1100px) { .pricelist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pricegroup { padding: 18px 20px 12px; border-radius: var(--r-md); background: var(--bg); }
.pricegroup h3 { margin-bottom: 6px; font-size: 1.1875rem; }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { padding: 10px 0; vertical-align: top; }
.prices tr + tr > * { border-top: 1px solid var(--line); }
.prices th { padding-right: 12px; text-align: left; font-weight: 650; font-size: 1rem; line-height: 1.35; }
.prices th small { display: block; margin-top: 2px; font-weight: 450; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.prices td { text-align: right; white-space: nowrap; font-weight: 650; font-variant-numeric: tabular-nums; }
.pricelist__foot { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: .9375rem; }
.pricelist__foot .ico { flex: none; color: var(--red); margin-top: 2px; }

/* --------------------------------------------------------------------------
   Kassen-Vorsorge mit Diorama, Reise-Impfberatung
   -------------------------------------------------------------------------- */
.kasse__card { gap: 12px; }
.kasse__dio { margin: -10px -8px 4px; height: 168px; border-radius: calc(var(--r-card) - 8px); background: radial-gradient(70% 85% at 50% 62%, #FFF6D9 0%, #FBF3E6 46%, #F5EEE4 100%); }
@media (min-width: 760px) { .kasse__dio { margin: -16px -16px 4px; height: 188px; } }
.kasse__dio img { padding: 8px 18px 2px; filter: drop-shadow(0 16px 18px rgba(120, 50, 20, .16)); }
.kasse__extra { display: flex; gap: 8px; align-items: center; margin-top: auto; padding: 10px 14px; border-radius: var(--r-sm); background: var(--yellow-xl); font-weight: 600; color: var(--ink); }
.kasse__extra .ico { flex: none; color: var(--red); }
.kasse__extra a { color: var(--red-d); font-variant-numeric: tabular-nums; }
.kasse__more { display: grid; gap: 0 20px; align-items: start; }
@media (min-width: 1000px) { .kasse__more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.igel-aside { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 12px 20px 12px 12px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.igel-aside__dio { flex: none; width: 96px; height: 96px; }
.igel-aside h3 { font-size: 1.1875rem; margin-bottom: 2px; }
.igel-aside p { color: var(--ink-2); font-size: 1rem; }

/* --------------------------------------------------------------------------
   Ablauf mit Dioramen, „Wann ist eine IGeL sinnvoll?“
   -------------------------------------------------------------------------- */
.step--dio .step__dio { position: absolute; top: 10px; right: 12px; width: 92px; height: 92px; }
.step--dio h3 { padding-right: 84px; }
@media (min-width: 900px) {
  .step--dio { padding-top: 12px; }
  .step--dio .step__dio { position: relative; top: auto; right: auto; width: 100%; height: 150px; margin: 0 0 -6px; }
  .step--dio .step__dio img { filter: drop-shadow(0 14px 16px rgba(120, 50, 20, .15)); transition: transform .7s var(--ease); }
  .step--dio:hover .step__dio img { transform: translateY(-4px); }
  .step--dio h3 { padding-right: 0; }
}

.when { margin-top: 40px; padding: 24px 22px; border-radius: var(--r-card); background: var(--yellow-xl); }
@media (min-width: 760px) { .when { padding: 30px 32px; } }
.when__h { margin-bottom: 16px; font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); }
.when__list { display: grid; gap: 12px; counter-reset: when; }
@media (min-width: 760px) { .when__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; } }
@media (min-width: 1100px) { .when__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.when__list li { position: relative; display: grid; align-content: start; gap: 2px; padding-left: 44px; counter-increment: when; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.when__list li::before { content: counter(when); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 12px; background: var(--paper); color: var(--red); font-family: var(--ff-head); font-weight: 600; box-shadow: 0 6px 14px -8px rgba(176, 120, 0, .6); }
.when__list strong { color: var(--ink); font-size: 1.0625rem; }

@media (prefers-reduced-motion: reduce) { .igel__dio img, .step--dio .step__dio img { transition: none; } }
html.reduce-motion .igel__dio img, html.reduce-motion .step--dio .step__dio img { transition: none; transform: none !important; }

/* --------------------------------------------------------------------------
   Startseite: Dioramen in den Leistungskarten, weitere Checks als Pillen
   -------------------------------------------------------------------------- */
.service > .tile.tile--dio { width: 84px; height: 84px; margin: -10px 0 -6px -8px; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.tile--dio .dio { width: 100%; height: 100%; }
.tile--dio img { filter: drop-shadow(0 12px 14px rgba(120, 50, 20, .18)); transition: filter .5s var(--ease); }
@media (min-width: 1100px) { .service > .tile.tile--dio { width: 104px; height: 104px; margin: -14px 0 -10px -12px; } }
.service.is-active > .tile.tile--dio, :is(.card, .service):hover > .tile.tile--dio { box-shadow: none; }
.service.is-active > .tile--dio img { filter: drop-shadow(0 0 16px rgba(255, 204, 0, .5)) drop-shadow(0 12px 14px rgba(120, 50, 20, .18)); }

.more-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; }
.more-checks__label { margin-right: 4px; color: rgba(255, 255, 255, .85); font-weight: 600; }
.panel--checks a.more-checks__a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 12px 18px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); color: #fff; font-weight: 600; text-decoration: none; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.more-checks__a b { color: var(--yellow-l); font-weight: 650; font-variant-numeric: tabular-nums; }
.panel--checks a.more-checks__a:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 226, 139, .7); transform: translateY(-2px); }
html.reduce-motion .panel--checks a.more-checks__a:hover { transform: none; }

/* Beispielpreise Naturheilverfahren (Platzhalter, die Praxis trägt die GOÄ-Beträge ein) */
.nh-prices { margin-top: 28px; background: var(--paper); border: 1px solid rgba(216, 204, 188, .7); box-shadow: var(--shadow-1); }
.nh-prices h3 { margin-bottom: 4px; }
.prices td.is-tbd { color: var(--muted); font-weight: 600; font-style: italic; }
.nh-prices__foot { margin: 8px 0 4px; color: var(--muted); font-size: .9375rem; }

/* Vorsorge-Hero: Anruf-Button + Preis-Teaser */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 6px 0 4px; }
.price-teaser { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 8px 14px; border-radius: var(--r-md); background: var(--yellow-xl); border: 1px solid #F0DB9B; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.price-teaser .ico { flex: none; margin-top: 2px; color: var(--red); }
.price-teaser a { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-teaser small { color: var(--muted); font-size: .875rem; }

/* Kassen-Vorsorge mit vier Karten: 1 → 2 → 4 Spalten */
.kasse--4 { display: grid; gap: 16px; }
@media (min-width: 760px) { .kasse--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1280px) { .kasse--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .kasse--4 .card { padding: 26px 22px; } .kasse--4 .kasse__dio { margin: -10px -8px 4px; height: 160px; } }

/* --------------------------------------------------------------------------
   Blutwerte-Rechner in der Preisliste (calc.js): Werte anhaken, Summe unten in einer haftenden Leiste
   -------------------------------------------------------------------------- */
.calc-pick { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.calc-cb { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -1px; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--paper); color: transparent; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.calc-box .ico { width: 14px; height: 14px; stroke-width: 3; }
.calc-pick:hover .calc-box { border-color: var(--red); }
.calc-cb:checked + .calc-box { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.calc-cb:focus-visible + .calc-box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.prices tr:has(.calc-cb:checked) > * { background: rgba(255, 226, 139, .22); }
.prices th small { margin-left: 32px; }
html:not(.js) .calc-box, html:not(.js) .calc, html:not(.js) .calc__bar, html:not(.js) .calc-notes { display: none; }
html:not(.js) .prices th small { margin-left: 0; }

.calc { margin: 0 14px 12px; padding: 14px 18px; border-radius: var(--r-md); background: var(--yellow-xl); border: 1px solid #F0DB9B; }
@media (min-width: 760px) { .calc { margin: 0 22px 14px; } }
.calc__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.calc__title { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--ff-head); font-weight: 600; font-size: 1.1875rem; }
.calc__title .ico { color: var(--red); }
.calc__presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); }
.calc-preset { min-height: 36px; padding: 6px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: 600 .875rem/1.2 var(--ff-body); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.calc-preset:hover { border-color: var(--red); color: var(--red-d); }
.calc-preset.is-on { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.calc__bar { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 14px; padding: 12px 14px 12px 18px; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 14px 30px -18px rgba(120, 70, 10, .45), 0 0 0 1px rgba(216, 204, 188, .7); }
.calc__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; color: var(--muted); }
.calc__sum strong { font-family: var(--ff-head); font-size: 1.625rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.has-pick .calc__sum strong { color: var(--red-d); }
.calc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.calc-reset { min-height: 44px; padding: 8px 14px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--muted); font: 600 .9375rem/1.2 var(--ff-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
[data-calc]:not(.has-pick) .calc-reset { visibility: hidden; }
@media (min-width: 760px) { .calc__bar { margin: 0 22px; } }
.calc-notes { margin: 10px 16px 6px; }
@media (min-width: 760px) { .calc-notes { margin: 12px 24px 8px; } }
.calc__hint { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.calc__legal { margin: 8px 2px 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.calc__legal strong { font-weight: 650; }
