:root {
  --bg: #faf7f2;
  --bg-soft: #f1ebe2;
  --sand: #c9bba6;
  --taupe: #8c7b68;
  --ink: #3b332b;
  --ink-soft: #6d6257;
  --white: #ffffff;
  --serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg-soft);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); font-size: 22px; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
.logo small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; color: var(--taupe); margin-top: -4px; }
nav a { text-decoration: none; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 24px; color: var(--ink-soft); }
nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 80px; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.hero .badge { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 32px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 6vw, 54px); line-height: 1.15; }
.hero p { max-width: 560px; margin: 18px auto 32px; color: var(--ink-soft); }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; text-decoration: none;
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin: 6px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #2a241e; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }

/* Sections */
section { padding: 80px 0; }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); text-align: center; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4.5vw, 40px); text-align: center; margin: 8px 0 40px; }

/* Leistungen */
.services { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--bg-soft); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 8px 0 20px; flex: 1; }
.card .price { font-family: var(--serif); font-size: 28px; }
.card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card.featured p { color: #d8cfc4; }
.card .tag { align-self: flex-start; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; background: var(--sand); color: var(--white); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.note { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 24px; }

/* Galerie */
.gallery-bg { background: var(--bg-soft); }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gallery figure { width: calc((100% - 20px) / 3); }
.gallery figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--sand); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure.missing::after {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--serif); font-size: 18px; text-align: center; padding: 12px;
}
.gallery figure.missing img { display: none; }
.studio { margin: 10px auto 0; max-width: 760px; }
.studio figure { width: calc((100% - 10px) / 2); }
.studio figure { aspect-ratio: 3 / 4; }

/* Über mich */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about h2 { text-align: left; margin-bottom: 20px; }
.about .eyebrow { text-align: left; }
.about p + p { margin-top: 14px; }
.about .portrait { aspect-ratio: 4 / 5; border-radius: 200px 200px 18px 18px; overflow: hidden; background: var(--sand); position: relative; }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about .portrait.missing::after { content: "Foto von dir"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--serif); font-size: 20px; }
.about .portrait.missing img { display: none; }

/* Kontakt */
.contact { text-align: center; }
.contact .lines { margin: 0 auto 28px; color: var(--ink-soft); }
.contact .lines strong { color: var(--ink); font-weight: 600; }

/* Footer */
footer { background: var(--ink); color: #d8cfc4; padding: 36px 0 96px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: #d8cfc4; text-decoration: none; margin-left: 18px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--white); }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin-bottom: 28px; }
.legal h2 { text-align: left; font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal ul { padding-left: 20px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 720px) {
  nav { display: none; }
  section { padding: 60px 0; }
  .gallery figure, .studio figure { width: calc((100% - 10px) / 2); }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about .portrait { max-width: 320px; margin: 0 auto; }
  footer .wrap { flex-direction: column; }
}
