html {
overscroll-behavior:none;

}

body {
    margin: 0;
    background: #0e0e11;
    color: white;
  font-size: 1rem;
    overflow: hidden;
    
  }
  :focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #00ccff91;
  outline-offset: 1px;
}

body.focus-hidden #focus-indicator {
  display: none !important;
}

#focus-indicator {
   position: fixed;
  top: 4rem;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.6rem;
  color: rgba(255, 0, 221, 0.642);
  background:#000924cb;
  outline: 1px solid #cc009973;
  backdrop-filter: blur(5px);
  padding: 8px 8px;
  border-radius: 5px;
  z-index: 19999;
  pointer-events: none;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}





  .sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

.sr-zurueck {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #000;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  z-index: 1000;
  opacity: 0.8;
}







@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Savate';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/savate-v4-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


  #datenschutz {
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 1rem; /* verhindert Scroll-Leisten-Abschnitt */
  }
  #logo-ecke {
    position: fixed;
    top: 0.8em;
    right: 0.8em;
    z-index: 200;
    background: #1e1e1e00;
     border: none;
  }
  
  #logo-ecke img {
    width: 50px; /* oder größer/kleiner nach Wunsch */
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
    
  }
  
  #logo-ecke:hover {
     transform: scale(1.3) ;
     
 
  }

  .settings-button {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    background: none;
    border: none;
    color: #990066;
    opacity: 1;
    cursor: pointer;
  }
  .settings-button:hover {
    color: #0099cc;
    opacity: 1;
  }

  .settings-menu {
  
    position: fixed;
    top: 65px;
    left: 14px;
    background: rgba(0, 9, 36, 1);
    outline: 2px solid rgb(0, 33, 59);
    padding: 1rem;
    border-radius: 5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    backdrop-filter: blur(0px);
  }
  .settings-menu.is-hidden {
    display: none;
  }
  .settings-menu button {
    all: unset; /* 🧹 entfernt alle Standardstile vom Browser */
    background: transparent;
    color: rgb(0, 153, 204);
    cursor: pointer;
  }

  .settings-menu button:hover {
    background: #00092400;
    color: rgb(204, 0, 153);
  }
.settings-menu button:focus-visible {
  outline: 2px solid #00ccff; /* oder deine Wunschfarbe */
  outline-offset: 2px;
  border-radius: 2px; /* optional, damit’s nicht zu hart aussieht */
}



#increase-font:hover img,
#open-cookie-settings:hover img,
#decrease-font:hover img,
#toggle-audio:hover img,
#toggle-focus-indicator:hover img {
  /*filter: drop-shadow(0 0 0px rgb(204, 0, 153));*/
  transform: scale(1.4);
  transition: filter 0.3s ease, transform 0.3s ease;
}



.linkblock ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5em;
}

.linkblock li {
  margin-bottom: 0.4em;
}

.linkblock a {
   font-family:Verdana, Geneva, Tahoma, sans-serif;
   font-size: 0.7em;
  line-height: 1.2;
  color: #0099cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.linkblock a:hover {
  color: #cc0099;
  text-decoration: none;
}












  #scene-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
  }
  

 #mobile-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: rgba(255, 0, 0, 0.0); /* zum Testen sichtbar */
    border: none;
    border-radius: 50%;
    z-index:800;
    pointer-events: auto;
  }
  
  /* Der Ring, der sich ausbreitet */
.ping-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 3px solid rgb(204, 0, 153);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
 
}
.ping-ring.active {
  animation: pulse-ring 2s ease-out;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.7;
  }
  70% {
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}
  /* Nur auf Touch-Geräten anzeigen */
  @media (hover: none) and (pointer: coarse) {
    #mobile-center-btn {
      display: block;
		 z-index: 800;
    }
  }
  
  /* Auf Desktop verstecken */
  @media (hover: hover) and (pointer: fine) {
    #mobile-center-btn {
      display: none;
    }
  }






  #label {
    position: absolute;
    top: 2.7em;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    font-family: 'Savate', sans-serif;
     font-size: 1.8em;
    
    color: #00ccff;
    text-shadow:
      0 0 30px #00ccffba,
      0 0 80px rgba(165, 228, 249, 0.538);
    background: rgba(0, 73, 91, 0);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 200;
  }

  #label.visible {
    opacity: 1;
    transform: translateX(-50%) scale(1);

}
	  
	  
	body.overlay-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}  
	  
  
  .overlay.is-hidden {
    display: none !important;
  }

/* Grundlayout für Overlay */
.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  background-color: rgba(1, 18, 43, 0.882);
    box-shadow: 0 0 20px rgba(11, 75, 101, 0.815);
  backdrop-filter: blur(4px);
  color: #ffffff;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  overflow:hidden;
 
  border-radius: 12px;
  box-sizing: border-box;


}
.overlay-inner {
  max-height: 83vh;
  max-width:85vw;
	padding: 2rem;
	/*margin:2rem; der unsichtbare Abstand */
  box-sizing: border-box;
  background-color: rgba(3, 34, 55, 0);

  border-radius: 12px;
  overflow-y: auto;
	overflow-x: hidden;
 
	
	
}
/* Inhalt zentriert */
.overlay-content {
	background-color: rgba(0, 36, 51, 0);
	font-family: 'Savate', sans-serif;
     font-size: 1.3em;
	border-radius: 8px;
	color: #d6d6d6;
	max-height:80vh; /* 👈 macht das Fenster begrenzt groß */
 	text-align: left;
	overflow: visible;
}
  
/* Bild */
.overlay-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom:1rem;
 	
}

/* Text */
.overlay-content p {
  
  line-height: 1.6;
}


.bilderreihe {
  column-count: 2;        /* Oder 3, 4 – wie viele Spalten du willst */
  column-gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
}

.bilderreihe img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  border-radius: 8px;
  break-inside: avoid;   /* verhindert, dass Bilder „auseinanderbrechen“ */
}


.bilder-text {
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  background: #1a233600;
  color: #eee;
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  font-size: inherit;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  display: block;
  break-inside: avoid;
}




@media (max-width: 600px) {
  .bilderreihe {
    column-count: 1;
  }
}


.hover-preview {
  position: relative;
  display: inline-block;
}

.preview-box {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom: 200%;
  left: 0rem;
  background: rgba(1, 18, 43, 0.882);
   backdrop-filter: blur(4px);
  color: white;
  padding: 2rem;
  width: 250px;
  border-radius: 6px;
  font-size: 0.85rem;
  z-index: 1000;
  box-shadow: 0 0px 10px rgba(0, 153, 204, 0.5);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

@media (max-width: 600px) {
  .preview-box {
     left: 0.5rem;
 width: 200px;
	  padding: 1rem;
  }
}
.hover-preview:hover .preview-box {
  opacity: 1;
  visibility: visible;
}


.film-grid {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  justify-content: flex-start;
}

.film-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 200px;
  max-width: 300px;
  position: relative;
}


.film-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}


.film-player {
  width: 100%;
	height: auto;
  display: block;
  margin-top: 0.5rem;
}

.is-hidden {
  display: none;
}

.film-thumb-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.film-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1em;
  color: white;
  text-shadow: 0 0 5px black;
  pointer-events: none;
}

.video-wrapper {
  position: relative;
  width: 100%;
  margin-top: 0.5rem;
  position: relative;
}

.close-video {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #222;
  color: white;
  border: none;
  border-radius: 50%;
     font-size: 1em;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 10;
}

.close-video:hover {
  background: #555;
}



.contact-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em;
  padding: 1em 0;
  list-style: none;
	
}

.contact-options button,
.coffee-button {
  background: transparent;
  border: 1px solid #8feaff00;
  color: rgb(0, 153, 204);
  font-family: 'Savate', sans-serif;
  font-size: 0.7em;

  margin: 0.2em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
	
}

.contact-options button:hover {
  background-color: rgba(143, 234, 255, 0.1);
  backdrop-filter: blur(4px);
	transform: scale(1.02);
}

.coffee-button {
  min-width: 50px; /* Optional, um Breite anzugleichen */
  height: 50px; 

}

.coffee-button img{
min-width: 50px; /* Optional, um Breite anzugleichen */
height: 50px; 
transform: translateY(8px);/* gleiche Höhe wie andere Buttons */
}

.coffee-button:hover {
  
  backdrop-filter: blur(4px);
  filter: drop-shadow(0 0 8px rgba(143, 234, 255, 0.1));
  transform: scale(1.02);
}


@media (max-width: 768px) {
  .contact-options {
    flex-direction: column;
    align-items: center;
    gap: 1.2em; /* 👉 Abstand zwischen Buttons deutlich erhöhen */
    padding: 0.5em 0;
    margin-top: 1.2em; /* 👉 rückt alles näher zur Überschrift */
  }

  .overlay h2 {
  
    margin-bottom: 0.6em; /* 👉 rückt Überschrift näher an Buttons */
    text-align: center;
  }

  .contact-options button,
  .coffee-button {
    width: 100%;
    max-width: 300px;
    
    padding: 0.8em 1em;
    margin: 0; /* 👉 Abstand wird nur über gap geregelt */
	   z-index: 10000;
  }
}






.overlay-bio {
  font-family:Verdana, Geneva, Tahoma, sans-serif;
   font-size: 0.8em;
  line-height: 1.6;
  white-space: pre-line; /* unterstützt Zeilenumbrüche aus JS */
}
.overlay-bio:empty {
  display: none;
}



/* Schließen-Button */
#closeOverlay {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #ffffff;
   font-size: 1em;
  cursor: pointer;
  z-index: 900;
  transition: transform 0.2s ease;
}

#closeOverlay:hover {
  transform: scale(1.2);
}
  

  

  


  #cursor-ripple {
    position: fixed;
    width: 80px;
    height: 80px;
    border: 8px solid rgb(184, 0, 132);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 800;
    opacity: 0;
    animation: rippleAnim 0.2s ease-out;
  }
  
  @keyframes rippleAnim {
    0% {
      transform: translate(-50%, -50%) scale(0.1);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
    }
  }
  
  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 11, 30);
    color: rgb(83, 83, 83);
    padding: 1.5em;
    text-align: center;
    z-index: 10999;
      font-size: 0.8em;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
  }
  
  .cookie-buttons {
    margin-top: 0.5em;
  }
  
  .cookie-buttons button {
    margin: 0 0.5em;
    padding: 0.5em 1em;
    background: #031a30;
    border: none;
    color: rgb(0, 204, 255);
    cursor: pointer;
    border-radius: 3px;
  }
  
  .cookie-buttons button:hover {
    background: #063b4d;
  }
  
  .cookie-banner a {
    color:rgb(204, 0, 153);
    text-decoration: underline;
   

  }
 #cookie-banner.is-hidden {
  display: none;
}
  .footer-links {
    position: fixed;
    bottom: 1em;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 1.2em;
     font-size: 0.7em;
    font-family: Verdana, sans-serif;
    z-index: 9999;
    
  }
  
 
  .footer-links a {
   /*  font-size: 0.8em;*/
    line-height: 1.2;
    font-family: inherit;
    background: none;
    border: none;
    color: rgb(204, 0, 153);
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    margin: 0;
     
  }
  
  
.footer-links a:hover {
  color:rgb(0, 153, 204);
  text-decoration: underline;
}

html, body {
  overflow: auto !important;
  height: auto !important;
}



