/* Farben und Abstände zentral anpassbar. Keine externen Fonts oder Skripte. */
:root {
  --ink: #252822;
  --paper: #f5f2ec;
  --accent: #72634c;
  --page-gutter: clamp(24px, 5.5vw, 112px);
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  min-height: var(--header-height);
  padding: 20px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
}
.site-header:has(.menu[open]) { background: var(--paper); }
.wordmark {
  flex-shrink: 0;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
}
/* Natives Aufklappmenü: auch ohne JavaScript bedienbar. */
.menu summary {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  border-radius: 4px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: rgba(245,242,236,.5); }
.menu-icon { width: 27px; height: 22px; position: relative; display: block; }
.menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); }
.menu-icon span:nth-child(1) { top: 2px; }
.menu-icon span:nth-child(2) { top: 10px; }
.menu-icon span:nth-child(3) { top: 18px; }
.menu[open] .menu-icon span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu[open] .menu-icon span:nth-child(2) { opacity: 0; }
.menu[open] .menu-icon span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
.menu nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100svh - 96px);
  overflow-y: auto;
  background: var(--paper);
  padding: 12px var(--page-gutter) 32px;
  box-shadow: 0 12px 18px rgba(37,40,34,.08);
}
.menu nav a {
  display: block;
  padding: 20px 0;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.3;
}
nav a[href]:hover { color: var(--accent); }
nav a[aria-disabled="true"] { cursor: default; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  height: 100vh;
  height: 100svh;
  max-height: 1100px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  z-index: -2;
}
/* Dezenter Verlauf hinter der Headline; Gesicht rechts bleibt unbeeinflusst. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(245,242,236,.94), rgba(245,242,236,.73) 30%, rgba(245,242,236,0) 57%);
}
.hero-content { padding: 64px var(--page-gutter); width: 100%; }
h1 {
  margin: 0;
  max-width: 48%;
  font-size: clamp(40px, 4.2vw, 80px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.045em;
}
h1 strong { font-weight: 700; }

/* Mobil: Foto oben, Headline links unten. Kein Text über dem Gesicht. */
@media (max-width: 760px) {
  :root { --header-height: 88px; }
  .site-header { padding-block: 18px; gap: 12px; }
  .wordmark { font-size: 16px; letter-spacing: .12em; }
  .hero { height: auto; min-height: max(720px, 100svh); align-items: flex-end; }
  .hero-image { height: 74%; object-position: 71% center; }
  .hero::before { background: linear-gradient(0deg, var(--paper) 0%, var(--paper) 22%, rgba(245,242,236,.92) 30%, rgba(245,242,236,0) 47%); }
  .hero-content { padding-block: 420px 42px; }
  h1 { max-width: 100%; font-size: clamp(35px, 7.8vw, 56px); }
}
@media (prefers-reduced-motion: no-preference) {
  nav a[href] { transition: color .15s ease; }
}
