/* 1. GLOBALE RESETS & FIX FÜR DAS RECHTS ABSCHNEIDEN */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
}

}
html {
  //scroll-behavior: smooth;

}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
	font-size: 1.2em;
    color: white;
    background-color: #303030;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	text-align: left;
}

/* 2. HEADER & LAYOUT */
.header {
    background-color: #303030;
    display: flex;
    justify-content: space-between;
    align-items: center;
margin-top: 15px;
height: 3em;
    padding: 0.3rem 5%;
    box-shadow: 0 10px 5px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000; /* Erhöht, damit es immer über dem Inhalt liegt */
    width: 100%;
}

.logo {
    font-size: 1.4em;
text-transform: uppercase;
    color: #ffff88;
}

/* Desktop Navigation */
.nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav a {
    display: block;
    padding: 10px 10px;
    color: #ffff88;
    text-decoration: none;
text-transform: uppercase;
    font-size: 1em;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: white;
}

/* Burger-Menü-Button (Standardmässig unsichtbar) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 30px;
    background: transparent;
    border: 3px solid #303030;
	//border-radius: 3px;
	padding: 3px 3px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    height: 3px;
    width: 100%;
    background: #c0c0c0;
    //border-radius: 10px;
    transition: all 0.3s ease;
}

/* 3. HAUPTINHALT & SEKTIONEN */
.content {
    flex: 1;
    padding: 2rem 5%;
	max-width: 1400px;
    margin: 0 auto;
    width: 100%;
	background: #303030;
    overflow-x: hidden; /* Verhindert das horizontale Scrollen/Abschneiden */
	}


.page-section {
    display: none;
    width: 100%;
    //scroll-padding-top: 3em;
	}

.page-section.active {
    display: block;
    animation: fadeIn 0.4s ease;
	text-align: left;
}
 
h2, p {
margin-bottom: 0.7em;
}

li {
margin-left: 1em;
}

ul {
margin-bottom: 0.7em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Footer Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
	margin: 0 auto;
}

.card {
    background: #303030;
	color: white;
    padding: 20px;
    border-radius: 8px;
    //box-shadow: 0 0 10px 10px rgba(0,0,0,0.5);
    border: 2px solid #505050;
}

/* Kontaktformular */
.contact-container {
 border: 2px solid #505050;
	border-radius: 15px;
	padding: 15px;
        }

/* Responsive Anpassungen  */
@media (min-width: 768px) {
.contact-container {
           padding: 25px;
           border-radius: 25px;
           }
           }

.grid-kontakt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    }

@media (min-width: 768px) {
    .grid-kontakt{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    }
    }



.form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            color: #cccccc;
            font-weight: 500;
        }
        input[type="text"],
        input[type="email"],
        input[type="tel"],
		select,
        textarea {
            width: 100%;
            padding: 12px 15px;
            background-color: #2b2b2b;
            border: 2px solid #555555;
            border-radius: 4px;
            color: #ffffff;
            font-size: 1.2rem;
            font-family: inherit;
            transition: border-color 0.3s ease;
        }
        input:focus, textarea:focus {
            outline: none;
            border-color: #ffff88;
            box-shadow: 0 0 8px rgba(255, 255, 136, 0.4);
        }
        textarea {
            resize: vertical;
            min-height: 120px;
        }
        #btn {
            width: 100%;
            padding: 14px;
            background-color: #ffff88;
            color: #303030;
            border: none;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s ease;
            //text-transform: uppercase;
        }
        #btn:hover {
            background-color: #c0c0c0;
        }
		
		#btn2 {
            display: block;
			padding: 14px;
			background-color: #ffff88;
            color: #303030;
            border: none;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: bold;
			text-decoration: none;
			text-align: center;
            cursor: pointer;
            transition: background-color 0.2s ease;
            //text-transform: uppercase;
        }
        #btn2:hover {
            background-color: #c0c0c0;
        }
		
		
        .success {
	          		padding: 10px 10px;
            //border-radius: 4px;
            margin-bottom: 2em;
            //font-weight: bold;
            text-align: left;
            border: 2px solid #ffffff;
			background-color: green; 
        }
		
		.error {
            padding: 10px 10px;
            //border-radius: 4px;
            margin-bottom: 1em;
            //font-weight: bold;
            text-align: left;
            border: 2px solid #ffffff;
			background-color: red; 
        }
		
		
 /*  Tabelle */
	th, td {
	padding: 20px 10px;
	}

.kontakt-trenner {
	border-left: 0px solid #505050;
}


@media (min-width: 768px) {
.kontakt-trenner {
	border-left: 0px solid #505050;
	padding-left: 2em;
}}




/* Footer */
.footer {
    background-color: #303030;
    color: #fff;
    padding: 1.5rem;
    //margin-top: 2rem;
    width: 100%;
}

/* 4. STRIKTES MOBILE RESPONSIVE DESIGN (Smartphone & Tablet) */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex; /* Erzwingt die Anzeige des Burger-Icons auf Mobilgeräten */
    }

    .nav {
        display: none; /* Versteckt die Standard-Leiste */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #303030;
		box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
        
/* 1. Halbtransparente Hintergrundfarbe (ersetzt das klassische 'opacity') */
  background-color: rgba(55, 55, 55, 0.8); 
 
  
  /* 2. Der entscheidende Befehl für das Verschwimmen der Konturen darunter */
  backdrop-filter: blur(10px);
  
  /* Optional: Ein feiner Rahmen verstärkt den Glaseffekt */
  border: 4px solid rgba(155, 155, 155, 0.5);
  border-radius: 8px;
    }

    /* Diese Klasse wird per JavaScript injiziert */
    .nav.open {
        display: block !important; 
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;

    }

    .nav a {
        padding: 1rem 5%;
font-size: 1.2em;
        //border-bottom: 1px solid #eee;
        width: 100%;

    }

    /* Burger Animation */
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(39deg);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-41deg);
    }
}

.content a:link  {
    color: #ffff88;
}

.logo a:link  {
    color: #ffff88;
text-decoration: none;
}

.footer a:link  {
    color: #ffff88;
}

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;
    }
}

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

/* HOME Anpassung für grössere Bildschirme (z. B. ab 768px Breite) */
@media (min-width: 768px) {
    .resp-img-home {
        max-width: 450px;
margin-bottom: 0.7em;
    }
}




/* 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;
        }
		
		/* Container für die Liste */
//.rechte-liste {
    max-width: 800px;
    margin: 2rem 0;
    font-family: inherit;
    line-height: 1.6;
}

/* 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: #ffffff; /* Textfarbe */
    margin-bottom: 1.5rem;
}

/* Optional: Animation oder Styling für die Links innerhalb der Liste */
.rechte-liste a {
    color: #ffff88;
    text-decoration: underline;
}

.rechte-liste a:hover {
    text-decoration: none;
}


	
