body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}


.page-header {
  background-color: #ff9933;
  padding: 1rem;
  text-align: center;
  color: white;
}
.page-header h1 {
  margin: 0;
  font-size: 2rem;
}
.page-header h2 {
  margin: 0.2rem 0;
  font-weight: normal;
  font-size: 1.2rem;
}

.content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  gap: 2rem;
}
.intro {
  flex: 2;
}
.intro img {
  width: 130px;
  margin: 0.5rem;
  border-radius: 4px;
}

.intro a {
  color: #C75000;
}

.intro p, li {
  line-height: 1.7em;
  margin-left: 1em;
  margin-bottom: 0.5rem; 
}


.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #eee;
  padding: 1rem;
  border-radius: 8px;
}

.sidebar-section {
  background: #f9f9f9;
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.sidebar-section h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 2px solid #ff9933;
  padding-bottom: 0.3rem;
  background: none;
}
.sidebar-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.sidebar-section li {
  margin-bottom: 0.5rem;
  line-height: 1.2em;
}
.sidebar-section a {
  color: #333;
  text-decoration: none;
}
.sidebar-section a:hover {
  text-decoration: underline;
  color: #ff9933;
}

.search-field {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.site-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #888;
}

.hero-image {
  background-image: url('./bilder/berge.jpg');
  background-size: cover;
  background-position: center;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-text {
  background-color: rgba(51, 51, 51, 0.5); /* dark grey transparent */
  color: white;   
  padding: 1rem;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
  overflow-wrap: break-word;
}



.hero-text h1 {
  margin: 0;
  font-size: 2.5rem;
  font-family: "Georgia", serif;
}
.hero-text p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* ===================== */
/* NAVIGATION & HAMBURGER */
/* ===================== */

.top-nav {
  background: #333;
  padding: 0.5rem 1rem;
}
.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.top-nav li {
  display: inline;
}
.top-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.top-nav a:hover {
  text-decoration: underline;
}

/* HAMBURGER-MENÜ */

.nav-toggle-wrap {
  display: none;
}
.nav-label {
  display: none;
  font-size: 1.8rem;
  padding: 1rem;
  background-color: #333;
  color: white;
  text-align: center;
  cursor: pointer;
}
.nav-hamburger {
  display: none;
}

/* ===================== */
/* RESPONSIVE NAVIGATION */
/* ===================== */

@media (max-width: 768px) {
  .nav-toggle-wrap {
    display: block;
  }

  .nav-label {
    display: block;
  }

  .top-nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    margin: 0;
    padding: 0.5rem 0;
    gap: 0;
  }

  .top-nav ul li {
    width: 100%;
    border-top: 1px solid #444;
  }

  .top-nav ul li a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: white;
  }

  #nav-toggle:checked ~ nav.top-nav ul {
    display: flex;
  }

 .content {
    margin-top: 0;
    padding-top: 1rem; /* oder weniger */
  }
}

@media (min-width: 769px) {
  .top-nav ul {
    display: flex !important;
    
  }
  .top-nav {
    margin-top: 1rem;
}

/* Hide checkbox by default */
.nav-hamburger {
  display: none;
}
}
/* Hide menu on small screens */
@media (max-width: 768px) {
  .top-nav {
    display: none;
    flex-direction: column;
    background: white;
    padding: 1em;
  }

  .nav-label {
    display: block;
    background: #444;
    color: white;
    padding: 0.5em 1em;
    cursor: pointer;
    font-size: 1.2em;
  }

.hero-text h1 {
    font-size: 1.8rem;  /* or try 1.25rem */
  }

  .hero-text p {
    font-size: 1rem;
  }


  /* Checkbox is inside nav-toggle-wrap; we need to use :checked and general sibling selector */
  #nav-toggle:checked ~ .top-nav {
    display: flex;
  }
  
  

}

/* On large screens, always show menu and hide hamburger */
@media (min-width: 769px) {
  .top-nav {
    display: flex;
    justify-content: center;
    gap: 1em;
  }

  .nav-label,
  .nav-hamburger {
    display: none;
  }
}
