/* =========================
   FARBEN & VARIABLEN
========================= */
:root {
    --primary: #1f3a4d;      /* Dunkelblau */
    --accent: #2f6b3c;       /* Grün */
    --highlight: #c9a24d;    /* Gold */
    --light: #f2efe9;
    --dark: #16232e;
}

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   HINTERGRUND (VOLLFLÄCHIG)
========================= */
html, body {
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--primary);

    background: url("background.jpg") center center / cover no-repeat fixed;
    position: relative;
}

/* Abdunklung für Lesbarkeit */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

/* =========================
   HEADER
========================= */
.header {
    background: linear-gradient(
        135deg,
        rgba(22,35,46,0.95),
        rgba(31,58,77,0.95)
    );
    color: white;
    padding: 70px 20px;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 70px;
    width: auto;
}

.header-text h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.header-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =========================
   NAVIGATION
========================= */
nav {
    background: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    padding-bottom: 4px;
}

nav a:hover,
nav a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* =========================
   SECTIONS
========================= */
section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--accent);
}

/* =========================
   CONTENT-BOXEN
========================= */
.box {
    background: rgba(255, 255, 255, 0.92);
    padding: 40px;
    border-radius: 14px;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border-left: 6px solid var(--accent);
}

.box h2 {
    text-align: left;
}

/* =========================
   DATENSCHUTZ / IMPRESSUM
========================= */
.legal-box {
    background: rgba(255, 255, 255, 0.96);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    max-width: 900px;
    margin: 60px auto;
    line-height: 1.7;
}

.legal-box h1,
.legal-box h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.legal-box p {
    margin-bottom: 15px;
}

/* =========================
   FORMULAR
========================= */
form {
    margin-top: 20px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 14px;
    background: var(--highlight);
    color: #16232e;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #b8923f;
}

/* =========================
   FOOTER
========================= */
footer {
    background: rgba(22,35,46,0.95);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-text h1 {
        font-size: 2.2rem;
    }
}    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

/* =========================
   HEADER
========================= */
.header {
    background: linear-gradient(
        135deg,
        rgba(22,35,46,0.95),
        rgba(31,58,77,0.95)
    );
    color: white;
    padding: 70px 20px;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 70px;
    width: auto;
}

.header-text h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.header-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =========================
   NAVIGATION
========================= */
nav {
    background: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    padding-bottom: 4px;
}

nav a:hover,
nav a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* =========================
   INHALT / SECTIONS
========================= */
section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--accent);
}

/* =========================
   CONTENT-BOXEN
========================= */
.box {
    background: rgba(255, 255, 255, 0.92);
    padding: 40px;
    border-radius: 14px;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border-left: 6px solid var(--accent);
}

.box h2 {
    text-align: left;
}

/* =========================
   FORMULAR
========================= */
form {
    margin-top: 20px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 14px;
    background: var(--highlight);
    color: #16232e;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #b8923f;
}

/* =========================
   FOOTER
========================= */
footer {
    background: rgba(22,35,46,0.95);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

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

footer a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-text h1 {
        font-size: 2.2rem;
    }
}
    width: auto;
    display: block;
}

.header-text h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.header-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =========================
   NAVIGATION
========================= */
nav {
    background: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    position: relative;
    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

nav a:hover {
    color: var(--accent);
}
nav a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

/* =========================
   SECTIONS
========================= */
section {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--accent);
}

/* =========================
   SERVICES
========================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

/* =========================
   CONTENT BOXEN
========================= */
.box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-left: 6px solid var(--accent);
}

/* =========================
   FORMULAR
========================= */
form {
    margin-top: 30px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 14px;
    background: var(--highlight);
    color: #16232e;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #b8923f;


/* =========================
   FOOTER
========================= */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

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

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {
    header h1 {
        font-size: 2.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }
}


/* === FIX: Navigation klickbar machen === */

nav {
    position: relative;
    z-index: 1000;
}

header {
    position: relative;
    z-index: 1;
}a