/* Schriften lokal eingebunden (keine Verbindung zu Google Fonts) */
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --paper: #fef8f1;  /* exakt der Logo-Hintergrund, damit das Logo nahtlos sitzt */
  --cream: #f8eee0;
  --sand: #eddfcc;
  --sage: #78836e;
  --sage-dark: #56634f;
  --ink: #34382f;
  --wine: #7a3b46;   /* aus dem Logo-Schriftzug */
  --gold: #b8914e;   /* aus dem Logo, nur für Linien */
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: .2em; text-decoration-color: var(--gold); }
a:hover { color: var(--sage-dark); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .55em; color: var(--wine); text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.5vw, 5.4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.65rem; color: var(--sage-dark); margin-top: 2.2rem; }
p { margin: 0 0 1.1em; max-width: 62ch; }

.wrap { max-width: 68rem; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 44rem; }
main > section { padding-block: clamp(4rem, 9vw, 7.5rem); scroll-margin-top: 5rem; }
.cream { background: var(--cream); }
.sand { background: var(--sand); }
.center { text-align: center; }
.center p, .center h1, .center h2 { margin-inline: auto; }
.center .actions { justify-content: center; }

/* Kopfzeile */
.site-header { background: var(--paper); border-bottom: 1px solid var(--sand); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; padding-block: .4rem; }
.site-header img { height: 4.5rem; width: auto; }
.site-header nav { display: flex; gap: 1.6rem; overflow-x: auto; max-width: 100%; padding-block: .5rem; }
.site-header nav a { color: var(--ink); text-decoration: none; white-space: nowrap; font-size: .98rem; }
.site-header nav a:hover { color: var(--wine); text-decoration: underline; text-decoration-color: var(--gold); }
.site-header nav { order: 1; flex-basis: 100%; }
.site-header .insta { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); transition: background .2s, color .2s; }
.site-header .insta:hover { background: var(--wine); border-color: var(--wine); color: var(--paper); }
@media (min-width: 800px) { .site-header { position: sticky; top: 0; z-index: 10; } .site-header nav { order: 0; flex-basis: auto; margin-left: auto; } }

/* Der goldene Faden aus der Logo-Mitte: zwei verschlungene Linien.
   Er führt vom Emblem durch die Seite und verbindet die beiden Angebote. */
.strand {
  width: 20px; height: 6rem; margin-inline: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='44' fill='none' stroke='%23b8914e' stroke-width='1'%3E%3Cpath d='M10 0C19 11 19 11 10 22S1 33 10 44'/%3E%3Cpath d='M10 0C1 11 1 11 10 22S19 33 10 44' opacity='.55'/%3E%3C/svg%3E") repeat-y center top;
  position: relative;
}
/* der Lichtpunkt, an dem sich Tier und Mensch im Logo begegnen */
.strand.star::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 7px var(--paper), 0 0 18px 10px rgba(184, 145, 78, .35);
}

/* Start: das Emblem steht in der Mitte, der Faden läuft nach unten weiter */
main > .hero { padding-block: clamp(1.5rem, 4vw, 3rem) 0; }
.hero .emblem {
  display: block; width: min(100%, 27rem); margin-inline: auto;
  /* blendet den Rand der Logodatei weich aus */
  -webkit-mask-image: radial-gradient(ellipse 50% 50%, #000 86%, transparent);
          mask-image: radial-gradient(ellipse 50% 50%, #000 86%, transparent);
}
.hero h1 { margin-top: .2em; }
.hero .lead { font: italic 400 clamp(1.4rem, 2.6vw, 1.75rem)/1.4 var(--serif); color: var(--sage-dark); max-width: 36ch; }
.hero .strand { height: 7rem; margin-top: 3.5rem; }

/* Die nachgezeichneten Logo-Linien (emblem-linien.svg) dienen als Maske:
   das Originalbild erscheint, als würde es von der Mitte aus gezeichnet. */
.emblem mask path { fill: #fff; stroke: #fff; stroke-width: 70; stroke-linecap: round; stroke-linejoin: round; }
.thread { display: none; }
@keyframes grow { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes appear { from { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .emblem mask path {
    fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: draw 1.8s var(--d) ease-in-out forwards, fillin 1s calc(var(--d) + 1.2s) forwards;
  }
  .emblem .full { animation: appear 1.4s 3.4s both; }
  .hero .strand { animation: grow 1.6s 3.6s ease-out both; }

  /* Der Faden am Seitenrand wächst mit dem Scrollen (nur wo der Browser es kann und Platz ist) */
  @supports (animation-timeline: scroll()) {
    @media (min-width: 1280px) {
      .thread { display: block; position: fixed; left: 2.2rem; top: 0; height: 100vh; z-index: 5; animation: grow linear both; animation-timeline: scroll(root); }
    }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn { display: inline-block; padding: .8rem 1.7rem; border-radius: 999px; border: 1px solid var(--wine); background: var(--wine); color: var(--paper); text-decoration: none; font-weight: 500; }
.btn:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--paper); }
.btn.quiet { background: transparent; color: var(--wine); }
.btn.quiet:hover { background: transparent; color: var(--sage-dark); }

/* Zwei Angebote, links und rechts vom Faden – wie Tier und Mensch im Logo */
main > .intro { padding-top: 0; }
.intro .strand:first-child { height: 5rem; margin-bottom: 3rem; }
.offers { display: grid; gap: 2rem; margin-top: 4rem; text-align: center; }
.offers h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--wine); margin-top: 0; }
.offers p { margin-inline: auto; max-width: 38ch; }
.offers .price { font: 500 1.35rem/1.3 var(--serif); color: var(--sage-dark); }
.offers .strand { height: 5rem; }
@media (min-width: 800px) {
  .offers { grid-template-columns: 1fr 20px 1fr; gap: 3.5rem; align-items: center; }
  .offers .strand { height: 100%; min-height: 17rem; }
}

.facts { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.5rem; margin: 1.6rem 0; padding: 1.1rem 0; border-block: 1px solid var(--gold); max-width: 30rem; }
.facts dt { color: var(--sage-dark); }
.facts dd { margin: 0; font-weight: 500; }

/* Detailbereiche */
.detail { display: grid; gap: 2rem 5rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .detail { grid-template-columns: 1fr 1fr; } .detail h3:first-child { margin-top: 0; } }
ul, ol { padding-left: 1.2rem; margin: 0 0 1.2em; max-width: 60ch; }
li { margin-bottom: .4em; }
ul li::marker { color: var(--gold); }

/* Abläufe: echte Reihenfolgen, darum nummeriert */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; margin-bottom: 1.1em; }
.steps li::before { content: counter(step); font: italic 500 2.1rem/1 var(--serif); color: var(--gold); }
.steps strong { display: block; font-weight: 500; }
.steps.wide { display: grid; gap: 1.5rem 3rem; margin-top: 2.5rem; max-width: none; }
.steps.wide li::before { font-size: 3.2rem; }
.steps.wide li { grid-template-columns: 3.4rem 1fr; }
@media (min-width: 800px) { .steps.wide { grid-template-columns: repeat(4, 1fr); } .steps.wide li { display: block; } .steps.wide li::before { display: block; margin-bottom: .6rem; } }

.note { font-size: .95rem; color: var(--sage-dark); }
.wish { font: italic 400 1.35rem/1.45 var(--serif); color: var(--wine); border-left: 1px solid var(--gold); padding-left: 1.2rem; margin-block: 1.8rem; max-width: 30ch; }

/* Kundenstimmen */
.quotes { display: grid; gap: 2.5rem 3.5rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quotes figure { margin: 0; border-top: 1px solid var(--gold); padding-top: 1.4rem; }
.quotes blockquote { margin: 0 0 1rem; font: italic 400 1.5rem/1.35 var(--serif); color: var(--wine); }
.quotes figcaption { font-size: .95rem; color: var(--sage-dark); }

/* Ramonas eigener Satz, als ruhiger dunkler Moment zwischen den hellen Flächen */
main > .voice { background: var(--sage-dark); color: var(--paper); text-align: center; }
.voice p { font: italic 400 clamp(1.9rem, 4.6vw, 3.4rem)/1.2 var(--serif); max-width: 22ch; margin: 0 auto; text-wrap: balance; }

/* Über mich: Foto in der Bogenform des Logo-Kreises */
.about { display: grid; gap: 2.5rem 4.5rem; align-items: center; }
.about img { width: min(100%, 26rem); margin-inline: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
@media (min-width: 800px) { .about { grid-template-columns: 5fr 6fr; } }

.signature { font: italic 500 2rem/1.2 var(--serif); color: var(--wine); margin-top: 1.8rem; }
.signature small { display: block; font-size: 1.25rem; font-weight: 400; color: var(--sage-dark); }

/* Fusszeile */
.site-footer { background: var(--sage-dark); color: var(--cream); padding-block: 3rem; font-size: .95rem; }
.site-footer a { color: var(--paper); }
.site-footer p { max-width: 70ch; }
.site-footer .name { font: 500 1.6rem/1.2 var(--serif); margin-bottom: .3rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-block: 1.5rem; }

/* Rechtliche Seiten */
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.7rem; margin-top: 2.2rem; color: var(--sage-dark); letter-spacing: 0; }
