/* ============================================================
   Citivo – Marketing-Website
   Design-Tokens angelehnt an die bestehende App
   ============================================================ */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f4;
    --text-primary: #1a2233;
    --text-secondary: #5f6368;
    --text-muted: #80868b;
    --border-color: #e3e6ea;
    --ink: #0F172A;
    --accent: #FA8112;
    --accent-hover: #e57410;
    --accent-soft: rgba(250, 129, 18, 0.12);
    --accent-soft-strong: rgba(250, 129, 18, 0.2);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.22);
    --maxw: 1140px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

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

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Buttons ------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .8rem 1.5rem;
    font-size: .95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Header ------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -.02em;
    color: var(--ink);
}
.site-logo .dot { color: var(--accent); }
.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.site-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .15s ease;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text-primary); }
.site-nav .btn { padding: .55rem 1.1rem; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ---- Section basics ---------------------------------------- */
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: .4rem .85rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.section-title {
    font-size: clamp(1.5rem, 1rem + 1.8vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text-primary);
    max-width: 28ch;
}
.section-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 62ch;
    margin-top: .9rem;
}
.section-head { margin-bottom: 2.75rem; }
.section-head.center { text-align: center; }
.section-head.center .section-title,
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---- Hero --------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 0%, var(--accent-soft), transparent 42%),
        radial-gradient(circle at 100% 100%, var(--accent-soft), transparent 48%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
    align-items: center;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}
.hero h1 {
    font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--ink);
    max-width: 16ch;
}
.hero h1 .hl {
    background: linear-gradient(120deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 50ch;
    margin: 1.15rem 0 1.75rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.6rem;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.5rem;
    font-size: .9rem;
    color: var(--text-secondary);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta i { color: var(--accent); }
.hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* ---- Module grid ------------------------------------------- */
.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.module-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.module-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.module-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}
.module-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: .4rem;
}
.module-card p {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Screenshots ------------------------------------------- */
.shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}
.shot figure {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow);
}
.shot figcaption {
    padding: .85rem 1.1rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}
.shot figcaption span {
    display: block;
    font-weight: 400;
    font-size: .82rem;
    color: var(--text-muted);
    margin-top: .15rem;
}

/* ---- Feature columns --------------------------------------- */
.feature-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.feature-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid var(--accent-soft);
}
.feature-list { list-style: none; display: grid; gap: 1rem; }
.feature-list li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
}
.feature-list i {
    color: var(--accent);
    margin-top: .2rem;
    flex-shrink: 0;
}
.feature-list strong {
    display: block;
    font-size: .96rem;
    font-weight: 600;
}
.feature-list span {
    font-size: .88rem;
    color: var(--text-secondary);
}

/* ---- CTA band ---------------------------------------------- */
.cta-band {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
    text-align: center;
}
.cta-band h2 {
    font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    max-width: 24ch;
    margin: 0 auto .8rem;
}
.cta-band p {
    color: rgba(255, 255, 255, .72);
    max-width: 52ch;
    margin: 0 auto 1.75rem;
}

/* ---- Generic content (Impressum / Kontakt) ----------------- */
.page-head {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 3.25rem 0;
}
.page-head h1 {
    font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}
.page-head p {
    color: var(--text-secondary);
    margin-top: .5rem;
    max-width: 60ch;
}
.prose { max-width: 760px; }
.prose h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 .75rem;
}
.prose p { color: var(--text-secondary); margin-bottom: 1rem; }
.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: grid;
    gap: 1.4rem;
}
.info-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .4rem; }
.info-card h4 { font-size: .92rem; font-weight: 700; margin-bottom: .25rem; }
.info-card p { font-size: .94rem; color: var(--text-secondary); line-height: 1.7; }
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.info-card a { color: var(--accent); }

/* ---- Pricing ----------------------------------------------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.price-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
}
.price-card.highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.price-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .35rem; }
.price-card .price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ink);
    margin: .6rem 0 .2rem;
}
.price-card .price-note {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}
.price-card ul {
    list-style: none;
    display: grid;
    gap: .55rem;
    margin-bottom: 1.4rem;
}
.price-card li {
    font-size: .9rem;
    color: var(--text-secondary);
    display: flex;
    gap: .55rem;
}
.price-card li i { color: var(--accent); margin-top: .25rem; }
.notice {
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft-strong);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.notice i { color: var(--accent); font-size: 1.3rem; margin-top: .1rem; }
.notice h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.notice p { font-size: .94rem; color: var(--text-secondary); }

/* ---- Footer ------------------------------------------------ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
}
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}
.site-footer .foot-brand {
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.02em;
}
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: .9rem;
    color: var(--text-secondary);
}
.site-footer nav a:hover { color: var(--accent); }
.site-footer .foot-copy {
    width: 100%;
    font-size: .82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: .5rem;
}

/* ---- Responsive -------------------------------------------- */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 2.25rem; }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; }
    .feature-cols { grid-template-columns: 1fr; gap: 2rem; }
    .shots { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: .5rem 1.5rem 1.25rem;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: .7rem 0; }
    .site-nav .btn { margin-top: .5rem; justify-content: center; }
    .module-grid { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 0; }
}
