/* =========================
   BASIS
   ========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, serif;
  line-height: 1.7;
  color: #111;
}



/* =========================
   GLOBALE BLOG-BREITE
   ========================= */
header,
main,
footer {
  max-width: 700px;   /* typische Blog-Breite */
  margin: 0 auto;
  padding: 1.25rem;
}

/* =========================
   NAVIGATION
   ========================= */
nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #111;
}

nav a:hover {
  text-decoration: underline;
}

nav span {
  margin-left: auto;
}

/* Menübereich nimmt die restliche Breite */
header .nav-links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

/* Links gleichmäßig verteilen */
header .nav-links a {
  flex: 1 1 0;
  text-align: center;
  padding: 0.25rem 0;
  text-decoration: none;
  color: inherit;
}



/* Senkrechte Trennstriche zwischen den Punkten */
header .nav-links a + a {
  border-left: 0px solid #999;
}

/* Hover (optional, schlicht) */
header .nav-links a:hover {
  text-decoration: underline;
}



/* =========================
   TYPOGRAFIE
   ========================= */
#content h1,
#content h2,
#content h3 {
  line-height: 1.3;
  margin-top: 2rem;
}

#content p {
  margin: 1rem 0;
}

#content a {
  color: #000;
  text-decoration: underline;
}

/* =========================
   FORMULAR
   ========================= */
form {
  margin-top: 2rem;
}

input,
textarea,
button {
  width: 100%;
  font: inherit;
  margin-bottom: 1rem;
}

textarea {
  min-height: 120px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  font-size: 0.9rem;
  color: #555;
}

form {
  max-width: 420px;
  margin: 2rem auto;
}


h1{font-size:2.4rem;font-weight:normal}

/* Sprachabhängige Navigation */
html[lang="de"] .lang-en {
  display: none;
}

html[lang="en"] .lang-de {
  display: none;
}

.langswitch {
  margin-left: auto;
  font-size: 0.9rem;
}

.langswitch a {
  text-decoration: none;
  color: inherit;
}

.langswitch a.active {
  text-decoration: underline;
  font-weight: 600;
  cursor: default;
}

.langswitch span {
  margin: 0 0.25rem;
  color: #888;
}

header .logo img { 
  max-width: 200px;
}

header .langswitch {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.9rem;
}

header .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

header .logo img {

  display: block;
}


/* Topbar: Logo links, Language rechts */
header .wrapper_h {
  display: flex;
  align-items: center;
  justify-content: space-between; /* links / rechts */
  gap: 1rem;
}

/* Logo */
header .logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

header .logo img {
  max-height: 42px;
  width: auto;
  height: auto;
  display: block;
}

/* Language switch */
header .langswitch {
  white-space: nowrap;
  font-size: 0.9rem;
}

header .langswitch a {
  text-decoration: none;
  color: inherit;
}

header .langswitch a.active {
  text-decoration: underline;
  font-weight: 600;
  cursor: default;
}

header .langswitch span {
  margin: 0 0.25rem;
  color: #888;
}


@media (max-width: 600px) {
  header nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  /* Logo, Menü, Sprachwahl jeweils eigene Zeile */
  header .nav-left,
  header .nav-links,
  header .langswitch {
    width: 100%;
  }

  /* Menüpunkte untereinander */
  header .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  header .nav-links a {
    flex: none;              /* falls du vorher flex: 1 hattest */
    text-align: left;        /* oder center – wie du willst */
    padding: 0.5rem 0;
  }

  /* Senkrechte Trennstriche deaktivieren */
  header .nav-links a + a {
    border-left: none;
    border: none /* optional: horizontaler Trenner */
  }

  /* Sprachswitch nicht rechts, sondern normal */
  header .langswitch {
    text-align: left;        /* oder center */
    white-space: normal;
  }
}
