/* ═══════════════════════════════════════════════════════════════════════════
 *  Auftragstool Landing — minimal, mobile-first
 * ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --brand: #0d6efd;
    --brand-dark: #0a58ca;
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #212529;
    background: #fff;
    -webkit-text-size-adjust: 100%;
}
a { text-decoration: none; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-brand .brand-icon { font-size: 1.4rem; margin-right: .3rem; }
.navbar .nav-link { font-weight: 500; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    padding-top: 90px;
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}
.hero h1 { line-height: 1.15; }
.hero .lead { font-size: 1.15rem; }

/* ── Hero illustration (CSS-only mockup) ──────────────────── */
.hero-illustration {
    position: relative;
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
}
.mockup-screen {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    overflow: hidden;
    border: 1px solid #dee2e6;
}
.mockup-header {
    background: #f1f3f5;
    padding: .5rem 1rem;
    display: flex;
    gap: .4rem;
}
.mockup-header span {
    width: 10px; height: 10px; border-radius: 50%;
    background: #dc3545;
}
.mockup-header span:nth-child(2) { background: #ffc107; }
.mockup-header span:nth-child(3) { background: #28a745; }
.mockup-body { display: flex; min-height: 320px; }
.mockup-sidebar {
    background: #212529; color: #fff;
    width: 150px; padding: 1rem .5rem;
    display: flex; flex-direction: column; gap: .2rem;
    font-size: .85rem;
}
.mockup-item {
    padding: .4rem .6rem;
    border-radius: 4px;
    color: #dee2e6;
}
.mockup-item.active { background: rgba(255,255,255,.15); color: #fff; }
.mockup-content { flex: 1; padding: 1rem; background: #f8f9fa; }
.mockup-kpi-row { display: flex; gap: .5rem; margin-bottom: 1rem; }
.mockup-kpi {
    flex: 1;
    background: #fff;
    border: 2px solid;
    border-radius: 6px;
    padding: .5rem;
    font-size: .8rem;
}
.mockup-kpi .value { font-size: 1.1rem; font-weight: 700; margin-top: .2rem; }
.mockup-kpi.primary { border-color: #0d6efd; color: #0d6efd; }
.mockup-kpi.success { border-color: #28a745; color: #28a745; }
.mockup-kpi.info    { border-color: #17a2b8; color: #17a2b8; }
.mockup-table { background: #fff; border-radius: 6px; overflow: hidden; }
.mockup-row {
    display: flex; justify-content: space-between;
    padding: .55rem .8rem;
    border-bottom: 1px solid #e9ecef;
    font-size: .85rem;
}
.mockup-row:last-child { border-bottom: 0; }
.badge-mini {
    font-size: .7rem; padding: 2px 8px; border-radius: 99px;
    background: #e9ecef;
}
.badge-mini.open     { background: #f1f3f5; color: #6c757d; }
.badge-mini.progress { background: #fff3cd; color: #b56b00; }
.badge-mini.done     { background: #d4edda; color: #28a745; }

/* ── Feature cards ──────────────────────────────────────────── */
.feature-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.feature-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-card h5 { margin-bottom: .4rem; font-weight: 600; }

/* ── Target-group cards ─────────────────────────────────────── */
.target-card {
    text-align: center;
    padding: 1.5rem 1rem;
    height: 100%;
    border-radius: 8px;
}
.target-icon { font-size: 2.8rem; margin-bottom: .5rem; }
.target-card h5 { font-weight: 600; }

/* ── Pricing ────────────────────────────────────────────────── */
.price-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.75rem 1.25rem;
    height: 100%;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}
.price-card.featured {
    border: 2px solid var(--brand);
    box-shadow: 0 10px 30px rgba(13,110,253,.15);
}
.price-badge {
    position: absolute;
    top: -10px; right: 15px;
    background: var(--brand);
    color: #fff;
    padding: 3px 12px;
    border-radius: 99px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.price-name { font-weight: 600; color: #6c757d; font-size: .9rem; text-transform: uppercase; }
.price-amount { font-size: 2rem; font-weight: 700; margin: .5rem 0; }
.price-amount span { font-size: .9rem; font-weight: 400; color: #6c757d; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.price-features li { padding: .3rem 0; font-size: .9rem; }
.price-features li.muted { color: #adb5bd; }

/* ── Auth modal ─────────────────────────────────────────────── */
#authModal .form-label { font-weight: 500; }
#authModal .form-control { font-size: 1rem; }
#authModal .modal-body { padding: 1.5rem; }

.tab-btn {
    flex: 1;
    padding: .6rem 0;
    text-align: center;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
}
.tab-btn.active { border-bottom-color: var(--brand); color: var(--brand); }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero { padding-top: 80px; }
    .hero h1 { font-size: 1.9rem; }
    .hero .lead { font-size: 1rem; }
    section { padding: 2.5rem 0 !important; }
    .price-card { padding: 1.25rem 1rem; }
}
