/* ═══════════════════════════════════════════════════════════════════
   Rechnungslotse-Theme (rl.css) — eigenständige Site www.rechnungslotse.eu
   Aufbauend auf style.css (Basis-Tokens/Navbar/Footer/Formulare).
   Extrahiert aus dem seitenlokalen Styleblock der bisherigen Verkaufsseite
   + Ergänzungen für Mehrseitigkeit (Nav, Produktvergleich, Mac-App-Seite).
   ═══════════════════════════════════════════════════════════════════ */

/* ── Markenfarben ─────────────────────────────────────────────────── */
body.rl-page {
  --rl-blau: #1d4e6b;
  --rl-blau-dunkel: #123448;
  --rl-blau-hell: #eaf2f7;
  --rl-gold: #c8961e;
}
.rl-page h2 { color: var(--rl-blau); }
.rl-page .footer { background: linear-gradient(135deg, #0e2938, #1d4e6b); }
.rl-page .section-label { color: var(--rl-gold); }

/* ── Navigation: Teal der Hausverwaltung → Rechnungslotse-Blau ───── */
.rl-page .nav-links a:hover,
.rl-page .nav-links a.active { color: var(--rl-blau); }
.rl-page .nav-tagline .nt-main { color: var(--rl-blau); }
.rl-page .nav-logo-img { border-radius: 8px; }
.rl-page .nav-links .nav-cta {
  background: var(--rl-gold); color: #fff !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 700;
}
.rl-page .nav-links .nav-cta:hover { opacity: .88; }
.rl-page .breadcrumb a { color: var(--rl-blau); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.rl-hero {
  background: linear-gradient(135deg, #0e2938 0%, #1d4e6b 55%, #2a648a 100%);
  padding: 76px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rl-hero-tag {
  display: inline-block;
  background: var(--rl-gold);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.rl-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: #fff;
  line-height: 1.25;
  max-width: 800px;
  margin: 0 auto 18px;
}
.rl-hero h1 em { color: #ffd987; font-style: normal; }
.rl-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.rl-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 10px 22px;
  margin-bottom: 28px;
}
.rl-price-badge .alt { color: rgba(255,255,255,.55); text-decoration: line-through; font-size: 1rem; white-space: nowrap; }
.rl-price-badge .neu { color: #ffd987; font-size: 1.9rem; font-weight: 800; white-space: nowrap; }
.rl-price-badge .einheit { color: rgba(255,255,255,.75); font-size: .82rem; }
.rl-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-rl-gold {
  background: var(--rl-gold); color: #fff; border: none;
  padding: 14px 32px; border-radius: var(--radius);
  font-size: .97rem; font-weight: 700; font-family: inherit;
  cursor: pointer; text-decoration: none; display: inline-block; transition: opacity .15s;
}
.btn-rl-gold:hover { opacity: .88; }
.btn-rl-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5);
  padding: 12px 28px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; text-decoration: none; display: inline-block; transition: border-color .15s;
}
.btn-rl-outline:hover { border-color: #fff; }
.btn-rl-blau {
  background: var(--rl-blau); color: #fff; border: none;
  padding: 14px 32px; border-radius: var(--radius);
  font-size: .97rem; font-weight: 700; font-family: inherit;
  cursor: pointer; text-decoration: none; display: inline-block; transition: opacity .15s;
}
.btn-rl-blau:hover { opacity: .88; }
.rl-hero-note { margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ── Pflicht-Zeitleiste ───────────────────────────────────────────── */
.rl-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media(max-width: 760px){ .rl-timeline { grid-template-columns: 1fr; } }
.rl-t-step {
  background: #fff; border: 1px solid var(--gray); border-top: 4px solid var(--rl-blau);
  border-radius: var(--radius); padding: 22px 20px; transition: all var(--transition);
}
.rl-t-step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rl-t-step.jetzt { border-top-color: var(--rl-gold); background: #fdf8ec; }
.rl-t-jahr { font-size: 1.3rem; font-weight: 800; color: var(--rl-blau); margin-bottom: 6px; }
.rl-t-step p { font-size: .87rem; color: var(--text); line-height: 1.6; margin: 0; }

/* ── USP-Kacheln ──────────────────────────────────────────────────── */
.rl-usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.rl-usp {
  background: var(--rl-blau-hell); border: 1px solid #d5e2ec; border-radius: var(--radius);
  padding: 24px 22px; transition: all var(--transition); border-top: 4px solid var(--rl-gold);
}
.rl-usp:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.rl-usp .u-icon { font-size: 1.7rem; margin-bottom: 10px; }
.rl-usp h3 { font-size: 1rem; color: var(--rl-blau); margin-bottom: 8px; }
.rl-usp p { font-size: .87rem; color: var(--text); line-height: 1.65; margin: 0; }

/* ── Screenshots + Lightbox ───────────────────────────────────────── */
.rl-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
@media(max-width: 800px){ .rl-shots { grid-template-columns: 1fr; } }
.rl-shot { text-align: center; }
.rl-shot img {
  width: 100%; max-width: 340px; border: 1px solid var(--gray); border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18,52,72,.18); transition: transform var(--transition);
  cursor: zoom-in;
}
.rl-shot:hover img { transform: scale(1.03); }
.rl-shot figcaption { font-size: .83rem; color: var(--text-light); margin-top: 10px; line-height: 1.5; }
.rl-app-shots { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 26px auto 8px; }
@media(max-width: 700px){ .rl-app-shots { grid-template-columns: 1fr; } }
.rl-app-shots img { width: 100%; max-width: 100%; height: 235px; object-fit: cover; object-position: left top; }
.rl-lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 26, 36, .88); padding: 24px;
  align-items: flex-start; justify-content: center; overflow: auto;
  cursor: zoom-out;
}
.rl-lightbox.open { display: flex; }
.rl-lightbox img {
  /* Echte Vergrößerung: natürliche Pixelgröße, nur durch den Viewport begrenzt */
  width: auto; max-width: 96vw; height: auto;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: #fff;
}
.rl-lightbox .lb-close {
  position: fixed; top: 14px; right: 18px;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px; padding: 8px 14px; font-size: .9rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.rl-lightbox .lb-hint {
  position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .8rem;
}

/* ── Preisvergleich (Tabelle) + Kaufbox ───────────────────────────── */
.rl-price-wrap { overflow-x: auto; margin-top: 32px; }
table.rl-price { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; background: #fff; }
table.rl-price th, table.rl-price td { border: 1px solid var(--gray); padding: 11px 14px; text-align: left; }
table.rl-price th { background: var(--rl-blau); color: #fff; font-weight: 700; }
table.rl-price td.center { text-align: center; }
table.rl-price tr.rl-row { background: #fdf8ec; font-weight: 700; }
table.rl-price tr.rl-row td { border-color: var(--rl-gold); }
.rl-kaufbox {
  margin-top: 28px; background: linear-gradient(135deg, var(--rl-blau-dunkel), var(--rl-blau));
  border-radius: 14px; padding: 36px 40px; color: #fff; text-align: center;
}
@media(max-width: 600px){ .rl-kaufbox { padding: 26px 20px; } }
.rl-kaufbox .kb-preis { font-size: 2.6rem; font-weight: 800; color: #ffd987; line-height: 1.1; }
.rl-kaufbox .kb-alt { text-decoration: line-through; color: rgba(255,255,255,.5); font-size: 1.2rem; margin-right: 10px; }
.rl-kaufbox p { color: rgba(255,255,255,.8); font-size: .9rem; }

/* ── Produktwahl: zwei Varianten-Karten (Startseite) ──────────────── */
.rl-variante-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media(max-width: 800px){ .rl-variante-grid { grid-template-columns: 1fr; } }
.rl-variante {
  background: #fff; border: 1px solid var(--gray); border-radius: 14px;
  padding: 30px 28px; border-top: 5px solid var(--rl-blau);
  display: flex; flex-direction: column; transition: all var(--transition);
}
.rl-variante:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.rl-variante.gold { border-top-color: var(--rl-gold); }
.rl-variante .v-icon { font-size: 2rem; margin-bottom: 10px; }
.rl-variante h3 { font-size: 1.15rem; color: var(--rl-blau); margin-bottom: 4px; }
.rl-variante .v-fuer { font-size: .82rem; color: var(--text-light); margin-bottom: 14px; }
.rl-variante ul { list-style: none; padding: 0; margin: 0 0 18px; }
.rl-variante ul li { font-size: .87rem; color: var(--text); line-height: 1.55; padding: 5px 0 5px 24px; position: relative; }
.rl-variante ul li::before { content: '✓'; position: absolute; left: 0; color: var(--rl-gold); font-weight: 800; }
.rl-variante .v-preis { font-size: 1.5rem; font-weight: 800; color: var(--rl-blau); margin: 4px 0 2px; }
.rl-variante .v-preis .alt { text-decoration: line-through; color: var(--text-light); font-size: 1rem; font-weight: 400; margin-right: 8px; }
.rl-variante .v-preisnote { font-size: .78rem; color: var(--text-light); margin-bottom: 16px; }
.rl-variante .v-cta { margin-top: auto; }

/* ── Download-Karten („Sofort testen") ────────────────────────────── */
.rl-dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
@media(max-width: 800px){ .rl-dl-grid { grid-template-columns: 1fr; } }
.rl-dl-card {
  background: var(--off-white); border: 1px solid var(--gray); border-radius: 14px;
  padding: 26px 26px 24px; border-top: 5px solid var(--rl-gold);
}
.rl-dl-card h3 { font-size: 1rem; color: var(--rl-blau); margin-bottom: 8px; }
.rl-dl-card p { font-size: .85rem; color: var(--text); line-height: 1.65; margin-bottom: 14px; }
.rl-dl-card .dl-meta { font-size: .76rem; color: var(--text-light); margin-top: 8px; }

/* ── Mac-App: Feature-Reihen (Bild + Text im Wechsel) ─────────────── */
.rl-feature-row {
  display: flex; align-items: center; gap: 40px; margin-top: 44px;
}
.rl-feature-row.umgekehrt { flex-direction: row-reverse; }
@media(max-width: 860px){
  .rl-feature-row, .rl-feature-row.umgekehrt { flex-direction: column; gap: 18px; margin-top: 34px; }
}
.rl-feature-row .f-bild { flex: 1 1 55%; min-width: 0; }
.rl-feature-row .f-bild img {
  width: 100%; border: 1px solid var(--gray); border-radius: 10px;
  box-shadow: 0 12px 34px rgba(18,52,72,.16); cursor: zoom-in;
  transition: transform var(--transition);
}
.rl-feature-row .f-bild img:hover { transform: scale(1.015); }
.rl-feature-row .f-text { flex: 1 1 45%; }
.rl-feature-row .f-text h3 { font-size: 1.15rem; color: var(--rl-blau); margin-bottom: 10px; }
.rl-feature-row .f-text ul { list-style: none; padding: 0; margin: 0; }
.rl-feature-row .f-text ul li { font-size: .88rem; color: var(--text); line-height: 1.6; padding: 5px 0 5px 24px; position: relative; }
.rl-feature-row .f-text ul li::before { content: '•'; position: absolute; left: 6px; color: var(--rl-gold); font-weight: 800; }

/* ── Mac-App: Store-Badge ─────────────────────────────────────────── */
.rl-store-zeile { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.rl-store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 12px; padding: 10px 22px; border: 1px solid #444;
  transition: opacity .15s;
}
.rl-store-badge .sb-apfel { font-size: 1.7rem; line-height: 1; }
.rl-store-badge .sb-text { text-align: left; line-height: 1.25; }
.rl-store-badge .sb-text .klein { font-size: .68rem; color: rgba(255,255,255,.75); display: block; }
.rl-store-badge .sb-text .gross { font-size: 1.05rem; font-weight: 700; }
.rl-store-badge:hover { opacity: .85; }
/* Vor dem Release: Badge sichtbar, aber inaktiv (Klasse „bald" entfernen zum Scharfschalten) */
.rl-store-badge.bald { opacity: .55; pointer-events: none; filter: grayscale(35%); }
.rl-store-hinweis { font-size: .82rem; color: var(--text-light); }

/* ── Formulare / FAQ / Bedingungen / Anleitung ────────────────────── */
.rl-form-card {
  background: var(--off-white); border: 1px solid var(--gray); border-radius: 14px;
  padding: 40px 44px; border-top: 5px solid var(--rl-gold);
}
@media(max-width: 600px){ .rl-form-card { padding: 26px 20px; } }
.rl-form-card h2 { margin-bottom: 8px; }
.rl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
@media(max-width: 600px){ .rl-form-grid { grid-template-columns: 1fr; } }
.rl-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; }
.rl-check input { width: auto; margin-top: 3px; flex-shrink: 0; accent-color: var(--rl-blau); }
.rl-check label { text-transform: none; letter-spacing: 0; font-size: .83rem; color: var(--text-light); font-weight: 400; cursor: pointer; line-height: 1.5; }

.rl-faq details {
  background: #fff; border: 1px solid var(--gray); border-radius: var(--radius);
  padding: 0; margin-bottom: 10px; overflow: hidden;
}
.rl-faq summary {
  cursor: pointer; font-weight: 700; font-size: .93rem; color: var(--rl-blau);
  padding: 15px 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.rl-faq summary::after { content: '+'; color: var(--rl-gold); font-weight: 800; }
.rl-faq details[open] summary::after { content: '–'; }
.rl-faq details p { padding: 0 18px 15px; font-size: .87rem; color: var(--text); line-height: 1.65; margin: 0; }

.rl-bedingungen { font-size: .78rem; color: var(--text-light); line-height: 1.65; }
.rl-bedingungen h4 { font-size: .82rem; color: var(--rl-blau); margin: 12px 0 4px; }
/* Auf der eigenen Bedingungen-Seite etwas größer lesbar */
.rl-bedingungen.gross { font-size: .88rem; }
.rl-bedingungen.gross h4 { font-size: .95rem; }

.rl-anleitung { max-width: 760px; margin: 28px auto 0; }
.rl-a-schritt {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gray); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 10px;
}
.rl-a-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--rl-blau); color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.rl-a-schritt h3 { font-size: .95rem; color: var(--rl-blau); margin: 2px 0 4px; }
.rl-a-schritt p { font-size: .87rem; color: var(--text); line-height: 1.65; margin: 0; }
.rl-a-tipp {
  background: #fdf8ec; border: 1px solid var(--rl-gold); border-radius: var(--radius);
  padding: 14px 18px; font-size: .85rem; color: var(--text); line-height: 1.65; margin-top: 14px;
}

/* ── Sonstiges ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
#demo, #bestellen, #preis, #funktionen, #anleitung, #download, #faq, #varianten { scroll-margin-top: 80px; }
