/*
Theme Name: negitiv
Template: blankslate
*/

:root {
  --green: #2b4735;
  --beige: #fdffd7;
  --primary: #fff;
  --secondary: #35631d;
  --darkgreen: #294235;
}
.iti__arrow {
  border-top-color: #fff !important;
}
.iti__arrow--up {
  border-bottom-color: #fff !important;
}
.iti__dropdown-content {
  background-color: #000 !important;
}
.gfield.gfield--type-phone {
  z-index: 1;
}
/* Fonts */
@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("f/ZalandoSansSemiExpanded-Regular.woff2") format("woff2"),
    url("f/ZalandoSansSemiExpanded-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("f/ZalandoSansSemiExpanded-Bold.woff2") format("woff2"),
    url("f/ZalandoSansSemiExpanded-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "icomoon";
  src: url("f/icomoon.eot?t523ht");
  src: url("f/icomoon.eot?t523ht#iefix") format("embedded-opentype"),
    url("f/icomoon.ttf?t523ht") format("truetype"),
    url("f/icomoon.woff?t523ht") format("woff"),
    url("f/icomoon.svg?t523ht#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-youtube:before {
  content: "\e904";
}
.icon-soundcloud:before {
  content: "\e900";
}
.icon-x:before {
  content: "\e901";
}
.icon-tiktok:before {
  content: "\e902";
}
.icon-ra:before {
  content: "\e903";
}
.icon-facebook-with-circle:before {
  content: "\e905";
}
.icon-youtube-with-circle:before {
  content: "\e906";
}
.icon-instagram-with-circle:before {
  content: "\e907";
}
.icon-spotify:before {
  content: "\e908";
}
.icon-telegram:before {
  content: "\e909";
}
.icon-whatsapp:before {
  content: "\e90a";
}

/* Body & General */
body {
  background-color: #222;
  font-family: "Zalando Sans SemiExpanded", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadein 2s;
  line-height: 1.15;
  background-color: var(--green);
}
body {
  background-image: url(i/background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
main {
  z-index: 0;
  position: relative;
}
@media (min-width: 768px) {
  main {
    position: unset;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* Typography */
.font-sec {
  font-family: "Helvetica Neue LT Std", Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5 {
  font-weight: bold;
}
h1,
.h1 {
  font-size: 2.5rem;
}
h2,
.h2 {
  font-size: 2rem;
}
h3,
.h3 {
  font-size: 1.75rem;
}
h4,
h5,
.h4,
.h5 {
  font-size: 1.25rem;
}
.intro-content-text h2 {
  font-size: 1rem;
  font-weight: normal;
}
.fancybox-slide .fancybox-content {
  max-width: 600px;
  background-color: transparent;
  padding: 44px 16px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.fancybox-content a {
  display: inline-block; /* ensures wrapping works in some layouts */
  word-break: break-word;
  overflow-wrap: anywhere;
}
.fancybox-content {
  word-break: normal; /* Standard-Umbruchverhalten */
  overflow-wrap: break-word; /* Lange Wörter bei Bedarf umbrechen */
  hyphens: auto !important; /* Bindestriche beim Umbruch automatisch setzen */
}
.fancybox-slide--iframe .fancybox-content iframe {
  border: 0.4rem solid #2b4735;
}
/* Links */
a {
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
}
a:hover {
  opacity: 0.9;
}
a[data-fancybox]:hover {
  cursor: pointer;
}
nav a {
  font-size: 12px;
  padding: 1rem;
  display: block;
  letter-spacing: 0.125rem;
}
/* Utilities */
.color_black {
  color: #000;
}
.color_white {
  color: #fff;
}
ul {
  list-style: none;
  padding: 0;
}
.nomargin ul,
.nomargin p {
  margin-bottom: 0;
}
.position-relative {
  position: relative;
}
.mh100vh {
  height: 100vh;
  min-height: 100vh;
}
input:focus,
button:focus,
a:focus,
:focus {
  outline: none;
}

/* Buttons */
.btn {
  font-family: Helvetica, sans-serif;
  border-radius: 0;
}
.btn:hover {
  opacity: 1;
}
.btn-check:focus + .btn,
.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
.btn-outline-small {
  white-space: nowrap;
  border: 1px solid white;
  font-size: 1rem;
  font-weight: bold;
  line-height: 2;
  padding: 0.85rem 1.125rem 0.6rem;
}
.btn-outline-small:hover {
  background-color: #222;
  color: #fff;
  border-color: #222;
}
.btn.btn-primary.btn-sm,
.ticketseasonpass {
  color: var(--beige);
}
.btn-primary:hover,
a:hover > .btn-primary {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}
.btn-whatsapp:hover {
  background-color: var(--green);
  color: var(--beige) !important;
}
.btn.round-button {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  border-radius: 3px;
  padding-bottom: 0.3em !important;
}
.round-button:hover {
  background-color: #222;
  border-color: #222;
}
.subline {
  letter-spacing: 0.2rem;
}
/* Header & Intro */
.centerlogo {
  width: 100%;
  height: auto;
  max-width: 250px;
}
.fade-up-text {
  display: inline-block;
  overflow: hidden;
}

.fade-up-text .char {
  display: inline-block;
  opacity: 0;
}

.intro-content {
  z-index: 1;
  position: relative;
}

.introimage {
  position: absolute;
  top: auto;
  width: 100%;
  height: 100vh;
  z-index: -1;
  text-align: center;
  bottom: 0;
}
.logocontainer p {
  transition: opacity 0.3s ease-in-out;
}

body.newsletterpopup-open .logocontainer p {
  opacity: 0;
}
@media (min-width: 768px) {
  .introimage {
    top: 10vh;
    height: 90vh;
  }
}
.introimage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% bottom;
}
.intro-content-text-mobil h2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-content-text-mobil h2 span {
  display: block;
  margin-bottom: 0.25rem;
}
.intro-content-text-mobil h2 span:last-child {
  margin-bottom: 0;
}

/* Footer */
#footer {
  background-color: var(--secondary);
  color: var(--primary);
  z-index: 1;
}
#footer .btn-primary {
  color: var(--beige);
}
#footer a {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
#footer a:hover,
#footer a:hover::before {
  background-color: var(--secondary); /* rectangle turns secondary on hover */
}
#footer a::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--leftPos);
  width: 100%;
  height: 100%;
  background: #111;
  z-index: -1;
  transition: none; /* GSAP will handle the animation */
}

@media (min-width: 768px) {
  #footer {
    background-color: transparent;
  }
  #footer a::before {
    display: none;
  }
  #footer a:hover,
  #footer a:hover::before {
    background-color: transparent;
  }
  #footer a:hover {
    color: #eee;
  }
}
#footer .footercol {
  width: 100%;
}

.home #mainheader {
  position: absolute;
  top: 0;
}
.home main {
  height: 100vh;
}
.socials_right li a {
  font-size: 1.75rem;
}
.socials_right [class*="icon-"]::before {
  display: inline-block; /* ensures transform works */
  transition: all 0.3s ease; /* put transition here */
}

.socials_right [class*="icon-"]:hover::before {
  transform: scale(1.15); /* zoom effect */
}
@media (min-width: 768px) {
  .socials_right li a {
    font-size: 1.5rem;
  }

  .home #mainheader {
    position: sticky;
    top: 0;
  }
  .home main {
    height: auto;
  }
}

/* Media Queries */
@media (min-width: 768px) {
  .intro-content-text p {
    margin-bottom: 0.25rem;
  }
  .intro-content-text h2 {
    font-size: 1.15rem;
  }
  .centerlogo {
    max-width: 275px;
  }
  #mainheader .subtitle_1 {
    font-size: 2rem;
  }
  #mainheader .subtitle_2 {
    font-size: 2.125rem;
  }
}
@media (min-width: 992px) {
  #mainheader .subtitle_2 {
    font-size: 2.375rem;
  }
}
@media (min-width: 1300px) {
  .container {
    max-width: 820px;
  }
  #days.container {
    max-width: 1200px;
  }
}

/* Cookie box */
.brlbs-cmpnt-dialog.brlbs-cmpnt-dialog-box {
  max-width: 720px;
}
h2.entry-title {
  font-size: 1rem;
}

#gf-fancybox-form {
  max-width: 375px;
}

/* Hide validation errors */
#gform_wrapper_1 .gform_validation_errors {
  display: none !important;
}

/* Form spacing variables */
body #gform_fields_1 {
  --gf-form-gap-x: 5px;
  --gf-form-gap-y: 5px;
  --gf-form-footer-margin-y-start: 24px;
  --gf-form-footer-gap: 8px;
  --gf-field-gap-x: 5px;
  --gf-field-gap-y: 5px;
  --gf-field-list-btns-gap: 8px;
  --gf-field-list-btns-width: calc(
    32px + var(--gf-field-list-btns-gap) + var(--gf-field-gap-x)
  );
  --gf-label-width: 30%;
  --gf-label-req-gap: 6px;
}

/* Global CSS variables */
:root {
  --gf-input-bg: var(--green);
  --gf-input-text-color: #fff;
  --gf-input-border-color: var(--green);
  --gf-input-border-radius: 0px;
  --gf-input-padding: 0.375em 0.75em;
  --gf-input-focus-border-color: var(--darkgreen);
  --gf-input-focus-box-shadow: none;
  --gf-placeholder-color: #fff;
  --gf-button-bg: #fff;
  --gf-button-text-color: var(--green);
  --gf-button-hover-bg: #f9f9f9;
  --gf-button-border-radius: 0px;
}

/* Input fields and textareas */
.gform_wrapper .gfield input[type="text"],
.gform_wrapper .gfield input[type="email"],
.gform_wrapper .gfield input[type="number"],
.gform_wrapper .gfield input[type="password"],
.gform_wrapper .gfield input[type="url"],
.gform_wrapper .gfield input[type="tel"],
.gform_wrapper .gfield textarea,
.gform_wrapper .gfield input.iti__tel-input {
  background-color: var(--gf-input-bg);
  color: var(--gf-input-text-color);
  border: 1px solid var(--gf-input-border-color);
  border-radius: var(--gf-input-border-radius);
  padding: var(--gf-input-padding);
  width: 100%;
  box-sizing: border-box;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
.gform_wrapper .gfield input:focus,
.gform_wrapper .gfield textarea:focus {
  border-color: var(--gf-input-focus-border-color);
  box-shadow: 0 0 0 3px var(--gf-input-focus-box-shadow);
  outline: none;
}

/* Disabled / readonly */
.gform_wrapper .gfield input[disabled],
.gform_wrapper .gfield textarea[disabled],
.gform_wrapper .gfield input[readonly],
.gform_wrapper .gfield textarea[readonly] {
  background-color: #f5f5f5;
  color: #999999;
  cursor: not-allowed;
}

/* Placeholder styling (all inputs + ITI phone input) */
.gform_wrapper .gfield input::placeholder,
.gform_wrapper .gfield textarea::placeholder,
.gform_wrapper .gfield input.iti__tel-input::placeholder {
  color: var(--gf-placeholder-color, #fff);
  opacity: 1;
}

/* Submit button styling */
#gform_wrapper_1 .gform_footer .gform_button,
#gform_wrapper_1 .gform_footer input[type="submit"] {
  background-color: var(--gf-button-bg);
  color: var(--gf-button-text-color);
  border-radius: var(--gf-button-border-radius);
  border: none;
  padding: 0.5em 0.5em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
  max-width: 100%;
  outline: none;
}

#gform_wrapper_1 .gform_footer .gform_button:hover,
#gform_wrapper_1 .gform_footer input[type="submit"]:hover {
  background-color: var(--gf-button-hover-bg);
}

#gform_wrapper_1 .gform_footer {
  margin-block-start: 5px;
}
#gform_wrapper_1 .gfield_checkbox label {
  color: #fff;
}

.validation_message {
  display: none !important;
}
/*error */
/* Add red border for fields with validation errors */
.gform_wrapper .gfield.gfield_error input,
.gform_wrapper .gfield.gfield_error textarea,
.gform_wrapper .gfield.gfield_error select,
.gform_wrapper .gfield.gfield_error label {
  border-color: red;
}
#gform_wrapper_1 .gfield_error label {
  color: red;
}
#gform_wrapper_1 .gfield_error input[type="checkbox"] {
  background-color: #eee;
}
/* Optionally, for required fields that are empty */
.gform_wrapper .gfield.gfield_contains_required input:invalid,
.gform_wrapper .gfield.gfield_contains_required textarea:invalid,
.gform_wrapper .gfield.gfield_contains_required select:invalid {
  border-color: red;
}

/* Optional: add a subtle box-shadow for better visibility */
.gform_wrapper .gfield.gfield_error input:focus,
.gform_wrapper .gfield.gfield_contains_required input:focus,
.gform_wrapper .gfield.gfield_error textarea:focus,
.gform_wrapper .gfield.gfield_contains_required textarea:focus,
.gform_wrapper .gfield.gfield_error select:focus,
.gform_wrapper .gfield.gfield_contains_required select:focus {
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
}

/* Make button the positioning context */
.gform_wrapper .gform_footer .gform_button,
.gform_wrapper .gform_footer input[type="submit"] {
  position: relative; /* needed for absolute spinner inside */
  overflow: hidden; /* optional: hide overflow for nicer effect */
}

/* Absolute spinner */
img.gform_ajax_spinner {
  position: fixed !important;
  z-index: 999999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.7);
  background-image: url('data:image/svg+xml,<svg width="24" height="24" stroke="%23fff" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><circle cx="12" cy="12" r="9.5" fill="none" stroke-width="1" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" calcMode="spline" values="0 150;42 150;42 150;42 150" keyTimes="0;0.475;0.95;1" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" repeatCount="indefinite"/><animate attributeName="stroke-dashoffset" dur="1.5s" calcMode="spline" values="0;-16;-59;-59" keyTimes="0;0.475;0.95;1" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" repeatCount="indefinite"/></circle><animateTransform attributeName="transform" type="rotate" dur="2s" values="0 12 12;360 12 12" repeatCount="indefinite"/></g></svg>');
  background-repeat: no-repeat;
  background-size: 2rem;
  background-position: center center;
  content: "";
}

#gform_wrapper_1 .gfield {
  opacity: 0;
  transform: translate(0px, -20px);
}

#gform_wrapper_1 .gform_footer .gform_button {
  opacity: 0;
  transform: translate(0px, -20px);
}

#gform_wrapper_1 .gfield,
#gform_wrapper_1 .gform_footer .gform_button {
  opacity: 0;
  transform: translateY(-20px);
}

/* When Gravity Forms detects an error → show everything */
#gform_wrapper_1.gform_validation_error .gfield,
#gform_wrapper_1.gform_validation_error .gform_footer .gform_button {
  opacity: 1 !important;
  transform: none !important;
}

.fancybox-close-small {
  opacity: 0;
}
.gform_confirmation_message {
  padding: 1rem !important;
  background-color: #000 !important;
}
.gform_confirmation_message p {
  margin-bottom: 0 !important;
}
body.home li.menu-item.homeonly {
  display: none;
}
.fade-up-text {
  display: inline-block;
  overflow: hidden;
}

.fade-up-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}
@media (max-width: 768px) and (orientation: portrait) {
  .centerlogo {
    padding-top: calc(21vh);
  }
}
#gf-fancybox-form {
  overflow: visible;
}
body .iti--container {
  z-index: 999999;
}
