/* ══════════════════════════════════════════════════════
   MAYAA EVENTS — stylesheet
   Palette: cream #faf1e1 · tan #cdc1ab · dark #2d2b25
   Fonts:   Great Vibes (script) · Cormorant Garamond (serif)
            Courier Prime (mono/body)
══════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────── */
:root {
  --c-cream:  #faf1e1;
  --c-tan:    #cdc1ab;
  --c-sand:   #d4c9b5;
  --c-dark:   #2d2b25;
  --c-brown:  #352b21;
  --c-gold:   #e8dcc5;
  --c-muted:  #c8bcaa;

  --f-script:  'Pinyon Script', cursive;
  --f-serif:   'Quattrocento', Georgia, serif;
  --f-rmono:   'Roboto Mono', 'Courier New', monospace;
  --f-cg:      'Cormorant Garamond', Georgia, serif;
  --f-mono:    'Courier Prime', 'Courier New', monospace;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

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

body {
  background: var(--c-cream);
  color: var(--c-dark);
  font-family: var(--f-serif);
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLL ANIMATION UTILITIES ─────────────────── */
.js-ready .fade-up,
.js-ready .fade-left,
.js-ready .fade-right,
.js-ready .scale-in {
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.js-ready .fade-up    { transform: translateY(36px); }
.js-ready .fade-left  { transform: translateX(-40px); }
.js-ready .fade-right { transform: translateX(40px); }
.js-ready .scale-in   { transform: scale(0.94); }

.js-ready .fade-up.visible,
.js-ready .fade-left.visible,
.js-ready .fade-right.visible,
.js-ready .scale-in.visible {
  opacity: 1;
  transform: none;
}

/* stagger siblings */
.js-ready .fade-up:nth-child(2),
.js-ready .scale-in:nth-child(2)  { transition-delay: 0.14s; }
.js-ready .fade-up:nth-child(3),
.js-ready .scale-in:nth-child(3)  { transition-delay: 0.28s; }


/* ══════════════════════════════════════════════════
   SECTION 1 · HERO
══════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* background photo — darkened + sepia */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

/* centered text block */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  animation: heroFade 1.6s ease forwards;
}

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

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.brand-name {
  font-family: var(--f-script);
  font-size: 154px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: 0.01em;
  animation: heroFade 1.4s ease forwards, gentleFloat 7s ease-in-out 1.6s infinite;
}

.brand-tagline {
  font-family: var(--f-serif);   /* Quattrocento */
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 2px;
}

/* ghost / outlined CTA button */
.btn-ghost {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  font-family: var(--f-rmono);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-ghost:hover {
  background: rgba(191, 180, 155, 0.14);
  color: var(--c-gold);
  border-color: var(--c-gold);
}

/* ── navigation pill ─────────────────────────── */
.nav-toggle {
  display: none; /* hidden on desktop */
}

.hero-nav {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 40px;
  width: 60%;
  display: flex;
  align-items: stretch;
}

.nav-item {
  font-family: var(--f-rmono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  flex: 1;                        /* each item shares the 60% width equally */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-right: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* bottom metadata strip */
.hero-footer {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 36px;
  font-family: var(--f-rmono);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ffffff;
}


/* ══════════════════════════════════════════════════
   SECTION 2 · ÜBER MICH
══════════════════════════════════════════════════ */
#about {
  background: #ede8d0;
  padding: 76px 48px 88px;
}

/* three-column: label | photo | label */
.about-columns {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: center;
  column-gap: 52px;
  max-width: 880px;
  margin: 0 auto 60px;
}

.about-label {
  font-family: 'Quattrocento', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--c-dark);
  text-align: center;
}
.about-label--right { text-align: center; }

.about-photo {
  box-shadow: 0 4px 22px rgba(45, 43, 37, 0.18);
}
.about-photo img {
  width: 100%;
  height: auto;
  filter: sepia(0.1) brightness(0.97);
}

/* centred body copy */
.about-text {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.about-text p {
  font-family: 'Roboto Mono', monospace;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 2.0;
  color: #2d2b25;
}
.about-text p + p { margin-top: 16px; }


/* ══════════════════════════════════════════════════
   SECTION 3 · FULL-WIDTH PHOTO
══════════════════════════════════════════════════ */
#showcase {
  position: relative;
  height: 99vh;
  min-height: 578px;
  overflow: hidden;
}
.showcase-img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}


/* ══════════════════════════════════════════════════
   SECTION 4 · LEISTUNGEN
══════════════════════════════════════════════════ */
#leistungen {
  background: var(--c-tan);
  padding: 100px 80px 120px;
}

.section-title {
  font-family: 'Quattrocento', Georgia, serif;   /* explicit */
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-dark);
  margin-bottom: 88px;
}
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--c-dark);
  margin: 18px auto 0;
  transition: width 1s ease 0.3s;
}
.section-title.visible::after {
  width: 56px;
}

.services {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 68px;
}

.service h3 {
  font-family: 'Quattrocento', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--c-dark);
  margin-bottom: 16px;
}
.service p {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  font-weight: 300;
  line-height: 2.1;
  color: var(--c-dark);
}


/* ══════════════════════════════════════════════════
   SECTION 5 · GALERIE
══════════════════════════════════════════════════ */
#gallery {
  background: #e3d7c2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 100px;
}

.gallery-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 1100px;
}

.polaroid {
  flex: 1;
}
.polaroid img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}


/* ══════════════════════════════════════════════════
   SECTION 6 · ANFRAGE STELLEN
══════════════════════════════════════════════════ */
#anfrage {
  background: var(--c-tan);   /* #cdc1ab — matches all light sections */
  padding: 120px 64px;
}

.anfrage-layout {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.anfrage-image img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

/* script heading — shared with footer */
.script-title {
  font-family: var(--f-script);
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 400;
  color: var(--c-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.anfrage-subtitle {
  font-family: var(--f-serif);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--c-dark);
  margin-bottom: 52px;
}

/* form fields — underline style */
.form-field { margin-bottom: 28px; }

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(45, 43, 37, 0.32);
  padding: 10px 0;
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--c-dark);
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}
.form-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(45, 43, 37, 0.32);
  padding: 10px 0;
  font-family: var(--f-mono);
  font-size: 15px;
  color: rgba(45, 43, 37, 0.42);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.form-field select:focus {
  border-bottom-color: var(--c-dark);
}
.form-field select.has-value {
  color: var(--c-dark);
}

.field-error {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  color: #9b4a3a;
  margin-top: 5px;
  min-height: 16px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(45, 43, 37, 0.42);
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--c-dark);
}

/* right-aligned text submit */
.form-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.form-submit-row button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--c-dark);
  padding: 0;
  transition: opacity 0.2s;
}
.form-submit-row button:hover { opacity: 0.5; }

#formSuccess {
  margin-top: 28px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--c-dark);
  letter-spacing: 0.04em;
}


/* ══════════════════════════════════════════════════
   SECTION 7 · KONTAKT FOOTER
══════════════════════════════════════════════════ */
#contact {
  background: #e3d7c2;
  padding: 120px 40px 110px;
  text-align: center;
}

/* inherit script-title but override color */
.contact-script {
  color: var(--c-dark);
  font-size: 110px;
  margin-bottom: 38px;
}

.contact-phone {
  width: 280px;
  margin: 0 auto 68px;
}
.contact-phone img {
  width: 100%;
  height: auto;
  filter: sepia(0.38) brightness(0.82);
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 80px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-label {
  font-family: var(--f-serif);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7a6e62;
}
.contact-value {
  font-family: var(--f-serif);
  font-size: 17px;
  font-weight: 300;
  color: var(--c-dark);
  letter-spacing: 0.04em;
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  #leistungen { padding: 64px 40px 80px; }
  #anfrage    { padding: 64px 40px; }
  .anfrage-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .anfrage-image img { max-height: 320px; }
}

@media (max-width: 700px) {
  /* ── hamburger button ── */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: absolute;
    z-index: 10;
    top: 28px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #ffffff;
    transition: transform 0.3s, opacity 0.3s;
  }
  /* animate to × when open */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* ── mobile nav overlay ── */
  .hero-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    top: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.88);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .hero-nav.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    padding: 22px 0;
    font-size: 13px;
    justify-content: center;
  }
  .nav-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.12); }

  .hero-footer { padding: 0 20px; font-size: 8px; }

  #about { padding: 56px 24px 68px; }
  .about-columns {
    grid-template-columns: 1fr;
    row-gap: 24px;
    text-align: center;
  }
  .about-photo { width: 200px; margin: 0 auto; }

  #leistungen { padding: 64px 24px 80px; }
  .section-title { letter-spacing: 0.18em; font-size: 32px; }
  .service h3 { font-size: 17px; }
  .service p  { font-size: 13px; }

  #gallery {
    padding: 60px 24px;
  }
  .gallery-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .polaroid {
    flex: none;
    width: 75vw;
    max-width: 340px;
  }
  .polaroid img { height: 340px; }

  #anfrage { padding: 56px 24px; }

  #contact { padding: 80px 24px 72px; }
  .contact-script { font-size: 80px; }
  .contact-row {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
}
