@charset "UTF-8";

/* === Grundlayout === */
body  { 
    background-color: #FFFFFF; 
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif"; 
      line-height: 1.6;
}

.container{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  display: flex;
  align-items: center;   /* vertikal ausrichten */
  justify-content: space-between;
	margin-bottom: 22px;
	padding: 10px 0;
}

.logo {
  max-height: 70px;   /* ruhig halten */
}
main {
  padding: 25px 0 70px;
}

/* === Typografie === */
h1, h2, h3, h4, h5, h6 {
  color: #365072; /* Kommt Pantone 295 U sehr nahe */
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }
h1 { margin: 0.6em 0 0.3em; }
h2 { margin: 0.9em 0 0.4em; }
h3 { margin: 0.8em 0 0.3em; }
p  { margin: 0 0 1.1em; }

/* === Links (Content) === */
a:link,
a:visited {
  color: #365072;
}

a:hover,
a:focus {
  color: #2c425f;           /* etwas dunkler */
  text-decoration: underline;
}

/* === Navigation === */

nav ul {
    list-style-type: none; /* Entfernt die Aufzählungszeichen */
  display: flex;
  gap: 0;            /* optional: Abstand zwischen Links, z.B. 6px */
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #365072;
}

nav li { 
  float: none;       /* oder Regel komplett entfernen */
}

nav li a:link,

nav li a:visited {
  color: #ffffff;
  display: block;
  text-align: center;
  padding: 10px 14px;
  text-decoration: none;
}

nav li a:hover {
  background-color: #2c425f; /* Farbe beim Überfahren mit der Maus */
}
nav li a.active {
  background-color: #1f2f45; /* Farbe für aktive Seite */
}

/* === Main === */
main {
  padding: 20px 0 60px;   /* unten viel Luft */
}

/* === Footer === */
footer {
  background-color: #365072;
  color: white;
  padding: 10px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
}
footer a:link,
footer a:visited {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}
footer a {
  white-space: nowrap;
}

/* === Ende === */