/* RICHTER/MEYER/MARX — bold, editorial, black-box-theatre aesthetic */

:root {
  --bg: #0a0a0a;
  --bg-panel: #141414;
  --text: #f2f0ec;
  --muted: #9a958c;
  --accent: #ff2d55;
  --border: #262626;
  --font-display: "Poppins", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

img { max-width: 100%; display: block; }

/* ---- Topbar / nav ---- */

.topbar { position: sticky; top: 0; z-index: 20; padding-top: 18px; }

.nav-pill {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(20,20,20,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 10px 10px 22px;
}

.wordmark-small {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: lowercase;
  font-size: 20px;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--text);
}

.lang-pill { display: flex; gap: 10px; font-size: 13px; }
.lang-pill a { text-decoration: none; color: var(--muted); }
.lang-pill span[aria-current] { color: var(--accent); font-weight: 700; }

.nav-toggle {
  background: var(--text); color: var(--bg); border: none; border-radius: 999px;
  width: 40px; height: 40px; font-size: 18px; cursor: pointer;
}

.nav-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 30;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%); transition: transform .35s ease;
}
.nav-menu.open { transform: translateY(0); }
.nav-menu ul { list-style: none; padding: 0; margin: 0; text-align: center; }
.nav-menu li { margin: 18px 0; }
.nav-menu a {
  font-family: var(--font-display); font-size: 42px; letter-spacing: .04em;
  text-decoration: none; color: var(--text);
}
.nav-menu a:hover { color: var(--accent); }
.close-btn {
  position: absolute; top: 24px; right: 28px; background: none; border: none;
  color: var(--text); font-size: 32px; cursor: pointer;
}

/* ---- Hero ---- */

#hero {
  min-height: 92vh;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  padding-bottom: 8vh;
}
.hero-inner { text-align: left; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--muted);
  margin: 0 0 14px;
}
.wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: lowercase;
  font-size: clamp(40px, 9vw, 100px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 100%;
}
.wm-line:last-child { color: var(--accent); }
.tagline {
  font-size: clamp(16px, 2.2vw, 22px);
  max-width: 640px;
  color: var(--text);
  margin: 0;
}

/* ---- Section shells ---- */

main section { padding: 90px 0; }
main section[id] { scroll-margin-top: 100px; }
.section-pill {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; color: var(--accent); border: 1px solid var(--accent);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 4.5vw, 46px); letter-spacing: .01em; margin: 0 0 30px;
}
.lede { color: var(--muted); font-size: 17px; max-width: 640px; }

/* ---- About / Wer wir sind ---- */

.about-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start;
  margin-bottom: 24px;
}
.about-grid img { border-radius: 4px; filter: grayscale(1) contrast(1.05); }
.about-grid p { margin: 0 0 18px; }
.member-name { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: .03em; margin: 30px 0 10px; color: var(--accent); }
.note { color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 10px; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---- Gallery strip ---- */

.gallery-section { padding-top: 0; padding-bottom: 0; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.gallery-grid img {
  width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover;
  filter: grayscale(.15);
  transition: filter .25s ease, transform .25s ease;
}
.gallery-grid img:hover { filter: grayscale(0); transform: scale(1.02); }

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Nachweise / Credentials ---- */

.cred-block { margin-bottom: 40px; }
.cred-block h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 18px;
}
.cred-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cred-row:last-child { border-bottom: none; }
.cred-year { color: var(--accent); font-weight: 700; font-size: 14px; white-space: nowrap; }
.cred-row p { margin: 0; }

@media (max-width: 600px) {
  .cred-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- Links zum Anschauen ---- */

.links-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px;
}
.link-card {
  display: block; background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 22px; text-decoration: none; transition: border-color .2s ease, transform .2s ease;
}
.link-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.link-card h4 { margin: 0 0 8px; font-size: 16px; }
.link-card p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 800px) {
  .links-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .links-grid { grid-template-columns: 1fr; }
}

/* ---- Kontakt ---- */

.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-links { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

.btn-outline, .btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  text-transform: uppercase; letter-spacing: .05em;
}
.btn-outline { border: 1px solid var(--text); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-solid { background: var(--accent); color: #fff; border: none; }
.btn-solid:hover { opacity: .88; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; background: var(--bg-panel); border: 1px solid var(--border); color: var(--text);
  border-radius: 6px; padding: 12px 14px; font-family: var(--font-body); font-size: 15px;
}
.form-field textarea { min-height: 120px; resize: vertical; }

@media (max-width: 800px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */

footer {
  padding: 30px 24px 50px; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--border); margin-top: 40px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* ---- Legal page ---- */

.legal-page { padding-top: 60px; }
.legal.prose p { color: var(--muted); }

/* ---- Reveal on scroll ---- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
