@import url("fonts.css");

/* ---------------------------------------------------------------
   KRAFT der Leichtigkeit – Design-Tokens
   --------------------------------------------------------------- */
:root {
  --creme: #faf6f0;
  --sand: #efe6da;
  --ink: #4a4038;
  --gold: #c8a96a;
  --gold-ink: #97762f; /* dunkleres Gold für kleine Schrift (Lesbarkeit) */
  --rose: #d9b8ac;

  /* Überschriften wie im Design-File: Playfair Display, einzelne in Cormorant */
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Lato", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 560px;
  --section-y: clamp(72px, 12vw, 112px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------------------------------------------------------------
   Layout
   --------------------------------------------------------------- */
.section {
  padding: var(--section-y) 24px;
  background: var(--creme);
}

.section--sand {
  background: var(--sand);
}

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

.wrap--wide {
  max-width: 640px;
}

.center {
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ---------------------------------------------------------------
   Typografie
   --------------------------------------------------------------- */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Im Design in Cormorant Garamond gesetzt: alle h3 und «Sichere dir deinen Platz» */
h3,
.h-cormorant {
  font-family: var(--serif);
}

h1 {
  font-size: clamp(38px, 11vw, 50px);
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 7vw, 34px);
  line-height: 1.25;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
}

p {
  margin: 0;
}

.lead {
  font-size: 19px;
  line-height: 1.7;
  max-width: 440px;
}

/* Gold wie im Design. Für bessere Lesbarkeit auf Creme: color: var(--gold-ink) */
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.6;
}

.prose {
  font-size: 19px;
  line-height: 1.9;
}

.section-head {
  margin-bottom: 40px;
}

.note {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  border-top: 1px solid var(--rose);
  padding-top: 28px;
  margin-top: 40px;
}

a {
  color: var(--ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-ink);
}

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------
   Button
   --------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #bd9a53;
  color: var(--ink);
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------
   Emblem
   --------------------------------------------------------------- */
/* Aquarell-Feder aus dem Design (assets/feather-emblem.png, 107×237, transparent) */
.feather {
  width: 64px;
  height: auto;
  opacity: 0.9;
  margin: 0 auto;
}

.feather--mid {
  width: 52px;
}

.feather--lg {
  width: 70px;
}

.rings {
  display: block;
  margin: 0 auto 32px;
}

/* ---------------------------------------------------------------
   Bilder

   Der Bildausschnitt stammt aus dem Design (image-slot: s/x/y).
   Umgerechnet nach derselben Formel, die image-slot.js verwendet:
     base = max(fw/iw, fh/ih)         (cover)
     k    = base * s
     img: width = iw*k/fw, height = ih*k/fh, left = 50%+x, top = 50%+y
     plus transform: translate(-50%, -50%)
   Bei quadratischem Rahmen und Hochformat-Bild kürzen sich fw/fh heraus,
   die Prozentwerte gelten daher bei jeder Rahmengrösse.
   --------------------------------------------------------------- */
.hero-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 8px;
}

.portrait {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: #f3ece2;
}

.portrait img {
  position: absolute;
  max-width: none;
  transform: translate(-50%, -50%);
}

/* s=1, x=0, y=+14.375 · Bild 213×320 */
.portrait--nadja img {
  width: 100%;
  height: 150.23474%;
  left: 50%;
  top: 64.375%;
}

/* s=1.25460875, x=-5.8805, y=+14.901083 · Bild 240×320 */
.portrait--sabrina img {
  width: 125.46088%;
  height: 167.28117%;
  left: 44.1195%;
  top: 64.90108%;
}

/* Unbefüllter Platzhalter – bleibt für künftige Bildplätze */
.slot {
  margin: 0;
  border: 1px dashed var(--rose);
  border-radius: 16px;
  background: #f3ece2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  color: #8b7f72;
  letter-spacing: 0.03em;
  overflow: hidden;
}

/* ---------------------------------------------------------------
   Karten / Listen
   --------------------------------------------------------------- */
.cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.card {
  padding-top: 32px;
  border-top: 1px solid var(--rose);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card p {
  line-height: 1.8;
}

.flow {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  text-align: center;
}

.flow span {
  font-size: 16px;
  font-weight: 700;
}

.flow .arrow {
  color: var(--gold);
  font-size: 18px;
}

.marks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.marks--tight {
  gap: 24px;
}

.marks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  line-height: 1.8;
}

.marks li::before {
  content: "✦";
  color: var(--gold);
  font-size: 18px;
  line-height: 1.8;
  flex: none;
}

.people {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.person a {
  font-weight: 700;
}

/* ---------------------------------------------------------------
   Termine & FAQ
   --------------------------------------------------------------- */
.date {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.date + .time {
  margin-bottom: 28px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq dt {
  font-weight: 700;
  margin-bottom: 10px;
}

.faq dd {
  margin: 0;
  line-height: 1.8;
}

/* ---------------------------------------------------------------
   Abschluss & Footer
   --------------------------------------------------------------- */
.closing {
  padding: clamp(80px, 14vw, 120px) 24px 64px;
}

.closing h2 {
  font-size: clamp(30px, 8vw, 36px);
  max-width: 480px;
}

.site-footer {
  background: var(--ink);
  color: var(--creme);
  padding: 32px 24px;
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

.site-footer a {
  color: var(--creme);
}

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

.footer-nav {
  margin-bottom: 10px;
  font-size: 13px;
}

/* ---------------------------------------------------------------
   Rechtsseiten (Impressum / Datenschutz)
   --------------------------------------------------------------- */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 88px) 24px;
}

.legal h1 {
  font-size: clamp(32px, 8vw, 40px);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 24px;
  margin: 44px 0 12px;
}

.legal p,
.legal li {
  font-size: 17px;
  line-height: 1.8;
}

.legal ul {
  padding-left: 22px;
}

.legal .back {
  display: inline-block;
  margin-top: 48px;
  font-weight: 700;
}

.legal .todo {
  background: #f3ece2;
  border-left: 3px solid var(--rose);
  padding: 12px 16px;
  font-size: 15px;
  margin: 16px 0;
}

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