@charset "utf-8";
/* CSS Document */


:root {
   --font-color: #000000;
   --irrgarten-green: #88ba19;
   --abenteuergolf-yellow: rgba(348, 237, 0, .5);
   --maerchenschiff-blue: #0077b1;
   --line-height: 1.15;
   --font-size-body: clamp(1rem, 1rem + .8vw, 1.2rem);
   --body-bg-color: #ffffff;
   --nav-bg: rgba(136, 186, 25, 1);
   --table-bg: rgba(136, 186, 25, 1);
   --nav-fg: #f2f2f2;
   --nav-accent: #f27d16;
   --nav-radius: 8px;
   --nav-transition: 180ms ease;
} 

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    color: var(--font-color);
    scroll-padding-top: 10rem;
}

body {
    margin: 0; 
    padding: 0;   
    background-color: var(--body-bg-color);
}

h1 {font-size: clamp(2.4rem, 2.4rem + 1vw, 2.4rem); font-weight: 700; margin-bottom: 2rem;}
h2 {font-size: clamp(2rem, 2rem + 1vw, 2rem); font-weight: 600; margin-bottom: 1.6rem;}
h3 {font-size: clamp(1.7rem, 1.7rem + 1vw, 1.7rem); font-weight: 200; margin-bottom: 1.3rem;}
p  {font-size: clamp(1rem, 1rem + 1vw, 1.1rem); margin-bottom: 0.6rem; font-weight: 100;}
.cursive {font-family: cursive; text-align: center; padding: 0 1rem;}
    
/* a {color: var(--nav-accent);}
a:hover, a:focus-visible {color: var(--maerchenschiff-blue);} */

main {
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

header {
    background: url("../img/erlebispark-norddeich-abenteuergolf-irrgarten.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 25% center;
    height: 20rem;  
}

nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0rem;
    overflow: hidden;
    z-index: 1000;
}

.img-fluid {
    width: 100%;
    height: auto;
}


.uebersicht {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;   
}
.uebersicht .one {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem; 
}
.uebersicht .one .bold {
    background-color: var(--maerchenschiff-blue);
    font-weight: 600;
    padding: 1rem 0;
    color: var(--nav-fg);
}
.uebersicht .one p {
    padding: 1rem 1rem;
    text-align: center;
}
.one :nth-child(1) { order: 2; margin-top: -6px;}
.one :nth-child(2) { order: 1;}
.one :nth-child(3) { order: 3; text-align: center;}
.one button {
    padding: .5rem 1rem;
    background-color: var(--irrgarten-green);
    color: var(--nav-fg);
    border: 1px solid var(--irrgarten-green);
    border-radius: .6rem;
    -webkit-border-radius: .6rem;
    -moz-border-radius: .6rem;
    -ms-border-radius: .6rem;
    -o-border-radius: .6rem;
    font-size: 1.1rem;
    margin: 1rem 0;
    cursor: pointer;
}
.one button:hover,
.one button:focus-visible {
    color: var(--font-color);
    border: 1px solid var(--font-color);
}

section {
    margin: 4rem 0;
    padding: 0 1rem;
}

#abenteuergolf {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}
#abenteuergolf :nth-child(2) h2 {
    background-color: var(--abenteuergolf-yellow);
    color: var(--nav-fg);
    width: 100%;
    padding: 1rem 0;
    text-align: center;
}
#abenteuergolf .img-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#abenteuergolf .img-grid img {
    max-width: 28%;
    height: auto;
}
/* #abenteuergolf h2,
#irrgarten h2,
#preise h2 {
    border: 2px solid var(--irrgarten-green);
    padding: 1rem 2rem;
} */

#preise h3 {
    letter-spacing: 3px;
    font-weight: 700;
    font-family: cursive;
}

#irrgarten {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}
#irrgarten :nth-child(2) h2 {
    background-color: var(--irrgarten-green);
    color: var(--nav-fg);
    width: 100%;
    padding: 1rem 0;
    text-align: center;
}




#preise h3, #preise h2 {text-align: center;}


.tab {
  position: relative;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
  padding-top: 2rem;
  padding-bottom: 1rem;
}
.tab input:checked ~ .tab__content {
    height: auto;
    max-height: 50rem;
}

.tab label:hover,
.tab label:focus-visible,
.tab label:focus {
    color: var(--body-bg-color);
}

/* Visual styles */
.accordion {
  color: var(--font-color);  
  border-radius: 0rem;
  overflow: hidden;
  -webkit-border-radius: 0rem;
  -moz-border-radius: 0rem;
  -ms-border-radius: 0rem;
  -o-border-radius: 0rem;
}
.tab__label,
.tab__close {
  display: flex;
  color: #000000;
  background: var(--irrgarten-green);
  cursor: pointer;
}
.tab__label {
  padding: 1rem;
  margin-bottom: 4px;
}
.tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  margin-left: auto;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
}
.tab__content {
  padding: 0 1rem;
}

.tab__content li {
    margin-bottom: .5rem;
}

.tab__content a {
    color: var(--nav-accent);
    text-decoration: none;
}

.tab__content a:hover,
.tab__content a:focus-visible {
    color: var(--maerchenschiff-blue);
}

.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
}
.accordion--radio {
  --theme: var(--nav-accent);
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
  -webkit-animation: bounce .5s infinite;
          animation: bounce .5s infinite;
}
@-webkit-keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}




/* bildergalerie */

.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-gap: 1rem;
}
  .gallery-wrapper .image-wrapper a {
    padding: 0.5em;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 200ms ease-in-out;
  }
  .gallery-wrapper .image-wrapper a:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
  .gallery-wrapper .image-wrapper a img {
    width: 100%;
    height: auto;
  }
  
  .gallery-lightboxes .image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0ms ease-in-out;
  }
  .gallery-lightboxes .image-lightbox:target {
    opacity: 1;
    visibility: visible;
    z-index: 1005;
  }
  .gallery-lightboxes .image-lightbox:target .image-lightbox-wrapper {
    opacity: 1;
    transform: scale(1, 1) translateY(0);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper {
    transform: scale(0.95, 0.95) translateY(-30px);
    transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
    opacity: 0;
    margin: 1em auto;
    max-width: 75%;
    padding: 0.5em;
    display: inline-block;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    position: relative;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close {
    width: 1.5em;
    height: 1.5em;
    background: #000;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 0 0 2px white inset, 0 0 5px rgba(0, 0, 0, 0.5);
    position: absolute;
    right: -1em;
    top: -1em;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close:before {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background: #fff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -5px;
    transform: rotate(-45deg);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close:after {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background: #fff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1px 0 0 -5px;
    transform: rotate(45deg);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-left {
    position: absolute;
    top: 0;
    right: 50%;
    bottom: 0;
    left: 0;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-left:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom: 0;
    border-right: 0;
    border-radius: 4px 0 0 0;
    position: absolute;
    top: 50%;
    right: 100%;
    cursor: pointer;
    transform: rotate(-45deg) translateY(-50%);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-right:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0 4px 0 0;
    position: absolute;
    top: 50%;
    left: 100%;
    cursor: pointer;
    transform: rotate(45deg) translateY(-50%);
  }
  .gallery-lightboxes .image-lightbox .image-lightbox-wrapper img {
    margin: 0 auto;
    max-height: auto;
    /* max-height: 70vh; */
  }
  .gallery-lightboxes {
    margin-bottom: 3rem;
  }

/* ENDE bildergalerie */

.hr {
  border: 4px solid var(--irrgarten-green);
  width: 100%;
  margin: 2rem 0;
}

.svg {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
}










footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: var(--irrgarten-green);
    color: var(--font-color);
    padding: 1rem;
}



footer div {
    margin-bottom: 2rem;
}

footer a {color: var(--body-bg-color); text-decoration: none;}
footer a:hover, footer a:focus-visible {color: var(--font-color);}

.fa-phone-square { margin-right: 14px;}
.fa-envelope { margin-right: 12px;}
.fa-globe { margin-right: 14px;}
.fa-clock-o { margin-right: 14px;}
.fa-car { margin-right: 14px;}

footer p {
  font-size: 1rem;
  line-height: 1.2rem;
}

.svgfooter {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.logofooter {
  text-align: center;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 10010;
  cursor: pointer;
}

#impressum {
  width: 100dvw;
  height: 100dvh;
  font-size: 1rem;
  color: white;
  overflow-y: auto;
  padding: 2rem;
}

#impressum h2 {  font-size: 1rem; padding-top: 1.5rem;}
#impressum h3 {  font-size: .8rem; padding-top: 1.5rem;}
#impressum h4 {  font-size: .7rem;}
#impressum p {  font-size: .6rem;}
#impressum ul li {font-size: .6rem;}

footer button {
  background-color: var(--irrgarten-green);
  border: none;
  font-size: 1rem;
  color: #ffffff;
  cursor: pointer;
}

footer button:hover,
footer button:focus-visible {
  color: #000000;
}




/* ab 768 px */
@media (min-width: 48rem) {
    html, body {
      scroll-padding-top: 6rem;
    }
    header {
        height: 28rem; 
        background-position: top left;   
    }

    .uebersicht {       
        flex-direction: row;
        flex-wrap: nowrap; 
        justify-content: space-around;
    }
    .uebersicht .one {
        margin-bottom: 0rem; 
        flex: 0 1 auto;
        max-width: 28%;  
    }
    #irrgarten,
    #abenteuergolf {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    #abenteuergolf img,
    #irrgarten img {
        display: block;
        visibility: visible;
    }
    
    #abenteuergolf :nth-child(2) h2,
    #irrgarten :nth-child(2) h2 {
        background-color: var(--body-bg-color);
        color: var(--font-color);
        width: auto;
        padding: 1rem 0;
        text-align: left;
    }
    .gallery-wrapper {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(3, 1fr);
      grid-gap: 1.5rem;
    }
    #irrgarten .gallery-wrapper,
    #abenteuergolf .gallery-wrapper {
      min-width: 30%;
      padding-right: 4rem;
    }
    #irrgarten .text,
    #abenteuergolf .text {
      padding: 0 4rem;
    }
    footer {      
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      flex-wrap: wrap;
      background-color: var(--irrgarten-green);
      color: var(--font-color);
      padding: 1rem;
  }
  footer .logofooter:nth-child(1) {
    padding-top: 1rem;
  }
    
}

@media (min-width: 90rem) {
  header {
    height: 44rem; 
    background-position: top center;   
  }
}


