:root {
  --green: #1F4E37; --green-light: #2E7D53; --bg: #F6F8F6; --card: #FFFFFF;
  --text: #21281F; --muted: #667066; --border: #E1E7E1; --accent: #E8A33D; --radius: 12px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
header.topnav { background: var(--green); color: #fff; padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; flex: none; }
header.topnav a { color: #fff; text-decoration: none; }
header.topnav .brand { font-weight: 700; font-size: 1.2rem; }
header.topnav nav a { margin-left: 18px; opacity: .9; font-size: .92rem; }
header.topnav nav a:hover { opacity: 1; text-decoration: underline; }
main { max-width: 1000px; margin: 0 auto; padding: 26px 20px 60px; width: 100%; flex: 1 0 auto; }
.hero { background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; border-radius: var(--radius); padding: 36px 32px; margin-bottom: 26px; }
.hero h1 { margin: 0 0 10px; font-size: 1.9rem; }
.hero p { margin: 0 0 16px; opacity: .92; max-width: 640px; }
.btn { display: inline-block; background: var(--accent); color: #21281F; padding: 9px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; font-size: .92rem; }
.btn.secondary { background: #fff; color: var(--green); border: 1px solid var(--border); }
.btn.outline { background: transparent; border: 1.5px solid #fff; color: #fff; }
.btn.danger { background: #C0392B; color: #fff; }
.btn.small { padding: 5px 12px; font-size: .82rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-top: 0; }
.tag { display: inline-block; background: #EAF3EC; color: var(--green); border-radius: 20px; padding: 3px 11px; font-size: .76rem; margin: 2px 4px 2px 0; }
.tag.warn { background: #FBEAEA; color: #8a2c2c; }
.section-title { margin: 30px 0 12px; color: var(--green); }
.progress-bar { background: #E7ECE7; border-radius: 20px; height: 9px; overflow: hidden; margin: 7px 0; }
.progress-bar > div { background: var(--green-light); height: 100%; }
form.stack { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
form.stack label { font-weight: 600; font-size: .87rem; display: block; margin-bottom: 3px; }
form.stack input, form.stack select, form.stack textarea { width: 100%; padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: .92rem; font-family: inherit; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }
table.beleg-tbl, table.data-tbl { width: 100%; border-collapse: collapse; }
table.beleg-tbl td { border-bottom: 1px solid var(--border); padding: 6px 4px; }
table.data-tbl th, table.data-tbl td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); font-size: .88rem; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.notice { background: #FFF6E7; border: 1px solid #F0D8A6; border-radius: 10px; padding: 12px 15px; font-size: .86rem; color: #6b4f16; }
.legal-note { background: #EEF2F6; border: 1px solid #D3DCE6; border-radius: 10px; padding: 11px 13px; font-size: .8rem; color: #3c4a5a; margin-top: 10px; }
pre.output { white-space: pre-wrap; background: #F2F5F2; border: 1px solid var(--border); border-radius: 10px; padding: 15px; font-family: inherit; font-size: .9rem; line-height: 1.5; }
.item-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding: 8px 0; font-size: .88rem; }
.item-row:last-child { border-bottom: none; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { background: none; border: none; padding: 9px 14px; cursor: pointer; font-size: .9rem; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.tabpanel { display: none; }
.tabpanel.active { display: block; }
.suggest-list { border: 1px solid var(--border); border-radius: 8px; margin-top: 4px; background: #fff; position: absolute; z-index: 5; max-width: 620px; width: 100%; }
.suggest-list div { padding: 7px 11px; cursor: pointer; font-size: .88rem; }
.suggest-list div:hover { background: #EAF3EC; }
.autocomplete-wrap { position: relative; }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); align-items: center; justify-content: center; z-index: 20; }
.modal-overlay.open { display: flex; }
.badge-role { font-size: .72rem; background: #EAF3EC; color: var(--green); padding: 2px 8px; border-radius: 10px; }
.topbar-user { font-size: .85rem; }
.empty { color: var(--muted); font-size: .88rem; }
@media print { header.topnav, .no-print { display: none !important; } main { max-width: 100%; padding: 0; } body { background: #fff; } }

/* ---------- Landingpage ---------- */
.lp-nav { position: sticky; top: 0; z-index: 30; }
.lp-hero {
  background: radial-gradient(1200px 500px at 100% -10%, rgba(232,163,61,.25), transparent),
              linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff; border-radius: var(--radius); padding: 56px 40px; margin-bottom: 10px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: center;
}
@media (max-width: 860px) { .lp-hero { grid-template-columns: 1fr; padding: 34px 22px; } }
.lp-hero .eyebrow { display:inline-block; background: rgba(255,255,255,.15); border-radius: 20px; padding: 4px 14px; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.lp-hero h1 { font-size: 2.3rem; line-height: 1.15; margin: 0 0 14px; }
.lp-hero p.lead { font-size: 1.02rem; opacity: .94; max-width: 520px; margin: 0 0 22px; }
.lp-hero .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.mockup-card { background: #fff; color: var(--text); border-radius: 14px; padding: 20px; box-shadow: 0 20px 45px rgba(0,0,0,.18); }
.mockup-card .mc-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 12px; }
.mockup-card .mc-head span:first-child { font-weight: 700; }
.mockup-item { border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.mockup-item .mi-title { font-weight: 600; font-size: .9rem; display:flex; justify-content:space-between; }
.mockup-pledge { font-size: .78rem; color: var(--green-light); margin-top: 6px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 8px; }
.trust-badge { display:flex; align-items:center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 30px; padding: 8px 16px; font-size: .84rem; color: var(--muted); }
.trust-badge b { color: var(--green); }

.section { margin: 56px 0; }
.section .kicker { color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.section h2 { color: var(--green); font-size: 1.55rem; margin: 0 0 8px; }
.section .sub { color: var(--muted); max-width: 640px; margin: 0 0 26px; }

.icon-circle { width: 42px; height: 42px; border-radius: 50%; background: #EAF3EC; display:flex; align-items:center; justify-content:center; font-size: 1.2rem; margin-bottom: 12px; }

.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .audience-split { grid-template-columns: 1fr; } }
.audience-card { border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); }
.audience-card.vereine { background: #F3F9F4; }
.audience-card.firmen { background: #FFF9EF; }
.audience-card h3 { color: var(--green); margin-top: 0; }
.audience-card ul { padding-left: 20px; margin: 14px 0 20px; }
.audience-card li { margin-bottom: 8px; font-size: .92rem; }

.example-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
@media (max-width: 800px) { .example-showcase { grid-template-columns: 1fr; } }

.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-q { display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight: 600; font-size: .95rem; }
.faq-q .chev { transition: transform .15s ease; color: var(--muted); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .2s ease; font-size: .9rem; color: var(--muted); }
.faq-item.open .faq-a { max-height: 240px; margin-top: 10px; }

.lp-footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 30px 20px 20px; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--muted); max-width: 1000px; margin-left: auto; margin-right: auto; }
.lp-footer .foot-brand { font-weight: 700; color: var(--green); }
.lp-footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
.lp-footer a:hover { color: var(--green); text-decoration: underline; }

.foto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 12px; }
.foto-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.foto-item img { width: 100%; height: 140px; object-fit: cover; display: block; }
.foto-item .foto-actions { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; }
.foto-item .foto-tag { position: absolute; top: 6px; left: 6px; }

.final-cta { text-align:center; background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; border-radius: var(--radius); padding: 44px 24px; margin: 56px 0 20px; }
.final-cta h2 { color: #fff; margin: 0 0 10px; }
.final-cta p { opacity: .9; margin: 0 0 20px; }
