/* Base Styles */
body {
  font-family: 'Inter', Arial, sans-serif; /* moderner Font */
  background-color: #f5f7fa;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* HEADER – klarer, gerader Banner */
header {
  background: linear-gradient(135deg, #0D1B2A, #1B263B, #2C3E50, #34495E);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
}

/* optional subtile Shimmer-Animation */
header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%);
  transform: rotate(25deg);
  animation: shimmer 8s infinite;
  z-index: 1;
}

@keyframes shimmer {
  0% { transform: rotate(25deg) translateX(-100%); }
  50% { transform: rotate(25deg) translateX(100%); }
  100% { transform: rotate(25deg) translateX(-100%); }
}

header h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 3em;
  letter-spacing: 1px;
}

/* Optional Hover-Farbwechsel */
header:hover {
  background: linear-gradient(135deg, #0B1524, #1A2336, #273746, #2C3E50);
}

/* Rest des CSS bleibt unverändert (Nav, Sections, Footer) */


/* NAVIGATION */
nav {
  background: linear-gradient(135deg, #1B263B, #2C3E50);
  padding: 15px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 900px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav li {
  display: inline-block;
  margin: 0 30px; /* Abstand links und rechts */
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover-Effekt: Unterstreichung in Grau */
nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #ffffff;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin: 15px 0; /* vertikaler Abstand für Mobile */
  }
}

/* MAIN */
main {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 50px;
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

h2 {
  color: #1B263B;
  border-left: 5px solid #415A77;
  padding-left: 12px;
  margin-bottom: 15px;
}

/* Kontaktbereich */
#kontakt {
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

.contact-card {
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 500px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.contact-card h2 {
  color: #1B263B;
  border-left: 5px solid #415A77;
  padding-left: 12px;
  margin-bottom: 15px;
}

.contact-card h3 {
  margin-bottom: 20px;
  font-size: 1.3em;
  color: #333;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.contact-content p {
  margin: 8px 0;
  line-height: 1.8;
  font-size: 1em;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #0D1B2A, #1B263B, #2C3E50);
  color: #ffffff;
  text-align: center;
  padding: 50px 20px;
  margin-top: 50px;
  border-top: 3px solid #415A77;
  border-radius: 0; /* keine runden Ecken */
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px; /* Platz für Unterstreichung */
}

/* Unterstreichung beim Hover */
footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ffffff; /* weiße Unterstreichung */
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

.section-separator {
  border: 0;
  height: 2px;
  background-color: #1B263B;
  margin: 70px 0 50px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2em;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  main {
    padding: 25px 15px;
  }

  section {
    margin-bottom: 35px;
    padding: 20px;
  }

  .contact-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 35px 15px;
  }

  header h1 {
    font-size: 1.8em;
  }

  nav {
    padding: 10px 15px;
  }

  nav a {
    padding: 8px 10px;
    font-size: 0.95em;
  }

  footer {
    padding: 35px 15px;
  }
}

.email-link {
  color: inherit;       /* gleiche Farbe wie der umgebende Text */
  text-decoration: none; /* keine Unterstreichung */
}

.email-link:hover {
  text-decoration: underline; /* Unterstreichung nur beim Hover */
}

/* Header-Titel klickbar machen – weiß, ohne Unterstreichung */
header h1 a {
    color: #ffffff;        /* weiß */
    text-decoration: none; /* keine Unterstreichung */
}

header h1 a:hover {
    color: #ffffff;        /* bleibt weiß beim Hover */
    text-decoration: none; /* keine Unterstreichung beim Hover */
}

