/* ==========================================================================
   raster.css: ruhiges, einheitliches Raster für Version 1 (Feedback-Runde 2).
   Wird von der einzigen Seite (site/index.html, Klasse "v1") geladen, nach
   base.css und vor v1.css. Die Selektoren liefen bis Runde 8 als „:is(.v1, .v2)“;
   Version 2 (archiv/v2/) und Version 3 (archiv/v3/) sind inzwischen beide
   verworfen, siehe CLAUDE.md Abschnitt 15.

   Regeln:
   - eine Content-Breite (--container, 1240 px) mit identischem Innenabstand
   - reine Textblöcke höchstens --text-width (720 px)
   - vertikale Abstände nur aus der Spacing-Skala (--s-*)
   - gleiche Elementtypen haben überall gleiche Abstände
   ========================================================================== */

.v1 {
  --container: 77.5rem;
  --text-width: 45rem;
  --section-y: var(--s-9);
  --head-gap: var(--s-7);
}
@media (min-width: 1024px) {
  .v1 {
    --section-y: var(--s-10);
    --head-gap: var(--s-8);
  }
}

/* Alle Inhalte richten sich an derselben Containerkante aus */
.v1 .collections .container {
  width: min(100% - 2 * var(--gutter), var(--container));
}

/* ---------- Header: Wortmarke links, kompakte Navigation rechts ---------- */
@media (max-width: 1023px) {
  .v1 .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand wa burger";
    column-gap: var(--s-2);
    width: min(100% - 2 * var(--gutter), var(--container));
  }
  .v1 .brand {
    justify-self: start;
    justify-items: start;
  }
  .v1 .burger {
    justify-self: end;
  }
}
@media (min-width: 1024px) {
  .v1 .header-inner {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    width: min(100% - 2 * var(--gutter), 96rem);
  }
  .v1 .brand {
    order: -1;
    margin-right: auto;
    justify-items: start;
  }
  .v1 .brand-logo {
    height: 4.5rem;
  }
  .v1 :is(.nav ul, .nav-right) {
    gap: var(--s-6);
  }
  .v1 .nav a:not(.btn) {
    font-family: var(--f-serif);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--c-text-soft);
    white-space: nowrap;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .v1 .header-inner {
    gap: var(--s-5);
  }
  .v1 :is(.nav ul, .nav-right) {
    gap: var(--s-4);
  }
  .v1 .nav a:not(.btn) {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
  }
}

/* ---------- Einheitlicher Rhythmus in allen Textblöcken ---------- */
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.v1 .sec-head--center {
  align-items: center;
  max-width: var(--text-width);
}
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) > * {
  margin: 0;
}
/* Headline zu Text, Text zu Text */
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) > * + * {
  margin-top: var(--s-5);
}
/* Eyebrow zu Headline */
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) > .eyebrow + * {
  margin-top: var(--s-3);
}
/* Script-Zeile direkt an der Headline */
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) > :is(.h1, .h2) + .script,
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) > .script + .h2 {
  margin-top: var(--s-2);
}
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) > .ornament {
  margin-top: var(--s-4);
}
/* Text zu Button oder Link */
.v1 :is(.hero-copy, .sec-head, .about-copy, .sm-copy-inner, .tri-col, .fleurs-copy, .contact-intro) > :is(.btn, .btn-row, .link, .story, .ways) {
  margin-top: var(--s-6);
}
.v1 :is(.about-copy, .contact-intro) > :is(.story, .ways) {
  align-self: stretch;
}
.v1 .hero-script {
  line-height: 1.15;
}
/* angenehme Lesebreite für Fließtext neben Bildern (ca. 70 Zeichen) */
.v1 :is(.about-copy, .sm-copy-inner, .fleurs-copy, .contact-intro) > :is(p:not(.eyebrow):not(.script), .prose) {
  max-width: 36rem;
}
/* Processus: Zeilen nicht strecken, damit Ziffern und Titel auf einer Höhe stehen */
.v1 .step {
  align-content: start;
}

/* ---------- À propos: Text neben Foto, Fakten als Reihe darunter ---------- */
.v1 .about-grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
.v1 .about-photo {
  aspect-ratio: 4 / 5;
}
.v1 .about-copy {
  position: relative;
}
.v1 .about-sprig {
  display: none;
}
.v1 .story summary {
  min-height: var(--btn-h);
  padding: 0 1.75rem;
  border: 1px solid var(--c-rose);
  background: transparent;
  color: var(--c-rose);
  font-size: 0.78rem;
}
@media (hover: hover) {
  .v1 .story summary:hover {
    background: rgba(159, 97, 85, 0.1);
    color: var(--c-rose-hover);
    border-color: var(--c-rose-hover);
  }
}
.v1 .facts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6) var(--s-5);
  margin: var(--s-8) 0 0;
  padding: var(--s-7) 0 0;
  border-top: 1px solid var(--c-gold-line);
}
.v1 .fact-col {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--s-3);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--c-text);
  text-wrap: balance;
}
.v1 .fact-col .icon {
  width: 2rem;
  height: 2rem;
  color: var(--c-gold);
}
@media (min-width: 900px) {
  .v1 .about-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-9);
  }
  .v1 .about-sprig {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 3.5rem;
    opacity: 0.6;
  }
  .v1 .facts-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--s-6);
  }
}

/* ---------- Kontakt: Einladung und Kontaktwege links, Formular rechts ---------- */
.v1 .contact-grid {
  display: grid;
  gap: var(--s-8);
  align-items: start;
}
.v1 .ways {
  border-top: 1px solid var(--c-line);
}
.v1 .way-row {
  display: grid;
  grid-template-columns: 1.25rem 6.5rem minmax(0, 1fr);
  column-gap: var(--s-4);
  align-items: center;
  min-height: 3.5rem;
  border-bottom: 1px solid var(--c-line);
}
.v1 .way-row .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--c-gold);
}
.v1 .way-row .way-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.v1 .way-row .way-value {
  font-size: 0.95rem;
  color: var(--c-text);
}
/* Lange bestätigte E-Mail bleibt auch in schmalen Kontakt-/Footer-Spalten lesbar. */
.v1 a[href^="mailto:"] {
  overflow-wrap: anywhere;
}
.v1 .contact-grid .form {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-6) var(--s-5);
}
@media (min-width: 640px) {
  .v1 .contact-grid .form {
    padding: var(--s-7);
  }
}
@media (min-width: 1024px) {
  .v1 .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-9);
  }
}

/* ---------- Footer: linksbündig wie der Header ---------- */
.v1 .site-footer {
  border-top: 1px solid var(--c-line);
}
.v1 .footer-links .ph-quiet {
  font-size: inherit;
}
