/* ==========================================================================
   marvin, Baby und Familienfotografie
   Design tokens
   ========================================================================== */

:root {
  /* Colors */
  --bg: #F7ECE2;              /* warm peach-cream */
  --bg-alt: #F1E1E6;          /* soft powder pink / lavender-ish */
  --card: #FFFBF6;            /* near-white warm card surface */
  --rose: #C97B84;            /* dusty rose, primary accent */
  --rose-deep: #A85D68;       /* deeper rose for hover/text-on-light */
  --sage: #8FA888;            /* sage green, secondary accent */
  --sage-deep: #6C8566;
  --ink: #43342E;             /* warm espresso, primary text */
  --ink-soft: #8A7A72;        /* muted warm brown, secondary text */
  --line: rgba(67, 52, 46, 0.12);

  /* Type */
  --display: "Fraunces", "Georgia", serif;
  --body: "Nunito Sans", "Segoe UI", sans-serif;

  /* Layout */
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 22px;
  --radius-sm: 12px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.italic { font-style: italic; color: var(--rose-deep); }

p { margin: 0 0 1em; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--sage-deep);
  display: inline-block;
}

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

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--rose);
  color: var(--card);
  box-shadow: 0 8px 20px -8px rgba(168, 93, 104, 0.55);
}
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 236, 226, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}
.brand span { color: var(--rose-deep); font-style: italic; }

nav.links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav.links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding: 0.2em 0;
  cursor: pointer;
}
[data-nav] { cursor: pointer; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }
nav.links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
}

.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

.menu-btn {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
@media (min-width: 720px) { .menu-btn { display: none; } }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; }
.menu-btn {
  width: 26px; height: 20px; position: relative;
}
.menu-btn span, .menu-btn i {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px;
}
.menu-btn span { top: 9px; }
.menu-btn i.top { top: 0; }
.menu-btn i.bottom { bottom: 0; }

nav.links.mobile-hidden { display: none; }
@media (min-width: 720px) { nav.links.mobile-hidden { display: flex; } }
.mobile-open nav.links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--card);
  padding: 1.5rem var(--pad);
  border-bottom: 1px solid var(--line);
  gap: 1.1rem;
}

/* ---------- Scalloped divider (signature element) ---------- */
.scallop {
  width: 100%;
  height: 26px;
  display: block;
  color: var(--bg);
}
.scallop.to-alt { color: var(--bg-alt); }
.scallop.to-base { color: var(--bg-alt); }
.scallop-wrap { background: var(--bg-alt); }
.scallop-wrap.reverse { background: var(--bg-alt); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}
.blob-1 { width: 420px; height: 420px; background: var(--rose); top: -160px; right: -120px; opacity: 0.28; }
.blob-2 { width: 320px; height: 320px; background: var(--sage); bottom: -140px; left: -100px; opacity: 0.22; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Placeholder photo frames ---------- */
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #EFD9CF 0%, #EAD3DD 55%, #DCE3D3 100%);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(255,255,255,0.25), transparent 50%);
}
.frame-tag {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--card);
  background: rgba(67, 52, 46, 0.42);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.frame.wide { aspect-ratio: 16 / 11; }
.frame.square { aspect-ratio: 1 / 1; }
.frame.tall { aspect-ratio: 3 / 4.4; }

.frame.tone-1 { background: linear-gradient(150deg, #F0DCCF, #E7C9CE); }
.frame.tone-2 { background: linear-gradient(150deg, #E3DCC9, #D8E0D2); }
.frame.tone-3 { background: linear-gradient(150deg, #ECD2D8, #E8DCC7); }
.frame.tone-4 { background: linear-gradient(150deg, #DCE3D3, #EAD9CF); }
.frame.frame-photo { background: none; padding: 0; }
.frame.frame-photo::before { display: none; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--line);
}

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.step-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--rose);
  flex-shrink: 0;
  width: 2.2rem;
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { font-family: var(--display); font-size: 1.3rem; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.footer-links a:hover { color: var(--rose-deep); }
.footer-note { margin-top: 2.4rem; font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Gallery filter ---------- */
.filter-row {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.55em 1.3em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--rose);
  color: var(--card);
  border-color: var(--rose);
}
.masonry {
  columns: 1;
  gap: 1.4rem;
}
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.masonry .frame { break-inside: avoid; margin-bottom: 1.4rem; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}
.price-amount { font-family: var(--display); font-size: 2.2rem; color: var(--rose-deep); }
.price-amount small { font-family: var(--body); font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.price-list li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); font-size: 0.95rem; }
.price-list li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--sage-deep); font-weight: 700;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4em;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--body);
  font-size: 0.98rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--rose);
  outline-offset: 1px;
}
textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}

.contact-strip {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.contact-item .eyebrow { margin-bottom: 0.3em; }
.contact-item a, .contact-item span { font-weight: 700; }

/* ---------- Utility ---------- */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: clamp(2rem, 5vw, 3.5rem); }
.stack-tight > * + * { margin-top: 0.4rem; }

:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
