* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
}

/* Container teilt den Bildschirm in zwei Bereiche */
.container {
  height: 100vh; /* ganze Fensterhöhe */
}

/* Linker Bereich (weiß, mit Text/Bildern/Buttons) */
.left-section {
  width: 30%;
  float: left;
  background-color: #fff;
  justify-content: space-between;
}

.top-content,
.bottom-content {
  padding: 10%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h2 {
  font-size: 30px;
  font-weight: 300;
}

p, label {
  margin-top: 2vh;
  line-height: 1.4em;
  font-size: 16px;
  font-weight: 300;
}

.top-content button {
  margin-top: 2vh;
  display: inline-block;
  padding: 5px 7px;
  background-color: #0A66C2;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-size: 16px;  /* Schriftgröße anpassen */
  border: 2px solid #0A66C2;
}
.bottom-content button {
  margin-top: 2vh;
  display: inline-block;
  padding: 5px 7px;
  background-color: #C3D0E0;
  color: #0A66C2;
  border: 2px solid #0A66C2;
  cursor: pointer;
  border-radius: 10px;
  font-size: 16px;  /* Schriftgröße anpassen */
}

.bottom-content button:hover {
  background-color: #0A66C2;
  color: #C3D0E0;
}
.top-content button:hover {
  background-color: #fff;
  color: #0A66C2;
  border: 2px solid #0A66C2;
}

.bottom-content h2 {
  margin-bottom: 10px;
}

.right-section {
  float: left;
  width: 70%;
  height: 100%;
}

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

#DisclaimerBild{
  position: absolute;
  bottom: 84vh;
  right: 2vh;
  transform: rotate(-90deg);
  transform-origin: right bottom;
  font-size: 1.5vh;
  padding: 3px 6px;
  border-radius: 4px;
  width: max-content;
  color: #333;
  white-space: nowrap;
  max-height: 50%;
}


.clearer {
  clear: both;
}

.logo {
  font-weight: 700; /* Fettere Schrift */
  font-size: 45px;  /* Schriftgröße anpassen */
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.logo .linked {
  color: #0A66C2; /* LinkedIn-Blau */
}

.logo .scr {
  background-color: #0A66C2;
  color: #fff;
  border-radius: 10px;
  margin-left: 0.1vw;
  padding: 0 0.8vw;
}

h1 .logoover {
  background-color: #fff;
  color: #0A66C2;
  border-radius: 10px;
  margin-left: 0.1vw;
  padding: 0 0.8vw;
}

.outline {
  border-radius: 2px solid #0A66C2;
  color: #0A66C2;
}

.bottom-content {
  background-color: #C3D0E0;
  height: 50vh;
}


/* Splash Screen */
#splash-screen {
  position: fixed;      /* immer obenauf */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0A66C2; /* LinkedIn-Blau */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;        /* sehr hohe Ebene */
  transition: opacity 0.5s ease-in-out;
}
#splash-screen h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
#splash-screen h2 {
  font-size: 1.5rem;
  font-weight: 300;
}

/* Hauptinhalt (wird erst nach 5 Sek. gezeigt) */
#main-content {
  position: relative;
  z-index: 1; /* liegt hinter #splash-screen */
}

.fade-out {
  opacity: 0;
}

.cap-div {
  width: 100%;
  display: flex;
  justify-content: center;  /* horizontal zentrieren */
  align-items: center;
}

.cap-div img {
  width: 60%;
  max-height: 200px; 
}

/* Overlay */
.hidden {
  display: none;
}

#overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 50% transparent schwarz */
  z-index: 40;
}

#modal {
  max-width: 50%;
  position: fixed;
  z-index: 50;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#modal h2 {
  margin-bottom: 2rem;
}

.exit {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 20px;
  text-decoration: none;
  box-shadow: none;
  background-color: #fff;
  background: none;      /* Transparentes Hintergrund */
  border: none;          /* Keine sichtbare Umrandung */
  outline: none;         /* Kein Fokus‐Rahmen */
  box-shadow: none;      /* Keine Box‐Schatten */
  -webkit-appearance: none; /* Entfernt in manchen Browsern Standardstyles */
  appearance: none;      /* Entfernung nativer Browserstyles */
  text-decoration: none; /* Keine Unterstreichung für Links */
  color: black; 
}

.exit:hover {
  color: #0A66C2; 
}

label {
  display: inline-block;
  margin-bottom: 1rem;
}
input[type="number"] {
  width: auto;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid #000;
  border-radius: 10px;
  outline: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#score-display {
  display: none;
}

.info-section {
  margin-bottom: 2rem;
  color: #0A66C2;
  display: none;
}
.info-section p {
  display: flex;
  align-items: flex-start;
}

.cap-container {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.cap-container img {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto; /* zentriert */
}

.score-price {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}
.score-price span {
  border: 2px solid #0A66C2;
  border-radius: 10px;
  padding: 5px 10px;
  margin: 0 0.5rem;
  color: #0A66C2;
  font-weight: 300;
}

.cap-container button {
  padding: 5px 7px;
  cursor: pointer;
  bottom: 3vh;
  background-color: #0A66C2;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-size: 16px;  /* Schriftgröße anpassen */
  border: 2px solid #0A66C2;
  width: 100%;
}

@media only screen and (max-width: 1100px) {
  .left-section {
    width: 40%;
  }
  .right-section {
    width: 60%;
  }
  .logo {
    margin-bottom: 0;
    padding-bottom: 1rem;
  }
}

@media only screen and (max-width: 800px) {
  .left-section {
    float: none; 
    position: absolute;
    z-index: 10;  
    width: 100%;
    top: 60vh;
  }

  .top-content {
    height: auto;
    text-align: left;

  }

  .right-section {
    position: absolute;
    width: 100%;
    height: 60vh;
    top: 0;
    position: absolute;
    z-index: 100;  
  }
  .bottom-content {
    height: auto;
    text-align: left;
  }

  .cap-div {
    margin-top: 0vh;
    height: 100%;
    width: auto;
  }
  
  .cap-div img {
    height: 100%;
    width: auto;
  }
  .logo {
    position: absolute;
    z-index: 1000;  
    top: 3%;
  }
  h2 {
    padding-top: 0;
    font-size: 2rem;
  }
  p {
    font-size: 1.2rem;
  }

  .top-content h2 {
    padding-top: 10vh;
  }
  #modal {
    max-width: 100%;
  }

  #DisclaimerBild{
    font-size: 0.9vh;
    bottom: 50vh;
  }


}

.header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
  padding: 1rem;
}

.menu-toggle {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  background-color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  border: 2px solid #0A66C2;
  color: #0A66C2;
}

.dropdown-menu {
  position: absolute;
  top: 3.5rem;
  right: 1rem;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 200px;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu ul li a {
  display: block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s ease;
}

.dropdown-menu ul li a:hover {
  background-color: #f0f0f0;
}
