/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/***********
* Media Queries
***********/

/**
* header - Element mit Text und Button versetzen, da sonst es sonst in die Flaschen rutscht.
*/

@media screen and (min-width: 831px) and (max-width: 870px) {
  .header-grid-text {
    -ms-grid-column-align: start;
    justify-self: start;
    right: -7px;
  }
}

@media screen and (min-width: 871px) and (max-width: 970px) {
  .header-grid-text {
    -ms-grid-column-align: center;
    justify-self: center;
    right: 0px;
  }
}

@media screen and (min-width: 971px) and (max-width: 1250px) {
  .header-grid-text {
    -ms-grid-column-align: center;
    justify-self: center;
  }
}

/**
  * Flasche bei zu schmaler Displaybreite ausblenden, da sie sonst in das Video rutscht.
  */

@media screen and (max-width: 1175px) {
  section.section-video {
    background: none;
    background-size: 0;
  }
}

/**
  * Für Retina Displays
  */

@media screen and (min-width: 2500px) {
  section .section-info-left {
    background: url("../img/normans_gin-relax-h700@2x.webp");
    background-size: 496px auto;
  }
}

/* @media screen and (min-width: 1000px) and (-webkit-min-device-pixel-ratio: 2),
    screen and (min-width: 1000px) and (min-resolution: 192dpi),
    screen and (min-resolution: 2dppx) {
    section .section-info-left {
      background: url("../img/normans_gin-relax-h700@2x.jpg");
    }
  } */

/* @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    section .section-info-left {
      background: url("../img/normans_gin-relax-h700@2x.jpg");
    }
  } */

/***********
* Mobile Darstellung
***********/

@media screen and (max-width: 830px) {
  body {
    -ms-grid-columns: unset;
    grid-template-columns: unset;
    -ms-flex-line-pack: unset;
    align-content: unset;
    -webkit-box-align: unset;
    -ms-flex-align: unset;
    align-items: unset;
    display: unset;
    -webkit-box-pack: unset;
    -ms-flex-pack: unset;
    justify-content: unset;
    justify-items: unset;
  }

  #template-container {
    display: unset;
    grid-column: unset;
    -ms-grid-columns: unset;
    grid-template-columns: unset;
  }

  nav,
  header,
  section,
  footer {
    max-width: unset;
  }

  /* Alle Elemente die nur in der mobilen Version gezeigt werden sollen einblenden. */
  .mobile-show {
    display: block;
  }

  /**
  * Header
  */

  header {
    background-position: -690px 0px;
    background-size: auto 907px;
    -ms-grid-columns: minmax(10px, 1fr) 1fr minmax(10px, 1fr);
    grid-template-columns: minmax(10px, 1fr) 1fr minmax(10px, 1fr);
    -ms-grid-rows: 85px 494px 88px 232px;
    grid-template-rows: 85px 494px 88px 232px;
    margin-bottom: 32px;
  }

  header > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  header > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }

  header > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }

  header > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  header > *:nth-child(5) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }

  header > *:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
  }

  header > *:nth-child(7) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }

  header > *:nth-child(8) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
  }

  header > *:nth-child(9) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }

  header > *:nth-child(10) {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
  }

  header > *:nth-child(11) {
    -ms-grid-row: 4;
    -ms-grid-column: 2;
  }

  header > *:nth-child(12) {
    -ms-grid-row: 4;
    -ms-grid-column: 3;
  }

  nav {
    max-width: 430px;
  }

  #nav-grid {
    -ms-grid-columns: 14px 11px auto 11px auto 11px auto 11px auto 11px 14px;
    grid-template-columns: 14px auto auto auto auto 14px;
    gap: 11px;
    justify-items: center;
  }

  #nav-logo {
    padding: 0px 0px 0px 0px;
  }

  #nav-impressum {
    -ms-grid-column: 4;
    -ms-grid-column-span: 1;
    grid-column: 4/5;
  }

  #nav-datenschutz {
    -ms-grid-column: 5;
    -ms-grid-column-span: 1;
    grid-column: 5/6;
  }

  .header-col-middle {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: 115px 25px 435px;
    grid-template-rows: 115px 25px 435px;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 2;
    grid-row: 2/4;
  }

  .header-col-left {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 88px 1fr;
    grid-template-rows: 88px 1fr;
    justify-items: center;
    grid-column: 1/-1;
    -ms-grid-row: 3;
    -ms-grid-row-span: 2;
    grid-row: 3/5;
    z-index: 3;
  }

  .header-col-left > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  .header-col-left > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }

  .header-col-left > *:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  .header-col-left > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }

  .header-col-right {
    display: none;
  }

  .header-grid-logo {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    grid-row: 1/3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    width: 332px;
  }

  .header-grid-bottle {
    -ms-grid-row-align: start;
    align-self: start;
    -ms-grid-row: 2;
    -ms-grid-row-span: 2;
    grid-row: 2/4;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
  }

  .header-grid-sirnormans_gin-relax {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    grid-row: 1/-1;
    height: 320px;
    -ms-grid-column-align: end;
    justify-self: end;
  }

  .header-grid-sirnormans_gin-relax img {
    height: 435px;
    position: relative;
    right: -25px;
  }

  .header-grid-text {
    -ms-grid-row-align: start;
    align-self: start;
    grid-column: 1/-1;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column-align: center;
    justify-self: center;
    position: unset;
    right: unset;
    text-align: center;
    width: 215px;
  }

  /**
  * Sections mit 3 Spalten
  */

  section.section-grid-3-cols {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -ms-grid-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(40px, 1fr);
    grid-template-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(
        40px,
        1fr
      );
    -ms-grid-rows: auto auto auto;
    grid-template-rows: auto auto auto;
  }

  section.section-grid-3-cols > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  section.section-grid-3-cols > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }

  section.section-grid-3-cols > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }

  section.section-grid-3-cols > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  section.section-grid-3-cols > *:nth-child(5) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }

  section.section-grid-3-cols > *:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
  }

  section.section-grid-3-cols > *:nth-child(7) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }

  section.section-grid-3-cols > *:nth-child(8) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
  }

  section.section-grid-3-cols > *:nth-child(9) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }

  section .section-grid-1st-col {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
  }

  section .section-grid-2nd-col {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
  }

  section.section-grid-3-cols picture {
    padding-bottom: 30px;
  }

  section .section-grid-3rd-col {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3/4;
  }

  /**
  * Section Info
  */
  section.section-info {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 442px auto;
    grid-template-rows: 442px auto;
    justify-items: center;
    margin-bottom: 20px;
  }
  section.section-info > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  section.section-info > *:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  section .section-info-left {
    background: url(../img/norman-mobile.jpg);
    background-size: auto 442px;
    background-position: 0 0;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
  }

  section .section-info-middle {
    display: none;
    grid-column: unset;
    grid-row: unset;
  }

  section .section-info-right {
    -ms-grid-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(40px, 1fr);
    grid-template-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(
        40px,
        1fr
      );
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    padding: 0px 0px 0px 0px;
    width: 100%;
  }

  section .section-info-text-mobile {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
  }

  .padding-tb-45-0-25-0 {
    padding: 15px 0px 45px 0px;
  }

  section.section-info h2 {
    line-height: 1.1;
  }

  section .section-info-right .section-info-text-mobile h5 + p {
    padding-bottom: 20px;
  }

  /**
  * Section section-grid-3-cols-seperated
  */

  section.section-grid-3-cols-seperated {
    -ms-grid-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(40px, 1fr);
    grid-template-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(
        40px,
        1fr
      );
    -ms-grid-rows: auto auto auto;
    grid-template-rows: auto auto auto;
  }

  section.section-grid-3-cols-seperated > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  section.section-grid-3-cols-seperated > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }

  section.section-grid-3-cols-seperated > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }

  section.section-grid-3-cols-seperated > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }

  section.section-grid-3-cols-seperated > *:nth-child(5) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }

  section.section-grid-3-cols-seperated > *:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
  }

  section.section-grid-3-cols-seperated > *:nth-child(7) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }

  section.section-grid-3-cols-seperated > *:nth-child(8) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
  }

  section.section-grid-3-cols-seperated > *:nth-child(9) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }

  section.section-grid-3-cols-seperated .section-grid-1st-col {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
  }

  section.section-grid-3-cols-seperated .section-grid-2nd-col {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
  }
  
    section.section-grid-3-cols-seperated .section-grid-2nd-col2 {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
  }

  section.section-grid-3-cols-seperated .section-grid-3rd-col {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3/4;
  }

  .v-line {
    display: none;
  }

  section.section-grid-3-cols-seperated div {
    border-bottom: 1px solid rgba(var(--color-brown), 1);
    padding: 50px 0px 15px 0px;
  }

  /**
  * Section Partner
  */

  section.section-partner {
    -ms-grid-columns: minmax(40px, 1fr) 0px minmax(100px, 300px) 0px
      minmax(100px, 300px) 0px minmax(40px, 1fr);
    grid-template-columns:
      minmax(40px, 1fr) minmax(100px, 300px) minmax(100px, 300px)
      minmax(40px, 1fr);
    gap: 0px 0px;
    justify-items: end;
  }

  section.section-partner h2,
  section.section-partner p,
  section.section-partner picture + div {
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 2/4;
  }

  section .section-partner-col1,
  section .section-partner-col3 {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    padding: 0px 7px 0px 0px;
  }

  section .section-partner-col2,
  section .section-partner-col4 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
    -ms-grid-column-align: start;
    justify-self: start;
    padding: 0px 0px 0px 7px;
  }

  section .section-partner-col1,
  section .section-partner-col2,
  section .section-partner-col3,
  section .section-partner-col4 {
    padding-bottom: 7px;
  }

  section.section-partner h2 {
    line-height: 0.8;
  }

  section.section-partner h2 + p {
    padding: 25px 0px 25px 0px;
    text-align: center;
  }

  section .partner-logo {
    display: none;
  }

  section.section-partner picture + div {
    -ms-grid-column-align: center;
    justify-self: center;
    padding-top: 30px;
    text-align: center;
  }

  section.section-partner picture + div h4 {
    padding-bottom: 15px;
  }

  /**
  * Section Gestrichelte Trennlinie
  */
  section.section-seperator {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 50px;
    grid-template-rows: 50px;
  }
  section.section-seperator > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }

  section.section-seperator svg {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
  }

  /**
  * Section Video
  */
  section.section-video {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    background: unset;
    background-size: unset;
    -ms-grid-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(40px, 1fr);
    grid-template-columns: minmax(40px, 1fr) minmax(200px, 600px) minmax(
        40px,
        1fr
      );
    margin-bottom: 40px;
  }

  section.section-video video {
    grid-column: 1/-1;
    padding-bottom: 30px;
  }

  section.section-video p {
    padding: 25px 0px 40px 0px;
  }

  section.section-video a {
    margin-bottom: 45px;
  }

  section.section-video picture {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
  }

  section.section-video picture img {
    height: 415px;
  }

  /**
  * Footer
  */
  footer {
    -ms-grid-columns: minmax(40px, 1fr) minmax(100px, 300px)
      minmax(100px, 300px) minmax(40px, 1fr);
    grid-template-columns:
      minmax(40px, 1fr) minmax(100px, 300px) minmax(100px, 300px)
      minmax(40px, 1fr);
    -ms-grid-rows: 40px 205px 120px 75px;
    grid-template-rows: 40px 205px 120px 75px;
    justify-items: center;
  }
  footer > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  footer > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
  }
  footer > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  footer > *:nth-child(4) {
    -ms-grid-row: 1;
    -ms-grid-column: 4;
  }
  footer > *:nth-child(5) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  footer > *:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
  }
  footer > *:nth-child(7) {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
  }
  footer > *:nth-child(8) {
    -ms-grid-row: 2;
    -ms-grid-column: 4;
  }
  footer > *:nth-child(9) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  footer > *:nth-child(10) {
    -ms-grid-row: 3;
    -ms-grid-column: 2;
  }
  footer > *:nth-child(11) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  footer > *:nth-child(12) {
    -ms-grid-row: 3;
    -ms-grid-column: 4;
  }
  footer > *:nth-child(13) {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
  }
  footer > *:nth-child(14) {
    -ms-grid-row: 4;
    -ms-grid-column: 2;
  }
  footer > *:nth-child(15) {
    -ms-grid-row: 4;
    -ms-grid-column: 3;
  }
  footer > *:nth-child(16) {
    -ms-grid-row: 4;
    -ms-grid-column: 4;
  }

  footer .row-2 {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3/4;
  }

  footer .col-1 {
    -ms-grid-row-align: end;
    align-self: end;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-column-align: start;
    justify-self: start;
  }

  footer .row-2-3 {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
  }

  footer .col-2 {
    grid-column: 1/-1;
  }

  footer .col-3 {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
  }

  footer .row-3 {
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    grid-row: 4/5;
  }

  footer .col-3-mobile {
    grid-column: 1/-1;
  }

  .footer-socialmedia-icons {
    -ms-flex-item-align: end;
    -ms-grid-row-align: end;
    align-self: end;
    -ms-grid-column-align: end;
    justify-self: end;
    padding-bottom: 14px;
  }

  .footer-links {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }
}
