body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  background: #EFECE3;
  color: #202126;
  line-height: 1.6;
}

html, body {
  margin: 0;
  padding: 0;
}

header {
  color: white;
  padding: 1rem 0;
}

header,
.header-bg,
.header-container {
  margin-top: 0;
  padding-top: 0; /* nur wenn nötig */
}

.header-bg {
  background-image: url('Images/header-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* <<< vertikal mittig für Branding & Nav */
  max-width: 960px;     /* <<< wieder auf volle Breite setzen */
  margin: 0 auto;
  padding: 0 1rem;
}

.branding {
  display: flex;
  align-items: center;  /* <<< korrektes vertical alignment */
}

.logo {
  height: 40px;
  display: block;
}

.brand-title {
  margin-left: 20px;
  font-size: 1.7rem;
  font-weight: 400;
  color: white;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center; /* <<< optional, falls du zentrieren willst */
}

nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 1rem 1rem;
}

.content h3, .content h4, .contact h3 {
font-size: 1.5rem;
  font-weight: 400;
  color: #25477C;
}

.content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0; /* vorher: Standard oder zu groß */
  font-size: 1.2rem;
}


.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 0;
}

.text-column {
  flex: 1 1 50%;
}

.image-column {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.image-column img {
  width: 100%;
  height: auto;
  max-width: 500px; /* optional: begrenzt die Bildbreite auf großen Bildschirmen */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.linkedin-link {
  margin-top: 2rem;
}

.linkedin-link a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #25477C;
  font-weight: 600;        /* etwas kräftiger */
  font-size: 1.25rem;      /* größer – z. B. 20px */
  gap: 0.5rem;             /* gleichmäßiger Abstand zwischen Icon und Text */
}


.linkedin-link a:hover {
  text-decoration: underline;
}

.linkedin-icon {
  margin-right: 0.5rem;
}

@media (max-width: 780px) {
  .image-column {
    display: none;
  }
}


.text-column p:last-of-type {
  margin-bottom: 0; /* reduziert unteren Abstand des letzten Absatzes */
}

.text-column ul {
  margin-top: 0; /* entfernt oberen Abstand der Liste */
  padding-left: 1.2rem;
}

.text-column ul li {
  margin-bottom: 0.5rem;
}

a {
  color: #25477C;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #1a345b; /* optional: dunklere Variante für Hover */
  text-decoration: underline;
}

