:root {
	  --color-green: #162a1d; /* grün */
	  --color-gold: #b19952; /* gold */
	  --color-bg: #f0f0f0;
}

/* waterfall-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Waterfall';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/waterfall-v7-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cinzel-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cinzel-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--color-primary);
}
a {
color: var(--color-primary);
}
h1, h2 {
	font-family: 'Cinzel', serif;
	color: var(--color-gold);
	font-weight: 500;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Header */
.header {
  position: relative;
  background-image: url('../images/header.jpg'); 
  background-size: cover;
  background-position: center;
  height: 60vh;
  max-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 6px solid var(--color-gold);
}

.logo {
}
.logo img {
	max-height: 240px;
}

/* Content */
.container {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1rem;
}
.container.small {
	max-width: 800px;
}
.bg {
	background-color: var(--color-bg);
	display: flex;
}

h1, h2 {
	margin-top: 1rem; 
	text-align: center;
	margin-bottom: 1rem;
}
h1 {
	margin-bottom: 0px;
}
h3 {
	text-align: center;
	margin-bottom: 0.5rem;
}

p {
  text-align: center;
  margin-bottom: 2rem;
}

/* Tabelle */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th, td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: var(--color-bg);
  font-weight: normal;
}

.besonderheiten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 3rem;
  align-items: stretch;
  background-color: var(--color-bg);
}

.besonderheiten .box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* macht jede Box quadratisch */
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);*/
  overflow: hidden;
  background-color: #f3fdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0px;
  
  background-color: var(--color-bg);
  color: var(--color-gold);
}

/* Bild-Box */
.box-img {
  padding: 0;
  background-color: transparent;
}

.box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text-Box */
.box-text p {
	font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem;
  margin: 0;
}


/* Kontakt */
.kontakt {
  background-color: #f0f0f0;
  padding: 2rem 1rem 4rem 1rem;
  text-align: center;
  border-top: 6px solid var(--color-gold);
}

.slogan {
  font-family: 'Waterfall', cursive;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  font-style: italic;
}

.slogan .word {
  display: inline-block;
  padding: 0 0.25rem;
}

.slogan .dot {
  color: var(--color-gold); 
  font-weight: 500;
}

.icon {
	max-width: 16px;
	color: var(--color-gold);
}
	
@media (max-width: 1599px) {
	.besonderheiten {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 1024px) {
	.besonderheiten {
		grid-template-columns: repeat(2, 1fr);
	}
	.besonderheiten .box {
		aspect-ratio: 3 / 2;
	}
	.box-3 {
		order: 4;
	}
	.box-4 {
		order: 3;
	}
	.box-5 {
		order: 6;
	}
	.box-6 {
		order: 5;
	}
	.box-7 {
		order: 7;
	}
	  .box-8 {
		order: 8;
	  }
}

@media (max-width: 768px) {
      .logo {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
      }
	  .logo img {
		max-height: 160px;
	  }
	  
	  th, td {
		padding: 0.5rem;
		font-size: 15px;
	  }
	  
	  .slogan {
		font-size: 2.5rem;
		line-height: 120%;
	  }
}

/* Mobile */	
@media (max-width: 574px) {
      .logo {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
      }
	  
	  th, td {
		padding: 0.5rem;
		font-size: 15px;
	  }
	  
	  h1 {
		font-size: 30px;
		line-height: 140%;
	  }
	  h2 {
		font-size: 26px;
	  }
	  .header {
		max-height: 300px;
	  }
	  /*.container {
		margin-top: 2.8rem;
		margin-bottom: 2rem;
	  }*/
	  .besonderheiten {
		grid-template-columns: repeat(1, 1fr);
	  }
	  .besonderheiten .box {
		aspect-ratio: 3 / 2;
	  }
	  .box-3 {
		order: 3;
	}
	.box-4 {
		order: 4;
	}
	  .box-5 {
		order: 6;
	  }
	  .box-6 {
		order: 5;
	  }
	  .box-7 {
		order: 8;
	  }
	  .box-8 {
		order: 7;
	  }
}


/* Desktop - groß */
@media (min-width: 1600px) {
	h1 {
		font-size: 42px;
	}
	h2 {
		font-size: 28px;
	}
	body {
		font-size: 17px;
	}
	.header {
		height: 600px;
		background-position: bottom;
	}
	.logo img {
		max-height: 360px;
	}
	.container {
		max-width: 1200px;
		margin: 5rem auto;
	}
	.besonderheiten {
		grid-template-columns: repeat(4, 1fr);
	}
	.besonderheiten .box {
		aspect-ratio: 3 / 2;
	}
	.box-text p {
		font-size: 1.8rem;
	}
}	