/* =========================================================================
   Nina Hömmen · Shop
   Designsystem – ausgelesen aus der Hauptwebsite
   Farben:  Creme #f9f7f4 · Salbeigrün #747c6b · Soft-Salbei #d6e0df
            Hellsalbei #b6cecb · Text #5a5a5a / #424242
   Schrift: Roboto (300 / 400) · großzügige Laufweite · Zeilenhöhe 1.7
   Haltung: ruhig, traumasensibel, kein Druck, viel Raum zum Atmen
   ========================================================================= */

/* Schrift Roboto wird in css/fonts.css eingebettet (Daten-URI). */

:root {
  /* Markenfarben */
  --cream:        #f9f7f4;   /* warmer Seitenhintergrund            */
  --cream-deep:   #f3efe9;   /* zarte Abgrenzung von Sektionen      */
  --sage:         #747c6b;   /* Leitfarbe – Text, Buttons, Akzente  */
  --sage-soft:    #d6e0df;   /* ruhige Flächen, Footer              */
  --sage-light:   #b6cecb;   /* Überschriften-Akzent                */
  --sage-tint:    #e8ece6;   /* hinterlegte Karten                  */
  --ink:          #4f5246;   /* Fließtext, etwas wärmer als Grau    */
  --ink-soft:     #7c7f74;   /* Sekundärtext                        */
  --white:        #ffffff;
  --line:         #e4e0d8;   /* sehr zarte Linien                   */

  /* Form & Rhythmus */
  --radius:       18px;
  --radius-lg:    26px;
  --shadow:       0 18px 50px -28px rgba(116, 124, 107, .45);
  --shadow-soft:  0 10px 30px -20px rgba(116, 124, 107, .40);
  --maxw:         1180px;
  --ease:         cubic-bezier(.22, .61, .36, 1);
  --space:        clamp(4rem, 9vw, 8rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: .015em;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.25;
  color: var(--sage);
  letter-spacing: .06em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: .04em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--sage); text-decoration: none; transition: color .3s var(--ease); }
img { max-width: 100%; display: block; }

::selection { background: var(--sage-light); color: #3c3f36; }

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

.wrap { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  font-weight: 300;
}

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font: inherit;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: var(--sage);
  color: var(--cream);
  cursor: pointer;
  transition: all .4s var(--ease);
}
.btn:hover { background: transparent; color: var(--sage); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: var(--cream); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: .7rem 1.4rem; font-size: .8rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---- Kopfzeile ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 247, 244, .88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem 0;
}
.brand { display: flex; align-items: center; gap: .85rem; }
.brand img { width: 52px; height: 52px; }
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: var(--sage);
}
.brand__name b { font-weight: 400; letter-spacing: .14em; font-size: 1.02rem; }
.brand__name span { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.nav a:hover { color: var(--sage); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font: inherit;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cart-btn:hover { border-color: var(--sage); background: var(--white); }
.cart-btn__count {
  min-width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: var(--cream);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: 0;
  padding: 0 .4rem;
}
.nav-toggle { display: none; }

/* ---- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem);
  text-align: center;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .5;
  z-index: -1;
}
.hero::before { width: 460px; height: 460px; background: radial-gradient(circle, var(--sage-soft), transparent 68%); top: -160px; right: -120px; }
.hero::after  { width: 380px; height: 380px; background: radial-gradient(circle, var(--sage-tint), transparent 70%); bottom: -160px; left: -120px; }
.hero h1 { max-width: 16ch; margin: 0 auto .9rem; }
.hero .lead { max-width: 52ch; margin: 0 auto 2.4rem; }
.hero__note {
  margin-top: 1.8rem;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- Sektionen ------------------------------------------------------- */
section { padding-block: var(--space); }
.section-head { text-align: center; max-width: 56ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1rem; }
.section--tint { background: var(--cream-deep); }

/* ---- Produktraster --------------------------------------------------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--sage-tint), var(--sage-soft));
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--art { padding: 2.4rem; }
.card__media--art svg { width: 88px; height: 88px; color: var(--sage); }
.card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(249, 247, 244, .92);
  color: var(--sage);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .42rem .85rem;
  border-radius: 999px;
}
.card__body { padding: 1.7rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card__kind { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .55rem; }
.card__title { font-size: 1.22rem; color: var(--sage); margin-bottom: .55rem; }
.card__desc { font-size: .94rem; color: var(--ink-soft); flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; gap: 1rem; }
.price { font-size: 1.28rem; color: var(--sage); font-weight: 400; }
.price small { font-size: .76rem; color: var(--ink-soft); letter-spacing: .04em; }
.price del { font-size: .85rem; color: var(--ink-soft); margin-right: .45rem; font-weight: 300; }

/* ---- Bündel / Komplettpaket ----------------------------------------- */
.bundle {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background: var(--sage-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 4rem);
}
.bundle h2 { color: #5d6354; }
.bundle ul { list-style: none; margin: 1.4rem 0 2rem; }
.bundle li { display: flex; align-items: flex-start; gap: .7rem; padding: .35rem 0; color: #5d6354; }
.bundle li svg { flex: none; width: 19px; height: 19px; margin-top: .3rem; color: var(--sage); }
.bundle__price { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.6rem; }
.bundle__price .now { font-size: 2.1rem; color: var(--sage); }
.bundle__price del { color: #7d8273; }
.bundle__visual { display: flex; gap: -2rem; justify-content: center; }
.bundle__visual img { width: 62%; border-radius: 12px; box-shadow: var(--shadow); }

/* ---- Werte / Versprechen -------------------------------------------- */
.assurance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.assurance__item svg { width: 34px; height: 34px; color: var(--sage); margin-bottom: 1rem; }
.assurance__item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.assurance__item p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---- Über die Autorin ----------------------------------------------- */
.author {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.author__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.author__photo img { width: 100%; height: 100%; object-fit: cover; }
.author blockquote {
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--sage);
  line-height: 1.7;
  margin: 1.4rem 0;
}
.author cite { font-style: normal; font-size: .84rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: var(--sage-soft); color: var(--sage); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.site-footer a { color: var(--sage); }
.site-footer a:hover { opacity: .65; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem 2rem; }
.footer-grid h4 { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: #5d6354; margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: .3rem 0; font-size: .94rem; }
.footer-grid p { font-size: .94rem; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(116, 124, 107, .25);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  justify-content: space-between;
  font-size: .8rem;
  color: #6c715f;
}

/* ---- Cart-Drawer ----------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(79, 82, 70, .38);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
  z-index: 60;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 100%);
  background: var(--cream);
  z-index: 70;
  transform: translateX(105%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 60px -40px rgba(79, 82, 70, .6);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 1.9rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 { color: var(--sage); }
.drawer__close {
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: .2rem .5rem;
  border-radius: 8px;
  transition: color .3s;
}
.drawer__close:hover { color: var(--sage); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.4rem 1.9rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.6rem 1.9rem 2rem; }

.line-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: none; }
.line-item__thumb {
  width: 64px; height: 64px; flex: none;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--sage-tint), var(--sage-soft));
  display: grid; place-items: center;
  overflow: hidden;
}
.line-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item__thumb svg { width: 26px; height: 26px; color: var(--sage); }
.line-item__main { flex: 1; min-width: 0; }
.line-item__name { font-size: .98rem; color: var(--sage); }
.line-item__kind { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.line-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button {
  width: 30px; height: 30px;
  background: none; border: none;
  color: var(--sage); font-size: 1rem; cursor: pointer;
  border-radius: 999px;
  transition: background .25s;
}
.qty button:hover { background: var(--sage-tint); }
.qty span { min-width: 28px; text-align: center; font-size: .9rem; }
.line-item__remove {
  background: none; border: none;
  color: var(--ink-soft); font-size: .78rem; letter-spacing: .04em;
  cursor: pointer; padding: 0;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.line-item__remove:hover { color: var(--sage); border-color: var(--sage); }

.summary-row { display: flex; justify-content: space-between; font-size: .95rem; padding: .35rem 0; color: var(--ink-soft); }
.summary-row--total { color: var(--sage); font-size: 1.15rem; padding-top: .9rem; margin-top: .4rem; border-top: 1px solid var(--line); }
.drawer__reassure {
  font-size: .82rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}
.cart-empty { text-align: center; padding: 3.5rem 1rem; color: var(--ink-soft); }
.cart-empty svg { width: 46px; height: 46px; color: var(--sage-light); margin-bottom: 1.2rem; }

/* ---- Produkt-Detail (Modal) ----------------------------------------- */
.modal {
  position: fixed; inset: 0;
  z-index: 80;
  display: grid; place-items: center;
  padding: 1.4rem;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(79, 82, 70, .42); backdrop-filter: blur(3px); }
.modal__card {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  width: min(940px, 100%);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(20px) scale(.98);
  transition: transform .5s var(--ease);
}
.modal.is-open .modal__card { transform: none; }
.modal__media {
  background: linear-gradient(165deg, var(--sage-tint), var(--sage-soft));
  display: grid; place-items: center;
  padding: 2.5rem; min-height: 320px;
}
.modal__media img { max-height: 420px; width: auto; border-radius: 10px; box-shadow: var(--shadow); }
.modal__media svg { width: 120px; height: 120px; color: var(--sage); }
.modal__body { padding: clamp(2rem, 4vw, 3rem); }
.modal__kind { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.modal__body h2 { margin: .7rem 0 1rem; }
.modal__body p { font-size: .98rem; color: var(--ink-soft); }
.modal__meta { list-style: none; margin: 1.4rem 0; }
.modal__meta li { display: flex; gap: .65rem; align-items: flex-start; padding: .3rem 0; font-size: .92rem; color: var(--ink-soft); }
.modal__meta svg { flex: none; width: 17px; height: 17px; color: var(--sage); margin-top: .35rem; }
.modal__buy { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  background: rgba(249, 247, 244, .9);
  border: none; border-radius: 999px;
  font-size: 1.4rem; color: var(--sage);
  cursor: pointer; z-index: 2;
  transition: background .3s;
}
.modal__close:hover { background: var(--white); }

/* ---- Toast ----------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--sage);
  color: var(--cream);
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-size: .9rem;
  letter-spacing: .04em;
  box-shadow: var(--shadow);
  z-index: 90;
  transition: transform .5s var(--ease);
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

/* ---- Bestätigung ----------------------------------------------------- */
.confirm { text-align: center; max-width: 46ch; margin: 0 auto; padding: clamp(3rem,7vw,5rem) 0; }
.confirm__icon {
  width: 78px; height: 78px;
  margin: 0 auto 1.8rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage);
}
.confirm__icon svg { width: 36px; height: 36px; }

/* ---- Reduzierte Bewegung (Achtsamkeit) ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
}

/* ---- Sanftes Einblenden --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---- Responsiv ------------------------------------------------------- */
@media (max-width: 880px) {
  .bundle, .author, .modal__card { grid-template-columns: 1fr; }
  .modal__media { min-height: 220px; }
  .modal__media img { max-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 1.3rem; }
}
@media (max-width: 680px) {
  .nav a:not(.cart-link) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand__name span { display: none; }
  section { padding-block: clamp(3rem, 12vw, 5rem); }
}
