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

html, body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #CCCCCC;
    color: #000;
    display: flex;
    flex-direction: column;
}

/* =========================
   PAGE WRAPPER FÜR STICKY FOOTER
========================= */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================
   CONTENT-BEREICH
========================= */
.content-container {
    flex: 1;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* =========================
   HEADER / BANNER
========================= */
.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.banner {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   NAVIGATION
========================= */
.nav {
    width: 100%;
    background-color: #333;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between; /* gleichmäßig verteilt auf Desktop */
}

.nav ul li a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}

.nav ul li a:hover {
    background-color: #666;
    border-radius: 4px;
}

/* =========================
   HAMBURGER-MENÜ
========================= */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* =========================
   HEADLINE & CONTENT
========================= */
.headline h1 {
    font-size: clamp(22px, 5vw, 36px);
    font-weight: bold;
    margin: 15px 0;
}

.content p {
    margin-bottom: 16px;
}

/* LINKS IM CONTENT */
.content a {
    color: #000;           /* schwarz */
    text-decoration: underline; /* Unterstreichung */
}

.content a:hover {
    text-decoration: underline; /* optional */
}

/* AUFZÄHLUNGEN / LISTEN */
.content ul,
.content ol {
    padding-left: 40px;    /* Einrückung */
    margin-bottom: 16px;   /* Abstand nach unten */
}

.content ul li,
.content ol li {
    margin-bottom: 8px;
}

.content img.profile {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #DDDDDD;
    padding: 16px 0;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-left, .footer-right {
    text-align: center;
    margin: 5px 0;
}

.footer-right a {
    text-decoration: none;
    color: #000;
    margin: 0 5px;
}

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

/* =========================
   RESPONSIVE / MOBILE
========================= */
@media (max-width: 768px) {
    /* Navigation aufklappbar */
    .nav ul {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .nav.open ul {
        max-height: 500px; /* genug Platz für alle Menüpunkte */
    }

    .nav ul li a {
        text-align: left;
        padding: 12px 16px;
        border-bottom: 1px solid #555;
        border-radius: 0;
    }

    .hamburger {
        display: block;
    }
}

/* =========================
   KONTAKTFORMULAR BUTTON
========================= */
.contact-btn {
    display: inline-block;
    padding: 12px 24px;       /* Innenabstand */
    background-color: #333;    /* dunkelgrau wie Navigation */
    color: #fff;               /* weiße Schrift */
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;        /* abgerundete Ecken */
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.contact-btn:hover {
    background-color: #666;    /* helleres Grau beim Hover */
    transform: translateY(-2px); /* kleiner Hover-Effekt */
}

.contact-btn:active {
    transform: translateY(0);  /* Button wieder zurück beim Klicken */
}

