/* =========
   Basis
   ========= */
:root {
    --brand-red: #b30000;
    --brand-red-dark: #8a0000;
    --bg-light: #f5f5f5;
    --text-main: #222222;
    --text-muted: #666666;
    --card-bg: #ffffff;
    --border-soft: #dddddd;
    --radius: 8px;
    --shadow-soft: 0 2px 6px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
}

/* =========
   Header & Navigation
   ========= */
header {
    background: var(--brand-red);
    padding: 1.5rem 1rem;
    color: #ffffff;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

header img.logo {
    max-width: 220px;
    height: auto;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

nav a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1rem;
}

nav a:first-child {
    margin-left: 0;
}

nav a:hover {
    text-decoration: underline;
}

/* =========
   Layout
   ========= */
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

h1, h2 {
    margin-top: 0;
}

/* =========
   Kontakt
   ========= */
.contact-details p {
    margin: 0.3rem 0;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

input, textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button,
input[type="submit"] {
    background: var(--brand-red);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
}

button:hover,
input[type="submit"]:hover {
    background: var(--brand-red-dark);
}

/* =========
   Status-Meldungen
   ========= */
.alert {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #e6f6ea;
    border: 1px solid #8ac79b;
    color: #245b33;
}

.alert-error {
    background: #fdeaea;
    border: 1px solid #e08a8a;
    color: #7a1f1f;
}

/* =========
   Footer
   ========= */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========
   Responsive
   ========= */
@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 0.5rem;
    }

    nav a {
        margin-left: 0;
        margin-right: 1rem;
    }
}
