/*
Theme Name: Roadmedia Editorial Responsive
Theme URI: https://roadmedia.de/
Author: Roadmedia
Description: Schlankes, datensparsames Theme für die Domainverkaufsseite und das künftige Road-Media-Fachportal.
Version: 1.5.2
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: roadmedia-lite
*/

:root {
  --rm-ink: #12212b;
  --rm-ink-soft: #33444f;
  --rm-paper: #f5f6f2;
  --rm-white: #ffffff;
  --rm-line: #dbe0dc;
  --rm-signal: #c8ff45;
  --rm-signal-dark: #91c900;
  --rm-road: #273842;
  --rm-max: 1180px;
  --rm-radius: 18px;
  --rm-shadow: 0 20px 55px rgba(18, 33, 43, 0.12);
}

.rm-perspective-page { overflow: hidden; background: var(--rm-white); }
.rm-perspective__hero { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 124px) 0 clamp(68px, 8vw, 98px); background: var(--rm-ink); color: var(--rm-white); }
.rm-perspective__hero::after { content: ""; position: absolute; right: -12%; bottom: -54%; width: min(680px, 54vw); aspect-ratio: 1; border: 1px solid rgba(200,255,69,.32); border-radius: 50%; box-shadow: 0 0 0 54px rgba(200,255,69,.045), 0 0 0 108px rgba(200,255,69,.025); }
.rm-perspective__hero .rm-wrap { position: relative; z-index: 1; }
.rm-perspective__hero h1 { max-width: 860px; margin: 0; font-size: clamp(2.55rem, 4.8vw, 4.55rem); font-weight: 680; line-height: 1.03; letter-spacing: -.045em; overflow-wrap: anywhere; }
.rm-perspective__lead { max-width: 720px; margin: 28px 0 0; color: #dbe3e7; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.58; }
.rm-perspective__intro { padding: clamp(62px, 8vw, 96px) 0; background: #f5f6f2; }
.rm-perspective__intro-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(34px, 7vw, 92px); align-items: start; }
.rm-perspective__intro h2, .rm-perspective__section h2, .rm-perspective__closing h2 { margin: 0; font-size: clamp(1.9rem, 3.25vw, 3.05rem); font-weight: 680; line-height: 1.1; letter-spacing: -.04em; }
.rm-perspective__copy { max-width: 650px; color: var(--rm-ink-soft); font-size: 1.06rem; }
.rm-perspective__copy p:first-child { margin-top: 0; }
.rm-perspective__brand { padding: clamp(74px, 10vw, 120px) 0; background: var(--rm-road); color: var(--rm-white); }
.rm-perspective__brand-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: clamp(38px, 8vw, 104px); align-items: end; }
.rm-perspective__brand-kicker { margin: 0 0 18px; color: var(--rm-signal); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rm-perspective__brand-name { margin: 0; color: var(--rm-signal); font-size: clamp(3.35rem, 7vw, 6.1rem); font-weight: 700; line-height: .9; letter-spacing: -.065em; overflow-wrap: anywhere; }
.rm-perspective__brand-sub { margin: 0; padding-left: 24px; border-left: 2px solid var(--rm-signal); font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 720; line-height: 1.2; }
.rm-perspective__brand-sub span { display: block; margin-top: 9px; color: #cbd5da; font-size: .56em; font-weight: 550; letter-spacing: .1em; text-transform: uppercase; }
.rm-perspective__section { padding: clamp(68px, 9vw, 110px) 0; }
.rm-perspective__section--soft { background: #eef2ea; }
.rm-perspective__section-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(38px, 8vw, 110px); align-items: start; }
.rm-perspective__architecture { display: grid; margin-top: 30px; border-top: 2px solid var(--rm-ink); }
.rm-perspective__architecture > * { padding: 14px 17px; border-bottom: 1px solid #cbd3d6; }
.rm-perspective__architecture strong { background: var(--rm-ink); color: var(--rm-signal); font-size: 1.12rem; letter-spacing: .1em; }
.rm-perspective__reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rm-perspective__reason { padding: 24px; border: 1px solid #d6ddd1; border-radius: 14px; background: rgba(255,255,255,.72); }
.rm-perspective__reason h3 { margin: 0 0 9px; font-size: 1.05rem; }
.rm-perspective__reason p { margin: 0; color: var(--rm-ink-soft); font-size: .94rem; }
.rm-perspective__closing { padding: clamp(72px, 9vw, 112px) 0; background: var(--rm-ink); color: var(--rm-white); }
.rm-perspective__closing p:not(.rm-eyebrow):not(.rm-perspective__note) { max-width: 720px; color: #dbe3e7; font-size: 1.05rem; }
.rm-perspective__note { margin-top: 38px; color: #9eabb2; font-size: .82rem; font-weight: 650; letter-spacing: .03em; }

@media (max-width: 700px) {
  .rm-perspective__intro-grid, .rm-perspective__brand-grid, .rm-perspective__section-grid, .rm-perspective__reasons { grid-template-columns: 1fr; }
  .rm-perspective__brand-sub { margin-top: 12px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rm-paper);
  color: var(--rm-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rm-wrap { width: min(calc(100% - 40px), var(--rm-max)); margin-inline: auto; }

.rm-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: var(--rm-ink);
  box-shadow: 0 8px 28px rgba(18, 33, 43, .14);
}
.admin-bar .rm-header { top: 32px; }
.rm-header__inner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rm-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.rm-brand__logo { display: block; width: 184px; height: 44px; object-fit: contain; }
.rm-nav { display: flex; align-items: center; gap: 16px; color: var(--rm-white); font-size: .82rem; font-weight: 600; }
.rm-nav a { text-decoration: none; }
.rm-nav a:hover, .rm-nav a:focus-visible { text-decoration: underline; text-decoration-color: var(--rm-signal); }
.rm-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 2px;
  padding: 2px 0;
  color: #cbd5da;
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.rm-nav__cta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rm-signal-dark); }
.rm-nav__cta:hover, .rm-nav__cta:focus-visible { color: var(--rm-white); }

.rm-hero { position: relative; overflow: hidden; padding: clamp(36px, 4.1vw, 54px) 0 clamp(34px, 3.8vw, 50px); background: var(--rm-ink); color: var(--rm-white); }
.rm-hero::after { content: ""; position: absolute; right: -10vw; bottom: -42%; width: 58vw; height: 72%; border: 2px solid rgba(200,255,69,.35); border-radius: 50%; box-shadow: 0 0 0 46px rgba(200,255,69,.05), 0 0 0 92px rgba(200,255,69,.035); transform: rotate(-13deg); }
.rm-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.rm-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--rm-signal); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rm-eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 999px; }
.rm-hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.4rem, 3.7vw, 3.5rem); font-weight: 650; line-height: 1.03; letter-spacing: -.04em; overflow-wrap: anywhere; }
.rm-hero__lead { max-width: 720px; margin: 25px 0 0; color: #dbe3e7; font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.62; }
.rm-domain-note { justify-self: start; max-width: 250px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.025); }
.rm-domain-note__label { display: block; color: #aebbc1; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.rm-domain-note__title { display: block; margin: 4px 0 6px; color: #c8ff45; font-size: clamp(1.15rem, 1.45vw, 1.3rem); font-weight: 650; letter-spacing: -.035em; }
.rm-domain-note__cta { display: inline-flex; align-items: center; gap: 5px; color: #d2dbe0; font-size: .73rem; font-weight: 650; text-decoration: underline; text-decoration-color: rgba(200,255,69,.5); text-underline-offset: 4px; }
.rm-domain-note__cta:hover, .rm-domain-note__cta:focus-visible { color: var(--rm-signal); }
.rm-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 21px; border: 0; border-radius: 999px; background: var(--rm-signal); color: var(--rm-ink); font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.rm-button:hover, .rm-button:focus-visible { background: #dcff86; transform: translateY(-2px); }
.rm-button--dark { background: var(--rm-ink); color: var(--rm-white); }
.rm-button--dark:hover, .rm-button--dark:focus-visible { background: var(--rm-road); }

.rm-section { padding: clamp(68px, 9vw, 112px) 0; }
.rm-section--white { background: var(--rm-white); }
.rm-section--dark { background: var(--rm-road); color: var(--rm-white); }
.rm-section__head { display: grid; grid-template-columns: .8fr 1.3fr; gap: 36px; align-items: start; margin-bottom: 42px; }
.rm-section h2, .rm-content h1 { margin: 0; font-size: clamp(1.9rem, 3.35vw, 3.15rem); font-weight: 680; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.rm-section__intro { max-width: 680px; margin: 0; color: var(--rm-ink-soft); font-size: 1.1rem; }
.rm-section--dark .rm-section__intro { color: #d6dfe3; }

.rm-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rm-card { min-height: 178px; padding: 22px; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); background: var(--rm-white); }
.rm-card__title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.rm-card__no { display: inline-block; flex: 0 0 auto; margin: 0; color: var(--rm-signal-dark); font-weight: 850; font-size: 1.1rem; line-height: 1; }
.rm-card__title h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; }
.rm-card p { margin: 0; color: var(--rm-ink-soft); font-size: .9rem; }

.rm-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.rm-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rm-point { padding: 17px 19px; border-left: 4px solid var(--rm-signal); background: rgba(255,255,255,.08); border-radius: 0 12px 12px 0; }
.rm-point strong { display: block; margin-bottom: 4px; }
.rm-point span { color: #d6dfe3; font-size: .92rem; }

.rm-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); background: var(--rm-line); }
.rm-step { padding: 28px; background: var(--rm-white); }
.rm-step__number { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 28px; border-radius: 50%; background: var(--rm-ink); color: var(--rm-signal); font-weight: 800; }
.rm-step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.rm-step p { margin: 0; color: var(--rm-ink-soft); font-size: .9rem; }
.rm-trust { margin-top: 26px; padding: 24px; border-radius: 14px; background: #eef2ea; color: var(--rm-ink-soft); }
.rm-trust a { font-weight: 750; }

.rm-cta { padding: clamp(60px, 8vw, 94px) 0; background: var(--rm-signal); }
.rm-cta__inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.rm-cta h2 { max-width: 720px; margin: 0; font-size: clamp(1.9rem, 3.45vw, 3.15rem); font-weight: 680; line-height: 1.08; letter-spacing: -.04em; }

.rm-content { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 76px 0 100px; }
.rm-content h1 { margin-bottom: 34px; }
.rm-content h2 { margin-top: 2.2em; font-size: 1.55rem; line-height: 1.25; }
.rm-content h3 { margin-top: 1.8em; font-size: 1.15rem; }
.rm-content p, .rm-content li { color: var(--rm-ink-soft); }
.rm-content a { font-weight: 700; }
.rm-notice { padding: 18px 20px; border-left: 4px solid var(--rm-signal-dark); background: var(--rm-white); }

.rm-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rm-post { padding: 26px; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); background: var(--rm-white); }
.rm-post h2, .rm-post h3 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.rm-post p { color: var(--rm-ink-soft); }
.rm-post__meta { color: #697982; font-size: .82rem; }
.rm-post .rm-post__meta { margin: 0 0 14px; color: #416028; font-weight: 750; }
.rm-post { overflow: hidden; }
.rm-post__image { display: block; margin: -26px -26px 24px; }
.rm-post__image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rm-kicker { margin: 0 0 18px; color: #416028; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rm-feature { background: #edf1e8; }
.rm-feature__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 72px); }
.rm-feature__lead { color: var(--rm-ink-soft); font-size: 1.1rem; margin-block: 24px; }
.rm-feature__lead p { margin: 0; }
.rm-latest { padding-block: clamp(54px, 7vw, 84px); border-bottom: 1px solid #dbe3d7; }
.rm-latest h2 a { text-decoration: none; }
.rm-latest h2 a:hover, .rm-latest h2 a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }
.rm-article-figure { margin: 32px 0; }
.rm-article-figure img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 16px; }
.rm-article-figure figcaption { font-size: .76rem; line-height: 1.5; color: #53616b; margin-top: 12px; }
.rm-article-figure figcaption a { font-weight: 500; }
.rm-feature .rm-article-figure { margin: 0; }
.rm-feature .rm-article-figure img { aspect-ratio: 4 / 3; }
.rm-latest--editorial { padding-block: clamp(42px, 5vw, 64px); }
.rm-latest__head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.rm-latest__head .rm-kicker { margin-bottom: 10px; }
.rm-latest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rm-latest-card { display: grid; grid-template-columns: minmax(170px, .86fr) minmax(0, 1.14fr); overflow: hidden; border: 1px solid #d6ded2; border-radius: var(--rm-radius); background: var(--rm-white); }
.rm-latest-card__image img { display: block; width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.rm-latest-card__body { display: flex; flex-direction: column; padding: 24px; }
.rm-latest-card h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.16; letter-spacing: -.025em; }
.rm-latest-card h3 a { text-decoration: none; }
.rm-latest-card h3 a:hover, .rm-latest-card h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }
.rm-latest-card p:not(.rm-post__meta) { margin: 0 0 18px; color: var(--rm-ink-soft); font-size: .92rem; }
.rm-latest-card .rm-post__meta { margin: 0 0 12px; color: #416028; font-size: .78rem; font-weight: 750; }
.rm-text-link { margin-top: auto; font-weight: 750; text-decoration: none; }
.rm-text-link:hover, .rm-text-link:focus-visible { text-decoration: underline; }
.rm-topics { padding-block: clamp(44px, 5.5vw, 70px); }
.rm-topics .rm-section__head { margin-bottom: 28px; }
.rm-portal-intro { padding-block: clamp(46px, 5.5vw, 72px); }
.rm-portal-intro .rm-split { grid-template-columns: .85fr 1.15fr; align-items: center; }
.rm-table-wrap { overflow-x: auto; margin: 28px 0; }
.rm-table-wrap table { width: 100%; border-collapse: collapse; background: white; font-size: .95rem; }
.rm-table-wrap caption { text-align: left; margin-bottom: 12px; font-size: .85rem; color: #53616b; }
.rm-table-wrap th, .rm-table-wrap td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--rm-line); }
.rm-table-wrap thead { background: var(--rm-ink); color: white; }
.rm-table-wrap td:last-child { white-space: nowrap; font-weight: 750; }
.rm-post a { text-decoration: none; }
.rm-post a:hover, .rm-post a:focus-visible { text-decoration: underline; }
.rm-topic-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.rm-topic-nav a { border: 1px solid #bac5b7; border-radius: 999px; padding: 8px 14px; text-decoration: none; font-size: .85rem; font-weight: 650; }
.rm-topic-nav a:hover, .rm-topic-nav a[aria-current="page"] { background: var(--rm-ink); border-color: var(--rm-ink); color: white; }
.rm-content h1 { font-size: clamp(1.9rem, 4.7vw, 3.15rem); line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
.rm-article-lead { font-size: 1.2rem; line-height: 1.7; }
.rm-content li { margin-bottom: .65em; }
.rm-content ul, .rm-content ol { padding-left: 1.4em; }
.rm-content p a, .rm-content li a { overflow-wrap: anywhere; }
.rm-article-meta { font-size: .85rem; margin-top: 32px; }
.rm-breadcrumb { font-size: .85rem; }
.rm-reading-next { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--rm-line); }
.pagination { margin-top: 32px; }
.page-numbers { display: inline-block; padding: 8px 14px; }
a:focus-visible { outline: 3px solid #659000; outline-offset: 5px; }
.screen-reader-text:focus { width: auto; height: auto; clip: auto; margin: 12px; padding: 12px; background: white; z-index: 100; }
[id] { scroll-margin-top: 110px; }

/* Ruhigere Typografie auf redaktionellen Beitragsseiten. */
.rm-content article.type-post > h1 {
  font-size: clamp(1.95rem, 3.65vw, 2.65rem);
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: -.022em;
}
.rm-content article.type-post > h2 {
  font-size: clamp(1.3rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -.012em;
}
.rm-content article.type-post > h3 {
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

/* Historisches Beitragsbild ohne den in die Vorlage eingebetteten Scan-Rahmen. */
.rm-content article.post-71 .rm-article-figure {
  overflow: hidden;
  background: transparent;
}
.rm-content article.post-71 .rm-article-figure img {
  width: 100%;
  height: min(500px, 60vw);
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.15);
}

.rm-footer { padding: 42px 0; border-top: 1px solid var(--rm-line); background: var(--rm-white); }
.rm-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.rm-footer p { margin: 0; color: var(--rm-ink-soft); font-size: .85rem; }
.rm-footer nav { display: flex; gap: 18px; font-size: .85rem; font-weight: 700; }

@media (max-width: 960px) {
  .rm-nav a:not(.rm-nav__cta) { display: none; }
  .rm-nav a.rm-nav__portal { display: inline; }
  .rm-hero__grid, .rm-section__head, .rm-split { grid-template-columns: 1fr; }
  .rm-domain-note { max-width: 250px; }
  .rm-cards { grid-template-columns: repeat(2, 1fr); }
  .rm-process { grid-template-columns: repeat(2, 1fr); }
  .rm-posts { grid-template-columns: 1fr 1fr; }
  .rm-feature__grid { grid-template-columns: 1fr; }
  .rm-latest-card { grid-template-columns: 1fr; }
  .rm-latest-card__image img { min-height: 220px; aspect-ratio: 16 / 9; }
  .rm-portal-intro .rm-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-bar .rm-header { top: 46px; }
  .rm-wrap { width: min(calc(100% - 28px), var(--rm-max)); }
  .rm-header__inner { min-height: 52px; }
  .rm-brand__logo { width: 158px; height: 38px; }
  .rm-nav__cta { padding: 2px 0; font-size: .79rem; }
  .rm-nav { gap: 10px; font-size: .8rem; }
  .rm-header__inner { gap: 10px; flex-wrap: nowrap; padding-block: 4px; }
  .rm-hero { padding: 36px 0 40px; }
  .rm-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.1rem); }
  .rm-hero__lead { margin-top: 20px; }
  .rm-domain-note { width: 100%; padding: 14px; }
  .rm-section__head { gap: 18px; }
  .rm-feature .rm-article-figure img { aspect-ratio: 16 / 10; }
  .rm-cards, .rm-process, .rm-posts { grid-template-columns: 1fr; }
  .rm-card { min-height: 0; }
  .rm-latest__head, .rm-latest-grid, .rm-points { grid-template-columns: 1fr; }
  .rm-latest__head { gap: 14px; }
  .rm-latest-card__image img { min-height: 0; }
  .rm-cta__inner, .rm-footer__inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Responsive Hauptnavigation: vollständiges Menü auf Tablet, Burger-Menü auf Smartphones. */
.rm-nav__desktop { display: flex; align-items: center; gap: 20px; }
.rm-nav__mobile { display: none; }

@media (max-width: 960px) and (min-width: 701px) {
  .rm-header__inner { gap: 14px; }
  .rm-nav__desktop { gap: 12px; font-size: .82rem; }
  .rm-nav__desktop a:not(.rm-nav__cta) { display: inline; }
}

@media (max-width: 700px) {
  .rm-nav__desktop { display: none; }
  .rm-nav__mobile { display: block; position: relative; }
  .rm-nav__mobile summary { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; background: rgba(255,255,255,.08); color: var(--rm-white); cursor: pointer; font-size: 1.3rem; font-weight: 800; line-height: 1; list-style: none; }
  .rm-nav__mobile summary::-webkit-details-marker { display: none; }
  .rm-nav__mobile summary:focus-visible { outline: 3px solid var(--rm-signal); outline-offset: 3px; }
  .rm-nav__mobile-panel { position: absolute; z-index: 30; top: calc(100% + 10px); right: 0; display: grid; min-width: min(300px, calc(100vw - 28px)); padding: 10px; border: 1px solid var(--rm-line); border-radius: 14px; background: var(--rm-white); box-shadow: 0 18px 38px rgba(16, 34, 43, .16); }
  .rm-nav__mobile-panel a, .rm-nav__mobile-panel a:not(.rm-nav__cta) { display: block; padding: 12px 14px; border-radius: 9px; color: var(--rm-ink); font-size: .95rem; font-weight: 750; text-decoration: none; }
  .rm-nav__mobile-panel a:hover, .rm-nav__mobile-panel a:focus-visible { background: var(--rm-sand); text-decoration: none; }
}


/* Static release 2.0 additions */
.rm-counter-pixel{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0 0 0 0);opacity:0;pointer-events:none}
.rm-post__image img,.rm-feature .rm-article-figure img{background:#e7ebe5}
.rm-legal h1{margin-bottom:34px}
.rm-dashboard-grid{display:grid;grid-template-columns:repeat(5,minmax(90px,1fr));gap:12px;margin:26px 0}
.rm-dashboard-card{padding:18px;border-radius:14px;background:#edf2e8;text-align:center}
.rm-dashboard-card strong{display:block;font-size:1.9rem;color:var(--rm-ink)}
.rm-dashboard-card span{font-size:.78rem;color:var(--rm-ink-soft);text-transform:uppercase;letter-spacing:.06em}
.rm-login{max-width:460px;margin:80px auto;padding:28px;background:#fff;border:1px solid var(--rm-line);border-radius:18px}
.rm-login label,.rm-login input{display:block;width:100%}.rm-login input{margin:8px 0 18px;padding:12px;border:1px solid #aeb8b2;border-radius:8px}
.rm-hero__grid--editorial{grid-template-columns:minmax(0,1fr);gap:0}
.rm-footer{padding:46px 0 22px;background:var(--rm-ink);color:#e1e8ec;border-top:1px solid #31424c}
.rm-footer__inner{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));align-items:start;gap:36px}
.rm-footer__logo{display:inline-block;max-width:100%;line-height:1}
.rm-footer__logo img{display:block;width:208px;height:auto;max-width:100%}
.rm-footer .rm-footer__brand p{margin:16px 0 0;max-width:29ch;color:#bdcbd3;font-size:.86rem;line-height:1.65}
.rm-footer nav{display:block;font-size:.86rem;font-weight:400}
.rm-footer h2{margin:4px 0 13px;color:#f5f7f8;font-size:.9rem;font-weight:650;line-height:1.4;letter-spacing:0}
.rm-footer__links{list-style:none;margin:0;padding:0}
.rm-footer__links li{margin:0;padding:0}
.rm-footer__links a{display:inline-block;max-width:100%;padding:4px 0;color:#c6d3da;line-height:1.55;overflow-wrap:anywhere;text-decoration:none}
.rm-footer a:hover{text-decoration:underline;text-decoration-color:var(--rm-signal);text-underline-offset:4px;color:#fff}
.rm-footer a:focus-visible{outline:2px solid var(--rm-signal);outline-offset:4px;border-radius:2px}
.rm-footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;margin-top:32px;padding-top:18px;border-top:1px solid #34454f}
.rm-footer .rm-footer__bottom p{margin:0;color:#adbec8;font-size:.76rem;line-height:1.6}
.rm-footer__bottom nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;font-size:.76rem}
.rm-footer__bottom a{display:inline-block;padding:4px 0;color:#adbec8;text-decoration:none;line-height:1.55}
.rm-footer .rm-domain-enquiry{font-weight:400;color:#adbec8}
@media(max-width:960px){.rm-footer__inner{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 32px}.rm-footer__brand{grid-column:1/-1}.rm-footer .rm-footer__brand p{max-width:52ch;margin-top:12px}}
@media(max-width:600px){.rm-footer{padding:34px 0 20px}.rm-footer__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}.rm-footer__logo img{width:188px}.rm-footer .rm-footer__brand p{max-width:39ch}.rm-footer__info{grid-column:1/-1}.rm-footer__info .rm-footer__links{display:flex;flex-wrap:wrap;gap:4px 24px}.rm-footer h2{margin-top:0;margin-bottom:9px}.rm-footer__bottom{flex-direction:column;align-items:flex-start;gap:10px;margin-top:24px;padding-top:16px}.rm-footer__bottom nav{gap:8px 24px}}
@media(max-width:760px){.rm-dashboard-grid{grid-template-columns:repeat(2,1fr)}}
