:root {
  --font-main: 'DM Sans';
  --color-bg: #1f2021;
  --color-text: #eaeaea;
  --color-accent: #0078ff;
  --color-footer-bg: #111;
  --color-footer-text: #eee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
}

header {
  width: 100%;
  background-image: url(assets/bilder/black-white-brush-stroke-textured-background.jpg);
  background-color: rgba(51, 51, 51, 0.6);
  background-blend-mode: multiply;
  background-size: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: static;
}

.navbar {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 20%;
  border-radius: 15px;
  background: rgba(255,255,255,0.3);
  padding: 5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 35px;
  cursor: pointer;
}

.menu span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

main {
  width: 95%;
  max-width: 1100px;
  margin: 2rem auto;
}

.logbuch-section h1 {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #ccc;
  margin-bottom: 2rem;
}

.log-entry {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-accent);
}

.timeline-section h1 {
  font-size: 2rem;
  color: var(--color-accent);
  margin: 2rem 0 1rem 0;
}

.timeline {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.2rem;
  margin-left: 1rem;
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  left: -22px;
  top: 5px;
}

.modernisierung-section h1 {
  font-size: 2rem;
  margin-top: 3rem;
  color: var(--color-accent);
}

.modern-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.modern-card {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

footer {
  width: 100%;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-size: 0.6em;
  text-align: center;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .modern-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu {
    display: flex;
    position: absolute;
    right: 1.2rem;
  }

  .navbar {
    justify-content: flex-start;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background: #303030;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1rem;
    gap: 1.5rem;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .modernisierung-section h1 {
  font-size: x-large;
}

  .logbuch-section h1 {
    font-size: x-large;
  }

  .logbuch-section h2 {
    font-size: large;
  }

  .logbuch-section p {
    font-size: medium;
  }

  .navbar {
    justify-content: flex-start;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background: #303030;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1rem;
    gap: 1.5rem;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }
}
