/* ==========================================================================
   Marcel Mario Fotografie — Stylesheet
   ========================================================================== */

/* Selbst gehostete Schriften (statt Google Fonts CDN) — dadurch werden keine
   Nutzerdaten/IP-Adressen beim Seitenaufruf an Google übertragen. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/jost-variable.woff2") format("woff2");
}

:root {
  --bg: #0f0e0d;
  --bg-alt: #171513;
  --bg-card: #1c1a17;
  --line: #2a2724;
  --text: #f3ede4;
  --text-muted: #b7ada0;
  --text-faint: #83786c;
  --accent: #c9a876;
  --accent-soft: #8a7355;
  --accent-text: #171513;

  --font-head: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 60px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--accent); color: var(--accent-text); }

.btn--solid {
  background: var(--accent);
  color: var(--accent-text);
}
.btn--solid:hover { background: transparent; color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(15, 14, 13, 0.92);
  backdrop-filter: blur(8px);
  padding: 16px 40px;
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--text);
  display: block;
}
.logo span { color: var(--accent); }
.logo img { height: 40px; width: auto; display: block; transition: height 0.3s ease; }
.site-header.is-scrolled .logo img { height: 30px; }

.nav {
  display: flex;
  gap: 36px;
}
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover,
.nav a.is-active { color: var(--text); border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 1px;
  background: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 110px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(15,14,13,0.35) 0%, rgba(15,14,13,0.55) 55%, var(--bg) 100%),
              radial-gradient(ellipse at 30% 20%, #2c2620 0%, #0f0e0d 70%);
  background-size: cover;
  background-position: center;
}
.hero-content { position: relative; max-width: 760px; }
.hero-content p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
}
.hero-cta { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  writing-mode: vertical-rl;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 190px 0 70px;
  border-bottom: 1px solid var(--line);
}
.page-hero p.lead { max-width: 620px; }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative;
  background: linear-gradient(135deg, #201d19 0%, #14120f 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: repeating-linear-gradient(135deg, rgba(201,168,118,0.05) 0 2px, transparent 2px 14px);
}
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grid layouts ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Services / cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px 34px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--accent-soft); transform: translateY(-4px); }
.card .num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}

/* ---------- Portfolio / gallery ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-bar button {
  background: none;
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-bar button:hover,
.filter-bar button.is-active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(201,168,118,0.08);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4/5;
  cursor: pointer;
}
.gallery-item.wide { aspect-ratio: 8/5; grid-column: span 2; }
.gallery-item .ph { width: 100%; height: 100%; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,9,8,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox .ph { width: min(900px, 100%); height: min(70vh, 600px); }
.lightbox-close {
  position: absolute; top: 30px; right: 40px;
  background: none; border: none; color: var(--text);
  font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 34px;
  height: 100%;
}
.testimonial p { color: var(--text); font-style: italic; }
.testimonial .who {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Testimonial carousel ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}
@media (min-width: 720px) {
  .carousel-slide { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 1024px) {
  .carousel-slide { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.carousel-arrow {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px; height: 44px;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.carousel-dots button.is-active { background: var(--accent); border-color: var(--accent); }

/* ---------- Pricing: Mini-Shooting | Trennlinie | Hochzeitspakete ---------- */
.price-split {
  display: flex;
  align-items: stretch;
  gap: 40px;
}
.price-split > .price-card { flex: 1; }
.price-split-group {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.price-split-divider {
  width: 1px;
  flex-shrink: 0;
  align-self: stretch;
  background: var(--line);
}
@media (max-width: 900px) {
  .price-split { flex-direction: column; gap: 32px; }
  .price-split-divider { width: 100%; height: 1px; }
  .price-split-group { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}
.price-card.is-highlight { border-color: var(--accent); }
.price-card .price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--accent);
  margin: 10px 0 20px;
}
.price-card .price span { font-size: 1rem; color: var(--text-faint); font-family: var(--font-body); }
.price-card .badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.price-card ul { list-style: none; padding: 0; margin: 0 0 30px; flex-grow: 1; }
.price-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Article (single blog post) ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article .ph { aspect-ratio: 16/9; margin-bottom: 48px; }
.article p { color: var(--text); font-size: 1.05rem; }
.article h2 { margin-top: 1.4em; }
.article-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.article-back:hover { color: var(--accent); }

/* ---------- Check list (inklusive Leistungen) ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  max-width: 560px;
  text-align: left;
}
.check-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Blog ---------- */
.post-card { border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.post-card .ph { aspect-ratio: 16/9; margin-bottom: 24px; }
.post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 140px; }
.field { margin-bottom: 22px; }

/* ---------- Contact info blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list .label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 6px;
}
.info-list .value { font-size: 1.05rem; }
.placeholder-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--accent);
  font-style: italic;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 110px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 0.3em; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.78rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom a:hover { color: var(--accent); }
.social-row { display: flex; gap: 18px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .site-header { padding: 20px; }
  .site-header.is-scrolled { padding: 14px 20px; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .section { padding: 70px 0; }
}

/* ---------- Mobile nav drawer ---------- */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 150;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  font-family: var(--font-head);
  font-size: 1.8rem;
}
.nav-drawer-close {
  position: absolute;
  top: 26px; right: 30px;
  background: none; border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}
