/* #####################
        Font 
###################### */

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* #####################
        Global 
###################### */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body{
    background-color: #fff;
    font-family: 'Inter', sans-serif;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    pointer-events: auto;
}

.main-content {
    flex: 1;
    background-color: #FAFAFA;
}

/* #####################
        Header 
###################### */
.header{
    background-color: #FAFAFA;
    position: sticky;
    display: block;
    top: 0;
    max-width: 100%;
    height: 60px;
    z-index: 110;
}
/* Logo */
.logo{
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 5px;
    margin-top: 5px;
}

/* Nav menu */
.nav{
    width: 100%;
    position: fixed;
    top: 60px;
    background-color: #fafafa;
    overflow: hidden;
    display: flex;
    justify-content: center;
    text-align: center;
}
.menu a{
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #333333;
}

.nav{
    max-height: 0;
    transition: max-height 0.5s ease-out;
}

/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 26px 20px;
}/* Style label tag */

.hamb-line {
    background: #333333;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background: #333333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}
.side-menu {
  display: none;
} /* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: 100%;
    pointer-events: auto;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

body:has(.side-menu:checked) {
  overflow: hidden;
}

/* Responsiveness */
@media (min-width: 1100px) {
    .logo{
      position: static;
      margin-right: 735px;
    }
    .nav{
        margin-top: 10px;
        max-height: 60px;
        max-width: 1100px;
        top: 0;
        background-color: transparent;
        display: flex;
        justify-content: flex-end;
    }
    .menu li{
        float: left;
    }
    .menu a{
      display: block;
      padding-top: 18px;
      padding-right: 20px;
      color: #333333;
    }
    .menu a:hover{
        background-color: transparent;
        color: #333333;
    }
    .hamb{
      display: none;
    }
    .header{
      background-color: #fafafa;
      position: sticky;
      display: flex;
      justify-content: center;
      align-items: center;
      top: 0;
      width: 100%;
      height: 80px;
    }

}

/* #####################
        Footer 
###################### */
footer {
    padding: 20px;
    background-color: #FAFAFA;
    font-size: 16px;
    margin: 0;
    display: table-row;
    justify-content: center;
    color: #333333;
    z-index: 100;
}

footer a {
    text-decoration: none;
    color: #333333;
}

footer a:hover {
  text-decoration: none;
  color: #d72828;
}

.footer-cell {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  text-align: center;
}


/* index.html */
    #confetti-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 99;
    }

    .confetti {
      position: absolute;
      border-radius: 50%;
      opacity: 0;
      animation: konfettikanone 1.5s ease-out forwards;
    }

    @keyframes konfettikanone {
      0% {
        transform: scale(0.2) translate(0, 0);
        opacity: 0;
      }
      15% {
        transform: scale(1.8);
        opacity: 1;
      }
      100% {
        transform: translate(var(--dx), var(--dy)) rotate(720deg);
        opacity: 0;
      }
    }

    @keyframes konfettikanone-final {
      0% {
        transform: scale(0.2) translate(0, 0);
        opacity: 0;
      }
      15% {
        transform: scale(1.8);
        opacity: 1;
      }
      100% {
        transform: translate(var(--dx), var(--dy)) rotate(720deg);
        opacity: 1; /* bleibt sichtbar */
      }
    }


#section-honeycomb {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

/*
.hex-grid.custom-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
}

.hex-row {
  display: flex;
  gap: 0rem;
  margin-left: 20px;
}

.hex {
  width: 180px;
  aspect-ratio: 1 / 1;
  perspective: 1000px;
  cursor: pointer;
  margin-top: -40px;
  margin-left: -20px;
  z-index: 100;
}

.hex-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.hex.flipped .hex-inner {
  transform: rotateY(180deg);
}

.hex-front,
.hex-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: bold;
  text-align: center;
}

.hex-front {
  background-color: #f2c94c;
  color: #000;
}

.hex-back {
  background-color: #fff;
  transform: rotateY(180deg);
}

.hex-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inherit;
}

@media (max-width: 480px) {
  .hex {
    width: 120px;
    aspect-ratio: 1 / 1;
    perspective: 1000px;
    cursor: pointer;
    margin-top: -26px;
    margin-left: -12px;
    z-index: 100;
  }

}
*/
.hex-grid.custom-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hex-row {
  display: flex;
  margin-left: 20px;
}

.hex {
  width: 180px;
  height: calc(180px * 1);
  perspective: 1000px;
  cursor: pointer;
  z-index: 100;
  margin: 0;
}

.hex-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.hex.flipped .hex-inner {
  transform: rotateY(180deg);
}

.hex-front,
.hex-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: bold;
  text-align: center;
}

.hex-front {
  background-color: #f2c94c;
  color: #000;
}

.hex-back {
  background-color: #fff;
  transform: rotateY(180deg);
}

.hex-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inherit;
}

@media (max-width: 480px) {
  .hex {
    width: 180px;
    height: calc(180px * 1);
    perspective: 1000px;
    cursor: pointer;
    z-index: 100;
    margin: 0;
    z-index: 100;
  }
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.left-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff3cd;
  padding: 2rem;
  margin-top: 60px;
  border-radius: 30px;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.left-content {
  text-align: center;
}

.left-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
  letter-spacing: 2px;
}

.left-content .subtitle {
  font-size: 2rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.cta-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #f2c94c;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.cta-link:hover {
  background-color: #e6b800;
}

.right-box {
  padding: 1rem;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .left-box {
    margin-top: 1rem;
    max-width: 90%;
  }

  .right-box {
    padding: 1rem 0;
  }

  .left-content h1 {
    font-size: 1.6rem;
  }

  .left-content .subtitle {
    font-size: 1.3rem;
  }

  .cta-link {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

#section-session {
  background-color: #fffde7; /* sanftes Gelb */
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.session-wrapper {
  max-width: 1100px;
  width: 100%;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.session-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.session-left,
.session-right {
  flex: 1 1 45%;
}

.session-left h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.session-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.session-right h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #444;
}

.session-dates {
  list-style: none;
  padding: 0;
  margin: 0;
}

.session-dates li {
  background-color: #fff3cd;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  color: #333;
}

.session-dates li strong {
  color: #000;
}

#section-impressum,
#section-datenschutz {
  padding: 3rem 1rem;
  background-color: #fffdf5;
  display: flex;
  justify-content: center;
}

.legal-wrapper {
  max-width: 1100px;
  width: 100%;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.legal-wrapper h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #222;
}

.legal-wrapper p {
  margin-bottom: 1rem;
}

#section-historie {
  background-color: #fffef7;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.historie-wrapper {
  max-width: 1100px;
  width: 100%;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.historie-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.historie-text {
  flex: 2;
  min-width: 250px;
}

.historie-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.intro {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.highlight {
  background-color: #fff3cd;
  padding: 1rem;
  border-left: 6px solid #f2c94c;
  font-weight: bold;
  border-radius: 8px;
}

.historie-logo {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.historie-logo img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.historie-block {
  margin-bottom: 2rem;
}

.historie-block h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #f2c94c;
}

.historie-block p {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .historie-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .historie-logo {
    text-align: left;
    margin-top: 1.5rem;
  }

  .historie-logo img {
    max-height: 200px;
  }
}


#section-vorstand {
  background-color: #fffef7;
  padding: 0rem 1rem;
  display: flex;
  justify-content: center;
  padding-bottom: 60px;
}

.vorstand-wrapper {
  max-width: 1100px;
  width: 100%;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  color: #333;
}

.vorstand-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.vorstand-liste {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.vorstand-liste li {
  margin-bottom: 0.5rem;
}

.vorstand-bild {
  text-align: center;
}

.vorstand-bild img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  width: 100%;
}

    .countdown-container {
      max-width: 1100px;
      width: 100%;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      padding: 2rem;
      text-align: center;
      z-index: 100;
    }

    .countdown-container h1 {
      margin-bottom: 1rem;
      font-size: 1.2rem;
      font-weight: 400;
      text-align: left;
    }

    .countdown {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
    }

    .time-box {
      flex: 1 1 120px;
      background: #f2c94c;
      color: black;
      border-radius: 8px;
      padding: 1rem;
    }

    .time-box span {
      display: block;
      font-size: 2rem;
      font-weight: bold;
    }

    .label {
      margin-top: 0.5rem;
      font-size: 1rem;
      opacity: 0.8;
    }

    @media (max-width: 600px) {
      .time-box {
        flex: 1 1 45%;
      }
    }

#social {
  text-align: center;
  margin-top: 30px;
  padding: 2rem;
  background-color: #fff3cd;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1rem;
  background-color: #f2c94c;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.contact-section {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.6rem;
  color: #222;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.field label {
  margin-bottom: 0.3rem;
  font-weight: bold;
  color: #333;
}

.field input,
.field textarea {
  border: 1px solid #555;
  border-radius: 5px;
  padding: 0.5rem;
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #008000;
  box-shadow: 0 0 4px rgba(0,128,0,0.3);
}

.field input:valid,
.field textarea:valid {
  border-color: #008000;
}

.actions {
  display: flex;
  justify-content: flex-start;
}

.actions button {
  background-color: #f2c94c;
  color: black;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.actions button:hover {
  transform: translateY(-1px);
}

/* Grün, wenn ausgefüllt */
.field input:valid,
.field textarea:valid {
  border-color: #008000;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.consent label a {
  color: #f2c94c;
  text-decoration: none;
}

.consent label a:hover {
  text-decoration: underline;
}
