/* Spesenabrechnung.at — Website
   Handgeschrieben statt Tailwind-JIT: die Startseite soll ohne JavaScript
   sofort fertig gerendert sein. Palette und Radien folgen der App. */

@import url("inter.css");

:root {
    --ink:        #111827;
    --ink-soft:   #374151;
    --muted:      #6b7280;
    --line:       #e5e7eb;
    --bg:         #ffffff;
    --bg-soft:    #f9fafb;
    --brand:      #4f46e5;
    --brand-dark: #4338ca;
    --brand-soft: #eef2ff;
    --ok:         #059669;
    --radius:     12px;
    --wrap:       1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink-soft);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); letter-spacing: -.01em; }
h3 { font-size: 1.0625rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: .7rem 1.4rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: .9375rem;
    border: 1px solid transparent;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--muted); }

/* ── Kopfzeile ───────────────────────────────────────────── */
.site-head {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-head .wrap {
    display: flex; align-items: center; gap: 1.5rem;
    min-height: 64px;
}
.brand { font-weight: 600; color: var(--ink); font-size: 1.0625rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { color: var(--ink-soft); font-size: .9375rem; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .btn { color: #fff; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 70%);
    padding: 5.5rem 0 4.5rem;
    text-align: center;
}
.hero p.lead {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--ink-soft);
    max-width: 42rem; margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); }
.eyebrow {
    display: inline-block; margin-bottom: 1.25rem;
    padding: .3rem .8rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--line);
    font-size: .8125rem; font-weight: 500; color: var(--brand);
}

/* ── Abschnitte ──────────────────────────────────────────── */
section { padding: 4.5rem 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }

/* ── Raster ──────────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--brand-soft); color: var(--brand);
    display: grid; place-items: center; margin-bottom: 1rem;
}
.card .icon svg { width: 20px; height: 20px; }

/* ── Ablauf ──────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 2rem; grid-template-columns: repeat(4, 1fr); }
.step h3 { display: flex; align-items: center; gap: .6rem; }
.step h3::before {
    counter-increment: step; content: counter(step);
    flex: none; width: 28px; height: 28px; border-radius: 999px;
    background: var(--brand); color: #fff;
    font-size: .8125rem; font-weight: 600;
    display: grid; place-items: center;
}
.step p { font-size: .9375rem; margin: 0; }

/* ── Preise ──────────────────────────────────────────────── */
.pricing { max-width: 34rem; margin: 0 auto; }
.pricing .card { padding: 2.25rem; text-align: center; border-color: var(--brand); }
.price { font-size: 2.5rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1.75rem 0; text-align: left; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; font-size: .9375rem; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .45em;
    width: 1rem; height: 1rem;
    background: no-repeat center/contain
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* ── Fusszeile ───────────────────────────────────────────── */
.site-foot {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 3rem 0 2rem;
    font-size: .875rem;
}
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.foot-cols h4 { color: var(--ink); font-size: .8125rem; text-transform: uppercase;
                letter-spacing: .04em; margin: 0 0 .75rem; font-weight: 600; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin-bottom: .4rem; }
.foot-cols a { color: var(--muted); }
.foot-cols a:hover { color: var(--ink); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; color: var(--muted); }

/* ── Rechtstexte ─────────────────────────────────────────── */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.375rem; margin-top: 2.5rem; }
.legal dl { margin: 0 0 1rem; }
.legal dt { font-weight: 600; color: var(--ink); margin-top: .75rem; }
.legal dd { margin: 0; }

/* ── Klein ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
    .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .grid-3, .grid-2, .steps, .foot-cols { grid-template-columns: 1fr; }
    .site-nav { gap: 1rem; }
    .site-nav .hide-sm { display: none; }
    .hero { padding: 3.5rem 0 3rem; }
    section { padding: 3rem 0; }
}
