/* Layout: ruhige Textspalte links, Porträt mit Eichenlamellen als einziges Bildmotiv; viel Luft, skandinavische Zurückhaltung */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --paper: #f5f4f7;      /* kühles Birkenweiß mit Hauch Lila */
  --surface: #ecebf0;    /* Flächen für Formular und Fakten */
  --ink: #1d2233;        /* Anzug-Navy */
  --muted: #5c6073;
  --aubergine: #4a2747;  /* Wand im Porträt */
  --on-aubergine: #f5f0f4;
  --oak: #b48a57;        /* Eichenlamellen */
  --line: #d9d5de;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
  --wide: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17131b; --surface: #211b26; --ink: #ece7ef; --muted: #a9a2b2;
    --aubergine: #c9a6cf; --on-aubergine: #1d1420; --oak: #cfae7d; --line: #352d3b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #17131b; --surface: #211b26; --ink: #ece7ef; --muted: #a9a2b2;
  --aubergine: #c9a6cf; --on-aubergine: #1d1420; --oak: #cfae7d; --line: #352d3b;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--oak); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--aubergine); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: var(--wide);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 20; }

/* Kopfzeile */
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; padding-block: 1.5rem 1rem;
}
.brand { font-family: var(--serif); font-size: 1.375rem; font-weight: 450; text-decoration: none; letter-spacing: 0.005em; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.975rem; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 0.25rem; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--oak); }

/* Typografie */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 300; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.625rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.3rem); line-height: 1.55; }
.role { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 400; color: var(--aubergine); line-height: 1.3; text-wrap: balance; }
.muted { color: var(--muted); }

main { display: grid; gap: clamp(4rem, 9vw, 7rem); padding-block: 1.5rem clamp(4rem, 9vw, 7rem); }
.prose { max-width: var(--measure); display: grid; gap: 1.1rem; }
.prose h2 { margin-bottom: 0.4rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.prose li::marker { color: var(--oak); }

/* Hero */
.hero { display: grid; gap: 2.5rem; align-items: center; }
.hero-text { display: grid; gap: 1.4rem; min-width: 0; }
.hero-text .lead { max-width: 36rem; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}
.portrait { position: relative; margin: 0; max-width: 26rem; justify-self: center; width: 100%; isolation: isolate; }
.portrait::before {
  content: ""; position: absolute; z-index: -1;
  inset: 12% -9% -7% 30%;
  background: repeating-linear-gradient(90deg, var(--oak) 0 3px, transparent 3px 13px);
  opacity: 0.55;
}
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 899px) { .portrait { max-width: 20rem; justify-self: start; } .portrait::before { inset: 14% -6% -6% 35%; } }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.button {
  display: inline-block; background: var(--aubergine); color: var(--on-aubergine);
  padding: 0.8rem 1.4rem; border-radius: 2px; text-decoration: none; font-weight: 550; font-size: 1rem;
  border: 0; font-family: inherit; cursor: pointer;
}
.button:hover { filter: brightness(1.12); }
.textlink { font-weight: 550; }

/* Leitmotiv */
.motto { max-width: 46rem; }
.motto p { font-family: var(--serif); font-style: italic; font-weight: 350; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.25; text-wrap: balance; color: var(--aubergine); }

/* Faktenliste */
.facts { margin: 0; display: grid; gap: 0; max-width: 48rem; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 0.25rem 2rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .facts > div { grid-template-columns: 11rem minmax(0, 1fr); } }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; min-width: 0; }

/* Angebote */
.offer { display: grid; gap: 1rem; max-width: var(--measure); }
.meta { margin: 0; display: grid; gap: 0.35rem; }
.meta div { display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.meta dt { font-weight: 600; }
.meta dd { margin: 0; }

/* Kontakt */
.contact { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
form { display: grid; gap: 1.1rem; background: var(--surface); padding: clamp(1.25rem, 3vw, 2rem); }
label { display: grid; gap: 0.35rem; font-weight: 550; font-size: 0.975rem; }
label span.opt { font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 2px; padding: 0.7rem 0.8rem; width: 100%;
}
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--aubergine); outline-offset: 1px; }
textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.card-address { display: grid; gap: 1rem; }
.card-address address { font-style: normal; display: grid; gap: 0.15rem; }
.status { font-weight: 550; color: var(--aubergine); }

/* Rechtstexte */
.legal h2 { font-size: 1.35rem; margin-top: 1.2rem; }
.placeholder { background: var(--surface); padding: 0 0.25em; outline: 1px dashed var(--oak); }

/* Fußzeile */
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem 2.5rem; font-size: 0.925rem; color: var(--muted); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
#fehler { display: none; }
#fehler:target { display: block; }
.contact { scroll-margin-top: 2rem; }
.req { color: var(--aubergine); font-weight: 700; }
.row2 { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
/* Handy: lange deutsche Wörter umbrechen, Tippflächen vergrößern */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p, li, dd { overflow-wrap: break-word; }
@media (max-width: 720px) {
  .legal p, .legal li { hyphens: auto; -webkit-hyphens: auto; }
  .nav a { display: inline-block; padding-block: 0.6rem; }
  .site-foot a { display: inline-block; padding-block: 0.5rem; }
  .textlink { display: inline-block; padding-block: 0.4rem; }
  input, textarea { font-size: 1rem; }
}
main > *, .prose > * { min-width: 0; }
.legal h1 { font-size: clamp(1.9rem, 8.5vw, 5rem); }
