:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.logo {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 700;
  color: #888;
}

nav a {
  text-decoration: none;
  color: inherit;
  font-size: 0.95rem;
}

nav a.active {
  color: #000;
}

/* Home */
body.home-page {
  line-height: 1.2;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home-page .wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.home-page header {
  margin-top: 20px;
  margin-bottom: 60px;
  z-index: 10;
}

.home-page .logo {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.home-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  padding-bottom: 10vh;
}

.home-page .intro-text {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700;
  max-width: 850px;
  margin: 0;
  position: relative;
  z-index: 5;
}

.home-page .highlight {
  background: #000;
  color: #fff;
  padding: 0 10px;
  display: inline-block;
  margin: 2px 0;
}

.home-page .image-box {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 55%;
  max-width: 750px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}

.home-page .image-box img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

.home-page footer {
  padding: 20px 0;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
}

@media (max-width: 768px) {
  .home-page .wrapper {
    padding: 16px;
    padding-bottom: 420px;
  }

  .impressum-page .wrapper {
    padding: 16px;
  }

  .home-page header {
    margin-bottom: 20px;
  }

  .impressum-page header {
    margin-bottom: 20px;
  }

  .home-page nav {
    gap: 12px 16px;
  }

  .home-page nav a {
    font-size: 0.9rem;
  }

  .home-page main {
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-top: 44px;
    padding-bottom: 0;
  }

  .home-page .image-box {
    position: fixed;
    width: 135vw;
    max-width: 648px;
    right: -110px;
    bottom: 0;
    margin: 0;
    z-index: 1;
  }

  .home-page .intro-text {
    line-height: 1.24;
  }

  .home-page footer {
    margin-top: 0;
    padding: 0;
    position: fixed;
    left: auto;
    right: 16px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    font-size: 0.68rem;
    text-align: right;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
    z-index: 4;
  }
}

@media (max-width: 430px) {
  .home-page .intro-text {
    font-size: 1.28rem;
    line-height: 1.22;
  }

  .home-page .highlight {
    padding: 0 8px;
  }
}

/* Impressum */
.impressum-page .wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.impressum-page header {
  margin: 20px 0 60px 0;
}

.impressum-page .logo {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.impressum-page main {
  max-width: 520px;
}

.impressum-page h1 {
  margin: 0 0 20px 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
}

.impressum-page p {
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.impressum-page .muted {
  color: var(--muted);
}
