/* ── Fonts ── */
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans Condensed';
  src: url('fonts/OpenSans-CondLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: #888;
  background: #fafafa;
}

h1, h2, h3, h4 { font-family: 'Open Sans Condensed', sans-serif; font-weight: 300; }
h2 { font-size: 2.4rem; color: #aaa; text-align: center; padding: 1rem 0 1.5rem; }
h3 { font-size: 1.8rem; color: #ababab; text-align: center; margin-bottom: 1rem; }
h4 { font-size: 1.4rem; color: #fff; text-align: center; }
p  { margin-bottom: 1rem; }
a  { color: #c8d300; text-decoration: none; }
a:hover { color: #ddd; text-decoration: underline; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  min-height: 140px;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 132px;
  width: auto;
  display: block;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-menu li a {
  display: block;
  padding: 25px 15px 0;
  font-size: 15px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 300;
  color: #c8d300;
  letter-spacing: 1px;
  line-height: 25px;
  height: 50px;
  white-space: nowrap;
}

.nav-menu li a:hover {
  background: #ddd;
  color: #fff;
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #c8d300;
}

/* ── Hero ── */
.hero {
  position: relative;
  margin-top: 140px;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .parallax-bg {
  background-image: url('img/home_600.jpg');
}

.hero-headline {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero-headline h1 {
  font-size: 3rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 1px 2px 6px rgba(0,0,0,.45);
  line-height: 1.25;
}

/* ── Content boxes ── */
.content-section {
  padding: 60px 0;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 769px) {
  .container.narrow { padding-left: 70px; padding-right: 70px; }
}

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-top: 1.5rem;
}

.cols-2 .spacer { display: block; }

/* ── Parallax banners ── */
.parallax-section {
  position: relative;
  height: 70vh;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.parallax-content h1 {
  font-size: 3rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 1px 1px 4px rgba(0,0,0,.4);
}

.parallax-content h1 a {
  color: #fff;
  text-decoration: none;
}
.parallax-content h1 a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Footer nav ── */
#footer {
  background: #c8d300;
  padding: 40px 0 20px;
}

#footer ul {
  list-style: none;
}

#footer ul li a {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.8;
  display: block;
}
#footer ul li a:hover { color: #dfdfbf; text-decoration: none; }

/* ── Impressum / Datenschutz ── */
.legal-section {
  background: #fafafa;
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}

.legal-section h1 {
  font-size: 2rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.legal-section h2 {
  font-size: 1.4rem;
  text-align: left;
  color: #bbb;
  margin: 1.5rem 0 0.5rem;
}

.legal-section h3 {
  font-size: 1.1rem;
  text-align: left;
  color: #bbb;
  margin: 1rem 0 0.3rem;
}

.legal-section p, .legal-section ul, .legal-section li {
  font-size: 0.95rem;
  color: #999;
}

.legal-section ul { padding-left: 1.5rem; margin-bottom: 1rem; }

.legal-divider {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 60px 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 140px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 10px 0;
    gap: 0;
  }

  .nav-menu.open { display: flex; }

  .nav-menu li a {
    padding: 12px 20px;
    height: auto;
    line-height: 1.4;
  }

  .hero {
    height: 600px;
  }

  .hero-headline h1 { font-size: 2rem; }

  .cols-2 {
    grid-template-columns: 1fr;
  }
  .cols-2 .spacer { display: none; }

  .parallax-bg { background-attachment: scroll; }

  .parallax-content h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .parallax-section { height: 50vh; }
}
