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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


.container.narrow {
  max-width: 700px;
}

.section {
  padding: 4rem 0;
}

.section.light {
  background-color: #f6f6f6;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1.2rem;
  margin-top: 1rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}


.info-box {
  margin: 2rem auto;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  background-color: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.btn:hover {
  background-color: #eaeaea;
}

/* Typography */
h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

h3 {
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  color: #333;
}

a {
  color: #111;
  font-weight: 500;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Footer */
footer {
  background-color: #111;
  color: #fff;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
/* Navigation */
.navbar {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: #111;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #111;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

/* Mobile */
@media (max-width: 700px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
}
/* Kontaktformular */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.4rem;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #111;
}
/* Aktive Navigationsseite */
.nav-links a.active {
  opacity: 1;
  font-weight: 700;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #111;
}
.logo img {
  height: 36px;
}
@media (max-width: 700px) {
  .nav-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }
}
/* Info-Box im Hero besser lesbar */
.info-box p {
  color: rgba(255, 255, 255, 0.9);
}
