/* Vollständig lokales CSS – keine Google Fonts, kein CDN. Nutzt System-Fontstack (DSGVO-konform, kein externer Request). */

:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-muted: #555555;
    --color-accent: #1f4e5f;
    --color-accent-light: #e8f0f2;
    --color-border: #e2e2e2;
    --max-width: 1100px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.logo { display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; display: block; }
.main-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; flex-wrap: wrap; }

/* Hero */
.hero { background: var(--color-accent-light); padding: 4rem 0; }
.hero h1 { font-size: 2rem; max-width: 40rem; margin: 0 0 1rem; }
.hero p.sub { max-width: 38rem; color: var(--color-muted); font-size: 1.1rem; }
.btn {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn:hover { background: #163a47; text-decoration: none; }

/* Sections */
section { padding: 3.5rem 0; border-bottom: 1px solid var(--color-border); }
section h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.card { border: 1px solid var(--color-border); border-radius: 6px; padding: 1.5rem; }
.card h3 { margin-top: 0; }

ul.feature-list { padding-left: 1.2rem; }
ul.feature-list li { margin-bottom: 0.4rem; }

/* Contact form */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group textarea { min-height: 140px; }

/* Honeypot – für Menschen unsichtbar, für Screenreader ignoriert, aber im DOM vorhanden */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0;
    width: 0;
    overflow: hidden;
}

.alert { padding: 1rem; border-radius: 4px; margin-bottom: 1.5rem; }
.alert-success { background: #e6f4ea; color: #1e4620; border: 1px solid #b7dfc0; }
.alert-error { background: #fdecea; color: #611a15; border: 1px solid #f5c6c2; }

/* Footer */
.site-footer { padding: 2.5rem 0; color: var(--color-muted); font-size: 0.9rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
.footer-mark { border-radius: 50%; flex-shrink: 0; }
.site-footer ul { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 0.8rem 0; }
.footer-note { font-size: 0.8rem; }

@media (max-width: 640px) {
    .hero h1 { font-size: 1.5rem; }
}
