/* ============================================================
   PlainRight – Landingpage /vermieterrechtsschutz
   ENTWURF. Eigenständiges Stylesheet, damit die bestehenden
   Seiten (/risikoanalyse, /anfrage, /vermieterrechtsschutz-kosten)
   unberührt bleiben.
   Farb- und Typo-Token sind aus public/risikoanalyse/style.css
   übernommen, damit die Seite optisch zum Bestand passt.
   Kein Inline-<style> – siehe ADR-009 (CSP-Vorbereitung).
   ============================================================ */

:root {
    --pr-blue-start: #29ABE2;
    --pr-blue-end: #0072BC;
    --pr-dark-900: #0A0D14;
    --pr-dark-800: #0D1117;
    --pr-dark-700: #161B22;
    --pr-text: #F0F4F8;
    --pr-text-secondary: #8B9AB0;
    --pr-text-muted: #5A6A80;
    --pr-border: rgba(255, 255, 255, 0.08);
    --pr-border-accent: rgba(41, 171, 226, 0.25);
    --pr-surface: rgba(22, 27, 34, 0.75);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-md: 12px;
    --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background: var(--pr-dark-900);
    color: var(--pr-text-secondary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--pr-blue-start); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
    padding: 0 24px;
    background: rgba(10, 13, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--pr-border);
}
.site-logo img { height: 34px; width: auto; display: block; }

.header-cta {
    padding: 9px 18px;
    border: 1px solid var(--pr-border-accent);
    border-radius: 9999px;
    color: var(--pr-text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.header-cta:hover { background: rgba(41, 171, 226, 0.12); text-decoration: none; }

/* ── Typografie ───────────────────────────────────────────── */
h1, h2, h3 { color: var(--pr-text); line-height: 1.25; }
h1 { font-size: clamp(28px, 4.6vw, 42px); font-weight: 800; letter-spacing: -0.02em; max-width: 20ch; }
h2 { font-size: clamp(23px, 3.2vw, 31px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 13px;
    border: 1px solid var(--pr-border-accent);
    border-radius: 9999px;
    color: var(--pr-blue-start);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead { margin-top: 18px; max-width: 62ch; font-size: 18px; }
.section-intro { margin-top: 12px; max-width: 70ch; }
.section-note { margin-top: 24px; max-width: 78ch; font-size: 15px; color: var(--pr-text-muted); }

/* ── Sektionen ────────────────────────────────────────────── */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--pr-border); }
.section { padding: 56px 0; border-bottom: 1px solid var(--pr-border); }
.section-alt { background: var(--pr-dark-800); }

.hero-note { margin-top: 18px; font-size: 14px; color: var(--pr-text-muted); }

/* ── Buttons ──────────────────────────────────────────────── */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: linear-gradient(135deg, var(--pr-blue-start), var(--pr-blue-end));
    color: #FFFFFF;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--pr-border-accent); color: var(--pr-text); }
.btn-ghost:hover { background: rgba(41, 171, 226, 0.1); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ── Aufzählung mit Fettbegriff ───────────────────────────── */
.factor-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.factor-list li { padding-left: 26px; position: relative; max-width: 80ch; }
.factor-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pr-blue-start);
}
.factor-list strong { color: var(--pr-text); }

/* ── Konfliktfälle ────────────────────────────────────────── */
.case-grid {
    display: grid;
    gap: 16px;
    margin-top: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.case {
    padding: 22px 22px 24px;
    background: var(--pr-surface);
    border: 1px solid var(--pr-border);
    border-radius: var(--radius-lg);
}
.case h3 { font-size: 17px; }
.case p { margin-top: 8px; font-size: 15px; }

/* ── Stufen-Karten ────────────────────────────────────────── */
.tier-grid {
    display: grid;
    gap: 18px;
    margin-top: 32px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tier {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    background: var(--pr-surface);
    border: 1px solid var(--pr-border);
    border-radius: var(--radius-lg);
}
.tier-claim { margin-top: 8px; font-size: 15px; }
.tier-plus { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--pr-text); }

.tier-list { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.tier-list li { padding-left: 24px; position: relative; font-size: 15px; }
.tier-list li::before {
    content: "";
    position: absolute;
    left: 1px; top: 9px;
    width: 10px; height: 6px;
    border-left: 2px solid var(--pr-blue-start);
    border-bottom: 2px solid var(--pr-blue-start);
    transform: rotate(-45deg);
}

.included-box {
    margin-top: 22px;
    padding: 24px;
    background: var(--pr-dark-700);
    border: 1px solid var(--pr-border);
    border-radius: var(--radius-lg);
}

/* ── Ablauf ───────────────────────────────────────────────── */
.step-list { list-style: none; counter-reset: step; margin-top: 28px; display: grid; gap: 16px; }
.step-list li {
    counter-increment: step;
    position: relative;
    padding-left: 52px;
    max-width: 80ch;
    min-height: 34px;
}
.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border: 1px solid var(--pr-border-accent);
    border-radius: 50%;
    color: var(--pr-blue-start);
    font-size: 15px;
    font-weight: 700;
}
.step-list strong { display: block; color: var(--pr-text); }

/* ── Hinweiskasten ────────────────────────────────────────── */
.note-box {
    margin-top: 28px;
    padding: 20px 22px;
    background: var(--pr-dark-700);
    border: 1px solid var(--pr-border);
    border-left: 3px solid var(--pr-blue-start);
    border-radius: var(--radius-md);
}
.note-box strong { display: block; margin-bottom: 6px; color: var(--pr-text); }
.note-box p { font-size: 15px; max-width: 80ch; }

/* ── CTA-Sektion ──────────────────────────────────────────── */
.cta-section { background: var(--pr-dark-800); text-align: center; }
.cta-section h2 { max-width: 26ch; margin: 0 auto; }
.cta-section .section-intro { margin-left: auto; margin-right: auto; }
.cta-section .btn { margin-top: 26px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { padding: 36px 0 48px; }
.disclaimer { max-width: 90ch; font-size: 13px; color: var(--pr-text-muted); }
.disclaimer + .disclaimer { margin-top: 12px; }
.footer-links { margin-top: 22px; font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-links a { color: var(--pr-text-secondary); }
.footer-links a:hover { color: var(--pr-blue-start); text-decoration: none; }
.footer-copy { margin-top: 12px; font-size: 13px; color: var(--pr-text-muted); }

/* ── Motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
