/* ============================================================================
   ROMBS Rechner-Seiten — rh-* Klassen-Subset
   Verwendung: einmal nach /medien/rh-rechner.css hochladen
   Einbindung: <link rel="stylesheet" href="/medien/rh-rechner.css">
   ============================================================================ */

.rh-wrap *, .rh-wrap *::before, .rh-wrap *::after { box-sizing: border-box; }

.rh-wrap {
  --rh-primary: #CC0000;
  --rh-primary-dark: #A00000;
  --rh-secondary: #0A0A0A;
  --rh-bg: #FFFFFF;
  --rh-bg-alt: #FAFAFA;
  --rh-border: #EAEAEA;
  --rh-text: #0A0A0A;
  --rh-text-muted: #71717A;
  --rh-shadow: 0 2px 8px rgba(44,34,32,0.06);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--rh-text);
  background: var(--rh-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rh-wrap a { color: inherit; text-decoration: none; }
.rh-wrap img { max-width: 100%; height: auto; display: block; }
.rh-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.rh-wrap h1, .rh-wrap h2, .rh-wrap h3, .rh-wrap h4, .rh-wrap h5, .rh-wrap h6 {
  font-family: inherit; color: inherit; line-height: 1.2;
  margin: 0; padding: 0; letter-spacing: -0.01em;
}

.rh-wrap .rh-eyebrow {
  font-size: 11px !important; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rh-primary); margin-bottom: 10px;
}

.rh-wrap .rh-h2 {
  font-size: clamp(26px, 3.6vw, 40px) !important; font-weight: 800 !important;
  line-height: 1.1 !important; letter-spacing: -0.02em;
  color: var(--rh-secondary) !important; margin: 0 0 12px !important;
}
.rh-wrap .rh-h2 em { font-style: normal; color: var(--rh-primary) !important; }

/* ============================================================================
   Generic Content Section (für Inhalte ohne eigene Section-Klasse)
   ============================================================================ */
.rh-wrap .rh-content { padding: 56px 0; background: var(--rh-bg); }
.rh-wrap .rh-content--alt {
  background: var(--rh-bg-alt);
  border-top: 1px solid var(--rh-border);
  border-bottom: 1px solid var(--rh-border);
}
.rh-wrap .rh-content > .rh-container > p {
  font-size: 16px; line-height: 1.65; color: var(--rh-text-muted);
  max-width: 760px; margin: 0 0 14px;
}
.rh-wrap .rh-content > .rh-container > ul {
  font-size: 16px; line-height: 1.7; color: var(--rh-text);
  margin: 16px 0; padding-left: 22px;
}
.rh-wrap .rh-content > .rh-container > ul li { margin-bottom: 6px; }
.rh-wrap .rh-content table {
  width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px;
}
.rh-wrap .rh-content thead tr {
  background: var(--rh-bg-alt);
  border-bottom: 2px solid var(--rh-border);
}
.rh-wrap .rh-content th {
  text-align: left; padding: 12px 14px; font-weight: 700; color: var(--rh-secondary);
}
.rh-wrap .rh-content td {
  padding: 10px 14px; border-bottom: 1px solid var(--rh-border);
}
.rh-wrap .rh-content tbody tr:last-child td { border-bottom: 0; }
.rh-wrap .rh-content a { color: var(--rh-primary); font-weight: 600; }

/* ============================================================================
   Buttons
   ============================================================================ */
.rh-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 0;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  transition: all 0.2s; cursor: pointer; border: 0; font-family: inherit;
}
.rh-wrap a.rh-btn--primary,
.rh-wrap button.rh-btn--primary,
.rh-wrap .rh-btn--primary {
  background: var(--rh-primary) !important; color: #fff !important;
}
.rh-wrap .rh-btn--primary:hover {
  background: var(--rh-primary-dark) !important; color: #fff !important;
  transform: translateY(-1px);
}
.rh-wrap a.rh-btn--ghost,
.rh-wrap .rh-btn--ghost {
  background: transparent !important; color: var(--rh-secondary) !important;
  border: 1.5px solid var(--rh-secondary);
}
.rh-wrap .rh-btn--ghost:hover {
  background: var(--rh-secondary) !important; color: #fff !important;
}
.rh-btn svg { width: 16px; height: 16px; }

/* ============================================================================
   App Promo Section
   ============================================================================ */
.rh-app {
  background: var(--rh-secondary); color: #fff;
  padding: 80px 0; position: relative; overflow: hidden;
}
.rh-app::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255,255,255,0.04) 100%),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,0.04) 100%);
  background-size: 64px 64px; pointer-events: none;
}
.rh-app-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.rh-app-content .rh-eyebrow { color: var(--rh-primary); }
.rh-wrap .rh-app-content .rh-h2 { color: #fff !important; margin: 0 0 18px !important; }
.rh-wrap .rh-app-content .rh-h2 em { color: var(--rh-primary) !important; font-style: normal; }
.rh-app-content p {
  color: rgba(255,255,255,0.78);
  font-size: 16px; line-height: 1.6;
  margin: 0 0 24px; max-width: 480px;
}
.rh-app-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
}
.rh-app-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.92); line-height: 1.45;
}
.rh-app-features li svg {
  flex-shrink: 0; width: 18px; height: 18px;
  color: var(--rh-primary); margin-top: 2px;
}
.rh-app-cta {
  display: inline-block; line-height: 0; text-decoration: none;
  transition: opacity 0.15s linear;
}
.rh-app-cta:hover { opacity: 0.85; }
.rh-app-cta img { display: block; height: 56px; width: auto; }
.rh-app-device { display: flex; align-items: center; justify-content: center; position: relative; }
.rh-app-video-frame {
  position: relative; max-width: 380px; width: 100%; aspect-ratio: 9 / 16;
  background: #000; border: 1.5px solid rgba(255,255,255,0.18);
  box-shadow: 0 32px 72px rgba(0,0,0,0.55);
}
.rh-app-video-frame video {
  width: 100%; height: 100%; display: block; object-fit: cover; background: #000;
}
.rh-app-corner {
  position: absolute; width: 24px; height: 24px;
  border: 1.5px solid rgba(255,255,255,0.4);
  z-index: 2; pointer-events: none;
}
.rh-app-corner--tl { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.rh-app-corner--tr { top: -8px; right: -8px; border-left: 0; border-bottom: 0; }
.rh-app-corner--bl { bottom: -8px; left: -8px; border-right: 0; border-top: 0; }
.rh-app-corner--br { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

/* ============================================================================
   FAQ Section
   ============================================================================ */
.rh-faq {
  padding: 80px 0; background: var(--rh-bg);
  border-top: 1px solid var(--rh-border);
}
.rh-faq-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.rh-faq-head .rh-eyebrow { display: block; }
.rh-faq-head p {
  color: var(--rh-text-muted);
  font-size: 16px; line-height: 1.6;
  margin: 14px auto 0; max-width: 600px;
}
.rh-faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.rh-faq-item {
  background: #fff; border: 1px solid var(--rh-border);
  border-radius: 0; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rh-faq-item[open] {
  border-color: rgba(204,0,0,0.25);
  box-shadow: var(--rh-shadow);
}
.rh-faq-q {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--rh-secondary);
  user-select: none;
}
.rh-faq-q::-webkit-details-marker { display: none; }
.rh-faq-q:hover { color: var(--rh-primary); }
.rh-faq-q-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(204,0,0,0.08); color: var(--rh-primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s, background 0.25s;
}
.rh-faq-q-icon svg { width: 14px; height: 14px; }
.rh-faq-item[open] .rh-faq-q-icon {
  transform: rotate(45deg);
  background: var(--rh-primary); color: #fff;
}
.rh-faq-a {
  padding: 0 24px 22px; color: var(--rh-text-muted);
  font-size: 15px; line-height: 1.65;
}
.rh-faq-a p { margin: 0 0 10px; }
.rh-faq-a p:last-child { margin-bottom: 0; }
.rh-faq-a strong { color: var(--rh-text); font-weight: 600; }
.rh-faq-a a { color: var(--rh-primary); font-weight: 600; }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 980px) {
  .rh-app { padding: 60px 0; }
  .rh-app-grid { grid-template-columns: 1fr; gap: 40px; }
  .rh-app-device { order: -1; }
  .rh-app-features { grid-template-columns: 1fr; }
  .rh-faq { padding: 60px 0; }
  .rh-wrap .rh-content { padding: 40px 0; }
}
@media (max-width: 560px) {
  .rh-container { padding: 0 16px; }
}
