/* =========================================================
   FLYER
   ========================================================= */

.fly-1 {
  background-image: url(/thumb/Filmposter//Ritter_1.jpg);
}

.fly-2 {
  background-image: url(/thumb/Visitenkarten/JI_SON_KARTE-min.jpg);
}

.fly-3 {
  background-image: url(/thumb/DRAWINGS/Flyer/Gesichter_des_Lebens.png);
}


/* =========================================================
   INTRO / WRAPPER
   ========================================================= */

.intro {
  display: flex;
  justify-content: center;
  width: 100%;
}
.intro2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
}
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(80vw, 1200px);

  margin: 0 auto 10px;
  padding: clamp(30px, 5vw, 50px) 20px;

  text-align: center;
  box-sizing: border-box;
}

.wrapper h1 {
  margin: 20px 0;
  font-size: clamp(2.4rem, 2vw, 1.6rem);
  font-weight: 600;
}
.wrapper p {
  margin: 20px 0;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400;
}

.wrapper h2 {
  margin-top: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.25;
  font-weight: 500;
}

.grid-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
 
  gap: 85px;
  justify-content: center;
  padding-bottom: 50px;
  padding-top: 10px;
  align-items: center;
  
}
 
 @media(max-width: 710px){
    .grid-container{
      margin-right: 0px;
   }
  }

.card{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
  border: 1px solid rgb(75, 82, 92);
  border-radius: 10px;
  background-color: #ffffff;
  text-align: center;
  margin: 10px;
  width: min-content;
  color: black;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.231);

}
.card-image{
 
 background-color: rgb(0, 153, 255);
 height: 300px;
 margin-bottom: 15px;
 background-size: cover;
 width: 300px;
}
@media(max-width:450px){
  .card-image{
    height: 250px;
  width: 250px;
}
.card{
  margin-left: 0px;
}
}
.card button{
  margin-top: 10px;
  font-size: 20px;
  padding: 5px;
  background-color: rgb(37, 88, 117);
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border-radius: 3px;
}
.card button:hover{
  cursor: pointer;
}
.cardlogo{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
 
} .cardlogo img{
  width: 150px;
}
.card a{
  text-decoration: none;
  color: rgb(69, 6, 6);
}
/* CARD */
.card {
  position: relative;
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease;
  border-radius: 12px;
  overflow: hidden;
}

/* Hover auf die gesamte Card */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Bild */
.card-image {
  transition: transform 0.5s ease;
}

/* Bild beim Hover leicht vergrößern */
.card:hover .card-image {
  transform: scale(1.05);
}

/* Button */
.card button {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Button beim Hover */
.card:hover button {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.cta-button {
  position: relative;

  margin-bottom: 30px;
  padding: 1rem 2rem;

  border: 2px solid rgb(215, 75, 19);
  border-radius: 8px;

  background: none;
  box-shadow: 2px 2px 4px rgba(48, 27, 2, 0.404);

  color: rgb(46, 21, 3);

  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 600;

  cursor: pointer;
  overflow: hidden;

  transition: all 0.3s ease;

  max-width: 100%;
  box-sizing: border-box;
}

.cta-button:hover {
  background-color: rgb(215, 75, 19);
  color: whitesmoke;
}

.liquid {
  background:
    linear-gradient(rgb(215, 75, 19) 0 0)
    no-repeat
    calc(200% - var(--p, 0%))
    100% / 200% var(--p, 0.2em);

  transition:
    0.2s var(--t, 0s),
    background-position 0.3s calc(0.3s - var(--t, 0s));
}

.liquid:hover {
  --p: 100%;
  --t: 0.3s;
  color: #fff;
}


/* =========================================================
   HERO / WELCOME
   ========================================================= */

.welcome {
  width: 100%;
  min-height: clamp(300px, 50vw, 500px);

  overflow: hidden;

  background-image: url(/thumb/LandingP/HG_Flyerdesign.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  /*
   * "fixed" verursacht auf vielen mobilen Geräten
   * Probleme bzw. ruckelndes Verhalten.
   */
  background-attachment: scroll;
}


/* =========================================================
   HEADLINE
   ========================================================= */

.headline,
.headline3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: clamp(180px, 35vw, 300px);

  margin: 0;
  padding: 20px;

  line-height: 1.15;
  box-sizing: border-box;

  text-align: center;
}

.headline3 {
  position: absolute;
  left: 0;
}

.headline #best0,
.headline3 #best0 {
  margin: 0;

  color: rgba(255, 153, 0, 0.863);

  font-family:
    "Segoe UI",
    Tahoma,
    Geneva,
    Verdana,
    sans-serif,
    Georgia,
    "Times New Roman",
    Times,
    serif;

  /*
   * Passt sich automatisch an die Bildschirmbreite an.
   */
  font-size: clamp(2rem, 7vw, 4em);

  line-height: 1.1;
  text-shadow: 3px 4px #000000b6;

  overflow-wrap: anywhere;
}


/* =========================================================
   VIDEO
   ========================================================= */

#bg-video {
  position: relative;
  top: 0;
  left: 0;

  z-index: -1;

  width: 100%;
  height: 100vh;

  object-fit: cover;
}

.enter .enterbuttons {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;
  align-items: center;

  gap: 40px;

  width: min(100%, 1000px);

  margin: 10px auto 0;

 
}

.enter{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 700px;
  margin-top: 0px;
  background-image: url(/thumb/LandingP/desertweb1.png);
  background-size: cover;
  padding: 80px 0 80px 0;
  margin-bottom: 0px;
  margin-top: 0px;
  border-bottom: 2px solid red;
}
/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .wrapper {
    width: 90vw;
  }

  .headline,
  .headline3 {
    min-height: 250px;
  }

  .headline #best0,
  .headline3 #best0 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .wrapper {
    width: 100%;
    padding: 30px 15px;
  }

  

  .wrapper h2 {
    margin-top: 15px;
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .grid-container {
    width: 100%;
  }

  .cta-button {
    width: auto;
    max-width: 90%;

    margin-bottom: 20px;
    padding: 0.7rem 1rem;

    font-size: 1rem;
  }

  .welcome {
    min-height: 300px;

    background-position: center;
    background-attachment: scroll;
  }

  .headline,
  .headline3 {
    min-height: 200px;
    padding: 15px;
  }

  .headline #best0,
  .headline3 #best0 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    line-height: 1.1;
    text-shadow: 2px 3px #000000b6;
  }

  #bg-video {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
  }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

  .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

 

  .wrapper h2 {
    font-size: 1.3rem;
  }

  .cta-button {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
  }

  .headline #best0,
  .headline3 #best0 {
    font-size: 1.8rem;
  }
}
