      .new-label {
        color: #fff;
        background: #388e3c;
        font-weight: bold;
        padding: 2px 10px;
        border-radius: 8px;
        position: absolute;
        top: -14px;
        left: 12px;
        font-size: 0.98em;
        z-index: 2;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        letter-spacing: 1px;
      }

      .soldout-label {
        color: #fff;
        background: #d32f2f;
        font-weight: bold;
        padding: 2px 10px;
        border-radius: 8px;
        position: absolute;
        top: -14px;
        left: 12px;
        font-size: 0.98em;
        z-index: 2;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        letter-spacing: 1px;
      }
    /* Duftkarten als Buttons hervorheben */
    .duft-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.07);
      margin: 18px 0 12px 0;
      padding: 18px 18px 10px 18px;
      display: flex;
      align-items: center;
      gap: 16px;
      position: relative;
      overflow: visible;
      transition: box-shadow 0.2s, background 0.2s, border 0.2s;
      font-size: 1.08em;
      cursor: pointer;
      border: 2px solid transparent;
      box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    }
    .duft-card:hover, .duft-card:focus {
      background: #f5f7fa;
      box-shadow: 0 4px 18px rgba(0,0,0,0.13);
      border: 2px solid #b6c6e2;
      outline: none;
    }
    .duft-card.open {
      background: #eaf1fb;
      border: 2px solid #4a90e2;
      box-shadow: 0 6px 24px rgba(74,144,226,0.13);
    }
    .duft-card .duft-arrow {
      margin-left: 0;
      user-select: none;
      pointer-events: all;
    }
    img {
      -webkit-user-drag: none;
      user-drag: none;
      -webkit-touch-callout: none;
      user-select: none;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.07);
      background: #f8f8f8;
      transition: transform 0.2s;
    }
    img:hover {
      transform: scale(1.07);
    }
    /* Logo-Bilder: kein grauer Hintergrund, kein Hover-Zoom */
    .logo-light,
    .logo-dark {
      background: transparent !important;
      box-shadow: none !important;
      transform: none !important;
      border-radius: 10px !important;
    }
    body {
      margin: 0;
      font-family: 'Open Sans', sans-serif;
      background: linear-gradient(120deg, #fefefe 0%, #f6f6f6 100%);
      color: #111;
    }
    .container {
      max-width: 1100px;
      margin: 32px auto;
      padding: 32px 18px;
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.10);
    }
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 2px solid #d4af37;
      padding-bottom: 18px;
      margin-bottom: 18px;
      flex-wrap: wrap;
      gap: 12px;
    }
    .logo-left img {
      height: 75px;
      border-radius: 16px;
      box-shadow: none;
    }
    .title-center {
      font-family: 'Playfair Display', serif;
      font-size: 2.2rem;
      font-weight: 700;
      color: #222;
      text-align: center;
      flex-grow: 1;
      letter-spacing: 1px;
    }
    .contact {
      text-align: right;
      font-size: 15px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .contact a {
      text-decoration: none;
      color: #222;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s;
    }
    .contact a:hover {
      color: #d4af37;
    }
    .contact i {
      color: #d4af37;
    }
    .search {
      margin: 18px 0 32px 0;
      max-width: 350px;
      width: 100%;
      text-align: left;
      position: relative;
    }
    .search input {
      width: 100%;
      padding: 12px 38px 12px 16px;
      font-size: 16px;
      border: 1.5px solid #d4af37;
      border-radius: 24px;
      box-shadow: 0 2px 8px rgba(212,175,55,0.04);
      outline: none;
      transition: border 0.2s;
    }
    .search input:focus {
      border: 2px solid #bfa13a;
    }
    .search .fa-search {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #d4af37;
      font-size: 18px;
      pointer-events: none;
    }
    h2 {
      border-bottom: 2px solid #eee;
      padding-bottom: 6px;
      margin-top: 48px;
      font-size: 1.2rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #444;
    }
    ul {
      list-style: none;
      padding-left: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 22px 28px;
      margin: 0;
    }
    li {
      background: #faf8f3;
      border-radius: 18px;
      box-shadow: 0 2px 12px rgba(212,175,55,0.06);
      padding: 18px 16px 14px 16px;
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 14px;
      transition: box-shadow 0.2s, transform 0.2s;
      min-height: 60px;
      position: relative;
    }
    li:hover {
      box-shadow: 0 6px 24px rgba(212,175,55,0.13);
      transform: translateY(-2px) scale(1.02);
    }
    li strong {
      color: #bfa13a;
      font-size: 1.1em;
      margin-right: 6px;
      font-family: 'Playfair Display', serif;
    }
    li img {
      margin-left: auto;
      height: 38px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    }
    .duft-card {
      position: relative;
      overflow: visible;
      flex-direction: column;
      align-items: flex-start;
    }
    .duftnoten-panel {
      display: none;
      width: 100%;
      background: #fffbe7;
      border-radius: 0 0 12px 12px;
      box-shadow: 0 6px 18px rgba(212,175,55,0.13);
      margin-top: 10px;
      padding: 14px 16px 12px 16px;
      font-size: 0.98em;
      color: #333;
      animation: fadeInPanel 0.25s;
      box-sizing: border-box;
      align-self: stretch;
    }
    .duftnoten-panel.open {
      display: block;
    }
    @media (max-width: 600px) {
      .duftnoten-panel {
        position: static;
        width: 100%;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 2px 8px rgba(212,175,55,0.10);
        margin-top: 8px;
      }
    }
    .duftnoten-titel {
      font-weight: bold;
      color: #bfa13a;
      margin-bottom: 6px;
      font-size: 1.05em;
    }
    @keyframes fadeInPanel {
      from { opacity: 0; transform: translateY(-8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    footer {
      margin-top: 48px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      border-top: 2px solid #d4af37;
      padding-top: 18px;
      font-size: 15px;
      font-weight: 600;
      color: #000;
      gap: 18px;
    }
    footer i {
      margin-right: 6px;
      color: #d4af37;
    }
    .note {
      font-size: 14px;
      font-weight: bold;
      color: #000;
      text-align: center;
      margin-top: 18px;
    }
    @media (max-width: 900px) {
      .container {
        padding: 12px 2vw;
      }
      ul {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px 10px;
      }
      li {
        font-size: 0.98rem;
        padding: 12px 8px 10px 10px;
      }
      .title-center {
        font-size: 1.3rem;
      }
    }
    @media (max-width: 600px) {
      .container {
        padding: 2vw 1vw;
        border-radius: 0;
        box-shadow: none;
      }
      header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }
      .title-center {
        font-size: 1.1rem;
        margin: 8px 0;
        text-align: left;
      }
      .search {
        max-width: 320px;
        margin: 10px 0 18px 0;
        display: block;
      }
      ul {
        grid-template-columns: 1fr;
        gap: 10px 0;
        justify-items: center;
      }
      li, .duft-card {
        font-size: 0.97rem;
        padding: 10px 6px 8px 8px;
        max-width: 340px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
      }
    }
    @media print {
      header {
        flex-direction: row !important;
        align-items: center !important;
      }
      .title-center {
        text-align: center !important;
        font-size: 36px !important;
      }
      .contact {
        text-align: right !important;
        font-size: 15px !important;
        flex-direction: column !important;
        gap: 8px !important;
      }
      .logo-left img {
        height: 85px !important;
      }
      .search {
        display: none !important;
      }
      ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px 28px !important;
      }
      body, .container {
        background: white !important;
        color: #000 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
      }
    }

/* ============================================================
   DUFT CARD – INNERE STRUKTUR
   ============================================================ */

/* Bild + Infoleiste nebeneinander */
.duft-info {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

/* Bild-Wrapper */
.duft-img {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0ede4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.duft-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: none;
}
.placeholder-icon {
  font-size: 1.6em;
  color: #ccc;
}

/* Name & Code rechts vom Bild */
.duft-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.duft-code {
  font-size: 0.70em;
  color: #9b8850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
}
.duft-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.08em;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* ============================================================
   BADGES (Neu / Verbessert / Ausverkauft)
   ============================================================ */
.badge-container {
  position: absolute;
  top: -12px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 2;
}
.card-badge {
  display: inline-block;
  font-size: 0.69em;
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #d4870a;
  color: #fff;
  text-transform: uppercase;
}
.card-badge.newquality-label {
  background: #2e7d32;
}
.card-badge.sold-out {
  background: #c62828;
}

/* ============================================================
   STERNEBEWERTUNG
   ============================================================ */
.avg-rating {
  margin-top: 2px;
}
.avg-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}
.avg-number {
  font-size: 0.76em;
  font-weight: 700;
  color: #bfa13a;
  margin-right: 4px;
}
.star-svg {
  width: 12px;
  height: 12px;
}

/* ============================================================
   KARTEN-AKTIONEN (Pfeil + Bewerten-Button)
   ============================================================ */
.card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
  gap: 8px;
}
.btn {
  border: none;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.86em;
  padding: 7px 16px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.btn-secondary {
  background: #f0ede4;
  color: #666;
}
.btn-secondary:hover {
  background: #e4dfd0;
}

/* ============================================================
   HOMEPAGE – Luxury Redesign  (body.home-page)
   Alle Regeln sind auf body.home-page oder .hp-* beschränkt,
   damit liste.php etc. unberührt bleiben.
   ============================================================ */

body.home-page {
  margin: 0;
  min-height: 100vh;
  background: #09070504;
  background-image:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(201,168,76,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 95%, rgba(130,70,20,0.16) 0%, transparent 55%),
    linear-gradient(180deg, #0b0907 0%, #130f0a 60%, #1a1208 100%);
  color: #f2ede6;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

/* Ambient glow orbs */
.hp-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
}
.hp-orb-1 {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(201,168,76,0.20) 0%, transparent 60%);
  top: -260px;
  left: -260px;
}
.hp-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(140,76,20,0.15) 0%, transparent 60%);
  bottom: -180px;
  right: -180px;
}

/* Shell */
.hp-shell {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 22px 80px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Top Bar ── */
.hp-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 24px 0 0;
}
.hp-logo img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transform: none;
}
.hp-logo img:hover { transform: none; }
.hp-theme-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.hp-theme-btn:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
}

/* ── Hero ── */
.hp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0 48px;
  gap: 22px;
  animation: hp-in 0.95s cubic-bezier(.22,.68,0,1.08) both;
}
.hp-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #c9a84c;
  font-weight: 700;
  opacity: 0.9;
}
.hp-brand {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: clamp(4.8rem, 22vw, 10rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(160deg,
    #f8f3ec 0%,
    #edd98a 28%,
    #c9a84c 52%,
    #e8cc7a 76%,
    #f8f3ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 48px rgba(201,168,76,0.20));
}
.hp-tagline {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.95;
  color: rgba(242,237,230,0.75);
  max-width: 460px;
}
.hp-tagline em {
  font-style: italic;
  color: #ddc26a;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 1.12em;
}
.hp-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 200px;
}
.hp-rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.48), transparent);
}
.hp-rule i {
  font-size: 0.62rem;
  color: rgba(201,168,76,0.60);
}

/* ── Nav Cards ── */
.hp-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: hp-in 1s 0.12s cubic-bezier(.22,.68,0,1.08) both;
}
.hp-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: #f2ede6;
  backdrop-filter: blur(12px);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.hp-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.30);
  transform: translateX(4px);
}
.hp-card--main {
  padding: 22px 26px;
  background: linear-gradient(125deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.05) 100%);
  border-color: rgba(201,168,76,0.26);
}
.hp-card--main:hover {
  background: linear-gradient(125deg, rgba(201,168,76,0.25) 0%, rgba(201,168,76,0.11) 100%);
  border-color: rgba(201,168,76,0.50);
  transform: translateX(5px);
}
.hp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ddb84a;
  flex-shrink: 0;
}
.hp-card--main .hp-card-icon {
  width: 54px;
  height: 54px;
  font-size: 1.3rem;
  background: rgba(201,168,76,0.17);
  border-color: rgba(201,168,76,0.36);
}
.hp-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.hp-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.hp-card--main .hp-card-title {
  font-size: 1.06rem;
  color: #f5e4a8;
}
.hp-card-hint {
  font-size: 0.76rem;
  color: rgba(242,237,230,0.48);
  font-weight: 400;
}
.hp-card-chevron {
  font-size: 0.70rem;
  color: rgba(255,255,255,0.20);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.hp-card:hover .hp-card-chevron {
  color: #c9a84c;
  transform: translateX(3px);
}

/* ── Feature Strip ── */
.hp-features {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
  padding: 26px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  animation: hp-in 1.1s 0.22s cubic-bezier(.22,.68,0,1.08) both;
}
.hp-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  flex: 1;
  min-width: 120px;
  padding: 8px 14px;
}
.hp-feat i {
  font-size: 1rem;
  color: #c9a84c;
  margin-bottom: 3px;
}
.hp-feat strong {
  font-size: 0.80rem;
  font-weight: 700;
  color: #f0ebe2;
  letter-spacing: 0.02em;
}
.hp-feat span {
  font-size: 0.69rem;
  color: rgba(242,237,230,0.42);
}
.hp-feat-sep {
  width: 1px;
  background: rgba(255,255,255,0.07);
  align-self: stretch;
  margin: 8px 0;
  flex-shrink: 0;
}

/* ── Scroll-to-top (homepage only) ── */
body.home-page #scrollToTopBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.90);
  color: #110e07;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.30);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  z-index: 999;
}
body.home-page #scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Entrance animation ── */
@keyframes hp-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LIGHT MODE – Homepage (body.home-page:not(.dark))
   ============================================================ */
body.home-page:not(.dark) {
  background-image:
    radial-gradient(ellipse 60% 40% at 8%   0%, rgba(212,175,55,0.13) 0%, transparent 52%),
    radial-gradient(ellipse 50% 35% at 92% 96%, rgba(180,130,50,0.10) 0%, transparent 52%),
    linear-gradient(160deg, #faf6ef 0%, #f3ead8 50%, #ecdcc0 100%);
  color: #1c1409;
}
body.home-page:not(.dark) .hp-orb-1 {
  background: radial-gradient(circle, rgba(212,175,55,0.14) 0%, transparent 60%);
}
body.home-page:not(.dark) .hp-orb-2 {
  background: radial-gradient(circle, rgba(180,130,50,0.11) 0%, transparent 60%);
}

/* Topbar */
body.home-page:not(.dark) .hp-theme-btn {
  background: rgba(0,0,0,0.06);
  color: rgba(28,20,9,0.60);
  border-color: rgba(0,0,0,0.10);
}
body.home-page:not(.dark) .hp-theme-btn:hover {
  background: rgba(0,0,0,0.11);
  color: #1c1409;
}

/* Hero */
body.home-page:not(.dark) .hp-eyebrow {
  color: #8a5e10;
}
body.home-page:not(.dark) .hp-brand {
  background: linear-gradient(160deg, #3d2800 0%, #8a5e10 28%, #c9a84c 54%, #8a5e10 78%, #3d2800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 32px rgba(138,94,16,0.14));
}
body.home-page:not(.dark) .hp-tagline {
  color: rgba(28,20,9,0.68);
}
body.home-page:not(.dark) .hp-tagline em { color: #8a5e10; }
body.home-page:not(.dark) .hp-rule span {
  background: linear-gradient(90deg, transparent, rgba(138,94,16,0.38), transparent);
}
body.home-page:not(.dark) .hp-rule i { color: rgba(138,94,16,0.55); }

/* Cards */
body.home-page:not(.dark) .hp-card {
  background: rgba(255,255,255,0.55);
  border-color: rgba(0,0,0,0.08);
  color: #1c1409;
}
body.home-page:not(.dark) .hp-card:hover {
  background: rgba(255,255,255,0.82);
  border-color: rgba(138,94,16,0.30);
}
body.home-page:not(.dark) .hp-card--main {
  background: linear-gradient(125deg, rgba(212,175,55,0.13) 0%, rgba(212,175,55,0.05) 100%);
  border-color: rgba(138,94,16,0.20);
}
body.home-page:not(.dark) .hp-card--main:hover {
  background: linear-gradient(125deg, rgba(212,175,55,0.22) 0%, rgba(212,175,55,0.09) 100%);
  border-color: rgba(138,94,16,0.42);
}
body.home-page:not(.dark) .hp-card-icon {
  background: rgba(138,94,16,0.09);
  border-color: rgba(138,94,16,0.16);
  color: #9a6c1a;
}
body.home-page:not(.dark) .hp-card--main .hp-card-icon {
  background: rgba(138,94,16,0.15);
  border-color: rgba(138,94,16,0.28);
}
body.home-page:not(.dark) .hp-card-title   { color: #1c1409; }
body.home-page:not(.dark) .hp-card--main .hp-card-title { color: #7a4e0e; }
body.home-page:not(.dark) .hp-card-hint    { color: rgba(28,20,9,0.46); }
body.home-page:not(.dark) .hp-card-chevron { color: rgba(28,20,9,0.20); }
body.home-page:not(.dark) .hp-card:hover .hp-card-chevron { color: #8a5e10; }

/* Feature strip */
body.home-page:not(.dark) .hp-features {
  background: rgba(255,255,255,0.42);
  border-color: rgba(0,0,0,0.07);
}
body.home-page:not(.dark) .hp-feat i      { color: #8a5e10; }
body.home-page:not(.dark) .hp-feat strong  { color: #1c1409; }
body.home-page:not(.dark) .hp-feat span    { color: rgba(28,20,9,0.44); }
body.home-page:not(.dark) .hp-feat-sep    { background: rgba(0,0,0,0.07); }
/* Small-phone 2×2 grid cards */
body.home-page:not(.dark) .hp-feat {
  border-color: rgba(0,0,0,0.07);
  background: transparent;
}

/* Scroll-to-top */
body.home-page:not(.dark) #scrollToTopBtn {
  background: rgba(138,94,16,0.88);
  color: #fff;
}

/* ── Responsive ── */

/* Tablet & up */
@media (min-width: 700px) {
  .hp-shell { padding: 0 44px 90px; }
  .hp-hero  { padding: 72px 0 56px; }
  .hp-grid  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hp-card--main { grid-column: 1 / -1; }
  .hp-feat { min-width: 140px; }
}

/* Desktop */
@media (min-width: 1000px) {
  .hp-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-card--main { grid-column: span 1; }
}

/* Small phones (< 430px) */
@media (max-width: 429px) {
  .hp-shell {
    padding: 0 16px 56px;
  }
  .hp-hero {
    padding: 36px 0 28px;
    gap: 16px;
  }
  .hp-brand {
    font-size: clamp(3.0rem, 13.5vw, 4.8rem);
    letter-spacing: 0.13em;
  }
  .hp-eyebrow {
    font-size: 0.60rem;
    letter-spacing: 0.22em;
  }
  .hp-tagline {
    font-size: 0.88rem;
    line-height: 1.78;
  }
  .hp-card {
    padding: 14px 16px;
    gap: 13px;
    border-radius: 17px;
  }
  .hp-card--main {
    padding: 17px 18px;
  }
  .hp-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .hp-card--main .hp-card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
  .hp-card-title  { font-size: 0.90rem; }
  .hp-card-hint   { font-size: 0.72rem; }
  .hp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 12px;
    margin-top: 36px;
  }
  .hp-feat-sep { display: none; }
  .hp-feat {
    min-width: 0;
    padding: 8px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
  }
}

/* Medium phones (430–699px) */
@media (min-width: 430px) and (max-width: 699px) {
  .hp-shell { padding: 0 20px 68px; }
  .hp-hero  { padding: 44px 0 36px; gap: 18px; }
  .hp-brand {
    font-size: clamp(3.6rem, 15vw, 5.6rem);
    letter-spacing: 0.16em;
  }
  .hp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px 14px;
  }
  .hp-feat-sep { display: none; }
  .hp-feat {
    min-width: 0;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
  }
}
.btn-outline {
  background: transparent;
  color: #bfa13a;
  border: 1.5px solid #d4af37;
  padding: 5px 14px;
}
.btn-outline:hover {
  background: #d4af37;
  color: #fff;
  box-shadow: 0 2px 8px rgba(212,175,55,0.25);
}
/* Shop-Button */
.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #2a8a4a;
  border: 1.5px solid #3aaa60;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.83em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.btn-shop:hover {
  background: #3aaa60;
  color: #fff;
  box-shadow: 0 2px 8px rgba(58,170,96,0.25);
}
body.dark .btn-shop {
  color: #60cc80;
  border-color: #3a8a50;
}
body.dark .btn-shop:hover {
  background: #3a8a50;
  color: #fff;
}
.btn-icon {
  background: transparent;
  color: #888;
  padding: 7px 10px;
  border-radius: 50%;
  font-size: 1.1em;
  border: none;
}
.btn-icon:hover {
  background: rgba(0,0,0,0.06);
  color: #444;
}
/* Duftnoten-Hint-Button */
.duft-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f7f3e8;
  border: 1.5px solid #ddd090;
  color: #9b8440;
  border-radius: 22px;
  padding: 7px 16px 7px 12px;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: hint-pulse 2s ease 0.8s 2;
}
.duft-arrow:hover {
  background: #ede890;
  border-color: #c8b030;
  color: #6a580a;
  box-shadow: 0 2px 10px rgba(212,175,55,0.22);
}
.duft-arrow-icon {
  font-size: 0.95em;
  color: #d4af37;
}
.duft-arrow-chevron {
  font-size: 0.85em;
  transition: transform 0.28s ease;
  margin-left: 2px;
}
.duft-card.open .duft-arrow {
  background: #e8e090;
  border-color: #b8a020;
  color: #5a4a08;
  box-shadow: 0 2px 8px rgba(180,150,0,0.18);
}
.duft-card.open .duft-arrow-chevron {
  transform: rotate(180deg);
}
@keyframes hint-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
  50%       { box-shadow: 0 0 0 5px rgba(212,175,55,0.22); }
}
/* Dark Mode */
body.dark .duft-arrow {
  background: #2a2612;
  border-color: #5a4e18;
  color: #c8a840;
}
body.dark .duft-arrow:hover {
  background: #3a3418;
  border-color: #8a7828;
  color: #e8c850;
}
body.dark .duft-card.open .duft-arrow {
  background: #3a3418;
  border-color: #8a7828;
  color: #e0c048;
}

/* ============================================================
   DUFTNOTEN-PANEL (Duftbeschreibung – Herzstück)
   ============================================================ */
.duftnoten-panel {
  display: none;
  width: 100%;
  margin-top: 14px;
  padding: 16px 18px 14px 18px;
  border-radius: 14px;
  background: linear-gradient(150deg, #fffef7 0%, #faf5e0 100%);
  border: 1.5px solid #e8d88a;
  box-shadow:
    inset 0 1px 4px rgba(212,175,55,0.07),
    0 4px 18px rgba(212,175,55,0.11);
  box-sizing: border-box;
  animation: fadeInPanel 0.28s ease;
}
.duftnoten-panel.open {
  display: block;
}

/* Titel-Zeile oberhalb des Grids */
.duftnoten-titel {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.97em;
  color: #9b8850;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.4px;
  border-bottom: 1px solid rgba(212,175,55,0.3);
  padding-bottom: 8px;
}
.duftnoten-titel i {
  color: #d4af37;
}

/* 3-Spalten-Grid für die drei Duftnoten */
.duftnoten-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Einzelnes Duftnoten-Kästchen */
.duftnote-item {
  padding: 10px 12px 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.75);
  border-top: 3px solid transparent;
  box-shadow: 0 1px 5px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  min-width: 0;
  word-break: break-word;
}
.duftnote-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.09);
}
.duftnote-item h3 {
  font-size: 0.69em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.duftnote-item h3::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.duftnote-item p {
  font-size: 0.86em;
  margin: 0;
  color: #4a4030;
  line-height: 1.55;
}

/* Kopfnote – Blau-Hellblau (luftig, frisch) */
.duftnote-item:nth-child(1) {
  border-top-color: #6ab4d8;
}
.duftnote-item:nth-child(1) h3 {
  color: #2e7faa;
}
.duftnote-item:nth-child(1) h3::before {
  background: #6ab4d8;
}

/* Herznote – Rose/Pink (blumig, warm) */
.duftnote-item:nth-child(2) {
  border-top-color: #d47898;
}
.duftnote-item:nth-child(2) h3 {
  color: #a84c6e;
}
.duftnote-item:nth-child(2) h3::before {
  background: #d47898;
}

/* Basisnote – Amber/Gold (erdig, warm) */
.duftnote-item:nth-child(3) {
  border-top-color: #c09030;
}
.duftnote-item:nth-child(3) h3 {
  color: #7a5c18;
}
.duftnote-item:nth-child(3) h3::before {
  background: #c09030;
}

/* Mobile: einspaltiges Grid */
@media (max-width: 520px) {
  .duftnoten-grid {
    grid-template-columns: 1fr;
  }
  .duftnote-item {
    border-top: none;
    border-left: 4px solid transparent;
    padding-left: 12px;
  }
  .duftnote-item:nth-child(1) { border-left-color: #6ab4d8; }
  .duftnote-item:nth-child(2) { border-left-color: #d47898; }
  .duftnote-item:nth-child(3) { border-left-color: #c09030; }
}

/* ============================================================
   HAUPTSEITEN-HEADER (liste.php)
   ============================================================ */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid #d4af37;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.main-header .logo img {
  height: 58px;
  box-shadow: none;
  border-radius: 10px;
}
/* Logo-Swap per CSS – kein JS-Flash */
.logo-dark  { display: none; }
.logo-light { display: block; }
html.dark .logo-light { display: none !important; }
html.dark .logo-dark  { display: block !important; }
body.dark .logo-light { display: none !important; }
body.dark .logo-dark  { display: block !important; }
.main-header .header-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7em;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: #222;
}
.main-header .header-content p {
  margin: 0;
  font-size: 0.87em;
  color: #888;
}
.theme-toggle {
  margin-left: auto;
}

/* ============================================================
   TOOLBAR: SUCHE + FILTER
   ============================================================ */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.search-bar {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}
.form-control {
  width: 100%;
  padding: 10px 40px 10px 16px;
  font-size: 15px;
  border: 1.5px solid #d4af37;
  border-radius: 24px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  transition: border 0.2s, box-shadow 0.2s;
  font-family: 'Open Sans', sans-serif;
}
.form-control:focus {
  border-color: #bfa13a;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4af37;
  pointer-events: none;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filter-btn {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid #d4af37;
  background: transparent;
  color: #bfa13a;
  font-size: 0.82em;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: background 0.2s, color 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: #d4af37;
  color: #fff;
}

/* ── Kategorie-Filter-Buttons ── */
.filter-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1.5px solid #888;
  background: transparent;
  font-size: 0.8em;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  color: #666;
}
.dark .filter-tag-btn { color: #aaa; border-color: #666; }

.filter-tag-btn.tag-frisch   { border-color: #4caf7d; color: #4caf7d; }
.filter-tag-btn.tag-blumig   { border-color: #e085b6; color: #e085b6; }
.filter-tag-btn.tag-suess    { border-color: #c97c2b; color: #c97c2b; }
.filter-tag-btn.tag-holzig   { border-color: #7a5c3a; color: #7a5c3a; }
.filter-tag-btn.tag-oud      { border-color: #9c6cc8; color: #9c6cc8; }
.filter-tag-btn.tag-wuerzigz { border-color: #d45a3a; color: #d45a3a; }

/* Active-State: gilt immer (auch Touch) */
.filter-tag-btn.tag-frisch.active   { background: #4caf7d; color: #fff; }
.filter-tag-btn.tag-blumig.active   { background: #e085b6; color: #fff; }
.filter-tag-btn.tag-suess.active    { background: #c97c2b; color: #fff; }
.filter-tag-btn.tag-holzig.active   { background: #7a5c3a; color: #fff; }
.filter-tag-btn.tag-oud.active      { background: #9c6cc8; color: #fff; }
.filter-tag-btn.tag-wuerzigz.active { background: #d45a3a; color: #fff; }

/* Hover-State: nur auf Geräten mit echter Maus (kein Sticky-Hover auf Touch) */
@media (hover: hover) {
  .filter-tag-btn.tag-frisch:hover   { background: #4caf7d; color: #fff; }
  .filter-tag-btn.tag-blumig:hover   { background: #e085b6; color: #fff; }
  .filter-tag-btn.tag-suess:hover    { background: #c97c2b; color: #fff; }
  .filter-tag-btn.tag-holzig:hover   { background: #7a5c3a; color: #fff; }
  .filter-tag-btn.tag-oud:hover      { background: #9c6cc8; color: #fff; }
  .filter-tag-btn.tag-wuerzigz:hover { background: #d45a3a; color: #fff; }
}

/* ── Tag-Chips auf den Karten ── */
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 4px 0 2px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.3px;
  opacity: 0.9;
  color: #fff;
}
.tag-chip.tag-frisch   { background: #4caf7d; }
.tag-chip.tag-blumig   { background: #e085b6; }
.tag-chip.tag-suess    { background: #c97c2b; }
.tag-chip.tag-holzig   { background: #7a5c3a; }
.tag-chip.tag-oud      { background: #9c6cc8; }
.tag-chip.tag-wuerzigz { background: #d45a3a; }

/* ============================================================
   KATEGORIE-NAVIGATION
   ============================================================ */
.category-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.category-nav a,
.category-nav button {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1.5px solid #d4af37;
  background: transparent;
  color: #bfa13a;
  font-weight: 600;
  font-size: 0.88em;
  font-family: 'Open Sans', sans-serif;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.4;
}
.category-nav a:hover,
.category-nav a.active,
.category-nav button.active {
  background: #d4af37;
  color: #fff;
  border-color: #d4af37;
}
@media (hover: hover) {
  .category-nav button:hover {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
  }
}

/* ============================================================
   KATEGORIE-SEKTIONEN
   ============================================================ */
.category-section {
  margin-bottom: 52px;
}
/* Platz für absolute Badges oben an den Karten */
.category-section ul.duftliste {
  padding-top: 16px;
  overflow: visible;
}
.category-section ul.duftliste li.duft-card {
  overflow: visible;
}
.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45em;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid #e8d88a;
  padding-bottom: 8px;
  margin: 0 0 4px 0;
}
.category-description {
  font-size: 0.88em;
  color: #999;
  margin: 0 0 20px 0;
}

/* ============================================================
   FOOTER FEATURES
   ============================================================ */
.main-footer-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #d4af37;
}
.feature-item {
  text-align: center;
  padding: 12px 8px;
}
.feature-item i {
  font-size: 1.6em;
  color: #d4af37;
  margin-bottom: 6px;
  display: block;
}
.feature-item h3 {
  font-size: 0.9em;
  font-weight: 700;
  margin: 0 0 3px 0;
  color: #333;
}
.feature-item p {
  font-size: 0.83em;
  margin: 0;
  color: #666;
}

/* ============================================================
   DARK MODE
   ============================================================ */
body.dark {
  background: linear-gradient(120deg, #181818 0%, #111 100%);
  color: #e0d8c0;
}
body.dark .container {
  background: #1c1c1c;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
body.dark .main-header {
  border-bottom-color: #4a3f18;
}
body.dark .main-header .header-content h1 {
  color: #f0e8cc;
}
body.dark .main-header .header-content p {
  color: #888;
}
body.dark .duft-card {
  background: #242424;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
body.dark li {
  background: #242424;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
body.dark .duft-card:hover,
body.dark li:hover {
  background: #2d2d2d;
  border-color: #4a3f18;
}
body.dark .duft-card.open {
  background: #262616;
  border-color: #6a5820;
}
body.dark .duft-name {
  color: #f0e8cc;
}
body.dark .duft-code {
  color: #c8a030;
}
body.dark .duft-img {
  background: #333;
}
body.dark .duftnoten-panel {
  background: linear-gradient(150deg, #201e10 0%, #181608 100%);
  border-color: #4a3f18;
}
body.dark .duftnote-item {
  background: rgba(38,34,14,0.85);
}
body.dark .duftnote-item p {
  color: #c0a878;
}
body.dark .duftnoten-titel {
  color: #d4af37;
  border-bottom-color: rgba(212,175,55,0.2);
}
body.dark .category-title {
  color: #f0e8cc;
  border-bottom-color: #4a3f18;
}
body.dark .category-description {
  color: #666;
}
body.dark .form-control {
  background: #242424;
  color: #e0d8c0;
  border-color: #4a3f18;
}
body.dark .form-control::placeholder {
  color: #666;
}
body.dark .btn-secondary {
  background: #2c2c2c;
  color: #c0a030;
}
body.dark .category-nav a,
body.dark .category-nav button {
  background: #222216;
  color: #c0a030;
  border-color: #4a3f18;
}
body.dark .category-nav a:hover,
body.dark .category-nav a.active,
body.dark .category-nav button.active {
  background: #d4af37;
  color: #111;
}
@media (hover: hover) {
  body.dark .category-nav button:hover {
    background: #d4af37;
    color: #111;
  }
}
body.dark .btn-icon {
  color: #c0a030;
}
body.dark .btn-outline {
  color: #d4af37;
  border-color: #6a5820;
}
body.dark .btn-outline:hover {
  background: #d4af37;
  color: #111;
}
body.dark .feature-item h3 {
  color: #e0d8c0;
}
body.dark .feature-item p {
  color: #888;
}
body.dark .main-footer-features {
  border-top-color: #4a3f18;
}
body.dark h2 {
  color: #d0c8a0;
  border-bottom-color: #3a3218;
}
body.dark li strong {
  color: #d4af37;
}

/* ============================================================
   MOBIL-RESPONSIVE (Überschreibt alte Regeln)
   ============================================================ */
@media (max-width: 900px) {
  .main-header { gap: 10px; }
  .duftnoten-grid { grid-template-columns: repeat(2, 1fr); }
  .category-nav a, .category-nav button { padding: 7px 16px; }
}

@media (max-width: 600px) {
  /* Header: Logo + Titel + Toggle untereinander */
  .main-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 14px;
    gap: 10px;
  }
  .main-header .logo { order: 0; }
  .main-header .header-content { order: 1; flex: 1; min-width: 0; }
  .main-header .header-content h1 { font-size: 1.15em; }
  .main-header .header-content p { display: none; }
  .theme-toggle { order: 2; margin-left: 0; }
  #logo { height: 44px !important; }

  /* Toolbar: volle Breite */
  .toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .search-bar { max-width: 100%; }
  .form-control { font-size: 14px; }
  .filter-buttons { gap: 5px; }
  .filter-btn { font-size: 0.76em; padding: 4px 11px; }

  /* Kategorie-Nav: kleinere Buttons */
  .category-nav { gap: 6px; margin-bottom: 20px; }
  .category-nav a, .category-nav button { padding: 6px 14px; font-size: 0.80em; }

  /* Karten-Grid: eine Spalte, volles Padding */
  ul.duftliste {
    grid-template-columns: 1fr;
    gap: 12px 0;
    justify-items: stretch;
  }
  li.duft-card {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 14px 12px 10px 12px !important;
    box-sizing: border-box;
  }

  /* Karten-Inhalte */
  .duft-img { width: 56px; height: 56px; }
  .duft-name { font-size: 0.99em; }
  .card-actions { flex-wrap: wrap; gap: 8px; }
  .duft-arrow { font-size: 0.78em; padding: 6px 12px 6px 10px; }
  .btn-outline span { display: inline; }

  /* Duftnoten-Panel: eine Spalte */
  .duftnoten-grid { grid-template-columns: 1fr; gap: 8px; }
  .duftnoten-panel { padding: 12px 10px 10px 10px; }
  .duftnote-item {
    border-top: none;
    border-left: 4px solid transparent;
    padding: 8px 10px;
  }
  .duftnote-item:nth-child(1) { border-left-color: #6ab4d8; }
  .duftnote-item:nth-child(2) { border-left-color: #d47898; }
  .duftnote-item:nth-child(3) { border-left-color: #c09030; }

  /* Feature-Footer */
  .main-footer-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
  }
  .feature-item { padding: 10px 6px; }

  /* Container */
  .container {
    padding: 12px 10px !important;
    border-radius: 12px !important;
    margin: 8px auto !important;
  }
}

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}
.loading-spinner i {
  font-size: 2.4em;
  color: #d4af37;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
body.dark .loading-overlay {
  background: rgba(20,18,10,0.92);
}

/* STARTSEITE – KARTEN-GRID (index.php)
   ============================================================ */
.brand-desc {
  margin: 0;
  font-size: 0.87em;
  color: #888;
  max-width: 480px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin: 32px 0;
}
.card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #faf8f3;
  border: 1.5px solid #e8d88a;
  border-radius: 18px;
  padding: 28px 16px 22px;
  color: #333;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(212,175,55,0.07);
}
.card-link:hover {
  background: #fff8e1;
  border-color: #d4af37;
  box-shadow: 0 6px 22px rgba(212,175,55,0.18);
  transform: translateY(-3px);
}
.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.card-content i {
  font-size: 1.9em;
  color: #d4af37;
}
.card-content span {
  font-size: 0.88em;
  color: #444;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Scroll-to-Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #d4af37;
  color: #fff;
  border: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  cursor: pointer;
  z-index: 999;
  transition: background 0.2s, box-shadow 0.2s;
}
#scrollToTopBtn:hover {
  background: #bfa13a;
  box-shadow: 0 5px 18px rgba(0,0,0,0.22);
}
#scrollToTopBtn.visible {
  display: flex;
}

/* Dark Mode – Startseite */
body.dark .card-link {
  background: #242416;
  border-color: #4a3f18;
  color: #e0d8c0;
}
body.dark .card-link:hover {
  background: #302c10;
  border-color: #8a7820;
}
body.dark .card-content span {
  color: #d4c890;
}
body.dark .brand-desc {
  color: #888;
}
body.dark #scrollToTopBtn {
  background: #8a7020;
  color: #f0e8c0;
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
  }
  .card-link { padding: 20px 10px 16px; }
  .card-content i { font-size: 1.5em; }
  .card-content span { font-size: 0.82em; }
}

/* ============================================================
   BEWERTUNGSFORMULAR
   ============================================================ */

/* Hilfsklassen */
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.gap-sm        { gap: 8px; }
.gap-lg        { gap: 20px; }
.mt-lg         { margin-top: 24px; }
.mb-lg         { margin-bottom: 24px; }

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95em;
}
.alert-success {
  background: #e8f8ec;
  border: 1.5px solid #5cb85c;
  color: #2d6a30;
}
.alert-danger {
  background: #fdf0f0;
  border: 1.5px solid #e07070;
  color: #8b2020;
}
body.dark .alert-success {
  background: #1a3a1e;
  border-color: #4a944a;
  color: #90d890;
}
body.dark .alert-danger {
  background: #3a1a1a;
  border-color: #a04040;
  color: #e09090;
}

/* Formular-Wrapper */
.form-shell {
  width: 100%;
}
.form-shell .card {
  background: #faf8f3;
  border: 1.5px solid #e8d88a;
  border-radius: 18px;
  padding: 28px 24px;
  margin-top: 20px;
}
body.dark .form-shell .card {
  background: #1e1c14;
  border-color: #4a3f18;
}

/* Formularfelder */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.88em;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
body.dark .form-label {
  color: #b0a880;
}

.form-control {
  background: #fff;
  color: #111;
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4af37' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
textarea.form-control {
  border-radius: 14px;
  resize: vertical;
  min-height: 100px;
}
body.dark select.form-control option {
  background: #1e1c14;
  color: #e0d8c0;
}

/* Primär-Button */
.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #c09020 100%);
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: 24px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(212,175,55,0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #c09020 0%, #a07810 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(212,175,55,0.35);
}
.btn-primary:active {
  transform: translateY(0);
}

/* Vorschau-Toolbar */
.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.preview-toolbar label {
  font-size: 0.88em;
  font-weight: 600;
  color: #888;
}
body.dark .preview-toolbar label {
  color: #7a7260;
}
.preview-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.preview-mode-btn {
  font-size: 0.78em;
  padding: 4px 12px;
}

/* Stern-Bewertung */
.rating {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  font-size: 1.6em;
  color: #ccc;
  transition: color 0.15s, transform 0.12s;
  line-height: 1;
}
.star:hover,
.star.active {
  color: #d4af37;
  transform: scale(1.15);
}
body.dark .star {
  color: #4a4030;
}
body.dark .star:hover,
body.dark .star.active {
  color: #d4af37;
}

@media (max-width: 600px) {
  .form-shell .card { padding: 18px 14px; }
  .d-flex.gap-lg { gap: 12px; }
}
