/* RATGEBER */
.guide-page {
  background: var(--beige);
  color: var(--text);
}

.service-b-related-note {
  max-width: 48rem;
  margin: 2rem 0 0;
  color: var(--text-mid);
  line-height: 1.7;
}

.guide-shell {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--main-nav-total) + 7.5rem) 0 6.75rem;
  background: var(--navy-dark);
  color: var(--white);
}

.guide-hero::before,
.guide-hero::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(220, 219, 189, 0.36);
  border-radius: 50%;
  pointer-events: none;
}

.guide-hero::before {
  width: 31rem;
  height: 31rem;
  right: -13rem;
  top: -16rem;
}

.guide-hero::after {
  width: 13rem;
  height: 13rem;
  right: 9rem;
  bottom: -8rem;
}

body .guide-page .guide-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1600px, calc(100% - 3rem));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: center;
}

.guide-hero-copy {
  max-width: 47rem;
}

body .guide-page .guide-hero h1 {
  max-width: 47rem;
  margin: 1rem 0 1.5rem;
  color: var(--white);
  font-size: clamp(2.16rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.guide-hero h1 strong,
.guide-directory-top h2 strong,
.guide-cta h2 strong {
  color: var(--khaki);
  font-weight: inherit;
}

.guide-related-title h2 strong {
  color: var(--navy-mid);
  font-weight: inherit;
}

.guide-hero p {
  max-width: 42rem;
  margin: 0;
  color: #d8e0df;
  font-size: 1.125rem;
  line-height: 1.75;
}

.guide-hero-jump {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  margin-top: 2rem;
  color: var(--khaki);
  font-weight: 600;
  text-decoration: none;
}

body .guide-page .guide-hero-visual {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(220, 219, 189, 0.52);
  background: #e9e5dc;
  aspect-ratio: auto;
  height: clamp(21rem, 31vw, 32rem);
}

body .guide-page .guide-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-overview-intro,
.guide-hub-intro {
  padding: 6rem 0 5rem;
}

.guide-depth-section {
  padding: 4.5rem 0;
  border-top: 1px solid #d8d7c8;
}

.guide-depth-section--hub:nth-of-type(2n) {
  background: #efeee5;
}

.guide-depth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 4.5rem;
  align-items: start;
}

.guide-depth-layout h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}

.guide-depth-layout p {
  max-width: 46rem;
  margin: 0 0 1.25rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.guide-depth-layout p:last-child {
  margin-bottom: 0;
}

.guide-depth-layout a,
.guide-copy-section a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--khaki);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.guide-depth-layout a:hover,
.guide-copy-section a:hover {
  color: var(--navy-mid);
}

.guide-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: start;
}

.guide-section-heading h2,
.guide-directory-top h2,
.guide-related-title h2 {
  margin: 0.75rem 0 0;
  color: var(--navy-dark);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.guide-intro-copy {
  margin: 0;
  color: var(--text-mid);
  font-size: 1.1rem;
  line-height: 1.8;
}

.guide-intro-copy p {
  margin: 0 0 1rem;
}

.guide-hub-directory,
.guide-topic-map {
  padding: 5rem 0 6rem;
  background: var(--white);
}

.guide-directory-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.guide-directory-top > p {
  max-width: 340px;
  margin: 0;
  color: var(--text-mid);
  line-height: 1.65;
}

.guide-hub-list {
  border-top: 1px solid #cfd6d3;
}

.guide-hub-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) 2rem;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid #cfd6d3;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.guide-hub-row:hover {
  padding-left: 0.75rem;
  color: var(--navy-mid);
}

.guide-hub-count,
.guide-topic-index {
  color: var(--navy-mid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-hub-main {
  display: grid;
  gap: 0.35rem;
}

.guide-hub-main strong {
  color: var(--navy-dark);
  font-size: 1.45rem;
}

.guide-hub-main span {
  max-width: 760px;
  color: var(--text-mid);
  line-height: 1.55;
}

.guide-hub-arrow {
  color: var(--navy);
  font-size: 1.5rem;
}

.guide-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.guide-topic-card {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid #d7dedb;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.guide-topic-card:hover,
.guide-topic-card:focus-visible {
  border-color: var(--navy);
  box-shadow: 0 0.7rem 1.5rem rgba(24, 49, 62, 0.1);
  transform: translateY(-0.2rem);
}

.guide-topic-card:focus-visible {
  outline: 2px solid var(--khaki);
  outline-offset: 3px;
}

.guide-topic-card h3 {
  margin: 2rem 0 1rem;
  color: var(--navy-dark);
  font-size: 1.5rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.guide-topic-card p {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.65;
}

.guide-topic-card-action {
  margin-top: auto;
  padding-top: 1.75rem;
  color: var(--navy);
  font-weight: 700;
}

.guide-topic-card-action span {
  padding-left: 0.35rem;
}

.guide-service-bridge,
.guide-cta {
  background: var(--navy);
  color: var(--white);
}

.guide-service-bridge {
  padding: 4.5rem 0;
}

.guide-service-bridge-inner,
.guide-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}

.guide-service-bridge h2,
.guide-cta h2 {
  max-width: 650px;
  margin: 0.75rem 0 1rem;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.13;
  letter-spacing: 0;
}

.guide-service-bridge p,
.guide-cta p {
  max-width: 690px;
  margin: 0;
  color: #d8e0df;
  line-height: 1.7;
}

.guide-article-layout {
  padding: 3.5rem 0 1rem;
}

.guide-article-layout > .guide-shell > .kirchweger-breadcrumbs {
  max-width: none;
  margin: 0 0 1.15rem;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.guide-toc {
  position: static;
  top: auto;
  align-self: auto;
  margin: 0 auto 4.5rem;
  border: 1px solid #cbd3cf;
  background: #f1f2eb;
  padding: 2rem 2.25rem 2.15rem;
}

.guide-toc-inner {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
  border-top: 0;
  padding-top: 0;
}

.guide-toc-intro > span {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-toc-intro strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--navy-dark);
  font-size: 1.45rem;
  line-height: 1.2;
}

.guide-toc .guide-toc-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-toc-list li {
  border-top: 1px solid #cbd3cf;
}

.guide-toc-list li:nth-child(-n + 3) {
  border-top: 0;
}

.guide-toc-list a {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.65rem;
  min-height: 4.1rem;
  align-items: center;
  padding: 0.85rem 1rem 0.85rem 0;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
}

.guide-toc-list a > span:last-child {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.guide-toc-list a:hover,
.guide-toc-list a:focus-visible {
  color: var(--navy);
}

.guide-toc-number {
  color: var(--navy-mid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.guide-article {
  width: min(100%, 52rem);
  margin-inline: auto;
}

.guide-summary {
  margin-bottom: 2.5rem;
  border-left: 5px solid var(--navy);
  padding: 1.15rem 0 1.15rem 1.45rem;
}

.guide-summary span {
  color: var(--navy-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-summary p {
  margin: 0.5rem 0 0;
  color: var(--navy-dark);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.55;
}

.guide-visual {
  margin: 0 0 4rem;
}

.guide-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d5dbd6;
}

.guide-visual figcaption {
  margin-top: 0.75rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.guide-model {
  margin: 0 0 4rem;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  padding: 1.7rem 0 0;
}

.guide-model-heading {
  max-width: 650px;
  margin-bottom: 1.75rem;
}

.guide-model-heading h2 {
  margin: 0.65rem 0 0;
  color: var(--navy-dark);
  font-size: 1.65rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.guide-model-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-model--causes .guide-model-items,
.guide-model--compass .guide-model-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-model--process .guide-model-items {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-model-item {
  min-height: 9.5rem;
  border-top: 1px solid #c6d0cc;
  border-right: 1px solid #c6d0cc;
  padding: 1.2rem 1rem 1.4rem 0;
}

.guide-model-item:not(:first-child) {
  padding-left: 1rem;
}

.guide-model-item:last-child {
  border-right: 0;
}

.guide-model-item span {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--navy-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.guide-model-item strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.3;
}

.guide-model-item p {
  margin: 0.35rem 0 0;
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.45;
}

.guide-copy-section {
  margin: 0 0 3.2rem;
}

.guide-copy-section h2 {
  margin: 0 0 1.15rem;
  color: var(--navy-dark);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.guide-copy-section p {
  margin: 0 0 1.1rem;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
}

.guide-copy-subsection {
  margin-top: 1.75rem;
}

.guide-copy-section h3 {
  margin: 1.9rem 0 0.8rem;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.guide-reader-list {
  margin: 1.75rem 0 2rem;
  border-left: 2px solid var(--khaki);
  padding: 0.15rem 0 0.15rem 1.35rem;
}

.guide-reader-list-title {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.guide-reader-list ul,
.guide-reader-list ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.guide-reader-list li {
  margin: 0.55rem 0;
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.7;
}

.guide-reader-note {
  margin: 2.25rem 0;
  border-top: 1px solid #b9c8c3;
  border-bottom: 1px solid #b9c8c3;
  padding: 1.35rem 0 1.45rem;
}

.guide-reader-note--caution {
  border-color: #b76e61;
}

.guide-reader-note-label {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-reader-note p {
  margin: 0.6rem 0 0;
  color: var(--text-mid);
  font-size: 0.98rem;
  line-height: 1.7;
}

.guide-copy-section a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--khaki);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.guide-context-link {
  border-left: 2px solid var(--khaki);
  padding-left: 1rem;
}

.guide-related {
  margin: 4.5rem 0;
}

.guide-related-list {
  display: grid;
  margin-top: 1.75rem;
  border-top: 1px solid #cbd3cf;
}

.guide-related-list a {
  position: relative;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) 1.5rem;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid #cbd3cf;
  padding: 1.35rem 0;
  color: inherit;
  text-decoration: none;
}

.guide-related-list span {
  color: var(--navy-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-related-list strong {
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1.4;
}

.guide-related-list i {
  color: var(--navy);
  font-size: 1.3rem;
  font-style: normal;
}

.guide-faq {
  margin: 4.5rem 0 1rem;
}

.guide-faq-list {
  margin-top: 1.75rem;
  border-top: 1px solid #cbd3cf;
}

.guide-faq details {
  border-bottom: 1px solid #cbd3cf;
}

.guide-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--navy-dark);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary span {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 400;
}

.guide-faq details[open] summary span {
  transform: rotate(45deg);
}

.guide-faq details p {
  max-width: 680px;
  margin: 0 0 1.3rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.guide-cta {
  margin-top: 5rem;
  padding: 5rem 0;
}

.guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.guide-cta .btn-ghost {
  border-color: var(--khaki);
  color: var(--khaki);
}

@media (max-width: 1000px) {
  .guide-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-model--process .guide-model-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-model--process .guide-model-item:nth-child(2) { border-right: 0; }
  .guide-toc .guide-toc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-toc-list li:nth-child(-n + 3) { border-top: 1px solid #cbd3cf; }
  .guide-toc-list li:nth-child(-n + 2) { border-top: 0; }
}

@media (max-width: 760px) {
  .guide-shell { width: min(100% - 2rem, 1240px); }
  .guide-hero { padding: calc(var(--main-nav-total) + 4.5rem) 0 4rem; }
  body .guide-page .guide-hero-inner { width: min(100% - 2rem, 1400px); grid-template-columns: 1fr; gap: 2rem; }
  body .guide-page .guide-hero-visual { width: 100%; height: auto; aspect-ratio: 3 / 2; justify-self: stretch; }
  body .guide-page .guide-hero h1 { font-size: clamp(2rem, 8.8vw, 2.75rem); }
  .guide-hero p { font-size: 1rem; }
  .guide-intro-layout,
  .guide-depth-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .guide-overview-intro,
  .guide-hub-intro,
  .guide-hub-directory,
  .guide-topic-map { padding: 4rem 0; }
  .guide-directory-top,
  .guide-service-bridge-inner,
  .guide-cta-inner { display: grid; gap: 1.5rem; }
  .guide-topic-grid { grid-template-columns: 1fr; }
  .guide-topic-card { min-height: 17rem; }
  .guide-hub-row { grid-template-columns: 1fr 1.5rem; gap: 0.5rem 1rem; }
  .guide-hub-count { grid-column: 1 / -1; }
  .guide-article-layout { padding-top: 3.5rem; }
  .guide-toc { margin-bottom: 3.25rem; padding: 1.5rem; }
  .guide-toc-inner { grid-template-columns: 1fr; gap: 1rem; }
  .guide-model-items,
  .guide-model--causes .guide-model-items,
  .guide-model--compass .guide-model-items,
  .guide-model--process .guide-model-items { grid-template-columns: 1fr 1fr; }
  .guide-model-item:nth-child(2n) { border-right: 0; }
  .guide-model-item { min-height: 8.6rem; }
  .guide-related-list a { grid-template-columns: 1fr 1.3rem; }
  .guide-related-list span { grid-column: 1 / -1; }
  .guide-cta-actions { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .guide-hero::before { right: -18rem; }
  .guide-hero::after { right: 0; }
  .guide-toc .guide-toc-list,
  .guide-model-items,
  .guide-model--causes .guide-model-items,
  .guide-model--compass .guide-model-items,
  .guide-model--process .guide-model-items { grid-template-columns: 1fr; }
  .guide-model-item,
  .guide-model-item:nth-child(2n) { border-right: 0; padding-left: 0; }
  .guide-model-item span { margin-bottom: 0.9rem; }
  .guide-summary p { font-size: 1.08rem; }
}

