/* abrechnung.novahausverwaltung.de - eigenständiges Design, keine externen Ressourcen */

:root {
  --ink: #0b1220;
  --ink-2: #101a30;
  --paper: #f7f8fb;
  --card: #ffffff;
  --text: #1a2439;
  --muted: #5b6478;
  --line: #e5e9f2;
  --accent: #10c98f;
  --accent-2: #38bdf8;
  --accent-ink: #065f46;
  --danger: #f43f5e;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: baseline; gap: 2px;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
}
.brand .dot { color: var(--accent); }
.brand small { color: #8d99b2; font-weight: 500; font-size: 0.72rem; margin-left: 8px; letter-spacing: 0; }
.nav a {
  color: #c6cede; text-decoration: none; font-size: 0.92rem; margin-left: 22px; font-weight: 500;
}
.nav a:hover { color: #fff; }
.nav .cta {
  background: var(--accent); color: #04281c; padding: 8px 16px; border-radius: 999px; font-weight: 700;
}
.nav .cta:hover { filter: brightness(1.08); color: #04281c; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 15% -10%, rgba(16, 201, 143, 0.22), transparent 60%),
    radial-gradient(700px 420px at 85% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 84px 0 120px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 201, 143, 0.14); color: #7ff0cf;
  border: 1px solid rgba(16, 201, 143, 0.35);
  font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 201, 143, 0.2); }
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: #aeb9cf; font-size: 1.13rem; max-width: 46ch; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; border-radius: 12px;
  padding: 14px 24px; font-size: 1rem; transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(90deg, var(--accent), #0ea5e9); color: #04281c; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { color: #dbe3f0; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.hero-note { color: #7f8ba3; font-size: 0.85rem; margin-top: 18px; }

/* Ergebnis-Vorschau-Karte */
.preview {
  background: var(--card); color: var(--text);
  border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 26px; transform: rotate(1.2deg);
  border: 1px solid var(--line);
}
.preview h3 { margin: 0 0 4px; font-size: 1rem; }
.preview .meta { color: var(--muted); font-size: 0.78rem; margin-bottom: 16px; }
.preview table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.preview td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.preview td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tag.ok { background: #d9f7ec; color: var(--accent-ink); }
.tag.raus { background: #ffe4ea; color: #9f1239; text-decoration: line-through; }
.preview .saldo td { border-bottom: none; font-weight: 800; padding-top: 12px; font-size: 0.95rem; }
.preview .saldo .betrag { color: var(--accent-ink); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.kicker { color: #0d9d70; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; display: block; margin-bottom: 10px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06281e; font-weight: 800; font-size: 1.05rem; margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Raus-Chips */
.raus-section { background: var(--ink); color: #fff; }
.raus-section .section-head p { color: #aeb9cf; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid rgba(244, 63, 94, 0.45); background: rgba(244, 63, 94, 0.1);
  color: #fecdd3; padding: 10px 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 600;
}
.chip::before { content: "✕ "; color: var(--danger); font-weight: 800; }
.chips-ok { margin-top: 28px; }
.chip.ok { border-color: rgba(16, 201, 143, 0.45); background: rgba(16, 201, 143, 0.1); color: #a7f3d0; }
.chip.ok::before { content: "✓ "; color: var(--accent); }
.raus-note { color: #7f8ba3; font-size: 0.85rem; margin-top: 26px; max-width: 70ch; }

/* Feature-Grid */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ico { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.feature h3 { margin: 0 0 6px; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Nova-Weiche */
.nova {
  background: linear-gradient(120deg, rgba(16, 201, 143, 0.1), rgba(56, 189, 248, 0.1));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nova h2 { margin: 0 0 8px; font-size: 1.4rem; letter-spacing: -0.02em; }
.nova p { margin: 0; color: var(--muted); max-width: 56ch; }
.nova .btn-primary { white-space: nowrap; }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: #0d9d70; font-size: 1.3rem; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--ink); color: #8d99b2; padding: 48px 0; font-size: 0.85rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #c6cede; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; }
.disclaimer { max-width: 62ch; }

/* Rechtsseiten */
.legal { padding: 64px 0; max-width: 760px; margin: 0 auto; }
.legal h1 { letter-spacing: -0.02em; }
.legal h2 { margin-top: 40px; font-size: 1.2rem; }
.legal p, .legal li { color: #33415e; font-size: 0.97rem; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .preview { transform: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .nova { flex-direction: column; align-items: flex-start; }
  .nav a:not(.cta) { display: none; }
}
