/* ============================================================
   PYRIQ-Unterseite — gleiches Design-System wie das Dach
   (Tokens/Fonts identisch zu style.css), aber statisch & ruhig:
   keine Scrub-Engine, dezente IO-Reveals (js/pyriq.js).
   ============================================================ */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/anton-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-500.woff2') format('woff2');
}

:root {
  --bg:    #0A0A0B;
  --bg-alt: #101013;
  --cream: #F5F1E8;
  --brass: #B08D57;
  --brass-hell: #C9A76B;
  --cream-50: rgba(245, 241, 232, 0.5);
  --cream-70: rgba(245, 241, 232, 0.7);
  --cream-82: rgba(245, 241, 232, 0.82);
  --cream-10: rgba(245, 241, 232, 0.1);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --pad-x: clamp(1.25rem, 6vw, 7rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ============ Reveals (IO, js/pyriq.js) ============ */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Topbar ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad-x);
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-10);
}
.topbar-back {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-70);
  text-decoration: none;
  transition: color 0.25s ease;
}
.topbar-back:hover { color: var(--brass-hell); }
.topbar-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--cream);
}
.topbar-cta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-hell);
  text-decoration: none;
  border: 1px solid rgba(176, 141, 87, 0.55);
  padding: 0.55rem 1rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.topbar-cta:hover { background: var(--brass); color: #0A0A0B; }

/* ============ Typo-Bausteine ============ */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}
.sek-titel {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 1rem;
  max-width: 22ch;
  text-wrap: balance;
}
.sek-lead {
  margin-top: 1.4rem;
  max-width: 62ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: var(--cream-82);
}
.sek-lead a { color: var(--brass-hell); text-underline-offset: 4px; }

/* ============ Sektionen ============ */
.sek { padding: clamp(4.5rem, 9vh, 7.5rem) var(--pad-x); }
.sek-alt { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); border-top: 1px solid var(--cream-10); border-bottom: 1px solid var(--cream-10); }

/* ============ Hero ============ */
.hero { padding: clamp(5rem, 12vh, 9rem) var(--pad-x) clamp(4.5rem, 9vh, 7rem); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: 1.2rem;
  max-width: 18ch;
}
.hero-lead {
  margin-top: 1.8rem;
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  color: var(--cream-82);
}
.hero-lead strong { color: var(--cream); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero-proof { margin-top: 2.6rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-50); }
.hero-proof a { color: var(--brass-hell); text-decoration: none; }
.hero-proof a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.7rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brass); color: #0A0A0B; }
.btn-primary:hover { background: var(--brass-hell); }
.btn-ghost { border-color: var(--cream-10); color: var(--cream); }
.btn-ghost:hover { border-color: rgba(176, 141, 87, 0.75); color: var(--brass-hell); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ============ Ebenen-Karten ============ */
.ebenen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.ebene {
  border: 1px solid var(--cream-10);
  padding: 1.8rem 1.6rem;
  background: rgba(245, 241, 232, 0.02);
}
.ebene-num { font-family: var(--font-display); font-size: 1rem; color: var(--brass); }
.ebene h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 0.8rem; line-height: 1.2; }
.ebene-sub { display: block; font-size: 0.8rem; color: var(--cream-50); letter-spacing: 0.04em; margin-top: 0.2rem; }
.ebene p { margin-top: 0.9rem; font-size: 0.92rem; color: var(--cream-70); }

/* ============ Methode: Schritte ============ */
.schritte { list-style: none; margin-top: 3rem; max-width: 62rem; display: grid; gap: 0; }
.schritt {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--cream-10);
}
.schritt:last-child { border-bottom: 1px solid var(--cream-10); }
.schritt-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass);
  line-height: 1;
  padding-top: 0.15em;
}
.schritt h3, .ablauf-schritt h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.schritt p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--cream-70); max-width: 68ch; }

/* ============ Bausteine ============ */
.bausteine {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.baustein {
  border: 1px solid var(--cream-10);
  padding: 1.9rem 1.7rem;
  background: rgba(245, 241, 232, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.baustein:hover { border-color: rgba(176, 141, 87, 0.6); transform: translateY(-4px); }
.baustein-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.baustein-num { font-family: var(--font-display); font-size: 1rem; color: var(--brass); }
.baustein-preis { font-family: var(--font-display); font-size: 1.25rem; color: var(--cream); letter-spacing: 0.02em; }
.baustein-preis small { font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-50); margin-left: 0.3rem; }
.baustein h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 1rem; }
.baustein p { margin-top: 0.8rem; font-size: 0.93rem; color: var(--cream-70); }
.grenzen {
  margin-top: 2.2rem;
  max-width: 72ch;
  font-size: 0.85rem;
  color: var(--cream-50);
  border-left: 2px solid var(--brass);
  padding-left: 1.1rem;
}

/* ============ Person ============ */
.person-link { margin-top: 1.6rem; }
.person-link a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-hell);
  text-decoration: none;
}
.person-link a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ============ Ablauf ============ */
.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.ablauf-schritt { border-top: 2px solid var(--brass); padding-top: 1.2rem; }
.ablauf-schritt .schritt-num { font-size: 1.3rem; display: block; }
.ablauf-schritt h3 { margin-top: 0.6rem; }
.ablauf-schritt p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--cream-70); }

/* ============ Kontakt-Formular ============ */
.sek-kontakt { background: linear-gradient(180deg, var(--bg) 0%, #0D0C0A 100%); border-top: 1px solid var(--cream-10); }
.mail-link { color: var(--brass-hell); text-underline-offset: 4px; }
.kontakt-form { margin-top: 2.6rem; max-width: 40rem; display: grid; gap: 1.1rem; }
.form-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.kontakt-form label { display: grid; gap: 0.45rem; }
.kontakt-form label span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-50);
}
.kontakt-form input,
.kontakt-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid var(--cream-10);
  padding: 0.85rem 1rem;
  border-radius: 0;
  transition: border-color 0.25s ease;
  width: 100%;
  resize: vertical;
}
.kontakt-form input:focus, .kontakt-form textarea:focus { border-color: rgba(176, 141, 87, 0.7); outline: none; }
.kontakt-form .btn { justify-self: start; margin-top: 0.4rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 0.9rem; color: var(--brass-hell); }
.form-status.err { color: #D98E7A; }
.form-hinweis { font-size: 0.75rem; color: var(--cream-50); max-width: 60ch; }

/* ============ Footer ============ */
.footer {
  padding: 2.6rem var(--pad-x) 3rem;
  border-top: 1px solid var(--cream-10);
  display: grid;
  gap: 0.5rem;
}
.footer-disclaimer { font-size: 0.8rem; font-weight: 500; color: var(--cream-70); }
.footer-meta { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--cream-50); }
.footer-meta a { color: var(--cream-70); text-underline-offset: 3px; }

/* ============ Responsive ============ */
@media (max-width: 1023px) {
  .ebenen-grid { grid-template-columns: 1fr; }
  .bausteine { grid-template-columns: 1fr; }
  .ablauf-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 767px) {
  .topbar { padding: 0.75rem var(--pad-x); }
  .topbar-back { display: none; }
  .hero { padding-top: 3.5rem; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 2.9rem); }
  .form-reihe { grid-template-columns: 1fr; }
  .schritt { grid-template-columns: 44px 1fr; gap: 0.9rem; }
  .btn { width: 100%; text-align: center; }
  .hero-actions .btn { width: auto; flex: 1 1 100%; }
}
