



:root {
    --primary-color: #232d48;
    --secondary-color: #ffd900;
    --third-color: #ffffff0c;
  }
  


body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Roboto', sans-serif; 
    
   
    
	/* font-family: urw-din, sans-serif; */

	font-style: normal;
	
}


  
iframe {
  border: none;
  outline: none;
}

.pointer {
  cursor: pointer;
}
p{

   line-height:1.5em;
   font-weight: 100;
   font-size: 10pt; 
}

.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgb(130,143,182);
    background: radial-gradient(circle, rgba(130,143,182,1) 0%, rgba(40,48,68,1) 100%);
    
        }
          


.hook {
  position: flex;
 height: 10px;
  width: 10px;
  
  background-color: aliceblue;
}

/* Für verborgene Divs */
.hidden-div {
  display: none;
  opacity: 0;  /* Initiale Transparenz für die Animationswirkung */
  transition: opacity 0.5s ease-in-out; /* Übergang für die Opazität */
}

.v3d-simple-preloader-background {
  background-color: var(--primary-color);
}

.v3d-simple-preloader-container {
  width: 20%;
  
}
.v3d-simple-preloader-bar {
  background: var(--secondary-color);
  width: 20%;
}

.v3d-simple-preloader-logo {

  background-image:url("..//assets/logo.svg");
    background-size: cont;
}

/* Für die zurück-Taste */
.back-btn {
  position: absolute;
  right: -220px;
  top: -25px;
  height: 25px;
  width: 25px;
  cursor: pointer;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
}

.back-btn:hover {
  background-color: #0056b3;
}


.visible-div p {
  

  color: var(--primary-color);
}
/* Fade-In Animation */
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}







.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }



.posContainer{
    position: relative;
    top: 15%;
    max-width: 400px;
    max-height: 800px;
    left: 5%;
}

.infoWrapper{
    display: flex;
   

}


.container {
    display: flex;
    flex-direction: column; /* Anordnung der Kinder-Elemente in einer Spalte */
    justify-content:space-between; /* Verteile die Elemente gleichmäßig */
    height: 50vh; /* Der Container nimmt die volle Höhe des Viewports ein */
    text-align: center;
    background-color: var(--primary-color);
    padding: 10px;
    opacity: 0.95;
    box-shadow: 5px 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    }
  

 /* Grundeinstellung für alle Close-Buttons */
.close-btn{
  position:absolute;      /* frei im Overlay platzieren             */
  top:-12px;               /* Abstand vom oberen Rand                */
  left:-12px;             /* Abstand vom rechten Rand               */

  width:32px; height:32px;
  border:none;
  border-radius:50%;
  background:white;
  color:var(--primary-color);
  font-size:18px;
  font-weight:700;
  line-height:32px;       /* vertikal zentriert                     */
  text-align:center;
  cursor:pointer;
  transition:background .2s ease;
}

.close-btn:hover{
  background:var(--secondary-color);     /* etwas dunkler/heller beim Hover        */
}



  /* Style für die einzelnen Boxen */
  .item {
    text-transform: uppercase;
    display: flex;
    position: relative;
    height: 100%;
    align-items: center;
    color: aliceblue;
    justify-content: space-between;
    padding-left: 5%;
    cursor: pointer;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    background-color: var(--primary-color);
    transition: background-color 0.5s ease-in-out; /* Sanfter Übergang für Hintergrundfarbe */
}

.item:last-child {
    border-bottom: none;
}

.item img {
    padding-right: 10%;
    height: auto;
    width: 15%;
    transition: transform 0.3s ease-out; /* Übergang für das Bild */
}

.item:hover {
    background-color: var(--third-color); /* Hintergrundfarbe beim Hover */
}

hr {
    display: block;
    width: 90%;
    color: cadetblue;
    opacity: 0.5;
}

.hover-text {
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-text:hover {
    transform: translateX(15px);
}

.item:hover .hover-text {
    transform: translateX(15px);
    color: var(--secondary-color) !important;
}

.item img:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}


.hover-text {
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
 

  .item:hover::after {
   content: url(../assets/arrow.svg);
    position: absolute;
    right: 5%; /* Pfeil nach rechts verschieben */
    top: 50%;
    fill: var(--secondary-color);
   width: 7%;
    transform: translateY(-50%); /* Vertikal zentrieren */
    filter: invert(79%) sepia(56%) saturate(1393%) hue-rotate(360deg) brightness(104%) contrast(103%);
    
 
  }



.highlight {
  
   
    color: var(--secondary-color); /* Ändert die Hintergrundfarbe */
     
 
}

/* 
.grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  min-width: 550px;
  width: 100%;
  margin: auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-color);
} */


.grid-layout{
  /* war: width: 100%;  →  nimmt immer die volle Fensterbreite */
  width: fit-content;            /* nur so breit wie nötig (Fallback s. u.) */
  max-width: 70vw;               /* Sicherheitslimit, damit’s nie rausragt */
  /* Höhe wird automatisch berechnet, daher keine height-Angabe nötig */
  height: fit-content;           /* explizit für Klarheit */
 padding: 4%;
  display: inline-grid;          /* inline-grid schrumpft eleganter als block */
    
  opacity: .95;
  border-radius: 4px;                  /* hübscher Abstand der Grid-Zeilen */
background-color: var(--primary-color); 
  /* …Rest deiner Styles lassen wir wie gehabt: Padding, Border, Shadow, BG… */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.title {
  
  text-align: left;
  /* font-size: 1.5em;
  font-weight: bold; */
  color: white;

  
}

h3{
  text-transform: uppercase;
  font-weight: 300;
font-size: 10pt;
white-space: nowrap;  
}

h2{
  text-transform: uppercase;
 font-size: 16pt;

}

.content {
   display:grid;
  /* linke Spalte nie kleiner als 220 px,
     wächst aber höchstens bis 1 fr; rechts bleibt 2 fr  */
  grid-template-columns:minmax(200px,1fr) 1fr;
  gap:20px;                     
  align-items:start;  
  
  color: white;
 
  
}

.image-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Horizontal zentrieren */
  align-items: center;      /* Vertikal zentrieren */
  width: 100%;              /* Stellt sicher, dass der Container die gesamte Breite einnimmt */
  height: 100%;             /* Stellt sicher, dass der Container die gesamte Höhe einnimmt */
  gap: 20px;  
}


.image{
  width: 100%;
  height: auto;
  max-height: 300px;   /* wenn du eine Obergrenze willst */
  object-fit: contain; /* Bild wird nie beschnitten */
  filter: url(#dropshadow);  /* SVG-Filter anwenden */

}


.text {
 margin-bottom: 10%;

  
}

.links {
  
  display:inline;
  gap: 15px;
  font-size: 10pt;

  
}
.links a {

  padding:10px
}

.text-link {
  color: rgb(27, 33, 92);
  text-decoration: none;
  font-weight: bold;
  background-color: var(--secondary-color);
}

.text-link:hover {
  color: aliceblue;
}

.text-section {
  
letter-spacing: -0.2px;
  padding-top: 15%;
}



/* .v3d-annotation {

  background-color: var(--secondary-color);
border-radius: 2px;
color: var(--primary-color);
top: -3%;
left: 5px;

} */
.v3d-annotation {
  font-family: inherit;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 4px;
  height: auto;
  pointer-events: all;
  opacity: 1 !important;
  letter-spacing: 1px;

  position: absolute;
  top: -5%;
  left: 15px;

  display: grid;
  /* Beispielhafte Grid-Erweiterung: */
  /* grid-template-columns: 1fr; */
  /* gap: 8px; */
}

@media (max-width:768px){
    .image-wrapper{ justify-content: center;}
    .image{height: 200px;}
  .content{ grid-template-columns: 1fr; }
  .text-section{padding: 5%; text-align: center;}
  .title{text-align: center;}
 

}