/* Schriften lokal (SIL Open Font License, siehe fonts/OFL-*.txt) */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0D0C0B;
  --surface: #171512;
  --surface-raised: #231F1A;
  --surface-quiet: #131110;
  --line: rgba(243, 239, 232, .12);
  --line2: rgba(243, 239, 232, .22);
  --text: #F4F0EA;
  --muted: #B0A89C;
  --faint: #8A8276;
  --beige: #D9C5A7;
  --beige-ink: #15120E;
  --beige-soft: rgba(217, 197, 167, .16);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --page: min(1080px, 100% - 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: var(--page); margin-inline: auto; }

a { color: var(--beige); text-decoration-color: rgba(217, 197, 167, .4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--beige); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.35rem; line-height: 1.15; }

p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); line-height: 1.55; max-width: 34em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 1.4rem;
}

/* ---------- Kopfzeile ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 12, 11, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 0; }
.wordmark {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .5px;
  color: var(--text); text-decoration: none; line-height: 1;
}
.wordmark:hover { text-decoration: none; }
header.site nav { display: flex; gap: 1.5rem; font-size: .9rem; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }
@media (max-width: 620px) { header.site nav { display: none; } }

/* ---------- Abschnitte ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 46ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: .9rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero h1 { margin-bottom: 1.6rem; max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--beige); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding: 0; list-style: none; }
.hero-facts li {
  font-size: .85rem; color: var(--muted);
  border: 1px solid var(--line2); border-radius: 999px; padding: .45rem 1rem;
}

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); align-items: start; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }
.shot figure { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line2); border-radius: 26px;
  background: var(--bg);
}
.shot figcaption { margin-top: .9rem; font-size: .88rem; color: var(--faint); }

/* ---------- Schritte / Karten ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface-quiet);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px);
}
.card h3 { margin-bottom: .7rem; }
.card p:last-child { margin-bottom: 0; }
.step-no {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: var(--beige); display: block; margin-bottom: .8rem;
}

/* ---------- Zahlenreihe ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 32px); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .n { font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 600; line-height: 1; display: block; }
.stat .l { font-size: .88rem; color: var(--faint); margin-top: .5rem; display: block; }

/* ---------- Hinweisblock ---------- */
.note {
  background: var(--beige-soft);
  border: 1px solid rgba(217, 197, 167, .28);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px);
}
.note h3 { color: var(--beige); margin-bottom: .7rem; }
.note p:last-child { margin-bottom: 0; }

/* ---------- Fußzeile ---------- */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 64px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: flex-start; }
footer.site nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; }
footer.site nav a { color: var(--muted); text-decoration: none; }
footer.site nav a:hover { color: var(--text); }
footer.site .copy { font-size: .85rem; color: var(--faint); }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; font-family: var(--sans); font-weight: 700; margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal .todo {
  background: var(--surface-raised); border: 1px dashed var(--line2);
  border-radius: 12px; padding: 1rem 1.2rem; color: var(--beige); font-size: .9rem;
}

/* ---------- Kontaktformular ---------- */
.contact { max-width: 680px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; margin: 0 0 18px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--surface-quiet);
  border: 1px solid var(--line2); border-radius: 12px;
  padding: .8rem .95rem;
  width: 100%;
  transition: border-color .15s ease, background .15s ease;
}
.contact textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.contact input:focus, .contact textarea:focus {
  outline: none; border-color: var(--beige); background: var(--surface);
}
.contact input::placeholder, .contact textarea::placeholder { color: var(--faint); }
.form-note { font-size: .85rem; margin: 0 0 1.4rem; }
.contact button {
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  color: var(--beige-ink); background: var(--beige);
  border: 0; border-radius: 999px;
  padding: .85rem 2rem; cursor: pointer;
  transition: filter .15s ease;
}
.contact button:hover { filter: brightness(1.08); }
.contact button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Danke-Seite ---------- */
.thanks { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.thanks h1 { margin-bottom: 1.2rem; }
.thanks p { color: var(--muted); max-width: 40ch; margin-inline: auto; }
.thanks .back {
  display: inline-block; margin-top: 2rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  color: var(--beige-ink); background: var(--beige);
  border-radius: 999px; padding: .8rem 1.9rem; text-decoration: none;
}
