/* Gruber4D – rebuilt static stylesheet (no framework, no JS required) */

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2');
}
/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-v25-latin-700.woff2') format('woff2');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* keep anchored sections clear of the fixed header */
section[id] {
  scroll-margin-top: 3.5rem;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

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

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.container {
  max-width: 992px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Header / navigation ---------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(240, 240, 240, 0.95);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.nav-list a {
  display: block;
  padding: 0.75rem 0.5rem;
  color: #333;
  text-transform: uppercase;
  transition: color 0.15s ease-in-out;
}

.nav-list a:hover {
  color: #666;
  text-decoration: none;
}

.nav-list li:first-child a {
  padding-left: 0;
}

.nav-list li:last-child a {
  padding-right: 0;
}

@media (max-width: 575px) {
  .nav-list {
    justify-content: center;
  }
  .nav-list a {
    padding: 0.5rem 0.4rem;
    font-size: 0.85rem;
  }
}

/* ---------- Start video ---------- */

#startvideowrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#logo {
  max-width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

#startvideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Content sections ---------- */

section p {
  font-size: 0.95rem;
}

.heading {
  background-color: #e7e7e7;
  padding: 1.5rem 0;
}

.heading h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 500;
}

.section-body {
  display: block;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .section-body {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
  }
  .section-text {
    flex-basis: 55%;
  }
  .section-image {
    flex-basis: 45%;
  }
}

.section-image {
  text-align: center;
}

.section-text.centered {
  flex-basis: 100%;
  text-align: center;
}

/* checkbox-style bullets (replaces FontAwesome fa-ul) */
.check-list {
  list-style: none;
  padding-left: 1.6em;
  margin: 0 0 1rem;
}

.check-list li::before {
  content: "\2611"; /* ☑ */
  display: inline-block;
  width: 1.3em;
  margin-left: -1.3em;
}

/* ---------- Parallax bands ---------- */

.parallax-window {
  min-height: 300px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1024px) {
  .parallax-window {
    height: 400px;
    background-attachment: fixed;
  }
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 48px 0;
}

footer p {
  margin: 0;
}

/* ---------- CSS-only modals (Impressum / Datenschutz) ---------- */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal:target {
  display: block;
}

.modal-content {
  position: relative;
  background: #fff;
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .modal-content {
    max-width: 100%;
    padding: 1.25rem;
  }
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
  color: #333;
  text-decoration: none;
}

.modal-close:hover {
  color: #666;
  text-decoration: none;
}
