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

/*
Author: Zehnpixel 
Author URI: https://zehnpixel.de/
Version: 1.0.7
A Theme for FRECH GROUP
Date: 2025-06-01
*/

/* ················································ */
/* :            _                 _          _    : */
/* :    _______| |__  _ __  _ __ (_)_  _____| |   : */
/* :   |_  / _ \ '_ \| '_ \| '_ \| \ \/ / _ \ |   : */
/* :    / /  __/ | | | | | | |_) | |>  <  __/ |   : */
/* :   /___\___|_| |_|_| |_| .__/|_/_/\_\___|_|   : */
/* :                       |_|                    : */
/* ················································ */

/***CONTENT---------

01. Reset + Basics
  02. Menu and Drawer
  03. Footer
  99. Media Queries

  ----- ***/


/* 01. Reset + Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin:0;
  padding:0;

}
body {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
  background-color: #000;
}

strong {
  font-weight: 800;
}

h1 {
  color: #fff;
  font-weight: 400;
}
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 50vh;
}

main {
  flex: 1;
}

#header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  z-index: 20;
}
#menu-button, #lang-switch {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

#logo {
  height: 40px;
}
#lang-switch img {
  width: 24px;
  height: 24px;
}

.slogan {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  z-index: 2;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.slogan h1 {
  font-size: 2.5em;
  line-height: 1.2;
}
.tooltip {
  position: relative;
  /*display: inline-block;*/
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 0.9em;
  position: absolute;
  z-index: 1;
  top: 55px;
  }
  
  .tooltip .tooltiptext.globe {
    margin-left:-30px;
    font-size: 0.45em;
    top: 40px;
  }


  .tooltip .tooltiptext.castfex {
     top: 120px;
  }

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
}

.toast {
  position: fixed;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  text-align: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.toast.show {
  opacity: 1;
}



/* 02.  Menu and Drawer */ 
#drawer {
  position: fixed;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: rgba(220,221,221,1);
  color: white;
  padding: 100px 50px;
  transition: left 0.3s ease;
  z-index: 15;
}
#drawer.open {
  left: 0;
}
.main-menu {
  list-style: none;
}
.main-menu li {
  margin-bottom: 25px;
  padding: 15px;
}
.main-menu a, #open-gallery {
  background: none;
  border: none;
  color: #151515;
  font-size: 1.5em;
  line-height: 1.5em;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  font-family: 'Roboto Condensed', Arial, sans-serif;
}


.main-menu li:hover, #open-gallery:hover {
  background-color: #f6f6f6;
  border-radius: 5px;
  width: 100%;
}

.menu-item-active {
  background-color: #f6f6f6!important;
  border-radius: 5px;
  /*padding: 15px 47px 15px 15px;
  margin: -15px;
  width: 100%;*/
}

.menu-deactivated {
  color: #9f9f9f;
  cursor: default;
    font-size: 1.5em;
  line-height: 1.5em;
}


#sub-drawer {
  position: fixed;
  top: 0;
  left: 100%;
  /*width: 460px;*/
  inline-size: 35%;
  height: 100%;
  background: rgba(195, 199, 199, 1);
  color: white;
  padding: 25px 65px 50px 65px;
  transition: left 0.3s ease;
  z-index: 20;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* für weiches Scrollen auf iOS */
}
#sub-drawer.open {
  left: 35%;
}
#close-sub {
  background: none;
  border: none;
  color: #151515;
  font-size: 22px;
  cursor: pointer;
  position: sticky;
  top: 0;
  padding: 0 0px 20px 0px;
  width: 110%;
  text-align: right;
}

.gallery-block[hidden] {
  display: none !important;
}
.gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.gallery img {
  width: 100%;
  border-radius: 5px;
  transition: transform 0.2s;
}


.hover-image {
  position: relative;
  display: block;
  width: 100%;
   aspect-ratio: 2 / 1; /* Oder 16 / 9, je nach gewünschtem Format */
  overflow: hidden;
}

.hover-image img {
  display: block;
  width: 100%;
  transition: opacity 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.hover-image img.base {
  z-index: 1;
  opacity: 1;
}

.hover-image img.hover {
  z-index: 2;
  opacity: 0;
}

.hover-image:hover img.hover {
  opacity: 1;
}

.hover-image:hover img.base {
  opacity: 0;
}

/* 03. Footer */

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px 10px;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
#footer a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}


/* 99. Media Queries */


@media (min-width: 1200px) {
  
  .slogan h1 {
    font-size: 3.5em;
    line-height: 1.2;
  }


  #drawer {
    width:460px;
    left: -460px;
  }

  #sub-drawer {
    width: 460px;
   
  }

  #sub-drawer.open {
  left: 460px;
  }
}

@media (max-width: 1000px) {
  #drawer {
  position: fixed;
  top: 0;
  left: -45%;
  width: 45%;
  }
  
  #sub-drawer.open {
  left: 45%;
  }
  
}

/*@media (max-width: 768px) {
  .slogan {
    font-size: 1.5em;
    left: 5%;
  }
}*/



@media (max-width: 600px) {

    #header {
      padding: 25px;
    }

    .main-menu li {
      margin-bottom: 15px;
    }
    .main-menu a, #open-gallery, .menu-deactivated {
      font-size: 1.2em;
      line-height: 1.2;
    }
    #drawer {
      width: 100%;
      left: -100%;
      padding: 75px 25px;
    }
    #sub-drawer {
      width: 100%;
    }
    #sub-drawer.open {
      width: 100%;
      left:0;
      z-index: 999;

    }
    #drawer.open {
      left: 0;
    }

    .slogan h1 {
    font-size: 1.5em;
    line-height: 1.2;
  }
  
}

@media (hover: none) and (pointer: coarse) {
  .tooltip .tooltiptext {
    display: none !important;
  }
}
