/* ==========================================================
   Aurélie Blanz – Theme-Stile
   ========================================================== */

/* ---------- Design-Tokens ---------- */
:root {
  --color-text: #141618;
  --color-muted: #777777;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-line: #eaeaea;
  --color-dark: #141618;
  --color-darker: #101213;
  --color-on-dark: #ffffff;
  --color-on-dark-muted: rgba(255, 255, 255, .6);
  --color-accent: var(--color-dark);        /* Hover-Farbe für Links im Inhalt */
  --color-section-alt: var(--color-bg);     /* Hintergrund für abgesetzte Abschnitte */
  --color-error: #a33;                      /* Fehlermeldungen, ungültige Felder */
  --color-gold: #c9a24e;                    /* Gold-Akzent in Platzhalter-Grafiken */
  --color-film-bg: #0c0d0e;                 /* Hintergrund des Film-Overlays */
  --color-overlay: rgba(42, 39, 36, .45);   /* Abdunklung hinter dem Warenkorb-Panel (warmes Fast-Schwarz) */

  /* Typografie: Montserrat für Überschriften, Text und Labels; Libre Baskerville Italic für kursive Unterzeilen (seit 16.11.2026, vorher Lora) */
  --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-base: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-heading: 500;

  --fs-hero: clamp(2.4rem, 5.4vw, 4.4rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 1.9vw, 1.75rem);
  --fs-h2-small: clamp(1.45rem, 2.4vw, 2.1rem);   /* etwas kleinerer Abschnittstitel (Startseite „Les collections“) */
  --fs-lead: clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-small: .875rem;
  --fs-label: .875rem;      /* Navigation, Buttons, kleine Überschriften */
  --ls-label: .14em;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 54px);
  --section-space: clamp(24px, 3.5vw, 48px);   /* Innenabstand oben/unten einer Section */
  --block-space: calc(2 * var(--section-space));   /* zwischen Blöcken innerhalb einer Section, wie zwei aneinanderliegende Sections */
  --head-space: clamp(20px, 3vw, 36px);   /* zwischen Überschrift und Inhalt */
  --section-space-page: clamp(16px, 2.3vw, 32px);   /* Inhaltsseiten: engere Sections als auf der Startseite */
  --header-h: 90px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}
/* Inhaltsseiten (À propos, L’atelier-boutique, Création & matières, Blog, Standardseiten, Shop-Seiten):
   --block-space muss mit neu gesetzt werden, sonst bleibt es beim Wert der Startseite */
main.creation, main.page-main {
  --section-space: var(--section-space-page);
  --block-space: calc(2 * var(--section-space-page));
}

/* ==========================================================
   SCHALTER – per Klasse am <html>-Tag in index.html ein-/ausschalten.
   Klasse entfernen = zurück zum Standard oben in :root.
   ========================================================== */

/* Schalter 1: warme Farbpalette aus Aurélies Glasuren  →  <html class="theme-warm"> */
.theme-warm {
  --color-text: #2a2724;          /* warmes Fast-Schwarz */
  --color-muted: #736b60;         /* Stein (vorher #7a7166; leicht dunkler für Kontrast 4,5:1 auf Sand, 16.11.2026) */
  --color-bg: #fdfcfa;            /* fast Weiß (vorher #faf7f2) */
  --color-bg-soft: #faf5ee;       /* heller Sand, wärmer als zuvor #f8f6f2 (wirkte leicht grünlich) */
  --color-line: #e3d9cb;          /* Sand */
  --color-dark: #1f3a4a;          /* tiefes Meeresblau */
  --color-darker: #172d3a;
  --color-on-dark: #ffffff;
  --color-on-dark-muted: rgba(255, 255, 255, .68);
  --color-accent: #357882;        /* Türkis-Glasur (vorher #3b8691; leicht dunkler für Kontrast 4,5:1 als Textfarbe, 16.11.2026) */
  --color-section-alt: #faf5ee;   /* heller Sand, wärmer als zuvor #f8f6f2 (wirkte leicht grünlich) */
}

/* Schalter 2: Überschriften in Versalien  →  <html class="headings-caps"> */
.headings-caps {
  --fs-hero: clamp(2rem, 4.4vw, 3.6rem);
  --fs-h2: clamp(1.4rem, 2.4vw, 2.1rem);
  --fs-h3: clamp(1.05rem, 1.5vw, 1.4rem);
  --fs-h2-small: clamp(1.2rem, 2vw, 1.75rem);
}
.headings-caps h1, .headings-caps h2, .headings-caps h3, .headings-caps h4 { text-transform: uppercase; letter-spacing: .08em; }
.headings-caps .product__title { font-size: .85rem; letter-spacing: .1em; }
.headings-caps .footer-title { letter-spacing: var(--ls-label); }

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: var(--fw-regular);
  font-size: .94rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity .3s var(--ease), color .3s var(--ease); }
/* lange Wörter (z. B. Instagram-Namen) dürfen umbrechen, statt über den Rand zu ragen */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: var(--fw-heading); line-height: 1.1; letter-spacing: 0; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }   /* hidden-Attribut gewinnt immer gegen display-Regeln */
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); text-align: center; }
.section { padding: var(--section-space) 0; }
.section-title { font-size: var(--fs-h2); }
.section-title--small { font-size: var(--fs-h2-small); }
.lead { font-family: var(--font-accent); font-style: italic; font-size: var(--fs-lead); line-height: 1.45; color: var(--color-muted); margin: 1em auto 0; max-width: 30em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .95em 2.2em;
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-on-dark);
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  border-radius: 0;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--color-dark); }
.btn--outline { background: transparent; color: var(--color-dark); }
.btn--outline:hover { background: var(--color-dark); color: var(--color-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--color-on-dark);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-h);
  padding: 0 var(--gutter);
}
.site-logo { position: relative; flex: none; height: 50px; }
.site-logo img { height: 50px; width: auto; transition: opacity .4s var(--ease); }
.site-logo__dark { position: absolute; inset: 0; opacity: 0; }

.main-nav { margin-left: auto; }
/* Desktop: Hauptmenü mittig in der Kopfzeile (Todo 10.11.2026), Logo links, Icons rechts;
   gleich breite Außenspalten halten das Menü in der Seitenmitte */
@media (min-width: 1081px) {
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .main-nav { margin-left: 0; }
  .header-icons { justify-self: end; }
}
.main-nav__list { display: flex; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.main-nav__list a { font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; position: relative; padding: .3em 0; }
.main-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav__list a:hover::after,
.main-nav__list .current-menu-item > a::after,
.main-nav__list .current-menu-parent > a::after,
.main-nav__list .current_page_parent > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav__contact { display: none; }

.header-icons { display: flex; align-items: center; gap: 1.1rem; }
.icon-link { position: relative; display: inline-flex; }
.icon-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon-link svg .fill { fill: currentColor; stroke: none; }
.cart-badge {
  position: absolute; top: -6px; right: -9px;
  min-width: 18px; height: 18px; padding: 0 4px;
  font-size: 11px; line-height: 18px; text-align: center;
  color: var(--color-dark); background: var(--color-on-dark); border-radius: 9px;
}

.menu-toggle { display: none; width: 28px; height: 20px; position: relative; }
.menu-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), opacity .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 16px; }

/* Header nach dem Scrollen / bei offenem Menü */
.site-header.is-solid,
.site-header.is-open { background: var(--color-bg); color: var(--color-text); box-shadow: 0 1px 0 var(--color-line); }
.site-header.is-solid .site-logo__dark,
.site-header.is-open .site-logo__dark { opacity: 1; }
.site-header.is-solid .site-logo__light,
.site-header.is-open .site-logo__light { opacity: 0; }
.site-header.is-solid .cart-badge { color: var(--color-on-dark); background: var(--color-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; place-items: center;
  height: 80vh; height: min(80svh, 1000px); min-height: 520px;
  overflow: hidden; color: var(--color-on-dark); text-align: center;
  background: var(--color-bg-soft);
}
@media (min-width: 901px) {
  .hero { height: 100vh; height: 100svh; }   /* Desktop: Film füllt den ganzen Bildschirm */
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: center; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__video.is-playing { opacity: 1; }
.hero__video-toggle {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%;
  color: var(--color-on-dark); opacity: .7;
  transition: opacity .3s var(--ease), background .3s var(--ease);
}
.hero__video-toggle[hidden] { display: none; }
.hero__video-toggle:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.hero__video-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero__video-toggle .icon-play { fill: currentColor; stroke: none; display: none; }
.hero__video-toggle.is-paused .icon-play { display: block; }
.hero__video-toggle.is-paused .icon-pause { display: none; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 40%),
    rgba(0, 0, 0, .18);
}
.hero__content { position: relative; padding: var(--header-h) var(--gutter) 0; }
/* Startseite mit heller Kopfzeile (body.header-solid): Film beginnt unter der Kopfzeile und füllt den restlichen Bildschirm */
.header-solid .hero { margin-top: var(--header-h); }
.header-solid .hero__content { padding-top: 0; }
@media (min-width: 901px) {
  .header-solid .hero { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); }
}
.hero__title { font-size: var(--fs-hero); line-height: 1; letter-spacing: -.005em; text-shadow: 0 1px 28px rgba(0, 0, 0, .28); }
.split { display: inline-block; overflow: hidden; vertical-align: top; padding: .18em 0 .08em; margin-top: -.18em; }   /* Platz oben für Akzente (É) */
.split > span { display: inline-block; transform: translateY(105%); animation: curtain 1s var(--ease) forwards; }
.split + .split > span { animation-delay: .15s; }
.hero__tagline {
  margin: 1.1rem auto 0; max-width: 26em; text-wrap: balance;
  font-family: var(--font-accent); font-style: italic; font-weight: var(--fw-regular);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.3;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
  opacity: 0; animation: fade-up 1.2s var(--ease) .6s forwards;
}
.hero__claim {
  margin: .9rem auto 0; max-width: 30em; text-wrap: balance;
  font-size: clamp(.9rem, 1.1vw, 1rem); letter-spacing: .04em; line-height: 1.5;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
  opacity: 0; animation: fade-up 1.2s var(--ease) .9s forwards;
}

@keyframes curtain { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Kategorien ---------- */
.categories__head { padding-top: var(--section-space); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.category { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; color: var(--color-on-dark); }
.category img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.category::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 50%);
  transition: background .5s var(--ease);
}
.category__title { position: absolute; left: 0; right: 0; bottom: 2.2rem; z-index: 1; text-align: center; font-size: var(--fs-h3); }
.category:hover img { transform: scale(1.06); }
.category:hover::after { background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1) 60%); }

/* ---------- Kollektionen / Produkte ---------- */
.collections { background: var(--color-section-alt); }
.collections__more { margin: var(--head-space) 0 0; text-align: center; }
.film { position: relative; width: 100%; aspect-ratio: 848 / 480; max-height: 90vh; overflow: hidden; background: var(--color-dark); }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Desktop: zweiter Film genau so hoch wie der erste (Hero), Kochi 12.11.2026; Handy: so hoch wie die Kategoriebilder (4:3, Kochi 17.11.2026) */
@media (max-width: 900px) { .film { aspect-ratio: 4 / 3; } }
@media (min-width: 901px) {
  .film { aspect-ratio: auto; max-height: none; height: 100vh; height: 100svh; }
  .header-solid .film { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); }
}
/* Text über dem Film, vertikal mittig (Kochi 16.11.2026); drei Zeilen in Schrift und Größe wie über dem ersten Film
   (Titel / Tagline / Claim, vgl. .hero__title/.hero__tagline/.hero__claim); keine Abschattung, nur Textschatten */
.film__text {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 1;
  padding: 0 var(--gutter); color: var(--color-on-dark); text-align: center;
}
.film__line { margin: 0 auto; text-wrap: balance; }
.film__line--title {
  font-family: var(--font-heading); font-weight: var(--fw-heading);
  font-size: var(--fs-hero); line-height: 1; letter-spacing: -.005em; text-shadow: 0 1px 28px rgba(0, 0, 0, .28);
}
.film__line--tagline {
  max-width: 26em; font-family: var(--font-accent); font-style: italic; font-weight: var(--fw-regular);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.3; text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
}
.film__line--claim {
  max-width: 30em; font-size: clamp(.9rem, 1.1vw, 1rem); letter-spacing: .04em; line-height: 1.5;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
}
.headings-caps .film__line--title { text-transform: uppercase; letter-spacing: .08em; }   /* Versalien wie „Aurélie Blanz“ (Kochi 16.11.2026) */
.film__line + .film__line--tagline { margin-top: 1.1rem; }
.film__line + .film__line--claim { margin-top: .9rem; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; text-align: center; margin-bottom: var(--head-space); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 36px); }
/* Desktop: Produktlisten fast über die ganze Breite; Rand links/rechts = Abstand zwischen den Produkten (waagrecht und senkrecht)
   gilt für Startseite, Shop/Kategorien, „Vous aimerez aussi“ und „Les bijoux“ auf den Inhaltsseiten */
@media (min-width: 901px) {
  :root { --grid-edge: clamp(12px, 1.2vw, 20px); }
  .collections > .container, .shop-page > .container { max-width: none; padding-left: var(--grid-edge); padding-right: var(--grid-edge); }
  .product-grid { gap: var(--grid-edge); }
  .product-grid .product__info { min-height: 0; padding-top: .7rem; }   /* sonst reserviert die Karte Platz für zweizeilige Namen und der Abstand zur nächsten Reihe wirkt größer */
}
.product__visual { position: relative; }
.product__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-bg-soft); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
/* Zweites Produktfoto beim Überfahren (nur mit Maus; Option hover_image in ab_product_card) */
.product__media { position: relative; }
.product__media .product__img-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease), transform 1s var(--ease); }
@media (hover: hover) {
  .product:hover .product__media .product__img-hover { opacity: 1; }
}
.product__info { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; min-height: 4.5rem; }
.product__title { font-size: 1rem; line-height: 1.3; }
.product__title a:hover { color: var(--color-accent); }
.product__price { font-size: .95rem; font-weight: var(--fw-medium); white-space: nowrap; }

/* ---------- Kleine Überzeile (Eyebrow) ---------- */
.eyebrow {
  margin: 0 0 1rem;
  font-size: var(--fs-label); font-weight: var(--fw-medium);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--color-accent);
}
section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Le process de création ---------- */
.process__banner {
  position: relative; display: grid; place-items: center;
  height: clamp(420px, 56vw, 720px); overflow: hidden;
  color: var(--color-on-dark); text-align: center;
}
.process__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process__banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.process__banner-text { position: relative; z-index: 1; max-width: 44rem; padding: 0 var(--gutter); text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.process__banner .eyebrow { color: inherit; opacity: .85; }
.process__sub { margin: 1rem 0 0; font-family: var(--font-accent); font-style: italic; font-size: var(--fs-lead); line-height: 1.4; text-wrap: balance; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
  margin: 0; padding: var(--section-space) 0 0; list-style: none;
}
.step__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-bg-soft); }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__media img { transform: scale(1.05); }
.step__num {
  display: block; margin-top: 1.6rem;
  font-family: var(--font-accent); font-style: italic; font-size: 2.1rem; line-height: 1;
  color: var(--color-accent);
}
.step__title { margin: .4rem 0 .5rem; font-size: var(--fs-h3); }
.step__meta { margin-bottom: .9rem; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-muted); }
.step p:last-child { margin: 0; color: var(--color-muted); }

.quote { max-width: 46rem; margin: var(--section-space) auto 0; text-align: center; }
.quote p { margin: 0; font-family: var(--font-accent); font-style: italic; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.4; text-wrap: balance; }
.quote cite {
  display: block; margin-top: 1.4rem; font-style: normal;
  font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-accent);
}
.quote cite::before { content: "— "; }
.process__cta { padding: 2.6rem 0 var(--section-space); text-align: center; }

/* ---------- Profilbild neben dem Namen (Kundenstimmen, ab_avatar() in functions.php) ---------- */
.avatar { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--color-bg-soft); border: 1px solid var(--color-line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar svg { width: 100%; height: 100%; fill: var(--color-muted); opacity: .45; }
.cite-person, .cite-who { display: inline-flex; }
.cite-person { align-items: center; gap: .8em; color: inherit; text-decoration: none; }
.cite-who { flex-direction: column; align-items: flex-start; gap: .15em; text-align: left; }
.cite-handle { font-size: .8rem; letter-spacing: .02em; text-transform: none; color: var(--color-muted); }
.cite-person .avatar { transition: border-color .2s var(--ease); }
.cite-person:hover .avatar, .cite-person:focus-visible .avatar { border-color: var(--color-dark); }
.cite-person:hover .cite-name, .cite-person:focus-visible .cite-name { text-decoration: underline; text-underline-offset: 4px; }

/* Emojis in kursivem Text nicht künstlich schräg stellen (die Emoji-Schrift hat keine Kursive; 11.11.2026).
   Nur hier, weil Libre Baskerville Italic und Montserrat Italic 400 echte Kursivschnitte haben. */
blockquote, q, em, i, .lead, .testimonial p, .a-testimonial p, .c-chapter__lead, .quote, .eyebrow { font-synthesis-style: none; }
@supports not (font-synthesis-style: none) {
  blockquote, q, em, i, .lead, .testimonial p, .a-testimonial p, .c-chapter__lead, .quote, .eyebrow { font-synthesis: weight; }
}

/* ---------- Bewertungen (Startseite) ---------- */
.testimonials__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); margin: 0; padding: 0; list-style: none; }
.testimonial blockquote { margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--color-line); text-align: center; }   /* Text und Name mittig (10.11.2026) */
.testimonial p { margin: 0; font-family: var(--font-accent); font-style: italic; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; }
.testimonial cite {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4em .8em; margin-top: 1.4rem; font-style: normal;
  font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-text);
}
.testimonial cite .cite-place { color: var(--color-muted); }
.testimonial cite .cite-place::before { content: "· "; }
/* Einblenden von rechts nach links, nacheinander */
.js .reveal.reveal--from-right { transform: translateX(48px); }
.js .reveal.reveal--from-right.is-visible { transform: none; }
/* Von rechts eingleitende Kundenstimmen dürfen vor dem Einblenden nicht über den Rand ragen: sonst ist die Seite 48 px zu breit
   (seitlich wischbar, Chrome/Android zoomt heraus). Browser-Test 16.11.2026 */
ul:has(> .reveal--from-right) { overflow-x: clip; }
body { overflow-x: clip; }
.js .testimonial.reveal { transition-duration: 1.2s; }
.js .testimonial:nth-child(1) { transition-delay: 0s !important; }
.js .testimonial:nth-child(2) { transition-delay: .2s !important; }
.js .testimonial:nth-child(3) { transition-delay: .4s !important; }
.js .testimonial:nth-child(4) { transition-delay: .6s !important; }
/* Vier Stimmen in einer Zeile, Rand links/rechts wie bei den Produktlisten (--grid-edge);
   zwischen 901 und 1080 px zwei mal zwei, darunter untereinander */
@media (min-width: 901px) {
  .testimonials > .container { max-width: none; padding-left: var(--grid-edge); padding-right: var(--grid-edge); }
  .testimonials__list:has(> .testimonial:nth-child(4)) { grid-template-columns: repeat(2, 1fr); gap: calc(2 * var(--grid-edge)); }
}
@media (min-width: 1081px) {
  .testimonials__list:has(> .testimonial:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- L'atelier-boutique ---------- */
.atelier { padding: var(--section-space) 0; background: var(--color-section-alt); }
.atelier__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.atelier__media { position: relative; padding: 0 14% 14% 0; }
.atelier__media--single { padding: 0; }   /* ohne kleines Foto */
.atelier__img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% center; }
.atelier__img-detail {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover;
  border: 10px solid var(--color-section-alt);
}
.atelier__lead { font-family: var(--font-accent); font-style: italic; font-size: var(--fs-lead); line-height: 1.4; margin: 1rem 0 1.2rem; }
.atelier__text > p:not(.eyebrow):not(.atelier__lead) { color: var(--color-muted); }
.atelier__info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0 2.4rem; padding-top: 2rem; border-top: 1px solid var(--color-line); }
.atelier__info dt { margin-bottom: .4rem; font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; }
.atelier__info dd { margin: 0; color: var(--color-muted); font-size: .95rem; }
.atelier__text .atelier__more { margin: 1.6rem 0 0; font-size: var(--fs-small); }
/* Link „Google Maps“ unter Adressen (ab_maps_link() in inc/site-info.php) */
.maps-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-size: var(--fs-small); color: var(--color-accent); }
.maps-link svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.maps-link span { text-decoration: underline; text-underline-offset: 3px; }
.maps-link:hover { color: var(--color-text); }
/* Öffnungszeiten (ab_hours_html): je Tagesgruppe ein Block */
.hours { display: block; }
.hours + .hours { margin-top: .6em; }
.hours-today { margin-bottom: .6em; }
.hours-today.is-open::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .45em; border-radius: 50%; background: var(--color-dark); vertical-align: .1em; }
.site-footer .hours-today.is-open::before { background: var(--color-accent); }   /* Punkt: dunkelblau auf hell, türkis im dunkelblauen Footer (Kochi 12.11.2026) */
/* Woche als Tabelle (L’atelier-boutique, ab_hours_table_html) */
.hours-table { border-collapse: collapse; }
.hours-table th, .hours-table td { padding: .15em 1.2em .15em 0; text-align: left; font-weight: inherit; vertical-align: top; }
.hours-table th::first-letter { text-transform: uppercase; }
.hours-table .is-today { font-weight: var(--fw-medium); color: var(--color-text); }
.a-visit__info .hours-table { margin: 0 auto; }   /* Atelier: Spalten sind zentriert */
/* Gespiegelte Variante (Startseite „Création & matières“): Bild rechts, heller Grund */
.atelier--flip { background: var(--color-bg); }
.atelier--flip .atelier__grid { grid-template-columns: 1fr 1.1fr; }
.atelier--flip .atelier__media { order: 2; padding: 0 0 14% 14%; }
.atelier--flip .atelier__img-detail { right: auto; left: 0; border-color: var(--color-bg); }

/* ---------- Parallax + Instagram ---------- */
.instagram { position: relative; padding-bottom: var(--section-space); }
.instagram__band { position: relative; height: clamp(320px, 55vw, 640px); overflow: hidden; }
.instagram__bg {
  position: absolute; inset: -20% 0; background-size: cover; background-position: center;
  will-change: transform;
}
.instagram__box {
  position: relative; z-index: 1;
  width: min(720px, calc(100% - 2 * var(--gutter)));
  margin: clamp(-140px, -10vw, -60px) auto 0;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  background: var(--color-bg); text-align: center;
}
.instagram__title { font-size: var(--fs-h3); margin-bottom: 1.6rem; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.gallery__item { position: relative; display: block; overflow: hidden; aspect-ratio: 1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { color: var(--color-on-dark-muted); font-size: .95rem; }
.site-footer a:hover { color: var(--color-on-dark); }
.site-footer .maps-link { align-items: flex-start; margin-top: .4rem; font-size: inherit; line-height: inherit; color: var(--color-on-dark-muted); }
.site-footer .maps-link svg { margin-top: .3em; }
.site-footer .maps-link:hover { color: var(--color-on-dark); }
.footer-top { background: var(--color-dark); padding: clamp(56px, 8vw, 100px) 0; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.footer-title { font-family: var(--font-base); color: var(--color-on-dark); font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col li { margin-bottom: .35em; }
.footer-avis__slides { display: grid; }
.footer-avis__slide { grid-area: 1 / 1; margin: 0; transition: opacity .6s ease; }
.footer-avis__slide[hidden] { display: block; visibility: hidden; opacity: 0; }
.footer-avis__stars { margin: 0 0 .3rem; color: var(--color-on-dark); letter-spacing: .1em; }
.footer-avis blockquote { margin: 0; }
.footer-avis blockquote p { margin: 0; font-size: var(--fs-small); line-height: 1.6; }   /* kleiner, nicht kursiv (11.11.2026) */
.footer-avis figcaption { margin-top: .4rem; color: var(--color-on-dark); }
.footer-avis__toggle { padding: 0 .1em; border: 0; background: none; font: inherit; color: var(--color-on-dark); cursor: pointer; }
.footer-avis__toggle:hover, .footer-avis__toggle:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
/* AAF-Mitgliedschaft unter den Links der Spalte „Nous“ (Kochi 17.11.2026): offizielles Logo in Weiß, darunter « Adhérente » (Charte, nicht abgedunkelt) */
.aaf-badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 1.6rem; color: var(--color-on-dark-muted); text-decoration: none; transition: color .2s var(--ease); }
.aaf-badge:hover, .aaf-badge:focus-visible { color: var(--color-on-dark); }
.aaf-badge__pre { font-size: var(--fs-small); }
.aaf-badge__logo { display: block; width: 96px; height: auto; }   /* 96 px ≈ 25 mm = kleinste Breite für das normale Logo laut Charte */
.footer-bottom { background: var(--color-darker); padding: 1.6rem 0; font-size: var(--fs-small); }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--color-on-dark); }
.footer-bottom .nowrap a { text-decoration: underline; text-underline-offset: 3px; }   /* Link im Fließtext nicht nur an der Farbe erkennbar (WCAG) */
.footer-bottom a + a { margin-left: 1.5rem; }

/* ---------- Produktseite ---------- */
.product-page { padding-top: var(--header-h); }
.breadcrumb { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; font-size: var(--fs-label); color: var(--color-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a:hover { color: var(--color-accent); }

.product-detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: var(--section-space); }
.pgallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pgallery__item { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--color-bg-soft); cursor: zoom-in; }
.pgallery__item:first-child { grid-column: 1 / -1; }
.pgallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pgallery__item:hover img { transform: scale(1.04); }
.pgallery__dots { display: none; }

.pinfo__inner { position: sticky; top: calc(var(--header-h) + 32px); }
.pinfo__title { font-size: var(--fs-h2); }
.pinfo__price { margin: .8rem 0 0; font-size: 1rem; font-weight: var(--fw-medium); }
.pinfo__lead { margin: 1.2rem 0 0; font-family: var(--font-base); font-style: normal; font-size: 1rem; line-height: 1.45; color: var(--color-muted); }

.pinfo__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--color-line); }
.pinfo__label { margin-bottom: .6rem; font-family: var(--font-base); font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; }
.headings-caps .pinfo__label { letter-spacing: var(--ls-label); }
.pinfo__specs li { font-size: 1rem; color: var(--color-muted); }
/* Métaux: Metalle als kleine Knöpfe, ein Klick zeigt den Erklärtext darunter (assets/js/main.js) */
.pinfo__metals { margin-top: 1.4rem; }
.metal-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.metal__toggle {
  display: inline-flex; align-items: center; gap: .5em; padding: .4em .9em;
  font-size: .875rem; color: var(--color-text); background: var(--color-bg);
  border: 1px solid var(--color-line); border-radius: 999px; cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.metal__toggle:hover, .metal__toggle[aria-expanded="true"] { border-color: var(--color-accent); color: var(--color-accent); }
.metal__toggle:disabled { cursor: default; }
.metal__toggle:disabled .metal__i { display: none; }
.metal__i {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--font-accent); font-style: italic; font-size: 11px; line-height: 1; color: var(--color-accent);
}
.metal__info { margin-top: .8rem; font-size: 1rem; color: var(--color-muted); }   /* ohne Linie und Hintergrund, Schrift wie „Description“ (.accordion__body), Kochi 12.11.2026 */
.metal__info p { margin: 0; color: inherit; }
.metal__info strong { font-weight: inherit; }   /* Name am Anfang nicht fett (Kochi 12.11.2026) */

/* Klappzeilen „Matériaux & taille“ / „Apprêts“ (nur Desktop, main.js „Klappzeilen“, 12.11.2026); am Handy immer offen, ohne Kopfzeile */
.pfold__head { display: none; }
@media (min-width: 901px) {
  .pinfo__folds { margin-top: 2rem; }
  .pfold { border-top: 1px solid var(--color-line); }
  .pfold:last-child { border-bottom: 1px solid var(--color-line); }
  .pfold__head {
    display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; cursor: pointer; list-style: none;
    font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase;
  }
  .pfold__head::-webkit-details-marker { display: none; }
  .pfold__head::after { content: "+"; font-size: 1.2rem; font-weight: 300; transition: transform .3s var(--ease); }
  .pfold[open] .pfold__head::after { transform: rotate(45deg); }
  .pfold .pinfo__specs { margin-top: 0; padding: 0 0 1.3rem; border-top: 0; }
  .pfold .pinfo__metals { margin-top: 0; padding-bottom: 1.3rem; }
  .pfold--metals .pinfo__label { display: none; }   /* Kopfzeile „Apprêts“ ersetzt die Überschrift */
  /* „Matériaux“ / „Taille“ in der Kopfzeile, genau über ihren Spalten; das + steht rechts außen */
  .pfold__head--specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; position: relative; }
  .pfold__head--specs::after { position: absolute; right: 0; top: 50%; translate: 0 -50%; }
  .pfold .pinfo__specs .pinfo__label { display: none; }
}

.pinfo__stock { display: flex; align-items: center; gap: .5rem; margin: 1.8rem 0 1rem; font-size: 1rem; }
/* Preis und Lagerhinweis in einer Zeile (12.11.2026) */
.pinfo__pricerow { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.4rem; margin: .8rem 0 0; }
.pinfo__pricerow .pinfo__price, .pinfo__pricerow .pinfo__stock { margin: 0; }
.pinfo__pricerow .pinfo__stock { align-self: center; font-size: .9rem; color: var(--color-muted); }
.pinfo__stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }

.pinfo__buy { display: flex; gap: 12px; }
.qty { display: flex; align-items: stretch; border: 1px solid var(--color-line); }

.pinfo__desc { margin-top: 2rem; }   /* Description unter dem Warenkorb-Knopf (12.11.2026) */
.pinfo__usps { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; margin: 2rem 0; font-size: .875rem; }
.pinfo__usps li { display: flex; align-items: center; gap: .5rem; }
.pinfo__usps svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--color-accent); stroke-width: 1.4; stroke-linejoin: round; }

.accordion details { border-top: 1px solid var(--color-line); }
.accordion details:last-child { border-bottom: 1px solid var(--color-line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; cursor: pointer; list-style: none;
  font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.2rem; font-weight: 300; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding-bottom: 1.1rem; font-size: 1rem; color: var(--color-muted); }
.accordion__body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(16, 18, 19, .92);
  animation: fade-in .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 88vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; color: #fff; font-size: 2.6rem; line-height: 1; padding: 1rem; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 8px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

@keyframes fade-in { from { opacity: 0; } }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-avis { grid-column: span 2; max-width: 32rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:nth-child(10) { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }

  /* Burger-Menü: unter 1080 px passt das Hauptmenü nicht mehr mit Abstand neben das Logo */
  :root { --header-h: 72px; }
  .site-logo, .site-logo img { height: 40px; }
  .menu-toggle { display: block; }
  .header-icons { margin-left: auto; }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 2rem var(--gutter) 3rem;
    background: var(--color-bg); color: var(--color-text);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .site-header.is-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { flex-direction: column; gap: .4rem; }
  .main-nav__list a { font-family: var(--font-heading); font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: .02em; text-transform: none; }
  .main-nav__contact { display: block; color: var(--color-muted); }
  .main-nav__address { font-family: var(--font-accent); font-style: italic; font-size: 1.2rem; color: var(--color-text); }

  .site-header.is-open .menu-toggle span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .site-header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .menu-toggle span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 56px; max-width: 520px; margin: 0 auto; }
  .testimonials__list { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .step__media { aspect-ratio: 4 / 3; }
  .atelier__grid, .atelier--flip .atelier__grid { grid-template-columns: 1fr; }
  .atelier--flip .atelier__media { order: 0; }
  .atelier__media { max-width: 560px; }
  .product-detail { grid-template-columns: 1fr; }
  .pgallery {
    display: flex; gap: 0; margin: 0 calc(-1 * var(--gutter));
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .pgallery::-webkit-scrollbar { display: none; }
  .pgallery__item { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .pgallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: -8px; }
  .pgallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--color-line); transition: background .3s var(--ease); }
  .pgallery__dots span.is-active { background: var(--color-text); }
  .pinfo__inner { position: static; }
  .category { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:nth-child(10) { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Design-Review 16.11.: Menüspalten nebeneinander ohne Umbruch in Wörtern („L’atelier-boutique“), übrige Spalten volle Breite */
  .footer-col:nth-child(-n+2) a { white-space: nowrap; }
  .footer-col:nth-child(n+3) { grid-column: 1 / -1; }
  .footer-bottom__inner { flex-direction: column; }
  .product__info { flex-direction: column; gap: .2rem; }
  .product__title { min-height: 2.6em; }   /* Platz für zwei Zeilen: Preise einer Reihe auf einer Linie (Design-Review 16.11.) */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .split > span { transform: none; }
}
/* Produktseite: Preis in „Vous aimerez aussi“ wie übriger Text */
.product-page .product__price { font-size: 1rem; }
