*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #040a1a;
  color: white;
  line-height: 1.6;
}

/* Header, Nav, Footer */
header, nav, footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 2rem;
}

header {
  justify-content: space-between;
  border-bottom: 1px solid #1f2f5a;
}

.logo img {
  max-width: 100%;
  width: 500px;
  height: auto;
}

nav {
  background-color: var(--dark);
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid var(--light);
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  color: var(--highlight);      /* z.B. deine Akzentfarbe */
  text-decoration: underline;
  font-weight: 700;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
}


  .hero {
    background-attachment: scroll;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

/* Content Area */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 1.5rem 20px; /* oben 0, rechts 20px, unten 1em, links 20px */
}

/* Service Section */
.service-section {
  padding: 2rem 1rem;
  background-color: #040a1a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  min-height: 280px;
  color: black;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card.reverse {
  flex-direction: column-reverse;
}

.service-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: #005288;
  font-size: 1.5rem;
  margin-top: 0;
}

.service-content p {
  font-size: 1rem;
}

/* Footer 
footer {
  justify-content: space-between;
  background-color: #0a1a3a;
  border-top: 1px solid #1f2f5a;
  padding: 2rem;
  flex-wrap: wrap;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-left, .footer-right, .footer-center {
  flex: 1 1 300px;
  margin-bottom: 1rem;
}

.footer-center {
  align-items: center;
  text-align: center;
}

.footer-right a, .footer-center a {
  color: white;
  text-decoration: none;
  text-align: right;
}

.footer-right a:hover, .footer-center a:hover {
  text-decoration: underline;
} */

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons a {
  font-size: 1.5rem;
  color: white;
}

/* Kontaktformular */
.contact-form h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background-color: #1f2f5a;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
}

button:hover {
  background-color: #0a1a3a;
}

/* Google Maps */
  .map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
  }

  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
