/* ============================================
   JUDYGRAFIE – Judith Heigl Fotografin NRW
   Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --white:      #ffffff;
  --light:      #f9f7f5;
  --sand:       #f2ede8;
  --gold:       #c9a96e;
  --gold-dark:  #a8853e;
  --text:       #2d2926;
  --muted:      #7a7067;
  --border:     #e8e2da;
  --dark:       #1e1b18;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

/* === NAVIGATION === */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.nav-brand-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  font-weight: 400;
  border-right: 1px solid var(--border);
  line-height: 70px;
}

.nav-links li:first-child a { border-left: 1px solid var(--border); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover { color: var(--gold); background: var(--light); }

/* === PAGE HERO (Unterseiten) === */
.page-hero {
  background: var(--light);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero .label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 0.75rem;
}

.page-hero p {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* === SECTIONS === */
.section { padding: 4rem 1.5rem; }
.section-alt { background: var(--light); }

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.gold-line {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto;
}

.gold-line.left { margin-left: 0; }

/* === CARD GRIDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  text-decoration: none;
  color: var(--text);
  background: var(--white);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--sand);
}

.card-body {
  padding: 1.25rem 1rem 1.5rem;
  flex: 1;
  text-align: center;
}

.card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* === PHOTO GRID === */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.photo-strip .photo-tile {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--sand);
  position: relative;
  overflow: hidden;
}

.photo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,169,110,0);
  transition: background 0.25s;
}

.photo-tile:hover::after { background: rgba(201,169,110,0.3); }

/* Masonry-style gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s;
}

.gallery-grid img:hover { transform: scale(1.02); }

/* === ABOUT SPLIT === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.about-split-img {
  background-size: cover;
  background-position: center top;
  background-color: var(--sand);
  min-height: 320px;
}

.about-split-text {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--light);
}

.about-split-text p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 0.9rem;
}

/* === QUALITIES GRID === */
.qualities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.quality {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.quality-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

.quality-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.quality-desc {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

/* === PROCESS STEPS === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.step { text-align: center; padding: 0 0.5rem; }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* === PROSE TEXT === */
.prose {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto;
}

.prose p { margin-bottom: 1rem; }

/* === CONTACT SECTION === */
.contact-section {
  background: var(--dark);
  padding: 4.5rem 1.5rem;
  text-align: center;
  color: white;
}

.contact-section .section-label { color: var(--gold); display: block; margin-bottom: 0.5rem; }

.contact-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 400;
  color: white;
  margin-bottom: 0.5rem;
}

.contact-section .sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-item { text-align: center; }

.contact-icon { font-size: 1.6rem; margin-bottom: 0.5rem; display: block; }

.contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.3rem;
}

.contact-val {
  font-size: 0.92rem;
  color: white;
  font-weight: 300;
}

.contact-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.15rem;
  font-style: italic;
}

/* === BUTTONS === */
.btn-gold {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: var(--gold);
  color: white;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--gold);
  color: white;
}

/* === DOWNLOAD BOX === */
.download-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--light);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  max-width: 420px;
  margin: 2rem auto 0;
}

.download-icon { font-size: 2rem; }

.download-text p { font-size: 0.82rem; color: var(--muted); font-weight: 300; }

.download-text a {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  background: #141210;
  color: rgba(255,255,255,0.35);
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.78rem; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* === KONTAKT FORMULAR === */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s;
  border-radius: 0;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* === IMPRESSUM / DATENSCHUTZ === */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 2rem 0 0.5rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p, .legal-content li {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

.legal-content ul { padding-left: 1.5rem; margin: 0.5rem 0; }

/* ============================================
   RESPONSIVE – MOBILE FIRST BREAKPOINTS
   ============================================ */

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .about-split-img { min-height: 300px; }
  .about-split-text { padding: 2.5rem 1.5rem; }
  .qualities { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 180px; }
  .qualities { grid-template-columns: 1fr; }
  .contact-row { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .section { padding: 3rem 1rem; }
  .about-split-text { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
  .nav-brand-main { font-size: 1.3rem; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip .photo-tile { height: 150px; }
  .card-img { height: 180px; }
}
