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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.1em;
    background: #303030;
    color: #f0f0f0;
    line-height: 1.6;
}

header {
    background: #252525;
    border-bottom: 2px solid #ffff88;
	position: sticky;
    top: 0;
    z-index: 1000; /* Erhöht, damit es immer über dem Inhalt liegt */
    width: 100%;
	}

.container {
	width: 90%;
    max-width: 1200px;
    margin-left: 5%;
	margin-top: 1.6em;
}

h1, h2, h3, h4, a {
	color: #ffff88;
}

a:hover, a:visited, a:active {
	color: #ffff88;
}

p {
	margin-bottom: 0.7em;
}

ul {
	padding-left: 1em;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
	font-size: 1.2em;
	font-weight: 600;
}

.logo {
    color: #ffff88;
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5em;
	}

nav li {
	margin-left: 2.6em;
	}


nav a {
    color: #c0c0c0;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover, a:visited {
    color: #ffff88;
}

/* Standard für mobile Ansicht (kleine Bildschirme) */
.responsive-img {
    width: 100%;
    max-width: 400px;
    height: auto; /* Behält das Seitenverhältnis bei */
    display: block;
    margin-bottom: 0.7em;
}

/* Anpassung für grössere Bildschirme (z. B. ab 768px Breite) */
@media (min-width: 768px) {
    .responsive-img {
    max-width: 800px;
	margin-bottom: 0.7em;
	//border-radius: 15px;
}
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 1.5em;
    margin: 2rem 0;
}

.card {
    background: #3a3a3a;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #555;
}

.card h3 {
    color: #ffff88;
    margin-bottom: 10px;
}

/* Die Bezeichnung / Das Recht */
.rechte-liste dt {
    font-weight: 700;
    color: #ffff88; /* Passend zu Ihrem gelben Akzent */
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.3rem;
}

/* Die Erklärung der User Rechte (Datenschutz)*/
.rechte-liste dd {
    margin-left: 0; /* Setzt den Standard-Browser-Einzug zurück */
    padding-left: 1em;
    border-left: 3px solid #ffff88; /* Eleganter vertikaler Strich links */
    //color: #f0f0f0; /* Textfarbe */
    margin-bottom: 1.5rem;
}
/* Kontaktformular */
        .contact-container {
            max-width: 90%;
			margin: auto;
            border: 2px solid #505050;
			border-radius: 15px;
			//background: #303030;
			//box-shadow: 0 0 10px 10px rgba(0,0,0,0.5);
			padding: 15px;
        }

@media (min-width: 768px) {
.contact-container {
			max-width: 420px;
            border: 2px solid #505050;
			border-radius: 25px;
			margin-left: 3em;
			padding: 25px;
        }
}


form {
    max-width: 600px;
    margin: 2rem auto;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #555;
    background: #404040;
	font-family: Arial, sans-serif;
	font-size: 1.2em;
    color: white;
    border-radius: 5px;
}

button {
width: 100%;
	background: #ffff88;
    color: #303030;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
	font-size: 1.2em;
}

button:hover {
    opacity: 0.9;
}

/*  Tabelle */
	th, td {
	padding: 20px 10px;
	}
	
	
footer {
    text-align: left;
    padding: 20px;
    border-top: 2px solid #ffff88;
    margin-top: 50px;
}

.success {
	width: 100%;
	background: green;
    color: white;
	font-size: 1.1em;
    text-align: left;
    margin-top: 20px;
	border: 2px solid white;
	padding: 10px 10px;
}

.error {
	width: 100%;
	background: red;
    color: white;
	font-size: 1.1em;
    text-align: left;
    margin-top: 20px;
	border: 2px solid white;
	padding: 10px 10px;
}

@media (max-width: 768px) {

    nav {
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
    }

    #nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        margin-top: 15px;
        background: #505050;
        border-top: 1px solid #555;
        padding: 10px 0;
    }

    #nav-menu.active {
        display: flex;
    }

    #nav-menu li {
        margin: 5px 0;
	}
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ffff88;
    border-radius: 5px;
    transition: 0.3s;
}

/* Desktop */
.hamburger {
    display: none;
}

#nav-menu {
    display: flex;
    gap: 20px;
}

/* Mobile */
@media screen and (max-width: 768px) {

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 42px;
        height: 22px;
        cursor: pointer;
        background: transparent;
        border: 0;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #f0f0f0;
        border-radius: 2px;
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

    #nav-menu.active {
        display: flex;
    }
}

/* Ferien Popup */
		#overlay {
            display: none;
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(155,155,155,0.5);
            z-index: 999;
        }
