* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	--color-1: #F3E8D9; /* Hintergrund der großen Boxen */
	--color-2: #7D1128; /* Schriftfarbe der großen Boxen und Hintergrundfarbe des Logos + Fußleiste */
	--color-3: white;   /* Schriftfarbe im Slogan und bei dem aktiven Angebot */
	--color-4: #7D1128; /* Hintergrundfarbe für den Slogan */
	--color-5: #7D1128; /* Hintergrundfarbe für die Angebote + Mehr Informationen */
}

body {
    font-family: Segoe UI Light;
}

nav {
	margin-top: 10px;
}

section {
	margin-top: 50px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 20px;
	padding-bottom: 50px;
	background-color: var(--color-1);
	color: var(--color-2);
}

section div {
	margin-top: 20px;
}

section ul {
	margin-left: 20px;
	margin-bottom: 10px;
}

section span {
	display: block;
}

h2 {
	margin: 10px;
	text-align: center;
}

h3 {
	margin: 0;
	text-align: center;
	border-bottom: solid 1px;
}

p {
	margin-top: 1em;
	margin-bottom: 1em;
}

footer {
	background-color: var(--color-2);
	margin-top: 50px;
	height: 25px;
}
/*
* Klassen für das Logo
*/
.logo {	
}

.logo a {
	padding: 10px;
	background-color: var(--color-2);
	text-decoration: none;
	color: var(--color-3);
	font-size: 2em;
}

.logo span {
	color: var(--color-2);
}

.slogan-wrapper {
	margin-top: 50px;
	display: grid;
    grid-template-columns: 1fr 350px;
--	height: 500px;
}

.slogan-text {
	background-color: var(--color-4);
	height: inherit;
	text-align: center;
	align-content: center;
	color: var(--color-3);
}

.slogan-text p {
	margin-top: 20px;
}

.slogan-img {
	height: inherit;
}

.slogan-img img {
	width: 100%;
	height: 100%;
	object-fit: fill;
}

.angebot-wrapper {
	display: grid;
	grid-template-columns: 350px 1fr;
}

.angebot-img {
	margin-top: 50px;
}

.angebot-img img {
	width: 100%;
	height: 100%;
	object-fit: fill;
}

.two-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 50px;
	text-align: justify;
}

.two-grid h2 {
	margin: 0;
	border-bottom: solid 1px;
}

.three-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 50px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    max-width: 1200px;
}

.nav-wrapper label, input {
	display: none;
}

#menu {
    list-style: none;
    display: flex;
}

#menu li {
    margin-left: 20px;
}

#menu li a {
    color: var(--color-2);
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s;
}

#menu li a:hover {
	border-bottom-color: var(--color-2);
	border-bottom-style: solid;
	border-bottom-width: 0.1em;
}

.grid {
	margin: 0px 50px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 50px;
	text-align: justify;
}

#greeting {
	font-size: 2em;
	text-align: center;
	font-family: cursive;
	transform: rotate(-10deg);
}

/**
* Erweitern Klassen
*/
.erweitern_checkbox {display:none}
 
.erweitern_checkbox ~ .erweitern_trigger:before {
    content: 'Mehr Informationen';
   }

.erweitern_checkbox:checked ~ .erweitern_trigger:before {
    content: 'Weniger Informationen';
   }

.erweitern_checkbox:checked ~ .erweitern_ziel{
    opacity: 1;
	font-size: inherit;
	max-height: 999em;
   }

.erweitern_ziel {
    opacity: 0;
	max-height: 0;
	font-size: 0;
	transition: .25s ease;
   }

.erweitern_trigger {
    cursor: pointer;
	color: var(--color-3);
	background-color: var(--color-5);
    border-radius: .25em;
	padding: .25em;
}

/**
 * Tabs
 */
.tabs {
	display: flex;
	flex-wrap: wrap; // make sure it wraps
}

.tabs label {
	order: 1; // Put the labels first
	display: block;
	padding: 1rem 2rem;
	margin-right: 0.5rem;
	cursor: pointer;
	background: var(--color-1);
	font-weight: bold;
	transition: background ease 0.2s;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.tabs .tab {
  order: 99; // Put the tabs last
  flex-grow: 1;
	width: 100%;
	display: none;
  padding: 1rem;
  background: var(--color-5);
  color: var(--color-3);
  margin-top:0;
}
.tabs input[type="radio"] {
	display: none;
}
.tabs input[type="radio"]:checked + label {
	background: var(--color-5);
	color: var(--color-3);
}
.tabs input[type="radio"]:checked + label + .tab {
	display: block;
}

.tabs h3 {
	border: none;
}

@media screen and (max-width: 768px){
 nav {
	margin: 0;
 }
 
 .logo a, span {
	display: block;
	text-align: center;
 }
 
 .grid {
	margin: 0;
 }

 .slogan-wrapper {
	grid-template-columns: 1fr;
	height: inherit;
 }

 .angebot-wrapper {
	grid-template-columns: 1fr;
	height: inherit;
 }
 
 .grid, .two-grid, .nav-wrapper {
	 display: block;
}
 
 .tabs .tab,
  .tabs label {
    order: initial;
  }
  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
  
  .nav-wrapper label {
	display:block;
	text-align: center;
  }
  
  .nav-wrapper input:checked ~ #menu { 
   display: block; 
   text-align: center;
  }
  #menu {display:none}
  
  #menu li {
   margin-left: 0;
  }

  #menu li a {
	margin: 0;
	padding: 0;
  }
}