/* ============================================================
   ELARTVIBES — Monochrome Observatory Design System
   Statische Website: HTML + CSS + JS (kein Build nötig)
   ============================================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --grey-10: rgba(0, 0, 0, 0.08);
  --grey-45: rgba(0, 0, 0, 0.45);
  --grey-60: rgba(0, 0, 0, 0.6);
  --grey-75: rgba(0, 0, 0, 0.75);
  --w-30: rgba(255, 255, 255, 0.3);
  --w-55: rgba(255, 255, 255, 0.55);
  --w-72: rgba(255, 255, 255, 0.72);
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 10;
}
.nav--dark { background: var(--black); color: var(--white); }
.nav--light { background: var(--white); color: var(--black); border-bottom: 1px solid var(--black); }
.nav__brand {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-right: 48px;
  flex-shrink: 0;
}
.nav__links { display: flex; gap: 32px; flex-wrap: wrap; }
.nav__links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s;
}
.nav--dark .nav__links a:hover { border-bottom-color: var(--white); }
.nav--light .nav__links a:hover { border-bottom-color: var(--black); }

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--white);
  display: flex;
  min-height: calc(100vh - 76px);
}
.hero__panel {
  flex: 0 0 40%;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--w-30);
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w-55);
  margin-bottom: 24px;
}
.hero__title {
  font-family: 'Fragment Mono', var(--mono);
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 32px;
}
.hero__title span { display: block; }
.hero__lead {
  font-size: 14px;
  line-height: 2;
  color: var(--w-72);
  max-width: 460px;
  margin-bottom: 40px;
}
.hero__notes { display: flex; flex-direction: column; gap: 10px; }
.hero__notes span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w-55);
  border-left: 2px solid var(--white);
  padding-left: 12px;
}
.hero__canvas-wrap { flex: 1; position: relative; overflow: hidden; }
#ascii-moon { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__scrollhint {
  position: absolute;
  bottom: 24px;
  right: 48px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w-55);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------- Video Band (Manifesto / Observation) ---------- */
.videoband {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.videoband video {
  width: 100%;
  height: 78vh;
  object-fit: cover;
  display: block;
  opacity: 0.55;
}
.videoband__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}
.videoband__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--w-55);
  margin-bottom: 24px;
}
.videoband__text {
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 2;
  max-width: 760px;
}
.videoband__coords {
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-top: 32px;
  color: var(--w-72);
  font-variant-numeric: tabular-nums;
}

/* ---------- Section Basics ---------- */
.section { padding: 80px 48px; }
.section--bordered { border-top: 1px solid var(--black); }
.section__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-45);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 48px;
}
.section__intro { max-width: 820px; font-size: 14px; line-height: 2; margin-bottom: 56px; }

/* ---------- Service Rows (Home + Leistungen) ---------- */
.service-row {
  display: flex;
  border: 1px solid var(--black);
  border-bottom: none;
  background: var(--white);
}
.service-row:last-child { border-bottom: 1px solid var(--black); }
.service-row__img {
  flex: 0 0 300px;
  background: var(--black);
  min-height: 240px;
  overflow: hidden;
}
.service-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-row:hover .service-row__img img { transform: scale(1.05); }
.service-row__body { flex: 1; padding: 40px 48px; }
.service-row__meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-45);
  margin-bottom: 10px;
}
.service-row__name { font-size: 20px; font-weight: 500; text-transform: uppercase; margin-bottom: 12px; }
.service-row__desc { font-size: 13px; line-height: 1.9; color: var(--grey-75); margin-bottom: 24px; max-width: 640px; }
.service-row__actions { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 22px;
  text-decoration: none;
  border: 1px solid var(--black);
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
  font-family: var(--mono);
}
.btn--outline { color: var(--black); background: transparent; }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--solid { color: var(--white); background: var(--black); }
.btn--solid:hover { background: var(--grey-45); }
.btn--white { color: var(--black); background: var(--white); border-color: var(--white); }
.btn--white:hover { background: var(--w-72); }

/* ---------- Highlight Grid ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border: 1px solid var(--black);
}
.highlight-grid__item {
  padding: 28px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  font-size: 12.5px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.highlight-grid__num { display: block; font-size: 11px; color: var(--grey-45); margin-bottom: 10px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.gallery figure { margin: 0; border: 1px solid var(--black); overflow: hidden; }
.gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  border-top: 1px solid var(--black);
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border: 1px solid var(--black);
}
.metrics__item { padding: 36px 24px; border-right: 1px solid var(--black); text-align: center; }
.metrics__value { font-size: 36px; font-weight: 600; display: block; margin-bottom: 12px; }
.metrics__label { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-60); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial { border: 1px solid var(--black); padding: 32px; }
.testimonial__stars { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-45); margin-bottom: 16px; }
.testimonial__quote { font-size: 13.5px; line-height: 1.9; font-style: italic; margin-bottom: 20px; }
.testimonial__author { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 72px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--w-55); margin-bottom: 12px; }
.cta-band__title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; text-transform: uppercase; line-height: 1.35; max-width: 620px; }

/* ---------- Split Hero (Detailseiten) ---------- */
.split { display: flex; flex-wrap: wrap; }
.split__text { flex: 1; min-width: 320px; padding: 64px 48px; border-right: 1px solid var(--black); }
.split__media { flex: 1; min-width: 320px; background: var(--black); position: relative; min-height: 420px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); display: block; position: absolute; inset: 0; }
.split__text p { font-size: 13px; line-height: 1.9; margin-bottom: 20px; max-width: 580px; }
.split__text .lead-paragraph { font-size: 14px; line-height: 2; }

/* ---------- Page Title ---------- */
.page-title { padding: 80px 48px 48px; border-bottom: 1px solid var(--black); }

/* ---------- Legal / Kontakt ---------- */
.legal-section { margin-bottom: 48px; max-width: 860px; }
.legal-section h2 { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.legal-section p { font-size: 13px; line-height: 2; color: var(--grey-75); margin-bottom: 12px; white-space: pre-line; }

.contact-list { font-size: 13px; line-height: 2; margin-top: 8px; }
.contact-list dt { font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 20px; }
.contact-list dd { margin: 0 0 8px 0; }
.contact-list a { color: var(--black); }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { border: 1px solid var(--black); padding: 10px 16px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--black);
  padding: 24px 48px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__links a { margin-left: 24px; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--w-30);
  padding: 20px 48px;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner.active { display: flex; }
.cookie-banner__text { font-size: 12px; line-height: 1.9; max-width: 760px; color: var(--w-72); }
.cookie-banner__text a { color: var(--white); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .btn { border-color: var(--white); color: var(--white); background: transparent; }
.cookie-banner .btn:hover { background: var(--w-30); }
.cookie-banner .btn--accept { background: var(--white); color: var(--black); }
.cookie-banner .btn--accept:hover { background: var(--w-72); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { flex-direction: column; }
  .hero__panel { border-right: none; border-bottom: 1px solid var(--w-30); padding: 56px 32px; }
  .hero__canvas-wrap { min-height: 52vh; }
  .service-row { flex-direction: column; }
  .service-row__img { flex: none; height: 220px; }
  .service-row__body { padding: 32px; }
  .split__text { border-right: none; border-bottom: 1px solid var(--black); padding: 48px 32px; }
  .nav, .section, .videoband__overlay, .cta-band, .footer, .page-title, .cookie-banner { padding-left: 32px; padding-right: 32px; }
  .nav__brand { margin-right: 24px; }
  .nav__links { gap: 20px; }
}
