/* ============================================================
   GRUNDLAGEN
   Farben abgeleitet vom Logo (Hellblau + Mint), Text in dunklem Schiefer.
   Systemschriften: lädt nichts von Drittanbietern.
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1F7A6E;
    --primary-dark: #155A51;
    --primary-soft: #E6F4F0;
    --sky: #8FC8DC;
    --sky-soft: #EAF5F9;
    --mint: #9DD8CC;
    --warn: #C2410C;
    --warn-soft: #FFF1EA;
    --bg: #FBFCFC;
    --surface: #FFFFFF;
    --text: #1C2A30;
    --muted: #5B6B72;
    --line: #E3EAEC;
    --radius: 20px;
    --shadow: 0 24px 60px rgba(28, 42, 48, 0.12);
    --header: 68px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header);
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--primary);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--primary);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(31, 122, 110, 0.25);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
}

.btn-ghost:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
    box-shadow: none;
}

.btn-small {
    padding: 9px 18px;
    font-size: 0.92rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header);
    background: rgba(251, 252, 252, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-logo img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    transform: scale(1.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a:not(.btn) {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--text);
}

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform 0.25s, opacity 0.25s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
    background:
        radial-gradient(900px 500px at 85% 10%, var(--sky-soft), transparent 70%),
        radial-gradient(700px 400px at 10% 90%, var(--primary-soft), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 28px;
}

.lead strong {
    color: var(--text);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.checks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 0.92rem;
    color: var(--muted);
}

.checks li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    margin-right: 6px;
}

.hero-visual {
    position: relative;
    height: 560px;
}

.phone {
    position: absolute;
    width: 250px;
    border-radius: 34px;
    border: 8px solid #1C2A30;
    background: #1C2A30;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.phone img {
    border-radius: 26px;
    aspect-ratio: 1080 / 2000;
    object-fit: cover;
    object-position: top;
}

.phone figcaption {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.phone-back {
    top: 0;
    right: 0;
    transform: rotate(5deg);
}

.phone-front {
    bottom: 0;
    left: 10px;
    transform: rotate(-4deg);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 96px 0;
}

.section-tint {
    background: linear-gradient(180deg, var(--primary-soft), var(--sky-soft));
}

.section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.08rem;
}

/* ---------- Statistiken ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--warn);
    margin-bottom: 12px;
}

.stat p {
    flex: 1;
    font-size: 0.98rem;
    margin-bottom: 16px;
}

.source {
    font-size: 0.78rem;
    color: var(--muted);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 3px;
}

.source:hover {
    color: var(--primary);
}

.quote {
    max-width: 760px;
    margin: 56px auto 0;
    text-align: center;
}

.quote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- Whitelist vs. Blacklist ---------- */
.versus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.versus-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--line);
}

.versus-good {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.versus-card h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.versus-sub {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.versus-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.versus-card li {
    position: relative;
    padding-left: 32px;
}

.versus-card li::before {
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.versus-bad li::before {
    content: '✕';
    color: var(--warn);
    background: var(--warn-soft);
}

.versus-good li::before {
    content: '✓';
    color: var(--primary);
    background: var(--primary-soft);
}

/* ---------- Vergleichstabelle ---------- */
.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare th,
.compare td {
    padding: 18px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.compare thead th {
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.compare tbody th {
    font-weight: 600;
    width: 30%;
}

.compare .col-us {
    background: var(--primary-soft);
}

.compare thead .col-us {
    color: var(--primary-dark);
}

.yes,
.part,
.no {
    display: inline-flex;
    gap: 8px;
    align-items: baseline;
}

.yes { color: var(--primary-dark); font-weight: 700; }
.part { color: var(--text); }
.no { color: var(--muted); }

.yes::before { content: '✓'; font-weight: 800; }
.part::before { content: '◐'; color: #B7791F; }
.no::before { content: '✕'; color: var(--warn); font-weight: 800; }

.footnote {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

/* ---------- Schritte ---------- */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

/* Ganzer Screenshot in einem kleinen Handy-Rahmen – nichts wird abgeschnitten. */
.step-visual {
    display: flex;
    justify-content: center;
    padding: 32px 24px 40px;
    background: linear-gradient(180deg, var(--sky-soft), var(--primary-soft));
    border-bottom: 1px solid var(--line);
}

.mini-phone {
    width: 170px;
    border-radius: 26px;
    border: 6px solid #1C2A30;
    background: #1C2A30;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(28, 42, 48, 0.18);
}

.mini-phone img {
    width: 100%;
    height: auto;
    aspect-ratio: 1080 / 2340;
    border-radius: 20px;
}

.step-body {
    position: relative;
    padding: 30px 24px 26px;
}

.step-num {
    position: absolute;
    top: -22px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border: 4px solid var(--surface);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 0.97rem;
}

/* ---------- Tipp ---------- */
.tip {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 860px;
    margin: 0 auto;
    padding: 36px;
    border-radius: var(--radius);
    background: var(--sky-soft);
    border: 1px solid #D3E9F1;
}

.tip-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--surface);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}

.tip h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tip p {
    color: var(--muted);
}

.source-line {
    margin-top: 12px;
    font-size: 0.82rem;
}

/* ---------- Preise ---------- */
.plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

.plan {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}

.plan-premium {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.plan-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan h3 {
    font-size: 1.5rem;
}

.plan-sub {
    color: var(--muted);
    margin-bottom: 18px;
}

.plan ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.plan li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    margin-right: 10px;
}

.plan-note {
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---------- Download ---------- */
.download {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.section-head-light p {
    color: rgba(255, 255, 255, 0.85);
}

.apps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.app-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    padding: 30px;
}

.app-step {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 6px;
}

.app-card h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.app-card p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-btn {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: center;
}

.footer nav {
    display: flex;
    gap: 20px;
}

.footer a {
    color: var(--muted);
}

/* ============================================================
   RECHTLICHE SEITEN
   ============================================================ */
.legal {
    max-width: 760px;
    padding: 64px 24px 96px;
}

.legal h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    hyphens: auto;
    overflow-wrap: break-word;
    margin-bottom: 24px;
}

.legal h2 {
    font-size: 1.25rem;
    margin: 32px 0 8px;
}

.legal p,
.legal li {
    color: var(--muted);
    margin-bottom: 10px;
}

.legal ul {
    padding-left: 20px;
}

/* ============================================================
   EINBLENDEN BEIM SCROLLEN
   ============================================================ */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .store-btn { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .mini-phone { width: 190px; }
}

@media (max-width: 860px) {
    .menu-btn { display: flex; }

    .nav-links {
        position: absolute;
        top: var(--header);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.06);
        display: none;
    }

    .nav-links.open { display: flex; }

    .nav-links a:not(.btn) {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-links .btn { margin-top: 14px; }

    .hero { padding: 48px 0 64px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-text { text-align: center; }
    .lead { margin-left: auto; margin-right: auto; }
    .hero-cta, .checks { justify-content: center; }

    .hero-visual {
        height: 440px;
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }

    .phone { width: 200px; }

    .versus, .plans, .apps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .section { padding: 72px 0; }
    .stats { grid-template-columns: 1fr; }
    .hero-visual { height: 380px; }
    .phone { width: 170px; border-width: 6px; border-radius: 28px; }
    .phone img { border-radius: 22px; }
    .phone-front { left: 0; }
    .tip { flex-direction: column; padding: 28px; }
    .versus-card, .plan, .app-card { padding: 26px; }
}
