/* =========================================================
   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%;
}

.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(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
}

.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
   ========================================================= */

.grid-container {
  width: 100%;
  margin-right: 0;
  border-bottom: none;
  box-sizing: border-box;
}


/* =========================================================
   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;
}


/* =========================================================
   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 h1 {
    margin: 15px 0;
    font-size: 1.2rem;
  }

  .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 h1 {
    font-size: 1.1rem;
  }

  .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;
  }
}