:root {
  color-scheme: light;
  --bg: #fbf8f3;
  --surface: #fffdf9;
  --text: #181512;
  --muted: #4c4238;
  --line: rgba(24, 21, 18, 0.12);
  --accent: #0f766e;
  --accent-hover: #115e59;
  --shadow: 0 2px 8px rgba(31, 25, 21, 0.04);
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.hero,
.imprint {
  width: min(100%, 640px);
  text-align: center;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.brand-mark {
  display: block;
  width: min(215px, 66vw);
  height: auto;
  margin-bottom: 4px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.95rem, 5.8vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero p:not(.hero-copy) {
  max-width: 31ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.hero-copy {
  width: min(100%, 48ch);
  max-width: 48ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.external-link {
  color: var(--accent);
  text-decoration-color: rgba(15, 118, 110, 0.35);
}

.contact-note {
  margin-top: 12px;
  margin-bottom: 8px;
}

.imprint-card a {
  color: var(--accent);
  text-decoration-color: rgba(15, 118, 110, 0.35);
}

.contact-button {
  display: inline-block;
  justify-self: center;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.contact-button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.imprint-link,
.back-link {
  color: var(--muted);
}

a:hover {
  color: var(--accent);
}

.imprint-link {
  margin-top: 28px;
  display: inline-block;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
}

.imprint {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.imprint h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.imprint-card {
  width: min(100%, 640px);
  display: grid;
  gap: 18px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
}

.imprint-block {
  display: grid;
  gap: 10px;
}

.imprint-block p {
  color: var(--text);
  line-height: 1.6;
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 720px) {
  .page {
    padding: 24px 16px;
  }

  .hero,
  .imprint,
  .imprint-card {
    width: 100%;
  }

  .brand-mark {
    width: min(200px, 70vw);
  }

}

@media (max-width: 560px) {
}

@media (min-width: 721px) {
  .brand-mark {
    width: min(258px, 66vw);
  }
}
