/* ===============================================================
   RS Upgrades (additiv) — vm-soenmez.de
   Version: 2025-11-09
   Autor: ChatGPT (GPT-5)
   Hinweise:
   - Diese Datei NACH deinen bestehenden CSS-Dateien einbinden.
   - Keine harten Überschreibungen, überwiegend neue Klassen (rs-*).
   - Ziel: moderne CTAs, mobile Actionbar, kompakte KFZ-Sektion,
     Typografie-Feinschliff – ohne dein Hero-Layout zu brechen.
   =============================================================== */

:root {
  --rs-primary: #11b4c9;
  --rs-dark: #0e2a37;
  --rs-white: #ffffff;
  --rs-muted: rgba(255,255,255,.65);
  --rs-radius: 14px;
  --rs-shadow-sm: 0 6px 18px rgba(17,180,201,.25);
  --rs-shadow-md: 0 12px 32px rgba(0,0,0,.15);
  --rs-bg-glass: rgba(8,25,35,.55);
}

:where(h1,h2,h3){ letter-spacing: -0.01em; }
:where(p,li){ line-height: 1.6; font-size: clamp(15px, 1.8vw, 18px); }

.btn, .button, .cta {
  appearance: none;
  border: 0;
  border-radius: var(--rs-radius);
  padding: 12px 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  user-select: none;
}

.btn-primary {
  background: var(--rs-primary);
  color: var(--rs-dark);
  box-shadow: var(--rs-shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--rs-white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.9);
}

.hero-ctas, .button-row, .btn-row, .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge, .pill {
  background: var(--rs-bg-glass);
  color: var(--rs-white);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  backdrop-filter: saturate(120%) blur(6px);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .badge, .pill { background: rgba(8,25,35,.72); }
}

.rs-actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: none;
  gap: 8px;
  background: rgba(8,25,35,.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: calc(10px + env(safe-area-inset-bottom));
  z-index: 9999;
  box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}
@media (max-width: 740px) {
  .rs-actionbar { display: grid; grid-template-columns: 1fr 1fr 1fr; }
}
.rs-actionbar a {
  text-align: center;
  background: var(--rs-primary);
  color: var(--rs-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: var(--rs-radius);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: transform .08s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.rs-actionbar a:nth-child(2) {
  background: var(--rs-white);
  color: var(--rs-dark);
}
.rs-actionbar a:active { transform: translateY(1px); }
.rs-actionbar a:focus-visible {
  outline: none;
  border-color: rgba(255,255,255,.9);
}
@media (max-width: 740px) {
  .has-actionbar-bottom-space { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ====== Visibility tweak: Hero-CTAs nur mobil anzeigen ====== */
/* Desktop (Standard): ausblenden */
.hero-ctas { display: none; }
/* Mobil: anzeigen (gleiche Breakpoint wie Actionbar) */
@media (max-width: 740px) {
  .hero-ctas { display: flex; }
}

/* ==== Hero-CTAs komplett ausblenden (alle Geräte) ==== */
.hero-ctas { display: none !important; }

/* ==== Alte "Beitragszeit 2026"-Box ausblenden ==== */
#beitragszeit,
.beitragszeit,
.rs-beitragszeit {
  display: none !important;
}

/* ==== Beitragszeit 2026-Fenster überall ausblenden (stark priorisiert) ==== */
#beitragszeit,
.beitragszeit,
.rs-beitragszeit,
section[id*="beitragszeit"],
div[id*="beitragszeit"],
section[class*="beitragszeit"],
div[class*="beitragszeit"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==== Altes Sticky-Banner (Beitragszeit) zuverlässig ausblenden ==== */
#stickyKfz,
.sticky-kfz {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* ====== Trust / Partner Section ===================================== */
.rs-trust {
  padding: 60px 0;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border-top: 1px solid #e6eef7;
  border-bottom: 1px solid #e6eef7;
}
.rs-trust .wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.rs-trust h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; }
.rs-trust .lead { color: #475569; margin-bottom: 22px; }
.rs-logos {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  align-items: center; justify-items: center;
}
@media (max-width: 900px){ .rs-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px){ .rs-logos { grid-template-columns: repeat(2, 1fr); } }
.rs-logo {
  width: 130px; height: 56px; border-radius: 12px;
  background: #ffffff; border: 1px solid #e6eef7;
  box-shadow: 0 4px 14px rgba(2,8,23,.06);
  display: grid; place-items: center;
  filter: grayscale(100%); opacity: .9;
}
.rs-logo img, .rs-logo svg { max-width: 80%; max-height: 60%; display: block; }

/* Testimonials */
.rs-testimonials {
  margin-top: 26px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .rs-testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .rs-testimonials { grid-template-columns: 1fr; } }
.rs-quote {
  background: #fff;
  border: 1px solid #e6eef7;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(2,8,23,.06);
}
.rs-quote p { color: #0b2540; margin: 0 0 10px; }
.rs-quote .who { color: #64748b; font-weight: 600; font-size: 14px; }

/* ====== Contact window (unified card) ================================ */
.rs-contact {
  padding: 60px 0;
}
.rs-contact .wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.rs-contact .card {
  display: grid; gap: 0;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 900px){ .rs-contact .card { grid-template-columns: 1fr; } }
.rs-contact .card .left {
  padding: 28px 30px;
  background: #ffffff;
}
.rs-contact .card .right {
  padding: 28px;
  background: #0b2540;
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.rs-contact .list {
  list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px;
}
.rs-contact .list a { color: #0f172a; font-weight: 700; text-decoration: none; }
.rs-contact .list a:hover { text-decoration: underline; }
.rs-contact .right .btn.primary {
  background: #204E6D; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
}
.rs-contact .right .btn.primary:hover { filter: brightness(1.05); }

/* ====== Warum Richtig Stark — Outline Icons ========================= */
.rs-why {
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 1px solid #e6eef7;
  border-bottom: 1px solid #e6eef7;
}
.rs-why .wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.rs-why h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.rs-why .lead { color: #475569; margin: 0 0 22px; }

.rs-why .grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1000px){ .rs-why .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px){ .rs-why .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px){ .rs-why .grid { grid-template-columns: 1fr; } }

.rs-why .item {
  background: #ffffff;
  border: 1px solid #e6eef7;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(2,8,23,.06);
  display: grid; gap: 10px;
  align-content: start;
  min-height: 150px;
}
.rs-why .icon {
  width: 40px; height: 40px;
}
.rs-why .icon svg {
  width: 100%; height: 100%;
  stroke: #11b4c9; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.rs-why .title {
  font-weight: 800; color: #0f172a;
}
.rs-why .desc {
  color: #475569; line-height: 1.55;
}

/* ====== Harmonischer Übergang Über mich → Warum Richtig Stark ====== */
section[id*="ueber"] + .rs-why {
  margin-top: -20px;
}

/* === FINAL FIX 2025-11-09 === */
/* Sichtbarkeit & Karten-Abschluss korrekt stellen */
.rs-why .grid::before { z-index: 0 !important; }
.rs-why .item { position: relative; z-index: 1; }

section#ueber-mich > .wrap {
  background: #ffffff;
  border: 1px solid #e6eef7;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2,8,23,.06);
  padding-left: 28px;
  padding-right: 28px;
}

section[id*="ueber"] + .rs-why { margin-top: 40px !important; }

