/* style.css – zentrales Layout für StaffCons */

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background: #004080;
  color: white;
  padding: 20px;
  position: relative;
  text-align: center;
}

.logo {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 60px;
  width: auto;
  cursor: pointer;
}

nav {
  background: #0066cc;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 12px 0;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav a:hover,
nav a.active {
  background: #004080;
}

main {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section {
  margin-bottom: 40px;
}

h1, h2 {
  color: #004080;
  margin-top: 0;
}

h3 {
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
}

ul {
  padding-left: 20px;
}

img.full-width {
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

img.page-banner {
  max-width: 600px;
  width: 100%;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.button-container {
  text-align: center;
  margin-top: 30px;
}

.btn, .submit-btn {
  background: #004080;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover, .submit-btn:hover {
  background: #0066cc;
}

form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

fieldset {
  border: 1px solid #ccc;
  padding: 25px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

legend {
  font-weight: bold;
  font-size: 1.2rem;
  color: #004080;
  padding: 0 10px;
}

label {
  display: block;
  margin-top: 20px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #666;
}

/* Mobiloptimierung */
@media (max-width: 768px) {
  .logo {
    position: static;
    display: block;
    margin: 0 auto 10px;
    height: 50px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    align-items: center;
  }

  main {
    margin: 20px;
    padding: 20px;
  }

  .submit-btn {
    width: 100%;
    font-size: 18px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* Zwei-Spalten-Layout für Desktop */
@media (min-width: 900px) {
  fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
  }

  label {
    grid-column: span 2;
  }

  input,
  select,
  textarea {
    grid-column: span 2;
  }

  .radio-group {
    grid-column: span 2;
  }

  .submit-btn {
    grid-column: span 2;
    justify-self: center;
  }
}
