:root 
{
  --back_col: #0d1e31;
  --box_col: #1b395b;
  --text_col: #cad6e2;
  --hv_col: #ebdec5;
  --heading_col: #c49564;
  --subheading_col: #c79567;
  --vorteile_col: rgb(221, 203, 170);
}

html
{
  scroll-behavior: smooth;
  scroll-padding-top: 140px; /* Benötigt für Link-Klick scrolling wegen sticky Header overlap */
  user-select: none;
}

body 
{
  background: var(--back_col);
  color: var(--text_col);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 18px;
  font-family: "Verdana";
}

header 
{
  background: var(--back_col);
  width: 100%;
  height: 120px;
  position: fixed;
  z-index: 99;
  line-height: 1;
}

#namelogo
{
  display: flex;
  width: 790px;
}

#logo 
{
  width: 60px;
  height: 60px;
  padding-right: 12px;
  padding-top: 8px;
  padding-left: 8px;
}

header h1 
{
  color: var(--heading_col);
  font-size: 32px;
}

#language
{
  visibility: hidden;
  text-align: right;
  position: fixed;
  top:10px;
  right:10px;
}

#language a
{
  text-decoration: none;
  color: rgb(86, 130, 145)
}

#language a:hover
{
  color: rgb(112, 193, 220)
}

#sections
{
  padding-top: 10px;
  padding-left: 80px;
}

#sections a
{
  font-size: 16px;
  text-decoration: none;
  color: var(--text_col);
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 2px;
  padding-bottom: 2px;
  border: white solid 1px;
  border-radius: 5px;
}

#sections a:hover 
{
  background-color: #3169a9;
  border: gray solid 1px;
}

main 
{
  padding: 2em;
  max-width: 900px;
  margin: auto;
  padding-top: 180px;
  padding-bottom: 0px;
}

section 
{
  background-color: var(--box_col);
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 1px;
  padding-bottom: 10px;
  border-radius: 40px;
  margin-bottom: 4em;
}

#beschreibung
{
  text-align: justify;
  font-size: 20px;
}

hv
{
  text-decoration: underline;
  font-weight: bold;
  color: var(--hv_col);
}

h2
{
  color: var(--subheading_col);
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}

#benefits p 
{
  margin-left: 30px;
  margin-top: 0px;
  margin-bottom: 40px;
}

#benefits h3 
{
  color: var(--vorteile_col);
  margin-bottom: 4px;
}

#gallery-container 
{
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gallery 
{
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px; 
}

.gallery img 
{
  max-width: 648px;
  margin-right: 10px;
  flex-shrink: 0;
}

.arrow 
{
  background-color: #040b47;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 10px;
  height: 60px;
  border-radius: 10px;
  margin: 5px;
  z-index: 1;
}

video 
{
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#links {height: 800px; overflow-y: auto;}
#search {width: 300px; padding: 8px; margin-bottom: 15px;}
#videoList {list-style: none; padding: 0; font-size: 14px;}
#videoList li {padding: 6px 4px; border-bottom: 1px solid #ddd; cursor: pointer; white-space: nowrap; overflow: hidden;}
#videoList li:hover {background-color: #0011a7;}

#sponsor_back 
{
  background-color: white;
  padding: 30px;
  padding-bottom: 20px;
  border-radius: 10px;
}

.sponsor
{
  display: block;
  margin: auto;
  color: black;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.sponsor img {width: 150px;}

#links_end
{
  height: 200px;
}

#links_end a
{
  color: white;
  text-decoration: none;
}

form 
{
  background: white;
  color:rgb(59, 59, 59);
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: auto;
  margin-bottom: 25px;
}

input, textarea, button 
{
  resize: none;
  width: 580px;
  margin-top: 0.5em;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 18px;
}

input:focus, textarea:focus 
{
  border-color: #3498db;
  outline: none;
}

button 
{
  background-color: #3498db;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

button:hover {background-color: #2980b9;}

footer 
{
  text-align: center;
  padding: 1em;
  color: white;
}

footer a
{
  text-decoration: none;
  color: white;
}

/* Tablets (max-width: 1024px) */
@media screen and (max-width: 1024px) 
{
  #beschreibung {font-size: 18px;}
  h2 {font-size: 22px;}
  .arrow
  {
    visibility: hidden;
    width: 0px;
    padding: 0px;
    margin: 0px;
  }
  .gallery 
  {
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: auto;
  }
  .gallery img 
  {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0px;
    max-width: 670px;
  }
  video {max-width: 100%;}
  form 
  {
    max-width: 100%;
    padding: 1em;
  }
  input, textarea, button 
  {
    width: 100%;
    box-sizing: border-box; 
    font-size: 16px;
  }
}
@media screen and (max-width: 812px) 
{
    footer {font-size: 12px;}
}
/* Smartphones (max-width: 768px) */
@media screen and (max-width: 768px) 
{
  body {font-size: 14px;}
  header h1 {font-size: 2em;}
  section {margin-bottom: 2em;}
  #sections a {font-size: 10px;}
  #beschreibung 
  {
    font-size: 16px;
    text-align: left;
  }
  h2 {font-size: 20px;}
  video {max-width: 100%;}
  form {padding: 0.75em;}
  input, textarea, button 
  {
    font-size: 14px;
    padding: 0.5em;
  }
  button 
  {
    padding: 0.75em;
    font-size: 16px;
    min-height: 48px;
  }
}
@media screen and (max-width: 630px) 
{
    footer {font-size: 10px;}
}
/* Optimierung für sehr kleine Bildschirme*/
@media screen and (max-width: 560px) 
{
  header h1 {font-size: 20px;}
  #sections 
  {
    padding-top: 10px;
    padding-left: 30px;
  }
  #sections a
  {
    font-size: 10px;
    padding-left: 8px;
    padding-right: 8px;
  }
  #beschreibung {font-size: 14px;}
  h2 {font-size: 18px;}
  .gallery img {max-width: 250px;}
  button {font-size: 14px;}
}
@media screen and (max-width: 450px) 
{
    footer {font-size: 8px;}
}