.article-page {
  padding-top: clamp(1rem, 2vw, 2rem);
  padding-bottom: clamp(2rem, 6vw, 5rem);
}

.article-page .breadcrumb {
  max-width: 1320px;
  margin: 0 auto 1rem;
}

.article-shell {
  max-width: 1320px;
  margin: 0 auto;
}

.article-header {
  max-width: 980px;
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.article-header h1 {
  max-width: 920px;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.2vw, 4.9rem);
  hyphens: none;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.article-deck {
  max-width: 830px;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.article-meta span + span::before {
  content: "·";
  margin-right: 1.25rem;
  color: var(--gold);
}

.article-hero-image {
  margin: 0;
}

.article-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.3;
  object-fit: cover;
  object-position: center 46%;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-hero-image figcaption {
  max-width: 980px;
  padding: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.article-hero-image figcaption a,
.article-body a {
  color: var(--leaf-dark);
  text-underline-offset: 0.18em;
}

.article-quickview {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  margin: clamp(2rem, 5vw, 4.5rem) 0;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-quickview .eyebrow {
  grid-column: 1;
}

.article-quickview h2 {
  grid-column: 1;
  align-self: start;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.article-quickview ol {
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0;
  padding: 0;
  counter-reset: quick-rules;
  list-style: none;
}

.article-quickview li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 35%);
  color: var(--muted);
  line-height: 1.45;
  counter-increment: quick-rules;
}

.article-quickview li:last-child {
  border-bottom: 0;
}

.article-quickview li::before {
  content: "0" counter(quick-rules);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.article-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 820px);
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 1.25rem;
  min-width: 0;
  padding-top: 0.3rem;
}

.article-toc h2 {
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
}

.article-toc nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.article-toc a {
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--leaf-dark);
}

.article-body {
  min-width: 0;
}

.article-lead {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.6;
}

.article-section {
  position: relative;
  padding: clamp(2rem, 5vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}

.article-section h2,
.article-sources h2 {
  max-width: 720px;
  margin-bottom: 1.1rem;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.article-section h3 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.article-section > p:not(.section-number):not(.eyebrow),
.article-sources > p,
.article-sources li,
.faq-section details p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.74;
}

.article-section > p:not(.section-number):not(.eyebrow) {
  margin-bottom: 1.15rem;
}

.section-number {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.article-callout {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--leaf);
  background: color-mix(in srgb, var(--badge-bg), transparent 35%);
}

.article-callout.warning {
  border-left-color: var(--rose);
  background: color-mix(in srgb, var(--hint-bg), transparent 20%);
}

.article-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.article-callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.location-check {
  margin-top: 1.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--leaf-dark);
  font-weight: 900;
}

.article-table-wrap {
  max-width: 100%;
  margin-top: 1.75rem;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-table tr:last-child th,
.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table thead th {
  color: var(--ink);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.article-table tbody th {
  width: 24%;
  color: var(--ink);
}

.process-list {
  display: grid;
  gap: 0;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process);
  grid-row: 1 / span 2;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.process-list strong {
  color: var(--ink);
}

.process-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.process-copy strong {
  display: block;
  margin-bottom: 0.16rem;
}

.label-example {
  display: grid;
  width: min(100%, 520px);
  gap: 0.28rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--field);
}

.label-example strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.label-example span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.label-kicker {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-link-list {
  display: grid;
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.profile-link-list a {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.profile-link-list a:hover span,
.profile-link-list a:focus-visible span {
  color: var(--leaf-dark);
}

.profile-link-list span {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.profile-link-list small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.faq-section details {
  border-top: 1px solid var(--line);
}

.faq-section details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  position: absolute;
  top: 0.85rem;
  right: 0;
  color: var(--leaf-dark);
  font-family: system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-section details[open] summary::after {
  content: "−";
}

.faq-section details p {
  padding: 0 1.5rem 1rem 0;
  font-size: 0.96rem;
}

.article-sources {
  padding: clamp(2rem, 5vw, 4rem) 0 0;
  border-top: 1px solid var(--line);
}

.article-sources ol {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 1.5rem;
  padding-left: 1.3rem;
}

.article-sources li {
  padding-left: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.article-sources .source-note {
  font-size: 0.82rem;
}

.guide-page {
  padding-top: clamp(1rem, 2vw, 2rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.guide-page .breadcrumb,
.guide-header,
.guide-directory {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.guide-header {
  padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.guide-header h1 {
  max-width: 860px;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  hyphens: none;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.guide-header > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.guide-directory {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.guide-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.guide-section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.guide-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.guide-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.guide-card.featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
}

.guide-card:hover,
.guide-card:focus-visible {
  border-color: var(--leaf);
  background: color-mix(in srgb, var(--panel), var(--badge-bg) 24%);
}

.guide-card figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.guide-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.guide-card:hover img,
.guide-card:focus-visible img {
  transform: scale(1.015);
}

.guide-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.guide-card-description {
  margin-bottom: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.guide-card-action {
  margin-top: auto;
  color: var(--leaf-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.footer-links a[aria-current="page"] {
  color: var(--leaf-dark);
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-toc {
    position: static;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--field);
  }

  .article-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .guide-card.featured {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 680px) {
  .article-page {
    padding-top: 0.85rem;
  }

  .article-header h1 {
    font-size: clamp(2.05rem, 10vw, 2.7rem);
    line-height: 1.05;
  }

  .article-meta {
    display: grid;
    gap: 0.25rem;
  }

  .article-meta span + span::before {
    content: none;
  }

  .article-hero-image img {
    aspect-ratio: 4 / 3;
  }

  .article-quickview {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.4rem;
  }

  .article-quickview .eyebrow,
  .article-quickview h2,
  .article-quickview ol {
    grid-row: auto;
    grid-column: 1;
  }

  .article-quickview ol {
    margin-top: 0.75rem;
  }

  .article-toc nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-link-list a {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

  .article-table-wrap {
    overflow-x: visible;
  }

  .article-table {
    display: block;
    min-width: 0;
  }

  .article-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .article-table tbody,
  .article-table tr,
  .article-table th,
  .article-table td {
    display: block;
    width: 100%;
  }

  .article-table tr {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
  }

  .article-table tr:last-child {
    border-bottom: 0;
  }

  .article-table th,
  .article-table td {
    padding: 0.18rem 0;
    border: 0;
  }

  .article-table tbody th {
    width: 100%;
    margin-bottom: 0.45rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
  }

  .article-table td::before {
    display: block;
    margin-top: 0.4rem;
    color: var(--gold);
    font-size: 0.67rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .article-table td:nth-of-type(1)::before {
    content: "Orientierung";
  }

  .article-table td:nth-of-type(2)::before {
    content: "Zu beachten";
  }

  .methodology-evidence-table td:nth-of-type(1)::before {
    content: "Einordnung";
  }

  .methodology-evidence-table td:nth-of-type(2)::before {
    content: "Typische Grundlage";
  }

  .article-callout {
    padding: 1rem;
  }

  .guide-header h1 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
    line-height: 1.04;
  }

  .guide-list,
  .guide-card.featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-card.featured {
    grid-column: auto;
  }

  .guide-card img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .article-page {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .article-hero-image {
    margin-right: -0.85rem;
    margin-left: -0.85rem;
  }

  .article-hero-image img {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .article-hero-image figcaption {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .article-section > p:not(.section-number):not(.eyebrow),
  .article-sources > p,
  .article-sources li,
  .faq-section details p {
    font-size: 0.98rem;
  }

  .process-list li {
    grid-template-columns: 2.2rem minmax(0, 1fr);
  }

  .guide-page {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .guide-section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media print {
  .draft-notice,
  .app-header,
  .article-toc,
  .site-footer {
    display: none;
  }

  .article-page,
  .article-shell,
  .article-body {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .article-section {
    break-inside: avoid;
  }
}
