/* Hausmeister Wolf – hell, grün/schwarz wie Visitenkarte */

:root {
    --green: #3d9b35;
    --green-dark: #2d7a27;
    --green-soft: #e8f5e6;
    --black: #1a1a1a;
    --text: #2a2a2a;
    --muted: #5c5c5c;
    --line: #d8ddd6;
    --surface: #ffffff;
    --page-bg: #f4f6f2;
    --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

body.site-public {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text);
    background: var(--page-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green-dark);
}

a:hover,
a:focus {
    color: var(--green);
}

.shell {
    width: min(1040px, calc(100% - 32px));
    margin-inline: auto;
}

.page-narrow {
    width: min(880px, calc(100% - 32px));
    margin-inline: auto;
    padding-block: 32px 56px;
}

/* Header */

.site-header {
    position: relative;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: min(42vw, 280px);
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, var(--green) 40%);
    pointer-events: none;
    opacity: 0.95;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--black);
}

.brand-logo {
    display: block;
    height: 52px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--green-dark);
    font-weight: 600;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.main-nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--black);
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--green-dark);
}

.page-main {
    padding-bottom: 0;
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    padding: 40px 0 32px;
}

.hero-kicker {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-dark);
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(1.45rem, 3.2vw, 2.15rem);
    line-height: 1.25;
    color: var(--black);
}

.hero-lead {
    font-size: 1.08rem;
    font-weight: 600;
}

.hero-copy p {
    margin-top: 0;
}

.hero-visual img {
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.trust-bar {
    margin-bottom: 8px;
    padding: 14px 18px;
    background: var(--black);
    color: #fff;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
}

.trust-bar p {
    margin: 0;
}

/* Sections */

.section-block {
    padding: 40px 0 48px;
}

.section-head {
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-head h2,
.page-head h1 {
    margin: 0 0 10px;
    color: var(--black);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.section-intro {
    margin: 0;
    max-width: 52ch;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px 20px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.service-grid li {
    position: relative;
    padding: 12px 14px 12px 36px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 600;
}

.service-grid li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: var(--green);
}

.cta-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px auto 48px;
    padding: 28px 24px;
    text-align: center;
    background: var(--green-soft);
    border: 2px solid var(--green);
    border-radius: 12px;
}

.cta-band h2 {
    margin: 0 0 8px;
    color: var(--black);
    text-align: center;
    width: 100%;
    max-width: 28rem;
}

.cta-band p {
    margin: 0 0 18px;
    text-align: center;
    max-width: 32rem;
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--green-dark);
    color: #fff;
}

/* Contact */

.page-head {
    margin-bottom: 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
    align-items: start;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.contact-details-title {
    margin-top: 0;
    font-size: 1.1rem;
}

.contact-form label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form-message {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.form-message--error {
    background: #fdecea;
    color: #8a1f17;
}

.form-message--ok {
    background: var(--green-soft);
    color: var(--green-dark);
}

/* Legal */

.legal-card h2 {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-page p {
    margin-top: 0;
}

/* Footer */

.site-footer {
    margin-top: 24px;
    background: var(--black);
    color: #e8e8e8;
    padding: 22px 0 28px;
}

.footer-inner {
    text-align: center;
}

.footer-claim {
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.06em;
}

.footer-copy {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #bdbdbd;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--green);
}

.footer-credit {
    margin: 16px 0 0;
    font-size: 0.8rem;
    color: #9a9a9a;
}

.footer-credit a {
    color: #c8c8c8;
    text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus {
    color: var(--green);
}

@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        max-width: 420px;
        margin-inline: auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .header-accent {
        width: 120px;
        opacity: 0.85;
    }
}
