/* 300 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/poppins-v21-latin-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-v21-latin-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-v21-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-v21-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 1rem;
  scroll-behavior: smooth;
  touch-action: manipulation;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior: none;
}

body {
  min-height: 100vh;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: white;
  touch-action: manipulation;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior: none;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1rem;
}

* {
  box-sizing: border-box;
}

/* ===== Section Untertitel & Intro (allgemein) ===== */
.section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1rem;
}

.section-intro {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

/* ===== Spezielle Links in section-intro ===== */
.intro-link {
  color: #25303b;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.intro-link:hover,
.intro-link:focus {
  color: #ffcf21;
  text-decoration: none;
}

@media screen and (max-width: 550px) {
  .section-subtitle {
    font-size: 1.2rem;
  }

  .section-intro {
    font-size: 0.9rem;
  }
}

/* ===== */

.subtitle {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 2rem;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.imprint-heading,
.privacy-heading {
  margin-top: 5rem;
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
}

.imprint-text,
.privacy-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5rem;
  margin: 1rem 0;
}

.container {
  max-width: 1100px;
  width: calc(100% - 3rem) !important;
  margin: 0 auto;
}

@media screen and (max-width: 550px) {
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1rem;
  }
}

/* ===== TITEL-STYLING ===== */

.title__container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 5rem;
}

.title__line {
  flex: 1;
  border: none;
  border-top: 2px solid #25303b;
  border-radius: 1rem;
}

/* ===== ABOUT US===== */

.about-us::after {
  content: '';
  display: table;
  clear: both;
}

.textbox__block {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5rem;
  margin-top: 1.6rem;
}

.textbox__image--link {
  float: right;
  width: 300px;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: block;
}
.textbox__image--link img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 870px) {
  .textbox__image--link {
    width: 220px;
  }
}

@media (max-width: 550px) {
  .textbox__image--link {
    float: none;
    width: auto;
    max-width: 100%;
    margin: 2rem auto;
    display: block;
  }
  .textbox__text {
    text-align: left;
  }
}

.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Design-Tokens / Variablen ===== */
:root {
  --nav-h: 5rem; /* nur als Fallback */
  --nav-h-shrunk: 3rem; /* nur als Fallback */
  --nav-py: 0.75rem; /* vertikales Padding normal */
  --nav-py-shrunk: 0.25rem; /* vertikales Padding geschrumpft → enger */
  --shrink-extra-top: 5px; /* NEU: Extra Luft nach oben im Shrink-State */
  --logo-h: 3.5rem;
  --logo-h-shrunk: 2.5rem;
  --font: 1rem;
  --font-shrunk: 0.9rem;
  --cta-py: 0.5rem;
  --cta-px: 1.5rem;
  --cta-py-shrunk: 0.3rem;
  --cta-px-shrunk: 1rem;
  --bg-nav: #25303b;
  --txt: #fff;
}

/* Body-Abstand für fixierte Nav */
body {
  padding-top: var(--nav-spacer, 0px);
}

/* ===== NAVIGATION – Basis (eine Leiste) ===== */

.container__nav {
  max-width: 1100px;
  width: calc(100% - 3rem);
  margin: 0 auto;
  padding: 0 1rem;
}

.page-navigation {
  position: relative; /* JS schaltet auf fixed */
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--bg-nav);
  display: flex;
  flex-direction: column; /* Platz fürs Mobile-Panel */
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0);
  padding-top: calc(
    var(--nav-py) + env(safe-area-inset-top, 0px)
  ); /* angepasst */
  padding-bottom: var(--nav-py);
  box-sizing: border-box;
  transition: padding 220ms ease, box-shadow 220ms ease,
    background-color 220ms ease;
}

.page-navigation.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.page-navigation.is-shrunk {
  /* NEU: Extra Top-Padding im Shrink-State */
  padding-top: calc(
    var(--nav-py-shrunk) + var(--shrink-extra-top) +
      env(safe-area-inset-top, 0px)
  );
  padding-bottom: var(--nav-py-shrunk);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
}

.page-navigation__container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertikale Mitte */
  height: auto;
  min-height: var(--logo-h); /* normal: an großes Logo koppeln */
}

/* im Shrink-State an kleines Logo koppeln → kein Restabstand blockiert das Schrumpfen */
.page-navigation.is-shrunk .page-navigation__container {
  min-height: var(--logo-h-shrunk);
}

/* Logo */
.page-navigation__logo {
  width: 25%;
}

.page-navigation__logo--image {
  display: block; /* Baseline-Gap entfernen */
  height: var(--logo-h);
  margin-top: 0;
  transition: height 220ms ease;
}
.page-navigation.is-shrunk .page-navigation__logo--image {
  height: var(--logo-h-shrunk);
}

/* Desktop-Menüliste */
.page-navigation__menu-list {
  list-style: none;
  display: flex;
  width: 75%;
  justify-content: space-between;
  align-items: center; /* vertikal mittig */
  margin: 0;
  padding: 0;
}

.page-navigation__menu-item {
  color: var(--txt);
  text-decoration: none;
  font-size: var(--font);
  line-height: 1; /* keine Baseline-Abweichung */
  position: relative;
  transition: font-size 220ms ease, padding 220ms ease;
}
.page-navigation.is-shrunk .page-navigation__menu-item {
  font-size: var(--font-shrunk);
}

.page-navigation__menu-item::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--txt);
  bottom: -3px;
  left: 0;
  border-radius: 5px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.page-navigation__menu-item:hover::after,
.page-navigation__menu-item:focus::after {
  transform: scaleX(1);
}

.page-navigation__menu-item--button::after {
  content: none;
}

.page-navigation__menu-item--button {
  border: 1.5px solid var(--txt);
  border-radius: 0.75rem;
  padding: var(--cta-py) var(--cta-px);
  line-height: 1;
  transition: background-color 0.3s, color 0.3s, padding 220ms ease,
    border-radius 220ms ease;
  cursor: pointer;
}
.page-navigation.is-shrunk .page-navigation__menu-item--button {
  padding: var(--cta-py-shrunk) var(--cta-px-shrunk);
  border-radius: 0.5rem;
}
.page-navigation__menu-item--button:hover,
.page-navigation__menu-item--button:focus {
  background-color: var(--txt);
  color: var(--bg-nav);
}

/* Burger (mobil) */
.burger-menu-icon {
  display: none;
  flex: 0 0 auto;
  width: 30px;
  height: 22px;
  margin-left: auto;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  padding: 0;
}
.burger-menu-icon:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.burger-menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--txt);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.burger-menu-icon span:nth-child(1) {
  top: 0;
}
.burger-menu-icon span:nth-child(2) {
  top: calc(50% - 2px);
}
.burger-menu-icon span:nth-child(3) {
  top: calc(100% - 4px);
}
.burger-menu-icon[aria-expanded='true'] span:nth-child(1) {
  top: calc(50% - 2px);
  transform: rotate(45deg);
}
.burger-menu-icon[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.burger-menu-icon[aria-expanded='true'] span:nth-child(3) {
  top: calc(50% - 2px);
  transform: rotate(-45deg);
}

/* ===== Mobile-Dropdown ===== */
.page-navigation__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-nav);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height 220ms ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.page-navigation__mobile-list {
  list-style: none;
  margin: 0;
  text-align: center;
  padding: 0.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.page-navigation__mobile-item {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.625rem 0;
  position: relative;
}
.page-navigation__mobile-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  border-radius: 5px;
}
.page-navigation__mobile-item:hover::after,
.page-navigation__mobile-item:focus::after {
  transform: scaleX(1);
}

.page-navigation__mobile-item--button {
  display: inline-block;
  border: 1.5px solid #fff;
  border-radius: 0.75rem;
  padding: 0.5rem 1.5rem;
  margin-top: 0.75rem;
  transition: background-color 0.3s, color 0.3s;
}
.page-navigation__mobile-item--button:hover,
.page-navigation__mobile-item--button:focus {
  background-color: #fff;
  color: var(--bg-nav);
}

/* Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: transparent;
  display: block;
}
.nav-backdrop[hidden] {
  display: none;
}

/* Shop-CTA Unterstreichung verhindern */
.page-navigation__menu-item--button::after,
.page-navigation__mobile-item--button::after,
.page-navigation__menu-item[href='#shop']::after,
.page-navigation__mobile-item[href='#shop']::after {
  content: none !important;
}

/* ===== Breakpoints ===== */
@media (max-width: 870px) {
  .page-navigation__menu-list {
    display: none;
  }
  .burger-menu-icon {
    display: block;
  }
}
@media (min-width: 871px) {
  .page-navigation__mobile {
    display: none;
  }
}

/* ===== Motion-Preference ===== */
@media (prefers-reduced-motion: reduce) {
  .page-navigation,
  .page-navigation__logo--image,
  .page-navigation__menu-item,
  .burger-menu-icon span,
  .page-navigation__mobile {
    transition: none !important;
  }
}

/* Shop - coming soon */

#comingSoonModal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

#comingSoonModal .modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  color: #25303b;
  max-width: 500px;
  width: 90%;
}

#comingSoonModal .close-modal {
  margin-top: 1rem;
  cursor: pointer;
  background-color: #25303b;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

#comingSoonModal .close-modal:hover {
  background-color: #444;
}

@media screen and (max-width: 900px) {
  .container__nav {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 870px) {
  .page-navigation__menu-list {
    display: none;
  }

  .burger-menu-icon {
    display: flex;
    position: relative;
  }

  .sticky-nav .page-navigation__menu-list {
    display: none;
  }

  .sticky-nav .burger-menu-icon {
    display: flex;
  }
}

@media screen and (max-width: 550px) {
  .page-navigation__logo--image {
    height: 3rem;
  }

  .burger-menu-icon {
    width: 25px;
    height: 20px;
  }
}

/* ===== Banner-Carousel ===== */

.carousel-wrapper {
  max-width: 1100px;
  width: calc(100% - 3rem);
  margin: 0 auto;
  padding: 2rem 1rem 1rem 1rem;
  box-sizing: border-box;
}

.carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
  background: #0b0b0f;
}

.carousel .carousel-cell {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.carousel-cell {
  margin: 0;
}

.carousel:not(.flickity-enabled) .carousel-cell {
  display: none;
}
.carousel:not(.flickity-enabled) .carousel-cell:first-child {
  display: block;
}

.desktop-carousel .carousel-cell {
  aspect-ratio: 11 / 3;
}
.mobile-carousel .carousel-cell {
  aspect-ratio: 174 / 127;
}

.carousel-cell picture,
.carousel-cell img,
.carousel-cell svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.carousel-cell img {
  object-fit: cover;
}

.desktop-carousel {
  display: block;
}
.mobile-carousel {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: #000;
  color: #fff;
  border-radius: 0.5rem;
  z-index: 1000;
}

/* ===== Mobile (vereinheitlicht auf 899px) ===== */
@media (max-width: 899px) {
  .carousel-wrapper {
    width: 100% !important;
  }

  .carousel {
    border-radius: 1.25rem;
    box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
    background: #0b0b0f;
  }

  .desktop-carousel {
    display: none;
  }
  .mobile-carousel {
    display: block;
  }
}

/* ===== GLOSSAR ===== */

.glossary__alphabet--filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 1.5rem 0;
}

.glossary__alphabet--filter button {
  flex: 1 0 8%;
  max-width: 67px;
  min-width: 40px;
  padding: 10px;
  text-align: center;
  background-color: #f0f0f0;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.glossary__alphabet--filter button:hover {
  background-color: #e0e0e0;
}

.glossary__alphabet--filter button[aria-pressed='true'] {
  background-color: #25303b;
  color: #fff;
}

.glossary__alphabet--filter button:focus-visible {
  outline: 3px solid #25303b;
  outline-offset: 2px;
}

.glossary__alphabet--dropdown select {
  width: 100%;
  padding: 10px;
  border-radius: 1rem;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.glossary__alphabet--dropdown select:hover {
  background-color: #e0e0e0;
}

.glossary__letter {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0.5rem 0;
  text-align: left;
}

.glossary__entries {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Liste je Buchstaben-Gruppe */
.glossary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Eintrag ist jetzt <li> */
.glossary__entry {
  display: flex;
  align-items: center;
  padding-top: 1.3rem;
  border-top: 1px solid #ccc;
  flex-wrap: wrap;
}

.glossary__entry.last-entry {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1.2rem;
}

.glossary__entries--title {
  font-weight: 600;
  flex: 0 0 auto;
  width: 15%;
}

.glossary__entries--explanation {
  flex: 1;
}

.glossary__entry.show {
  display: block;
}

/* Hinweis "Keine Eintragungen" */
.glossary__empty {
  font-weight: 700;
  opacity: 0.85;
}

/* Responsive */
@media screen and (max-width: 870px) {
  .glossary__alphabet--filter {
    display: none;
  }

  .glossary__alphabet--dropdown {
    display: block;
    margin: 1.5rem 0;
  }

  .glossary__alphabet--dropdown select {
    width: 100%;
    padding: 10px;
    border-radius: 1rem;
    border: 2px solid white;
    background-color: #25303b;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .glossary__alphabet--dropdown select:hover {
    background-color: #25303b;
    color: white;
  }

  .glossary__entry {
    flex-direction: column;
    align-items: flex-start;
  }

  .glossary__letter {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .glossary__entries--title {
    width: 100%;
    margin: 0.5rem 0;
  }

  .glossary__entries--explanation {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .glossary__entries--explanation {
    font-size: 0.9rem;
  }
}

/* ===== DARTELEMENTE ===== */

.oche-box {
  width: 100%;
  height: 450px;
  background-color: #25303b;
  border: 3px solid white;
  border-radius: 1rem;
  box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
  margin: 1.5rem 0;
  display: flex;
  padding: 0;
  position: relative;
}

.inner-box {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.left-section {
  width: 30%;
  background-color: #25303b;
  border-right: 2.5px solid white;
}

.right-section {
  display: flex;
  flex-direction: column;
  width: 70%;
  height: 100%;
}

.upper-part {
  background-color: #25303b;
  border-bottom: 2.5px solid white;
  padding: 0 1rem;
  color: white;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 70%;
}

.lower-part {
  height: 30%;
  background-color: #25303b;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.dart-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dart-image {
  width: 90%;
  height: auto;
  display: block;
}

.dart-image img {
  width: 100%;
  height: auto;
  display: block;
}

.point1 {
  top: 24%;
  left: 75%;
}
.point2 {
  top: 38%;
  left: 58%;
}
.point3 {
  top: 57%;
  left: 36%;
}
.point4 {
  top: 77%;
  left: 13%;
}

.point {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 1;
  transition: border 0.3s, box-shadow 0.3s;
}

.point:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 1);
}

.point::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  transition: width 0.3s;
}

.point[data-label='Flight']::after,
.point[data-label='Shaft']::after {
  right: 50%;
  left: auto;
}

.point[data-label='Tip']::after,
.point[data-label='Barrel']::after {
  left: 50%;
  right: auto;
}

.point[data-label='Flight']::before,
.point[data-label='Shaft']::before {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: calc(50% + 55px);
  transform: translateY(-50%);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.point[data-label='Tip']::before,
.point[data-label='Barrel']::before {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: calc(50% + 55px);
  transform: translateY(-50%);
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.point[data-label='Flight']:hover::after,
.point[data-label='Tip']:hover::after,
.point[data-label='Shaft']:hover::after,
.point[data-label='Barrel']:hover::after {
  width: 50px;
}

.point[data-label='Flight']:hover::before,
.point[data-label='Tip']:hover::before,
.point[data-label='Shaft']:hover::before,
.point[data-label='Barrel']:hover::before {
  opacity: 1; /* Show the label text */
}

.point.active {
  transform: scale(1.4);
  box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 1);
}

.point.active::after {
  width: 50px;
}

.point.active::before {
  opacity: 1;
}

.flight-option,
.barrel-option,
.shaft-option,
.tip-option {
  text-align: center;
  cursor: pointer;
}

.flight-option img,
.barrel-option img,
.shaft-option img,
.tip-option img {
  width: auto;
  height: 75px;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.flight-option.active img,
.barrel-option.active img,
.shaft-option.active img,
.tip-option.active img {
  filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.8));
}

.flight-option p,
.barrel-option p,
.shaft-option p,
.tip-option p {
  color: white;
}

.flight-option.active p,
.barrel-option.active p,
.shaft-option.active p,
.tip-option.active p {
  color: rgb(255, 204, 0);
}

.upper-part h2 {
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-size: 2rem;
  margin-top: 2rem;
}

.advantages-disadvantages {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Zentriert die Elemente vertikal */
  padding: 1rem 0;
  position: relative;
  height: var(
    --adv-disadv-height,
    auto
  ); /* Höhe anpassbar mit einer CSS-Variable */
}

.advantages-disadvantages .advantage,
.advantages-disadvantages .disadvantage {
  display: flex;
  align-items: center;
  width: 45%;
  font-size: 0.85rem; /* Schriftgröße anpassen */
}

.advantages-disadvantages .advantage {
  padding-left: 1rem;
}

.vertical-line {
  width: 2px;
  background-color: white;
  height: 100%; /* Höhe auf 100% setzen, damit sie die gesamte Höhe der Elternklasse einnimmt */
  position: absolute;
  left: 50%; /* Positioniert die Linie horizontal in der Mitte */
  transform: translateX(-50%); /* Zentriert die Linie */
}

.plus {
  color: #32cd32;
  font-size: 1.5rem; /* Größe des Symbols anpassen */
  margin-right: 0.5rem;
}

.minus {
  color: #ff0000;
  font-size: 1.5rem; /* Größe des Symbols anpassen */
  margin-right: 0.5rem;
}

.properties {
  margin-top: 2rem;
  line-height: 1.25rem;
}

.properties strong {
  display: inline-block;
  text-decoration: underline;
}

.center-text {
  text-align: center;
  margin-bottom: 0;
}

.small-text {
  font-size: 0.85rem;
  margin-top: 7rem;
  margin-bottom: 1.75rem;
}

.info-section {
  flex-grow: 1;
}

.advantages-disadvantages {
  margin-bottom: 1rem;
}

.disadvantage {
  padding-left: 2rem;
}

.advantages-disadvantages .advantage,
.advantages-disadvantages .disadvantage {
  flex: 1;
  display: flex;
  align-items: center;
}

.advantages-disadvantages .vertical-line {
  width: 2px;
}

.point-images {
  display: none;
}

.lower-part .carousel-control {
  display: none;
}

@media screen and (max-width: 1150px) {
  .oche-box {
    height: 650px;
  }

  .inner-box {
    flex-direction: column;
  }

  .left-section {
    width: 100%;
    height: 150px;
    border: none;
    border-bottom: 2px solid white;
  }

  .right-section {
    width: 100%;
    height: 75%;
  }

  .upper-part {
    order: 2;
    height: 100%;
    border-bottom: none;
  }

  .lower-part {
    order: 1;
    height: 150px;
    border-bottom: 2px solid white;
  }

  .dart-image {
    display: none;
  }

  .dart-container {
    display: none;
  }

  .left-section .point {
    width: 100px;
    height: auto;
    cursor: pointer;
    margin: 5px;
  }

  .point-images {
    height: 150px;
    background-color: #25303b;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid white;
  }

  .point-image {
    width: auto;
    height: 75px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.3s;
  }

  .point-image.active {
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.8));
  }

  .point-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .point-description {
    color: white;
    font-size: 1rem;
    margin-top: 0.5rem;
    text-align: center;
  }

  .carousel-control {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  .oche-box {
    height: 725px;
  }

  .point-images {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .point-item {
    display: none;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.5;
  }

  .point-item.active {
    display: flex;
    opacity: 1;
  }

  .lower-part .carousel-control,
  .carousel-control {
    display: block;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transform: translateY(-50%);
    transition: background-color 0.15s ease, border-color 0.15s ease;
    z-index: 10;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .carousel-control.prev {
    left: 8px;
  }

  .carousel-control.next {
    right: 8px;
  }

  .carousel-control-svg {
    width: 20px;
    height: 20px;
    margin: auto;
    display: block;
  }

  @media (hover: hover) and (pointer: fine) {
    .carousel-control:hover {
      background-color: rgba(0, 0, 0, 0.78);
      border-color: rgba(255, 255, 255, 0.35);
    }
  }

  @media (hover: none) and (pointer: coarse) {
    .carousel-control:active {
      background-color: rgba(0, 0, 0, 0.78);
      border-color: rgba(255, 255, 255, 0.35);
    }
  }

  .carousel-control:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.6);
  }

  .carousel-control.prev {
    left: 1.5rem;
  }

  .carousel-control.next {
    right: 1.5rem;
  }

  .lower-part {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .advantages-disadvantages {
    flex-direction: column;
    height: 125px;
  }

  .vertical-line {
    display: none;
  }

  .upper-part .info-section {
    border-bottom: 1px solid white;
    height: 150px;
    overflow: hidden;
  }

  .upper-part .info-section strong {
    text-decoration: underline;
  }

  .upper-part .info-section p {
    font-size: 0.85rem;
  }

  .advantages-disadvantages .advantage,
  .advantages-disadvantages .disadvantage {
    width: 100%;
    padding-left: 0;
  }

  .left-section .point-item {
    pointer-events: none;
  }

  .lower-part .flight-option,
  .lower-part .shaft-option,
  .lower-part .barrel-option,
  .lower-part .tip-option {
    pointer-events: none;
  }
}

/* ===== FOOTSTAND ===== */

.container__footstand {
  max-width: 1100px;
  width: calc(100% - 3rem);
  margin: 0 auto;
}

.oche__footstand {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 5rem;
  gap: 2rem;
  position: relative; /* Referenz für die Buttons */
}

.oche__footstand--box {
  flex: 1 1 30%;
  max-height: 500px;
  background-color: #25303b;
  border-radius: 1rem;
  border: 3px solid #fff;
  box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  aspect-ratio: 1 / 1.65;
}

.oche__footstand--textbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.oche__footstand--text {
  font-weight: 300;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  align-self: flex-start;
}

.oche__footstand__image-link {
  width: auto;
  height: 150px;
  margin: 0;
}
.image-type {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* ===== CONTROLS: Grundzustand ===== */
.footstand-controls {
  display: none;
  position: relative;
}
.footstand-control-prev,
.footstand-control-next {
  display: none;
}

/* ===== FOOTSTAND ===== */

.container__footstand {
  max-width: 1100px;
  width: calc(100% - 3rem);
  margin: 0 auto;
}

.oche__footstand {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 5rem;
  gap: 2rem;
  position: relative; /* Referenz für die Buttons */
}

.oche__footstand--box {
  flex: 1 1 30%;
  max-height: 500px;
  background-color: #25303b;
  border-radius: 1rem;
  border: 3px solid #fff;
  box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  aspect-ratio: 1 / 1.65;
}

.oche__footstand--textbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.oche__footstand--text {
  font-weight: 300;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  align-self: flex-start;
}

.oche__footstand__image-link {
  width: auto;
  height: 150px;
  margin: 0;
}

.image-type {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* ===== Controls – Grundzustand ===== */
.footstand-controls {
  display: none;
  position: relative;
}
.footstand-control-prev,
.footstand-control-next {
  display: none;
}

/* ===== ≤1000px: zwei runde Buttons links/rechts ===== */
@media (max-width: 1000px) {
  .container__footstand {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .oche__footstand {
    justify-content: center;
    width: 100%;
    height: 600px;
    overflow: hidden;
  }

  .footstand-controls {
    display: block;
    position: static;
    width: 0;
    height: 0;
    z-index: auto;
  }

  .footstand-control-prev,
  .footstand-control-next {
    display: block;
    position: absolute;
    top: 50%;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transform: translateY(-50%);
    transition: background-color 0.15s ease, border-color 0.15s ease;
    z-index: 10;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

  @media (hover: hover) and (pointer: fine) {
    .footstand-control-prev:hover,
    .footstand-control-next:hover {
      background-color: rgba(0, 0, 0, 0.78);
      border-color: rgba(255, 255, 255, 0.35);
    }
  }
  @media (hover: none) and (pointer: coarse) {
    .footstand-control-prev:active,
    .footstand-control-next:active {
      background-color: rgba(0, 0, 0, 0.78);
      border-color: rgba(255, 255, 255, 0.35);
    }
  }

  .footstand-control-prev:focus-visible,
  .footstand-control-next:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.6);
  }

  .footstand-control-prev {
    left: 2.5rem;
  }
  .footstand-control-next {
    right: 2.5rem;
  }

  .footstand-control-svg {
    width: 60%;
    height: 60%;
    display: block;
    margin: auto;
    fill: currentColor;
  }

  /* Kartenposition */
  .oche__footstand--box {
    position: absolute;
    width: 40%;
    height: 100%;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.5;
    transform: scale(0.9);
  }
  .oche__footstand--text {
    padding: 0;
  }

  .oche__footstand--box.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 5;
  }
  .oche__footstand--box.prev,
  .oche__footstand--box.next {
    filter: blur(2px);
    z-index: 4;
  }
  .oche__footstand--box.prev {
    transform: translateX(-75%) scale(0.8);
    opacity: 0.5;
  }
  .oche__footstand--box.next {
    transform: translateX(75%) scale(0.8);
    opacity: 0.5;
  }
}

/* ===== ≤550px: gemeinsame „Pille“ (innen gerade) ===== */
@media (max-width: 550px) {
  .footstand-controls {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    width: 200px;
    height: 52px;
    padding: 0;
    background: rgba(0, 0, 0, 0.65); /* Grundfarbe = heller */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    background-clip: padding-box;
    overflow: hidden;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    z-index: 12;
  }

  .footstand-controls,
  .footstand-controls * {
    -webkit-user-select: none; /* iOS/Safari */
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none; /* iOS: kein Kopier-Callout */
    -webkit-tap-highlight-color: transparent; /* hast du teils schon */
    -webkit-user-drag: none; /* Drag von SVG/Images verhindern */
  }

  /* Divider liegt über den Hälften */
  .footstand-controls::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
  }

  /* Hälften: innen gerade, Ausgangslage transparent */
  .footstand-control-prev,
  .footstand-control-next {
    position: static !important;
    display: inline-flex;
    width: 50%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important; /* 👈 innen nicht abgerundet */
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none;
    transition: background-color 0.12s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    z-index: 1; /* unter Divider */
  }

  /* Hover/Active -> dunkler (ohne Rundung) */
  @media (hover: hover) and (pointer: fine) {
    .footstand-control-prev:hover,
    .footstand-control-next:hover {
      background-color: rgba(0, 0, 0, 0.78) !important;
    }
  }
  @media (hover: none) and (pointer: coarse) {
    .footstand-control-prev:active,
    .footstand-control-next:active {
      background-color: rgba(0, 0, 0, 0.78) !important;
    }
  }

  .footstand-control-prev:focus-visible,
  .footstand-control-next:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -6px;
    border-radius: 9999px; /* nur der Fokusring wird rund geclippt */
  }

  .footstand-control-svg {
    width: 28px;
    height: 28px;
    margin: 0;
  }
}

/* ===== CHECKOUT-CHART ===== */

.oche__checkout-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 400px;
}

.oche__checkout {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 1.5rem;
}

.oche__checkout-box {
  width: 840px;
  height: 400px;
  background-color: #25303b;
  border-radius: 1rem;
  border: 3px solid white;
  box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
  padding: 1rem 0;
}

.oche__checkout-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 15%;
  color: white;
  font-size: 3rem;
  font-weight: 600;
  padding-top: 1rem;
}

.oche__checkout-number.animate {
  transition: transform 0.5s ease-in-out;
  transform: scale(1.2);
}

.oche__checkout-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 85%;
}

.oche__checkout-divider {
  width: 0;
  height: 250px;
  border: 1px solid white;
  border-radius: 1rem;
  margin: auto;
}

.oche__checkout-left,
.oche__checkout-middle,
.oche__checkout-right {
  width: 33%;
  height: 250px;
  flex-grow: 1;
  margin: auto;
}

.oche__checkout-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 1rem;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0;
}

.checkout-text {
  display: block;
  width: 45%;
  font-size: 1.75rem;
  font-weight: 500;
  color: white;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.checkout-text:hover {
  color: #ffcf21;
}

.checkout-text.active {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  color: #ffcf21;
}

.checkout-option {
  display: flex;
  align-items: center;
  color: white;
  padding-left: 3.5rem;
  margin: 0.15rem 0;
  font-size: 1.25rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s;
}

.checkout-option span:first-child {
  display: inline-block;
  width: 3rem;
}

.checkout-option span:nth-child(2) {
  margin-right: 2rem;
}

.checkout-option:hover,
.checkout-option.active {
  color: #ffcf21;
}

.oche__checkout-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: white;
}

.checkout-number {
  font-size: 2.5rem;
  margin-bottom: 0;
  font-weight: 600;
  color: #ffcf21;
}

.checkout-path {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ffcf21;
}

.checkout-explanation {
  font-size: 1rem;
  text-align: center;
  padding: 0 1rem;
}

.oche__checkout-options {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.oche__checkout-options label {
  color: #25303b;
  font-size: 1.25rem;
  cursor: pointer;
}

.oche__checkout-options input[type='radio'] {
  margin-right: 0.5rem;
}

.oche__checkout-options input[type='radio']:checked + label {
  color: #25303b;
}

input[type='radio'] {
  width: auto;
  height: auto;
  accent-color: #25303b;
}

.oche__checkout-options {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.labels-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: right;
  margin-right: 0.5rem;
}

.labels-container label {
  font-size: 1.25rem;
  font-weight: 600;
  color: #25303b;
  cursor: pointer;
  user-select: none;
  height: 40px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.radio-buttons-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  background-color: #25303b;
  border-radius: 1rem;
  border: 2px solid white;
  height: 150px;
  width: 60px;
  box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.6);
}

.radio-group {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.radio-group input[type='radio'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid white;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  background-color: #25303b;
  transition: background-color 0.3s ease;
  margin: 0 auto;
}

.radio-group input[type='radio']:checked {
  background-color: #ffcf21;
  border: 2px solid #ffcf21;
}

.radio-group input[type='radio']:checked::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-color: #25303b;
  border-radius: 50%;
  margin: 4px;
}

.radio-group input[type='radio']:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.new-options {
  display: none;
}

@media screen and (max-width: 1150px) {
  .oche__checkout-wrapper {
    height: 100%;
    flex-direction: column;
    align-items: center;
  }

  .oche__checkout-box {
    max-width: 100%;
  }

  .oche__checkout-options {
    order: 2;
    justify-content: center;
    flex-direction: row;
    margin-top: 1.5rem;
    gap: 2rem;
  }

  .oche__checkout-middle {
    margin: auto 0;
  }

  .labels-container,
  .radio-buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .radio-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .radio-group input[type='radio'] {
    margin: 0;
  }

  .labels-container label {
    order: 1;
  }

  .radio-buttons-container .radio-group {
    order: 0;
  }

  .original-options {
    display: none;
  }

  .new-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .new-options .radio-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .new-options .radio-group input[type='radio'] {
    margin: 0;
    border: 2px solid #25303b;
    background-color: white;
  }
}

@media screen and (max-width: 870px) {
  .oche__checkout-box {
    width: 400px;
    height: 840px;
    position: relative;
    padding: 0;
  }

  .oche__checkout-content {
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    align-items: center;
  }

  .oche__checkout-left {
    width: 100%;
    margin: 1.5rem 0;
    height: auto;
    max-height: 400px;
    overflow-y: auto;
  }

  .oche__checkout-left .checkout-row {
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1.2;
  }

  .oche__checkout-left .checkout-option {
    padding: 6px;
  }

  .oche__checkout-middle {
    width: 100%;
    margin: 1rem 0;
  }

  .checkout-option {
    padding: 0;
    justify-content: center;
  }

  .oche__checkout-right {
    width: 100%;
    margin-top: 1.5rem;
  }

  .oche__checkout-divider {
    width: 80%;
    height: 0;
    border: 1px solid white;
    border-radius: 1rem;
  }

  .oche__checkout-left,
  .oche__checkout-right {
    display: flex;
  }

  .checkout-path {
    margin-bottom: 1.5rem;
  }

  .checkout-explanation {
    padding: 0 2rem;
  }

  .oche__checkout-number {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  .oche__checkout-options {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
}

@media screen and (max-width: 450px) {
  .checkout-explanation {
    font-size: 0.85rem;
  }
}

/* ===== FAQ ===== */

.accordion {
  width: 100%;
  margin-top: 3rem;
}

.accordion-item {
  margin-bottom: 0.5rem;
}

.accordion-header {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: #25303b;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
  background: #f0f0f0;
  color: black;
  font-weight: 300;
  width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  text-align: justify;
}

.accordion-content p {
  margin: 1rem 0;
  line-height: 1.5rem;
}

.accordion-header .arrow {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.accordion-header .arrow.rotate {
  transform: rotate(90deg);
}

@media screen and (max-width: 550px) {
  .accordion-header {
    font-size: 0.85rem;
  }

  .accordion-content p {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

/* ===== COMMUNITY ===== */

/* ===== Community Form (cf-*) ===== */
.cf-form {
  --body-text: #0f172a;
  --form-accent: #25303b;
  --form-border: #ffcf21;
  --form-field-bg: #25303b;
  --form-field-text: #f1f5f9;
  --form-muted: #6b7280;
  --focus-bg: #f3f4f6;
  --focus-text: #111;
  --form-danger: #dc2626;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: var(--body-text);
}

.cf-intro {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(
    --form-muted
  ); /* fix: var(--form-muted-dark) war nicht definiert */
}

.cf-required-note {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--form-muted);
  text-align: left;
}
@media (min-width: 900px) {
  .cf-required-note {
    text-align: right;
  }
}
.cf-required-note span {
  font-weight: 700;
  color: var(--body-text);
}

/* Feldsätze & Grid */
.cf-fieldset {
  border: 0;
  margin: 0 0 22px;
  padding: 0;
}
.cf-legend {
  font-weight: 600;
  color: var(--body-text);
  margin: 0 0 8px;
}
.cf-grid-2 {
  display: grid;
  gap: 12px;
}
@media (min-width: 900px) {
  .cf-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.cf-control {
  display: grid;
  gap: 6px;
  align-content: start;
  overflow: visible;
} /* overflow sichtbar für Dropdown */
.cf-label {
  font-size: 0.95rem;
  margin: 0;
  color: var(--body-text);
}
.cf-label + .cf-textarea {
  margin-top: 8px;
}

/* ===== Inputs & Textareas ===== */
.cf-input,
.cf-textarea {
  width: 100%;
  background: var(--form-field-bg);
  border: 1px solid var(--form-border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--form-field-text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.cf-input {
  height: 48px;
  line-height: 24px;
}
.cf-textarea {
  min-height: 220px;
  resize: none !important;
  overflow: auto;
}

/* Placeholder */
.cf-input::placeholder,
.cf-textarea::placeholder {
  color: color-mix(in srgb, var(--form-field-text) 75%, transparent);
}

/* Fokus */
.cf-input:focus-visible,
.cf-textarea:focus-visible {
  outline: none;
  border-color: var(--form-border);
  color: var(--focus-text);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4),
    0 0 0 2px color-mix(in srgb, var(--form-border) 55%, transparent);
  background: var(--focus-bg);
}

/* ===== Custom Select (ersetzt native Optik) ===== */
/* Das native <select> bleibt für Fallback/Submit im DOM, ist aber visuell versteckt */
.cf-hidden-native {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  border: 0;
}

/* Wrapper (Positionierungsanker für Liste) */
.cf-drop {
  position: relative;
  overflow: visible; /* wichtig: Liste darf rausstehen */
}

/* Geschlossener Trigger – gleiche Optik wie .cf-input */
.cf-drop-toggle {
  width: 100%;
  height: 48px;
  padding: 12px 44px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--form-border);
  background: var(--form-field-bg);
  color: var(--form-field-text);
  font: inherit;
  text-align: left;
  line-height: 24px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  position: relative;
}
.cf-drop-toggle:focus-visible {
  outline: none;
  color: var(--focus-text);
  background: var(--focus-bg);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4),
    0 0 0 2px color-mix(in srgb, var(--form-border) 55%, transparent);
}
.cf-drop-toggle[data-invalid='true'] {
  border-color: var(--form-danger);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4),
    0 0 0 2px color-mix(in srgb, var(--form-danger) 45%, transparent);
}

/* Chevron */
.cf-drop-toggle::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffcf21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
}
.cf-drop[data-open='true'] .cf-drop-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Geöffnete Liste – immer NACH UNTEN, kein Dropup */
.cf-drop-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px) !important; /* erzwinge unten */
  bottom: auto !important; /* niemals nach oben */
  max-height: min(45vh, 320px); /* Viewport-sicher */
  overflow: auto; /* statt flip: scrollen */
  border: 1px solid var(--form-border);
  border-radius: 12px;
  background: #1f2937;
  box-shadow: 2px 8px 18px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  padding: 6px;
}
/* Alte Dropup-Regel neutralisieren/festnageln */
.cf-drop[dir='up'] .cf-drop-list {
  top: calc(100% + 8px) !important;
  bottom: auto !important;
}

/* weiche Öffnungsanimation */
.cf-drop-list[aria-hidden='false'] {
  transform-origin: top;
  animation: dropdownSlideIn 120ms ease-out;
}
@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Option-Items */
.cf-drop-item {
  border-radius: 10px;
  padding: 10px 12px;
  color: #f1f5f9;
  background: transparent;
  cursor: pointer;
  user-select: none;
}
.cf-drop-item:hover,
.cf-drop-item[aria-current='true'] {
  background: #374151;
}
.cf-drop-item[aria-selected='true'] {
  background: #25303b;
  outline: 2px solid color-mix(in srgb, var(--form-border) 55%, transparent);
}
.cf-drop-item[data-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}

/* Scrollbar (modern Browser) */
.cf-drop-list::-webkit-scrollbar {
  width: 10px;
}
.cf-drop-list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #374151;
}

/* ===== Hinweise, Radios, Footer ===== */
.cf-hint {
  font-size: 0.82rem;
  color: var(--form-muted);
  margin: 4px 0 0;
  min-height: 1.2em;
}
.cf-hint:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

.cf-radio-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cf-radio {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.98rem;
  color: var(--body-text);
}
.cf-radio input[type='radio'] {
  width: 16px;
  height: 16px;
  accent-color: var(--form-accent);
}
.cf-radio input[disabled] + span {
  color: #94a3b8;
}
.cf-help {
  font-size: 0.82rem;
  color: var(--form-muted);
  margin: 6px 0 0;
}

.cf-footer {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: 0;
}
.cf-button {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  background-color: #25303b;
  color: #fff;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  transition: background-color 0.3s;
}
.cf-button:hover {
  background: #fff;
  color: #25303b;
  border: 2px solid #25303b;
}
.cf-privacy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--form-muted);
  flex: 1 1 auto;
  min-width: 0;
}

/* Fehlerzustände */
.cf-input[aria-invalid='true'],
.cf-textarea[aria-invalid='true'] {
  border-color: var(--form-danger);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4),
    0 0 0 2px color-mix(in srgb, var(--form-danger) 45%, transparent);
}

/* Statusmeldungen */
.cf-success {
  margin-top: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #16a34a;
  background: #dcfce7;
  color: #065f46;
}
.cf-error {
  margin-top: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #dc2626;
  background: #fee2e2;
  color: #7f1d1d;
}

/* ===== Mobile Tweaks ===== */
@media (max-width: 899px) {
  .cf-form {
    font-size: 0.94rem;
  }
  .cf-label {
    font-size: 0.92rem;
  }
  .cf-hint,
  .cf-help,
  .cf-required-note,
  .cf-privacy {
    font-size: 0.75rem;
  }
  .cf-grid-2 {
    gap: 16px;
  }
  .cf-fieldset {
    margin-bottom: 18px;
  }
  .cf-fieldset-method {
    margin-top: 10px;
    margin-bottom: 18px;
  }
  .cf-help {
    margin-top: 6px;
  }
  .cf-button {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  .cf-footer {
    gap: 12px;
  }
  .cf-drop-item {
    padding: 12px 14px;
  }
}

/* Screenreader helper */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

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

.page-footer {
  width: 100%;
  background-color: #25303b;
  padding: 2rem 0 1rem 0;
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-footer__container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  max-width: 1100px;
}

.page-footer__legal,
.page-footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 150px;
}

.page-footer__legal-list,
.page-footer__social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.page-footer__legal-list li,
.page-footer__social-list li {
  margin: 0.25rem 0;
  padding-left: 0;
}

.page-footer__legal-list a,
.page-footer__social-list a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  line-height: 1.25rem;
}

.page-footer__legal-list a::after,
.page-footer__social-list a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  bottom: 0;
  left: 0;
  border-radius: 5px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-footer__legal-list a:hover::after,
.page-footer__social-list a:hover::after {
  transform: scaleX(1);
}

.page-footer__logo {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.page-footer__logo--image {
  height: 5rem;
  margin-top: 0;
}

.page-footer__social-list {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  color: white;
}

.page-footer__social-list img {
  width: 1.5rem;
  height: 1.5rem;
}

.page-footer__bottom {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.page-footer__bottom p {
  margin: 0;
}

@media screen and (max-width: 870px) {
  .page-footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-footer__social {
    order: 1;
    margin-bottom: 2rem;
  }

  .page-footer__logo {
    order: 2;
    margin: 0;
  }

  .page-footer__legal {
    order: 3;
  }

  .page-footer__legal,
  .page-footer__social {
    align-items: center;
  }

  .page-footer__legal-list,
  .page-footer__social-list {
    text-align: center;
  }
}

@media screen and (max-width: 550px) {
  .page-footer {
    margin-top: 5rem;
  }
}

/* ===== DATENSCHUTZ/IMPRESSUM ===== */

.imprint__line {
  width: 12rem;
  align-items: left;
  border: none;
  border-top: 1px solid #25303b;
  border-radius: 1rem;
}

.imprint__line-container {
  flex: 1;
  border: none;
  border-top: 1px solid #25303b;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.imprint-container {
  margin-bottom: 2rem;
}

.imprint-container a {
  text-decoration: none;
  color: inherit;
}

.imprint-container a:hover {
  font-weight: 400;
}

.back-button {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #25303b;
}

.back-button a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.back-button a:hover {
  color: #555;
}

.circle {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #25303b;
  color: #fff;
  text-align: center;
  line-height: 2rem;
  margin-right: 0.5rem;
  font-size: 1.2rem;
}
