/* 01 · Schriftdateien */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "InterErsatz";
  src: local("Helvetica Neue"), local("Arial"), local("Liberation Sans");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* 02 · Farb- und Massangaben */
:root {
  --paper: #ffffff;
  --soft: #f6f6f3;
  --ink: #000000;
  --mute: #565e67;
  --line: #d7d8d0;
  --hl: #ff6100;
  --hl-deep: #bf4400;
  --rail: 1160px;
  --gap-s: 14px;
  --gap-m: 28px;
  --gap-l: 56px;
  --gap-xl: 84px;
  --pill: 999px;
  --plate: 22px;
  --face: "Inter", "InterErsatz", ui-sans-serif, system-ui, sans-serif;
  --face-dis: "Quicksand", "Inter", "InterErsatz", ui-sans-serif, sans-serif;
  --face-num: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* 03 · Grundtypografie */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.16; }
h1 { font-family: var(--face-dis); font-size: clamp(34px, 6.4vw, 62px); letter-spacing: 0.005em; }
h2 { font-family: var(--face-dis); font-size: clamp(27px, 3.8vw, 42px); letter-spacing: 0.005em; }
h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: 0.5em; }
img, svg { max-width: 100%; }
a { color: var(--hl-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--hl); outline-offset: 3px; border-radius: 4px; }
.rmc-wrap { width: 100%; max-width: var(--rail); margin-inline: auto; padding-inline: 24px; }
.rmc-lede { font-size: clamp(17px, 1.9vw, 20px); color: var(--mute); max-width: 38em; }
.rmc-eyebrow {
  display: inline-block;
  font-family: var(--face-num);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 var(--gap-s);
}
.rmc-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--pill); z-index: 60;
}
.rmc-skip:focus { left: 16px; top: 12px; }
main { display: block; }

/* 04 · Aktionen (Kapselgeometrie fuer alle Schaltflaechen) */
.rmc-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 30px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.rmc-action--lead { background: var(--hl); color: var(--ink); }
.rmc-action--lead:hover { background: #ffd0b3; color: var(--ink); transform: translateY(-3px); }
.rmc-action--ghost { background: transparent; border-color: var(--ink); font-weight: 700; }
.rmc-action--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.rmc-action--mail { background: var(--ink); color: var(--paper); }
.rmc-action--mail:hover { background: var(--hl); color: var(--ink); transform: translateY(-3px); }
.rmc-action:active { transform: translateY(0); }
.rmc-action svg { flex: none; }

/* 05 · Fussbereich */
.rmc-strip--base { background: var(--paper); padding: var(--gap-xl) 0 42px; margin-top: var(--gap-xl); }
.rmc-strip--base .rmc-wrap { display: grid; gap: var(--gap-l); grid-template-columns: 1.4fr 1fr 1fr; }
.rmc-strip__about { max-width: 26em; }
.rmc-strip__about p { color: var(--mute); font-size: 15.5px; }
.rmc-strip__col h2 { font-family: var(--face); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.rmc-strip__list { list-style: none; margin: 0; padding: 0; }
.rmc-strip__list li { margin: 0; }
.rmc-strip__list a { display: inline-block; padding: 13px 0; color: var(--ink); text-decoration: none; font-size: 15.5px; }
.rmc-strip__list a:hover { color: var(--hl-deep); text-decoration: underline; }
.rmc-strip__legal { grid-column: 1 / -1; padding-top: var(--gap-m); color: var(--mute); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.rmc-strip__rule { flex: 0 0 100%; margin: 0 0 var(--gap-m); }
.rmc-strip__rule::before { content: ""; display: block; width: 64px; height: 3px; background: var(--hl); }

/* 06 · Kopfleiste */
.rmc-strip--top { position: sticky; top: 0; z-index: 40; background: var(--paper); transition: box-shadow .2s ease; }
.rmc-strip--top.is-lifted { box-shadow: 0 6px 26px rgba(0, 0, 0, .08); }
.rmc-strip__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-m); min-height: 76px; }
.rmc-strip__mark { font-family: var(--face-dis); font-size: 25px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; color: var(--ink); padding: 10px 0; }
.rmc-strip__mark span { color: var(--hl-deep); }
.rmc-strip__nav { display: flex; align-items: center; gap: 6px; }
.rmc-strip__nav a { padding: 14px 14px; color: var(--ink); text-decoration: none; font-size: 15.5px; border-radius: var(--pill); }
.rmc-strip__nav a:hover { background: var(--soft); color: var(--hl-deep); }
.rmc-strip__toggle { display: none; width: 52px; height: 52px; padding: 0; align-items: center; justify-content: center; background: transparent; border: 2px solid var(--ink); border-radius: var(--pill); cursor: pointer; color: var(--ink); }
.rmc-strip__toggle:hover { background: var(--ink); color: var(--paper); }
.rmc-strip__toggle svg + svg { display: none; }
.rmc-strip__toggle[aria-expanded="true"] svg { display: none; }
.rmc-strip__toggle[aria-expanded="true"] svg + svg { display: block; }
@media (max-width: 860px) {
  .rmc-strip__toggle { display: inline-flex; }
  .rmc-strip__nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px 24px 26px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .1);
  }
  .rmc-strip--top.is-open .rmc-strip__nav { display: flex; }
  .rmc-strip__nav a { padding: 16px 12px; font-size: 17px; }
  .rmc-strip--top { position: sticky; }
  .rmc-strip__bar { position: relative; }
}
@media (max-width: 700px) {
  .rmc-strip--base .rmc-wrap { grid-template-columns: 1fr; gap: var(--gap-m); }
}

/* 07 · Buehne (Einstieg) */
.rmc-stage { padding: var(--gap-xl) 0 var(--gap-l); text-align: center; }
.rmc-stage__head { margin-inline: auto; max-width: 16em; }
.rmc-stage__head em { font-style: normal; color: var(--hl-deep); }
.rmc-stage__lede { margin: var(--gap-m) auto 0; text-align: left; }
@media (min-width: 720px) { .rmc-stage__lede { text-align: center; } }
.rmc-stage__acts { display: flex; flex-wrap: wrap; gap: var(--gap-s); justify-content: center; margin-top: 34px; }
.rmc-stage__shelf { margin-top: var(--gap-xl); }
.rmc-stage__shelfhead { font-family: var(--face-num); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin: 0 0 18px; }
.rmc-stage__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.rmc-stage__row li { margin: 0; }
.rmc-stage__row img { display: block; width: 68px; height: 68px; border-radius: 20px; }
@media (min-width: 720px) { .rmc-stage__row img { width: 84px; height: 84px; border-radius: 24px; } }

/* 08 · Katalog */
.rmc-board { padding: var(--gap-l) 0; }
.rmc-board__top { max-width: 44em; margin-bottom: var(--gap-l); }
.rmc-board__top p { color: var(--mute); margin-top: 18px; max-width: 40em; }
.rmc-board__grid { display: grid; gap: 22px; grid-template-columns: repeat(12, 1fr); }
.rmc-tile { grid-column: span 12; background: var(--soft); border-radius: var(--plate); padding: var(--gap-m); }
.rmc-tile__no { font-family: var(--face-dis); font-size: 46px; line-height: 1; font-weight: 700; color: var(--hl-deep); display: block; margin-bottom: 16px; }
.rmc-tile__icon { display: block; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 16px; }
.rmc-tile__name { margin-bottom: 4px; }
.rmc-tile__dev { color: var(--mute); font-size: 14.5px; margin: 0 0 12px; }
.rmc-tile__rate { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }
.rmc-tile__rate svg { color: var(--hl-deep); }
.rmc-tile__rate span { color: var(--mute); font-weight: 400; }
.rmc-tile__text { font-size: 15.5px; color: #1c1c1c; }
.rmc-tile__data {
  margin-top: 18px; padding-top: 14px;
  font-family: var(--face-num); font-size: 12.5px; letter-spacing: 0.01em;
  color: var(--mute); word-break: break-word;
  border-top: 1px solid var(--line);
}
.rmc-tile--lead { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr; background: var(--soft); }
.rmc-tile--lead .rmc-tile__body { padding: var(--gap-m); }
.rmc-tile--lead .rmc-tile__no { font-size: 58px; }
.rmc-tile--lead .rmc-tile__text { font-size: 16.5px; }
.rmc-tile__shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rmc-tile__frame { min-height: 260px; }
@media (min-width: 760px) {
  .rmc-tile { grid-column: span 6; }
  .rmc-tile--lead { grid-column: span 12; grid-template-columns: 1fr 268px; }
  .rmc-tile--lead .rmc-tile__body { padding: 40px; }
  .rmc-tile__frame { min-height: 100%; }
}
@media (min-width: 1040px) {
  .rmc-tile { grid-column: span 4; }
  .rmc-tile--lead { grid-column: span 8; }
  .rmc-tile--pair { grid-column: span 4; }
}

/* 09 · Vergleichstafel */
.rmc-board--sheet { padding-top: var(--gap-xl); }
.rmc-board__scroll { overflow-x: auto; margin-top: var(--gap-m); }
.rmc-board__scroll:focus-visible { outline: 3px solid var(--hl); outline-offset: 4px; }
table { border-collapse: collapse; width: 100%; min-width: 780px; font-size: 15px; }
caption { text-align: left; color: var(--mute); font-size: 14px; padding-bottom: 14px; }
thead th { text-align: left; font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--mute); padding: 0 16px 12px; vertical-align: bottom; }
thead tr { border-bottom: 3px solid var(--hl); }
tbody th { text-align: left; font-weight: 700; padding: 18px 16px; vertical-align: top; }
tbody td { padding: 18px 16px; vertical-align: top; color: #1c1c1c; }
tbody tr:nth-child(odd) { background: var(--soft); }
.rmc-board__yes { display: inline-flex; align-items: center; gap: 7px; }
.rmc-board__yes svg { color: var(--hl-deep); flex: none; }
.rmc-board__score { font-family: var(--face-num); font-weight: 700; }
.rmc-note--sub { margin-top: 20px; color: var(--mute); font-size: 14.5px; max-width: 44em; }

/* 10 · Zuckerpost */
.rmc-note--offer { padding: var(--gap-xl) 0 var(--gap-l); }
.rmc-note__plate { background: var(--soft); border-radius: var(--plate); padding: var(--gap-m); }
.rmc-note__price {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--hl); color: var(--ink); font-weight: 700;
  border-radius: var(--pill); padding: 9px 22px; margin-bottom: 20px;
}
.rmc-note__price b { font-family: var(--face-dis); font-size: 24px; }
.rmc-note__grid { display: grid; gap: var(--gap-m); }
.rmc-note__list { list-style: none; margin: 22px 0 0; padding: 0; }
.rmc-note__list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15.5px; }
.rmc-note__list svg { flex: none; margin-top: 4px; color: var(--hl-deep); }
.rmc-note__fine { color: var(--mute); font-size: 14.5px; margin-top: 22px; }
.rmc-note__acts { margin-top: 26px; }
@media (min-width: 860px) {
  .rmc-note__plate { padding: var(--gap-l); }
  .rmc-note__grid { grid-template-columns: 1.05fr 1fr; gap: var(--gap-l); }
}

/* 11 · Kontakt */
.rmc-stage--reach { padding: var(--gap-l) 0 0; text-align: left; }
.rmc-stage--reach .rmc-lede { margin-top: 18px; }
.rmc-stage__mailbox { margin-top: var(--gap-m); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.rmc-stage__addr { font-style: normal; color: var(--mute); font-size: 15px; margin-top: 20px; }

/* 12 · Hinweisbanner und Nach-oben-Taste */
.rmc-note--hint {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--paper); box-shadow: 0 -8px 30px rgba(0, 0, 0, .12);
  padding: 18px 0;
}
.rmc-note--hint[hidden] { display: none; }
.rmc-note__inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.rmc-note__text { font-size: 14.5px; color: var(--mute); margin: 0; max-width: 44em; }
.rmc-note__keys { display: flex; gap: 10px; flex-wrap: wrap; }
.rmc-note__keys .rmc-action { min-height: 48px; padding: 10px 24px; font-size: 15px; }
.rmc-action--up {
  position: fixed; right: 20px; bottom: 92px; z-index: 45;
  width: 52px; height: 52px; min-height: 52px; padding: 0;
  background: var(--ink); color: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .16s ease, visibility .2s;
}
.rmc-action--up.is-shown { opacity: 1; visibility: visible; }
.rmc-action--up:hover { background: var(--hl); color: var(--ink); transform: translateY(-3px); }

/* 13 · Rechtsseiten */
.rmc-board--legal { padding: var(--gap-l) 0 0; }
.rmc-board--legal .rmc-wrap > * { max-width: 46em; }
.rmc-board--legal h1 { font-size: clamp(30px, 4.6vw, 46px); }
.rmc-board--legal h2 { font-family: var(--face); font-size: clamp(20px, 2.2vw, 24px); margin: var(--gap-l) 0 14px; }
.rmc-board--legal h3 { font-size: 17.5px; margin: var(--gap-m) 0 10px; }
.rmc-board--legal p, .rmc-board--legal li { font-size: 16px; }
.rmc-board--legal .rmc-note--sub { margin-bottom: var(--gap-m); }
.rmc-board--legal table { min-width: 620px; font-size: 14.5px; }
.rmc-board--legal .rmc-board__scroll { max-width: 100%; }
.rmc-board__back { margin-top: var(--gap-l); }
.rmc-board__stand { font-family: var(--face-num); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
