/* Globale Farben überschreiben */
:root {
  --bs-primary: #76c56b;

  --bs-primary-bg: #343c33;
  --bs-primary-rgb: 52, 60, 51;

  --bs-primary-text:  #76c56b;
  --bs-secondary-text-emphasis: #76c56b;;

  --bs-primary-text-emphasis: #48ce23;
  --bs-primary-bg-subtle: #1c500d;
  --bs-primary-border-subtle: #40b61f;
  --bs-primary-emphasis: #3af03a;

  --bs-link-color: #76c56b;
  --bs-link-color-rgb: 118, 197, 107;

  --bs-link-hover-color: #3af03a;
  --bs-link-hover-color-rgb: 58, 240, 58;

/*
  --bs-secondary: #66CCCE;
  --bs-secondary-rgb: 102, 204, 206;
  --bs-tertiary-bg: #0E87AA;
  --bs-tertiary-bg-rgb: 14, 135, 170;
  --bs-success: #009688;
  --bs-danger: #e91e63;
*/
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}



/* Sektionen */
.section {
  min-height: 100vh;
  padding: 4rem 1rem;
}



/* Navbar Standard (dunkel) */
.navbar {
  background-color: rgba(0, 0, 0, 0.65);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(2px);
}

.navbar.scrolled .navbar-brand img {
	opacity: 1;
}

/* Heller beim Hover */
.hover-opacity-100:hover {
  opacity: 1 !important;
  transition: opacity 0.3s ease;
}

/* Transparente Variante für Hero */
.navbar.transparent {
  background-color: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
}

.navbar-brand img {
  max-height: 24px; /* Standard für Mobile */
  opacity: 0;
	transition: opacity 0.5s ease;
}

@media (min-width: 768px) {
  .navbar-brand img {
    max-height: 32px; /* Größer ab Tablet */
  }
}

@media (min-width: 1200px) {
  .navbar-brand img {
    max-height: 48px; /* Noch größer ab Desktop */
  }
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
  }
}



/* Hero Bereich */
.hero {
  position: relative;
  height: 100vh;
  background: url("../media/video-alternative.jpg") center center / cover no-repeat; /* Fallback für Mobile */
  background-size: cover;
  padding: 0 1rem;
  overflow: hidden;
  z-index: -10;
}

/* Hintergrundvideo */
.hero video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -8;
}

/* Halbtransparentes Overlay über dem Hero-Bereich */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* height: 100vh;   /* Fallback */
  /* height: 100dvh;  /* Moderne Browser */
  background: rgba(0,0,0,0.7);
  /* background: linear-gradient(
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.4) 100%
  ); */
  z-index: 1;
}

/* Content Headline mit Logo */
.hero-content {
  z-index: 5;
}

@media (max-width: 768px) {
  .hero .overlay {
    background: rgba(0, 0, 0, 0.8); /* Etwas dunkler auf Mobile */
  }
}

/* Dezenten Schatten hinter die Frontschrift für bessere Lesbarkeit */
.hero-content h1, .hero-content p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero .hero-logo img {
	max-width: 800px;
	width: 70%;
  -webkit-filter: drop-shadow( 4px 4px 3px rgba(0, 0, 0, 0.7));
  filter: drop-shadow( 4px 4px 3px rgba(0, 0, 0, 0.7));
}

/* Mobile: Fallback-Bild (Video wird dort evtl. blockiert) */
@media (max-width: 768px) {
  .hero video {
    display: none;
  }

  .hero {
    background-attachment: fixed; /* Parallax-Effekt */
    background-position: center;
    background: url("../media/video-alternative.jpg") no-repeat center center;
    background-size: cover;
  }
}


.limitedimage {
  object-position: center;
  object-fit: cover;
  height: 30rem;
  width: 100%;
}



.card-min-max {
  max-width: 20rem;
  min-width: 20rem;
}

@media (max-width: 2200px) {
  .card-min-max {
    max-width: 18rem;
    min-width: 14.5rem;
  }
}

@media (max-width: 1700px) {
  .card-min-max {
    max-width: 18rem;
    min-width: 11.5rem;;
  }
}

@media (max-width: 1399px) {
  .card-min-max {
    max-width: 18rem;
    min-width: 14rem;;
  }
}

@media (max-width: 1130px) {
  .card-min-max {
    max-width: 18rem;
    min-width: 11.5rem;;
  }
}

@media (max-width: 990px) {
  .card-min-max {
    max-width: 16rem;
    min-width: 15rem;
  }
}

.colored-bar {
  width: 5px;
  background-color: var(--bs-link-color);
  border-radius: 2px;
}

/*
.section-bg:before {
    content: "";
    background-color: var(--background-color);
    position: absolute;
    bottom: 60px;
    top: 60px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}
*/


/* Basis für Parallax-Sektionen */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.parallax-contact {
  background-image: url('../media/andreas_1000px.jpg');
}
.parallax-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}


.right-overlay {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: -1;
}

@media (max-width: 767.98px) {
  .right-overlay {
    width: 100%;
    padding: 3rem 1rem;
  }
}

@media (max-width: 576px) {
  .parallax-contact {
    background-image: url('../media/andreas_500px.jpg');
  }
}
