/* Grundlayout */

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
	letter-spacing: 1px;
	color: #203533;
    opacity: 0.9;
}

    h1 a {
        color: #203533;
        text-decoration: none;
    }

        h1 a:hover {
            text-decoration: underline;
        }

h2 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.0;
    letter-spacing: 1px;
    color: #203533;
    opacity: 0.9;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #203533;
    opacity: 0.9;
    margin-bottom: 12px;
}

body {
    font-family: system-ui, sans-serif;
    color: #203533;
    line-height: 1.7;
    background-image: url("images/background.webp");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

    /* Dunkle Überlagerung über dem Hintergrund */

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(255,255,255,0.45);
        z-index: -1;
    }

/* Header */

header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

	.logo-text {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

    .logo img {
        height: 48px;
        width: auto;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    }

.logo h1 {
    margin: 0;
    line-height: 1;
    color: #203533;
    letter-spacing: 1px;
}

.logo h2 {
    margin: 2px 0 0 0;
    line-height: 1;
    color: #203533;
    font-size: 0.9rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: 0.3s;
}

    nav a:hover {
        color: #6a8b85;
    }

/* Hauptbereich */

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}

/* Zugangsbereich */

.links-section {
    margin-top: 20px;
}

.link-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.card {
    flex: 1;
    min-width: 280px;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

    .card h3 {
        margin-bottom: 12px;
        color: #203533;
    }

/* Inhalte */

.content-section {
    margin-top: 25px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

    .content-section p {
        margin-bottom: 20px;
    }

.faq-item details {
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 0;
}

.faq-item summary {
    cursor: pointer;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
}

    .faq-item summary::-webkit-details-marker {
        display: none;
    }

.faq-item summary::after {
    content: "▼";
    margin-left: auto; /* schiebt den Pfeil ganz nach rechts */
    padding-left: 2rem; /* Mindestabstand zum Text */
    transition: transform 0.2s;
}

.faq-item details[open] summary::after {
    transform: rotate(180deg);
}

.faq-item details > *:not(summary) {
    padding: 0 20px 20px 20px;
}

.video-item details {
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 0;
}

.video-item summary {
    cursor: pointer;
    padding: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
}

    .video-item summary::-webkit-details-marker {
        display: none;
    }

    .video-item summary::after {
        content: "▼";
        margin-left: auto; /* schiebt den Pfeil ganz nach rechts */
        padding-left: 2rem; /* Mindestabstand zum Text */
        transition: transform 0.2s;
    }

.video-item details[open] summary::after {
    transform: rotate(180deg);
}

.video-item details > *:not(summary) {
    padding: 0 20px 20px 20px;
}

.slvideo {
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 0 auto;
}

/* Responsive */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    nav ul {
        gap: 15px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    main {
        padding: 20px;
    }

    .content-section {
        padding: 25px;
    }
}

ul {
    padding-left: 1.5rem;
}

.notice {
    padding: 1.5rem;
    background-color: #f4f8f8;
    border-left: 4px solid #4e6666;
}

.footer-section {
    width: 100%;
    margin-top: 25px;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-sizing: border-box;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    color: #203533;
    font-family: system-ui, sans-serif;
}

    .footer-section a {
        color: #203533;
        text-decoration: none;
    }

        .footer-section a:hover {
            text-decoration: underline;
        }
