/* ==========================================================
   GRUNDSTIL
   ========================================================== */

:root {
    --cyan: #009EDF;
    --cyan-glass: rgba(0, 158, 223, 0.85);
    --text: #222;
    --bg: #f7f7f7;
    --yellow: #FFE066;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
}

a {
    color: var(--text);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.small {
    font-size: 0.9rem;
}

/* ==========================================================
   HEADER + NAVIGATION
   ========================================================== */

header {
    background: var(--cyan-glass);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    position: sticky;
    top: 0;
    z-index: 200;
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Titel links */
.site-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
    margin-right: auto;
}

/* Logo rechts */
.site-logo img {
    height: 100px;
    width: auto;
    display: block;
}

/* ==========================================================
   HAMBURGER MENÜ (Desktop + Mobile)
   ========================================================== */

.nav-toggle {
    display: none; /* Checkbox unsichtbar */
}

/* Hamburger Icon */
.nav-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 300;
}

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 2px;
        position: relative;
        transition: 0.3s ease;
    }

        .nav-toggle-label span::before,
        .nav-toggle-label span::after {
            content: "";
            position: absolute;
            left: 0;
        }

        .nav-toggle-label span::before {
            top: -8px;
        }

        .nav-toggle-label span::after {
            top: 8px;
        }

/* Hamburger → X */
.nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
}

    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked + .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

/* ==========================================================
   NAVIGATION AUSKLAPPEN
   ========================================================== */

/* Standard: Menü versteckt */
nav {
    display: none;
    flex-direction: column;
    background: var(--cyan-glass);
    backdrop-filter: blur(5px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    padding: 1rem 0;
    border-bottom-right-radius: 10px;
    border-right: 1px solid rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

/* Menü anzeigen, wenn Hamburger aktiv */
.nav-toggle:checked ~ nav {
    display: flex;
}

/* Menülinks */
nav a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    text-align: left;
    border-radius: 0;
    font-weight: 600;
    background: rgba(255,255,255,0.85);
    color: #003B55;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(3px);
    transition: 0.25s ease;
}

    nav a:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    }

/* ==========================================================
   MOBILE NAVIGATION
   ========================================================== */

@media (max-width: 700px) {

    .nav-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-logo {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .site-title {
        order: 2;
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    nav {
        position: static;
        width: 100%;
        border-radius: 0;
    }

        nav a {
            text-align: center;
            font-size: 1.1rem;
        }
}

/* ==========================================================
   INHALT + SECTIONS
   ========================================================== */

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

section {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    scroll-margin-top: 5rem;
}

.section-blue {
    background: var(--cyan);
    color: white;
}

    .section-blue h1 {
        color: var(--yellow);
    }

/* ==========================================================
   TYPOGRAFIE
   ========================================================== */

h1, h2, h3 {
    margin-top: 0;
}

h1 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.text-yellow {
    color: var(--yellow);
    font-style: italic;
    font-weight: 600;
}

/* ==========================================================
   SPENDENKASTEN
   ========================================================== */

.donation-box {
    border-left: 4px solid var(--cyan);
    padding-left: 1rem;
    margin-top: 0.75rem;
}

/* ==========================================================
   BILDERPLATZHALTER
   ========================================================== */

.image-placeholder {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px dashed #ccc;
    background: #fcfcfc;
}

    .image-placeholder img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }



/* ==========================================================
   FOOTER
   ========================================================== */

footer {
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    padding: 1rem;
    background: #e0ffff;
    border-top: 1px solid #cccccc;
}
/* Kontaktkarten endgültig untereinander erzwingen */
.contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 6px;
    background: #f8f8f8;
    box-sizing: border-box;
}

/* Foto */
.contact-photo {
    flex: 0 0 auto;
    width: 80px;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
    background: #e0e0e0;
}

    .contact-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Text */
.contact-info {
    flex: 1 1 auto;
    min-width: 0;
}

.contact-name {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-role {
    margin-bottom: 0.4rem;
}

/* Handy: Bild oben, Text darunter */
@media (max-width: 600px) {
    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-photo {
        width: 72px;
        height: 90px;
        margin-bottom: 0.5rem;
    }
}
