/* ============================================================
   "Zurück zu Dir" – Heidi Michele
   Hauptwebsite · statisch · sanfte Pastelltöne · reizarm
   Schriften selbst gehostet (DSGVO), keine externen Dienste.
   ============================================================ */

/* ---------- Schriften ---------- */
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- Farben & Variablen ---------- */
:root {
  --cream:       #f7f1e9;
  --cream-2:     #efe6da;
  --paper:       #fffdfa;
  --mauve:       #6f4350;
  --mauve-soft:  #9c6f7a;
  --sage:        #7e8c63;
  --sage-soft:   #9aa884;
  --ink:         #4a3a3e;
  --ink-soft:    #5d4d51;
  --hairline:    rgba(111, 67, 80, 0.20);
  --serif-head:  "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --serif-body:  "EB Garamond", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --wrap:        1080px;
  --radius:      16px;
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.78;
  color: var(--ink);
  background-color: var(--cream);
  /* Blütenmotiv als zarter, durchgängiger Hintergrund */
  background-image: url("../bilder/bluete.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: right -180px bottom -120px;
  background-size: 620px auto;
}
body::before {
  /* heller Schleier über dem Hintergrundbild -> reizarm, lesbar */
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(247, 241, 233, 0.90);
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mauve); text-decoration: none; }
a:hover, a:focus { color: var(--sage); }
a:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; border-radius: 2px; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--serif-head); font-weight: 500; color: var(--mauve); line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 .5em; }
h3 { font-size: 1.4rem; margin: 0 0 .35em; color: var(--mauve); }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.22rem; color: var(--ink); }
em, .italic { font-style: italic; }

.kicker {
  font-family: Georgia, serif;
  font-size: .78rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--mauve-soft); margin: 0 0 1em;
}

/* ---------- Kopf / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 241, 233, 0.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 16px;
}
.brand {
  font-family: var(--serif-head); font-style: italic; font-size: 1.5rem;
  color: var(--mauve); white-space: nowrap;
}
.brand:hover { color: var(--mauve); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; color: var(--mauve); line-height: 1; padding: 6px;
}
.main-nav ul {
  list-style: none; display: flex; gap: 26px; margin: 0; padding: 0;
}
.main-nav a {
  font-size: 1.02rem; color: var(--ink); letter-spacing: .01em;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a:focus { color: var(--mauve); border-color: var(--mauve-soft); }
.main-nav a:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.main-nav a.active { color: var(--mauve); border-color: var(--mauve); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 90px 22px;
  background:
    linear-gradient(rgba(247,241,233,0.55), rgba(247,241,233,0.70)),
    url("../bilder/bluete.jpg");
  background-size: cover; background-position: center 30%;
}
.hero__inner { max-width: 720px; }
.hero h1 {
  font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 7vw, 4.1rem);
  color: var(--mauve); margin: 0;
}
.hero h1 .l2 { display: block; margin-top: .12em; }
.hero p { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink); margin: 1.4em auto 0; max-width: 34em; }
.hero .services-line {
  margin-top: 1.6em; font-style: italic; color: var(--ink-soft); font-size: 1.1rem;
}
.hero .services-line span::after { content: " · "; color: var(--sage); font-style: normal; }
.hero .services-line span:last-child::after { content: ""; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head {
  text-align: center; padding: 64px 22px 30px;
  border-bottom: 1px solid var(--hairline);
}
.page-head h1 { margin-bottom: .2em; }
.page-head p { color: var(--ink-soft); max-width: 36em; margin: .4em auto 0; font-size: 1.12rem; }

/* ---------- Abschnitte ---------- */
section { padding: 56px 0; }
section.tight { padding: 40px 0; }
.band { background: rgba(255, 253, 250, 0.66); border-block: 1px solid var(--hairline); }
.measure { max-width: 38em; }
.center { text-align: center; margin-inline: auto; }

/* Text + Bild nebeneinander */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.feature + .feature { margin-top: 64px; }
.feature--reverse .feature__media { order: 2; }
.feature__media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 22px 50px -30px rgba(74, 58, 62, 0.6);
}
.feature__media.portrait img { aspect-ratio: 3/4; object-fit: cover; }
.feature__media.land img { aspect-ratio: 4/3; object-fit: cover; }

/* Karten (Leistungen) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
}
.card h3 { margin-bottom: .3em; }
.card p { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 0; }
.card .icon { font-size: 1.6rem; color: var(--sage); display: block; margin-bottom: .4em; font-style: normal; }

/* Bilderband / Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px;
  box-shadow: 0 16px 36px -28px rgba(74,58,62,.6); }

/* Blüten-Trenner */
.divider { text-align: center; margin: 8px 0; }
.divider span { color: var(--sage); font-size: 1.3rem; }

/* Listen */
.clean { list-style: none; padding: 0; margin: 0 0 1.1em; }
.clean li { position: relative; padding-left: 1.5em; margin-bottom: .5em; }
.clean li::before { content: "❧"; position: absolute; left: 0; color: var(--sage-soft); }
.clean li a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.clean li a:hover, .clean li a:focus { border-bottom-color: var(--sage); }

.price { font-style: italic; color: var(--mauve); }

/* Zitat / Leitsatz */
.quote {
  font-family: var(--serif-head); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.05rem); color: var(--mauve);
  text-align: center; max-width: 24em; margin: 0 auto; line-height: 1.35;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--serif-body); font-size: 1.05rem;
  color: #fff; background: var(--mauve); padding: 13px 30px; border-radius: 40px;
  border: 1px solid var(--mauve); transition: background .2s, color .2s;
}
.btn:hover, .btn:focus { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--mauve); }
.btn--ghost:hover, .btn--ghost:focus { background: var(--mauve); color: #fff; }
.btn--ghost:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.btn + .btn { margin-left: 8px; }

/* Absatz mit Handlungs-Button(s) – einheitlicher Abstand statt Inline-Styles */
.section-cta { margin-top: 30px; }

/* ---------- Kontaktzeile ---------- */
.contact-lines { line-height: 2.1; font-size: 1.12rem; }
.contact-lines .label { color: var(--ink-soft); font-size: .92rem; display: inline-block; min-width: 90px; }
.contact-lines a { font-weight: 500; }
.contact-lines a:hover, .contact-lines a:focus { text-decoration: underline; }

/* ---------- Fuß ---------- */
.site-footer {
  background: var(--cream-2); border-top: 1px solid var(--hairline);
  padding: 48px 0 38px; margin-top: 40px; font-size: 1rem;
}
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.site-footer h4 { font-family: var(--serif-head); font-size: 1.3rem; color: var(--mauve); margin: 0 0 .5em; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35em; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--mauve); }
.site-footer .brand-foot { font-family: var(--serif-head); font-style: italic; font-size: 1.5rem; color: var(--mauve); margin-bottom: .3em; }
.site-footer .copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--hairline); text-align: center; color: var(--ink-soft); font-size: .92rem; }

/* ---------- Responsiv ---------- */
@media (max-width: 820px) {
  body { background-attachment: scroll; background-size: 420px auto; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(247,241,233,0.98); border-bottom: 1px solid var(--hairline);
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .main-nav.open { max-height: 360px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 22px 18px; }
  .main-nav li { border-bottom: 1px solid var(--hairline); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 13px 0; border: 0; }
  .feature, .feature--reverse .feature__media { grid-template-columns: 1fr; order: 0; }
  .feature__media { order: 0 !important; }
  .cards { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .hero { min-height: 70vh; }
}

/* Tablets im Hochformat – Lücke zwischen den großen Breakpoints schließen */
@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  body { font-size: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 60vh; padding: 54px 22px; }
  /* Buttons untereinander statt nebeneinander – kein Ausbrechen mehr */
  .btn { display: block; text-align: center; }
  .btn + .btn { margin-left: 0; margin-top: 10px; }
  /* Kontakt-Labels auf eigene Zeile für bessere Lesbarkeit */
  .contact-lines { line-height: 1.7; }
  .contact-lines .label { display: block; min-width: 0; margin-bottom: .15em; }
}

/* ---------- TSB®-Siegel ---------- */
.tsb-figure { text-align: center; }
.tsb-figure img { width: min(240px, 72%); height: auto; box-shadow: none; border-radius: 0; }
.tsb-siegel { display: inline-block; margin-top: 16px; line-height: 0; }
.tsb-siegel img { width: clamp(84px, 24vw, 104px); height: auto; box-shadow: none; border-radius: 0; opacity: .95; transition: opacity .2s; }
.tsb-siegel:hover img, .tsb-siegel:focus img { opacity: 1; }
.tsb-siegel:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ---------- Schalenmodell-Notiz ---------- */
.schalen-note {
  display: flex; align-items: center; gap: 16px; margin-top: 22px;
  padding: 14px 18px; background: rgba(255, 253, 250, 0.6);
  border: 1px solid var(--hairline); border-radius: 14px;
}
.schalen-mini { flex: 0 0 auto; width: 78px; height: auto; }
.schalen-cap { margin: 0; }
.schalen-cap em {
  display: block; font-family: var(--serif-head); font-style: italic;
  color: var(--mauve); font-size: 1.3rem; line-height: 1.2;
}
.schalen-cap span { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 380px) {
  .schalen-note { flex-direction: column; text-align: center; gap: 10px; }
}
