/* CSS Variables */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #141414;
  --muted: #6b6b6b;
  --border: #e7e3dc;

  /* Luxury palette */
  --primary: #b08d57;         /* champagne gold */
  --primaryHover: #9a7847;    /* darker gold */
  --accent: #b08d57;

  --shadow: 0 14px 40px rgba(20, 20, 20, .08);
  --shadowHover: 0 18px 55px rgba(20,20,20,.10);

  /* Card system (cosmetics + consistent sections) */
  --card-radius: 18px;
  --card-border: rgba(0,0,0,.07);
  --card-shadow: 0 14px 40px rgba(0,0,0,.05);
  --muted-text: rgba(0,0,0,.62);
  --muted-label: rgba(0,0,0,.45);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(1100px 520px at 20% 0%, rgba(176,141,87,.14), transparent 60%),
              radial-gradient(900px 420px at 80% 10%, rgba(176,141,87,.08), transparent 60%),
              var(--bg);
  min-height: 100vh;
}

/* Page Load Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: fadeInUp 0.35s ease both;
  }
  
  .fade-in {
    animation: fadeInUp 0.35s ease both;
  }
}

@media (prefers-reduced-motion: reduce) {
  main,
  .fade-in {
    animation: none;
  }
}

/* Typography Hierarchy */
h1, .hero-title, .page-header h1 {
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(30px, 3.2vw, 44px);
}

h2, h3, .language-card h2, .category-card h2, .legal-content h2 {
  font-weight: 625;
  letter-spacing: -0.01em;
}

h3, .legal-content h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

p, .page-content p, .legal-content p {
  line-height: 1.65;
  color: var(--muted);
}

/* Premium Link Styles */
a:not(.cta-button):not(.category-card):not(.language-card) {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

a:not(.cta-button):not(.category-card):not(.language-card):hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Layout */
#layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 24px;
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231,227,220,.8);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.85;
}

.brand-logo {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

.brand-main {
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.header-tagline {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.8);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 10px 12px;
  line-height: 1;
  transition: all 0.2s;
}

.nav-toggle:hover {
  border-color: rgba(176,141,87,.55);
  background: rgba(255,255,255,.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  justify-content: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .nav ul {
    gap: clamp(8px, 1.5vw, 14px);
  }
  
  .nav a {
    font-size: 13px;
    padding: 0.5rem 0.65rem;
  }
}

@media (max-width: 1024px) {
  .nav ul {
    gap: clamp(6px, 1.2vw, 12px);
  }
  
  .nav a {
    font-size: 13px;
    padding: 0.5rem 0.6rem;
    letter-spacing: 0.2px;
  }
}

.nav a:hover {
  color: var(--text);
  background-color: transparent;
}

.nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0.75rem;
  right: 0.75rem;
  height: 1.5px;
  background: var(--primary);
  opacity: 0.6;
}

@media (max-width: 1200px) {
  .nav a:hover::after {
    left: 0.65rem;
    right: 0.65rem;
  }
}

@media (max-width: 1024px) {
  .nav a:hover::after {
    left: 0.6rem;
    right: 0.6rem;
  }
}

.nav a:active,
.nav a.active {
  color: var(--text);
}

.nav a:active::after,
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--primary);
  opacity: 1;
}

@media (max-width: 1200px) {
  .nav a:active::after,
  .nav a.active::after {
    left: 0.65rem;
    right: 0.65rem;
  }
}

@media (max-width: 1024px) {
  .nav a:active::after,
  .nav a.active::after {
    left: 0.6rem;
    right: 0.6rem;
  }
}

/* Header Accent Line */
.header-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(176,141,87,.85), transparent);
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 34px 0 18px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20,20,20,.55);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 760;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.hero-title-split {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-top,
.hero-title-bottom {
  display: block;
}

.hero-title-bottom {
  margin-top: 6px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  /* max-width: 680px; */
  margin: 10px auto 0;
  line-height: 1.7;
  text-align: center;
}

/* Language Chooser */
.language-chooser {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 18px auto 0;
}

.language-card {
  padding: 18px 18px 16px;
  border: 1px solid rgba(231,227,220,.9);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: visible;
}

.language-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(20,20,20,.10);
  border-color: rgba(176,141,87,.45);
}

.flag-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(176,141,87,.12);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 10px;
  align-self: flex-start;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.3;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-variant-emoji: emoji;
  font-variant-ligatures: none;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}


.language-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 625;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: block;
  width: 100%;
}

.language-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: auto;
  line-height: 1.5;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), rgba(176,141,87,.6));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  border-color: rgba(176,141,87,.45);
  box-shadow: 0 22px 60px rgba(20,20,20,.10);
  transform: translateY(-2px);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(176,141,87,.60);
  box-shadow: 0 0 0 6px rgba(176,141,87,.10);
  display: inline-block;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

.category-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(176,141,87,.12);
  color: var(--primary);
  border: 1px solid rgba(176,141,87,.25);
  border-radius: 999px;
  padding: 5px 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.category-card:not(:has(.category-card-top)) .category-card-badge {
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.category-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
}

.category-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Page Content */
.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  margin-bottom: 1rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

/* Cosmetics 2.0 hero (compact, CTA directly below) */
.hero {
  margin-bottom: 0;
  text-align: center;
}

.hero .hero-intro {
  margin: 0 auto 0.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  /* max-width: 52ch; */
  text-align: center;
}

.hero .hero-note {
  margin: 0 auto;
  font-size: 12px;
  color: rgba(20,20,20,.5);
  letter-spacing: 0.02em;
  text-align: center;
}

.hero .hero-note:empty {
  display: none;
}

.hero h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  margin-bottom: 0.75rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.page-content {
  margin-bottom: 2.5rem;
}

.page-content p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-content ul {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.page-content li {
  margin-bottom: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA Section */
.cta-section {
  margin: 2.5rem 0;
  padding: 32px 28px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

/* CTA block: same look on all pages and languages (Foundation, Collagen, Cosmetics, etc.) */
.cta-block {
  margin-top: 24px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  text-align: center;
}

@media (min-width: 860px) {
  .cta-block {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* CTA subtitle + disclaimer: full text in one line on desktop; no ellipsis */
/* Desktop: subline and disclaimer one line; tablet/mobile: wrap */
@media (min-width: 1025px) {
  .cta-text {
    white-space: nowrap;
    /* max-width: 860px; */
    margin-left: auto;
    margin-right: auto;
  }

  .cta-mini-note.cta-disclaimer {
    white-space: nowrap;
    /* max-width: 860px; */
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1024px) {
  .cta-text {
    white-space: normal;
    /* max-width: 52ch; */
  }

  .cta-mini-note.cta-disclaimer {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    /* max-width: 100%; */
  }
}

@media (max-width: 640px) {
  .cta-mini-note.cta-disclaimer {
    white-space: normal;
  }
}

.cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20,20,20,.55);
  margin-bottom: 10px;
  text-align: center;
}

.cta-title {
  margin: 0 auto 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 625;
  color: var(--text);
  text-align: center;
}

/* Subline: same max-width + margin auto on all languages for even line breaks and centering */
.cta-text {
  margin: 10px auto 18px;
  /* max-width: 52ch; */
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
  word-break: normal;
  overflow-wrap: anywhere;
  text-align: center;
  hyphens: auto;
}

.cta-copy {
  /* max-width: 52ch; */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Disclaimer: one line on desktop (see 1025px); wrap on tablet/mobile (see 1024px) */
.cta-disclaimer {
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

#ctaButton {
  max-width: 360px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  #ctaButton {
    width: auto;
    min-width: 280px;
  }
}

.cta-back {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
  margin-bottom: 10px;
  text-align: center;
}

.cta-back:hover {
  color: var(--text);
}

.cta-mini-note {
  font-size: 12px;
  color: rgba(20,20,20,.55);
  text-align: center;
  /* max-width: 520px; */
  line-height: 1.5;
  margin-top: 4px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  margin-left: auto;
  margin-right: auto;
}

/* Section label (Browse by category, Customers also like) */
.section-label,
.quick-sections-title,
.related-head {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-label);
  margin: 0 0 10px;
  font-weight: 600;
}

/* Quick sections (compact chips below CTA on cosmetics) */
.quick-sections {
  margin-top: 10px;
  margin-bottom: 16px;
  padding: 0;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.quick-sections-title {
  text-align: center;
}

.quick-sections-subtitle {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-label);
  text-align: center;
  font-weight: 600;
  margin-bottom: 8px;
}

.quick-sections-hint {
  font-size: 12px;
  opacity: 0.65;
  text-align: center;
  margin: 4px 0 10px;
  color: var(--muted);
}

.quick-sections-subcats .quick-sections-links a {
  border-width: 1px;
}

.quick-sections-subcats .quick-sections-links a:hover {
  transform: translateY(-1px);
}

.quick-sections-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
}

.quick-sections-links a {
  color: var(--muted-text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,.75);
  font-size: 12px;
}

.quick-sections-links a:hover {
  color: var(--primary);
  background: rgba(176,141,87,.08);
  border-color: rgba(176,141,87,.25);
}

/* Inline offers line (below chips, cosmetics) */
.offers-inline {
  margin: 10px auto 0;
  font-size: 11px;
  color: rgba(20,20,20,.5);
  line-height: 1.4;
  text-align: center;
}

/* Offers block (Deals & Vorteile) – zentriert, wertige Benefit-Box */
.offers {
  margin-top: 24px;
  text-align: center;
}

.offers .quick-sections-title#offersTitle {
  text-align: center;
}

.offers-box {
  display: inline-block;
  width: min(720px, 100%);
  padding: 18px 20px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.offers-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.offers-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.offers-dot {
  width: 11px;
  height: 11px;
  min-width: 11px;
  min-height: 11px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
  box-shadow: 0 1px 3px rgba(176, 141, 87, .25);
}

.offers-text {
  line-height: 1.4;
  color: var(--text);
}

/* Feature cards (Cosmetics 2.0) */
.feature-cards {
  max-width: 980px;
  margin: 12px auto 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 14px 14px 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.04);
  text-align: center;
}

.card-cta-link {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-top: 12px;
  transition: color 0.2s;
}

.card-cta-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.card-cta-link-secondary {
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.85;
}

.feature-card h3 {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin: 0 0 12px;
  font-weight: 600;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.feature-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 7px 0;
  font-size: 14px;
  opacity: 0.92;
  color: var(--muted);
}

.feature-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(176,140,78,.35);
  flex: 0 0 10px;
}

@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* Bullets: lighter, tighter (any page using .page-bullets) */
.page-bullets {
  /* max-width: 62ch; */
  margin: 0 auto 1rem;
  text-align: center;
}

.page-bullets li {
  margin: 8px 0;
  opacity: .9;
}

/* Optional offers note (minimal, near bottom) */
.offers-note {
  font-size: 12px;
  opacity: 0.75;
  color: var(--muted-text);
  line-height: 1.5;
  margin-top: 14px;
  margin-bottom: 0;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.offers-note strong {
  font-weight: 600;
  color: rgba(20,20,20,.65);
}

.related {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.related-head {
  text-align: center;
}

.related-grid {
  margin-left: auto;
  margin-right: auto;
}

body[data-page]:not([data-page="home"]) .notice {
  display: none;
}

.cta-focus {
  box-shadow: 0 24px 80px rgba(20,20,20,.14);
  border-color: rgba(176,141,87,.35);
  transform: translateY(-1px);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .cta-focus {
    transform: none;
  }
}

/* Customers also like: improved spacing for premium feel */
.related a,
.related-link {
  line-height: 1.6;
}

.related li {
  margin: 10px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px;
  column-gap: 52px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .related-grid {
    row-gap: 14px;
  }
}

.related-link {
  color: rgba(20,20,20,.85);
  text-decoration: none;
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 2px 0;
}

@media (max-width: 640px) {
  .related-grid {
    row-gap: 12px;
  }
}

.related-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(176,141,87,.55);
  box-shadow: 0 0 0 6px rgba(176,141,87,.10);
  flex: 0 0 auto;
}

.related-link:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Cosmetics: tighter spacing on mobile */
@media (max-width: 900px) {
  body[data-page="cosmetics"] .cta-block {
    margin-top: 14px;
    margin-bottom: 18px;
  }
  body[data-page="cosmetics"] .quick-sections {
    margin-top: 8px;
    margin-bottom: 12px;
  }
  body[data-page="cosmetics"] .feature-cards {
    margin-top: 10px;
    margin-bottom: 18px;
  }
  body[data-page="cosmetics"] .related {
    margin-top: 14px;
  }
}

.cta-pretext {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  margin: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(176,141,87,.25);
}

.cta-button:hover {
  background-color: var(--primaryHover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176,141,87,.30);
}

.cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(176,141,87,.20), 0 4px 12px rgba(176,141,87,.25);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button.is-loading {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}

.cta-back-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cta-back-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Notice / Disclaimer */
.notice {
  margin-top: 2rem;
  padding: 14px 16px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  font-size: 0.875rem;
  line-height: 1.5;
}

.notice-title {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notice-text {
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
}

.notice-meta {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}

/* Legacy disclaimer (fallback) */
.disclaimer {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background-color: rgba(255,255,255,.8);
  border-left: 4px solid var(--muted);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: rgba(255,255,255,.6);
  border-top: 1px solid var(--border);
  padding: 18px 0;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  text-align: left;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
  white-space: nowrap;
  text-align: left;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-info {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 10px;
  text-align: left;
}

@media (max-width: 640px) {
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    justify-items: start;
  }
}

/* Privacy & Imprint Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 625;
  letter-spacing: -0.01em;
  color: var(--text);
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Mobile Navigation */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    margin-top: 1rem;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    background: #fff;
    white-space: normal;
    overflow: visible;
  }
  
  .nav ul {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0;
  }

  .site-header.nav-open .nav {
    display: block;
  }

  .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.875rem 1.125rem;
    min-height: 44px;
    border-radius: 8px;
  }
  
  .nav a:hover::after,
  .nav a:active::after,
  .nav a.active::after {
    display: none;
  }
}

/* Consent Banner - Premium Bottom-Sheet */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(231, 227, 220, .95);
  box-shadow: 0 24px 80px rgba(20, 20, 20, .18);
  backdrop-filter: blur(12px);
  z-index: 9999;
  padding: 0;
  display: none;
  opacity: 0;
  transform: translateY(120%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition: opacity 0.2s ease;
  }
}

.consent-banner-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.consent-inner {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.consent-title {
  font-size: 1.1rem;
  font-weight: 625;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.consent-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.consent-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.consent-actions .btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-align: center;
  min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
  .consent-actions .btn {
    transition: background-color 0.15s ease;
  }
}

.consent-actions .btn:hover {
  background: rgba(176, 141, 87, 0.08);
  border-color: var(--primary);
}

.consent-actions .btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.consent-actions .btn-primary:hover {
  background: var(--primaryHover);
  border-color: var(--primaryHover);
}

.consent-reject {
  background: var(--surface);
  color: var(--text);
}

.consent-reject:hover {
  background: rgba(20, 20, 20, 0.04);
}

.consent-links {
  margin-top: 2px;
  text-align: center;
}

.consent-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.consent-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 16px;
  }

  .consent-inner {
    padding: 16px 18px;
    gap: 12px;
  }

  .consent-title {
    font-size: 1rem;
  }

  .consent-text {
    font-size: 0.875rem;
  }

  .consent-actions {
    flex-direction: column;
    gap: 14px;
  }

  .consent-actions .btn {
    width: 100%;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  main {
    padding: 22px 18px;
  }

  .header-inner {
    padding: 14px 18px;
  }
  
  .header-tagline {
    display: none;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .language-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
  }
  
  @media (min-width: 600px) and (max-width: 860px) {
    .language-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .language-card {
    padding: 2rem 1.5rem;
  }

  .page-header h1 {
    font-size: clamp(28px, 6vw, 36px);
    line-height: 1.15;
  }

  .cta-button {
    width: 100%;
    padding: 14px 24px;
    text-align: center;
  }

  .cta-section {
    padding: 24px 20px;
  }


  .hero {
    padding: 24px 0 14px;
    margin-bottom: 1rem;
  }
  
  .language-chooser {
    padding: 1.5rem 1rem 0.5rem;
  }
}
