
:root {
  --bg: #F6F7EF;
  --ink: #14150F;
  --muted: #6B6A60;
  --line: #E7E6DB;
  --card: #FFFFFF;
  --lime: #DCF454;
  --lime-soft: #EEF8C9;
  --lime-dark: #90A62B;
  --dark: #14150F;
  --dark-2: #23241B;
  --green-bg: #E4F3C7;
  --green-text: #3F6D16;
  --red-text: #A32D2D;
  --shadow-sm: 0 1px 3px rgba(20, 21, 15, 0.06);
  --shadow-md: 0 16px 40px rgba(20, 21, 15, 0.10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(220, 244, 84, 0.35) 0%, rgba(220, 244, 84, 0) 62%),
    radial-gradient(700px 420px at 100% 12%, rgba(220, 244, 84, 0.2) 0%, rgba(220, 244, 84, 0) 60%),
    var(--bg);
}

h1, h2, h3, h4 {
  font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); letter-spacing: -0.01em;
  overflow-wrap: break-word; word-break: break-word; hyphens: auto;
}
h1 { font-size: 30px; }
h2 { font-size: 23px; }
h3 { font-size: 18px; }

@media (min-width: 640px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
}

.accent {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 14.5px; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius-full); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); text-decoration: none; }
.btn-lime { background: var(--lime); color: var(--dark); }
.btn-lime:hover { background: #cfe83e; text-decoration: none; }
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Badge pill ---------- */

.pill-badge {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-full); padding: 6px 14px 6px 10px; font-size: 12px; font-weight: 600;
  color: var(--ink); box-shadow: var(--shadow-sm);
}
.pill-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-dark); flex-shrink: 0; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 14px; z-index: 50; padding: 0 16px; }
.nav-pill {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); border: 1px solid var(--line);
  border-radius: var(--radius-full); padding: 8px 10px 8px 16px; box-shadow: var(--shadow-sm);
}
.logo-mark { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; color: var(--ink); }

.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 14px; }
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }

/* Auf Mobile passen Anmelden + Kostenlos testen + Hamburger nicht
   nebeneinander in die Pille (das Menü-Icon ragte über den Rand hinaus
   und wurde am Bildschirmrand abgeschnitten) - die Buttons stehen dort
   stattdessen im .mobile-nav-Drawer zur Verfügung, nur der Hamburger
   bleibt in der Pille sichtbar. */
.header-actions .btn { display: none; }

.menu-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: var(--radius-full); padding: 9px 11px; cursor: pointer; }
.mobile-nav {
  display: none; flex-direction: column; gap: 2px; margin: 8px 4px 0; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 10px 4px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: none; }

@media (min-width: 860px) {
  .main-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */

.hero { padding: 52px 0 8px; text-align: center; }
.hero .lead-badge { margin-bottom: 22px; }
.hero h1 { max-width: 760px; margin: 0 auto 18px; }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 auto 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.hero-ctas .btn svg { flex-shrink: 0; }

/* ---------- Dashboard mockup ---------- */

.mockup-wrap { max-width: 900px; margin: 0 auto; }
.mockup-frame {
  background: var(--dark); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-md);
}
.mockup-inner { background: #fff; border-radius: 15px; overflow: hidden; display: flex; min-height: 320px; }
.mockup-sidebar {
  width: 168px; flex-shrink: 0; background: var(--dark-2); color: #C9C8BC; padding: 18px 14px;
  display: none; flex-direction: column; gap: 3px;
}
.mockup-sidebar .brand { color: #fff; margin-bottom: 18px; font-size: 14px; }
.mockup-sidebar .logo-mark { width: 24px; height: 24px; font-size: 12px; }
.mockup-nav-item {
  font-size: 12.5px; padding: 8px 10px; border-radius: 8px; color: #B9B8AC;
}
.mockup-nav-item.active { background: rgba(220, 244, 84, 0.14); color: var(--lime); font-weight: 600; }
@media (min-width: 640px) { .mockup-sidebar { display: flex; } }

.mockup-main { flex: 1; padding: 18px 20px; min-width: 0; }
.mockup-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mockup-topbar .title { font-weight: 700; font-size: 14px; }
.mockup-topbar .sel { font-size: 11px; color: var(--muted); background: #F5F5EF; border: 1px solid var(--line); border-radius: var(--radius-full); padding: 4px 10px; }

.mockup-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mockup-stat { background: #FAFAF3; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mockup-stat .k { font-size: 10.5px; color: var(--muted); margin-bottom: 3px; }
.mockup-stat .v { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; }

.mockup-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mockup-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font-size: 12px; border-bottom: 1px solid var(--line); }
.mockup-row:last-child { border-bottom: none; }
.mockup-row .name { color: var(--ink); font-weight: 500; }
.mockup-row .meta { color: var(--muted); }
.chip { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-full); }
.chip.positive { background: var(--green-bg); color: var(--green-text); }

.mockup-caption { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 16px; }

/* ---------- Betriebskostenabrechnung-Mockup ---------- */

.letter-showcase { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .letter-showcase { grid-template-columns: 1fr 1fr; align-items: start; } }

.doc-mockup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-md); }
.doc-mockup-meta { font-size: 11px; color: var(--muted); text-align: right; margin-bottom: 14px; }
.doc-mockup-recipient { font-size: 12.5px; margin-bottom: 16px; }
.doc-mockup-name { font-weight: 700; margin-bottom: 2px; }
.doc-mockup-subject { font-weight: 700; font-size: 13.5px; margin-bottom: 10px; }
.doc-mockup-text { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.doc-mockup-result { background: #FAFAF3; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.doc-mockup-result-label { font-size: 11px; color: var(--muted); }
.doc-mockup-result-amount { font-family: 'Fraunces', serif; font-weight: 600; font-size: 17px; }
.doc-mockup-result-amount.debit { color: var(--red-text); }
.doc-mockup-result-amount.credit { color: var(--green-text); }

.doc-mockup-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.doc-mockup-table th, .doc-mockup-table td { padding: 6px 4px; text-align: left; border-bottom: 1px solid var(--line); }
.doc-mockup-table th { color: var(--muted); font-weight: 500; font-size: 10px; }
.doc-mockup-table td:nth-child(2) { color: var(--muted); }
.doc-mockup-table td:last-child, .doc-mockup-table th:last-child { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.doc-mockup-table tr.total td { font-weight: 700; border-top: 1px solid var(--ink); border-bottom: none; font-family: 'IBM Plex Sans', sans-serif; }
.doc-mockup-table tr.total td:last-child { font-variant-numeric: lining-nums tabular-nums; }

.doc-mockup-caption { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* ---------- Sections ---------- */

section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 38px; }
.section-head .pill-badge { margin-bottom: 16px; }
.section-head p { color: var(--muted); }

/* ---------- Capability cards (2-col, stat rows) ---------- */

.capability-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }

.capability-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; background: #FAFAF3; margin-bottom: 8px; }
.stat-line .name { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); flex-shrink: 0; }
.stat-line .name .ico { width: 26px; height: 26px; border-radius: 8px; background: var(--lime-soft); color: var(--lime-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-line .val { font-weight: 700; font-size: 13.5px; text-align: right; }

.capability-card h3 { margin: 16px 0 4px; }
.capability-card .desc { color: var(--muted); font-size: 14px; margin: 0; }
.learn-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 12px; }
.learn-more svg { transition: transform 0.15s ease; }
.learn-more:hover svg { transform: translate(2px, -2px); }

/* ---------- Feature tiles ---------- */

.tile-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.tile-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--lime-soft); color: var(--lime-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.tile h4 { font-size: 15px; margin-bottom: 5px; }
.tile p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Story ---------- */

.story .container { max-width: 700px; }
.story blockquote {
  margin: 0 0 20px; padding: 20px 24px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); font-size: 17px; color: var(--ink); font-family: 'Fraunces', serif; font-style: italic;
}
.story p { color: var(--muted); }
.story .signoff { font-size: 14px; color: var(--muted); margin-top: 18px; font-weight: 600; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(120deg, #E7F6BE 0%, #F6F7EF 65%);
  border-radius: 30px; padding: 60px 28px; text-align: center;
  border: 1px solid var(--line);
}
.cta-banner h2 { max-width: 560px; margin: 0 auto 12px; }
.cta-banner p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }
.cta-banner .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Pricing ---------- */

.pricing-card {
  max-width: 420px; margin: 0 auto; background: var(--dark); color: #fff; border-radius: var(--radius-lg);
  padding: 32px; text-align: center; box-shadow: var(--shadow-md); position: relative;
}
.pricing-card .pill-badge { background: var(--lime); border-color: var(--lime); color: var(--dark); }
.pricing-card .pill-badge .dot { background: var(--dark); }
.pricing-amount { font-family: 'Fraunces', serif; font-size: 46px; font-weight: 700; margin: 16px 0 2px; }
.pricing-amount span { font-size: 15px; font-weight: 500; color: #B9B8AC; }
.pricing-note-top { color: #ABAA9C; font-size: 12.5px; margin-bottom: 22px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.pricing-features li { display: flex; gap: 9px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid #2C2D22; color: #E6E5DA; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { flex-shrink: 0; color: var(--lime); margin-top: 2px; }
.paypal-explainer { font-size: 12px; color: #ABAA9C; margin-top: 12px; }
.pricing-guarantee {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--green-bg); color: var(--green-text); font-size: 13px; font-weight: 600;
  padding: 8px 12px; border-radius: var(--radius-md); margin-top: 12px;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: 'Fraunces', serif; font-size: 20px; color: var(--lime-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* ---------- Footer ---------- */

.site-footer { padding: 40px 0 26px; }
.footer-card {
  background: var(--dark); color: #C9C8BC; border-radius: var(--radius-lg); padding: 40px 32px 24px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-card .brand { color: #fff; margin-bottom: 10px; }
.footer-col h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #B0AFA1; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-lead { color: #ABAA9C; font-size: 13.5px; max-width: 300px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid #2C2D22; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; font-size: 12px; color: #8B8A7C;
}
.footer-bottom a { color: #8B8A7C; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Legal / prose pages ---------- */

.prose-page { padding: 40px 0 80px; }
.prose-page .container { max-width: 740px; }
.legal-notice { background: var(--lime-soft); color: var(--lime-dark); border-radius: var(--radius-md); padding: 14px 18px; font-size: 13.5px; margin-bottom: 32px; border: 1px solid var(--line); }
.prose-page h2 { margin-top: 34px; }
.prose-page ul { color: var(--muted); }
.prose-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }

/* ---------- Blog ---------- */

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 780px; margin: 0 auto; }
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; display: block; color: var(--ink); }
.blog-card:hover { border-color: var(--ink); }
.blog-card .blog-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.blog-card h2 { font-size: 19px; margin-bottom: 6px; }
.blog-card p { color: var(--muted); font-size: 14px; margin: 0; }

.blog-article .container { max-width: 700px; }
.blog-article .blog-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.blog-article h2 { margin-top: 32px; }
.blog-article p, .blog-article li { color: var(--ink); font-size: 15.5px; }
.blog-article .back-link { display: inline-block; margin-bottom: 24px; font-size: 14px; font-weight: 600; }

/* ---------- Confirmation page ---------- */

.confirm-page { padding: 90px 0; text-align: center; }
.confirm-page .container { max-width: 560px; }
.confirm-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--lime); color: var(--dark);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
