/* ADHS verstehen – ausschließlich routenspezifische Styles. */

body.adhs-verstehen-page .hero-actions .hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 4px;
  color: var(--understand-dark);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
  text-underline-offset: 4px;
}

body.adhs-verstehen-page .hero-actions .hero-secondary:hover {
  text-decoration: underline;
}

body.adhs-verstehen-page .hero-actions .hero-secondary:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--understand);
  outline-offset: 3px;
  text-decoration: underline;
}

body.adhs-verstehen-page #muster .pattern-card:nth-child(2),
body.adhs-verstehen-page #muster .pattern-card:nth-child(5) {
  transform: none;
}

body.adhs-verstehen-page
  #psychoedukation-grafisch
  .psycho-editorial-thought {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--understand);
  color: var(--understand-dark);
  font-weight: 680;
}

body.adhs-verstehen-page #ablauf .process-details {
  margin: 24px 0 0;
  text-align: center;
}

body.adhs-verstehen-page #ablauf .process-details a {
  color: var(--understand-dark);
  font-size: 0.94rem;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgba(63, 112, 128, 0.42);
  text-underline-offset: 4px;
}

body.adhs-verstehen-page #ablauf .process-details a:hover {
  text-decoration-color: currentColor;
}

body.adhs-verstehen-page
  #ablauf
  .process-details
  a:focus-visible {
  border-radius: 3px;
  outline: 3px solid var(--understand);
  outline-offset: 3px;
}

body.adhs-verstehen-page
  #ergebnis-fokusnah
  .outcome-visual-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

body.adhs-verstehen-page #ergebnis-fokusnah .outcome-icon {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  background: rgba(63, 112, 128, 0.12);
  color: var(--understand-dark);
}

body.adhs-verstehen-page #ergebnis-fokusnah .outcome-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

body.adhs-verstehen-page
  #ergebnis-fokusnah
  .outcome-grid-highlight {
  fill: currentColor;
  stroke: none;
  opacity: 0.16;
}

body.adhs-verstehen-page.comparison-startstyle.optimized-page #bruecke {
  --workshop-flow: #6d667e;
  --workshop-flow-dark: #554f67;
  padding-block: clamp(72px, 8vw, 108px);
  border-top: 1px solid rgba(217, 222, 213, 0.72);
  background:
    radial-gradient(circle at 12% 18%, rgba(63, 112, 128, 0.08), transparent 29%),
    linear-gradient(115deg, #f8f7f2 0%, #f2f6f3 100%);
}

body.adhs-verstehen-page #bruecke .section-intro {
  max-width: 800px;
}

body.adhs-verstehen-page #bruecke .entry-comparison-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.adhs-verstehen-page #bruecke .entry-comparison-card,
body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card
  + .entry-comparison-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 18px;
  min-width: 0;
  min-height: 350px;
  padding: 28px;
  border: 1px solid rgba(217, 222, 213, 0.94);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(229, 239, 242, 0.92), rgba(255, 255, 255, 0.96) 58%),
    #ffffff;
  box-shadow: 0 20px 48px rgba(32, 36, 42, 0.07);
}

body.adhs-verstehen-page #bruecke .entry-comparison-card.is-reset {
  background:
    linear-gradient(180deg, rgba(231, 240, 234, 0.94), rgba(255, 255, 255, 0.96) 58%),
    #ffffff;
}

body.adhs-verstehen-page #bruecke .entry-comparison-card.is-flow {
  background:
    linear-gradient(180deg, rgba(238, 234, 242, 0.96), rgba(255, 255, 255, 0.96) 58%),
    #ffffff;
}

body.adhs-verstehen-page #bruecke .entry-comparison-card::before {
  position: absolute;
  display: block;
  inset: 0 0 auto;
  width: auto;
  height: 5px;
  background: var(--understand);
  content: "";
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-reset::before {
  background: var(--reset);
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-flow::before {
  background: var(--workshop-flow);
}

body.adhs-verstehen-page #bruecke .entry-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.adhs-verstehen-page #bruecke .entry-comparison-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 6px;
  background: #dfecef;
  color: var(--understand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-reset
  .entry-comparison-label {
  background: #e1ebe5;
  color: var(--reset-dark);
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-flow
  .entry-comparison-label {
  background: #e8e4ed;
  color: var(--workshop-flow-dark);
}

body.adhs-verstehen-page #bruecke .entry-comparison-card h3 {
  max-width: 460px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card
  p:not(.entry-result) {
  max-width: 480px;
  margin: 0;
  color: #4f5962;
  font-size: 16px;
}

body.adhs-verstehen-page #bruecke .entry-comparison-card .entry-result {
  position: relative;
  max-width: 460px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.48;
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card
  .entry-result::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--understand-dark);
  content: "\2192";
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-reset
  .entry-result::before {
  color: var(--reset-dark);
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-flow
  .entry-result::before {
  color: var(--workshop-flow-dark);
}

body.adhs-verstehen-page #bruecke .entry-comparison-card .button {
  justify-self: start;
  align-self: end;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin-top: 4px;
  padding-inline: 20px;
  border-color: var(--understand);
  background: var(--understand);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(63, 112, 128, 0.22);
}

body.adhs-verstehen-page #bruecke .entry-comparison-card .button:hover {
  background: var(--understand-dark);
  box-shadow: 0 12px 26px rgba(63, 112, 128, 0.28);
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-reset
  .button {
  border-color: var(--reset);
  background: var(--reset);
  box-shadow: 0 10px 22px rgba(79, 113, 95, 0.22);
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-reset
  .button:hover {
  background: var(--reset-dark);
  box-shadow: 0 12px 26px rgba(79, 113, 95, 0.28);
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-flow
  .button {
  border-color: var(--workshop-flow);
  background: var(--workshop-flow);
  box-shadow: 0 10px 22px rgba(109, 102, 126, 0.22);
}

body.adhs-verstehen-page
  #bruecke
  .entry-comparison-card.is-flow
  .button:hover {
  background: var(--workshop-flow-dark);
  box-shadow: 0 12px 26px rgba(109, 102, 126, 0.28);
}

@media (hover: hover) {
  body.adhs-verstehen-page
    #bruecke
    .entry-comparison-card:has(.button:hover),
  body.adhs-verstehen-page
    #bruecke
    .entry-comparison-card:has(.button:focus-visible) {
    transform: translateY(-3px);
    border-color: rgba(29, 107, 102, 0.18);
    box-shadow: 0 24px 54px rgba(32, 36, 42, 0.1);
  }
}

@media (max-width: 980px) {
  body.adhs-verstehen-page #bruecke .entry-comparison-band {
    grid-template-columns: 1fr;
  }

  body.adhs-verstehen-page #bruecke .entry-comparison-card,
  body.adhs-verstehen-page
    #bruecke
    .entry-comparison-card
    + .entry-comparison-card {
    min-height: 0;
  }

  body.adhs-verstehen-page #bruecke .entry-comparison-card::before {
    inset: 0 auto 0 0;
    width: 5px;
    height: auto;
  }
}

@media (max-width: 760px) {
  body.adhs-verstehen-page #bruecke .entry-comparison-card,
  body.adhs-verstehen-page
    #bruecke
    .entry-comparison-card
    + .entry-comparison-card {
    padding: 24px;
  }
}

@media (min-width: 681px) {
  body.adhs-verstehen-page #muster .pattern-grid {
    grid-auto-rows: 1fr;
  }
}

@media (max-width: 680px) {
  body.adhs-verstehen-page .hero-actions .hero-secondary {
    width: 100%;
  }
}
