/* Shared sections for the Nachsorge / PRP / PRF focus. Uses the existing palette and typefaces. */
.med-section {
  --med-gold: #cfb68d;
  --med-ink: #090909;
  --med-muted: #606060;
  --med-line: #ddd4c9;
  position: relative;
  padding: 88px 24px;
  background: #fff;
  color: var(--med-ink);
  font-family: "Montserrat", sans-serif;
}
.med-section.med-tint { background: #f6f3ee; }
.med-section.med-dark { background: #090909; color: #fff; }
.med-inner { max-width: 1140px; margin: 0 auto; }
.med-inner.med-narrow { max-width: 820px; }

.med-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--med-gold);
}
.med-title {
  margin: 0 0 20px;
  font-family: "La Luxes Serif", "Montserrat", sans-serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}
.med-subtitle {
  margin: 36px 0 12px;
  font-family: "La Luxes Serif", "Montserrat", sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: inherit;
}
.med-lead {
  margin: 0 0 20px;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}
.med-section p, .med-section li { font-size: 16px; line-height: 1.75; font-weight: 400; }
.med-section p { margin: 0 0 16px; }
.med-section a:not(.med-btn) { color: inherit; text-decoration: underline; text-decoration-color: var(--med-gold); text-underline-offset: 3px; }
.med-section a:not(.med-btn):hover { text-decoration-thickness: 2px; }
.med-muted { color: var(--med-muted); }
.med-dark .med-muted { color: #c9c9c9; }

.med-grid {
  display: grid;
  gap: 0;
  margin: 40px 0 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--med-line);
}
.med-grid.med-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.med-item { padding: 28px 32px 28px 0; }
.med-item + .med-item { padding-left: 32px; border-left: 1px solid var(--med-line); }
.med-item h3 {
  margin: 0 0 12px;
  font-family: "La Luxes Serif", "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  color: inherit;
}
.med-item p { margin-bottom: 14px; }
.med-more {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.med-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.med-steps li { position: relative; padding-top: 52px; counter-increment: step; }
.med-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: "La Luxes Serif", "Montserrat", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: var(--med-gold);
}
.med-steps li::after { content: ""; position: absolute; top: 18px; left: 56px; right: 0; height: 1px; background: rgba(207, 182, 141, 0.5); }
.med-steps strong { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 600; }
.med-steps span { display: block; font-size: 15px; line-height: 1.7; color: #d6d6d6; }

.med-note {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--med-gold);
  background: rgba(207, 182, 141, 0.14);
}
.med-note p:last-child { margin-bottom: 0; }
.med-note strong { font-weight: 600; }
.med-dark .med-note { background: rgba(255, 255, 255, 0.06); }

.med-answer {
  margin: 0 0 8px;
  padding: 28px 32px;
  border: 1px solid var(--med-line);
  background: #fff;
}
.med-answer h2 { margin: 0 0 12px; font-family: "La Luxes Serif", "Montserrat", sans-serif; font-size: 26px; font-weight: 400; line-height: 1.25; }
.med-answer p:last-child { margin-bottom: 0; }

.med-timeline { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--med-line); }
.med-timeline li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--med-line); }
.med-timeline strong { font-weight: 600; }
.med-timeline span { display: block; }

.med-list { margin: 0 0 20px; padding-left: 20px; }
.med-list li { margin-bottom: 8px; padding-left: 4px; }
.med-list li::marker { color: var(--med-gold); }

.med-table-wrap { margin: 24px 0; overflow-x: auto; }
.med-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.med-table th, .med-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--med-line); line-height: 1.6; }
.med-table thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 2px solid var(--med-gold); }
.med-table td:first-child, .med-table tbody th { font-weight: 600; width: 28%; }
.med-price { white-space: nowrap; font-weight: 600; }

.med-faq { margin-top: 28px; border-top: 1px solid var(--med-line); }
.med-dark .med-faq, .med-dark .med-faq details { border-color: rgba(207, 182, 141, 0.35); }
.med-faq details { border-bottom: 1px solid var(--med-line); }
.med-faq summary {
  position: relative;
  display: block;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}
.med-faq summary::-webkit-details-marker { display: none; }
.med-faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 26px; font-weight: 300; color: var(--med-gold); }
.med-faq details[open] summary::after { content: "\2212"; }
.med-faq summary:focus-visible { outline: 2px solid var(--med-gold); outline-offset: 2px; }
.med-faq details > div { padding: 0 48px 8px 0; }

.med-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 32px; }
.med-btn {
  --med-gold: #cfb68d;
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--med-gold);
  background: var(--med-gold);
  color: #090909;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.med-btn:hover { background: transparent; color: var(--med-gold); }
.med-dark .med-btn:hover { color: #fff; }
.med-btn.med-btn-ghost { background: transparent; color: inherit; }
.med-btn.med-btn-ghost:hover { background: var(--med-gold); color: #090909; }
.med-phone { font-size: 15px; font-weight: 500; }

.med-linklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.med-linklist li { border-bottom: 1px solid var(--med-line); }
.med-linklist a { display: block; padding: 14px 0; text-decoration: none !important; font-weight: 500; }
.med-linklist a::after { content: " \2192"; color: var(--med-gold); }
.med-linklist a:hover { color: #7a6439; }

.med-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.med-hero-cta .med-btn { padding: 13px 24px; }
.med-hero-cta .med-btn.med-btn-ghost { color: #fff; border-color: #fff; }
.med-hero-cta .med-btn.med-btn-ghost:hover { background: #fff; color: #090909; }

/* One button shape for the whole site, modelled on the hero buttons. Colours stay per context. */
.med-btn,
.kraft-button.kraft-button-link,
.replica-whatsapp-cta,
.replica-root button.replica-brand-button,
a[style*="CFB68D"][target="_blank"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  height: auto;
  padding: 14px 30px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 0 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.14em !important;
  text-align: center;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: normal;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.kraft-button.kraft-button-link .kraft-button-text,
.kraft-button.kraft-button-link .kraft-button-content-wrapper {
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-transform: inherit !important;
}
.med-btn:not(.med-btn-ghost) { color: #090909 !important; }
.med-btn:not(.med-btn-ghost):hover { background: transparent; color: #cfb68d !important; }
.med-btn.med-btn-ghost { color: inherit !important; }
.med-hero-cta .med-btn.med-btn-ghost { color: #fff !important; }
.med-hero-cta .med-btn.med-btn-ghost:hover { background: #fff; color: #090909 !important; }
.med-btn.med-btn-ghost:hover { color: #090909 !important; }
.replica-whatsapp-cta { min-height: 50px; padding: 14px 24px !important; color: #fff; }
.replica-whatsapp-cta:hover { background: #cfb68d; border-color: #cfb68d; color: #090909 !important; }
a[style*="CFB68D"][target="_blank"]:hover { background: transparent !important; color: #cfb68d !important; }
.replica-root button.replica-brand-button:hover { border-color: #cfb68d; background: transparent; color: #cfb68d; }
.med-btn:focus-visible,
.kraft-button.kraft-button-link:focus-visible,
.replica-whatsapp-cta:focus-visible,
.replica-root button.replica-brand-button:focus-visible { outline: 2px solid #cfb68d; outline-offset: 3px; }
@media (max-width: 560px) {
  .med-btn, .kraft-button.kraft-button-link, .replica-root button.replica-brand-button { padding: 14px 22px !important; }
}

.med-footnote { margin-top: 24px; font-size: 14px !important; line-height: 1.6 !important; color: var(--med-muted); }
.med-dark .med-footnote { color: #bdbdbd; }

/* Home hero: the new headline is longer than the original claim. */
.kraft-34 .main-banner-txt1 .kraft-heading-title {
  max-width: 15em;
  font-size: clamp(34px, 4.4vw, 68px) !important;
  line-height: 1.12 !important;
}
.kraft-34 .main-banner-txt2 .kraft-heading-title {
  max-width: 34em;
  font-size: clamp(17px, 1.7vw, 24px) !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  .med-section { padding: 64px 20px; }
  .med-grid, .med-grid.med-two { grid-template-columns: 1fr; }
  .med-item, .med-item + .med-item { padding: 24px 0; border-left: 0; }
  .med-item + .med-item { border-top: 1px solid var(--med-line); }
  .med-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .med-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .med-linklist { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .med-steps { grid-template-columns: 1fr; }
  .med-lead { font-size: 17px; }
  .med-answer { padding: 22px 20px; }
  .med-faq details > div { padding-right: 0; }
  .med-btn { width: 100%; text-align: center; }
  .med-hero-cta .med-btn { width: auto; }
}
