:root {
  --bg-overlay: rgba(247, 244, 238, 0.86);
  --panel: rgba(255, 255, 255, 0.72);
  --text: #1f1a16;
  --muted: #5c5147;
  --accent: #1d5c63;
  --accent-hover: #14454a;
  --border: rgba(31, 26, 22, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  position: relative;
  font-family: Georgia, serif;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.background-layer {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(18, 22, 28, 0.18), rgba(18, 22, 28, 0.38)),
    url('/hausImSchnee.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 4s ease-in-out;
  pointer-events: none;
  z-index: -2;
}

.background-layer.is-visible {
  opacity: 1;
}

.background-layer.is-top {
  z-index: -1;
}

.background-layer.is-bottom {
  z-index: -2;
}

.shell {
  width: min(960px, 100%);
  background: var(--bg-overlay);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.hero {
  padding: 48px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.title {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
  margin: 24px 0 16px;
  letter-spacing: 0.02em;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 28px;
}
.lead-small {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 16px;
  transition: 160ms ease;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  background: white;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.side {
  background: rgba(255, 255, 255, 0.42);
  border-left: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px;
  border: 1px solid var(--border);
}

.info-block h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.info-block p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-item {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
}

.contact-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}

@media (max-width: 760px) {
  .content {
    grid-template-columns: 1fr;
  }

  .side {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .hero,
  .side {
    padding: 28px;
  }

  .title {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }
}