@charset "utf-8";

-----------------------

/* Allgemeine Stile */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 200;
    src:url("../fonts/JosefinSans-Light.ttf") format('truetype');
	font-display: swap; 
}
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 100;
    src:url("../fonts/JosefinSans-Thin.ttf") format('truetype');
	font-display: swap; 
}
body {
    font-family: 'Josefin Sans';
    background-color: #ffffff;
}
/* Header */
header {
    height: 350px;
    position: relative;
    display: flex;
    justify-content: center; /* Zentriert horizontal */
    align-items: center; /* Zentriert vertikal */
}
.header-img {
    width: 100%; /* 80% der Header-Breite */
    max-width: 100%; /* Höchstbreite 100% */
    height: auto;
    object-fit: cover;
}
/* Media Query für Bildschirmbreite größer als 1200px */
@media (min-width: 1200px) {
    .header-img {
        display: none; /* Verstecke Vektorgrafik */
    }
    .header-img:last-child {
        display: block; /* Zeige Foto */
    }
}
/* Navbar */
.nav {
  height:45px;
  width: 100%;
  background-color: #000000;
  opacity: 75%;
  position: relative;
}
.nav > .nav-header {
  display: inline;
}
.nav > .nav-header > .nav-title {
  display: inline-block;
  font-size: 22px;
  color: #fff;
  padding: 10px 10px 10px 10px;
}
.nav > .nav-btn {
  display: none;
}
.nav > .nav-links {
  display: inline;
  float: right;
  font-size: 18px;
}
.nav > .nav-links > a {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: #efefef;
}
.nav > .nav-links > a:hover {
  color:#FF0000;
}
.nav > #nav-check {
  display: none;
}
@media (max-width:600px) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 30px;
    height: 25px;
    padding: 10px;
  }
  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
}
/* Section */
section {
    padding: 80px 0;
    text-align: center;
	z-index: 999; /* Hoher z-Index, um über dem Foto zu liegen */
}
.image-container {
    position: relative;
    margin-bottom: 150px; /* Ästhetischer Abstand zum Text */
}
.image-container img {
    display: block;
    margin: 0 auto; /* Zentriert das Bild horizontal */
}

h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
}
.text-section h2 {
    font-size: 2.3em;
    margin-bottom: 20px;
}

.text-section h3 {
    font: lighter;
    font-size: 2.0em;
}

h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #FFFFFF;
}
.footer h1 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #FFFFFF;
}
p {
    font-size: 1.2em;
    margin-bottom: 0px;
}
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.photo-container {
    margin: 20px;
    flex: 1 0 300px; /* Beispielwert in Pixeln */
    max-width: 300px; /* Beispielwert in Pixeln */
}
@media (max-width: 720px) {
    .photo-container {
        flex: 1 0 calc(50% - 40px);
        max-width: calc(50% - 40px);
		min-width: 360px; /* Mindestbreite für das Bild */
    }
}
.photo-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.caption {
    background-color: #fec303;
    padding: 10px;
    font-size: 1.5em;
    color: #000000;
}
.caption a {
        color: black; /* Ändere die Farbe des Links auf Rot */
        text-decoration: none; /* Entferne das Unterstreichen des Links */
    }
.text-section {
    margin-top: 80px;
}


/* about */
.new-photo-container {
	position:relative;
    margin: 40px;
    max-width: 920px; /* Beispielwert in Pixeln */
	height: auto;
}
@media (max-width: 720px) {
    .new-photo-container {
        flex: 1 0 calc(50% - 40px);
        max-width: calc(50% - 40px);
		min-width: 360px; /* Mindestbreite für das Bild */
    }
}
.new-photo-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Galerie */
.photo-grid-container {
	max-width: 1690px;
	margin: auto; /* Automatische Ausrichtung in der Mitte */
  column-count: 4;
  column-width: 300px;
}
.photo-grid-container .photo-grid-item img {
    width: 100%;
	height: auto;
	display: block;
	object-position: center;
	object-fit: cover;
}
.photo-grid-item {
  margin: 0 auto 15px;
  max-width: 400px;
  width: 100%;
}



/* Load */

.blur-load::before{
content: "";
position: absolute;
inset: 0;
animation: pulse 2.0s infinite;	
}
.blur-load.loaded::before {
	content: none;
}

@keyframes pulse{
	0% {
		background: rgb(255,255,255, 0)
	}
	50% {
		background: rgb(255,255,255, .2)
	}	
	100% {
		background: rgb(255,255,255, 0)
	}	
}
.blur-load {
	position: relative;
	background-size: cover;
	background-position: center;
}

.blur-load.loaded > img {
opacity: 1;
}
.blur-load > img {
	opacity: 0;
	transition: opacity 200ms ease-in-out;
}
/* Load */



/* Footer container */
.footer {
    max-width: auto;
    margin: auto;
    padding: 10px 4%;
    display: flex;
    justify-content: space-between;
	background:#000000;
	opacity: 85%;
}
.footer-element {
    flex: 1; /* Verwende flexibles Layout */
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box; /* Hinzugefügt, um das Padding in die Breite einzuschließen */
}
.footer-element.left {
    text-align: left;
}
.footer-element.middle {
	    text-align: center;
}
.footer-element.right {
	   text-align: right;
}
.footer-element p {
	font-size: 1em;
    margin-bottom: 13px;
	color:#8A8A8A;
}
.footer-element ul {
    list-style: none;
    padding-left: 0;
}
.footer-element ul li {
	font-size: 1em;
	color:#8A8A8A;
    margin-bottom: 16px;
}
.footer-element ul li a {
    color: inherit; /* Verwendet die Standardtextfarbe des Elternelements */
    text-decoration: none; /* Entfernt Unterstreichungen */
}
/* Responsive Design */
@media (max-width: 767px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-element.middle,
	.footer-element.right {
        width: 100%;
        margin-bottom: 20px;
        text-align: left;
    }
}
	/* Footer Container */
	/* Footer2 */
.abschluss {
    max-width: auto;
	height: 40px;
    margin: auto;
    padding: 0px 25%;
    display: flex;
    justify-content: space-between;
	background:#000000;
	opacity: 96%;
	align-items: center;
}
.abschluss-element {
    flex: 1; /* Verwende flexibles Layout */
    padding: 0 10px;
    margin-bottom: 0px;
    box-sizing: border-box; /* Hinzugefügt, um das Padding in die Breite einzuschließen */
}
.abschluss-element.left {
    text-align: left;
}
.abschluss-element.middle {
	    text-align: center;
}
.abschluss-element.right {
	   text-align: right;
}
.abschluss-element p {
	font-size: 1em;
    margin-bottom: 5px;
	color:#8A8A8A;
}
.abschluss-element ul {
    list-style: none;
    padding-left: 0;
}
.abschluss-element ul li {
	font-size: 1em;
	color:#8A8A8A;
    margin-bottom: 5px;
}
.abschluss-element ul li a {
    color: inherit; /* Verwendet die Standardtextfarbe des Elternelements */
    text-decoration: none; /* Entfernt Unterstreichungen */
}
/* Responsive Design */
@media (max-width: 767px) {
    .abschluss {
        flex-direction: column;
        align-items: flex-start;
		padding: 10px 4%;
		height:auto;
    }
	.abschluss-element.left,
    .abschluss-element.middle,
	.abschluss-element.right {
        width: 100%;
        text-align: left;
    }
}
	/* Footer2 */

.contact{
	padding:4em 0;
    background: #f9f9fb;
}

.map iframe {
	width: 100%;
	height: 340px;
    border: none;
}
/* About*/

div.about img {
  width: 100%;
  height: auto;
	padding: 10px 0; /* 20px oben und unten, 0 links und rechts */
}

@media screen and (min-width: 28em) {
  div.about img {
    width: 90%;
  }
}

@media screen and (min-width: 50em) {
  div.about img {
    width: 40%;
	   padding: 20px; /* 20px auf allen Seiten */
  }
}
	
		/* tab */
  table.basis-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 720px;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
	   margin-top: 70px;
}

table.basis-table thead tr {
  background-color: #fec303;
  color: black;
  text-align: left;
  font-weight: bold;
}

table.basis-table th,
table.basis-table td {
  padding: 12px 16px;
}

table.basis-table tbody tr {
  border-bottom: 1px solid #ccc;
}

table.basis-table tbody tr:last-of-type {
  border-bottom: 2px solid rebeccapurple;
}

table.basis-table tbody tr.active {
  font-weight: bold;
  color: rebeccapurple;
}

/* Variante A */
.basis-card {
  display: none;
  width: 100%;
  margin-bottom: 20px;
}

.basis-header {
  background-color: #fec303;
  color: black;
  border-radius: 5px 5px 0 0;
  padding: 10px;
  font-weight: bold;
}

.basis-card div {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.basis-card div:last-of-type {
  border-bottom: 2px solid rebeccapurple;
}

.basis-card div > span {
  color: rebeccapurple;
  font-weight: bold;
}

/* Medienabfrage für Handy im Portrait-Modus */
@media screen and (max-width: 767px) and (orientation: portrait) {
  table.basis-table {
    display: none;
  }

  .basis-card {
    display: block;
	  margin: 40px 0; /* Abstand oben und unten in der mobilen Ansicht */
  }
}

/* Medienabfrage für Tablet und Desktop */
@media screen and (min-width: 768px) {
  table.basis-table {
    width: 650px;
  }

  .basis-card {
    display: none;
  }
}	
/* Wrapper */	
#cookies-banner{
  font-size: 0.9rem;
  width: auto;
  position: fixed;
	opacity: 95%;
  bottom: 0;
  color: white;
  border-radius: 10px;
  background-color: #333333;
  z-index: 1;
  margin: 10px;
}

.container {
  min-height: 70px;
  display: grid;
  grid-template-columns: 70px auto 200px;
  justify-items: center;
  align-items: center;
}

.container i {
  padding: 5px;
  background-color: #333333;/* ovale farbe */
  border-radius: 50%;
  font-size: 1.5rem;
}

#allow,
#decline {
  width: 80px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  border: 1px solid rgba(211, 211, 211, 0.3);
  background-color: #1a1a1a;
  color: white;
}

#decline {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

@media(max-width:800px){
  #cookies-banner{
    width: 100%;
    margin: auto;
    border-radius: 0;
  }

  .container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    text-align: center;
  }
}