/* Grundlegende Reset/Normalisierung */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Container für zentrierten Inhalt */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Header / Navigation */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #d2d2d7;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-size: 1.5rem;
  font-weight: 600;
}
.nav {
  position: relative;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-list li a {
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: #0071e3;
  border-bottom: 2px solid #0071e3;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1d1d1f;
  border-radius: 2px;
}

/* Hero-Sektion auf der Startseite */
.hero {
  background-color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #5e5e61;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.card {
  background-color: #f5f5f7;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}
.card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: #5e5e61;
  font-size: 0.95rem;
}

/* Inhaltsseiten */
.content {
  padding: 3rem 0;
  background-color: #fff;
}
.content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.post {
  margin-bottom: 2rem;
}
.post h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.post p, .post li {
  color: #3c3c3f;
}
.post pre {
  background-color: #f2f2f2;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}
.post code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #d2d2d7;
  padding: 1.5rem 0;
  text-align: center;
}
.site-footer p {
  color: #6e6e73;
  font-size: 0.9rem;
}

/* Responsive (Burger-Menü) */
@media (max-width: 768px) {
  .nav-list {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    width: 200px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }
  .nav-list.open {
    max-height: 500px;
  }
  .nav-list li {
    margin: 0;
  }
  .nav-list li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #d2d2d7;
  }
  .burger {
    display: flex;
  }
}
