:root {
    --color-bg: #f4f6f8;
    --color-bg-alt: #ffffff;
    --color-surface: #ffffff;
    --color-border: #dde3e8;
    --color-text: #16212e;
    --color-text-muted: #5c6b7a;
    --color-accent: #2f5fd6;
    --color-accent-dim: #2249ab;
    --color-btn-text: #ffffff;
    --radius: 8px;
    --max-width: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

header.site-header {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

.logo-text {
    color: var(--color-text);
}

.logo-accent {
    color: var(--color-accent);
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.header-social a {
    display: inline-flex;
    color: var(--color-text-muted);
}

.header-social a:hover {
    color: var(--color-accent);
}

.hero-banner {
    max-width: 100%;
    height: auto;
    width: 480px;
    margin-bottom: 1.5rem;
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

nav.main-nav a {
    color: var(--color-text-muted);
    font-weight: 500;
}

nav.main-nav a:hover,
nav.main-nav a.active {
    color: var(--color-accent);
    text-decoration: none;
}

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

.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.hero p.tagline {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-btn-text);
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--color-accent-dim);
    text-decoration: none;
}

.btn.secondary {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

section {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.card h3 {
    margin-top: 0;
    color: var(--color-accent);
    font-size: 1.05rem;
}

.card p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.card.placeholder {
    border-style: dashed;
    opacity: 0.75;
}

.contact-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
}

form.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 560px;
}

form.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

form.contact-form input,
form.contact-form textarea {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 1rem;
}

form.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Honeypot-Feld: für echte Nutzer unsichtbar, Bots füllen es trotzdem aus */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-status {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    display: none;
}

.form-status.ok {
    display: block;
    background: rgba(47, 95, 214, 0.12);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.form-status.error {
    display: block;
    background: rgba(220, 61, 61, 0.12);
    border: 1px solid #dc3d3d;
    color: #ff8080;
}

footer.site-footer {
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

footer.site-footer a {
    color: var(--color-text-muted);
}

footer.site-footer .legal-links {
    margin-top: 0.5rem;
}

footer.site-footer .legal-links a {
    margin: 0 0.5rem;
}

footer.site-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

footer.site-footer .social-links a {
    display: inline-flex;
    color: var(--color-text-muted);
}

footer.site-footer .social-links a:hover {
    color: var(--color-accent);
}

@media (max-width: 600px) {
    .nav-wrap {
        flex-direction: column;
        gap: 0.75rem;
    }
    nav.main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 1.9rem;
    }
}
