*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: #fbf9f5;
  color: #2c2926;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.page-container {
  min-height: 100vh;
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

a:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.contact {
  text-align: right;
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.5;
  color: #4a453f;
  letter-spacing: 0.015em;
}

.contact .brand {
  font-weight: 500;
  color: #1a1816;
  margin-bottom: 0.15rem;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.image-card {
  width: 100%;
  max-width: 760px;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.footer {
  width: 100%;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.impressum-btn {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #8c857e;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  background-color: transparent;
  transition: all 0.2s ease;
}

.impressum-btn:hover {
  color: #2c2926;
  border-color: rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.02);
  text-decoration: none;
}

.impressum-page .header-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-link {
  font-size: 0.875rem;
  color: #78726b;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #1a1816;
  text-decoration: none;
}

.brand-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4a453f;
}

.impressum-content {
  flex: 1;
  padding: 3.5rem 0 3rem 0;
  max-width: 580px;
}

.impressum-content h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1816;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.impressum-details {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #4a453f;
}

.impressum-details .name {
  font-weight: 500;
  color: #1a1816;
}

.impressum-details .phone {
  margin-top: 1rem;
}

.impressum-details .uid {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #78726b;
}

@media (max-width: 640px) {
  .page-container {
    padding: 1.5rem 1.25rem 2.5rem 1.25rem;
  }

  .main-content {
    padding: 2rem 0;
  }

  .contact {
    font-size: 0.875rem;
  }
}
