html {
  overflow-x: hidden;
}

:root {
  --bg: #191919;
  --card: #1a1a1a;
  --text: #fefefe;
  --accent-green: #66b690;
  --accent-red: #e82939;
  --accent-blue: #34386c;
  --muted: #bdbdbd;
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 10px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Jost";
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}

@media screen and (min-width:768px){
  body{
    font-size: 18px;
  }
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 1mm;
}

a:hover {
  color: var(--accent-blue);
}

#downloads a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

p,
h1,
h2,
h3,
h4 {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 18px;
}

h2 {
  font-size: 1.5rem;
}

@media screen and (min-width:768px){
  h2{
    font-size:2.2rem;
  }
}

p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height:1.5;
}

@media screen and (min-width:768px){
  p{
    font-size:1.3rem;
  }
}

p {
  margin-bottom: 14px;
}

section {
  padding-top: 70px;
  padding-bottom: 70px;
}

@media screen and (min-width:1200px){
  section{
     padding-top: 100px;
  padding-bottom: 100px;
  }
}

.green-text {
  color: var(--accent-green);
}

#countdown {
  padding-top: 20px;
  padding-bottom: 20px;
}

.dark-accent {
  background-color: #0f0f0f;
}

.header-top {
  background-color: var(--accent-blue);
}

/* → Basis / Layout */
nav.navbar {
  /* background: #ffffff; */
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
nav.navbar .container {
  position: relative; /* damit das mobile Menü absolut positioniert werden kann */
  align-items: center;
  gap: 1rem;
}

/* → Nav-Liste (mobile = column, desktop = row) */
.navbar-collapse {
  display: none; /* <== hier: standardmäßig ausgeblendet */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 100%;
}
.navbar-collapse.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.navbar-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2em;
  align-items: center;
}
.navbar-nav .nav-item {
  width: 100%;
}
.navbar-nav .nav-link {
  display: block;
  padding: 0.6rem 1rem;
  width: 100%;
  text-decoration: none;
  color: var(--text);
}

/* → Hamburger icon (3 bars) */
.hamburger {
  width: 36px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger:focus {
  outline: 2px solid rgba(0, 123, 255, 0.25);
  border-radius: 4px;
}

.hamburger .bar {
  height: 3px;
  border-radius: 4px;
  background: var(--text);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms;
  transform-origin: center;
  z-index:100;
}

/* → active = X (rotate top and bottom, hide middle) */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  background: #c82333; /* optional: rot für X */
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #c82333;
}

/* → mobile menu styling (dropdown) */
@media (max-width: 991.98px) {
  nav.navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem 1rem;
    z-index: 999;
    height:100vh;
  }
  .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }
}

/* → desktop: show inline, hide hamburger */
@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
  nav.navbar .navbar-collapse {
    position: static;
    display: block !important;
    max-height: none !important;
    overflow: visible;
    padding: 0;
    box-shadow: none;
  }

  .navbar-collapse {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    position: static;
    box-shadow: none;
  }
  .navbar-nav {
    flex-direction: row;
    justify-content: flex-end;
    gap: 1.5rem;
  }
  .navbar-nav .nav-item {
    width: auto;
  }
  .navbar-nav .nav-link {
    padding: 0.4rem 0.6rem;
  }
}

/* kleine optische Feinheiten */
.nav-link:hover {
  color: #c82333;
  text-decoration: none;
}

.logo {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .logo {
    width: 460px;
  }
}

@media screen and (min-width: 992px) {
  .logo {
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .logo {
    width: 460px;
  }
}

/* Ergänzung für das Hide-on-Scroll-Verhalten */
.navbar {
   transition: transform 0.4s ease, opacity 0.4s ease;
}
.navbar-hidden {
  opacity:0;
  transform: translateY(-100%); /* Verschiebt die Navbar nach oben aus dem Sichtbereich */
}

.navbar-scroll{
    position: fixed;
    width: 100%;
    background-color: var(--bg);
    top: 0;
    z-index:100000;
     opacity: 1;
     transform: translateY(0);
     transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero {
  height: 56vh;
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 1030px) {
  .hero {
    height: 76vh;
  }
}

#index {
  background-image: url("../media/hero/index.jpeg");
}

.hero-sub {
  height: 320px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: solid var(--accent-red) 1mm;
}

#about {
  background-image: url("../media/hero/about.jpg");
}

#fahrplan{
  background-image: url("../media/hero/fahrplan.jpg");
  background-position: center;
}

#galerie-main{
  background-image: url("../media/hero/galerie.jpg");
  background-position: 2% 18%;
}

#news-main{
  background-image: url("../media/hero/news.jpg");
  background-position: center;
}

#kontakt{
  background-image: url("../media/hero/kontakt.jpg");
}

@media screen and (min-width:768px){
  #kontakt{
background-position: 2% 49%;
  }
}


/* .glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 8px;
  

  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
} */

.liquid-glass {
  /* width: 300px;
  height: 200px; */
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.2);
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  height: fit-content;
}

.liquid-glass h1,
.liquid-glass p {
  z-index: 100;
}

.liquid-glass:focus {
  outline: none;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: inset 0 0 11px -16px #000000;
  background-color: #000000b3;
}

.liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);
}

.hero-left{
  display:none !important;
}

@media screen and (min-width:673px){
  .hero-left{
    display:flex !important;
  }
}

.hero-left {
  width: 100%;
  padding: 20px;
  height: fit-content;
}

@media screen and (min-width: 1146px) {
  .hero-left {
    padding: 48px;
  }
}

.hero-left h1 {
  font-size: 1.3rem;
}

@media screen and (min-width: 768px) {
  .hero-left h1 {
    font-size: 1.8rem;
  }
}

.no-mobile {
  display: none;
}

.no-mobile-md {
  display: none;
}

@media screen and (min-width: 768px) {
  .no-mobile {
    display: block;
  }
}

@media screen and (min-width: 372px) {
  .no-mobile-md {
    display: block;
  }
}

@media screen and (min-width: 670px) {
  .hero-left {
    width: 61%;
  }
}

@media screen and (min-width: 1090px) {
  .hero-left {
    width: 35%;
  }
}

.countdown {
  text-align: center;
  padding: 80px 20px;
  background: var(--card);
  color: var(--text);
}
.countdown-inner h2 {
  font-size: 24px;
  margin-bottom: 40px;
}
.timer {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.time-box {
  border-radius: 12px;
  padding: 11px 6px;
  min-width: 10px;
}

@media screen and (min-width:729px){
  .time-box{
    padding:12px 16px;
  }
}

.time-box span {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-green);
}
.time-box small {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .timer {
    gap: 12px;
  }
  .time-box span {
    font-size: 28px;
  }
}

.countdown-inner p {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: bold;
  opacity: 0.2;
}

@media screen and (min-width:729px){
  .countdown-inner p{
    font-size:1.9rem;
  }
}

.nummer-step {
  font-size: 2.5rem;
  font-weight: 100;
  color: var(--accent-green);
  margin-right: 9px;
}

@media screen and (min-width: 1200px) {
  .nummer-step {
    font-size: 4rem;
    margin-top: 4px;
    margin-right: 20px;
  }
}

.step-text h3 {
  font-size: 1.8rem;
  font-weight: 200;
  color: var(--accent-green);
  margin-top: 0.7rem;
}

@media screen and (min-width: 1200px) {
  .step-text h3 {
    font-size: 2.2rem;
    margin-top: 2rem;
  }
}

.team-card{
  background-color: #e8e8e8;
  border-radius: 8px;
  padding-top:32px;
}

.team-card img{
  margin-bottom:18px;
  height:400px;
  object-fit:cover;
  object-position:top;
  width:100%;
}

#vorstandschaft h3{
  margin-bottom:3px;
}


.news-card,
.event-card {
  border-radius: 8px;
  box-shadow: #1e3f3073 0px 2px 5px -1px, #1e3f3088 0px 1px 3px -1px;
  box-shadow: #1e3f3073 0px 4px 8px -2px, #1e3f3088 0px 0px 0px 1px;
  padding: 32px;
  background-color: #e8e8e8;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.news-card h1,
.news-card p,
.event-card p,
#downloads .news-card h3 {
  color: var(--bg);
}

.event-card p,
#downloads .news-card h3 {
  margin: 0;

}

.event-type p,
#downloads .news-card h3 {
  font-weight: 800;
  font-size: 1.5rem;
  overflow-wrap: break-word;
  hyphens: auto; 
  
}

@media screen and (min-width:768px){
  .event-type p,
#downloads .news-card h3{
  font-size:1.6rem;
}
}

#downloads .news-card h3{
text-align:center;
}
.news-card h1 {
  font-size: 1.5rem;
}

@media screen and (min-width:768px){
  .news-card h1{
    font-size: 1.6rem;
  }
}

.news-card img,
.news-card p {
  margin-bottom: 18px;
}

.top {
  position: relative;
}

.release {
  position: absolute;
  background-color: var(--text);
  border-radius: 256px;
  padding: 4px 16px;
  color: var(--bg);
  font-weight: 800;
  bottom: 25px;
  left: 8px;
  font-size: 0.7rem;
}

.news-card img {
  border-radius: 8px;
}

#neuigkeiten article {
  transition: 0.3s ease;
}

#neuigkeiten .row:hover article {
  opacity: 0.5;
}

#neuigkeiten .row article:hover {
  opacity: 1;
}

.news-card button {
  border: none;
  background-color: unset;
  padding: 18px 0px;
  text-align: left;
  font-family: "Jost";
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  color: var(--accent-blue);
  overflow: hidden;
  position: relative;
}

.news-card button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 2px;
  background-color: var(--accent-blue);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.news-card button:hover::after {
  transform: translateX(0);
}

.btn {
  z-index: 1;
  font-family: "Jost";
  font-size: 1.2rem;
  border-radius: 256px;
  padding: 13px 23px 15px 23px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  background-color: var(--accent-blue);
  color: var(--text);
}

.second {
  background-color: var(--text);
  color: var(--accent-blue);
}

.btn:hover {
  background-color: var(--text);
  color: var(--accent-blue);
}

.second:hover {
  background-color: var(--accent-blue);
  color: var(--text);
}

section .btn {
  margin-top: 32px;
}

.galerie {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(9, auto);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

.bild1 {
  grid-area: 1 / 1 / 4 / 5;
}
.bild2 {
  grid-area: 1 / 5 / 5 / 7;
}
.bild3 {
  grid-area: 4 / 1 / 7 / 5;
}
.bild4 {
  grid-area: 5 / 5 / 7 / 7;
}
.bild5 {
  grid-area: 7 / 1 / 10 / 3;
}
.bild6 {
  grid-area: 7 / 3 / 10 / 7;
}

@media screen and (min-width: 768px) {
  .galerie {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(5, auto);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  .bild1 {
    grid-area: 1 / 1 / 4 / 6;
    height: fit-content;
  }
  .bild2 {
    grid-area: 1 / 6 / 3 / 10;
    height: fit-content;
  }
  .bild3 {
    grid-area: 1 / 10 / 4 / 13;
    height: fit-content;
  }
  .bild4 {
    grid-area: 4 / 1 / 6 / 6;
    height: fit-content;
  }
  .bild5 {
    grid-area: 3 / 6 / 6 / 10;
    height: fit-content;
  }
  .bild6 {
    grid-area: 4 / 10 / 6 / 13;
    height: fit-content;
  }

  .bild6 img {
    margin-top: -32.9px;
  }
}

.galerie img {
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
}

footer p {
  font-size: 18px;
  margin-bottom: 8px;
}

footer {
  font-weight: 300;
  border-top: solid var(--accent-red) 1mm;
  padding-top: 64px;
  background-color: #0f0f0f;
}

footer hr {
  background-color: #3d3d3d;
  height: 3px;
  border: none;
  border-radius: 10px;
}

.copyright {
  text-align: center;
  margin-bottom: 32px;
}

.autospacer {
  flex: 1 auto;
  flex-basis: auto;
  display: flex;
  margin: 0 !important;
}

#haes h3 {
  margin-bottom: 8px;
}

.green {
  color: rgb(102, 182, 144);
}

.blue {
  color: rgb(52, 56, 108);
}

.red {
  color: rgb(232 41 57);
}

.brown {
  color: rgba(87, 71, 48, 1);
}

.box-sh {
  position: relative;
  height: fit-content;
}

.box-sh img {
  max-width: 279px;
}

@media screen and (min-width: 483px) {
  .box-sh img {
    max-width: 373px;
  }
}

@media screen and (min-width: 997px) {
  .box-sh img {
    max-width: 444px;
  }
}
@media screen and (min-width: 1400px) {
  .box-sh img {
    max-width: 510px;
  }
}

.name-goldonkel{
    display:block;
    position:absolute;
    background: #FFB469;
    background: linear-gradient(to left, #FFB469 0%, #AF7C48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    top:16rem;
    left:4rem;
    font-size:2.2rem;
  }
  
@media screen and (min-width:768px){
  .name-goldonkel{
    top:19rem;
  }

}

.name-zunftmeister {
  display: block;
  position: absolute;
  background: #72141c;
  background: linear-gradient(to right, #72141c 0%, #e82939 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  bottom: 5rem;
  right: 4rem;
  font-size: 2.2rem;
}

.gradient-circle-beige {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(253 248 191 / 11%) 0%,
    rgba(25, 25, 25, 0) 60%
  );
  margin: 0 auto;
  position: absolute;
  top: -5rem;
  right: 0rem;
  z-index: -1;
}

@media screen and (min-width:487px){
  .gradient-circle-beige{
    width:297px;
    height:297px;
    top:-3rem;
    right:2rem;
  }
}

@media screen and (min-width:997px){
  .gradient-circle-beige{
    width:400px;
    height:400px;
    top:-6rem;
    right:1rem;
  }
}

@media screen and (min-width:1400px){
  .gradient-circle-beige{
    width:700px;
    height:700px;
    top:-11rem;
    right:-8rem;
  }
}


@media screen and (min-width: ) {
  .gradient-circle-beige {
    width: 745px;
    height: 745px;
    top: -7rem;
    right: -5rem;
  }
}

.gradient-circle-lightblue {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(92 92 115 / 27%) 0%,
    rgba(25, 25, 25, 0) 60%
  );
  margin: 0 auto;
  position: absolute;
  top: 3rem;
  right: 0rem;
  z-index: -2;
}

@media screen and (min-width:487px){
  .gradient-circle-lightblue{
    width:339px;
    height:339px;
    top:5rem;
    right:0.5rem;
  }
}

@media screen and (min-width:997px){
  .gradient-circle-lightblue{
    width:400px;
    height:400px;
  }
}

@media screen and (min-width:1400px){
  .gradient-circle-lightblue{
    width:700px;
    height:700px;
    top:-1rem;
    right:-8rem;
  }
}

@media screen and (min-width: ) {
  .gradient-circle-lightblue {
    width: 717px;
    height: 717px;
    top: 10rem;
    right: -5rem;
  }
}

.gradient-circle-darkred {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(68 46 47 / 65%) 0%,
    rgba(25, 25, 25, 0) 60%
  );
  margin: 0 auto;
  position: absolute;
  top: 5rem;
  right: 0rem;
  z-index: -1;
}

@media screen and (min-width:487px){
  .gradient-circle-darkred{
    width:347px;
    height:334px;
    top:7rem;
    right:1rem;
  }
}

@media screen and (min-width:997px){
  .gradient-circle-darkred{
    width:400px;
    height:400px;
  }
}

@media screen and (min-width:1400px){
  .gradient-circle-darkred{
    width:700px;
    height:700px;
    top:3rem;
    right:-4rem;
  }
}
.gradient-circle-lighterred {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(187 100 102 / 24%) 0%,
    rgba(25, 25, 25, 0) 60%
  );
  margin: 0 auto;
  position: absolute;
  top: -2rem;
  right: 1rem;
  z-index: -3;
}

@media screen and (min-width:487px){
  .gradient-circle-lighterred{
    width:400px;
    height:400px;
  }
}

@media screen and (min-width:1400px){
  .gradient-circle-lighterred{
    width:700px;
    height:700px;
    top:-12rem;
    right:-4rem;
  }
}

#bestandteile h3, #bestandteile p{
  text-align:center;
}

@media screen and (min-width:992px){
  #bestandteile h3, #bestandteile p{
  text-align:left;
}
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  text-align: center;
}

thead th {
  color: #fff;
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
      font-size: 1.6rem;
}

tbody tr {
  transition: background-color 0.3s ease;
}

tbody tr:hover {
  background-color: #444;
}

tr td:last-child,
tr th:last-child {
  border-right: none;
}

tbody td {
  padding: 10px;
    font-size: 1.3rem;
  color: #ddd;
}

@media screen and (max-width: 600px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead tr {
    display: none;
  }

  tbody tr {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 10px;
  }

  tbody td {
    display: flex;
    justify-content: flex-start;
    text-align:left;
    padding: 8px 10px;
    border-bottom: none;
  }

  /* tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #bbb;
    flex: 1;
    text-align: left;
  } */

  tbody td:last-child {
    border-bottom: none;
  }
}

@media screen and (min-width:601px){
  tbody td {
    border-right: 1px solid #fff;
  }
}

/*Galerie*/
/* Accordion */
.accordion {
  margin-top: 20px;
}

.accordion-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.accordion-header {
  padding: 15px;
  margin-bottom: 5.2px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
}

.accordion-content {
  display: none;
  padding: 15px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.image-grid img{
  max-width: 100%;
  max-height:100%;
  width:100%;
  height:100%;
  object-fit:cover;
}

.gallery-item {
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background-color: #000000f2;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  object-fit:contain;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox .arrow-left,
.lightbox .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

.lightbox .arrow-left {
    left: 10px;
}

.lightbox .arrow-right {
    right: 10px;
}

.amount_pic{
  font-weight:100;
  font-size:1rem;
}

.hidden {
  display: none;
}

#news-detail {
  animation: fadeIn 0.4s ease;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

#news-detail img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 10px;
}

#close-detail {
  display: inline-block;
  margin-bottom: 1rem;
  background: #333;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

label {
  color: #ccc;
}

form{
  margin:4rem 0;
}

.form-control{
  border-radius: 5px;
  padding: 12px 10px;
  width: 100%;
  font-size: 18px;
  font-family: "Jost";
  font-weight: 300;
}

.form-check-input {
  border-radius: 5px;
  padding: 20px 10px;
  margin-top: 3px;
  margin-right: 1rem;
  width: 22px;
  font-size: 17px;
  font-family: "Jost";
  font-weight: 300;
}

.form-check {
  margin-top: 1rem;
}

.btn-primary {
  background-color: #8b3c43;
  border: none;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #a00;
}

.form-check-label {
  font-size: 1.3rem;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-direction: column;
}

/* Styling für nebeneinander liegende Felder */
@media screen and (min-width: 768px) {
  .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: row;
  }
}

.form-row .form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.m-respon-img {
  max-width: 350px;
  width: 100%;
}

.big-text{
  font-size:1.5rem;
  margin-bottom:0;
}

@media screen and (min-width:768px){
  .big-text{
    font-size:1.7rem;
  }
}

/* Initialer Zustand (vorher unsichtbar) */
.scroll-visible {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s ease-out, transform 0.6s ease-out;
}

/* Sichtbar, wenn die Klasse 'visible' hinzugefügt wird */
.scroll-visible.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #fff; /* oder deine Standardfarbe */
  transition: color 0.3s ease;
}

.nav-link.active {
  color: var(--accent-red);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.bg-blue {
   background-color:var(--accent-blue) !important;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(7, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

@media screen and (min-width: 768px) {
  .partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
}

.partner-grid img {
  max-width: 312px;
  max-height: 179px;
  object-fit: contain;
  padding: 20px;
}

.partner-grid div {
  background-color: var(--font-default);
  border-radius: 10px;
  display: flex;
  align-items: center;
}

.partner-1 {
  grid-area: 1 / 1 / 2 / 2;
}
.partner-2 {
  grid-area: 1 / 2 / 2 / 3;
}
.partner-3 {
  grid-area: 2 / 1 / 3 / 2;
}
.partner-4 {
  grid-area: 2 / 2 / 3 / 3;
}
.partner-5 {
  grid-area: 3 / 1 / 4 / 2;
}
.partner-6 {
  grid-area: 3 / 2 / 4 / 3;
}
.partner-7 {
  grid-area: 4 / 1 / 5 / 2;
}
.partner-8 {
  grid-area: 4 / 2 / 5 / 3;
}
.partner-9 {
  grid-area: 5 / 1 / 6 / 2;
}
.partner-10 {
  grid-area: 5 / 2 / 6 / 3;
}
.partner-11 {
  grid-area: 6 / 1 / 7 / 2;
}
.partner-12 {
  grid-area: 6 / 2 / 7 / 3;
}
.partner-13 {
  grid-area: 7 / 1 / 8 / 2;
}
.partner-14 {
  grid-area: 7 / 2 / 8 / 3;
}

@media screen and (min-width: 768px) {
  .partner-1 {
    grid-area: 1 / 1 / 2 / 2;
  }
  .partner-2 {
    grid-area: 1 / 2 / 2 / 3;
  }
  .partner-3 {
    grid-area: 1 / 3 / 2 / 4;
  }
  .partner-4 {
    grid-area: 1 / 4 / 2 / 5;
  }
  .partner-5 {
    grid-area: 2 / 1 / 3 / 2;
  }
  .partner-6 {
    grid-area: 2 / 2 / 3 / 3;
  }
  .partner-7 {
    grid-area: 2 / 3 / 3 / 4;
  }
  .partner-8 {
    grid-area: 2 / 4 / 3 / 5;
  }
  .partner-9 {
    grid-area: 3 / 1 / 4 / 2;
  }
  .partner-10 {
    grid-area: 3 / 2 / 4 / 3;
  }
  .partner-11 {
    grid-area: 3 / 3 / 4 / 4;
  }
  .partner-12 {
    grid-area: 3 / 4 / 4 / 5;
  }
  .partner-13 {
    grid-area: 4 / 1 / 5 / 2;
  }
  .partner-14 {
    grid-area: 4 / 2 / 5 / 3;
  }
}

.bg-white{
  background-color:var(--text);
}

#backToTop {
position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  transform: translateY(20px);
  z-index: 1000;
}


/* Sichtbar, wenn aktiv */
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Optional: kleiner Hover-Effekt */
#backToTop:hover {
  transform: translateY(-4px);
}

