* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.hero {
  position: relative;
  height: 100vh; /* Desktop bleibt gleich */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

.header-info {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-head {
  height: 40vh;
  aspect-ratio: 1;
  display: block;
}

.text {
  color: white;
  text-align: center;
}

/* NAV */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 15px;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

nav li {
  flex: 0 0 auto;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* MAIN */
main {
  width: 100%;
  max-width: 1000px;
  padding: 1rem;
}

/* GRID FIX */
.grid-two {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Desktop */
  gap: 20px;
  padding: 20px;
}

/* TEXT */
#heading {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

#overUsText {
  margin: 20px;
  text-align: center;
}

/* CARD */
.card {
  margin: 10px;
  width: 90%;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-radius: 15px;
}

/* BUTTON */
.button {
  display: block;
  margin: 20px auto;
  color: #fff;
  text-align: center;
  background-color: #000;
  padding: 10px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  width: fit-content;
}

/* IMAGE */
.locImage {
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 15px;
  width: 80%;
}

/* FOOTER */
footer {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 30px 0;
  width: 100%;
}

footer .impressum-link {
  display: block;
  margin: 10px auto;
  text-decoration: none;
  color: black;
}

footer .impressum-link:hover {
  text-decoration: underline;
}

footer .logo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 10px;
}

footer p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

/* NEWS */
.newsList {
  margin-top: 20px;
}

.newsItem {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.slide-container {
  position: relative;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 15px;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 10px;
}

/* FORM */
.form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

form button {
  padding: 12px 20px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* OVERLAY */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#overlay .message-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
}

#overlay button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  border-radius: 8px;
}

/* IMPRESSUM */
.impressum {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
}

#link {
  color: #000;
  text-decoration: none;
}

/* ========================= */
/* 📱 MOBILE ONLY */
/* ========================= */
@media (max-width: 600px) {

  h1 {
    font-size: 1.5rem;
  }

  nav a {
    font-size: 12px;
  }

  .logo-head {
    height: 25vh;
  }

  .hero {
    height: 70vh;
  }

  .grid-two {
    grid-template-columns: 1fr; /* WICHTIG */
  }

  .card {
    width: 100%;
    margin: 10px 0;
  }

  .locImage {
    width: 100%;
  }

  nav ul {
    gap: 0.5rem;
    padding: 10px;
  }

  footer .logo {
    width: 70px;
    height: 70px;
  }
}