:root {
    --background-color: #EE7AE9;
    --darker-background-color: #CD69C9;
    --accent-color: #CD00CD;
    --text-color: #000000;
    --textblau-color: #0000cc;
    --linkpassiv-color: #CD00CD;
    --linkactiv-color: #FFFAF0;
    --linkpfeil-color: #ffa500;
    --navbar-height: 84px;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Source Sans Pro", helvetica neue, helvetica, arial, sans-serif;
    color: var(--text-color)
}

html {
    height: 100%;
}

body {
    height: 100%;
    background: url(bilder/hintergrund.png) fixed;
}

/*Navigation*/
nav {
	position: fixed;
	top: 0;
	width: 100%;
    height: var(--navbar-height);
    background: var(--background-color);
	display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    margin-left: 0px;
    margin-top: 0px;
    }
    
nav ul {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

nav li {
    height: 102px;
    width: 130px;
    text-align: center;
    position: relative;
}

.passiv {
    color: var(--linkpassiv-color);

}

.activ {
    color: var(--linkactiv-color);
}

nav li:hover {
    background: var(--accent-color);
}

nav ul a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.06em;
}

.dropdown {
    height: min-content;
    width: 100px;
    background-color: var(--background-color);
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: var(--navbar-height);
}

.dropdown li {
    height: 70px;
    width: 100%;
}

.dropdown li a {
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
}

nav li:hover .dropdown {
    display: flex;
}

nav input[type="checkbox"] {
    display: none;
}

.expandable_li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle_botton {
    width: 30px;
    height: 20px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    height: 3px;
    width: 100%;
    background: var(--linkactiv-color);
    border-radius: 100px;
}
   
   /*Schrift*/ 

p { 
	font-size: 16px;
	margin-bottom: 20px;
	font-weight: 300;
	
}
	
	h1 {
	letter-spacing: 0.05em;
	font-weight: 400;
	text-align: center;
	line-height: 1.6em;
    
    }
    
	h2 {
	letter-spacing: 0.04em; 
	font-weight: 400;
    text-align: center;
    line-height: 30pt;
	}
	
	h3 {
	letter-spacing: 0.04em; 
	font-weight: 400;
    margin: 20px 0 0 0;
	}
	
	h4 {
	letter-spacing: 0.04em;
	font-weight: 300;
	}
	
	li	{
	letter-spacing: 0.1em; 
	line-height: 1.3em;
	font-weight: 300
	}
	
	p.weit {
	letter-spacing: 0.1em; 
	line-height: 1.4em;
	font-weight: 300
	}
	
	p.fett {
	letter-spacing: 0.05em; 
	line-height: 1.4em;
	font-weight: 400
	}
	
	p.lang {
	letter-spacing: 0.1em; 
	line-height: 1.4em;
	font-weight: 300
	}
	
	p.klein {
	letter-spacing:0.1em; 
	line-height: 1.2em; 
	font-size: 0.8em;
	font-weight: 300
	}
	
	p.liste {
	letter-spacing: 0.1em; 
	line-height: 1.4em;
	font-weight: 300;
	margin-bottom: 5px;
	}
	
	p.center {
	text-align: center;
	margin-bottom: 20px
	}
	
	cite.serif {
	letter-spacing: 0.05em; 
	line-height: 1.2em;
	font-weight: 400;
	}
	
	span.blau {
	color: var(--textblau-color);
	letter-spacing: 0.1em;
	}
	
	span.rot {
	color: var(--linkpassiv-color);
	letter-spacing: 0.05em;
	font-weight: 400;
	}

	hr{
	 width: 100%;
	 height: 0.2px;
	 margin-top: 20px;
	}
	
	hr.blau {
	color: var(--textblau-color)
	}
	
	.rot {
	color: var(--linkpassiv-color);
	}
	
	.blau {
	color: var(--textblau-color);
	}
	
	.weiss {
	color: white
	}
	
/*Bilder*/
img {
	max-width: 100%;
	height: auto;
}

.bild-kopf-gross {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.rechts {
	float: right;
	margin-bottom: 20px;
	text-align: center;
	max-width: 40%;
}

.rechts figcaption {
	font-size: 0.85em;
	color: #191970;
}

.links {
	float: left;
	justify-content: left;
	margin-bottom: 20px;
	max-width: 20%;
}

.links figcaption {
	font-size: 0.85em;
	color: #191970;
}

.center {
	float: center;
	justify-content: center;
	margin-bottom: 20px;
	max-width: 100%;
}

.gross figcaption {
	font-size: 0.85em;
	color: #191970;
}

figure.logo {
	float: left;
	margin: 4px 0 0 15px; /* Korrigierter Abstand für Logo */
	text-align: left;
	max-width: 40%;
}
/*Text*/
.textbox {
    margin: 0px 6% 10px 6%;
    padding-top: 110px;
}

td{  
    border: 0.5px solid black;
    border-collapse: collapse;
    width: auto;
    padding: 2px;
}

.katalog {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid black;
    border-collapse: collapse;
    width: 70%;
    height: 600px;
    padding: 1%;
    justify-self: center;
}

.einzug {
    margin-left: 15px;
}

.abstand {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
}

li {
    margin-bottom: 1px;
}

ul {
    margin-bottom: 20px;
}

div {
    display: flex;
    background: white;
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-bottom: 1px;
}

p .center{
	margin-top: 50px;
	font-size: 0.85em;
	text-align: center;
}
iframe {
    border: 0px;
}

/*Links*/
.exlink {
    text-decoration: none;
    color: #0000cc;
    margin-bottom: 0px;
}

.logolink {
    text-decoration: none;
    color: var(--linkactiv-color);
}

.interlink {
    width: 140px;
    border-radius: 10px 10px 10px 10px;
    border: 1px solid;
    border-color: #0000cc;
    font-size: 1, 3vmax;
    text-decoration: none;
    color: #0000cc;
    padding: 4px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.interlink2 {
    width: 130px;
    border-radius: 10px 10px 10px 10px;
    border: 1px solid var(--linkpfeil-color);
    font-size: 1, 3vmax;
    text-decoration: none;
    color: var(--linkpfeil-color);
    padding: 4px;
    margin-bottom: 10px;
    margin-right: 10px;
}

 .interlink3 {
    border-radius: 6px 6px 6px 6px;
    border: 1px solid ;
    border-color: #0000cc;
    font-size: 0.9em;
    text-decoration: none;
    color: #0000cc;
    padding: 2px;
    margin-bottom: 5px;
    }
    
a:hover {
    background: var(--accent-color);
}

.interpfeil {
    border-radius: 5px 5px 5px 5px;
    border: 1px solid;
    border-color: #0000cc;
    font-size: 1, 3vmax;
    text-decoration: none;
    color: #0000cc;
    padding: 4px;
}
.interpfeil2 {
    border-radius: 5px 5px 5px 5px;
    border: 1px solid var(--linkpfeil-color);
    font-size: 1, 3vmax;
    text-decoration: none;
    color: var(--linkpfeil-color);
    padding: 4px;
}

/*Kontaktformular*/
.kontaktformular {
  max-width: 500px;
  margin: 2em auto;
  padding: 1.5em;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: sans-serif;
}

.kontaktformular label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
}

.kontaktformular input,
.kontaktformular textarea {
  width: 100%;
  padding: 0.7em;
  margin-top: 0.5em;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.kontaktformular button {
  	margin-top: 1.5em;
  	padding: 0.7em 1.5em;
  	background-color: #0077cc;
  	color: white;
  	border: none;
  	border-radius: 5px;
  	cursor: pointer;
}

.kontaktformular button:hover {
	background-color: #005fa3;
}

@media(max-width: 1050px) {
	.toggle_botton {
		display: flex;
	}

	nav ul {
    	height: min-content;
		width: 120px;
   		background: var(--background-color);
    	display: none;
    	position: right;
    	margin-top: 590px;
    	top: var(--navbar-height)
	}

	nav li {
    	height: min-content;
    	width: 100%;
	}	

	nav ul a {
    	padding: 30px 0;
	}

	.expandable_li {
    	display: block;
	}

	.expandable_li lable {
    	padding: 30px 0;
    	cursor: pointer;
    	display: block;
	}

	.expandable_li:hover .dropdown {
    	display: none;
	}

	.expandable_li input[type="checkbox"]:checked~.dropdown {
    	display: block;
	}

	.dropdown {
    	position: static;
    	width: 100%;
	}

	.dropdown li {
    	padding: 0;
    	display: block;
    	position: static;
    	background: var(--darker-background-color);
	}

	.dropdown li a {
    	width: 100%;
   	 padding: 0;
    	justify-content: center;
	}

	#toggle_botton:checked~ul {
    	display: block;
	}

	body {
   	 display: block;
    	height: 100%;
    	background: white;
	}

	div {
    	background: white;
    	width: 90%;
   	 	margin-left: auto;
   	 	margin-right: auto;
    	margin-top: 10px;
    	margin-bottom: 10px;
    	padding-bottom: 1px;
	}

	.bild-kopf-gross {
    	display: grid;
    	justify-content: center;
    	margin-top: 80px;
	}

}
@media(max-width: 835px) {
    .abstand {
        display: grid;
        justify-content: center;
        text-align: center;
        margin: 20px;
    }
}
@media(max-width: 550px) {
    .bild-kopf {
        display: none;
    }

    .interlink {
        border-radius: 6px 6px 6px 6px;
        border: 1px solid;
        border-color: #0000cc;
        font-size: 0.9em;
        text-decoration: none;
        color: #0000cc;
        padding: 2px;
        margin-bottom: 5px;
    }
    
    .links {
    	max-width: 100%;
	}

	.rechts {
		float: left;
		margin: 0 1em 1em 0; /* Korrigierter Abstand für Links */
		max-width: 100%;
	}
	
    .katalog {
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        border: 1px solid black;
        border-collapse: collapse;
        width: 90%;
        height: auto;
        padding: 1%;
    }
}