body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f9;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

header {
  background-color: #001f3f;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: #ffffff;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
}

section {
  margin-bottom: 2rem;
}

section h2 {
  color: #001f3f;
  border-bottom: 2px solid #001f3f;
  padding-bottom: 0.3rem;
}

footer {
  background-color: #001f3f;
  color: white;
  padding: 20px;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: underline;
}

footer a:hover {
  color: #cccccc;
}

.horizontal-progress-container {
  width: 80%;
  background-color: #e0e0e0;
  border-radius: 10px;
  margin: 2rem auto 0 auto;
  height: 25px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.horizontal-progress-bar {
  height: 100%;
  background-color: #2ecc40;
  width: 0%;
  border-radius: 10px 0 0 10px;
  transition: width 0.5s ease-in-out;
}

.progress-label {
  text-align: center;
  font-weight: bold;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #2c3e50;
}

/* ✅ CV-Request Bereich: sauber mittig */
.cv-request-container {
  text-align: center;
  margin-top: 3rem;
}

.cv-request-form {
  display: inline-block;
  text-align: left;
  max-width: 400px;
  width: 90%;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cv-request-form input,
.cv-request-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.cv-request-form button {
  width: 100%;
  padding: 0.6rem;
  background-color: #001f3f;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.cv-request-form button:hover {
  background-color: #003366;
}

#feedbackMessage {
  margin-top: 1rem;
  font-weight: bold;
}
/* Responsive, zentrierte Bilder */
img.responsive {
  max-width: 75%;      /* nicht breiter als 50% des Contentbereichs */
  height: auto;        /* Seitenverhältnis beibehalten */
  display: block;      /* erlaubt margin auto */
  margin: 1rem auto;   /* zentriert horizontal */
  border-radius: 4px;  /* optionale, leichte Rundung */
}
/* ——— Zusätze: Bilder mittig & responsive feinjustiert ——— */

/* Trennlinie wie im HTML (.divider) */
.divider {
  height: 1px;
  background: #e0e0e0;
  margin: 2rem 0;
}

/* Optional: Bild-Untertitel via <figure><figcaption> */
figure { margin: 1rem auto; text-align: center; }
figure img { margin-bottom: .5rem; }
figcaption { color: #2c3e50; font-size: .95rem; }

/* Kleine Geräte: Bilder dürfen etwas größer sein, bleiben zentriert */
@media (max-width: 768px) {
  img.responsive { max-width: 90%; }
}
figure {
  text-align: center;
}

figure img {
  max-width: 75%;
  height: auto;
}