/* ============================================================
   Made by //designwerkstatt  –  Landingpage
   Nachbau der Adobe-Portfolio-Seite als statische Website
   ============================================================ */

:root {
  --bg:        #212121;   /* Seitenhintergrund (dunkles Anthrazit) */
  --cream:     #f8f3ed;   /* warmes Off-White für Text & Buttons  */
  --muted:     #a9a9a9;   /* gedämpftes Grau für die Subline       */
  --dark-text: #222222;   /* Textfarbe auf hellem Button           */
  --wrap:      1240px;    /* Breite des zentrierten Bereichs       */
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  /* Unten 62px, damit der Abstand zum ersten Bild genauso groß ist
     wie unten zwischen letztem Bild und dem Kontakt-Button. */
  padding: 90px 24px 62px;
}

.hero__eyebrow {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.hero__title {
  margin: 0 0 26px;
  font-size: clamp(38px, 6.2vw, 64px);
  line-height: 1.05;
  font-weight: 600;
  color: var(--cream);
}

.hero__tagline {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Button (Pill) ---------- */
.btn,
.footer a.btn {
  display: inline-block;
  /* Oben 1px mehr, unten 1px weniger: Rein rechnerisch sitzt der Text
     zwar mittig, die Versalien wirken so aber optisch besser eingebettet.
     Die Buttonhöhe bleibt dabei unverändert bei 40px. */
  padding: 13px 42px 11px;
  border-radius: 100px;
  background: var(--cream);
  color: var(--dark-text);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}

.btn:hover,
.footer a.btn:hover {
  background: #ffffff;
  color: var(--dark-text);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ---------- Galerie ---------- */
.gallery {
  display: block;
  padding-bottom: 52px;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Einblenden beim Scrollen ----------
   Die Collagen stoßen nahtlos aneinander – deshalb bewusst nur ein
   weiches Überblenden ohne Verschiebung, sonst entstünden Lücken.
   Versteckt wird nur, wenn JavaScript läuft (.js), damit ohne JS
   alle Bilder ganz normal sichtbar bleiben. */
.js .reveal {
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(.22, .61, .36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
}

/* Auf dem Smartphone ist eine Collage nur ein Viertel so hoch und damit viel
   schneller durchgescrollt – dort blendet sie in 1s ein und dabei gleichmäßig
   (linear). Die Desktop-Kurve schiebt gut die Hälfte der Aufhellung in die
   ersten Zehntelsekunden; auf dem kleinen Bild bliebe von der Animation so
   kaum etwas zu sehen. Der Auslösepunkt sitzt in js/main.js, an dieselbe
   640px-Grenze gekoppelt. */
@media (max-width: 640px) {
  .js .reveal { transition: opacity 1s linear; }
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 10px 24px 60px;
}

.social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 44px;
  padding: 0;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform .2s ease, background-color .2s ease;
}

.social a:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.social .icon {
  width: 37px;
  height: 30px;
  fill: var(--dark-text);
}

.footer__address {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--cream);
}

.nowrap { white-space: nowrap; }

.footer__address a { color: var(--cream); }

.footer__legal {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--cream);
}

.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Bewegung reduzieren ----------
   Respektiert die Systemeinstellung "Bewegung reduzieren". */
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transition: none;
  }

  .btn,
  .footer a.btn,
  .social a {
    transition: none;
  }

  .btn:hover,
  .footer a.btn:hover,
  .social a:hover {
    transform: none;
  }

  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 60px 20px 62px; }
  .hero__eyebrow { font-size: 16px; }
  .hero__tagline { font-size: 16px; }
}
