/* =====================================================================
   MRG Treuhand – Design-System 2026
   Farben aus dem Logo (Navy + Blau), Schrift Plus Jakarta Sans.
   «Ent-KI» (10/2026): Radien 12 / 8 / 6 / 10 px, Überschriften 700, kleine
   Labels in normaler Schreibweise, keine Zierschatten, keine hellblauen Flächen.
   Klassen mit Präfix "r-" sind neu; der Block "Legacy" am Ende
   gleicht die bestehenden Tailwind-Seiten an das neue Erscheinungsbild an.
   ===================================================================== */

:root {
  --r-navy: #001A80;
  --r-ink: #0B1533;
  --r-blue: #0060E6;
  --r-blue-light: #7FB2FF;
  --r-sky: #E3EEFF;
  --r-soft: #F4F7FB;
  --r-soft-2: #EEF3FA;
  --r-line: #DCE3EE;
  --r-line-2: #CBD5E4;
  --r-muted: #4A5570;
  --r-muted-2: #2A3658;
  --r-on-dark: #D6E0F5;
  --r-on-dark-2: #BFD6FF;
  --r-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  /* Geist Mono wird nicht mehr verwendet. Die Variable bleibt bestehen, damit
     ältere Seiten-Stile mit var(--r-mono) automatisch die Grundschrift erhalten. */
  --r-mono: var(--r-font);
  --r-radius: 12px;      /* Karten, Panels, Kacheln, Boxen */
  --r-radius-img: 8px;   /* Bilder, Video, Titelbilder */
  --r-radius-chip: 6px;  /* Chips, Tags, Zähler */
  --r-radius-btn: 10px;  /* Knöpfe, Eingabefelder */
  --r-star: #F2A900;     /* Bewertungssterne (Google-Gelb) */
  --r-header-h: 116px;
  --r-gutter: clamp(20px, 4.5vw, 64px);
}
@media (max-width: 1023px) { :root { --r-header-h: 68px; } }

html { scroll-padding-top: calc(var(--r-header-h) + 16px); }
body { font-family: var(--r-font); color: var(--r-ink); -webkit-font-smoothing: antialiased; }

/* ---------- Grundbausteine ---------- */
.r-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--r-gutter); padding-right: var(--r-gutter); box-sizing: border-box; }
.r-section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.r-eyebrow { font-family: var(--r-font); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #0047B3; }
.r-eyebrow--dark { color: var(--r-on-dark-2); }
.r-h1 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -0.02em; }
.r-h2 { margin: 0; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.r-h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.r-lead { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--r-muted); }
.r-muted { color: var(--r-muted); }
.r-mono { font-family: var(--r-mono); }

.r-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-radius-btn); font-family: var(--r-font); font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.r-btn:active { transform: scale(.98); }
.r-btn--dark { background: var(--r-ink); color: #fff; }
.r-btn--dark:hover { background: var(--r-navy); color: #fff; }
.r-btn--blue { background: var(--r-blue); color: #fff; }
.r-btn--blue:hover { background: var(--r-navy); color: #fff; }
.r-btn--navy { background: var(--r-navy); color: #fff; }
.r-btn--navy:hover { background: var(--r-ink); color: #fff; }
.r-btn--white { background: #fff; color: var(--r-ink); }
.r-btn--white:hover { background: var(--r-soft-2); color: var(--r-ink); }
.r-btn--ghost { background: #fff; color: var(--r-ink); border-color: var(--r-line-2); }
.r-btn--ghost:hover { border-color: var(--r-ink); color: var(--r-ink); }
.r-btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.r-btn--glass:hover { background: rgba(255,255,255,.2); color: #fff; }
.r-btn--lg { min-height: 58px; font-size: 17px; padding: 0 30px; }
.r-btn svg { flex-shrink: 0; }
.r-link { font-weight: 700; color: var(--r-navy); text-decoration: underline; text-underline-offset: 3px; }
.r-link:hover { color: var(--r-blue); }
.r-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-radius-chip); border: 1px solid var(--r-line-2); font-size: 14px; font-weight: 600; line-height: 1.35; background: #fff; color: var(--r-ink); }
.r-card { border-radius: var(--r-radius); background: var(--r-soft); padding: 32px; }
.r-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.r-btn:focus-visible, .r-nav a:focus-visible, .r-icon-btn:focus-visible, a:focus-visible { outline: 3px solid var(--r-blue); outline-offset: 3px; }

/* ---------- Kopfzeile ---------- */
.r-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .25s; }
.r-header.scrolled { box-shadow: none; } /* Trennung nur über die Haarlinie von .r-header__bar */
.r-topbar { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--r-navy); color: #fff; font-size: 14px; transition: margin-top .25s; }
.r-topbar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.r-header.scrolled .r-topbar { margin-top: -40px; }
.r-header__bar { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #E4E9F2; }
.r-header__left { display: flex; align-items: center; gap: 44px; min-width: 0; }
.r-logo { display: flex; align-items: center; gap: 10px; color: var(--r-navy); text-decoration: none; flex-shrink: 0; }
.r-logo img { height: 44px; width: auto; display: block; }
.r-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.r-nav > a, .r-nav__drop > a { color: var(--r-ink); text-decoration: none; padding: 10px 0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.r-nav > a:hover, .r-nav__drop > a:hover { color: var(--r-blue); }
.r-nav__drop { position: relative; }
.r-nav__menu { position: absolute; top: 100%; left: -16px; min-width: 260px; padding: 10px; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius); box-shadow: 0 24px 60px rgba(11,21,51,.16); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; }
.r-nav__drop:hover .r-nav__menu, .r-nav__drop:focus-within .r-nav__menu { opacity: 1; visibility: visible; transform: none; }
.r-nav__menu a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--r-ink); text-decoration: none; font-weight: 600; }
.r-nav__menu a:hover { background: var(--r-soft); color: var(--r-navy); }
.r-header__actions { display: flex; align-items: center; gap: 10px; }
.r-header__phone { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 600; font-size: 15px; color: var(--r-ink); text-decoration: none; border-radius: var(--r-radius-btn); white-space: nowrap; }
.r-header__phone:hover { background: var(--r-soft); }
.r-icon-btn { width: 44px; height: 44px; border: 0; border-radius: var(--r-radius-btn); background: var(--r-soft); color: var(--r-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.r-header .r-btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.r-only-mobile { display: none; }
@media (max-width: 1023px) {
  .r-topbar, .r-nav, .r-header__phone, .r-header .r-btn { display: none; }
  .r-header__bar { height: 68px; }
  .r-only-mobile { display: inline-flex; }
}
/* 1024–1179 px (Tablet quer, kleine Laptops): Menü bleibt einzeilig, Telefonnummer als Symbol-Knopf */
@media (min-width: 1024px) and (max-width: 1179px) {
  .r-header__left { gap: 28px; }
  .r-nav { gap: 20px; }
  .r-header__phone { display: none; }
  .r-header__actions .r-header__tel { display: inline-flex; order: -1; }
}

/* Sprunglink «Zum Hauptinhalt springen»: nur bei Tastaturfokus sichtbar */
.r-skip { position: absolute; left: 16px; top: -200px; z-index: 200; padding: 12px 20px; border-radius: var(--r-radius-btn); background: var(--r-ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.r-skip:focus { top: 12px; color: #fff; }
#main-content:focus { outline: none; }

/* Seitenmenü (mobil) */
.r-side-overlay { position: fixed; inset: 0; background: rgba(11,21,51,.45); z-index: 94; opacity: 0; transition: opacity .25s; }
.r-side-overlay.hidden { display: none; }
.r-side { position: fixed; top: 0; right: 0; height: 100%; width: 360px; max-width: 88vw; background: #fff; z-index: 95; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; display: flex; flex-direction: column; }
.r-side:not(.translate-x-full) { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
html.r-menu-open, html.r-menu-open body { overflow: hidden; }
.r-side__head { height: 68px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #E4E9F2; }
.r-side__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px 20px; }
.r-side__body ul { list-style: none; margin: 0; padding: 0; }
.r-side__body a { display: block; padding: 12px 4px; color: var(--r-ink); text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.r-side__label { display: block; margin: 16px 4px 4px; font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--r-muted); text-transform: none; }
.r-side__sub a { font-size: 17px; font-weight: 600; padding: 9px 4px; }
.r-side__foot { padding: 16px 20px 24px; display: grid; gap: 8px; border-top: 1px solid #E4E9F2; }

/* ---------- Fusszeile ---------- */
.r-footer { background: var(--r-navy); color: #C8D6F5; font-size: 15px; padding: 72px 0 40px; }
.r-footer a { color: #C8D6F5; text-decoration: none; }
.r-footer a:hover { color: #fff; }
.r-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.r-footer h3 { margin: 0 0 14px; font-size: 15px; color: #fff; font-weight: 700; }
.r-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.r-footer__brand { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.r-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; color: #A9BCE8; text-transform: none; }
.r-footer__bottom a { color: #A9BCE8; }
@media (max-width: 1023px) { .r-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .r-footer__grid { grid-template-columns: 1fr; } .r-footer { padding-bottom: 110px; } }

/* Aktionsleiste unten (nur mobil) */
.r-mobilebar { display: none; }
@media (max-width: 767px) {
  .r-mobilebar { position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 85; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: var(--r-radius); background: #fff; box-shadow: 0 12px 36px rgba(6,14,48,.28); transform: translateY(140%); transition: transform .3s; }
  .r-mobilebar.is-visible { transform: none; }
  .r-mobilebar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-radius-btn); font-weight: 700; text-decoration: none; }
  .r-mobilebar a:first-child { background: var(--r-ink); color: #fff; }
  .r-mobilebar a:last-child { background: var(--r-soft-2); color: var(--r-ink); }
}

/* Cookie-Banner (footer.php): eingeblendet über .is-visible */
.r-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--r-ink); color: #fff; padding: 18px 0; box-shadow: 0 -12px 40px rgba(6,14,48,.22); transform: translateY(110%); visibility: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s linear .45s; }
.r-cookie.is-visible { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.r-cookie__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; }
.r-cookie__text { margin: 0; max-width: 760px; font-size: 15px; line-height: 1.5; color: var(--r-on-dark); }
.r-cookie__text a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.r-cookie__btns { display: flex; gap: 10px; flex-shrink: 0; }
.r-cookie .r-btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
@media (max-width: 767px) {
  .r-cookie { padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); }
  .r-cookie__inner { flex-direction: column; align-items: stretch; }
  .r-cookie__btns .r-btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) { .r-cookie, .r-cookie.is-visible { transition: none; } }

/* Chat «Mia» (Chatbase, setzt Inline-Stile, daher !important):
   solange der Cookie-Banner offen ist, Chat-Knopf und Begrüssung ausblenden;
   auf dem Handy über die Aktionsleiste setzen und die Begrüssungsblase weglassen */
body:has(#cookie-banner.is-visible) #chatbase-bubble-button,
body:has(#cookie-banner.is-visible) #chatbase-message-bubbles,
html.r-menu-open #chatbase-bubble-button, html.r-menu-open #chatbase-message-bubbles { display: none !important; }
@media (max-width: 767px) {
  #chatbase-message-bubbles { display: none !important; }
  body:has(#r-mobilebar.is-visible) #chatbase-bubble-button { bottom: 92px !important; }
}

/* ---------- Legacy-Angleichung bestehender Seiten ---------- */
body, button, input, select, textarea { font-family: var(--r-font); }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.font-black { font-weight: 700; }
.bg-blue-600, .bg-cyan-600 { background-color: var(--r-blue) !important; }
.hover\:bg-blue-700:hover, .hover\:bg-cyan-700:hover { background-color: var(--r-navy) !important; }
.bg-blue-900, .bg-slate-900 { background-color: var(--r-ink) !important; }
.text-blue-600, .text-cyan-600, .text-cyan-700 { color: var(--r-blue) !important; }
.text-blue-900 { color: var(--r-navy) !important; }
.bg-blue-50, .bg-cyan-50 { background-color: var(--r-soft) !important; }
.gradient-text { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--r-blue) !important; }
.rounded-xl.bg-blue-600, a.bg-blue-600, button.bg-blue-600, a.bg-slate-900, a.bg-emerald-500, button.bg-emerald-500 { border-radius: var(--r-radius-btn) !important; }
.bg-emerald-500 { background-color: var(--r-blue) !important; }
.hover\:bg-emerald-600:hover { background-color: var(--r-navy) !important; }
main#main-content { padding-top: 0; }

.r-side-overlay:not(.opacity-0) { opacity: 1; }

/* =====================================================================
   Startseite 2026
   ===================================================================== */
.rh { background: #fff; }
.rh-hero { position: relative; overflow: hidden; background: var(--r-ink); color: #fff; margin-top: var(--r-header-h); min-height: min(860px, calc(100vh - var(--r-header-h))); display: flex; }
.rh-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.rh-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,21,51,.94) 0%, rgba(11,21,51,.88) 28%, rgba(11,21,51,.6) 45%, rgba(11,21,51,.22) 62%, rgba(11,21,51,0) 78%), linear-gradient(0deg, rgba(11,21,51,.55) 0%, rgba(11,21,51,0) 22%); }
.rh-hero__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(32px, 5vw, 64px); width: 100%; }
.rh-hero__text { max-width: 620px; display: flex; flex-direction: column; gap: 26px; }
.rh-hero h1 span { color: var(--r-blue-light); }
.rh-hero p { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--r-on-dark); }
.rh-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.rh-film-btn { padding: 0 22px 0 8px; }
.rh-film-btn__icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--r-ink); display: flex; align-items: center; justify-content: center; }
.rh-film-btn small { font-family: var(--r-font); font-size: 14px; font-weight: 500; color: var(--r-on-dark-2); }
.rh-hero__facts { max-width: 620px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.rh-avatars { display: flex; }
.rh-avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--r-ink); }
.rh-avatars img + img { margin-left: -12px; }
.rh-fact { display: flex; flex-direction: column; }
.rh-fact strong { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.rh-fact span, .rh-person span { font-size: 13px; color: var(--r-on-dark-2); }
.rh-person { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.rh-person span { display: block; font-size: 14px; }

.rh-logos { border-bottom: 1px solid var(--r-line); }
.rh-logos__inner { display: flex; align-items: center; gap: 56px; padding-top: 32px; padding-bottom: 32px; }
.rh-logos__label { font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--r-muted); flex-shrink: 0; line-height: 1.5; }
.rh-logos__row { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.rh-logos__row img { height: 34px; width: auto; filter: grayscale(1); opacity: .75; }

.rh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 56px; }
.rh-head p { max-width: 420px; }
.rh-head--center { flex-direction: column; align-items: center; text-align: center; }

.rh-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--r-line); border-bottom: 1px solid var(--r-line); }
.rh-sit { min-height: 360px; padding: 40px 36px; border-right: 1px solid var(--r-line); color: var(--r-ink); text-decoration: none; display: flex; flex-direction: column; gap: 18px; transition: background .2s; }
.rh-sit:last-child { border-right: 0; }
.rh-sit:hover { background: var(--r-soft); color: var(--r-ink); }
.rh-sit--blue, .rh-sit--blue:hover { background: var(--r-blue); color: #fff; }
.rh-sit--blue:hover { background: var(--r-navy); }
.rh-sit__label { font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--r-muted); }
.rh-sit--blue .rh-sit__label { color: #E3EEFF; }
.rh-sit__title { font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.rh-sit__text { font-size: 16px; color: var(--r-muted); flex-grow: 1; }
.rh-sit--blue .rh-sit__text { color: #E3EEFF; }
.rh-sit__foot { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.rh-arrow { width: auto; height: auto; border: 0; background: none; color: var(--r-blue); display: inline-flex; align-items: center; flex-shrink: 0; }
.rh-sit--blue .rh-arrow { color: #fff; }

.rh-panel { border-radius: var(--r-radius); background: #fff; border: 1px solid var(--r-line); padding: clamp(36px, 6vw, 88px) clamp(24px, 5.5vw, 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rh-panel h2 { color: var(--r-navy); }
.rh-panel p { margin: 0; font-size: 19px; color: var(--r-muted-2); }
.rh-steps { display: grid; gap: 0; }
.rh-step { padding: 24px 0; border-top: 1px solid var(--r-line); display: flex; gap: 20px; align-items: flex-start; }
.rh-step:last-child { border-bottom: 1px solid var(--r-line); }
.rh-step__n { font-family: var(--r-font); font-size: 15px; font-weight: 600; color: #0047B3; padding-top: 4px; }
.rh-step strong { display: block; font-size: 21px; letter-spacing: -0.4px; }
.rh-step span { color: var(--r-muted); }

.rh-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rh-price { padding: 40px; border-radius: var(--r-radius); background: var(--r-soft); display: flex; flex-direction: column; gap: 22px; }
.rh-price--dark { background: var(--r-navy); color: #fff; }
.rh-price__name { font-family: var(--r-font); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--r-muted); display: flex; justify-content: space-between; align-items: center; }
.rh-price--dark .rh-price__name { color: var(--r-on-dark-2); }
.rh-price__badge { font-family: var(--r-font); font-size: 13px; font-weight: 700; letter-spacing: 0; padding: 5px 10px; border-radius: var(--r-radius-chip); background: var(--r-blue); color: #fff; }
.rh-price__amount { display: flex; align-items: baseline; gap: 8px; }
.rh-price__amount strong { font-size: clamp(56px, 5vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -0.025em; }
.rh-price__amount span { color: var(--r-muted); }
.rh-price--dark .rh-price__amount span, .rh-price--dark .rh-price__desc { color: var(--r-on-dark-2); }
.rh-price__desc { color: var(--r-muted-2); flex-grow: 1; }
.rh-unsure { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 24px 32px; border-radius: var(--r-radius); border: 1px solid var(--r-line); font-size: 18px; }

.rh-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.rh-flow__card { padding: 32px 28px; border-radius: var(--r-radius); background: var(--r-soft); display: flex; flex-direction: column; gap: 14px; }
.rh-flow__card--dark { background: var(--r-navy); color: #fff; }
.rh-flow__n { display: block; font-family: var(--r-font); font-size: 15px; font-weight: 600; color: #0047B3; }
.rh-flow__card--dark .rh-flow__n { color: var(--r-blue-light); }
.rh-flow__card strong { font-size: 24px; letter-spacing: -0.6px; }
.rh-flow__card span { color: var(--r-muted); }
.rh-flow__card--dark span { color: var(--r-on-dark); }

.rh-team { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 60px); align-items: center; }
.rh-team__text { display: flex; flex-direction: column; gap: 26px; }
.rh-team__people { display: grid; gap: 14px; }
/* Spezifischer als .rp-split img (width 100%), sonst werden die Avatare in Split-Layouts zu Streifen */
.rh-team__people .rh-team__person img { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%; object-fit: cover; }
.rh-team__person { display: flex; gap: 16px; align-items: center; }
.rh-team__person span { display: block; font-size: 15px; color: var(--r-muted); }
.rh-team__img { width: 100%; height: clamp(320px, 42vw, 600px); object-fit: cover; object-position: 55% 50%; border-radius: var(--r-radius-img); }
.rh-assure { padding: 20px 22px; border-radius: var(--r-radius); background: #fff; border: 1px solid var(--r-line); display: flex; gap: 14px; align-items: flex-start; }
.rh-assure__icon { width: 20px; height: 24px; flex-shrink: 0; color: var(--r-navy); display: flex; align-items: center; justify-content: flex-start; }
.rh-assure strong { display: block; color: var(--r-navy); }
.rh-assure span { font-size: 15px; color: var(--r-muted-2); }

.rh-ai { border-radius: var(--r-radius); background: var(--r-blue); color: #fff; padding: clamp(48px, 7vw, 88px) clamp(24px, 5.5vw, 80px); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.rh-ai p { margin: 0; font-size: 20px; color: #E3EEFF; max-width: 760px; }
.rh-ai__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 12px; }
.rh-ai__note { font-size: 14px; color: #E3EEFF; }

.rh-faq { display: grid; grid-template-columns: 4fr 8fr; gap: 20px; }
.rh-faq__list { display: grid; gap: 10px; }
.rh-faq details { border-radius: var(--r-radius); background: var(--r-soft); }
.rh-faq summary { list-style: none; cursor: pointer; padding: 26px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 20px; font-weight: 700; }
.rh-faq summary::-webkit-details-marker { display: none; }
.rh-faq summary::after { content: '+'; font-size: 26px; font-weight: 500; color: var(--r-muted); }
.rh-faq details[open] summary::after { content: '–'; }
.rh-faq details p { margin: 0; padding: 0 32px 28px; color: var(--r-muted); max-width: 720px; }
.rh-faq__more { margin-top: 4px; padding: 32px; border-radius: var(--r-radius); background: var(--r-navy); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rh-faq__more span { color: #C8D6F5; }
.rh-round { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-radius-btn); background: rgba(255,255,255,.12); color: #fff; }

.rh-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rh-post { padding: 32px; border-radius: var(--r-radius); border: 1px solid var(--r-line); color: var(--r-ink); text-decoration: none; display: flex; flex-direction: column; gap: 16px; min-height: 280px; transition: border-color .2s, background .2s; }
.rh-post:hover { border-color: var(--r-blue); color: var(--r-ink); }
.rh-post strong { font-size: 23px; line-height: 1.22; letter-spacing: -0.5px; flex-grow: 1; }
.rh-post__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--r-muted); }

.rh-dialog { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
.rh-dialog::backdrop { background: rgba(6,14,48,.92); }
.rh-dialog video { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-radius-img); background: #000; display: block; }
.rh-dialog__close { position: fixed; right: 24px; top: 24px; }

@media (max-width: 1100px) {
  .rh-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-sit:nth-child(2) { border-right: 0; }
  .rh-sit:nth-child(-n+2) { border-bottom: 1px solid var(--r-line); }
  .rh-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .rh-hero__shade { background: linear-gradient(90deg, rgba(11,21,51,.94) 0%, rgba(11,21,51,.9) 55%, rgba(11,21,51,.82) 78%, rgba(11,21,51,.45) 92%, rgba(11,21,51,.2) 100%), linear-gradient(0deg, rgba(11,21,51,.55) 0%, rgba(11,21,51,0) 22%); }
  .rh-hero__text, .rh-hero__facts { max-width: min(620px, 72%); }
}
@media (max-width: 900px) {
  .rh-panel, .rh-team, .rh-faq { grid-template-columns: 1fr; }
  .rh-prices, .rh-posts { grid-template-columns: 1fr; }
  .rh-logos__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .rh-logos__row img { height: 26px; }
}
@media (max-width: 767px) {
  .rh-hero { min-height: 0; flex-direction: column; }
  .rh-hero__video { position: relative; height: 300px; }
  .rh-hero__shade { top: 0; height: 300px; background: linear-gradient(0deg, var(--r-ink) 0%, rgba(11,21,51,0) 35%); }
  .rh-hero__inner { padding-top: 8px; }
  .rh-grid4 { grid-template-columns: 1fr; }
  .rh-sit { min-height: 0; padding: 26px 20px; border-right: 0; border-bottom: 1px solid var(--r-line); }
  .rh-sit__title { font-size: 24px; }
  .rh-flow { grid-template-columns: 1fr; }
  .rh-panel, .rh-ai { border-radius: var(--r-radius); }
  .rh-faq summary { padding: 22px 20px; font-size: 18px; }
  .rh-faq details p { padding: 0 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .rh-hero__video { display: none; } .rh-hero { background: var(--r-ink) url('2026/redesign/hero-poster.jpg') center/cover; } }
/* Handy bewegungsarm: Videofläche (Standbild) behalten, sonst rutschen Text und Play-Knopf übereinander */
@media (prefers-reduced-motion: reduce) and (max-width: 767px) { .rh-hero__video { display: block; } .rh-hero { background: var(--r-ink); } }

/* Mobile-Korrekturen: nichts darf breiter als der Bildschirm werden */
.r-btn { max-width: 100%; }
@media (max-width: 900px) {
  .rh-panel, .rh-team, .rh-faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .r-btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .rh-hero__ctas .r-btn { width: 100%; }
}

/* =====================================================================
   Unterseiten 2026 – gemeinsame Bausteine (Präfix rp-)
   ===================================================================== */
.rp { background: #fff; padding-top: 76px; }
@media (max-width: 1023px) { .rp { padding-top: 68px; } }
.rp-section { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.rp-section--tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.rp-section--soft { background: var(--r-soft); }
.rp-section--sky { background: #fff; border-top: 1px solid var(--r-line); border-bottom: 1px solid var(--r-line); } /* früher hellblaue Fläche */
.rp-section--dark { background: var(--r-ink); color: #fff; }
.rp-section--navy { background: var(--r-navy); color: #fff; }
.rp-section--dark .r-lead, .rp-section--navy .r-lead { color: var(--r-on-dark); }
.rp-line { border-top: 1px solid var(--r-line); }

/* Kopfbereich */
.rp-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--r-line); }
.rp-hero--dark { background: var(--r-ink); color: #fff; border-bottom: 0; }
.rp-hero--sky { background: #fff; border-bottom: 1px solid var(--r-line); } /* früher hellblaue Fläche */
.rp-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.rp-hero__text { display: flex; flex-direction: column; gap: 24px; max-width: 780px; }
.rp-hero h1 { margin: 0; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; font-weight: 700; letter-spacing: -0.02em; }
.rp-hero h1 em, .rp-hero h1 span.rp-accent { font-style: normal; color: var(--r-blue); }
.rp-hero--dark h1 em, .rp-hero--dark h1 span.rp-accent { color: var(--r-blue-light); }
.rp-hero--dark .r-lead { color: var(--r-on-dark); }
.rp-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-hero__aside { display: flex; flex-direction: column; gap: 12px; }
.rp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--r-muted); }
.rp-crumbs a { color: var(--r-muted); text-decoration: none; }
.rp-crumbs a:hover { color: var(--r-blue); }
.rp-hero--dark .rp-crumbs, .rp-hero--dark .rp-crumbs a { color: var(--r-on-dark-2); }

/* Kopf einer Sektion */
.rp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.rp-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.rp-head p { max-width: 460px; }
.rp-head--center { flex-direction: column; align-items: center; text-align: center; }
.rp-head--center > div { align-items: center; }

/* Raster und Karten */
.rp-grid { display: grid; gap: 16px; }
.rp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-card { border-radius: var(--r-radius); background: var(--r-soft); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; color: var(--r-ink); text-decoration: none; }
.rp-card--white { background: #fff; border: 1px solid var(--r-line); }
.rp-card--sky { background: #fff; border: 1px solid var(--r-line-2); } /* früher hellblau */
.rp-card--navy { background: var(--r-navy); color: #fff; }
.rp-card--blue { background: var(--r-blue); color: #fff; }
.rp-card--dark { background: var(--r-ink); color: #fff; }
a.rp-card { transition: background-color .2s, border-color .2s; }
a.rp-card:hover { color: inherit; }
a.rp-card:not([class*="rp-card--"]):hover { background-color: var(--r-soft-2); }
a.rp-card--white:hover, a.rp-card--sky:hover { border-color: var(--r-ink); }
a.rp-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rp-card h3 { margin: 0; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.18; font-weight: 700; letter-spacing: -0.015em; }
.rp-card p { margin: 0; color: var(--r-muted); }
.rp-card--navy p, .rp-card--blue p, .rp-card--dark p { color: var(--r-on-dark); }
.rp-card__label { font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--r-muted); }
.rp-card--navy .rp-card__label, .rp-card--blue .rp-card__label, .rp-card--dark .rp-card__label { color: var(--r-on-dark-2); }
.rp-card--blue p, .rp-card--blue .rp-card__label { color: #E3EEFF; }
.rp-card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
/* Symbol ohne Kachel: kleines Linien-/Glyph-Symbol, keine Fläche */
.rp-icon { width: auto; min-width: 18px; height: 28px; border-radius: 0; background: none; color: var(--r-blue); font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: flex-start; flex-shrink: 0; }
.rp-icon svg { width: 18px; height: 18px; }
.rp-card--navy .rp-icon, .rp-card--blue .rp-icon, .rp-card--dark .rp-icon { color: var(--r-on-dark-2); }

/* Häkchen-Liste */
.rp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rp-list li { position: relative; padding-left: 28px; }
.rp-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230060E6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat; }
.rp-list--x li::before { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A86A1' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/14px no-repeat; }
.rp-card--navy .rp-list li::before, .rp-card--blue .rp-list li::before, .rp-card--dark .rp-list li::before, .rh-price--dark .rp-list li::before { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

/* Nummerierte Schritte */
.rp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: rpstep; }
/* 4 Schritte auf Tablet als 2 × 2 statt 3 + 1 */
@media (min-width: 641px) and (max-width: 1100px) {
  .rp-steps:has(> .rp-step:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rp-step { border-radius: var(--r-radius); background: var(--r-soft); padding: 28px; display: flex; flex-direction: column; gap: 12px; counter-increment: rpstep; }
.rp-step::before { content: 'Schritt ' counter(rpstep); display: block; font-family: var(--r-font); font-size: 15px; font-weight: 600; line-height: 1.4; color: #0047B3; }
.rp-step strong { font-size: 21px; letter-spacing: -0.4px; }
.rp-step span, .rp-step p { margin: 0; color: var(--r-muted); }

/* Zahlen */
.rp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
/* Tablet: bis 5 Zahlen in einer Reihe; Handy: 2 Spalten, eine ungerade letzte Zahl über die ganze Breite */
@media (min-width: 641px) and (max-width: 1000px) { .rp-stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); } }
@media (max-width: 640px) {
  .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-stats > .rp-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.rp-stat { display: flex; flex-direction: column; gap: 4px; }
.rp-stat strong { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.rp-stat span { color: var(--r-muted); font-size: 15px; }

/* Text + Bild */
.rp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rp-split img { width: 100%; border-radius: var(--r-radius-img); object-fit: cover; }

/* Preise (gleiche Optik wie Startseite) */
.rp-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Tabelle */
.rp-table-wrap { overflow-x: auto; border-radius: var(--r-radius); border: 1px solid var(--r-line); }
.rp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rp-table th, .rp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--r-line); vertical-align: top; }
.rp-table thead th { background: var(--r-soft); font-weight: 700; }
.rp-table tr:last-child td { border-bottom: 0; }

/* Abschluss-Band */
.rp-cta { border-radius: var(--r-radius); background: var(--r-blue); color: #fff; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.rp-cta p { margin: 0; font-size: 19px; color: #E3EEFF; max-width: 720px; }
.rp-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* Kleine Hinweise im blauen Band (Eyebrow, Adresse, Antwortzeit): #E3EEFF statt #D6E6FF/#C9DCFF.
   !important nur beim Eyebrow, weil einzelne Vorlagen dort eine Inline-Farbe setzen. */
.rp-cta > .r-eyebrow, .rh-ai > .r-eyebrow { color: #E3EEFF !important; }
.rp-cta > p[class], .rp-cta > span[class]:not(.r-eyebrow) { color: #E3EEFF; }

/* Hinweis-Box */
.rp-note { border-radius: var(--r-radius); background: #fff; border: 1px solid var(--r-line); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; color: var(--r-muted-2); }
.rp-note strong { color: var(--r-navy); }

/* Fliesstext (Blog, Rechtliches, lange Inhalte) */
.rp-prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: var(--r-muted-2); }
.rp-prose > * + * { margin-top: 1.1em; }
.rp-prose h2 { margin-top: 2.2em; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; font-weight: 700; letter-spacing: -0.02em; color: var(--r-ink); }
.rp-prose h3 { margin-top: 1.8em; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--r-ink); }
.rp-prose h4 { margin-top: 1.5em; font-size: 18px; font-weight: 700; color: var(--r-ink); }
.rp-prose a { color: var(--r-blue); text-decoration: underline; text-underline-offset: 3px; }
.rp-prose ul, .rp-prose ol { padding-left: 1.3em; }
.rp-prose li + li { margin-top: .4em; }
.rp-prose strong { color: var(--r-ink); }
.rp-prose blockquote { margin-left: 0; padding: 20px 24px; border-radius: var(--r-radius); background: var(--r-soft); color: var(--r-ink); }
.rp-prose img { border-radius: var(--r-radius-img); height: auto; }
.rp-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.rp-prose th, .rp-prose td { padding: 10px 14px; border-bottom: 1px solid var(--r-line); text-align: left; }
.rp-prose .bg-slate-50, .rp-prose [class*="rounded-xl"] { border-radius: var(--r-radius) !important; }

/* Formulare */
.rp-form { display: grid; gap: 16px; }
.rp-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rp-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--r-ink); }
.rp-field input, .rp-field select, .rp-field textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--r-ink); min-height: 52px; padding: 12px 16px; border-radius: var(--r-radius-btn); border: 1px solid var(--r-line-2); background: #fff; box-sizing: border-box; width: 100%; }
.rp-field textarea { min-height: 120px; resize: vertical; }
.rp-field input:focus, .rp-field select:focus, .rp-field textarea:focus { outline: 3px solid var(--r-sky); border-color: var(--r-blue); }
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-chip-opt { position: relative; }
.rp-chip-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rp-chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-radius-btn); border: 2px solid var(--r-line); background: #fff; font-weight: 600; font-size: 15px; }
.rp-chip-opt input:checked + span { border-color: var(--r-blue); background: var(--r-sky); color: var(--r-navy); }
.rp-chip-opt input:focus-visible + span { outline: 3px solid var(--r-blue); outline-offset: 2px; }
.rp-form small, .rp-hint { font-size: 13px; color: var(--r-muted); font-weight: 400; }

/* FAQ auf Unterseiten: gleiche Optik wie Startseite */
.rp-faq { display: grid; gap: 10px; }
.rp-faq details { border-radius: var(--r-radius); background: var(--r-soft); }
.rp-faq summary { list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 19px; font-weight: 700; }
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after { content: '+'; font-size: 26px; font-weight: 500; color: var(--r-muted); flex-shrink: 0; }
.rp-faq details[open] summary::after { content: '–'; }
.rp-faq details > div, .rp-faq details > p { margin: 0; padding: 0 28px 26px; color: var(--r-muted); max-width: 760px; }

@media (max-width: 1100px) { .rp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .rp-hero__grid, .rp-split, .rp-grid--2, .rp-grid--3, .rp-prices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rp-grid--4, .rp-form__row { grid-template-columns: minmax(0, 1fr); }
  .rp-faq summary { padding: 20px; font-size: 17px; }
  .rp-faq details > div, .rp-faq details > p { padding: 0 20px 22px; }
  .rp-cta, .rp-card { border-radius: var(--r-radius); }
}

/* Alte Verläufe in Beitragsinhalten (Tailwind) als ruhige Fläche */
.from-blue-600.to-cyan-500, .from-cyan-500.to-blue-600 { background-image: none !important; background-color: var(--r-navy) !important; }

/* Kachel-Fluss «Wo stehen Sie gerade?»: Linie läuft von 01 nach 04, Kacheln folgen */
.rh-grid4 { position: relative; --flow: 1400ms; --step: 280ms; --ease: cubic-bezier(.2, .8, .2, 1); }
.rh-grid4::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--r-blue); transform: scaleX(0); transform-origin: left center; z-index: 2; pointer-events: none; }
.rh-sit { position: relative; transition: background .2s, color .2s, transform .7s var(--ease), opacity .7s var(--ease); }
.rh-sit::before { content: ''; position: absolute; top: -7px; left: 36px; width: 12px; height: 12px; border-radius: 50%; background: var(--r-blue); box-shadow: 0 0 0 4px #fff; transform: scale(0); z-index: 3; transition: transform .45s var(--ease); }
.rh-sit .rh-arrow { transition: transform .35s var(--ease), background .2s, color .2s; }
.rh-sit:hover .rh-arrow { transform: translateX(4px); }


/* nur mit JS und ohne «Bewegung reduzieren» verstecken, sonst bleibt alles sichtbar */
.rh-grid4.is-armed .rh-sit { opacity: 0; transform: translateY(28px); }
.rh-grid4.is-armed .rh-sit .rh-arrow { opacity: 0; transform: translateX(-10px); }
.rh-grid4.is-in::before { transform: scaleX(1); transition: transform var(--flow) var(--ease); }
.rh-grid4.is-in .rh-sit { opacity: 1; transform: none; transition-delay: calc(var(--i) * var(--step)); }
.rh-grid4.is-in .rh-sit::before { transform: scale(1); transition-delay: calc(var(--i) * var(--step) + 120ms); }
.rh-grid4.is-in .rh-sit .rh-arrow { opacity: 1; transform: none; transition: transform .5s var(--ease), opacity .5s var(--ease), background .2s, color .2s; transition-delay: calc(var(--i) * var(--step) + 380ms); }
.rh-grid4.is-in .rh-sit:hover .rh-arrow { transform: translateX(4px); transition-delay: 0s; }
.rh-grid4.is-in .rh-sit:hover { transition-delay: 0s; }

@media (max-width: 1100px) { .rh-grid4::before { display: none; } .rh-sit::before { display: none; } }
@media (max-width: 767px) { .rh-grid4 { --step: 140ms; } }
@media (prefers-reduced-motion: reduce) {
  .rh-grid4::before, .rh-sit::before { display: none; }
  .rh-grid4.is-armed .rh-sit, .rh-grid4.is-armed .rh-sit .rh-arrow { opacity: 1; transform: none; }
}
.rh-grid4.is-done .rh-sit, .rh-grid4.is-done .rh-sit .rh-arrow, .rh-grid4.is-done .rh-sit::before { transition-delay: 0s !important; }

/* Kacheln: alle weiss, blau erst beim Überfahren (bzw. Tastatur-Fokus) */
.rh-sit .rh-sit__label, .rh-sit .rh-sit__text { transition: color .25s; }
.rh-sit:hover, .rh-sit:focus-visible { background: var(--r-blue); color: #fff; }
.rh-sit:hover .rh-sit__label, .rh-sit:focus-visible .rh-sit__label { color: #E3EEFF; }
.rh-sit:hover .rh-sit__text, .rh-sit:focus-visible .rh-sit__text { color: #E3EEFF; }
.rh-sit:hover .rh-arrow, .rh-sit:focus-visible .rh-arrow,

.rh-sit:focus-visible { outline: 3px solid var(--r-navy); outline-offset: -3px; }

/* Software-Logos: grau, beim Überfahren in Originalfarbe */
.rh-logos__row img { transition: filter .35s ease, opacity .35s ease; }
.rh-logos__row img:hover { filter: none; opacity: 1; }
.rh-logos__row img[alt="bexio"] { filter: grayscale(1) brightness(.55) contrast(1.4); }
.rh-logos__row img[alt="bexio"]:hover { filter: none; }
@media (hover: none) { .rh-logos__row img, .rh-logos__row img[alt="bexio"] { filter: none; opacity: 1; } }

/* =====================================================================
   Ratgeber 2026 (Präfix rr-): Titelbilder, Themenleiste, Karten
   ===================================================================== */
.rr-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-radius-img); padding: 18px 20px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background-color: var(--r-navy);
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.rr-cover--buchhaltung { background-color: var(--r-navy); }
.rr-cover--mwst { background-color: var(--r-blue); }
.rr-cover--lohn { background-color: var(--r-ink); }
.rr-cover--gruendung { background-color: #1747C9; }
.rr-cover--ki { background-color: var(--r-sky); color: var(--r-navy); background-image: linear-gradient(rgba(0,26,128,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,26,128,.07) 1px, transparent 1px); }
.rr-cover__label { position: relative; z-index: 1; font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .85; }
.rr-cover__kw { position: relative; z-index: 1; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; max-width: 78%; }
.rr-cover__icon { position: absolute; right: -6%; bottom: -14%; width: 58%; height: auto; opacity: .16; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.rr-cover--ki .rr-cover__icon { opacity: .22; }
.rr-cover--lg .rr-cover__kw { font-size: clamp(34px, 4.2vw, 60px); }
.rr-cover--lg { padding: 26px 30px; border-radius: var(--r-radius-img); }

.rr-hero__search { position: relative; }
.rr-hero__search input { width: 100%; box-sizing: border-box; min-height: 56px; padding: 0 20px 0 50px; border-radius: var(--r-radius-btn); border: 1px solid var(--r-line-2); font: inherit; font-size: 16px; color: var(--r-ink); background: #fff; }
.rr-hero__search input:focus { outline: 3px solid var(--r-sky); border-color: var(--r-blue); }
.rr-hero__search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--r-muted); pointer-events: none; }

.rr-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(16px, 2vw, 24px); border-radius: var(--r-radius); background: var(--r-soft); color: var(--r-ink); text-decoration: none; transition: background-color .25s; }
.rr-feature:hover { background: var(--r-soft-2); color: var(--r-ink); }
.rr-feature__text { display: flex; flex-direction: column; gap: 16px; padding-right: clamp(0px, 2vw, 24px); }
.rr-feature__text h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.rr-feature__text p { margin: 0; color: var(--r-muted); font-size: 17px; }

.rr-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.rr-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.rr-side__title, .rr-browse__title { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--r-line); font-size: 15px; font-weight: 700; color: var(--r-muted); display: flex; justify-content: space-between; align-items: baseline; }
.rr-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rr-topics a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 8px; color: var(--r-ink); text-decoration: none; font-weight: 600; transition: background .2s, color .2s; }
.rr-topics a:hover { background: var(--r-soft); color: var(--r-ink); }
.rr-topics a[aria-current="true"] { background: var(--r-ink); color: #fff; }
.rr-topics a span:first-child { display: flex; align-items: center; gap: 10px; }
.rr-topics svg { flex-shrink: 0; }
.rr-count { font-family: var(--r-font); font-size: 13px; font-weight: 600; min-width: 26px; height: 24px; padding: 0 8px; border-radius: var(--r-radius-chip); background: var(--r-soft-2); color: var(--r-muted); display: inline-flex; align-items: center; justify-content: center; }
.rr-topics a[aria-current="true"] .rr-count { background: rgba(255,255,255,.16); color: #fff; }
.rr-side__help { border-radius: var(--r-radius); background: #fff; border: 1px solid var(--r-line); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rr-side__help strong { color: var(--r-navy); font-size: 17px; }
.rr-side__help p { margin: 0; font-size: 15px; color: var(--r-muted-2); }

.rr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.rr-card { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 22px; border-radius: var(--r-radius); background: #fff; border: 1px solid var(--r-line); color: var(--r-ink); text-decoration: none; transition: border-color .25s; }
.rr-card:hover { border-color: var(--r-blue); color: var(--r-ink); }
.rr-card__meta { display: flex; align-items: center; gap: 8px; padding: 0 8px; font-size: 13px; font-weight: 600; color: var(--r-muted); }
.rr-card__meta svg { color: var(--r-blue); }
.rr-card h3 { margin: 0; padding: 0 8px; font-size: 20px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; flex-grow: 1; }
.rr-card__foot { padding: 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; color: var(--r-muted); }
.rr-card__foot time { font-family: var(--r-font); font-size: 14px; letter-spacing: 0; }
.rr-more { display: flex; justify-content: center; margin-top: 40px; }
.rr-empty { margin-top: 24px; padding: 28px; border-radius: var(--r-radius); background: var(--r-soft); color: var(--r-muted); }
.js .rr-card.is-hidden, .rr-card[hidden], .rr-more[hidden], .rr-empty[hidden] { display: none; }
.rr-card.is-reveal { animation: rrIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0) * 60ms); }
@keyframes rrIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) { .rr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .rr-feature { grid-template-columns: minmax(0, 1fr); }
  .rr-layout { grid-template-columns: minmax(0, 1fr); }
  .rr-side { position: static; }
  .rr-topics { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--r-gutter) * -1); padding: 2px var(--r-gutter); }
  .rr-topics::-webkit-scrollbar { display: none; }
  .rr-topics a { white-space: nowrap; border: 1px solid var(--r-line); border-radius: var(--r-radius-chip); padding: 10px 14px; }
  .rr-side__help, .rr-side__title { display: none; }
}
@media (max-width: 640px) { .rr-grid { grid-template-columns: minmax(0, 1fr); } .rr-feature { border-radius: var(--r-radius); } }
@media (prefers-reduced-motion: reduce) { .rr-card.is-reveal { animation: none; } .rr-card:hover, .rr-feature:hover .rr-cover__icon, .rr-card:hover .rr-cover__icon { transform: none; } }
.rr-cover--long .rr-cover__kw { font-size: clamp(20px, 1.9vw, 27px); max-width: 100%; }
.rr-cover--lg.rr-cover--long .rr-cover__kw { font-size: clamp(28px, 3.2vw, 46px); }
.rr-cover__kw { overflow-wrap: anywhere; hyphens: auto; }
.rr-card__foot span { white-space: nowrap; }
/* Artikelseite: Kopf mit Titelbild */
.rp-single-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.rp-single-cover { width: 100%; }
@media (max-width: 900px) { .rp-single-top { grid-template-columns: minmax(0, 1fr); } .rp-single-cover { order: -1; aspect-ratio: 16 / 8; } }

/* Titelbilder: 5 Farben × 4 Muster, damit Artikel eines Themas unterschiedlich aussehen */
.rr-cover { --pc: rgba(255,255,255,.09); }
.rr-cover.rr-v0 { background-color: var(--r-navy); color: #fff; }
.rr-cover.rr-v1 { background-color: var(--r-blue); color: #fff; }
.rr-cover.rr-v2 { background-color: var(--r-ink); color: #fff; }
.rr-cover.rr-v3 { background-color: var(--r-sky); color: var(--r-navy); --pc: rgba(0,26,128,.09); }
.rr-cover.rr-v4 { background-color: #1747C9; color: #fff; }
.rr-cover.rr-p0 { background-image: linear-gradient(var(--pc) 1px, transparent 1px), linear-gradient(90deg, var(--pc) 1px, transparent 1px); background-size: 28px 28px; }
.rr-cover.rr-p1 { background-image: radial-gradient(var(--pc) 1.6px, transparent 1.8px); background-size: 18px 18px; }
.rr-cover.rr-p2 { background-image: repeating-linear-gradient(135deg, var(--pc) 0 1px, transparent 1px 16px); background-size: auto; }
.rr-cover.rr-p3 { background-image: repeating-radial-gradient(circle at 100% 100%, var(--pc) 0 1px, transparent 1px 22px); background-size: auto; }
.rr-cover.rr-v3 .rr-cover__icon { opacity: .22; }
.rr-cover.rr-p3 .rr-cover__icon { right: 6%; bottom: 10%; width: 40%; opacity: .2; }
.rr-cover.rr-p2 .rr-cover__icon { right: -2%; bottom: -8%; width: 50%; }

/* =====================================================================
   Startseite Hero v2 (Vorbild Paraform): Video gross, Text kompakt,
   durchsichtige Kopfzeile über dem Video (Desktop)
   ===================================================================== */
.rh-hero--v2 { min-height: min(820px, 100vh); }
.rh-hero--v2 .rh-hero__shade { background: linear-gradient(90deg, rgba(11,21,51,.82) 0%, rgba(11,21,51,.55) 28%, rgba(11,21,51,.12) 52%, rgba(11,21,51,0) 70%), linear-gradient(180deg, rgba(11,21,51,.55) 0%, rgba(11,21,51,0) 22%), linear-gradient(0deg, rgba(11,21,51,.45) 0%, rgba(11,21,51,0) 25%); }
.rh-hero--v2 .rh-hero__inner { justify-content: flex-start; padding-top: clamp(56px, 9vh, 110px); }
.rh-hero--v2 .rh-hero__text { max-width: 540px; gap: 22px; }
.rh-h1 { margin: 0; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.rh-h1__kicker { display: block; margin-bottom: 16px; font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--r-on-dark-2); }
.rh-h1__accent { color: var(--r-blue-light); }
.rh-hero--v2 .rh-hero__text > p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--r-on-dark); max-width: 460px; }
.rh-hero--v2 .rh-hero__ctas { align-items: center; gap: 22px; }
.rh-hero__link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.rh-hero__link:hover { color: var(--r-blue-light); }
.rh-hero__proof { margin: 0; font-size: 13.5px; color: var(--r-on-dark-2); }
.rh-hero__proof span { color: var(--r-star); letter-spacing: 1px; }
.rh-play { position: absolute; right: var(--r-gutter); bottom: calc(32px + var(--rh-lift, 0px)); z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 6px 22px 6px 6px; border-radius: var(--r-radius); border: 1px solid rgba(255,255,255,.4); background: rgba(11,21,51,.72); color: #fff; font: inherit; cursor: pointer; transition: background .25s, border-color .25s, bottom .35s cubic-bezier(.2,.8,.2,1); }
.rh-play__icon { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--r-blue); display: flex; align-items: center; justify-content: center; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.rh-play__icon svg { margin-left: 2px; }
.rh-play__text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.rh-play__text strong { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.rh-play__text small { font-family: var(--r-font); font-size: 14px; font-weight: 500; color: var(--r-on-dark-2); }

/* Durchsichtige Kopfzeile über dem Video, nur Startseite Desktop, bis gescrollt wird */
@media (min-width: 1024px) {
  .home .rh-hero--v2 { margin-top: 0; padding-top: var(--r-header-h); }
  .home .r-header:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .home .r-header:not(.scrolled) .r-header__bar { border-bottom-color: rgba(255,255,255,.14); }
  .home .r-header:not(.scrolled) .r-logo img { filter: brightness(0) invert(1); }
  .home .r-header:not(.scrolled) .r-nav > a, .home .r-header:not(.scrolled) .r-nav__drop > a, .home .r-header:not(.scrolled) .r-header__phone { color: #fff; }
  .home .r-header:not(.scrolled) .r-nav > a:hover, .home .r-header:not(.scrolled) .r-nav__drop > a:hover { color: var(--r-blue-light); }
  .home .r-header:not(.scrolled) .r-header__phone:hover { background: rgba(255,255,255,.12); }
  .home .r-header:not(.scrolled) .r-btn--dark { background: #fff; color: var(--r-ink); }
  .home .r-header .r-header__bar, .home .r-header .r-logo img, .home .r-header .r-nav a { transition: color .25s, filter .25s, border-color .25s; }
}
@media (max-width: 767px) {
  .rh-hero--v2 { min-height: 0; }
  .rh-hero--v2 .rh-hero__inner { padding-top: 8px; }
  .rh-play { right: 16px; top: 236px; bottom: auto; gap: 10px; padding: 5px 18px 5px 5px; }
  .rh-play__icon { width: 40px; height: 40px; }
}

/* Ganzes Video klickbar: Hand-Cursor über dem Video, der Play-Knopf unten rechts wird dabei blau.
   Der Puls-Ring um das ▶ zeigt «hier klicken» (bei «Bewegung reduzieren» aus). */
.rh-hero--v2 { cursor: pointer; }
.rh-hero--v2 .rh-hero__text { cursor: auto; }
.rh-hero--v2:hover .rh-play, .rh-play:focus-visible { background: var(--r-blue); border-color: var(--r-blue); }
.rh-hero--v2:hover .rh-play__icon, .rh-play:focus-visible .rh-play__icon { transform: scale(1.06); }
.rh-play__icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--r-blue); box-shadow: 0 0 0 1.5px rgba(255,255,255,.75), inset 0 0 0 1.5px rgba(255,255,255,.75); opacity: 0; pointer-events: none; animation: rh-ping 2.8s cubic-bezier(.2,.8,.2,1) 1.2s infinite; }
@keyframes rh-ping { 0% { transform: scale(1); opacity: .9; } 40%, 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rh-play__icon::after { animation: none; } }
/* Tablet / kleines Fenster: Textspalte etwas schmaler, damit der Play-Knopf rechts nie in den Text ragt */
@media (min-width: 768px) and (max-width: 1100px) { .rh-hero--v2 .rh-hero__text { max-width: min(540px, calc(100% - 210px)); } }

/* =====================================================================
   Startseite: Standort & Einzugsgebiet (Präfix rh-region), SEO-Plan 10/2026
   Neuer Block, nur angehängt. Kopf (Eyebrow + H2) oben, darunter
   Fliesstext links und drei Fahrzeit-Kacheln rechts; ab 900 px einspaltig,
   bis 720 px die Kacheln untereinander. minmax(0, …) verhindert Überbreite.
   ===================================================================== */
.rh-region { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--r-line); }
.rh-region__head { display: flex; flex-direction: column; gap: 16px; max-width: 980px; }
.rh-region__title { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; overflow-wrap: break-word; }
.rh-region__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.rh-region__text { max-width: 68ch; }
.rh-region__text .r-link { font-weight: 600; text-decoration-thickness: 1px; }
.rh-region__aside { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rh-region__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.rh-region__fact { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 22px; border-radius: var(--r-radius); background: var(--r-soft); }
.rh-region__time { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--r-navy); }
.rh-region__place { font-size: 15px; font-weight: 600; color: var(--r-ink); }
.rh-region__sub { font-family: var(--r-font); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--r-muted); }
.rh-region__note { margin: 0; font-size: 13px; color: var(--r-muted); }
@media (max-width: 900px) {
  .rh-region__grid { grid-template-columns: minmax(0, 1fr); }
  .rh-region__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .rh-region__facts { grid-template-columns: minmax(0, 1fr); }
  .rh-region__fact { padding: 14px 18px; }
}
/* Hero-H1: Akzentzeile beginnt eigene Zeile, «KI-Beratung» wird nie am Bindestrich getrennt, Umbruch ausgeglichen */
.rh-hero--v2 .rh-h1__accent { display: block; text-wrap: balance; }
.rh-h1 .rh-nowrap { white-space: nowrap; }
@media (min-width: 1101px) { .rh-hero--v2 .rh-hero__text > p { max-width: 520px; } }

/* =====================================================================
   Ortsseiten, neues kurzes Layout (Präfix rl-) – Muster: /treuhand-aadorf/
   Hero mit Foto wie die Startseite, Karte mit Fahrzeiten, Team, Leistungen, FAQ
   ===================================================================== */
.rl-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: min(660px, calc(100vh - 76px)); background: var(--r-ink); color: #fff; }
.rl-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 35%; }
.rl-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,21,51,.94) 0%, rgba(11,21,51,.62) 42%, rgba(11,21,51,.12) 72%, rgba(11,21,51,0) 100%), linear-gradient(90deg, rgba(11,21,51,.8) 0%, rgba(11,21,51,.5) 38%, rgba(11,21,51,0) 70%); }
.rl-hero__inner { position: relative; display: flex; flex-direction: column; gap: 18px; padding-top: 140px; padding-bottom: clamp(40px, 6vw, 76px); }
.rl-hero .rp-crumbs, .rl-hero .rp-crumbs a { color: var(--r-on-dark-2); }
.rl-hero__kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--r-on-dark-2); }
.rl-hero__title { margin: 0; max-width: 820px; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.rl-hero__title span { display: block; color: var(--r-blue-light); }
.rl-hero__lead { margin: 0; max-width: 620px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--r-on-dark); }
.rl-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.rl-hero__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; color: var(--r-on-dark-2); }
.rl-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.rl-hero__facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--r-blue-light); }
.rl-h2 { font-size: clamp(32px, 4.2vw, 56px); }
.rl-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }

.rl-where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rl-where__text { display: flex; flex-direction: column; gap: 18px; }
.rl-how { margin: 6px 0 0; display: grid; gap: 14px; }
.rl-how div { padding-top: 14px; border-top: 1px solid var(--r-line); }
.rl-how dt { font-size: 15px; font-family: var(--r-font); font-weight: 600; letter-spacing: 0; text-transform: none; color: #0047B3; margin-bottom: 4px; }
.rl-how dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--r-muted-2); }

.rl-map { margin: 0; padding: clamp(16px, 2.4vw, 28px); border-radius: var(--r-radius); background: var(--r-soft); display: flex; flex-direction: column; gap: 12px; }
.rl-map svg { display: block; width: 100%; height: auto; overflow: hidden; }
.rl-map__rings circle { fill: none; stroke: var(--r-line-2); stroke-width: 1.2; stroke-dasharray: 3 6; }
.rl-map__place line { stroke: rgba(0,96,230,.22); stroke-width: 1.4; }
.rl-map__place circle { fill: var(--r-blue); stroke: #fff; stroke-width: 3; }
.rl-map text { font-family: var(--r-font); font-size: 16px; fill: var(--r-ink); }
.rl-map__name { font-weight: 700; }
.rl-map__time { fill: var(--r-muted); font-weight: 500; }
.rl-map__home circle { fill: var(--r-navy); stroke: #fff; stroke-width: 4; }
.rl-map__home text { font-weight: 700; fill: var(--r-navy); font-size: 17px; }
.rl-map__home .rl-map__pulse { fill: rgba(0,96,230,.25); stroke: none; transform-origin: center; transform-box: fill-box; animation: rl-pulse 2.6s ease-out infinite; }
@keyframes rl-pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rl-map__home .rl-map__pulse { animation: none; opacity: 0; } }
.rl-map__list { display: none; list-style: none; margin: 0; padding: 0; }
.rl-map figcaption { font-size: 14px; color: var(--r-muted); }

.rl-team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rl-team__photo { width: 100%; height: clamp(280px, 34vw, 480px); object-fit: cover; border-radius: var(--r-radius-img); display: block; }
.rl-team__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.rl-people { display: grid; gap: 14px; width: 100%; }
.rl-person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-radius); background: #fff; }
.rl-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rl-person strong { display: block; font-size: 17px; }
.rl-person span { font-size: 14px; color: var(--r-muted); }

.rl-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rl-service { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 180px; padding: 24px 24px 56px; border-radius: var(--r-radius); background: var(--r-soft); color: var(--r-ink); text-decoration: none; transition: background .25s, color .25s; }
.rl-service strong { font-size: 21px; letter-spacing: -0.02em; }
.rl-service span { font-size: 15px; line-height: 1.5; color: var(--r-muted); transition: color .25s; }
.rl-service svg { position: absolute; left: 24px; bottom: 22px; color: var(--r-blue); transition: transform .25s, color .25s; }
.rl-service:hover { background: var(--r-blue); color: #fff; }
.rl-service:hover span, .rl-service:hover svg { color: #fff; }
.rl-service:hover svg { transform: translateX(4px); }
.rl-faqwrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.rl-faqwrap .rl-head { margin-bottom: 0; }
.rl .rp-faq details { background: #fff; }

@media (max-width: 1023px) {
  .rl-where, .rl-team, .rl-faqwrap { grid-template-columns: minmax(0, 1fr); }
  .rl-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rl-hero { display: block; min-height: 0; }
  .rl-hero__img { position: relative; height: 260px; }
  .rl-hero__shade { inset: 0 0 auto 0; height: 260px; background: linear-gradient(0deg, var(--r-ink) 0%, rgba(11,21,51,0) 45%); }
  .rl-hero__inner { padding-top: 8px; padding-bottom: 40px; }
  .rl-map svg { display: none; }
  .rl-map__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rl-map__list li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--r-radius); background: #fff; }
  .rl-map__list strong { font-size: 15px; }
  .rl-map__list span { font-size: 13px; color: var(--r-muted); }
  .rl-services { grid-template-columns: minmax(0, 1fr); }
  .rl-service { min-height: 0; }
}
/* Unterseiten-Hero: Preis- und Vertrauenszeile unter den Knöpfen (wie auf der Startseite) */
.rp-hero__proof { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; line-height: 1.6; color: var(--r-muted); }
.rp-hero__proof > span { white-space: nowrap; }
.rp-hero__proof > span + span::before { content: '·'; margin: 0 10px; color: var(--r-line-2); }
.rp-hero__proof strong { color: var(--r-ink); font-weight: 700; }
.rp-hero__stars { color: var(--r-star); letter-spacing: 1px; }
.rp-hero h1 .rp-accent--line { display: block; white-space: nowrap; }
@media (max-width: 767px) { .rp-hero__proof { flex-direction: column; gap: 2px; } .rp-hero__proof > span + span::before { content: none; } }

/* =====================================================================
   «Ent-KI» 10/2026 – Sicherungen gegen ältere Seiten-Stile
   Die Grundregeln oben sind bereits umgestellt (Radien 12/8/6/10 px,
   Überschriften 700, Labels ohne Geist Mono/Grossbuchstaben, keine
   Zierschatten, keine hellblauen Flächen). Hier nur, was einzelne
   Vorlagen mit eigenen <style>-Blöcken sonst wieder überschreiben:
   - Symbol-Kacheln (.rp-icon): nie eine Fläche, nie gerundet
   - Schritt-Label (.rp-step::before): Text ohne Hintergrund
   - Hinweis-Box: Symbol dunkel, weil die Box jetzt hell ist
   - «Stellvertretung»-Box: Symbol (Inline-Farbe weiss) dunkel
   ===================================================================== */
.rp-icon { background: none !important; border-radius: 0 !important; box-shadow: none !important; }
.rp-step::before { background: none !important; border-radius: 0 !important; width: auto !important; height: auto !important; }
.rp-note .rp-icon, .rp-note .rp-icon i { color: var(--r-navy) !important; }
.rh-assure__icon svg { width: 18px; height: 18px; stroke: currentColor; }
.rh-assure__icon i { color: var(--r-navy) !important; }

/* =====================================================================
   Unterseiten-Kopf «schlicht» (Vorlage: /buchhaltung/) – für alle Unterseiten gleich:
   Brotkrumen, H1, kurzer Text, Knöpfe, Preis-/Bewertungszeile; KEINE Kästen oder Bilder rechts.
   ===================================================================== */
.rp-hero--plain .rp-hero__grid { grid-template-columns: minmax(0, 1fr); }
.rp-hero--plain .rp-hero__text { max-width: 820px; }
.rp-hero__stars { color: #F2A900; }
.rp-hero__proof a { color: inherit; text-decoration: underline; text-decoration-color: var(--r-line-2); text-underline-offset: 3px; }
.rp-hero__proof a:hover { color: var(--r-navy); text-decoration-color: currentColor; }
.rp-hero__tools { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--r-line); max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
/* Zweite H1-Zeile darf auf schmalen Handys umbrechen */
@media (max-width: 640px) { .rp-hero h1 .rp-accent--line { white-space: normal; } }

/* =====================================================================
   Startseite: Google-Bewertungen als Laufband (Präfix rh-rev), 10/2026
   Zwei identische Reihen nebeneinander, Verschiebung um -50 % = nahtlose
   Schleife. Hält bei Maus darüber an. «Bewegung reduzieren»: steht still.
   ===================================================================== */
.rh-rev { padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--r-line); overflow: hidden; }
.rh-rev__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.rh-rev__title { margin: 0; max-width: 720px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--r-ink); }
.rh-rev__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--r-ink); text-decoration: none; }
.rh-rev__rating:hover { color: var(--r-blue); }
.rh-rev__stars { margin: 0; font-size: 15px; letter-spacing: 1px; color: var(--r-star); }
.rh-rev__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.rh-rev__track { display: flex; width: max-content; animation: rh-rev-scroll 75s linear infinite; }
.rh-rev__marquee:hover .rh-rev__track { animation-play-state: paused; }
.rh-rev__list { display: flex; gap: 20px; margin: 0; padding: 0 20px 0 0; list-style: none; }
.rh-rev__card { flex: 0 0 auto; width: 420px; box-sizing: border-box; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--r-line); border-radius: var(--r-radius); }
.rh-rev__card--short { width: 300px; }
.rh-rev__quote { margin: 0; flex: 1; }
.rh-rev__quote p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--r-ink); }
.rh-rev__by { margin: 0; font-size: 15px; color: var(--r-ink); }
.rh-rev__meta { display: block; margin-top: 2px; font-size: 14px; color: var(--r-muted); }
@keyframes rh-rev-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .rh-rev__card { width: 290px; padding: 22px; }
  .rh-rev__card--short { width: 240px; }
  .rh-rev__quote p { font-size: 16px; }
  .rh-rev__track { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
  .rh-rev__marquee { -webkit-mask-image: none; mask-image: none; }
  .rh-rev__track { animation: none; width: auto; }
  .rh-rev__list { flex-wrap: wrap; padding: 0 var(--r-gutter); }
  .rh-rev__list[aria-hidden="true"] { display: none; }
  .rh-rev__card { width: min(420px, 100%); }
}
/* Teamfoto (Terrasse, 5:4): Köpfe bleiben in allen Bildrahmen sichtbar */
img[src*="team-terrasse"] { object-position: 52% 35%; }
