@import url('../fonts/font-family.css');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg-cream: #FFFCF4;
  --bg-tan: #E6D3A9;
  --bg-tan-light: #FDEECB;
  --bg-tan-lighter: #F4E7C9;
  --white: #FFFFFF;

  --text-dark: #333333;
  --text-body: #474747;
  --text-muted: #6A6A6A;
  --text-light: #FFFFFF;
  --text-light-muted: #FFFFFFBD;

  --border: #E7E7E7;

  --grad-gold: linear-gradient(310deg, var(--bg-tan) 0%, var(--bg-tan-light) 100%);
  --tan-hover: #E6D3A94A;

  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: "Spartan", Arial, sans-serif;

  --container: 1200px;
  --radius: 12px;
  --radius-pill: 300px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* smooth scrolling is handled by Lenis (assets/js/main.js); scroll-behavior would fight it */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-heading); color: var(--text-dark); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 10px; z-index: 2000;
  background: var(--text-dark); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--bg-tan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding-block: 80px; }
.section--tight { padding-block: 40px; }
.eyebrow { color: var(--text-muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.2px;
  border-radius: var(--radius-pill);
  padding: 14px 25px 12px 25px;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--call {
  background: var(--grad-gold);
  color: var(--text-dark);
  flex-direction: row;
}
.btn--call:hover { background: var(--tan-hover); }

.btn--outline {
  border-color: var(--text-muted);
  color: var(--text-muted);
  flex-direction: row-reverse;
}
.btn--outline:hover { background: var(--tan-hover); }

.btn--outline-light {
  border-color: #fff;
  color: #fff;
  box-shadow: 0 30px 50px rgba(0,0,0,.38);
  flex-direction: row-reverse;
}
.btn--outline-light:hover { background: var(--tan-hover); }

.btn--text {
  border: none; padding: 14px 0 12px; gap: 12px;
  text-decoration: underline; letter-spacing: 2px;
  color: var(--text-muted);
  flex-direction: row-reverse;
}
.btn--text:hover { color: var(--bg-tan); }

.btn--text-light { color: var(--text-light-muted); }
.btn--text-light:hover { color: var(--bg-tan); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
}
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; flex: none; justify-self: start; grid-column: 1; }
.brand__logo { height: 56px; width: auto; color: var(--text-dark); }

.nav { display: flex; align-items: center; gap: 28px; justify-self: center; grid-column: 2; }
.nav__link {
  font-size: 14px; font-weight: 500; letter-spacing: .4px;
  text-transform: uppercase; color: var(--text-dark);
  padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--bg-tan); }

.header__actions { display: flex; align-items: center; gap: 18px; flex: none; justify-self: end; grid-column: 3; }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: none; padding: 0;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--text-dark); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-menu__link { font-family: var(--font-heading); font-size: 24px; color: var(--text-dark); text-transform: uppercase; }
.mobile-menu__close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
  border: none; background: none; color: var(--text-dark);
}
.mobile-menu__close svg { width: 24px; height: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 84vh; display: flex; align-items: flex-end;
  overflow: hidden; color: #fff; padding-block: 60px 56px;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__scrim-top {
  position: absolute; inset: 0 0 auto 0; height: 40%; z-index: 1;
  background: linear-gradient(180deg, #FFFFFF 6%, transparent 100%);
}
.hero__scrim-bottom {
  position: absolute; inset: auto 0 0 0; height: 65%; z-index: 1;
  background: linear-gradient(0deg, rgba(51,51,51,.85) 0%, transparent 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.hero__text { flex: 1 1 640px; max-width: 640px; }
.hero__cta { flex: 0 0 auto; padding-bottom: 6px; }
.hero__title {
  font-size: 38px; font-weight: 700; text-transform: uppercase;
  line-height: 1.35; letter-spacing: 1.4px; color: #fff;
  text-shadow: 0 8px 20px rgba(71,71,71,.6);
  margin-bottom: 16px;
}
.hero__subtitle { font-size: 16px; color: #fff; max-width: 480px; margin-bottom: 0; }
.hero__subtitle u { text-decoration: underline; }

/* ============================================================
   BANNER (Passfotos)
   ============================================================ */
.banner { background: var(--bg-tan); padding-block: 20px; }
.banner__inner { display: flex; align-items: center; gap: 20px; }
.banner__img { width: 90px; height: auto; flex: none; }
.banner__title { font-size: 22px; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.banner__text { margin: 0; color: var(--text-body); }

/* ============================================================
   MOMENT / ABOUT TEASER
   ============================================================ */
.moment { background: var(--bg-cream); }
.moment__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.moment__figure { position: relative; }
.moment__img-main { width: 100%; }
.moment__img-secondary {
  position: absolute; bottom: -40px; right: -40px; width: 55%;
  box-shadow: 0 40px 60px rgba(0,0,0,.1);
  will-change: transform;
}
.moment__title { font-size: 28px; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.moment__text { color: var(--text-body); margin-bottom: 24px; }

/* ============================================================
   LEISTUNGEN (services list)
   ============================================================ */
.services { background: var(--white); }
.services__title { font-size: 28px; text-transform: uppercase; font-weight: 700; margin-bottom: 40px; max-width: 520px; }
.services__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 48px; align-items: start; }
.services__list { display: grid; gap: 22px; }
.service-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 20px; }
.service-item__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg-tan); flex: none; }
.services__cta { border-left: 1px solid var(--border); padding-left: 48px; display: flex; flex-direction: column; gap: 18px; }
.services__cta-title { font-size: 22px; line-height: 1.3; }
.services__cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIAL (dark section)
   ============================================================ */
.testimonial {
  position: relative; color: #fff; background-size: cover; background-position: center;
  isolation: isolate; padding-block: 90px;
}
.testimonial::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(30,30,30,.55);
}
.testimonial__grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: end; }
.testimonial__quote { font-size: 16px; }
.testimonial__author { margin-top: 16px; font-family: var(--font-heading); font-size: 18px; }
.testimonial__aside { text-align: right; }
.testimonial__mark { display: block; width: 44px; height: 34px; color: var(--bg-tan); margin-bottom: 18px; margin-inline-start: auto; }
.testimonial__title { font-size: 26px; text-transform: uppercase; margin-bottom: 12px; color: #fff; }

/* ============================================================
   QUESTION / EMAIL CTA
   ============================================================ */
.question { background: var(--bg-cream); }
.question__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.question__figures { position: relative; min-height: 260px; }
.question__img-a { width: 60%; }
.question__img-b {
  position: absolute; top: 20%; left: 45%; width: 55%;
  box-shadow: 0 40px 60px rgba(0,0,0,.1);
}
.question__lead { color: var(--text-body); margin-bottom: 20px; }
.question__title { font-size: 32px; text-transform: uppercase; font-weight: 400; margin-bottom: 12px; }
.question__email { font-size: 20px; text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; background: var(--bg-cream);
  padding-block: 64px; isolation: isolate;
}
.footer__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: .5;
}
.footer__card { background: var(--white); padding: 32px; }
.footer__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__logo { height: 52px; width: auto; }
.footer__col-title { font-size: 15px; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; letter-spacing: .5px; }
.footer__list { display: grid; gap: 10px; color: var(--text-body); }
.footer__list li { display: flex; align-items: flex-start; gap: 10px; }
.footer__list svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--bg-tan); }
.footer__hours strong { color: var(--text-dark); }

.footer__divider { border: none; border-top: 1px solid var(--border); margin-block: 32px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--text-body); font-size: 14px;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--bg-tan); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header { padding-block: 56px 24px; background: var(--white); text-align: center; }
.page-header__title { font-size: 30px; text-transform: uppercase; font-weight: 700; }
.divider { border: none; border-top: 1px solid var(--border); max-width: var(--container); margin: 24px auto 0; }

/* ============================================================
   ÜBER MICH
   ============================================================ */
.about-page { background: var(--white); }
.about-page__grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.about-page__title { font-size: 26px; text-transform: uppercase; font-weight: 700; margin-bottom: 22px; }
.timeline { display: grid; gap: 24px; margin-bottom: 28px; }
.timeline li { display: flex; align-items: flex-start; gap: 16px; color: var(--text-muted); }
.timeline li svg { width: 24px; height: 24px; margin-top: -2px; flex: none; color: var(--bg-tan); }

/* ============================================================
   REFERENZEN / GALLERY
   ============================================================ */
.referenzen-main { background: var(--white); }

.gallery-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
  margin-bottom: 40px;
}
.gallery-filter__btn {
  appearance: none; -webkit-appearance: none; background: none;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); padding: 9px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.gallery-filter__btn:hover {
  color: var(--text-dark); border-color: var(--bg-tan); background: var(--tan-hover);
}
.gallery-filter__btn.is-active {
  color: var(--text-dark); background: var(--grad-gold); border-color: transparent;
}

.gallery-grid {
  columns: 3 260px; column-gap: 24px;
}
.gallery-item {
  display: block; break-inside: avoid; margin-bottom: 24px;
  overflow: hidden; position: relative;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item img { width: 100%; height: auto; transition: transform .4s var(--ease); display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.is-fading { opacity: 0; transform: scale(.94); pointer-events: none; }
.gallery-item[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(20,20,20,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; transition: opacity .18s var(--ease), transform .18s var(--ease); }
.lightbox img.is-switching { opacity: 0; transform: scale(.98); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: none; border: none; color: #fff; padding: 12px;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 28px; height: 28px; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-page { background: #fff; padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
.contact-info { display: grid; gap: 28px; align-content: start; }
.contact-info__block h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 6px; }
.contact-info__block a { font-size: 18px; text-decoration: underline; }
.contact-info__block a + a { margin-top: 4px; display: block; }

.map-embed { margin-top: 40px; border-top: 1px solid var(--border); }
.map-embed__map { width: 100%; height: 420px; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-main { background: var(--white); }
.legal { background: var(--white); }
.legal__content { max-width: 820px; margin: 0 auto; }
.legal__content h2 { font-size: 24px; text-transform: uppercase; margin: 40px 0 16px; }
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 { font-size: 19px; margin: 28px 0 10px; }
.legal__content h4 { font-size: 16px; margin: 20px 0 8px; color: var(--text-dark); }
.legal__content p { color: var(--text-body); }
.legal__content a { text-decoration: underline; }
.legal__content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal__content li { margin-bottom: 8px; color: var(--text-body); }

/* ============================================================
   404
   ============================================================ */
.error-page {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; background-size: cover; background-position: center;
  position: relative; isolation: isolate;
}
.error-page::before { content:""; position: absolute; inset: 0; z-index: -1; background: rgba(30,30,30,.6); }
.error-page__code { font-family: var(--font-heading); font-size: 96px; }
.error-page__title { font-size: 24px; text-transform: uppercase; margin: 12px 0 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .container { padding-inline: 20px; }
  .moment__grid, .question__grid, .about-page__grid, .contact-grid { grid-template-columns: 1fr; }
  .services__row { grid-template-columns: 1fr; }
  .services__cta { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 32px; }
  .testimonial__grid { grid-template-columns: 1fr; text-align: left; }
  .testimonial__aside { text-align: left; }
  .testimonial__mark { margin-inline-start: 0; }
  .footer__row { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 220px; }
  .moment__img-secondary { right: 0; bottom: -24px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions .btn--call span { display: none; }
  .header__actions .btn--call { padding: 12px; }
  .hero { min-height: 92vh; padding-block: 40px; }
  .hero__inner { display: block; }
  .hero__cta { display: none; }
  .hero__title { font-size: 28px; }
  .banner__inner { flex-direction: column; text-align: center; }
  .section { padding-block: 56px; }
  .contact-page { padding-bottom: 0; }
  .gallery-grid { columns: 2 140px; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }
  .footer__card { padding: 28px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .map-embed { margin-top: 24px; }
  .map-embed__map { height: 280px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  .hero__title { font-size: 24px; }
}
