/* figtree-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/figtree-v8-latin-regular.woff2") format("woff2");
}

/* figtree-700 - latin */
@font-face {
  font-display: swap;
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/figtree-v8-latin-700.woff2") format("woff2");
}

/* ===== BASIC ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

figure {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Figtree", sans-serif;
  font-size: 29px;
  color: #000;
  background-color: #fff;
}

.mobileonly {
  display: none;
}

.desktoponly {
  display: block;
}

.ausblenden {
  display: none;
}

.bg-weiss {
  background: #fff;
}

.bg-hellviolett {
  background: #d8d9ff;
}

.bg-violett {
  background: #a9aaff;
}

p {
  font-size: 29px;
  line-height: 35px;
  margin: 0;
}

.fett {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 65px;
  line-height: 72px;
  font-weight: 700;
}

h3 {
  font-size: 38px;
  line-height: 46px;
  font-weight: 700;
}

h3.kandidat-name {
	font-size: 30px;
	line-height: 33px;
	min-height: 75px;
}

h4 {
  font-size: 34px;
  line-height: 38px;
  font-weight: 700;
  margin-bottom: 15px;
}

.text-only p {
  margin-bottom: 25px;
  font-size: 24px;
  line-height: 30px;
}

.text-only h3 {
  font-size: 33px;
  line-height: 41px;
}

.text-klein {
  font-size: 22px;
}

.text-klein-fett {
  font-size: 22px;
  font-weight: 700;
}

.pflichtfelder {
  font-size: 18px;
  margin-top: -10px;
}

.weisstext {
  color: #fff;
}

.textblock-schmal {
  padding: 50px 0;
  width: clamp(500px, 80%, 1000px);
}

.text-events {
  font-size: 22px;
  padding: 50px 0;
  width: clamp(500px, 70%, 1000px);
}

.trennlinie {
  display: block;
  max-width: 100%;
  margin: 10px auto;
  height: 1px;
  background: #000;
}

.abstand-20 {
  display: block;
  height: 20px;
}

.abstand-50 {
  display: block;
  height: 50px;
}

.abstand-80 {
  display: block;
  height: 80px;
}

a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  color: inherit;
}

/* --- fadein bei scroll --- */
.fade {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.fade_in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */

/* --- Navigation --- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 0 60px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar .logo {
  display: flex;
  gap: 50px;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
}

.navbar .logo a {
  text-decoration: none;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
}

.logo-bnz {
  font-size: 60px;
  font-weight: 700;
  color: #000;
  letter-spacing: 7px;
}

.logo-text {
  font-size: 30px;
  font-weight: 400;
  color: #000;
}

/* Navi */
ul.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar .menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.navbar .menu a,
.mobile-menu a {
  position: relative;
  display: inline-block;
  width: auto !important;
  text-decoration: none;
  font-weight: 400;
  font-size: 20px;
  color: #000;
  white-space: nowrap;
}

.mobile-menu div,
.mobile-menu li {
  display: block;
  width: calc(100% + 40px);
  border-top: #000 1px solid;
  margin-left: -20px;
  padding: 20px 40px;
}

.mobile-menu div:last-of-type,
.mobile-menu li:last-of-type {
  border-bottom: #000 1px solid;
}

/* Hover-Effekt */
.navbar .menu a::after,
.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background-color: #000;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar .menu a:hover::after,
.mobile-menu a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* active Zustand */
.navbar .menu a.active::after,
.mobile-menu a.active::after,
.navbar .menu .current-menu-item a::after,
.mobile-menu .current-menu-item a::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Burger Button */

.burger {
  width: 32px;
  height: 24px;
  cursor: pointer;
  display: none;
  position: relative;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: #0f172a;
  border-radius: 0px;
  transition: all 0.4s ease;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 10px;
}

.burger span:nth-child(3) {
  top: 20px;
}

/* Animation: Burger â†’ X */
.burger.open span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}


.mobile-menu {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
}

.mobile-menu.show {
  transform: translateY(0);
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 800;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background-color: #a9aaff;
  isolation: isolate;
}

.hero-content {
  position: relative;
  max-width: 1480px;
  margin: 160px auto 0px auto;
  padding: 0px 60px;
  z-index: 200;
}

.headline {
  font-size: clamp(35px, 7vw, 70px);
  font-weight: 700;
  z-index: 200;
}

.subline {
  width: min(70%, 800px);
  font-size: clamp(18px, 3vw, 38px);
  line-height: clamp(24px, 4vw, 48px);
  margin-top: 50px;
  z-index: 200;
}



/* --- Slideshow --- */
.hero-slideshow {
  position: absolute;
  right: 4vw;
  bottom: 0;
  width: 50vw;
  max-width: 700px;
  height: auto;
  max-height: 80svh;
  z-index: 0;
}

.hero-slideshow img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.hero-slideshow img.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== CONTENT ===== */

.seite-ohne-hero {
  margin: 120px auto 0px auto;
}

.content-wrapper {
  width: 100%;
}

.content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0px 60px;
}

.info-box {
  display: flex;
  width: 100%;
  gap: 20px;
  padding: 50px 0px 80px 0px;
}

.info-box-item {
  width: calc(50% - 10px);
  text-align: left;
  align-self: flex-start;
}

.event-separator {
  border-top: #000 1px solid;
}

.event-box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  padding: 50px 0px 80px 0px;
}

.event-box-item {
  text-align: left;
}

.wahl-box {
  display: flex;
  width: 100%;
  gap: 50px 20px;
  padding: 50px 0px 80px 0px;
}

.wahl-box-item:first-of-type {
  flex: 2;
  text-align: left;
  align-self: flex-start;
}

.wahl-box-item:last-of-type {
  flex: 1;
  text-align: left;
  align-self: flex-start;
}

/* ===== BUTTONS ===== */

/* .cta-alt {
    padding: 12px 26px;
    border-radius: 100vmax;
    background: #FCFB72;
    color: #000;
    text-decoration: none;
    font-size: 29px;
    font-weight: 400;  
  } */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 26px;
  background: #fcfb72;
  color: #000;
  text-decoration: none;
  font-size: 29px;
  font-weight: 400;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background: #e5e44f;
}

/* ===== Akkordeon ===== */

.accordion-box {
  margin: 30px auto 70px auto;
}

.accordion {
  background-color: transparent;
  color: #000;
  cursor: pointer;
  padding: 10px 0;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  line-height: 28px;
  transition: 0.4s;
}

.acc-header {
  padding: 30px 0px 30px 100px;
}

.accordion:first-child {
  border-top: 1px solid #000;
}

.accordion:before {
  content: "";
  height: 1px;
  background-color: #000;
  border-radius: 2px;
  width: 60px;
  transition: 0.5s;
  float: left;
  margin: 50px 0 0 0;
}

.accordion span:before {
  content: "";
  height: 1px;
  background-color: #000;
  border-radius: 2px;
  width: 60px;
  transition: 0.5s;
  transform: rotate(90deg);
  float: left;
  margin: 20px 0 0 -100px;
}

.acc-active:before {
  content: "";
  height: 1px;
  background-color: #000;
  border-radius: 2px;
  width: 60px;
  transition: 0.5s;
  float: left;
  margin: 50px 0 0 0;
}

.acc-active span:before {
  content: "";
  height: 1px;
  background-color: #000;
  border-radius: 2px;
  width: 60px;
  transition: 0.5s;
  transform: rotate(0deg);
  opacity: 0;
  float: left;
  margin: 20px 0 0 -100px;
}

.panel {
  padding: 0 0 0 100px;
  border-bottom: 1px solid #000;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  text-align: left;
}

.panel p {
  padding-bottom: 50px;
}



/* ===== Kandidaten grid ===== */

.kandidaten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  justify-content: start;
  max-width: 100%;
  margin: 60px auto 20px auto;

}

.kandidaten-element fade {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  text-decoration: none !important;
  max-width: 520px;
}

.kandidaten-bild {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #D8D9FF;
}

.kandidaten-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kandidat-name {
  padding: 20px 0;
}

.kandidat-textbox {
  margin: 30px 0;
}

.kandidat-textbox p {
	font-size: 20px;
	line-height: 25px;
	min-height: 84px;
}


/* ===== Kontakt ===== */


.form-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 60px 0;
}


.form-text {
  flex: 0 0 50%;
}


form {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}


.form-row {
  display: flex;
  gap: 20px;
}

.form-row.textarea-row {
  margin-top: 20px;
}


.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  flex: 1 1 100%;
}


.form-field label,
.pflichtfelder p {
  margin-bottom: 6px;
  font-size: 22px;
}

.form-contact p {
  font-size: 22px;
  line-height: 28px;
}

.form-field input,
.form-field textarea {
  padding: 12px;
  border: none;
  background: #fff;
  font-size: 22px;
  resize: vertical;
  box-sizing: border-box;
  border-radius: 0px;
  width: 100%;
}


/* ===== FOOTER ===== */

footer {
  padding: 40px 0;
}

/* Social Icons */
.footer-top {
  display: flex;
  gap: 25px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-top img {
  width: 32px;
  height: 32px;
  display: block;
  filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
  transition: filter 0.3s ease;
}

.footer-top img:hover {
  filter: invert(23%) sepia(0%) saturate(83%) hue-rotate(137deg) brightness(92%) contrast(82%);
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 24px 0;
  width: 100%;
}

/* Impressum & Datenschutz */
.footer-bottom,
#menu-bottom-menu {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom li,
#menu-bottom-menu li {
  display: inherit;
}

.footer-bottom a,
#menu-bottom-menu a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-bottom a:hover,
#menu-bottom-menu a:hover {
  color: #000;
}

/* ===== MEDIA QUERIES ===== */

@media only screen and (max-width: 1060px) {
  body {
    font-size: 24px;
  }

  h2 {
    font-size: 45px;
    line-height: 52px;
  }

  h3 {
    font-size: 32px;
    line-height: 40px;
  }

  .text-only p {
    margin-bottom: 21px;
    font-size: 20px;
    line-height: 26px;
  }

  .text-only h3 {
    font-size: 29px;
    line-height: 37px;
  }

  .text-klein {
    font-size: 20px;
  }

  .text-klein-fett {
    font-size: 20px;
    font-weight: 700;
  }

  .text-events {
    font-size: 20px;
    padding: 40px 0;
    width: clamp(400px, 70%, 800px);
  }

  p {
    font-size: 24px;
    line-height: 30px;
  }

  .kandidat-name {
    font-size: 35px;
    line-height: 40px;
  }

  .navbar .logo {
    gap: 20px;
  }

  .logo-bnz {
    font-size: 50px;
    letter-spacing: 5px;
  }

  .logo-text {
    font-size: 25px;
    font-weight: 400;
    color: #000;
  }

  .accordion-box {
    margin: 20px auto 50px auto;
    padding: 0 20px;
  }

  .acc-header {
    padding: 14px 0px 14px 60px;
  }

  .panel {
    padding: 0 0 0 60px;
  }

  .panel p {
    padding-bottom: 30px;
  }

  .accordion:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 40px;
    transition: 0.5s;
    float: left;
    margin: 30px 0 0 0;
  }

  .accordion span:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 40px;
    transition: 0.5s;
    transform: rotate(90deg);
    float: left;
    margin: 15px 0 0 -60px;
  }

  .acc-active:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 40px;
    transition: 0.5s;
    float: left;
    margin: 30px 0 0 0;
  }

  .acc-active span:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 40px;
    transition: 0.5s;
    transform: rotate(0deg);
    opacity: 0;
    float: left;
    margin: 15px 0 0 -60px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-field {
    width: 100%;
  }


}

@media only screen and (max-width: 900px) {
  .navbar .menu {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero-slideshow {
    right: 50%;
    transform: translateX(50%);
    width: 80vw;
    max-width: 500px;
    max-height: 60svh;
  }

  .info-box,
  .wahl-box,
  .event-box {
    flex-direction: column;
  }

  .info-box-item {
    width: 100%;
  }

  .event-box-item {
    width: 100%;
  }

  .cta:first-of-type {
    margin-bottom: 25px;
  }

  .form-wrapper {
    flex-direction: column;
  }

  .form-text,
  .contact-form {
    flex: 1 1 100%;
    width: 100%;
    padding-bottom: 30px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-field {
    width: 100%;
  }

}

@media only screen and (max-width: 819px) {
  .kandidat-textbox p,
  .kandidat-name h3 {
    min-height: inherit;
  }
}

@media only screen and (max-width: 600px) {

  .seite-ohne-hero {
    margin: 80px auto 0px auto;
  }

  .navbar {
    height: 80px;
    padding: 0 30px 0 20px;
  }

  .navbar .logo {
    gap: 20px;
  }

  .logo-bnz {
    font-size: 38px;
    letter-spacing: 3px;
  }

  .logo-text {
    font-size: 18px;
  }

  .mobile-menu {
    top: 80px;
  }

  .content {
    padding: 0px 20px;
  }

  .hero-content {
    padding: 0px 20px;
    margin: 110px auto 0px auto;
  }

  h2 {
    font-size: 35px;
    line-height: 41px;
  }

  h3 {
    font-size: 20px;
    line-height: 24px;
  }

  h4 {
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .text-klein {
    font-size: 18px;
  }

  .text-klein-fett {
    font-size: 18px;
    font-weight: 700;
  }

  .subline {
    width: 100%;
    font-size: 20px;
    line-height: 24px;
    margin-top: 40px;
  }

  .textblock-schmal {
    padding: 30px 0;
    width: 100%;
  }

  .event-box {
    padding: 30px 0px 50px 0px;
  }

  .text-events {
    font-size: 20px;
    padding: 20px 0 30px 0;
    width: 100%;
  }

  .wahl-box {
    padding: 30px 0px 40px 0px;
  }

  .kandidaten-grid {
    margin: 20px auto 20px auto;
  }

  .form-wrapper {
    padding: 30px 0;
  }

  .form-field label,
  .pflichtfelder p,
  .form-contact p {
    margin-bottom: 6px;
    font-size: 17px;
  }

  p {
    font-size: 20px;
    line-height: 24px;
  }

  .abstand-50 {
    height: 30px;
  }

  .abstand-80 {
    height: 50px;
  }

  .cta {
    padding: 10px 20px;
    font-size: 20px;
  }

  .cta:first-of-type {
    margin-bottom: 15px;
  }

  .acc-header {
    padding: 10px 0px 10px 40px;
  }

  .accordion:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 20px;
    transition: 0.5s;
    float: left;
    margin: 20px 0 0 0;
  }

  .accordion span:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 20px;
    transition: 0.5s;
    transform: rotate(90deg);
    float: left;
    margin: 9px 0 0 -40px;
  }

  .acc-active:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 20px;
    transition: 0.5s;
    float: left;
    margin: 20px 0 0 0;
  }

  .acc-active span:before {
    content: "";
    height: 1px;
    background-color: #000;
    border-radius: 2px;
    width: 20px;
    transition: 0.5s;
    transform: rotate(0deg);
    opacity: 0;
    float: left;
    margin: 9px 0 0 -40px;
  }

  .panel {
    padding: 0 0 0 40px;
  }

  .panel p {
    padding-bottom: 20px;
    font-size: 17px;
    line-height: 24px;
  }

  footer {
    padding: 30px 0;
  }

  .footer-top {
    gap: 20px;
  }

  .footer-top img {
    width: 28px;
    height: 28px;
  }

  .footer-bottom {
    gap: 20px;
  }

  .footer-bottom a,
  #menu-bottom-menu a {
    font-size: 16px;
  }

}