html {
  scroll-behavior: smooth;
}
:root {
  --primary: #da1f3d;
  --dark: #222;
  --light: #f7f7f7;
  --text: #333;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* Hero Header */
header {
  background: var(--dark) url("Buende-neubau1.jpeg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 11rem 1rem;
  position: relative;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
header h1,
header p {
  position: relative;
  z-index: 1;
}
header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
header p {
  font-size: 1.25rem;
}

/* Navigation */
nav {
  background: var(--primary);
  position: sticky;
  z-index: 1000;
  top: 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  position: sticky;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}
.logo {
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem 0;
}
.menu {
  display: flex;
  gap: 1rem;
}
.menu a {
  color: #fff;
  padding: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.15);
}
.nav-container a {
  color: #fff;
  text-decoration: none;
}
/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.hamburger span {
  background: #fff;
  height: 3px;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    display: none;
  }
  .menu a {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .menu.show {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .logo {
    font-size: 0.9rem;
  }

  header {
    padding: 5rem 1rem;
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
section {
  margin-bottom: 4rem;
}
section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Grid & Cards (unchanged) */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--light);
  border-radius: 12px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-content {
  padding: 1rem;
}
.card-content h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.feature {
  flex: 1 1 calc(33.333% - 1rem);
  background: var(--primary);
  color: #fff;
  padding: 2rem;
  min-height: 150px;
  border-radius: 12px;
  text-align: center;
  align-items: center;
  justify-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.team {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.member {
  flex: 1 1 220px;
  text-align: center;
}
.member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

footer {
  background: var(--dark);
  color: #fff;
  text-align: left;
  padding: 2rem 1rem;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2.2rem;
  }
}

.route-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  margin-top: 1rem;
  min-width: 45px;
}
.route-button:hover {
  background-color: rgba(218, 31, 61, 0.5);
}
.route-button svg {
  margin-right: 8px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

footer h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #4da3ff;
  text-decoration: none;
}

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

footer hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 20px 0;
}
