/* ============================================================
   ziraa.graphy — Magazin-Website v2
   Designsystem: Cream · Schwarz · Playfair Display · Montserrat
   Mobil-first · Google Ads-ready
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

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

:root {
  --cream:  #f5f3ee;
  --black:  #0d0d0d;
  --white:  #ffffff;
  --mid:    #777777;
  --light:  #e0ddd6;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Montserrat', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(245,243,238,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--black);
  text-transform: uppercase;
}
.nav-logo span { font-weight: 400; font-style: italic; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 10px 22px;
  transition: all 0.2s;
}
.nav-cta:hover { background: #333; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--light);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--black);
  padding: 8px 0;
  border-bottom: 1px solid var(--light);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

.headline-italic { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--mid);
  flex-shrink: 0;
}

.rule-short {
  width: 40px;
  height: 1.5px;
  background: var(--black);
  margin: 20px 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.btn-primary:hover { background: transparent; color: var(--black); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }

/* ── SCARCITY BADGE ── */
.scarcity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 24px;
}
.scarcity-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--black);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ── HERO FULLSCREEN ── */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 40px 56px;
  color: var(--white);
}

.hero-content .scarcity-badge { color: rgba(255,255,255,0.6); }
.hero-content .scarcity-dot { background: var(--white); }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
}
.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ── PROOF STRIP ── */
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--light);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.proof-strip::-webkit-scrollbar { display: none; }

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-right: 1px solid var(--light);
  flex-shrink: 0;
}
.proof-item:last-child { border-right: none; }

.proof-badge {
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.proof-badge.filled {
  background: var(--black);
  color: var(--white);
  padding: 3px 8px;
}
.proof-badge.outline {
  border: 1.5px solid var(--black);
  color: var(--black);
  padding: 2px 7px;
}

.proof-text {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}
.proof-text strong { font-weight: 700; }
.proof-text span { display: block; color: var(--mid); font-weight: 300; letter-spacing: 0.1em; }

/* ── HORIZONTAL SCROLL GALLERY ── */
.scroll-gallery {
  overflow: hidden;
  padding: 0;
  position: relative;
}

.scroll-gallery-track {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
  cursor: grab;
}
.scroll-gallery-track::-webkit-scrollbar { display: none; }
.scroll-gallery-track:active { cursor: grabbing; }

.scroll-gallery-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  overflow: hidden;
}
.scroll-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.scroll-gallery-item:hover img { transform: scale(1.03); }

/* Portrait items */
.sg-portrait { width: 260px; height: 380px; }
/* Landscape items */
.sg-landscape { width: 480px; height: 380px; }
/* Square items */
.sg-square { width: 380px; height: 380px; }

/* ── EDITORIAL GRID ── */
.editorial-grid {
  display: grid;
  gap: 4px;
}

/* 2 col: big left, 2 stacked right */
.editorial-grid-2-1 {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto;
}
.editorial-grid-2-1 .eg-main {
  grid-row: 1 / 3;
}

/* 3 col asymmetric */
.editorial-grid-3 {
  grid-template-columns: 1fr 1.6fr 1fr;
}

/* Full-width strip */
.editorial-strip {
  width: 100%;
  height: 60vw;
  max-height: 560px;
  overflow: hidden;
}
.editorial-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.eg-item {
  overflow: hidden;
  position: relative;
}
.eg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.eg-item:hover img { transform: scale(1.04); }

/* ── MAGAZINE TEXT SECTION ── */
.mag-section {
  padding: 80px 32px;
}
.mag-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.mag-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mag-split.reverse { direction: rtl; }
.mag-split.reverse > * { direction: ltr; }

.mag-text h2 { margin-bottom: 20px; }
.mag-text p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--black);
  margin-bottom: 16px;
}
.mag-text blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--black);
  border-left: 2px solid var(--black);
  padding-left: 20px;
  margin: 24px 0;
  line-height: 1.6;
}

/* ── TESTIMONIAL ── */
.testimonial-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 32px;
  text-align: center;
}
.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
}
.testimonial-stars {
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
  color: var(--white);
}
.testimonial-text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.testimonial-author {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── CREDENTIALS GRID ── */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light);
  border: 1px solid var(--light);
}
.cred-item {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}
.cred-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.cred-label {
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 64px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.process-step { position: relative; }
.step-number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--light);
  line-height: 1;
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--cream);
  border-top: 1px solid var(--light);
  padding: 80px 32px;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── SCARCITY BAR ── */
.scarcity-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.scarcity-bar .scarcity-dot { background: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 64px 32px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.footer-tagline {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.8;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy {
  font-size: 0.6rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

/* ── MASONRY GALLERY ── */
.masonry {
  columns: 3;
  column-gap: 4px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
  overflow: hidden;
  position: relative;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.03); }

/* ── FORM ── */
.form-section {
  background: var(--white);
  padding: 80px 32px;
}
.form-inner { max-width: 720px; margin: 0 auto; }
.form-block { margin-bottom: 48px; }
.form-block-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-family: var(--sans);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--mid);
}
input, textarea, select {
  background: var(--cream);
  border: 1px solid var(--light);
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--black);
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--black);
}
textarea { resize: vertical; min-height: 120px; }

/* ── STYLE FINDER ── */
.sf-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.sf-option {
  border: 1.5px solid var(--light);
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--cream);
}
.sf-option:hover { border-color: var(--black); }
.sf-option.selected { border-color: var(--black); background: var(--black); }
.sf-option.selected .sf-opt-title { color: var(--white); }
.sf-option.selected .sf-opt-desc { color: rgba(255,255,255,0.6); }
.sf-opt-tag {
  font-family: var(--sans);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}
.sf-opt-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.sf-opt-desc {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.6;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 32px 20px 48px; }
  .hero-dots { right: 20px; bottom: 16px; }

  .proof-strip {
    justify-content: flex-start;
    padding: 16px 20px;
    gap: 0;
  }
  .proof-item { padding: 0 16px; }
  .proof-item:first-child { padding-left: 0; }

  .sg-portrait { width: 200px; height: 300px; }
  .sg-landscape { width: 340px; height: 300px; }
  .sg-square { width: 280px; height: 300px; }

  .editorial-grid-2-1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .editorial-grid-2-1 .eg-main { grid-row: auto; }

  .editorial-grid-3 { grid-template-columns: 1fr 1fr; }

  .mag-section { padding: 56px 20px; }
  .mag-split { grid-template-columns: 1fr; gap: 32px; }
  .mag-split.reverse { direction: ltr; }

  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-item:last-child { grid-column: 1 / -1; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; padding: 48px 20px; }

  .cta-section { padding: 56px 20px; }

  .masonry { columns: 2; }

  .form-section { padding: 56px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .sf-options { grid-template-columns: 1fr; }

  footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .scarcity-bar { padding: 12px 20px; font-size: 0.42rem; }
}

@media (max-width: 480px) {
  .editorial-grid-3 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
}
