
/* Allgemeines Layout */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #1a1a1a;
  color: #fff;
  padding: 1.5em;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 2em;
}

/* Navigation */
/* Standard Desktop */
nav {
  display: flex;
  justify-content: center;
  gap: 2em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5em 0;
}

/* Burger-Button verstecken auf Desktop */
#burger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 1.2em;
  right: 1em;
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    background-color: #1a1a1a;
    position: absolute;
    top: 4.5em;
    right: 0;
    width: 200px;
    padding: 1em;
    border-radius: 0 0 0 8px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.3);
  }

  nav.hidden {
    display: none;
  }

  #burger {
    display: block;
  }

  nav a {
    padding: 0.8em 1em;
    border-bottom: 1px solid #333;
  }

  nav a:last-child {
    border-bottom: none;
  }
}


nav a:hover {
  color: #00bcd4;
}

/* Hauptbereich */
main {
  padding: 2em;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: 2em;
}

/* Überschriften */
h2 {
  color: #1a1a1a;
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

h3 {
  color: #333;
  margin-top: 1.5em;
}

/* Listen */
ul {
  list-style: disc;
  margin-left: 2em;
}

/* Links */
a {
  color: #0077cc;
}

a:hover {
  text-decoration: underline;
}

/* Kontaktformular */
form input, form textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

form input[type="submit"] {
  background-color: #0077cc;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

form input[type="submit"]:hover {
  background-color: #005fa3;
}

/* Bild (z. B. Profilfoto) */
img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1em 0;
}

form {
  background: #f7f9fc;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 600px;
  margin-top: 2em;
}

form label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1.2em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background: #fff;
}

form input[type="submit"] {
  background-color: #0077cc;
  color: white;
  padding: 0.8em 1.5em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s ease;
}

form input[type="submit"]:hover {
  background-color: #005fa3;
}

.profilbild-container {
  text-align: center;
  margin-bottom: 2em;
}


.profilbild-container img {
  display: block;
  margin: 0 auto;
  width: 250px !important;
  height: auto;
  object-fit: contain;
  border-radius:50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.2em;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button-link:hover {
  background-color: #005fa3;
}

footer {
  text-align: center;
  padding: 2em 1em;
  background-color: #1a1a1a;
  color: white;
  margin-top: 4em;
  font-size: 0.9em;
}

footer a {
  color: #ccc;
  margin: 0 0.5em;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #00bcd4;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5em;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
  }

  main {
    padding: 1em;
    margin-top: 1em;
    box-shadow: none;
    border-radius: 0;
  }

  .profilbild-container img {
    width: 100px; /* Kleiner auf Mobilgeräten */
  }

  form {
    padding: 1em;
  }

  .button-link {
    font-size: 0.95em;
    padding: 0.6em 1em;
  }

  footer {
    font-size: 0.8em;
    padding: 1.5em 0.5em;
  }
}
.button-link {
  min-width: 44px;
  min-height: 44px;
}

