:root {
    --brand: #244e5b;
    --brand-2: #3aa84f;
    --text: #0e1a1f;
    --muted: #6b7b85;
    --bg: #ffffff;
    --card: #eef6f8;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
}


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

a:hover {
    text-decoration: underline
}

.wrap {
    min-height: 100%;
    display: flex;
    flex-direction: column
}

header {
    padding: 28px 20px
}

.container {
    width: min(1100px, 92%);
    margin-inline: auto
}

.brand {
    display: flex;
    gap: 18px;
    align-items: center
}

.brand img {
    height: 62px;
    width: auto;
    object-fit: contain
}

.brand h1 {
    font-size: 1.4rem;
    line-height: 1.1;
    margin: 0;
    font-weight: 700;
    letter-spacing: .2px
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 500
}

.hero {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    padding: 36px 0 18px
}

.card {
    background: var(--card);
    border: 2px solid var(--brand-2);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(21, 46, 54, .06);
    padding: 26px;
    backdrop-filter: none;
}

.hero h2 {
    font-size: 2.2rem;
    margin: .2rem 0 0
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    color: #0f2b17;
    background: #eaf6ee;
    border: 1px solid #d5edd9;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-2)
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 8px
}

.chip {
    padding: 8px 12px;
    background: #f7fafb;
    border: 1px solid #e1edf0;
    border-radius: 999px;
    font-weight: 600;
    color: #2b4b56;
}

.cta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px
}

.btn {
    appearance: none;
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer
}

.btn-primary {
    background: var(--brand);
    color: #fff
}

.btn-primary:hover {
    filter: brightness(1.05)
}

.btn-ghost {
    background: #e8f3ee;
    color: #114020
}

form {
    display: grid;
    gap: 12px
}

label {
    font-weight: 600;
    font-size: .96rem
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #dbe6ea;
    background: #fff;
}

textarea {
    min-height: 120px
}

.row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr
}

.help {
    color: var(--muted);
    font-size: .9rem
}

.legal {
    font-size: .9rem;
    color: var(--muted)
}

.aside {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.aside .contact {
    display: grid;
    gap: 8px
}

.contact a {
    font-weight: 700
}

.notice {
    margin-top: 10px;
    font-size: .92rem;
    color: var(--muted)
}

footer {
    margin-top: auto;
    padding: 30px 20px
}

.foot {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e1edf0;
    padding-top: 18px;
    color: var(--muted)
}

.foot nav {
    display: flex;
    gap: 16px
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .row {
        grid-template-columns: 1fr
    }

    .brand img {
        height: 52px
    }
}

/* Modals */
dialog {
    border: 1px solid #dbe6ea;
    border-radius: 16px;
    padding: 0;
    max-width: min(900px, 92vw)
}

dialog::backdrop {
    background: rgba(15, 27, 31, .55)
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #e7eff3;
    background: #fbfeff;
    border-radius: 16px 16px 0 0
}

.modal-body {
    padding: 18px
}

.close {
    border: none;
    background: #f1f5f7;
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer
}

.success {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #e7f8ea;
    border: 1px solid #d2f1d6;
    color: #10431f;
    font-weight: 600
}

.error {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fdecea;
    border: 1px solid #f5c6c2;
    color: #7a1510;
    font-weight: 600
}

/* Datenschutz consent */

.consent-field {
    width: 100%;
}

.consent-field .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .9rem;
    color: var(--muted);
}

.consent-field input[type="checkbox"] {
    width: auto;
    margin: 3px 0 0 0;
}

.consent-field .consent-label>span {
    flex: 1;
}