* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: #222;
}

header {
  background-color: #0b1e3f;
  color: white;
  padding: 1.5rem 2rem;
}

header .header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem;
}

header .logox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

header .logo {
  left: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

header .header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

header .header-center h1 {
  margin: 0 0 0.5rem;
  font-weight: bold;
  font-size: 1.8rem;
  color: white;
}

header .logo img {
  height: 120px;
  width: auto;
}

header .brand-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header .brand-title h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header .tagline p {
  font-size: 0.9rem;
  color: #e5e5e5;
  margin-bottom: 1rem;
}

header nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

header nav a:focus,
header nav a:active {
  color: #cbd5e1;
}


main {
  max-width: 960px;
  padding: 0 1rem;
  max-width: 960px;
  margin: 2rem auto;
}

h1, h2 {
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: #374151;
}

.kachel-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.kachel {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.kachel.dark {
  background: #eef1f5;
}

.contact-form form {
  display: grid;
  gap: 1rem;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}

.contact-form button {
  background: #0b1e3f;
  color: white;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #0b1e3f;
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
}

footer p
{
  color: lightgray;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin: 0 1rem;
}

footer a:active,
footer a:focus {
  color: #d1d5db;
}

/* Responsive Layout für kleine Bildschirme */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    margin-bottom: 1rem;
  }

    .logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
  }

  .header-center  {
    align-items: center;
  }

  nav a{
    display: block;
    margin: 0.5rem 0;
  }
}
