/* BESTÄRKT. content architecture: one consultation offer, clear formats, calm knowledge area. */
.consulting-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.consulting-main,
.consulting-formats {
  padding: clamp(30px, 4vw, 52px);
}

.consulting-main {
  background: rgba(255, 253, 249, .52);
}

.consulting-formats {
  border-left: 1px solid var(--line);
  background: #efe6df;
}

.consulting-kicker,
.knowledge-card-kicker,
.article-kicker {
  margin: 0 0 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

.consulting-main h3,
.consulting-formats h3,
.knowledge-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-weight: 400;
}

.consulting-main h3 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 3.4vw, 3.65rem);
  line-height: 1.02;
}

.consulting-main > p:not(.consulting-kicker),
.consulting-formats > p,
.format-item p,
.knowledge-card p,
.knowledge-intro {
  color: var(--muted);
}

.consulting-main .topic-chips {
  margin-top: 28px;
}

.consulting-topic-note {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .93rem;
}

.consulting-topic-note a,
.knowledge-card a,
.knowledge-more,
.article-related a {
  text-underline-offset: 4px;
}

.format-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.format-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.format-item:last-child {
  border-bottom: 1px solid var(--line);
}

.format-item strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.format-item p {
  margin: 0;
}

.consulting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.knowledge-teaser {
  padding-block: 118px;
}

.knowledge-heading {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 46px;
}

.knowledge-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.7rem, 4.8vw, 5rem);
}

.knowledge-intro {
  max-width: 58ch;
  margin: 20px 0 0;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.knowledge-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, .42);
}

.knowledge-card:nth-child(2),
.knowledge-card:nth-child(3) {
  background: rgba(239, 230, 223, .55);
}

.knowledge-card h3 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
  line-height: 1.06;
}

.knowledge-card p {
  max-width: 48ch;
}

.knowledge-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  font-weight: 650;
}

.knowledge-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.knowledge-bottomline p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.knowledge-more {
  flex: 0 0 auto;
  font-weight: 650;
}

/* Public editorial subpages. */
.editorial-page {
  padding-bottom: 110px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
  padding-top: clamp(68px, 9vw, 126px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.subpage-hero-copy h1 {
  max-width: 11ch;
  margin: 0 0 28px;
  font-size: clamp(3.6rem, 6.8vw, 7rem);
  line-height: .92;
  letter-spacing: -.035em;
}

.subpage-hero-copy .about-intro {
  max-width: 56ch;
  margin-bottom: 28px;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.subpage-hero-note {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: #efe6df;
}

.subpage-hero-note strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.subpage-hero-note p {
  margin: 0;
  color: var(--muted);
}

.subpage-section {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.subpage-section-heading {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.subpage-section-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.7rem, 4.6vw, 4.8rem);
  line-height: .98;
}

.subpage-section-heading p:last-child {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.subpage-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.subpage-card {
  min-height: 230px;
  padding: clamp(28px, 3.6vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, .48);
}

.subpage-card:nth-child(2),
.subpage-card:nth-child(3) {
  background: rgba(239, 230, 223, .58);
}

.subpage-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.7vw, 2.65rem);
  font-weight: 400;
  line-height: 1.05;
}

.subpage-card p {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted);
}

.subpage-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subpage-split > div {
  padding: clamp(32px, 4vw, 54px);
}

.subpage-split > div + div {
  border-left: 1px solid var(--line);
  background: #efe6df;
}

.subpage-split h2 {
  max-width: 15ch;
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 3.6vw, 3.7rem);
  line-height: 1.02;
}

.subpage-split p,
.subpage-split li {
  color: var(--muted);
}

.subpage-split ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.subpage-band {
  margin-top: clamp(72px, 8vw, 112px);
  padding: clamp(42px, 6vw, 70px);
  background: var(--espresso);
  color: #fff;
}

.subpage-band h2,
.subpage-band p {
  color: #fff;
}

.subpage-band h2 {
  max-width: 16ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  line-height: 1;
}

.subpage-band p {
  max-width: 60ch;
  color: rgba(255,255,255,.78);
}

.subpage-band .button-primary {
  margin-top: 12px;
  background: var(--cream);
  color: var(--espresso-deep);
}

/* Ratgeber hub and article helpers. */
.ratgeber-intro {
  max-width: 68ch;
}

.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 46px 0 64px;
}

.ratgeber-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255,253,249,.55);
}

.ratgeber-card:nth-child(even) {
  background: #efe6df;
}

.ratgeber-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
}

.ratgeber-card p {
  color: var(--muted);
}

.ratgeber-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 650;
  text-underline-offset: 4px;
}

/* Ratgeber pages use a wider editorial canvas than legal pages. */
.legal-page:has(.ratgeber-grid),
.legal-page:has(.article-question-box) {
  max-width: 1120px;
}

.legal-page:has(.article-question-box) > h1,
.legal-page:has(.ratgeber-grid) > h1 {
  max-width: 13ch;
}

.legal-page:has(.article-question-box) > p:not(.eyebrow):not(.legal-back),
.legal-page:has(.article-question-box) > h2,
.legal-page:has(.ratgeber-grid) > .ratgeber-intro {
  max-width: 760px;
}

.article-question-box,
.article-orientation,
.article-cta,
.author-note {
  max-width: 900px;
  margin: 42px 0;
  padding: 30px 34px;
  border: 1px solid var(--line);
}

.article-question-box,
.author-note {
  background: rgba(255,253,249,.55);
}

.article-orientation {
  background: #efe6df;
}

.article-cta {
  background: var(--espresso);
  color: #fff;
}

.article-cta h2,
.article-cta p {
  color: #fff;
}

.article-cta p {
  max-width: 62ch;
  color: rgba(255,255,255,.78);
}

.article-cta .button-primary {
  background: var(--cream);
  color: var(--espresso-deep);
}

.article-cta .button-primary:hover {
  background: #fff;
}

.article-question-box ul,
.article-cta ul {
  margin-bottom: 0;
}

.author-note strong {
  display: block;
  margin-bottom: 6px;
}

.article-related {
  max-width: 900px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .consulting-overview,
  .knowledge-heading,
  .subpage-hero,
  .subpage-section-heading,
  .subpage-split {
    grid-template-columns: 1fr;
  }

  .consulting-formats,
  .subpage-split > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .knowledge-teaser {
    padding-block: 72px;
  }

  .knowledge-grid,
  .ratgeber-grid,
  .subpage-card-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-card,
  .subpage-card {
    min-height: 0;
  }

  .knowledge-bottomline {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-question-box,
  .article-orientation,
  .article-cta,
  .author-note,
  .ratgeber-card {
    padding: 22px 20px;
  }

  .subpage-hero {
    padding-top: 52px;
    padding-bottom: 64px;
  }

  .subpage-hero-copy h1 {
    font-size: clamp(3.2rem, 15vw, 4.7rem);
  }

  .subpage-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
