/* ============================================================
   Martha Münder — Eigenständiges Design, v2
   Konzept: "Liebesbrief" — verträumt-romantisch, aber zurückhaltend.
   Warme Pastelltöne (Rosé/Creme/Salbei), elegante Serife mit
   spielerischen Schwüngen, rein typografische Verspieltheit
   (keine Illustrationen). Signature: ein wiederkehrendes,
   handschriftlich anmutendes "&" als Sektionen-Ornament — eine
   Anspielung auf "Autorin & Freie Rednerin".
   ============================================================ */

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

:root {
  --paper: #fdfaf8;      /* fast weiß, warm */
  --paper-deep: #f8ece7; /* zartes Rosé für Flächen */
  --ink: #1c1917;        /* fast Schwarz, wie im Logo-Schriftzug */
  --ink-soft: #8a7d78;   /* gedämpfter Ton für Fließtext-Nebensätze */
  --rose: #f4cac2;       /* helles Rosé, oberer Verlaufston aus dem Logo */
  --rose-deep: #e2938a;  /* kräftigeres Rosé, unterer Verlaufston / Akzent */
  --rule: #f0dcd5;       /* zarte Trennlinie */
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Literata', serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 17px;
}

a { color: inherit; }
img { max-width: 100%; display: block; border-radius: 0; }

/* ---------- Bild-Platzhalter ---------- */
.img-placeholder {
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 1.5px dashed var(--rose-deep);
  border-radius: 0;
  background: var(--paper-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.5rem;
  color: var(--ink-soft);
}
.img-placeholder .ph-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
}
.img-placeholder .ph-file {
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  color: var(--rose-deep);
  background: var(--paper);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

/* Wrapper: zeigt Platzhalter, bis das echte Bild geladen werden kann */
.img-slot { position: relative; }
.img-slot img { position: relative; z-index: 1; }
.img-slot img.img-missing { display: none; }

/* ---------- Marginalia label (signature element, now softened) ---------- */
.tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.tag::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--rose-deep);
}

/* ---------- Layout shell ---------- */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 6vw; }

.page-grid { display: grid; grid-template-columns: 90px 1fr; gap: 0; position: relative; }

.margin-rail {
  padding-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.margin-rail .rail-label {
  writing-mode: vertical-rl;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.margin-rail .rail-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose-deep);
}

/* ---------- Dreamy blob backdrop (typographic-friendly, no illustration) ---------- */
.page-hero { position: relative; padding: 4.5rem 0 3rem; }
.page-hero::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -6vw;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle at 30% 30%, var(--rose) 0%, transparent 60%),
    radial-gradient(circle at 65% 65%, var(--rose-deep) 0%, transparent 55%);
  opacity: 0.22;
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  max-width: 16ch;
}
.page-hero h1 em {
  font-family: 'Literata', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--rose-deep);
}

.page-hero .lede {
  margin-top: 1.4rem;
  max-width: 62ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- Pull quote ---------- */
blockquote.pull {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--rose-deep);
  border-left: 2px solid var(--rose);
  padding-left: 1.6rem;
  margin: 2.6rem 0;
  max-width: 46ch;
}
blockquote.pull cite {
  display: block;
  margin-top: 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Prose blocks ---------- */
.prose { max-width: 66ch; padding: 1rem 0 3rem; }
.prose p { margin-bottom: 1.3rem; }
.prose p:last-child { margin-bottom: 0; }

.section { padding: 3.2rem 0 2.8rem; border-top: 1px solid var(--rule); position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rose-deep);
}

.section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.55rem;
  margin-bottom: 1.6rem;
}

/* ---------- Project / entry list ---------- */
.entry-list { display: flex; flex-direction: column; }

.entry {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 1.6rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--rule);
}
.entry:last-child { border-bottom: 1px solid var(--rule); }

.entry .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--rose-deep);
  padding-top: 0.2rem;
}

.entry h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.entry p { color: var(--ink-soft); max-width: 58ch; }

.entry .status {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* ---------- Testimonials ---------- */
.testimonial { padding: 1.8rem 0; border-top: 1px solid var(--rule); }
.testimonial:last-child { border-bottom: 1px solid var(--rule); }
.testimonial p.quote { font-style: italic; max-width: 60ch; margin-bottom: 0.7rem; }
.testimonial .from {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* ---------- Form ---------- */
form.contact-form {
  max-width: 52ch;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 1rem;
}
form.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
form.contact-form input,
form.contact-form textarea {
  font-family: 'Literata', serif;
  font-size: 1rem;
  background: var(--paper-deep);
  border: none;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 1px transparent;
  transition: box-shadow 0.25s ease;
}
form.contact-form input:focus,
form.contact-form textarea:focus { box-shadow: 0 0 0 1.5px var(--rose-deep); }

form.contact-form button {
  align-self: flex-start;
  margin-top: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  background: var(--rose-deep);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease;
}
form.contact-form button:hover { background: #a8645f; transform: translateY(-1px) scale(1.02); }

.form-note {
  margin-top: 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--rule);
}
.contact-strip a.email {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.contact-strip a.email:hover { color: var(--rose-deep); border-color: var(--rose-deep); }

.social-links { display: flex; gap: 0.8rem; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
  transition: transform 0.2s ease, border-color 0.25s ease;
}
.social-links a:hover { border-color: var(--rose-deep); transform: translateY(-2px) rotate(-4deg); }
.social-links svg { width: 15px; height: 15px; fill: var(--ink); }

/* ---------- Legal text ---------- */
.legal h2 {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 2.2rem 0 0.8rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 1rem; max-width: 72ch; }
.legal ul { margin: 0 0 1rem 1.2rem; max-width: 72ch; }

/* ---------- Header / Nav ---------- */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2.6rem 6vw 1.6rem;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
  display: inline-flex;
}
.wordmark .w-light { font-weight: 300; }
.wordmark .w-bold { font-weight: 700; }

/* ---------- Logo-Marke (die beiden "M"-Schwünge, ohne Kreis) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand-mark { width: 74px; height: auto; overflow: visible; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .brand-mark animate,
  .brand-mark animateTransform { display: none; }
}

nav.primary-nav ul { list-style: none; display: flex; gap: 1.8rem; flex-wrap: wrap; }

nav.primary-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a:focus-visible,
nav.primary-nav a[aria-current="page"] {
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}

/* ---------- Footer ---------- */
/* ---------- Startseite: Text links, Hochformat-Portrait rechts ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 4vw;
  align-items: center;
  padding: 4.5rem 0 4rem;
  position: relative;
}
.hero-split::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: -4vw;
  width: 380px;
  height: 380px;
  background:
    radial-gradient(circle at 35% 35%, var(--rose) 0%, transparent 60%),
    radial-gradient(circle at 65% 65%, var(--rose-deep) 0%, transparent 55%);
  opacity: 0.2;
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}
.hero-copy h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
}
.hero-copy .lede {
  margin-top: 1.4rem;
  max-width: 40ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.hero-portrait { width: 100%; }
.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.portrait-ph {
  aspect-ratio: 4 / 5;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ---------- Unterseiten-Hero: gro\u00dfes Hochformat neben der Headline ---------- */
.subpage-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  padding: 3rem 0 4rem;
  position: relative;
}
.subpage-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6vw;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 40% 40%, var(--rose) 0%, transparent 65%);
  opacity: 0.25;
  filter: blur(35px);
  z-index: -1;
  pointer-events: none;
}
.subpage-hero .sh-copy h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  margin-top: 0.9rem;
}
.subpage-hero .sh-portrait {
  width: 100%;
  position: relative;
}
.subpage-hero .sh-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.subpage-hero .sh-quote {
  margin: 1.8rem 0 0;
  font-size: 1.15rem;
  max-width: 34ch;
  border-left-width: 1px;
  padding-left: 1.2rem;
}

@media (max-width: 820px) {
  .subpage-hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2rem; }
  .subpage-hero .sh-portrait { max-width: 400px; }
}

/* ---------- Unterseiten: Text links, Hochformat-Bild rechts ---------- */
.text-portrait-split {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 4vw;
  align-items: start;
  padding: 1rem 0 3rem;
}
.tp-portrait { width: 100%; position: relative; }
.tp-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.tp-copy .prose { max-width: 100%; }

@media (max-width: 760px) {
  .text-portrait-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .tp-portrait { max-width: 340px; }
}

/* ---------- Stimmen mit Querformat-Bild daneben ---------- */
.testimonial-split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3vw;
  align-items: center;
}
.testimonial-split .ts-text { min-width: 0; }
.testimonial-split .ts-image { width: 100%; position: relative; }
.testimonial-split .ts-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.landscape-ph {
  aspect-ratio: 3 / 2;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
/* zweites Zitat gespiegelt: Bild links, Text rechts */
.testimonial-split:nth-of-type(even) .ts-text { order: 2; }
.testimonial-split:nth-of-type(even) .ts-image { order: 1; }

@media (max-width: 760px) {
  .testimonial-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonial-split:nth-of-type(even) .ts-text,
  .testimonial-split:nth-of-type(even) .ts-image { order: initial; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
  padding: 2.6rem 6vw 3rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--ink-soft);
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 2.5rem 4rem;
  align-items: start;
}

.footer-contact,
.footer-social-col {
  display: flex;
  flex-direction: column;
}
.footer-contact a,
.footer-social-col a {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s ease;
  width: fit-content;
}
.footer-contact a:hover,
.footer-social-col a:hover { color: var(--rose-deep); }

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-instagram svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.footer-legal a { color: var(--ink-soft); }
footer.site-footer a { text-decoration: none; }
.footer-legal a:hover { color: var(--rose-deep); }

@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; }
  .hero-portrait { max-width: 340px; }
  footer.site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-legal { text-align: left; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .page-grid { grid-template-columns: 1fr; }
  .margin-rail { display: none; }
  header.site-header { flex-direction: column; align-items: flex-start; }
  .entry { grid-template-columns: 1fr; }
  .entry .num { padding-top: 0; }
  .page-hero::before { width: 260px; height: 260px; right: -20vw; }
}
