/* Ressourcen: eigene, frameworkfreie Stile für Übersicht, Artikel und Angebote. */
.r-overview-head { background: var(--pale); padding: 65px 0 48px; border-bottom: 1px solid var(--line); }
.r-overview-head h1 { font-size: clamp(40px, 5vw, 65px); letter-spacing: -.05em; }
.r-overview-head .r-lead { max-width: 760px; }
.r-lead { margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; color: var(--muted); }
.r-category-nav { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 30px; font-size: 14px; }
.r-category-nav a { border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.r-category-nav a:hover { border-color: var(--blue); color: var(--blue); }
.r-collection { padding: 60px 0 25px; scroll-margin-top: 110px; }
.r-collection h2 { font-size: clamp(27px, 3vw, 35px); margin-bottom: 28px; }
.r-collection-downloads { padding-bottom: 88px; }
.r-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.r-card-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.r-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: white; overflow: hidden; }
.r-card-copy { display: flex; flex: 1; flex-direction: column; padding: 29px; }
.r-card .eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .08em; }
.r-card h3 { font-size: 25px; line-height: 1.25; letter-spacing: -.03em; margin-bottom: 15px; }
.r-card h3 a:hover { color: var(--blue); }
.r-card-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.75; margin-bottom: 24px; }
.r-text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; color: var(--blue); }
.r-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.r-card .r-text-link { margin-top: auto; align-self: flex-start; }
.r-card-cover { display: flex; align-items: center; justify-content: center; padding: 27px; height: 245px; background: #eef1f6; }
.r-card-cover img { height: 100%; width: auto; max-width: 100%; object-fit: contain; box-shadow: 0 8px 19px #10203920; }
.r-home { border-top: 1px solid var(--line); }
.r-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.r-section-heading h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.2; }
.r-section-heading .eyebrow { margin-bottom: 18px; }
.r-section-heading > a { flex-shrink: 0; }
.r-card-home.r-card-download { display: grid; grid-template-columns: minmax(0, 1fr) 135px; }
.r-card-home .r-card-cover { order: 2; height: auto; padding: 19px; }
.r-card-home .r-card-cover img { height: auto; max-height: 225px; }
.r-card-home .r-card-copy { order: 1; }
/* Leseseiten: Originaltext, Inhaltsverzeichnis, Tabellen und Checkliste. */
.r-article { overflow-wrap: break-word; }
.r-article-head { padding: 42px 0 49px; background: var(--pale); border-bottom: 1px solid var(--line); }
.r-head-copy { max-width: 1000px; }
.r-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.r-breadcrumb a { color: var(--blue); }
.r-breadcrumb a:hover { text-decoration: underline; }
.r-article-head h1 { font-size: clamp(34px, 4.1vw, 55px); line-height: 1.12; letter-spacing: -.045em; }
.r-byline { font-size: 13px; margin-top: 24px; }
.r-byline a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.r-emphasis { font-weight: 600; color: var(--ink); }
.r-reading { padding: 65px 0 85px; }
.r-reading-grid { display: grid; grid-template-columns: 230px minmax(0, 780px); justify-content: space-between; gap: 64px; }
.r-toc { align-self: start; position: sticky; top: 120px; max-height: calc(100vh - 150px); overflow-y: auto; font-size: 14px; }
.r-toc > p { font-size: 12px; font-weight: 600; margin-bottom: 15px; color: var(--ink); }
.r-toc ol { padding: 0 0 0 17px; margin: 0; border-left: 1px solid var(--line); list-style: none; }
.r-toc li + li { margin-top: 10px; }
.r-toc a { color: var(--muted); line-height: 1.5; display: block; }
.r-toc a:hover { color: var(--blue); }
.r-prose { min-width: 0; font-size: 17px; line-height: 1.8; }
.r-prose > p + p, .r-prose section > p + p { margin-top: 18px; }
.r-prose section { margin-top: 50px; scroll-margin-top: 120px; }
.r-prose h2 { font-size: clamp(27px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 24px; }
.r-prose h3 { font-size: 23px; line-height: 1.3; margin: 30px 0 12px; letter-spacing: -.02em; }
.r-prose ul, .r-prose ol { margin: 20px 0; padding-left: 23px; color: var(--muted); }
.r-prose li + li { margin-top: 10px; }
.r-prose li > span[aria-hidden="true"]:empty { display: none; }
.r-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.r-callout { background: var(--pale); border-left: 3px solid #a4bcff; padding: 25px 28px; margin: 28px 0; }
.r-callout > p:first-child { color: var(--ink); font-weight: 600; }
.r-callout > ul:last-child { margin-bottom: 0; }
.r-prose figure { margin: 26px 0; }
.r-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.r-prose table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 14px; line-height: 1.6; }
.r-prose th, .r-prose td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.r-prose thead, .r-prose th[scope="row"] { background: var(--pale); }
.r-prose tr:last-child td, .r-prose tr:last-child th { border-bottom: 0; }
.r-prose figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }
.r-prose .r-checklist { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.r-checklist li { margin: 0 !important; border-bottom: 1px solid var(--line); }
.r-checklist label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 15px 0; }
.r-checklist input { flex: 0 0 18px; width: 18px; height: 18px; margin: 6px 0 0; accent-color: var(--blue); }
.r-prose #scoring ul { list-style: none; padding: 0; }
.r-prose #scoring li { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0; }
.r-author { display: flex; align-items: center; gap: 24px; margin-top: 55px; border-top: 1px solid var(--line); padding-top: 28px; }
.r-author img { width: 90px; height: 105px; object-fit: cover; object-position: top; border-radius: 4px; }
.r-author p { font-size: 14px; line-height: 1.6; }
.r-author p:nth-child(2) { font-weight: 600; font-size: 18px; color: var(--ink); margin: 4px 0 8px; }
.r-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Download-Angebote: unverändertes Formular-Markup, neue Darstellung ohne Tailwind. */
.r-offer { padding: 38px 0 0; }
.r-offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: clamp(40px, 6vw, 95px); align-items: start; }
.r-offer-copy { min-width: 0; }
.r-offer-copy h1 { font-size: clamp(34px, 3.7vw, 49px); letter-spacing: -.045em; line-height: 1.14; }
.r-offer-copy .eyebrow { font-size: 12px; margin-bottom: 20px; }
.r-offer-jump { margin-top: 22px; }
.r-offer-cover { display: flex; justify-content: center; background: var(--pale); padding: 32px; margin: 35px 0; border-radius: 4px; }
.r-offer-cover img { width: auto; height: 275px; max-width: 100%; object-fit: contain; box-shadow: 0 12px 25px #10203925; }
.r-offer-info { margin-top: 35px; scroll-margin-top: 120px; }
.r-offer-info h2 { font-size: 31px; line-height: 1.2; margin: 0 0 20px; }
.r-offer-info h3 { font-size: 22px; margin: 28px 0 16px; }
.r-offer-info p, .r-offer-info li { font-size: 16px; line-height: 1.8; color: var(--muted); }
.r-offer-info p + p { margin-top: 16px; }
.r-offer-info ul { padding-left: 22px; }
.r-offer-info li + li { margin-top: 15px; }
.r-offer-info a { color: var(--blue); text-decoration: underline; }
.r-preview { margin: 32px 0; }
.r-preview img { width: 100%; height: auto; }
.r-preview figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.r-form { position: sticky; top: 110px; background: var(--pale); border: 1px solid var(--line); border-radius: 5px; padding: 30px; scroll-margin-top: 115px; }
.r-form h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.025em; }
.r-form #reportForm { margin-top: 26px; }
.r-form #reportForm > div { margin-bottom: 15px; }
.r-form label { font-size: 14px; color: var(--ink); }
.r-form input[type="text"], .r-form input[type="email"] { display: block; font: inherit; color: var(--ink); background: white; padding: 10px 12px; width: 100%; min-width: 0; border: 1px solid #bcc6d4; border-radius: 3px; margin-top: 5px; }
.r-form #consent { width: 17px; height: 17px; vertical-align: middle; accent-color: var(--blue); margin: 0 6px 3px 0; }
.r-form label[for="consent"] { font-size: 13px; line-height: 1.6; }
.r-form a { color: var(--blue); text-decoration: underline; }
.r-form #finishButton { background: var(--blue); color: white; font: inherit; font-size: 15px; font-weight: 600; padding: 14px 18px; border: 0; border-radius: 4px; width: 100%; margin-top: 5px; }
.r-form #finishButton:hover:not(:disabled) { background: #1b43c9; }
.r-form #finishButton:disabled { opacity: .5; cursor: not-allowed; }
.r-form #send-success, .r-form #send-error { display: none; padding: 15px; margin-top: 20px; font-size: 14px; border-radius: 3px; }
.r-form #send-success { color: #174d3a; background: #e7f2eb; border: 1px solid #a9cdb5; }
.r-form #send-error { color: #8c2525; background: #fff1f1; border: 1px solid #ddb1b1; }
.r-back { padding: 35px 0; margin-top: 35px; border-top: 1px solid var(--line); font-size: 14px; color: var(--blue); }
.r-article :focus-visible, .r-offer :focus-visible, .r-card :focus-visible, .r-text-link:focus-visible, .r-category-nav a:focus-visible { outline: 3px solid #7299ff; outline-offset: 4px; }
.header nav > a[data-resources-link][aria-current] { color: var(--blue); }
.header nav > a[data-resources-link][aria-current]:after { right: 0; }
/* Ein zusätzlicher Menüpunkt: Navigation bei mittleren Breiten ins vorhandene Menü legen. */
@media (min-width: 1051px) and (max-width: 1250px) { .header nav { gap: 19px; font-size: 13px; } }
@media (max-width: 1050px) {
    .menu-toggle { display: flex; border: 1px solid var(--line); border-radius: 4px; background: white; width: 44px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
    .menu-toggle span { width: 20px; height: 1px; background: var(--ink); transition: transform .2s; }
    .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px 24px; box-shadow: 0 15px 20px #10203912; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 8px; font-size: 16px; max-height: calc(100dvh - 88px); overflow-y: auto; }
    .header nav.open { display: flex; }
    .header nav > a:not(.nav-cta) { padding: 10px 0; }
    .header .nav-cta { font-size: 16px; margin-top: 6px; padding: 13px 15px; justify-content: space-between; }
    .r-reading-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 35px; }
    .r-offer-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }
    .r-form { padding: 24px; }
    .r-card-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .r-card-home.r-card-download { grid-template-columns: 1fr; }
    .r-card-home .r-card-cover { display: none; }
}
@media (max-width: 760px) {
    .r-card-grid, .r-card-grid-three { grid-template-columns: 1fr; }
    .r-overview-head { padding: 42px 0 35px; }
    .r-collection { padding-top: 40px; }
    .r-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
    .r-card-copy { padding: 24px; }
    .r-card h3 { font-size: 23px; }
    .r-article-head { padding: 27px 0 35px; }
    .r-article-head h1 { font-size: 34px; }
    .r-reading { padding: 35px 0 55px; }
    .r-reading-grid { grid-template-columns: 1fr; gap: 35px; }
    .r-toc { position: static; max-height: none; }
    .r-prose { font-size: 16px; }
    .r-prose section { margin-top: 37px; }
    .r-prose h3 { font-size: 21px; }
    .r-callout { padding: 23px; }
    .r-prose #scoring li { grid-template-columns: 1fr; gap: 5px; }
    .r-author { align-items: flex-start; gap: 18px; }
    .r-author img { width: 65px; height: 85px; }
    .r-offer { padding-top: 25px; }
    .r-offer-layout { grid-template-columns: 1fr; gap: 35px; }
    .r-form { position: static; }
    .r-offer-copy h1 { font-size: 35px; }
    .r-offer-cover img { height: 240px; }
    .r-byline { line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle span { transition: none; } }
@media print { .r-toc, .r-form, .r-back { display: none; } .r-reading-grid, .r-offer-layout { display: block; } .r-table-scroll { overflow: visible; } }
@media (max-height: 800px) { .r-form { position: static; } }
