*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h2 {
	font-size: 20px;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

li {
    display: list-item;
}

a{
	color: rgb(145, 0, 0);
	font-size: 16px;
    text-decoration: none;
	/*transition: font-size 0.4s ease;*/
}

a:hover{
    color: #333;
}

a:active{
	color: green;
}

body{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	background-color: #6c6c6c;
}



.text{
	margin-left: 30px;
}

.fullsize-image{
	width: 100%;
	height: 60%;
	object-fit: cover;
	display: block;
	align-items: center;
	justify-content: center;
}

.grid{
    display: grid;
    align-items: center;
    justify-self: center;
}

.center{
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
}

.card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: 4px solid #7c7c7c;
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	justify-content: start;
	height: 367px;
}

.card img {
	width: 100%;
	height: auto;
}

.card h2 {
	margin: 12px 0 8px;
}

.card p {
	flex-grow: 1;
	overflow-y: auto;
	max-height: 200px;
	margin-bottom: 16px;
}

.card a{
	align-self: center;
}

.card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
  	height: 367px; /* gleiche Höhe für alle Karten */
	padding: 0;
	margin: 0;
	background-color: #fff;
	border: 4px solid #7c7c7c;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-content {
	padding: 16px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.card-content h2,
.card-content p {
	margin: 0;
	padding: 0;
}

.mehr-link {
  	height: 60px; /* feste Höhe für gleichmäßige Position */
	display: flex;
	align-items: center;
	justify-content: center;
}

.mehr-link a {
	color: rgb(145, 0, 0);
	text-decoration: none;
	font-size: 16px;
}

.mehr-link a:hover {
	color: #333;
}

.card button {
	align-self: flex-start;
	padding: 8px 12px;
	background-color: #007BFF;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.card button:hover {
	background-color: #0056b3;
}

.kontakt{
	display: flex;
	padding: 20px;
}


.fullsize-image#header-logo{
    width: 50%;
    height: 100%;
    align-items: center;
    justify-self: center;
}

.grid#main-header{
    grid-template-columns: 1fr;

    h1{
        color: rgb(141, 141, 141);
        font-size: 40px;
    }

    h3{
        color: rgb(145, 0, 0);
    }
}

.webside-size#kontakt{
	display: flex;
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto; 
	background-color: #ffffff; 
	min-height: 100vh;
	zoom: 105%;
	margin-top: 1px;
}


#webside-size{
	display: flex;
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto; 
	background-color: #ffffff; 
	min-height: 100vh;
	zoom: 105%;
	margin-top: 1px;
}

.text-zentriert{
	text-align: center;
}

.footer {
	display: flex;
	justify-content: end;
    background-color: #000;
    color: #525151;
    padding: 20px 10px;
}
.footer a {
    color: #525151;
}
.footer a:hover {
    color: rgb(145, 0, 0);
}
.footer a:active {
    color: green;
}

#datenschutzerklärung{
	margin-left: 20px;
}

#datenschutzerklärung li{
	font-size: 20px;
}

#main-header{
    background-color: #fff;
    color: #333;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    margin: 20px;
}

/*#footer{*/
/*    background-color: #000;*/
/*    color: #525151;*/
/*    padding: 20px 10px;*/
/*    display: flex;*/
/*    justify-content: end;*/

/*    a{*/
/*        color: #525151;*/
/*    }*/

/*    a:hover{*/
/*        color: rgb(145, 0, 0);*/
/*    }*/

/*    a:active{*/
/*        color: green;*/
/*    }*/
/*}*/

#büromanagement{
	font-size: 20px;
}

.slash{
    margin: 0 8px;
}

#button-bar{
	border: #333 2px solid;
	justify-content: center;
	align-items: center;
	display: flex;
	grid-template-columns: 1fr 1fr;
	margin: 10px;
	box-shadow: 5px 5px 3px #333;
	object-fit: cover;
    a{
        transition: font-size 0.4s ease;
    }
    a:hover{
		font-size: 20px;
	}
}

#menu-bar.text{
    padding: 10px;
    display: flex;
    justify-content: end;
    align-items: end;
    align-self: end;
    justify-self: end;
}

@media (max-width: 600px) {
    .kontakt{
        display: block;
    }
    #kontakt-text {
        padding-top: 10px;
    }
}

@media (max-width: 900px){
    .grid#bilder-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 709px){
	.grid-container{
		grid-template-columns: 1fr;
	}
}

@media (min-width: 710px){
	.grid-container {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
		margin: 40px 20px 100px 20px;
	}
}

@media (max-width: 850px){

    
    #menu-sign{
        position: absolute;
        display: flex;
        margin: 20px;
        align-self: end;
        justify-self: end;
    }

    .box#menu-bar{
        position:absolute;
        display: none;
        background-color: #000;
        animation: Bar;
    }

    #toggle-slider {
        display: none;
    }

    label[for="toggle-slider"] img {
        margin: 20px;
        display: flex;
        cursor: pointer;
        justify-self: end; 
        width: 30px; 
        transition: transform 0.3s ease;
    }

    #toggle-slider:checked + label img {
        transform: scale(0.98);
    }

    .slider-content {
        max-height: 0;
        overflow: hidden;
        background: #000;
        transition: max-height 0.5s ease;
    }

    #toggle-slider:checked ~ .slider-content {
        max-height: 200px;/
    }

    #menu{
        color:  #fff;
    }

    #menu p:hover{
        color: white;
    }

    #menu p:active{
        color: green;
    }
}


@media (min-width: 850px){
    #menu{
        display: none;
    }
    #menu-sign{
        display: none;
        margin: 20px;
        align-self: end;
        justify-self: end;
    }

    .text#menu-bar{
        display: flex;
        border: none;
    }

    .box#menu-bar{
        border: none;
        padding: 20px 10px;
        display: flex;
        justify-content: end;
    }

    .box#menu-bar a{
        color: #333;
    }

    .box#menu-bar a:hover{
        color: rgb(145, 0, 0);
    }

    .grid#menu-grid{
        display: flex;
        justify-content: end;
        align-items: end;
        background-color: blue;
    }
}

@media (min-width: 900px){
    .grid#bilder-grid{
        grid-template-columns: repeat(4, 1fr);
        align-items: stretch;
    }
}

.red-lettering{
    color: rgb(145, 0, 0);
}

.white-lettering{
    color: #fff;
}

.white-lettering:hover{
    color: rgb(145, 0, 0);
}

.box#überschrift{
	background-color: rgb(201, 201, 201);
	color: #000;
}

.box#überschrift h1{
	padding: 40px 20px;
}

.slider-content{
	list-style-type: none;
}




