body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #B8EAD8;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Verhindere versehentliche Bearbeitung auf öffentlichen Seiten */
body:not([contenteditable="true"]) {
    -webkit-user-modify: read-only;
    -moz-user-modify: read-only;
    user-modify: read-only;
}

header {
    text-align: center;
    padding: 40px 20px 20px;
}

header img {
    max-width: 200px;
    height: auto;
}

header nav a {
    margin: 0 0.5em;
}

h1 {
    font-size: 2.5em;
    margin: 20px 0 10px;
}

p.subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
}

p.note {
    font-size: 0.95em;
    color: #555;
    margin: -15px 0 25px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.5em 1em;
    background: #fff;
    color: #007777;
}

.skip-link:focus {
    left: 0.5em;
    top: 0.5em;
}

a:focus-visible {
    outline: 2px solid #007777;
    outline-offset: 2px;
}

section {
    max-width: 800px;
    padding: 0 20px 40px;
    text-align: center;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    width: 250px;
}

section.projects p {
    margin: 0.5em 0 0;
    line-height: 1.5;
}

footer {
    padding: 20px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

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

section.legal {
    text-align: left;
}

section.legal h2 {
    margin-top: 1.5em;
    font-size: 1.25em;
}

section.legal p,
section.legal address {
    margin: 0.75em 0;
    line-height: 1.55;
    font-style: normal;
}

a {
    color: #007777;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section.contact {
    text-align: left;
    max-width: 520px;
}

section.contact > p {
    text-align: center;
    line-height: 1.55;
}

.contact-form {
    margin: 1.5em auto 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
    text-align: left;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.95em;
}

.contact-form .optional {
    font-weight: 400;
    color: #666;
}

.contact-form input,
.contact-form textarea {
    font: inherit;
    padding: 0.6em 0.75em;
    border: 1px solid #9bbfb4;
    border-radius: 6px;
    background: #fff;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #007777;
    outline-offset: 1px;
    border-color: #007777;
}

.contact-form textarea {
    resize: vertical;
    min-height: 8em;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.button-primary {
    display: inline-block;
    margin-top: 0.25em;
    padding: 0.65em 1.25em;
    border: none;
    border-radius: 6px;
    background: #007777;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

a.button-primary:hover {
    text-decoration: none;
    background: #006666;
}

button.button-primary:hover {
    background: #006666;
}

.button-primary:focus-visible {
    outline: 2px solid #004d4d;
    outline-offset: 2px;
}

.form-alert {
    margin: 1em 0 0;
    padding: 0.75em 1em;
    border-radius: 6px;
    line-height: 1.45;
    text-align: left;
}

.form-alert-success {
    background: #e6f7ef;
    border: 1px solid #7bc9a6;
    color: #1a5c40;
}

.form-alert-error {
    background: #fdeeee;
    border: 1px solid #e0a0a0;
    color: #7a2e2e;
}

.contact-alt {
    margin-top: 1.75em;
    font-size: 0.95em;
    color: #555;
    text-align: center;
}
