/* ==========================================================================
   Moventerra – Website
   Farben aus dem Logo: Gold #D0A774, Anthrazit #242424
   ========================================================================== */

:root {
  --ink:        #191817;
  --ink-2:      #242424;
  --ink-3:      #322F2B;
  --gold:       #D0A774;
  --gold-hi:    #EBCC9C;
  --gold-deep:  #A8814F;
  --paper:      #FBF8F3;
  --paper-2:    #F1EADE;
  --text:       #262421;
  --text-mute:  #6E675C;
  --text-onink: #E6E0D5;
  --mute-onink: #9A9287;

  --wrap: 72rem;                       /* eine Breite für alle Abschnitte */
  --pad: clamp(1.25rem, 5vw, 3rem);
  --gap: clamp(4.5rem, 9vw, 8rem);

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-optical-sizing: auto;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Ein Container für die gesamte Seite – alle Abschnitte fluchten */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--gold);
  color: var(--ink);
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip:focus { left: 0; top: 0; }

/* --- Typografie ---------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--f-display);
  hyphens: auto;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 4.4vw, 3.5rem); text-wrap: pretty; }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.6rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.005em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.6; }

.eyebrow {
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }

/* --- Navigation ---------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(25, 24, 23, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(208, 167, 116, .22);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.nav__logo img { height: 1.7rem; width: auto; }

.nav__links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav__links a {
  color: var(--mute-onink);
  text-decoration: none;
  padding-block: .4rem;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover,
.nav__links a:focus-visible { color: var(--gold-hi); border-bottom-color: var(--gold); }

/* Hamburger */
.nav__toggle { display: none; }

.nav__burger,
.nav__burger::before,
.nav__burger::after {
  display: block;
  width: 1.2rem;
  height: 1.5px;
  background: var(--gold-hi);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger { position: relative; }
.nav__burger::before,
.nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -.38rem; }
.nav__burger::after  { top: .38rem; }

@media (max-width: 46rem) {
  .nav__toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(208, 167, 116, .35);
    border-radius: 2px;
    cursor: pointer;
  }

  .nav__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #191817;
    border-bottom: 1px solid rgba(208, 167, 116, .22);
    box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .9);
    display: none;
  }
  .nav__nav[data-open] { display: block; }

  .nav__links {
    flex-direction: column;
    gap: 0;
    padding: .25rem var(--pad) 1rem;
  }
  .nav__links a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(208, 167, 116, .12);
  }
  .nav__links li:last-child a { border-bottom: 0; }

  /* Burger wird zum Kreuz */
  .nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(.38rem) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__burger::after  { transform: translateY(-.38rem) rotate(-45deg); }
}

/* --- Abschnitte ---------------------------------------------------------- */

section { scroll-margin-top: 4.5rem; }

.band         { padding-block: var(--gap); }
.band--paper  { background: var(--paper); }
.band--paper2 { background: var(--paper-2); }
.band--ink    { background: var(--ink); color: var(--text-onink); }
.band--ink .eyebrow { color: var(--gold); }
.band--ink h2, .band--ink h3 { color: #F5F0E7; }

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

.hero {
  position: relative;
  background: var(--ink) url("assets/hero-hintergrund-1100.webp") center 42% / cover no-repeat;
  color: var(--text-onink);
  overflow: hidden;
  padding-block: clamp(5.5rem, 13vw, 10rem) clamp(5rem, 11vw, 9rem);
}

@media (min-width: 46rem) {
  .hero { background-image: url("assets/hero-hintergrund.webp"); }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Schleier liegt unter den Höhenlinien, damit die Linien überall gleich gut lesbar sind */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg,
      rgba(25, 24, 23, .42) 0%,
      rgba(25, 24, 23, .50) 52%,
      rgba(25, 24, 23, .66) 100%),
    linear-gradient(180deg,
      rgba(25, 24, 23, .34) 0%,
      rgba(25, 24, 23, .04) 42%,
      rgba(25, 24, 23, .42) 100%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; }
.hero h1 { color: #F7F3EA; text-shadow: 0 2px 24px rgba(15, 14, 13, .55); }

.hero__sub {
  margin-top: 1.7rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: #D2CBBE;
  max-width: 42rem;
  text-shadow: 0 1px 14px rgba(15, 14, 13, .6);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.75rem; }

/* Höhenlinien: Ebene für Ebene von unten nach oben eingeblendet */
.lv {
  opacity: 0;
  animation: rise 1.5s cubic-bezier(.22, .61, .36, 1) forwards;
  animation-delay: calc(.25s + var(--i) * .16s);
  transform-box: fill-box;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.9rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--ghost { background: transparent; color: var(--gold-hi); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(208, 167, 116, .12); }

/* --- Produkt ------------------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
  margin-top: 1.6rem;
}
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1.38fr; align-items: center; } }

/* Freigestelltes Produktfoto */
.product-shot { margin: 0; }

/* In der schmalen Ansicht stehen die Bilder über dem Text */
@media (max-width: 55.99rem) {
  .split > :last-child,
  .about > :last-child { order: -1; }
  .split, .about { display: flex; flex-direction: column; }
}
.product-shot img {
  width: 100%;
  filter: drop-shadow(0 26px 34px rgba(38, 36, 33, .30));
}
.product-shot figcaption {
  font-size: .92rem;
  color: var(--text-mute);
  margin-top: 1.5rem;
}

.specs {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(38, 36, 33, .16);
}
@media (min-width: 40rem) { .specs { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 4rem); } }
@media (min-width: 56rem) { .split .specs { grid-template-columns: 1fr; } }

.specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(38, 36, 33, .16);
}
.specs .k {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-mute);
  flex: 0 0 auto;
}
.specs .v { text-align: right; }

/* --- Bilderstreifen (volle Fensterbreite) -------------------------------- */

.gallery {
  position: relative;
  background: var(--ink);
  padding: 0;
}

.gallery__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: clamp(19rem, 36vw, 31rem);
}
.gallery__track::-webkit-scrollbar { display: none; }

.gallery__item {
  flex: 0 0 clamp(17rem, 28vw, 34rem);
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.gallery__item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1), filter .35s;
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.035); filter: brightness(1.06); }
.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

@media (max-width: 40rem) {
  .gallery__track { height: 70vh; }
  .gallery__item { flex: 0 0 100%; }
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid rgba(208, 167, 116, .5);
  background: rgba(25, 24, 23, .68);
  color: var(--gold-hi);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s;
}
.gallery__nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.gallery__nav--prev { left: clamp(.6rem, 2vw, 1.5rem); }
.gallery__nav--next { right: clamp(.6rem, 2vw, 1.5rem); }

.gallery__hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute-onink);
  background: rgba(25, 24, 23, .6);
  padding: .35rem .9rem;
  border-radius: 2rem;
  pointer-events: none;
  white-space: nowrap;
}
@media (max-width: 40rem) { .gallery__hint { font-size: .62rem; letter-spacing: .14em; } }

/* Lightbox */
.lightbox { display: none; }
.lightbox[open] {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 14, 13, .94);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  border: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}
.lightbox::backdrop { background: rgba(15, 14, 13, .94); }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(208, 167, 116, .5);
  background: transparent;
  color: var(--gold-hi);
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--gold); color: var(--ink); }

/* --- Zusammenarbeit ------------------------------------------------------ */

.stages {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 52rem) { .stages { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.stage {
  background: var(--paper);
  border: 1px solid rgba(38, 36, 33, .12);
  border-radius: 2px;
  padding: 2rem 1.6rem 1.75rem;
}
.stage__marker {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.stage__marker { white-space: nowrap; }
.stage__marker::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold-deep);
  flex: 0 0 auto;
}
.stage h3 { margin-bottom: .55rem; min-height: 2.3em; display: flex; align-items: flex-end; }
.stage p { font-size: .98rem; color: var(--text-mute); }

/* --- Über uns ------------------------------------------------------------ */

.about {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  margin-top: 1.8rem;
}
@media (min-width: 56rem) { .about { grid-template-columns: 1.15fr .85fr; } }

.about__photo { margin: 0; }
.about__photo img { width: 100%; border-radius: 2px; }
.about__photo figcaption {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: .85rem;
}

.signature {
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 2rem;
}

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

.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; margin-top: 1.8rem; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

.next-steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
  color: var(--text-onink);
  font-size: .98rem;
}
.next-steps li { display: flex; align-items: baseline; gap: .75rem; }
.next-steps li::before {
  content: "";
  flex: 0 0 auto;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-.15rem);
}

.people {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(208, 167, 116, .22);
}
@media (min-width: 30rem) { .people { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }

.person { display: grid; gap: .2rem; margin: 0; font-size: .95rem; }
.person__name {
  font-family: var(--f-display);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute-onink);
  margin-bottom: .35rem;
}
.person a { justify-self: start; }

.contact-direct a { color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid rgba(208, 167, 116, .45); }
.contact-direct a:hover { border-bottom-color: var(--gold-hi); }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--f-display);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mute-onink);
}
.field input, .field textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  color: #F5F0E7;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 2px;
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .2s;
}
.field input:hover, .field textarea:hover { border-color: #4A4640; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 8rem; resize: vertical; }

.field--row { display: grid; gap: 1.15rem; }
@media (min-width: 34rem) { .field--row { grid-template-columns: 1fr 1fr; } }

.consent {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--mute-onink);
  margin-top: .35rem;
}
.consent input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--gold); flex: 0 0 auto; }
.consent a { color: var(--gold-hi); }

.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

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

.footer {
  background: var(--ink);
  color: var(--mute-onink);
  border-top: 1px solid rgba(208, 167, 116, .2);
  padding-block: 2.75rem;
  font-size: .9rem;
}
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer__links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.footer__links a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer__links a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.footer__mark { display: flex; align-items: center; gap: .8rem; }
.footer__mark img { width: 1.7rem; }

/* --- Rechtstexte --------------------------------------------------------- */

.legal { padding-block: clamp(3.5rem, 8vw, 6rem); }
.legal h1 { margin-bottom: 2.5rem; font-size: clamp(2rem, 5vw, 2.9rem); }
.legal h2 { font-size: 1.3rem; margin: 2.75rem 0 .9rem; }
.legal a { color: var(--gold-deep); }
.legal .back {
  font-family: var(--f-display);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-mute);
  display: inline-block;
  margin-bottom: 2.5rem;
}
.legal .back:hover { color: var(--gold-deep); }


/* --- Bewegung reduzieren ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery__track { scroll-behavior: auto; }
  .lv { animation: none; opacity: 1; transform: none; }
  .gallery__item img { transition: none; }
}
