/* ============================================
   literally.love — Ateliér Design System
   Cards-style Pinterest layout, warm palette
   ============================================ */

/* Fonts lokal gehostet (DSGVO, LG Muenchen I zu Google Fonts) — Dateien +
   Lizenz siehe /fonts/. */
@import url('/fonts/fonts.css');

:root {
  --bg: #f4efe8;
  --fg: #2e2725;
  --rose: #c24d5a;
  --blush: #dba49a;
  --lavender: #a593c2;
  --sage: #839a76;
  --muted: rgba(46,39,37,0.68); /* WCAG AA: >=4.5:1 auf --bg und Weiß */
  --rose-text: #a83f4b; /* Rose als TEXT-Farbe (Kontrast); Flächen nutzen weiter --rose */
  --faint: rgba(46,39,37,0.07);
  --surface: rgba(244,239,232,0.96);

  --font-serif: 'Instrument Serif', serif;
  --font-cursive: 'Caveat', cursive;
  --font-sans: 'Outfit', sans-serif;

  --radius: 6px;
  --transition: 0.3s ease;

  /* Gradients for product cards */
  --g0: linear-gradient(145deg, #d4a49a, #c48e82);
  --g1: linear-gradient(145deg, #c2b8a8, #b0a28e);
  --g2: linear-gradient(145deg, #a8b4a0, #94a488);
  --g3: linear-gradient(145deg, #b8a8c4, #a494b4);
  --g4: linear-gradient(145deg, #c4b8a4, #b4a690);
  --g5: linear-gradient(145deg, #d4b4a8, #c4a090);
  --g6: linear-gradient(145deg, #a0aab4, #8c96a4);
  --g7: linear-gradient(145deg, #c4a8a8, #b49494);
  --g8: linear-gradient(145deg, #b0bca0, #9caa8c);
  --g9: linear-gradient(145deg, #cbb89c, #b8a488);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   ACCESSIBILITY BASELINE
   ============================================ */
.ll-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 2000;
  text-decoration: none;
  font-size: 0.85rem;
}

.ll-skip-link:focus,
.ll-skip-link:focus-visible {
  left: 12px;
}

:where(a, button, input, textarea, select, [role="button"], [tabindex]):focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

/* ============================================
   HERO
   ============================================ */
.ll-hero {
  padding: 1.5rem 1rem 0.8rem;
}
.ll-hero-brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 16px;
}
.ll-hero-brand .dot { color: var(--rose); }
.ll-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.ll-hero h1 em {
  font-style: italic;
  color: var(--rose);
}
.ll-hero p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 36ch;
}

/* ============================================
   MASONRY GRID
   ============================================ */
.ll-masonry {
  padding: 0 6px;
  columns: 2;
  column-gap: 6px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .ll-masonry { columns: 3; }
}
@media (min-width: 1200px) {
  .ll-masonry { columns: 4; }
}

/* ============================================
   PIN / PRODUCT CARD
   ============================================ */
.ll-pin {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 6px;
  break-inside: avoid;
  transition: transform var(--transition);
}
.ll-pin:hover { transform: translateY(-3px); }

.ll-pin-img {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.ll-pin-img.tall { aspect-ratio: 2/3; }
.ll-pin-img.square { aspect-ratio: 1/1; }
.ll-pin-img.book {
  aspect-ratio: 2/3;
  position: relative;
  background: #ece5db !important;
}
.ll-pin-pitch {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 20px 10px 8px;
  background: linear-gradient(to top, rgba(46,39,37,0.5) 0%, transparent 100%);
}
.ll-pin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.ll-pin-letter {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.5rem;
  opacity: 0.12;
  color: var(--fg);
}
.ll-pin-body { padding: 8px 2px; }
.ll-pin-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  line-height: 1.25;
  color: var(--fg);
}
.ll-pin-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 2px;
}
.ll-pin-price {
  font-weight: 500;
  color: var(--fg);
}
.ll-pin-cat {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted); /* statt opacity .5 — WCAG-AA-Kontrast */
}

/* ============================================
   CATEGORY CARD (in masonry)
   ============================================ */
.ll-cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 6px;
  break-inside: avoid;
  border: 1px solid var(--faint);
  background: rgba(46,39,37,0.03);
  transition: opacity 0.2s ease;
}
.ll-cat-card-inner {
  aspect-ratio: 1/1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ll-cat-card .discover {
  font-family: var(--font-cursive);
  font-size: 0.8rem;
  color: var(--muted);
}
.ll-cat-card .cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ll-cat-btn {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--fg);
  background: none;
  border: none;
  text-align: left;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.ll-cat-btn.active { color: var(--rose); }
.ll-cat-btn .count {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  color: rgba(46,39,37,0.2);
  margin-left: 4px;
}
/* Subcategory filter chips */
.ll-sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--faint);
}
.ll-sub-chip {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(46,39,37,0.12);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.2s;
}
.ll-sub-chip:hover { border-color: var(--rose); color: var(--rose); }
.ll-sub-chip.active { background: var(--rose); color: #fff; border-color: var(--rose); }
.ll-sub-chip .count {
  font-size: 0.5rem;
  opacity: 0.5;
  margin-left: 3px;
}

.ll-cat-reset {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  color: rgba(46,39,37,0.35);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  text-align: left;
}

/* ============================================
   MOOD CARD
   ============================================ */
.ll-mood {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 6px;
  break-inside: avoid;
}
.ll-mood-inner {
  aspect-ratio: 1/1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.ll-mood-inner.dark { background: linear-gradient(145deg, #5c4a44, #4a3b36); }
.ll-mood-inner.rose { background: linear-gradient(145deg, var(--rose), #a83d4a); }
.ll-mood .atelier-tag {
  font-family: var(--font-cursive);
  font-size: 0.8rem;
  color: rgba(244,239,232,0.3);
  position: absolute;
  top: 12px;
  right: 12px;
}
.ll-mood-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--bg);
}
.ll-mood-sub {
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(244,239,232,0.35);
  margin-top: 6px;
}

/* ============================================
   QUOTE CARD
   ============================================ */
.ll-quote {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 6px;
  break-inside: avoid;
}
.ll-quote-inner {
  aspect-ratio: 1/1;
  background: #ece5db;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.ll-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--fg);
  max-width: 20ch;
}
.ll-quote cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ============================================
   CATEGORY TEASER CARD
   ============================================ */
.ll-teaser {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 6px;
  break-inside: avoid;
  cursor: pointer;
  transition: transform var(--transition);
}
.ll-teaser:hover { transform: translateY(-3px); }
.ll-teaser-inner {
  aspect-ratio: 3/4;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.ll-teaser-letter {
  position: absolute;
  top: -10px;
  right: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 8rem;
  line-height: 1;
  opacity: 0.08;
  color: #fff;
}
.ll-teaser-content { position: relative; z-index: 1; }
.ll-teaser .atelier-tag {
  font-family: var(--font-cursive);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 8px;
}
.ll-teaser-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
}
.ll-teaser-title em {
  font-style: italic;
  opacity: 0.7;
}
.ll-teaser-cta {
  margin-top: 12px;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   MORPH GHOST (category card → hamburger)
   ============================================ */
.ll-ghost {
  position: fixed;
  z-index: 90;
  display: none;
  background: var(--surface);
  border: 1px solid rgba(46,39,37,0.08);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: top, left, width, height, border-radius, transform;
}
.ll-ghost-labels {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.ll-ghost-labels .discover {
  font-family: var(--font-cursive);
  font-size: 0.75rem;
  color: var(--muted);
}
.ll-ghost-labels .label {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--fg);
}
.ll-ghost-bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
}
.ll-ghost-bars span {
  width: 16px;
  height: 1.5px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}
.ll-ghost-bars.open span:nth-child(1) { transform: rotate(45deg) translate(2px, 2px); }
.ll-ghost-bars.open span:nth-child(2) { opacity: 0; }
.ll-ghost-bars.open span:nth-child(3) { transform: rotate(-45deg) translate(2px, -2px); }

/* ============================================
   FLOATING PANEL
   ============================================ */
.ll-panel {
  position: fixed;
  top: 52px;
  left: 12px;
  z-index: 89;
  background: var(--surface);
  border: 1px solid rgba(46,39,37,0.08);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 30px rgba(46,39,37,0.1);
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.ll-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ll-panel .discover {
  font-family: var(--font-cursive);
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.ll-panel-btn {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--fg);
  background: none;
  border: none;
  text-align: left;
  padding: 5px 0;
  cursor: pointer;
  width: 100%;
}
.ll-panel-btn.active { color: var(--rose); }
.ll-panel-btn .count {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  color: rgba(46,39,37,0.2);
  margin-left: 4px;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.ll-detail { padding: 1rem; max-width: 900px; margin: 0 auto; }
.ll-back {
  font-size: 0.7rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 16px;
}
.ll-detail-image {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.ll-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.ll-detail-image .letter {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 5rem;
  opacity: 0.1;
  color: var(--fg);
}
.ll-detail-cat {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
}
.ll-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.ll-detail-subcategory {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(194,77,90,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.ll-detail-subcategory:hover { background: rgba(194,77,90,0.16); }
.ll-detail-series {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--faint);
}
.ll-detail-author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.ll-detail-micropitch {
  font-family: var(--font-cursive);
  font-size: 1.05rem;
  color: var(--fg);
  opacity: 0.7;
  margin-bottom: 12px;
  line-height: 1.4;
  font-style: italic;
}
.ll-detail h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 8px;
}
.ll-detail-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 12px;
}
.ll-detail-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}
.ll-detail-specs {
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  padding: 12px 0;
  margin-bottom: 16px;
}
.ll-detail-specs .row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 4px 0;
}
.ll-detail-specs .row .label { color: var(--muted); font-weight: 300; }
.ll-detail-specs .row .value { color: var(--fg); }

.ll-btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--transition);
}
.ll-btn-primary:hover { opacity: 0.9; }

/* Related products */
.ll-related { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--faint); }
.ll-related h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
}
.ll-related-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ll-related-item {
  flex-shrink: 0;
  width: 140px;
  cursor: pointer;
}
.ll-related-item .thumb {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  margin-bottom: 4px;
}
.ll-related-item .title {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--fg);
}
.ll-related-item .price {
  font-size: 0.65rem;
  color: var(--muted);
}

/* ============================================
   ENGRAVING UI
   ============================================ */
.ll-engraving-surface {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: #faf7f2;
  border: 1px dashed #d4cbc1;
  border-radius: var(--radius);
}
.ll-engraving-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.ll-engraving-types {
  display: flex;
  gap: 6px;
  margin-bottom: 0.75rem;
}
.ll-engraving-type-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--faint);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.ll-engraving-type-btn.active {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}
.ll-engraving-type-btn:hover:not(.active) {
  border-color: var(--rose);
  color: var(--rose);
}
.ll-engraving-upload {
  border: 2px dashed #d4cbc1;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.ll-engraving-upload:hover,
.ll-engraving-dragover {
  border-color: var(--rose);
  background: rgba(194,77,90,0.04);
}
.ll-engraving-upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.ll-engraving-upload-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.ll-engraving-upload-hint {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: pre-line;
}
.ll-engraving-preview {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ll-engraving-preview-img-wrap {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--faint);
}
.ll-engraving-preview-info { flex: 1; }
.ll-engraving-preview-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 2px;
}
.ll-engraving-preview-hint {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.ll-engraving-preview-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ll-engraving-confirm-btn {
  padding: 8px 16px;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ll-engraving-confirm-btn:hover { opacity: 0.9; }
.ll-engraving-confirm-btn:disabled { opacity: 0.5; cursor: wait; }
.ll-engraving-reset-btn {
  padding: 8px 16px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--faint);
  border-radius: 100px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.ll-engraving-reset-btn:hover { border-color: var(--rose); color: var(--rose); }
.ll-engraving-confirmed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(139,169,126,0.12);
  border: 1px solid rgba(139,169,126,0.3);
  border-radius: var(--radius);
}
.ll-engraving-confirmed-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: #5a7a4f;
}
.ll-engraving-confirmed-type {
  font-size: 0.68rem;
  color: var(--muted);
}
.ll-engraving-change-btn {
  background: none;
  border: none;
  font-size: 0.65rem;
  color: var(--rose);
  cursor: pointer;
  text-decoration: underline;
}
.ll-engraving-error {
  padding: 8px 12px;
  background: rgba(194,77,90,0.08);
  border: 1px solid rgba(194,77,90,0.2);
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--rose);
}
.ll-engraving-required {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #8b6914;
  text-align: center;
}

/* ============================================
   COURSE DETAIL
   ============================================ */
.ll-course { padding: 1rem; max-width: 600px; margin: 0 auto; }
.ll-course-hero {
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  color: var(--bg);
  margin-bottom: 20px;
}
.ll-course-hero.dark { background: linear-gradient(145deg, #5c4a44, #4a3b36); }
.ll-course-hero.purple { background: linear-gradient(145deg, #8a7bb0, #7668a0); }
.ll-course-hero .tag {
  font-family: var(--font-cursive);
  font-size: 0.9rem;
  opacity: 0.5;
}
.ll-course-hero h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  margin: 8px 0;
}
.ll-course-hero .desc {
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.5;
  line-height: 1.6;
}
.ll-course-stats {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(244,239,232,0.1);
}
.ll-course-stats .stat { text-align: center; }
.ll-course-stats .stat-val {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  display: block;
}
.ll-course-stats .stat-label {
  font-size: 0.55rem;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ll-course-modules h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
}
.ll-module {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--faint);
  font-size: 0.88rem;
}
.ll-module-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--rose);
  opacity: 0.6;
  margin-right: 8px;
}
.ll-module-dur { font-size: 0.68rem; color: var(--muted); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.ll-about { max-width: 600px; margin: 0 auto; padding: 2rem 1rem; }
.ll-about h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}
.ll-about h1 em { color: var(--rose); }
.ll-about p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.ll-contact { max-width: 500px; margin: 0 auto; padding: 2rem 1rem; }
.ll-contact h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 6px;
}
.ll-contact .intro {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.ll-field { margin-bottom: 12px; }
.ll-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.ll-field input,
.ll-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  background: #faf7f2;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.ll-field input:focus,
.ll-field textarea:focus { border-color: var(--rose); }
.ll-field textarea { min-height: 120px; resize: vertical; }

/* ============================================
   CART PAGE
   ============================================ */
.ll-cart { max-width: 600px; margin: 0 auto; padding: 2rem 1rem; }
.ll-cart h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 20px;
}
.ll-cart-empty {
  text-align: center;
  padding: 3rem 0;
  color: var(--muted);
  font-weight: 300;
}
.ll-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--faint);
  align-items: center;
}
.ll-cart-thumb {
  width: 50px;
  height: 62px;
  border-radius: 4px;
  flex-shrink: 0;
}
.ll-cart-item-info { flex: 1; }
.ll-cart-item-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--fg);
}
.ll-cart-item-cat {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ll-cart-item-price {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--fg);
}
.ll-cart-remove {
  font-size: 0.65rem;
  color: var(--rose);
  background: none;
  border: none;
  cursor: pointer;
}
.ll-cart-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--fg);
}
.ll-btn-outline {
  padding: 10px 24px;
  border: 1px solid var(--faint);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
}

/* ============================================
   BOTTOM NAV
   ============================================ */
.ll-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-top: 1px solid var(--faint);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.ll-nav-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.55rem;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}
.ll-nav-btn.active { color: var(--fg); }
.ll-nav-btn svg { width: 20px; height: 20px; }
.ll-cart-badge {
  font-size: 0.5rem;
  background: var(--rose);
  color: #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -2px;
  right: 50%;
  margin-right: -14px;
}

/* Bottom nav spacer */
.ll-nav-spacer { height: 70px; }

/* ============================================
   MORE BUTTON
   ============================================ */
.ll-more {
  text-align: center;
  padding: 24px 16px;
}

/* ============================================
   RESPONSIVE — hide bottom nav on desktop
   ============================================ */
@media (min-width: 768px) {
  .ll-hero { padding: 3rem 2rem 1.5rem; }
}

/* ============================================
   UTILITY
   ============================================ */
.hidden { display: none !important; }

/* ============================================
   FOOTER
   ============================================ */
.ll-footer {
  margin-top: 3rem;
  padding: 2rem 1rem 1.5rem;
  border-top: 1px solid #e8e0d8;
  text-align: center;
}
.ll-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}
.ll-footer-link {
  color: #75604a; /* WCAG AA auf --bg */
  text-decoration: none;
  font-size: 0.85rem;
}
.ll-footer-link:hover {
  text-decoration: underline;
}
/* § 356a BGB: Widerrufsfunktion-Link muss sich deutlich von AGB/Impressum
   abheben (Farbe + Rahmen + Fettung; --rose-text erfüllt WCAG AA). */
.ll-footer-link--widerruf {
  color: var(--rose-text);
  font-weight: 700;
  border: 1.5px solid var(--rose-text);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
}
.ll-footer-copy {
  font-size: 0.8rem;
  color: #6b6b6b; /* WCAG AA auf --bg */
  margin: 0;
}
.ll-footer-note {
  font-size: 0.75rem;
  color: #6b6b6b; /* WCAG AA auf --bg */
  margin: 0.25rem 0 0;
}

/* ============================================
   PRODUKTFOTOS (freigestellte PNGs, 4:5 normalisiert)
   Einheitlicher Grund + einheitliches Kachelformat,
   damit alle Bücher gleich groß wirken.
   ============================================ */
.ll-pin-img:has(img) {
  aspect-ratio: 4 / 5 !important;
  background: var(--surface) !important;
}
