body {
	margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}


header {
    background-color: #222;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #1d3825;
}

nav ul li a.active {
    background-color: #1d3825;
}

main {
    min-height: 70vh;
    padding: 80px 40px;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px;
}

@media (max-width: 700px) {

    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    main {
        padding: 50px 20px;
    }

    .content h1 {
        font-size: 32px;
    }

    .galerie img {
        width: 100%;
    }
}

/*Startseite*/

.button {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #1d3825;
    color: white;
}



/* Über uns */

.kontakt-main {
    position: relative;
    min-height: 70vh;
    padding: 80px 40px;
    overflow: hidden;
}


/*Galerie */

.galerie {
    display: flex;
    flex-wrap: wrap;
}

.item {
    position: relative;
    flex: 1 1 33%;
}

.item a {
    display: block;
    position: relative;
}

.item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.item a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: 0.3s;
}

.item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    color: white;
    text-align: center;
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}


.item:hover a::after {
    background: rgba(0,0,0,0.5);
}

.item:hover figcaption {
    opacity: 1;
}



/*Projekt*/

.projekt {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 2;
    grid-auto-flow: dense;
}

.projekt figure {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.projekt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;

}

.gross {
    grid-column: span 2;
    grid-row: span 2;
}

.hoch {
    grid-row: span 2;
}

.breit {
    grid-column: span 2;
}




/* Kontakt / Dienstleistungen / Impressum */

.card_container_2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.text_box_1 {
	background-color: rgba(255, 255, 255, 0.2); /* Transparent */
  	backdrop-filter: blur(10px); /* Erzeugt den Milchglas-Effekt */
  	-webkit-backdrop-filter: blur(10px); 
  	padding: 30px;
  	border-radius: 15px;
  	width: 300px;
  	min-height: 300px;
 	max-width: 400px;
 	color: #FFFFFF; 
 	border: 1px solid rgba(255, 255, 255, 0.4);
 	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.startseite {
    background: url('Bilder/startseite.jpg') no-repeat center center fixed;
    background-size: cover;
    background-position: center center;
}

.unterseite {
	position: relative;
    verflow: hidden;
    background: #444; 
	overflow-y: scroll;
	overflow-x: scroll;
}

.unterseite::before {
	content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Bilder/startseite.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(15px);
    z-index: -1;
}

