/* ===============================
   Off-Screen Menü (Mobile)
   =============================== */
.off-screen-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #5B5246;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 5rem;
  text-align: center;
  font-size: 2rem;

  transition: transform 0.3s ease;
  transform: translateX(100%);
  z-index: 9999;
  overflow-y: auto;
}

.off-screen-menu .mobile-list a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.off-screen-menu.active {
  transform: translateX(0);

}

.contact-wrap {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-grid label {
  font-weight: 600;
  display: block;
  margin-bottom: .35rem;
}

.contact-grid input,
.contact-grid textarea,
.contact-grid button {
  width: 100%;
  padding: .8rem;
  border: 1px solid #ddd;
  border-radius: .5rem;
  font: inherit;
}

.contact-grid textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.btn-primary {
  cursor: pointer;
  border: none;
  background: #0b63e5;
  color: #fff;
  font-weight: 600;
}

.btn-primary:disabled {
  opacity: .7;
  cursor: progress;
}

.status {
  margin-top: .5rem;
  font-weight: 600;
}

.status.ok {
  color: #0a7a0a;
}

.status.err {
  color: #b00020;
}

.hp {
  position: absolute;
  left: -5000px;
  top: -5000px;
}

.contact-wrap,
.contact-grid,
.contact-grid label,
.contact-grid input,
.contact-grid textarea,
.contact-grid button {
  font-family: Arial, sans-serif;
}

/* ===============================
   Header & Navigation
   =============================== */
header.sticky {
  background-color: #5B5246;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

nav {
  padding: 1rem;
  height: 70px;
  background-color: #5B5246;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ===============================
   Hamburger Menü Button
   =============================== */
.ham-menu {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 40px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10000;

}

.ham-menu span {
  height: 4px;
  width: 70%;
  background-color: white;
  border-radius: 25px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s ease;
}

.ham-menu span:nth-child(1) {
  top: 25%;
}

.ham-menu span:nth-child(2) {
  top: 50%;
}

.ham-menu span:nth-child(3) {
  top: 75%;
}


.ham-menu.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
  opacity: 0;
}

.ham-menu.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* ===============================
   Hero-Banner Anlässe
   =============================== */

.hero-anlaesse {
    width: 100%;
    height: 330px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

/* Das Bild */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Abdunklung */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* Text genau in die Mitte */
.hero-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;      /* vertikal zentrieren */
    justify-content: center;  /* horizontal zentrieren */
    text-align: center;
}

/* Titel */
.hero-center h1 {
    color: white;
    font-size: 2.8rem;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 1rem;
}

@media (max-width: 600px) {
    .hero-anlaesse {
        height: 220px;
    }
    .hero-center h1 {
        font-size: 1.9rem;
    }
}



/* ===============================
   Titel & Logo
   =============================== */
   
   
   
.nav-title {
  font-size: 1.8rem;
  font-family: 'Black Bear', sans-serif;
  font-weight: bold;
  color: white;
  text-align: center;
}

.logo-header {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: auto;
  border-radius: 15%;
  object-fit: contain;
}

h1 {
  font-style: Arial;
}

/* ===============================
   Links
   =============================== */
ul a h2 {
  color: white;
  font-family: 'Black Bear', sans-serif;
  text-decoration: none;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

ul a {
  text-decoration: none;
}

.mobile-list,
.top-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-list li,
.top-nav li {
  margin: 0;
}

.mobile-list a,
.top-nav a {
  color: white;
  text-decoration: none;
  font-family: 'Black Bear', sans-serif;
  font-size: 1.2rem;
}

.mobile-list a {
  display: block;
  padding: 0.5rem 0;
}

p {
  font-style: Arial;
}

/* ===============================
   Footer
   =============================== */
footer.footer {
  background-color: #5B5246;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-family: sans-serif;
  margin-top: auto;
  width: 100%;
  z-index: 100;
  position: relative;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-section hr {
  width: 50px;
  margin: 0 auto 0.5rem;
  border: 1px solid white;
}

.footer-section p {
  margin: 0.3rem 0;
}

.footer-section a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 0.5rem;
}

.social-icons img {
  width: 30px;
  margin: 0 10px;
  filter: brightness(0) invert(1);
}

/* ===============================
   Basics & Reset
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.facebook {
  transform: scale(1.6);
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
    overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;


}

main {
  flex: 1;
}

main {
  padding: 5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

main h1 {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

main p {
  max-width: 700px;
  line-height: 1.6;
  font-size: 1.1rem;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 0 1.5rem 0; 
}

.main-anlaesse {
    padding-top: 2rem !important;
}


.PDF {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    margin: 0.5rem;
    background-color: #5B5246;     /* gleiche Farbe wie Header */
    color: white;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s ease;
    border: 2px solid transparent;
}

.PDF:hover {
    background-color: #7a6f62;     /* etwas heller beim Hover */
    transform: translateY(-3px);   /* leichter Lift-Effekt */
}

.PDF:active {
    transform: translateY(0);      /* Klickfeedback */
}

.PDF:visited {
    color: white;
}

/* ============================================
   Modern Center-Focus Slider (Premium Look)
   ============================================ */

.slider {
  width: min(1000px, 90vw);
  margin: 60px auto;
  position: relative;
  overflow: -moz-hidden-unscrollable; 
}

.track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}

.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  position: relative;
  transform: scale(0.85);
  opacity: 0.4;
  filter: blur(2px);
  transition: all 0.6s ease;
}

.slide.active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
}

.slide img {
  width: 100%;
  max-width: 850px;
  height: 550px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}


.slider::before {
  content: "";
  position: absolute;
  inset: -0px;
  background: radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.15),
      rgba(0, 0, 0, 0.5)
  );
  z-index: -1;
  filter: blur(40px);
}


.caption {
  position: absolute;
  bottom: 25px;
  left: 30px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  backdrop-filter: blur(3px);
}

/* --------------------------------------------
   Pfeile
-------------------------------------------- */
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  color: white;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 25px rgba(0,0,0,0.3);
  transition: 0.3s ease;
}

.btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.12);
}

.prev { left: -25px; }
.next { right: -25px; }

/* --------------------------------------------
   Dots modern minimalistisch
-------------------------------------------- */

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888;
  opacity: 0.3;
  transition: 0.25s ease;
  border: none;
}

.dot[aria-current="true"] {
  opacity: 1;
  background: white;
  transform: scale(1.3);
}

/* --------------------------------------------
   Mobile Anpassung
-------------------------------------------- */
@media (max-width: 600px) {
  .slide img {
    height: 250px;
  }

  .prev { left: -10px; }
  .next { right: -10px; }

  .btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}



/* --------------------------------------------
   Datenschutz & Impressum responsive
-------------------------------------------- */
.impressum {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: #faf9f7;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  line-height: 1.8;
  font-family: Arial, sans-serif;
}

.impressum h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.impressum h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #333;
}

.impressum p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.impressum a {
  color: #0b63e5;
}

@media (max-width: 600px) {
  .impressum {
    margin: 1.5rem 0.5rem;
    padding: 1.2rem;
    font-size: 0.95rem;
    text-align: left;
  }

  .impressum h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .impressum h2 {
    font-size: 1.1rem;
    text-align: center;
  }
}





/* ===============================
   Über uns / Team Sektion
   =============================== */

.team-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  font-family: Arial, sans-serif;
}

.team-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.team-text {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.team-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.team-card {
  background: #faf9f7;
  border-radius: 12px;
  padding: 1rem 1rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.team-card h3 {
  margin: 1rem 0 0.2rem;
  font-size: 1.3rem;
}

.team-card .role {
  color: #5B5246;
  font-weight: bold;
  font-size: 1rem;
}

@media (min-width: 992px) {
  .team-container {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* ===============================
   Fonts
   =============================== */
@font-face {
  font-family: 'Black Bear';
  src: url('fonts/BlackBear-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ===============================
   Desktop Layout
   =============================== */
.top-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

@media (min-width: 992px) {

  .contact-wrap {
    max-width: 900px;
    background: #fafafa;
    border-radius: 1rem;
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .contact-grid label {
    grid-column: span 2;
    text-align: left;
  }

  .contact-grid input,
  .contact-grid textarea {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
  }

  .contact-grid textarea {
    grid-column: span 2;
  }

  .contact-actions {
    grid-column: span 2;
    justify-content: center;
    margin-top: 1rem;
  }

  .btn-primary {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    background: #5B5246;
    transition: background 0.3s ease;
  }

  .btn-primary:hover {
    background: #094cb0;
  }

  .ham-menu {
    display: none;
  }

  .off-screen-menu {
    display: none !important;
  }


  nav {
    background-color: #5B5246;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    height: auto;
  }

  .nav-title {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .top-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .top-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Black Bear', sans-serif;
    font-size: 1.2rem;
  }

  .top-nav a:hover {
    text-decoration: underline;
  }


  .logo-header {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: auto;
    border-radius: 15%;
    object-fit: contain;

  }
}