
/* -- Start css alles -- */
/* CSS Document */
:root{
	--background-color: #f0f5ea;		/*dark-green #1e3500 menu*/
	--menu-color: #6f9f33;		/*dark-green #1e3500 menu*/
	--background-content1: #fcfcfc;		/*light-gray1*/
	--background-content2: #f2f3f5;		/*light-gray2*/
	--accent-color:#6f9f33;				/*green #6f9f33 menu hover*/
	--button-background-color:#96ac1a;	/*light-green*/
    --darker-background-color: #243848;	/*dark-blue #243848 menu open and Footer*/
	--white-background-color: #ffffff;	/*white*/
    --footer-color: #1e3500;		/*dark-green #1e3500 menu*/
	
	--border-size-helper: 0px;		/*border-size-helper*/

	/*--lighter-background-color:#e0d0b8;*/	/*light-brown old unused*/
    /*--text-color: #ffffff;*/
	/*--button-background-color:#6f9f33;*/
    /*--accent-color: #AB781A;*/		/*braun #AB781A original*/

    --navbar-height: 50px;
	overflow-x: hidden;
}



*{
    margin: 0;
    padding: 0;
    /*font-size: 17px;*/
	/*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    color: var(--text-color);
}


h1 {
  font-size: 40px;	/*30-34*/
}

h2 {
  font-size: 32px;	/*24-28*/
}


h3 {
  font-size: 22px; /*20-24*/
}


hr {
	width: 100%; height:5px; border:0; background-color: var(--accent-color); margin-bottom:50px;
}


p {
  font-size: 14px;
}


html{
    height: 100%;
}

body{
    min-height: 100%;
	hyphens: auto;
	font-family: "roboto", sans-serif;
	line-height: 1.5;
	background-color: var(--background-color);
    margin: auto; 
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
	
}
/* -- Ende css alles --*/

/* -- Start Arrows -- */
.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 4px;
  margin: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
/* -- Ende Arrows -- */

/* -- Start Topban -- */
.topban {
	height:300px;
	width:100%;
	border: var(--border-size-helper) solid orange;
	background-color:#1e3500;
	background-position: center;
	display: flex; justify-content: center; align-items: center;
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
    .toggle_button{
        display: flex;
    }


	.topban {
	display: none;
	}
}
/* -- Ende Topban -- */

/* -- Start Nav -- */
nav{
    height: var(--navbar-height);
    background-color: var(--menu-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
	width:1200px;
	/*padding-left:10px;*/
	/*padding-right:10px;*/
}

nav .logo{
    margin-left: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-variant: small-caps;
    text-decoration: none;
}

nav ul{
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

nav li{
    height: 100%;
    width: 150px;
    text-align: center;
    position: relative;

}

nav li:hover{
    background: var(--accent-color);
}

nav ul a{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.dropdown{
    height: min-content;
    width: 275px;
    background: var(--darker-background-color); /* Farbe Dropdown */
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: var(--navbar-height);   
}

/*Nav Untermenü*/
.dropdown li{
    height: 50px;
    width: 100%;
}

.dropdown li a{
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
}

nav li:hover .dropdown{
    display: flex;
}

nav input[type="checkbox"]{
    display: none;
}

.expandable_li{
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle_button{
    width: 30px;
    height: 23px;
    position: absolute;
    top: 13px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar{
    height: 3px;
    width: 100%;
    /*background: var(--text-color);*/
	background:#ffffff;
    border-radius: 100px;
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
    .toggle_button{
        display: flex;
    }

    nav ul{
        height: min-content;
        width: 100%;
        background-color: var(--menu-color);
        display: none;
        position: absolute;
        top: var(--navbar-height);
    }

    nav li{
        height: min-content;
        width: 100%;
    }

/*Höhe ohne Dropdown org.30px*/
    nav ul a{
        padding: 20px 0;
    }

    .expandable_li{
        display: block;
    }

/*Höhe mit Dropdown org.30px*/
    .expandable_li label{
        padding: 20px 0;
        cursor: pointer;
        display: block;
    }

    .expandable_li:hover .dropdown{
        display: none;
    }

    .expandable_li input[type="checkbox"]:checked ~ .dropdown{
        display: block;
    }

    .dropdown{
        position: static;
        width: 100%;
    }

    .dropdown li{
        padding: 0;
        display: block;
        position: static;
        background: var(--darker-background-color);
    }

    .dropdown li a{
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    #toggle_button:checked ~ ul{
        display: block;
    }
}
/* -- Ende Nav -- */

/* -- Start Newsbox -- */
.newsbox {
	width: 30%; 
	border: var(--border-size-helper) solid green; 
	background-color: white; 
	max-height: 700px; 
	overflow: hidden; 
	box-shadow: 5px 5px 10px silver;
	margin-bottom: 50px;
	border-radius: 0.3rem;
}

.stretched-link::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1; /* Link hinter die die "newsbox a" Links legen */
    pointer-events: auto;
}

.newsbox a{
	text-decoration: none;
    z-index: 2; /* Links über die den stretched Link legen */
}

.newsbox:hover{
	cursor: pointer;
}

.newsheadline{
	text-align: left;
}

.newsheadline:hover{
		color:#96ac1a;
}

.newsheadline a{
		color:#000000;
		text-decoration: none;
}

.newstime{
	color: #abb8c3;
	margin-bottom: 10px;
	margin-top: 10px;
}

.newscontent{
	margin: 1.5rem;
	-webkit-line-clamp: 8; /* Fallback für ältere Browser - können wir erst mal mit drin lassen */
    line-clamp: 8;         /* Der offizielle Standard für aktuelle Browser */
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
/*	width: 100%; */
/*	max-height: 340px;	up
/*	hyphens: auto; */
/*	word-break: break-word; */
}

/* zusätzliche styles für die Filter-Buttons */
.filter-bar {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}
.filter-button:hover {
    background-color: #ddd;
}
.filter-button.active {
    background-color: var(--primary-color, #6f9f33);
    color: white;
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){

	.newsbox {
		width:auto;
	}


}
/* -- Ende Newsbox -- */

/* -- Start Newsbox-detail -- */
.newsbox-det {
	width: 80%; 
	border: var(--border-size-helper) solid green; 
	background-color: white; 
	min-height: 50vh; 
	overflow: hidden; 
	box-shadow: 5px 5px 10px silver;
	margin-bottom: 0px;
}

.newsbox-det a{
		text-decoration: none;
		cursor: default;
}

.newsheadline-det {
	text-align: left;
	color: #96ac1a; 
}

.newstime-det{
	color: #abb8c3;
	margin-bottom: 10px;
	margin-top: 10px;
}

.newscontent-det {
	width: 100%; 
	overflow: hidden; 
}

/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
	.newsbox-det {
	    width: 100%; 
    }
}
/* -- Ende Newsbox-det -- */

/* -- Start Contenthead -- */
.conthead{
	border: var(--border-size-helper) solid blue; 
	width:100%; 
	padding:20px; 
	display: flex; 
	flex-direction: row; 
	flex-wrap:wrap; 
	justify-content: space-between;
	hyphens: initial; 
}
/* -- Ende Contenthead -- */

/* -- Start Content -- */
.content{
	float: left; 
	width: 100%;
}
/* -- Ende Content -- */

/* -- Start Figure -- */
figure {
  border: thin #c0c0c0 solid;
  background-color: #ffffff;
  display: flex;
  flex-flow: column;
  padding: 5px;
  max-width: fit-content;
  margin: auto;
  margin-top: revert;
}


figcaption {
  background-color: #222;
  color: #fff;
  font: italic smaller sans-serif;
  padding: 3px;
  text-align: center;
}

/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
    figure{
          max-width: 80vw;
    }

}
/* -- Ende Figure -- */

/* -- Start Reviere 24 -- */
.reviere img{
	max-width: 100px; display: flex;  align-items: center;  justify-content: left; margin-left: 20px;
}

.reviere li{
padding-left:10px;
}

.reviere{
	width:48%;
	box-shadow: 5px 5px 10px silver;
	flex-direction: row;
	display:flex;
	padding-top: 25px;
	padding-bottom: 25px;
	background-color: #FFFFFF;
	margin-bottom:40px;
}

.reviereliste{
	list-style-type:decimal;
	list-style-position:outside;
	margin-top: 24px;
	margin-left:80px;
}

.reviertitel	{
		margin-left: 80px;
		text-decoration: underline;
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){

	.reviere{
		width:100%;
		flex-direction:column;
		align-items:center;
		}

	.reviereliste{
		list-style-type:decimal;
		list-style-position:outside;
		margin-left:15px;
		margin-top:20px;
	}

	.reviere img{
		margin-left: 0px;
	}

	.reviertitel {
	display: flex;
	justify-content: center;
	margin-left: unset;
	margin-top: 25px;
	}

}
/* -- Ende Reviere -- */

/* -- Start Wappen 24 -- */
.wappenouter{
	width: 1175px;
}

.wappen{
	height: fit-content; max-width:575px; display:flex; flex-direction: row; margin-bottom: 40px; padding:0px; background-color: #FFFFFF; box-shadow: 5px 5px 10px silver;
}

.wappen img{
	padding:10px; max-width: 70px; display: flex;  align-items: center;  justify-content: left;
}

.wappentext{
	margin-left:25px; display: flex;  align-items: center;  justify-content: left; hyphens: inherit;
}

/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
	.wappenouter{
		width: 100%;
	}
}
/* -- Ende Wappen -- */

/* -- Start Hegeringbox 31 -- */
.hegeringbox {
	width: 100%; 
	border: var(--border-size-helper) solid cyan; 
	background-color: white; 
	hyphens: none;
	min-height: 10vh; 
	overflow: hidden; 
	box-shadow: 5px 5px 10px silver;
	margin-bottom: 0px;
	padding: 50px;
}

.hegeringbox ul {
	margin-left: 50px;
}

.hegeringbox li {
	margin-left: 20px;
}

.hegeringheadline {
	text-align: left;
	color: var(--menu-color); 
	margin-bottom: 20px;
}

.betreff {	margin-bottom: 10px;
			font-weight: bold;
			text-decoration: underline;
}

.hrltext {	display: flex;
			margin-top: 40px;
			font-weight: bold;
			width: 100%;
			justify-content: right;
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
	
	.hegeringbox {
		padding: 15px;
	}

}
/* -- Ende Hegeringbox -- */

/* -- Start Jagdhundewesen 34 -- */
.jagdhundepers{width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-around;
	}

.jagdhunde ul{
	list-style-type: unset; font-weight: bold; margin-left:40px;
}


.ausbildung img{
	width: 40px;
	margin-left: 10px;
}

.ausbildung table{
	width: 100%; padding-left: 50px;
}


.ausbildung h3{
	color:var(--accent-color); hyphens: none;
}

.ausbildung td{
	font-size: larger; width: 85%; height: 75px;
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){

/*
.jagdhunde{
	} 
*/ /* Leerer Block "jagdhunde" ... wird nicht benötigt? */

.ausbildung table{
	padding-left: 0px;
}

}
/* -- Ende Jagdhundewesen -- */

/* -- Start Impressionen-- */
.impressionen {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}


.impressionen img{
	border: 1px solid #BBB;
	background: white;
	margin: 7px 7px 7px 7px;
	padding: 5px;
	height:200px;
}

/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
    .impressionen img{
        border: 1px solid #BBB;
        background: white;
        margin: 0px 0px 0px 0px;
        padding: 5px;
        height:200px;
    }
}
/* -- Ende Junge Jäger / Impressionen -- */

/* -- Start Ausbildung 40 -- */
.ausbildung li{
	list-style-type: decimal; font-weight: bold;
}

.ausbildung img{
	width: 30px;
	margin-left: 10px;
}

.ausbildung table{
	width: 100%; padding-left: 50px;
}

.ausbildung h3{
	color:var(--accent-color); hyphens: none;
}

.ausbildung td{
	font-size: large; width: 85%; height: 75px;
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){

.ausbildung table{
	padding-left: 0px;
}

}
/* -- Ende Ausbildung -- */

/* -- Start Personen -- */
p{
	font-size: 16px;
}

.persbox {
	height:200px;
	width:575px;
	background-color: var(--white-background-color);
	border: 0px solid blue;
	margin:0px;
	margin-bottom:50px;
	line-height: 25px;
	text-align: justify;
	position: relative;
	display: flex;
	box-shadow: 5px 5px 10px silver;
}

.persbox:hover{
		box-shadow: 5px 5px 10px silver;
}

.perspic {
	border:0px solid red;
	display: flex;
	justify-content: left;
	align-items:center;
	height: 100%;
	margin-left: 0px;
	width:160px;
}


.perspic img {
	height:200px;
	width: 160px;
}


.perscontent {
	display:flex;
	flex-direction:column;
	justify-content:space-evenly;
	border: 0px solid green;
	margin: 10px 10px 10px 20px;
	width: 100%;
	hyphens: none;
	text-align: left;
    line-height: normal;
}

.perstitle {
	color: var(--accent-color)
}


/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
	
    .toggle_button{
        display: flex;
    }

	.persbox {
		width:100%;
		margin-bottom: 50px;
	}
/* Leerer Inhalt "perscontent" ... wird nicht mehr benötigt?
	.perscontent {
		
	}
*/
	.perscontent h3{
		font-size: 18px;
		hyphens: none;
		text-align: left;
	}

}
/* -- Ende Personen-- */


/* -- Start Formulare 51 -- */
a	{ 	text-decoration: none;
}

.dlfirst	{ 	background-color: var(--background-content1); 
				text-align: left; 
				border-radius: 0.3rem; padding: 2rem 3rem;
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				border: 1px solid var(--menu-color);
}


.dlsecond	{	background-color: var(--background-content2); 
				text-align: left; 
				border-radius: 0.3rem; padding: 2rem 3rem;
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				border: 1px solid var(--menu-color);
}

.dlleft	{		text-transform: uppercase; 
				font-size: 1em;
				color: #676f7c;
}

.dlbutton	{	background-color: var(--menu-color); 
				font-size:15px; 
				border-radius: 0.3em; 
				font-weight: 700; 
				color: #ffffff; 
				padding: 0.8em 1.8em;
}

/* Responsive --------------------------------------------------*/
@media(max-width: 850px){

    .dlfirst{
        flex-direction: column;
		text-align: center;
    }

    .dlsecond{
        flex-direction: column;
		text-align: center;
    }


    .dlright{
        padding-top: 1.5em;
    }


}
/* -- Ende Formulare -- */

/* -- Start Schießstand -- */
th {
	vertical-align:top;
	text-align:left;
}

td{
	padding-left:15px;
}
/* -- Ende Schießstand -- */

/* -- Start Falknerei -- */
.falkpic2 {	float: right;
}

/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
    .falkpic2{
          float: none;
    }

}
/* -- Ende Falknerei -- */

/* -- Start Seitenübersicht -- */
.seitenuebersicht {	text-decoration: none; font-weight: bold; color: var(--menu-color);
}

.seitenuebersicht a{	text-decoration: none; font-weight: bold; color: var(--menu-color);
}

.seitenuebersicht ul{	line-height: 3em; list-style: none;
}

.seitenuebersicht li{	margin-left: 30px;
}
/* -- Ende Seitenübersicht -- */

/* -- Start Footer -- */
.site-footer{
	width: 100%;
	border: var(--border-size-helper) solid yellow;
	background-color: var(--darker-background-color);
}

.inner-footer{
	max-width: 1200px; 
	padding: 30px 5px 30px 5px;
	margin: 0 auto;  
	border: var(--border-size-helper) solid gray; 
	display: flex; 
	flex-direction:row; 
	justify-content: space-between;
}

.single-footer{
	width:29%;
	border: var(--border-size-helper) solid silver;
	padding:15px 15px 15px;
	color: silver;
}

/* Responsive --------------------------------------------------*/
@media(max-width: 850px){
    .toggle_button{
        display: flex;
    }


	.inner-footer{
		width: auto; 
		flex-direction:column; 
	}


	.single-footer{
		width:auto;
		margin-bottom:30px;
	}

	.end-footer{
		font-size: 3.5vw; 
	}
}
/* -- Ende Footer -- */

/* -- Start Akkordeon für Termine -- */
.accordion-toggle {
    background-color: #e9e9e9; /* Etwas helleres Grau */
    color: #333; /* Dunklere Schrift für besseren Kontrast */
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;	/* Breite Terminleiste */
    text-align: left;
    border: 1px solid #ccc; /* Subtiler Rand */
    border-radius: 5px; /* Abgerundete Ecken */
    outline: none;
    transition: background-color 0.3s ease;
    margin-bottom: 0px; /* Kein Abstand nach unten, wenn geschlossen */
    font-size: 1.1em; /* Etwas größere Schrift */
    font-weight: bold;
    display: flex; /* Für Icon-Ausrichtung */
    justify-content: space-between; /* Icon rechts */
    align-items: center;
}
@media(max-width: 850px){
    .accordion-toggle{
        width: 100%;
    }
}

.accordion-toggle:hover, .accordion-toggle.active {
    background-color: #d5d5d5; /* Dunkleres Grau beim Hover/Aktiv */
}

.accordion-toggle .icon:after {
    content: '\2795'; /* Unicode character for "plus" sign (+) */
    font-size: 0.8em;
    color: #555;
}

.accordion-toggle.active .icon:after {
    content: '\2796'; /* Unicode character for "minus" sign (-) */
}

.accordion-content {
    padding: 0; /* Padding wird vom inneren Container von termine.php gehandhabt */
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid #ccc;
    border-top: none; /* Kein oberer Rand, da der Button darüber ist */
    border-radius: 0 0 5px 5px; /* Abgerundete untere Ecken */
    margin-bottom: 20px; /* Abstand zum "Aktuelles" Bereich */
	width: 100%; /* Breite Inhalt Termine */
}
/* -- Ende Akkordeon für Termine -- */

/* -- Start Termine -- */
.termin-page-container {
    font-family: sans-serif;
    padding: 10px 20px;
    /* max-width: 900px; */ /* Breite Inhalt Termine */
    margin: auto;
}
.filter-form {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}
.filter-form .form-group {
    display: flex;
    flex-direction: column;
}
.filter-form label {
    font-size: 0.9em;
    margin-bottom: 5px;
    color: #555;
}
.filter-form input, .filter-form select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.filter-form button {
    padding: 10px 15px;
    background-color: var(--menu-color, #337ab7); /* Fallback-Farbe */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/*
.filter-form a {
    padding: 10px 15px;
    color: var(--primary-color, #337ab7);
    text-decoration: none;
    align-self: center;
}
    */
.termin-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.termin-card {
    border: 1px solid #ddd;
    border-left: 5px solid var(--menu-color, #337ab7);
    border-radius: 5px;
    padding: 15px 20px;
    background-color: #fff;
}
.termin-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
}
.termin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: #555;
}
.termin-datum, .termin-hegering {
    font-weight: bold;
}
.termin-card p {
    line-height: 1.6;
}
.no-results {
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
    border: 1px dashed #ccc;
    border-radius: 8px;
}
/* -- Ende Termine -- */

/* -- Start Termine Edit -- */

/* body { font-family: sans-serif; line-height: 1.6; margin: 0; background-color: #f4f4f4; } */
.termin-edit-container { max-width: 900px; margin: 20px auto; padding: 20px; background-color: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.error { background-color: #f8d7da; color: #721c24; padding: 10px; border: 1px solid #f5c6cb; border-radius: 4px; margin-bottom: 20px; }
.form-section { background-color: #f9f9f9; padding: 20px; border-radius: 5px; margin-bottom: 30px; border: 1px solid #ddd; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input[type="text"], .form-group input[type="date"], .form-group input[type="time"], .form-group textarea { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.form-group textarea { min-height: 80px; }
.form-group-optional { display: flex; align-items: center; gap: 10px; }
.form-group-optional input[type="checkbox"] { flex-shrink: 0; }
.form-group-optional .input-wrapper { flex-grow: 1; }
input:disabled { background-color: #eee; }
.button { background-color: #6f9f33; color: white; padding: 10px 15px; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; font-size: 1em; }
.button-delete { background-color: #dc3545; }
.termin-liste table td.actions {
    display: flex; 
    gap: 10px; 
    align-items: left; 
    justify-content: left;
    padding: 18px 10px; /* Spezifisches Padding für Action-Zellen */
}
.termin-liste table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.termin-liste th, .termin-liste td { 
    padding: 12px; 
    border: 1px solid #ddd; 
    text-align: left; 
    vertical-align: middle; /* Vertikale Ausrichtung für alle Zellen */
}
.termin-liste th { background-color: #f2f2f2; }

@media screen and (max-width: 850px) {
    .termin-liste table {
        border: 0; /* Rahmen der Tabelle entfernen */
    }

    .termin-liste thead {
        /* Den normalen Tabellenkopf komplett ausblenden */
        display: none;
    }

    .termin-liste tr {
        /* Jede Zeile wird zu einer "Karte" */
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .termin-liste td {
        /* Jede Zelle wird zu einem Block untereinander */
        display: block;
        text-align: right; /* Text rechts ausrichten */
        font-size: 1em;
        border-bottom: 1px solid #eee; /* Trennlinie zwischen den "Feldern" */
        position: relative;
        padding-left: 25%; /* Platz für das Label auf der linken Seite schaffen */
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .termin-liste td:last-child {
        border-bottom: 0; /* Letzte Trennlinie entfernen */
    }

    /* Die Magie: Das Label aus dem data-label Attribut anzeigen */
    .termin-liste td::before {
        content: attr(data-label); /* Holt den Text aus dem data-label Attribut */
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left; /* Label links ausrichten */
        font-weight: bold;
        color: #333;
    }

    /* Spezielles Styling für die Aktions-Buttons */
    .termin-liste td.actions {
        padding-left: 10px; /* Kein Label, also kein linker Abstand nötig */
        text-align: center;
    }
    
    .termin-liste td.actions::before {
        display: none; /* Kein Label für die Aktionen anzeigen */
    }

    .termin-liste td.actions .button,
    .termin-liste td.actions form {
        display: block; /* Buttons untereinander anzeigen */
        width: 100%;
        box-sizing: border-box;
    }
    
    .termin-liste td.actions form {
        margin-top: 10px;
    }
}

    /* Styles for tabs */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    /* Compensate for form-section padding to make tabs full width */
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px; /* Align tab buttons with content */
    padding-right: 20px;
}

.tab-button {
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-right: 2px; /* Small gap between buttons */
    border: 1px solid transparent; /* Default transparent border */
    border-bottom: none; /* No bottom border by default */
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active {
    background-color: #fff;
    border: 1px solid #ccc;
    border-bottom-color: #fff; /* Hide bottom border to blend with content */
    font-weight: bold;
}

.tab-content {
    display: none; /* Hidden by default */
    /* Padding for content can be added here if needed, but form elements usually have their own spacing */
}
/* -- Ende Termine Edit -- */

/* -- Start Modales Pop-Up für Kontakte (Overlay)-- */

.kontakt-btn { 
    background-color: #6f9f33; 
    color: white; 
    padding: 10px 15px; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    text-decoration: none; 
    font-size: 1em; 
}

.modal {
    display: none; /* Standardmäßig versteckt */
    position: fixed; /* Bleibt an Ort und Stelle */
    z-index: 1000; /* Liegt über allem anderen */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Scrollen ermöglichen, falls Inhalt zu groß */
    background-color: rgba(0, 0, 0, 0.6); /* Halbtransparenter Hintergrund */
}

/* Die eigentliche Pop-up-Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* Zentriert die Box vertikal und horizontal */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px; /* Maximale Breite */
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.3s;
}

/* Schließen-Button (das 'x') */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Styling für den Inhalt innerhalb des Pop-ups */
.kontakt-details img {
    max-width: 100px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
}
.kontakt-details h3 {
    text-align: center;
    margin-top: 0;
}
.kontakt-details p {
    margin: 5px 0;
    text-align: center;
}

/* Einfache Fade-In-Animation */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
/* -- Ende Modales Pop-Up für Kontakte -- */

/* -- Start Modales Pop-Up für Meldungen (Overlay)-- */


.warning-button {
    z-index: 3000;
    position: absolute;
    left: 10px; 
    top: 25px;
    width: 45px;
    height: 45px;
    /*background-color: #ffc107; /* Warnfarbe Gelb */
    background-color: #ffc107f0;
    border-radius: 50%; /* Macht den Button rund */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #212529; /* Dunkle Farbe für das Icon */
    font-size: 22px;
    text-decoration: none;
    margin-right: 15px; /* Abstand zum Logo-Text */
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.warning-button.navbar {
    position: absolute;
    display: none;
	left: 50%;
    top: 25px;
    transform: translateX(-1200%);
}

@media(max-width: 1210px){
    .warning-button.navbar{
        left: 10px;
        transform: translateX(0);
    }
}

.warning-button:hover {
    background-color: #ffda6a;
}

.modal-warning {
    z-index: 2000;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

.modal-content-warning {
    background-color: #ffce3ae0;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.3s;
}

.modal-content-meldung {
    color: black; 
    font-weight: bold; 
    width: 100%; 
    border: 5px solid #c5944a; 
    font-size: 18px; 
    padding: 40px; 
    background-color: #f8c902; 
    margin-top: 0px; 
    margin-bottom: 25px; 
    display: block; 
    justify-content: center;
}

.close-btn-warning {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn-warning:hover,
.close-btn-warning:focus {  
    color: #777;
    text-decoration: none;
    cursor: pointer;
}

/* -- Start Modales Pop-Up für Meldungen -- */

/* -- Start Scroll to Top Button -- */

#scrollToTopBtn {
    display: none; /* Standardmäßig komplett ausgeblendet */
    position: fixed; /* Positioniert den Button relativ zum Browserfenster */
    bottom: 20px; /* 20px Abstand vom unteren Rand */
    right: 30px; /* 30px Abstand vom rechten Rand */
    z-index: 99; /* Stellt sicher, dass er über den meisten anderen Elementen liegt */
    border: none;
    outline: none;
    background-color: #55555593; /* Hintergrundfarbe */
    color: white; /* Pfeilfarbe */
    cursor: pointer;
    padding: 15px;
    border-radius: 20%; /* Macht den Button rund */
    font-size: 18px;
    opacity: 0; /* Unsichtbar für den Fade-In-Effekt */
    transition: opacity 0.4s, background-color 0.3s; /* Sanfte Übergänge */
}

/* Media Query, um den Button auf dem Desktop komplett zu verstecken */
@media(min-width: 851px) {
    #scrollToTopBtn {
        display: none !important;
    }
}

/* -- Ende Scroll to Top Button -- */