/* --- paddy3 Basis-Einstellungen & Reset --- */
/* Helle Version - light design */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #303030; /* Haupttext in Dunkel */
    background-color: #c0c0c0; /* hellgrauer Hintergrund */
    //padding: 15px 15px;
}

/* Grundstyling für die Titlebar */

.titlebar {
	display: flex;
	justify-content: center;
	//margin: 0 auto; 
	background-color: #ffff88;
}


/* Grundstyling für die Navbar */
.navbar {
  display: flex;
  justify-content: center;
  background-color: olive;
  color: #ffff88;
}
.nav-links {
  display: flex;
  list-style: none;
  }

.nav-links li a {
  color: #ffff88;
  text-decoration: none;
  padding: 0 15px;
  font-size: 1.4em;
  font-weight: 700;
}
/* Checkbox und Hamburger standardmässig auf dem Desktop ausblenden */
.menu-toggle, .hamburger {
  display: none;
}

/* --- Responsive Ansicht (Mobilgeräte) --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    height:22px;
    gap: 4px;
    cursor: pointer;
	padding: 3px 3px;
	//border: 1.5px solid #c0c0c0;
	border-radius: 3px;
	margin-right: 12px;
 margin-top: 9px;
  }
  /* Die drei Striche des Hamburgers stylen */
  .hamburger span {
    width: 42px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
  }
  /* Navigationslinks mobil untereinander anzeigen und verstecken */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 90px;
    left: 0;
    background-color: olive;
    padding: 20px 0;
  }
  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }

  /* DER TRICK: Wenn die Checkbox aktiv ist, zeige das Menü an */
  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }


/* 1. Oberer Strich: Dreht sich um 45 Grad nach unten */

.menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: rotate(35deg) translate(5px, 5px); } 

/* 2. Mittlerer Strich: Wird unsichtbar ausgeblendet */ .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; } 

/* 3. Unterer Strich: Dreht sich um 45 Grad nach oben */ .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: rotate(-35deg) translate(5px, -5px); }


  .navbar {
  display: flex;
  justify-content: flex-end;
  background-color: olive;
  color: #ffff88;
}
  
}

/* verschwommens responisves Menu */
/* 4. STRIKTES MOBILE RESPONSIVE DESIGN (Smartphone & Tablet) */
@media (max-width: 768px) {
            
/* 1. Halbtransparente Hintergrundfarbe (ersetzt das klassische 'opacity') */
.nav-links {
	background-color: rgba(55, 55, 55, 0.5); 
 
  
  /* 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;
  }
}



header {

    justify-content: space-between;
    //align-items: center;
	margin: 0 auto;
	background: olive;
    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%;
}



/* Standard für mobile Ansicht (kleine Bildschirme) */
.logo-img {
    max-width: 100%;
	height: 2.4em;
	}

/* Anpassung für grössere Bildschirme (z. B. ab 768px Breite) */
@media (min-width: 768px) {
    .logo-img {
    width: 800px;
	height: auto;
	}
}

/* --- Layout-Container --- */
main {
    width: 96%;
    max-width: 1200px;
    margin: 1rem auto;
    background: #f0f0f0;
	padding: 15px 15px;
	border-radius: 15px;
}

p {
    color: #303030; /* Leicht abgetöntes Weiss für ermüdungsfreies Lesen */
    margin-bottom: 1.25rem;
}

ul li {
    margin-left: 1em;
}


main h1, h2, h3, a {
color: olive;
}

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

/* Kontaktformular */
        .contact-container {
            //max-width: 360px;
            //border: 2px solid #505050;
			border-radius: 15px;
			background: #c7c7c7;
			//box-shadow: 0 0 10px 10px rgba(0,0,0,0.5);
			padding: 15px;
        }

@media (min-width: 768px) {
.contact-container {
        max-width: 500px;
		//border: 2px solid #505050;
		border-radius: 20px;
		background: #c7c7c7;
		//box-shadow: 0 0 10px 10px rgba(0,0,0,0.5);
		padding: 25px;
        }
}

#kontakt-h2 {
		padding-left: 1em;
		}

@media (min-width: 768px) {
		#kontakt-h2 {
		padding-left: 7em;
		}
}



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

@media (min-width: 768px) {
		.grid-kontakt {
		gap: 5em;
		padding-left: 6em;
		}
		}

 .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            color: #303030;
            font-size: 1.1em;
			font-weight: 600;
        }
        input[type="text"],
        input[type="email"],
        input[type="tel"],
		select,
        textarea {
            width: 100%;
            padding: 12px 15px;
            background-color: #f0f0f0;
            border: 2px solid #555555;
            border-radius: 4px;
            color: #303030;
            font-size: 1.2em;
            font-family: inherit;
            transition: border-color 0.3s ease;
        }
        input:focus, textarea:focus {
            outline: none;
            border-color: olive;
            box-shadow: 0 0 8px rgba(255, 255, 136, 0.4);
        }
        textarea {
            resize: vertical;
            min-height: 120px;
        }
        button[type="submit"] {
            width: 100%;
            padding: 14px;
            background-color: olive;
            color: #f0f0f0;
            border: none;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s ease;
            //text-transform: uppercase;
        }
        button[type="submit"]:hover {
            background-color: #707070;
        }
        .alert {
            padding: 10px 10px;
            //border-radius: 4px;
            margin-bottom: 20px;
            font-size: 1.2em;
			color: white;
            text-align: left;
            border: 2px solid white;
        }
        .alert-error { background-color: red; }
        .alert-success { background-color: green; }




/* 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: #f0f0f0;
	color: #303030;
    padding: 15px;
    border-radius: 10px;
    //box-shadow: 0 0 10px 10px rgba(0,0,0,0.5);
    //border: 2px solid olive;
}

/* Die Bezeichnung / Das Recht */
.rechte-liste dt {
    font-weight: 700;
    color: olive; /* 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 olive; /* Eleganter vertikaler Strich links */
    color: #303030; /* Textfarbe */
    margin-bottom: 1.5rem;
}

    /*  Tabelle */
	th, td {
	padding: 20px 10px;
	}


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


.content a:link  {
    color: olive;
}

.footer a:link  {
    color: olive;
}

a:visited {
    color: olive;
}

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