/* ═══════════════════════════════════════════════════════════════
   Startseite (Relaunch 2026-10) - ergänzt style.css, nur auf / geladen.
   Präfix rl- vermeidet Kollisionen mit bestehenden Komponenten.
═══════════════════════════════════════════════════════════════ */

.rl-section { padding: var(--space-2xl) 0; }
.rl-cream   { background: var(--cream); }
.rl-white   { background: #fff; }
.rl-dark    { background: var(--green-950); color: #fff; }
.rl-dark h2, .rl-dark h3 { color: #fff; }

.rl-head { max-width: 760px; margin: 0 0 var(--space-lg); }
.rl-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rl-head .badge { margin-bottom: 1rem; }
.rl-head h2 { margin-bottom: 0.8rem; }
.rl-head p  { font-size: 1.08rem; color: var(--text-500); }
.rl-dark .rl-head p { color: rgba(255,255,255,0.78); }

.rl-source { margin-top: 1.4rem; font-size: 0.8rem; color: var(--text-500); }
.rl-source a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rl-dark .rl-source { color: rgba(255,255,255,0.6); }

/* ── Hero: Gründer-Zeile statt Sterne ─────────────────────────── */
.rl-hero-sub { font-size: 1.12rem; color: var(--text-500); max-width: 34rem; margin: -0.4rem 0 1.4rem; }
.rl-founder-line { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.4rem; font-size: 0.9rem; color: var(--text-500); }
.rl-founder-line img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.rl-founder-line strong { color: var(--text-900); font-weight: 600; }
@media (max-width: 900px) {
  .rl-hero-sub { color: rgba(255,255,255,0.88); margin-left: auto; margin-right: auto; text-align: center; }
  .rl-founder-line { justify-content: center; color: rgba(255,255,255,0.85); }
  .rl-founder-line strong { color: #fff; }
}

/* ── Auf einen Blick ─────────────────────────────────────────── */
.rl-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; }
.rl-glance > div { background: #fff; padding: 1.5rem 1.6rem; }
.rl-glance dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 0.45rem; }
.rl-glance dd { margin: 0; color: var(--text-700); line-height: 1.5; }
.rl-glance dd strong { color: var(--text-900); }

@media (max-width: 980px) { .rl-glance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rl-glance { grid-template-columns: 1fr; } }
.rl-nohyph { -webkit-hyphens: manual; hyphens: manual; }

/* ── Was bremst: Statistik-Karten ────────────────────────────── */
.rl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.rl-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.rl-stat-num { font-family: var(--font-serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--green-300); }
.rl-stat-label { margin: 0.55rem 0 1.1rem; font-weight: 600; color: #fff; line-height: 1.35; }
.rl-stat-answer { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.93rem; color: rgba(255,255,255,0.82); line-height: 1.5; }
.rl-stat-answer b { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-300); margin-bottom: 0.3rem; }
.rl-kicker { margin-top: var(--space-lg); padding: 1.3rem 1.5rem; border-radius: var(--radius-md); background: rgba(149,213,178,0.12); color: #fff; font-size: 1.05rem; line-height: 1.55; }
.rl-kicker strong { color: var(--green-300); }

/* ── Anwendungsfälle ─────────────────────────────────────────── */
.rl-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.rl-case { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.4rem; transition: border-color var(--transition), box-shadow var(--transition); }
.rl-case:hover { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.rl-case-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }
.rl-case-ic .ni { width: 24px; height: 24px; }
.rl-case h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.rl-case p  { font-size: 0.93rem; color: var(--text-500); line-height: 1.55; }
.rl-case-tools { margin-top: 0.7rem; font-size: 0.78rem; font-weight: 600; color: var(--green-700); }

/* ── Vorgehen: Zeitleiste ────────────────────────────────────── */
.rl-process { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: start; }
.rl-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.rl-steps::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--green-100); }
.rl-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; padding-bottom: 1.6rem; }
.rl-step:last-child { padding-bottom: 0; }
.rl-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--font-serif); font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.rl-step h3 { font-size: 1.08rem; margin: 0.55rem 0 0.3rem; }
.rl-step-when { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--green-700); background: var(--green-50); border-radius: var(--radius-full); padding: 0.15rem 0.6rem; margin-left: 0.4rem; vertical-align: 2px; }
.rl-step p { color: var(--text-500); font-size: 0.95rem; line-height: 1.55; }
.rl-process-aside { position: sticky; top: 110px; }
.rl-process-aside img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.rl-facts { margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.rl-fact { display: flex; align-items: center; gap: 0.8rem; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 0.85rem 1rem; font-weight: 600; color: var(--text-900); font-size: 0.95rem; }
.rl-fact .ni { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 900px) {
  .rl-process { grid-template-columns: 1fr; gap: 2.5rem; }
  .rl-process-aside { position: static; }
  .rl-process-aside img { height: 220px; }
}

/* ── Förder-Rechner ──────────────────────────────────────────── */
.rl-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.rl-calc-box { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2rem; border: 1px solid var(--border-light); }
.rl-calc-box label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--text-900); margin-bottom: 0.8rem; }
.rl-calc-box label output { font-family: var(--font-serif); font-size: 1.5rem; color: var(--green-700); }
.rl-calc-box input[type=range] { width: 100%; accent-color: var(--green-700); height: 28px; }
.rl-calc-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-500); margin-top: 0.1rem; }
.rl-calc-rows { margin-top: 1.5rem; border-top: 1px solid var(--border-light); }
.rl-calc-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-light); color: var(--text-500); font-size: 0.95rem; }
.rl-calc-row span:last-child { color: var(--text-900); font-weight: 600; white-space: nowrap; }
.rl-calc-row.minus span:last-child { color: var(--green-700); }
.rl-calc-row.total { border-bottom: 0; padding-top: 1rem; color: var(--text-900); font-weight: 600; }
.rl-calc-row.total span:last-child { font-family: var(--font-serif); font-size: 1.9rem; color: var(--green-700); }
.rl-calc-note { font-size: 0.8rem; color: var(--text-500); margin-top: 0.6rem; line-height: 1.5; }
.rl-calc-box .btn { margin-top: 1.2rem; }
.rl-checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.6rem; }
.rl-checks li { position: relative; padding-left: 1.8rem; color: var(--text-700); line-height: 1.45; }
.rl-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }
@media (max-width: 900px) { .rl-calc { grid-template-columns: 1fr; gap: 2rem; } .rl-calc-box { padding: 1.5rem; } }

/* ── Gründer ─────────────────────────────────────────────────── */
.rl-founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.rl-founder-photo { position: relative; }
.rl-founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-xl); display: block; box-shadow: var(--shadow-lg); }
.rl-founder-badge { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; background: rgba(255,255,255,0.95); border-radius: var(--radius-md); padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; font-weight: 600; color: var(--text-900); box-shadow: var(--shadow-md); }
.rl-founder-badge .ni { width: 26px; height: 26px; flex-shrink: 0; }
.rl-quote { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.35; color: var(--text-900); margin: 0 0 1.4rem; padding-left: 1.2rem; border-left: 4px solid var(--green-500); }
.rl-cv { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.75rem; }
.rl-cv li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; color: var(--text-700); line-height: 1.45; }
.rl-cv .ni { width: 22px; height: 22px; margin-top: 0.05rem; }
@media (max-width: 900px) {
  .rl-founder { grid-template-columns: 1fr; gap: 2rem; }
  .rl-founder-photo { max-width: 380px; margin: 0 auto; }
  .rl-quote { font-size: 1.3rem; }
}

/* ── Fallstudien + Projekterfahrung ──────────────────────────── */
.rl-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.rl-study { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; }
.rl-study-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-700); }
.rl-study-result { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; color: var(--text-900); margin: 0.6rem 0; line-height: 1.25; }
.rl-study p { color: var(--text-500); font-size: 0.93rem; line-height: 1.55; }
.rl-study.is-placeholder { border: 2px dashed var(--green-300); background: var(--green-50); }
.rl-study.is-placeholder .rl-study-result { color: var(--green-700); }
.rl-placeholder-note { display: inline-block; margin-top: auto; padding-top: 1rem; font-size: 0.78rem; font-weight: 700; color: #9a6a00; }

.rl-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: var(--space-xl); }
.rl-project { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); }
.rl-project img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--cream-dark); }
.rl-project-logo { height: 180px; display: flex; align-items: center; justify-content: center; background: var(--cream); border-bottom: 1px solid var(--border-light); }
.rl-project-logo img { max-width: 60%; max-height: 90px; width: auto; height: auto; object-fit: contain; }
.rl-project-body { padding: 1.2rem 1.3rem 1.4rem; }
.rl-project-body h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.rl-project-body p { font-size: 0.9rem; color: var(--text-500); line-height: 1.5; }
.rl-project-role { margin-top: 0.6rem; font-size: 0.78rem; font-weight: 600; color: var(--green-700); }
.rl-subhead { font-size: 1.25rem; margin: var(--space-xl) 0 1.2rem; }

/* ── Vergleich ───────────────────────────────────────────────── */
.rl-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--border-light); background: #fff; }
.rl-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; }
.rl-table th, .rl-table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border-light); vertical-align: top; line-height: 1.45; }
.rl-table thead th { font-family: var(--font-serif); font-size: 1rem; color: var(--text-900); background: var(--cream); }
.rl-table thead th.is-us { background: var(--green-700); color: #fff; }
.rl-table tbody th { font-weight: 600; color: var(--text-900); width: 26%; }
.rl-table td { color: var(--text-500); }
.rl-table td.is-us { background: var(--green-50); color: var(--text-900); font-weight: 600; }
.rl-table tr:last-child th, .rl-table tr:last-child td { border-bottom: 0; }

/* ── Für wen ─────────────────────────────────────────────────── */
.rl-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.rl-fit-col { border-radius: var(--radius-lg); padding: 1.8rem; }
.rl-fit-col.yes { background: var(--green-50); border: 1px solid var(--green-100); }
.rl-fit-col.no  { background: #fff; border: 1px solid var(--border-light); }
.rl-fit-col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.rl-fit-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.rl-fit-col li { position: relative; padding-left: 1.8rem; color: var(--text-700); line-height: 1.45; }
.rl-fit-col.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 800; }
.rl-fit-col.no  li::before { content: "–"; position: absolute; left: 0.2rem; color: var(--text-500); font-weight: 800; }
@media (max-width: 760px) { .rl-fit { grid-template-columns: 1fr; } }

/* ── Weitere Leistungen ──────────────────────────────────────── */
.rl-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.rl-more a { display: flex; align-items: center; gap: 0.85rem; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.1rem 1.2rem; color: var(--text-900); font-weight: 600; text-decoration: none; transition: border-color var(--transition), transform var(--transition); }
.rl-more a:hover { border-color: var(--green-500); transform: translateY(-2px); }
.rl-more .ni { width: 28px; height: 28px; flex-shrink: 0; }
.rl-more span small { display: block; font-weight: 500; font-size: 0.82rem; color: var(--text-500); margin-top: 0.15rem; }

/* Abstand für Sektionen auf schmalen Geräten */
@media (max-width: 600px) {
  .rl-section { padding: var(--space-xl) 0; }
  .rl-stat-num { font-size: 2.5rem; }
}

/* Mobil: Termin-Button bleibt im Header sichtbar (Kurzform „Erstgespräch") */
@media (max-width: 768px) {
  .navbar .nav-actions { display: flex; align-items: center; gap: 0.5rem; }
  .navbar .nav-actions .btn.nav-cta { display: inline-flex; padding: 0.5rem 0.8rem; font-size: 0.8rem; white-space: nowrap; }
  .navbar .nav-cta .nav-cta-k { display: none; }
}
