/* ==========================================================================
   Inspire Your Golf — Onepager Shop · Komponenten
   Baut ausschließlich auf tokens.css auf.
   ========================================================================== */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--iyg-font-body);
  font-size: var(--iyg-text-md);
  line-height: var(--iyg-leading-body);
  color: var(--iyg-text-on-dark);
  background: var(--iyg-bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
/* iOS Safari ignoriert overflow-x am body: schräges Laufband und ausgeblendeter Warenkorb-Drawer ließen die Seite seitlich wackeln. clip statt hidden, damit kein zweiter Scroll-Container entsteht */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--iyg-focus); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible { outline-color: var(--iyg-fairway-600); }
::selection { background: var(--iyg-powder-400); color: var(--iyg-night-950); }

.container { width: 100%; max-width: var(--iyg-container); margin-inline: auto; padding-inline: var(--iyg-gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-accent { color: var(--iyg-accent); }
.section--light .text-accent { color: var(--iyg-accent-strong); }

/* ---------- Typo-Primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--iyg-text-sm); font-weight: 600; color: var(--iyg-accent-strong);
  margin-bottom: var(--iyg-space-4);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--caps { text-transform: uppercase; letter-spacing: var(--iyg-tracking-caps); font-size: var(--iyg-text-xs); color: var(--iyg-accent); }
.section-title {
  font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--iyg-text-2xl); line-height: var(--iyg-leading-snug); letter-spacing: var(--iyg-tracking-display);
}
.lead { font-size: var(--iyg-text-lg); color: var(--iyg-text-on-light-muted); max-width: 56ch; margin-top: var(--iyg-space-5); }
.lead--on-dark { color: var(--iyg-text-on-dark-muted); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--iyg-section-y); }
.section--light { background: var(--iyg-bg-light); color: var(--iyg-text-on-light); }
.section--dark { background: var(--iyg-bg-dark); color: var(--iyg-text-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--iyg-radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: var(--iyg-text-md); text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform var(--iyg-dur-fast) var(--iyg-ease-out), box-shadow var(--iyg-dur-base) var(--iyg-ease-out), color var(--iyg-dur-base);
}
.btn::after { /* Fill-Wipe beim Hover */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-hover, rgba(255,255,255,.12));
  transform: translateY(101%); transition: transform var(--iyg-dur-base) var(--iyg-ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .6; }
.btn__icon { width: 20px; height: 20px; transition: transform var(--iyg-dur-base) var(--iyg-ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary { --btn-bg: var(--iyg-powder-400); --btn-fg: var(--iyg-night-950); --btn-hover: var(--iyg-powder-300); }
.btn--primary:hover { box-shadow: var(--iyg-glow-powder); }
.btn--dark { --btn-bg: var(--iyg-night-950); --btn-fg: var(--iyg-white); --btn-hover: var(--iyg-fairway-600); }
.btn--ghost { --btn-bd: rgba(242,245,234,.35); --btn-fg: var(--iyg-text-on-dark); }
.btn--link { min-height: 40px; padding: 0; text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.btn--link::after { display: none; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: var(--iyg-text-sm); }
.btn--lg { min-height: 56px; padding: 0 30px; }
.btn--block { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background var(--iyg-dur-fast); }
.icon-btn:hover { background: rgba(127,127,127,.15); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--iyg-night-950); display: grid; place-items: center; align-content: center; gap: 16px; color: var(--iyg-white); }
.preloader__emblem { width: 96px; }
.preloader__count { font-family: var(--iyg-font-display); font-weight: 800; font-size: var(--iyg-text-sm); letter-spacing: .2em; color: var(--iyg-accent); }
.no-js .preloader, .reduced .preloader { display: none; }

/* ---------- Header ---------- */
#brx-header { position: fixed; inset: 0 0 auto; z-index: var(--iyg-z-header); transition: background var(--iyg-dur-base), backdrop-filter var(--iyg-dur-base), transform var(--iyg-dur-slow) var(--iyg-ease-out); }
#brx-header.is-scrolled { background: rgba(2, 8, 5, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
#brx-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: var(--iyg-space-6); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--iyg-white); }
.emblem { width: 44px; height: auto; color: currentColor; }
.brand__word { font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }
.site-nav { display: flex; gap: var(--iyg-space-5); margin-left: auto; }
.site-nav a { position: relative; text-decoration: none; font-size: var(--iyg-text-sm); font-weight: 600; color: var(--iyg-text-on-dark-muted); transition: color var(--iyg-dur-fast); padding-block: 6px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--iyg-accent); transform: scaleX(0); transform-origin: right; transition: transform var(--iyg-dur-base) var(--iyg-ease-out); }
.site-nav a:hover, .site-nav a.is-active { color: var(--iyg-white); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: var(--iyg-space-3); }
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--iyg-border-dark); color: var(--iyg-white); transition: border-color var(--iyg-dur-fast); }
.cart-btn:hover { border-color: var(--iyg-accent); }
.cart-btn svg { width: 22px; height: 22px; }
/* Burger (nur Mobil/Tablet) */
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1.5px solid var(--iyg-border-dark); background: transparent; color: var(--iyg-white); cursor: pointer; transition: border-color var(--iyg-dur-fast); }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--iyg-accent); }
.nav-toggle__line { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--iyg-dur-base) var(--iyg-ease-out); }
.nav-toggle__line:first-child { transform: translateY(-4px); }
.nav-toggle__line:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:last-child { transform: rotate(-45deg); }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--iyg-powder-400); color: var(--iyg-night-950); font-size: 12px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform var(--iyg-dur-base) var(--iyg-ease-swing); }
.cart-btn__count.is-visible { transform: scale(1); }
.scroll-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--iyg-accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 120px 80px; overflow: hidden;
  background: radial-gradient(80% 60% at 75% 70%, rgba(88,125,53,.28), transparent 70%), var(--iyg-bg-dark); }
.powder { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--iyg-space-7); align-items: center; }
.hero__title { font-family: var(--iyg-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--iyg-text-hero); line-height: var(--iyg-leading-tight); letter-spacing: var(--iyg-tracking-display); margin: var(--iyg-space-3) 0 var(--iyg-space-6); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line__inner { display: inline-block; }
.line__inner--outline { color: transparent; -webkit-text-stroke: 2px var(--iyg-powder-400); }
.char { display: inline-block; will-change: transform; }
.hero__lead { font-size: var(--iyg-text-lg); color: var(--iyg-text-on-dark-muted); max-width: 46ch; }
.hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--iyg-space-4); margin-top: var(--iyg-space-6); }
.hero__buy .price { margin-right: var(--iyg-space-3); }
.hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: var(--iyg-space-6) 0 0; font-size: var(--iyg-text-xs); color: var(--iyg-text-on-dark-muted); letter-spacing: .04em; }
.hero__meta li + li::before { content: "·"; margin-right: 20px; color: var(--iyg-accent); }

.price { display: flex; flex-direction: column; line-height: 1.1; }
.price__amount { font-family: var(--iyg-font-display); font-weight: 800; font-size: var(--iyg-text-xl); }
.price__note { font-size: var(--iyg-text-xs); color: var(--iyg-text-on-dark-muted); margin-top: 4px; }
.price__note a { color: inherit; }
.price--xl .price__amount { font-size: var(--iyg-text-3xl); }

/* ---------- 3D Book ---------- */
.hero__book { position: relative; display: grid; place-items: center; perspective: 1800px; min-height: 560px; }
.book3d { --w: min(340px, 62vw); --h: calc(var(--w) * 1.4117); --d: calc(var(--w) * .0723);
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(6deg); will-change: transform; }
.book3d__face { position: absolute; backface-visibility: hidden; }
.book3d__face img { width: 100%; height: 100%; object-fit: cover; }
.book3d__front { inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 6px 6px 2px; overflow: hidden; box-shadow: inset 4px 0 8px rgba(255,255,255,.08); }
.book3d__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.18) 0%, transparent 18%, transparent 70%, rgba(255,255,255,.06) 100%); pointer-events: none; }
.book3d__back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 6px 2px 2px 6px; overflow: hidden; }
.book3d__spine { width: var(--d); height: var(--h); left: calc(50% - var(--d) / 2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.book3d__pages { width: var(--d); height: calc(var(--h) - 6px); top: 3px; left: calc(50% - var(--d) / 2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px));
  background: repeating-linear-gradient(90deg, #f3f2ea 0 1px, #dcdbd2 1px 2px); }
.book3d__top { width: calc(var(--w) - 6px); height: var(--d); top: calc(-1 * var(--d) / 2); transform: rotateX(90deg); background: repeating-linear-gradient(0deg, #f3f2ea 0 1px, #dcdbd2 1px 2px); }
.book3d__shadow { position: absolute; bottom: 4%; width: 60%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); filter: blur(10px); }
.book-hint { position: absolute; bottom: 0; display: inline-flex; gap: 8px; align-items: center; font-size: var(--iyg-text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--iyg-text-on-dark-muted); padding: 8px 14px; border-radius: var(--iyg-radius-pill); border: 1px solid var(--iyg-border-dark); }
.book-hint svg { width: 16px; height: 16px; }
.book-hint:hover { color: var(--iyg-white); border-color: var(--iyg-accent); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--iyg-accent); animation: cue 1.8s var(--iyg-ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--iyg-powder-400); color: var(--iyg-night-950); padding-block: 18px; transform: rotate(-1.2deg) scale(1.02); position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase; font-size: var(--iyg-text-lg); white-space: nowrap; }
.marquee__track i { font-style: normal; font-size: .6em; color: var(--iyg-fairway-600); }

/* ---------- About ---------- */
.about__statement { font-family: var(--iyg-font-display); font-weight: 700; font-size: var(--iyg-text-2xl); line-height: 1.18; max-width: 22ch; max-width: 1000px; }
.about__statement .word { display: inline-block; opacity: .14; margin-right: .22em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--iyg-space-5); margin-top: var(--iyg-space-9); padding-top: var(--iyg-space-7); border-top: 1px solid var(--iyg-border-light); }
.stat__num { display: block; font-family: var(--iyg-font-display); font-weight: 900; font-size: var(--iyg-text-3xl); line-height: 1; color: var(--iyg-fairway-600); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 8px; font-weight: 600; color: var(--iyg-text-on-light-muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--iyg-space-5); margin-top: var(--iyg-space-9); }
.pillar { position: relative; padding: var(--iyg-space-6); background: var(--iyg-white); border-radius: var(--iyg-radius-lg); box-shadow: var(--iyg-shadow-1); overflow: hidden; transition: transform var(--iyg-dur-base) var(--iyg-ease-out), box-shadow var(--iyg-dur-base); }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 72px; background: var(--iyg-fairway-600); border-radius: var(--iyg-radius-tab); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--iyg-shadow-2); }
.pillar__num { font-family: var(--iyg-font-display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--iyg-sage-300); }
.pillar h3 { font-family: var(--iyg-font-display); font-weight: 800; font-size: var(--iyg-text-lg); text-transform: uppercase; margin: var(--iyg-space-4) 0 var(--iyg-space-2); color: var(--iyg-fairway-600); }
.pillar p { color: var(--iyg-text-on-light-muted); }

/* ---------- Chapters (horizontal) ---------- */
.chapters { position: relative; background: var(--iyg-bg-dark); overflow: hidden; }
.chapters__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 96px 64px; gap: var(--iyg-space-7); }
.chapters__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--iyg-space-5); }
.chapters__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.chapters__progress { width: 200px; height: 2px; background: var(--iyg-border-dark); }
.chapters__progress span { display: block; height: 100%; background: var(--iyg-accent); transform: scaleX(0); transform-origin: left; }
.chapters__track { display: flex; gap: var(--iyg-space-5); padding-inline: max(var(--iyg-gutter), calc((100vw - var(--iyg-container)) / 2 + var(--iyg-gutter))); width: max-content; will-change: transform; }
.chapter-card { position: relative; flex: 0 0 auto; width: clamp(280px, 30vw, 400px); aspect-ratio: 3 / 4; border-radius: var(--iyg-radius-lg); overflow: hidden; background: var(--iyg-night-800); isolation: isolate; cursor: pointer; }
.chapter-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform var(--iyg-dur-epic) var(--iyg-ease-out), filter var(--iyg-dur-slow); filter: grayscale(.35) brightness(.72); }
.chapter-card:hover .chapter-card__img { transform: scale(1.0); filter: grayscale(0) brightness(.85); }
.chapter-card--type { background: linear-gradient(160deg, rgba(2,8,5,.2), rgba(2,8,5,.55)), var(--iyg-cover-url) 12% 62% / 260% auto no-repeat, var(--iyg-night-800); }
.chapter-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(2,8,5,0) 30%, rgba(2,8,5,.92) 100%); }
.chapter-card__tab { /* Kapitelreiter aus dem Druck */ position: absolute; top: 0; left: 0; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); padding: 20px 14px 36px; font-family: var(--iyg-font-display); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; background: var(--iyg-fairway-600); color: var(--iyg-white); border-radius: 0 64px 0 0; }
.chapter-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: var(--iyg-space-6); }
.chapter-card__num { font-family: var(--iyg-font-display); font-weight: 900; font-size: 72px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--iyg-powder-400); }
.chapter-card__title { font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase; font-size: var(--iyg-text-xl); line-height: 1.05; margin-top: var(--iyg-space-3); }
.chapter-card__meta { font-size: var(--iyg-text-sm); color: var(--iyg-text-on-dark-muted); margin-top: var(--iyg-space-2); }
.chapter-card__topics { list-style: none; padding: 0; margin: var(--iyg-space-4) 0 0; display: grid; gap: 4px; font-size: var(--iyg-text-sm); max-height: 0; overflow: hidden; opacity: 0; transition: max-height var(--iyg-dur-slow) var(--iyg-ease-out), opacity var(--iyg-dur-base); }
.chapter-card__topics li::before { content: "→ "; color: var(--iyg-accent); }
.chapter-card:hover .chapter-card__topics, .chapter-card:focus-within .chapter-card__topics { max-height: 120px; opacity: 1; }

/* ---------- Peek / Fan ---------- */
.peek { overflow-x: clip; overflow-y: visible; } /* nur seitlich abschneiden (kein Querscrollen), Seitenecken unten sichtbar */
.peek__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--iyg-space-8); align-items: center; }
.peek__copy .btn { margin-top: var(--iyg-space-6); }
.fan { position: relative; height: clamp(360px, 42vw, 540px); perspective: 1400px; }
.fan__page { position: absolute; left: 50%; top: 50%; width: clamp(180px, 20vw, 260px); aspect-ratio: 481.9 / 680; margin-left: calc(clamp(180px, 20vw, 260px) / -2); translate: 0 -50%; border-radius: 4px; overflow: hidden; background: var(--iyg-white); box-shadow: var(--iyg-shadow-2); transform-origin: 50% 120%; cursor: zoom-in; transition: box-shadow var(--iyg-dur-base); }
.fan__page img { width: 100%; height: 100%; object-fit: cover; }
.fan__page:hover { box-shadow: 0 30px 60px rgba(2,12,18,.28); }

/* ---------- TOC ---------- */
.toc { padding-top: 0; }
.toc__head { display: flex; justify-content: space-between; align-items: end; gap: var(--iyg-space-5); flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; width: min(100%, 380px); }
.search svg { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--iyg-text-on-light-muted); pointer-events: none; }
.search input { width: 100%; height: 56px; padding: 0 20px 0 50px; border-radius: var(--iyg-radius-pill); border: 1.5px solid var(--iyg-border-light); background: var(--iyg-white); font: inherit; color: var(--iyg-ink); transition: border-color var(--iyg-dur-fast), box-shadow var(--iyg-dur-fast); }
.search input:focus { outline: none; border-color: var(--iyg-fairway-600); box-shadow: 0 0 0 4px rgba(88,125,53,.15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--iyg-space-6); }
.chip { min-height: 36px; padding: 0 14px; border-radius: var(--iyg-radius-pill); border: 1.5px solid var(--iyg-border-light); font-size: var(--iyg-text-sm); font-weight: 600; color: var(--iyg-text-on-light-muted); transition: all var(--iyg-dur-fast); }
.chip:hover { border-color: var(--iyg-fairway-600); color: var(--iyg-fairway-600); }
.chip[aria-pressed="true"] { background: var(--iyg-fairway-600); border-color: var(--iyg-fairway-600); color: var(--iyg-white); }
.toc__count { margin-top: var(--iyg-space-5); font-size: var(--iyg-text-sm); color: var(--iyg-text-on-light-muted); }
.toc__list { list-style: none; padding: 0; margin: var(--iyg-space-4) 0 0; columns: 2; column-gap: var(--iyg-space-8); }
.toc__group { break-inside: avoid; margin-bottom: var(--iyg-space-6); }
.toc__group h3 { font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase; font-size: var(--iyg-text-sm); letter-spacing: .08em; color: var(--iyg-accent-strong); margin-bottom: var(--iyg-space-2); }
.toc__item { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--iyg-border-light); }
.toc__item span:first-child { flex: 1; }
.toc__item span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--iyg-text-on-light-muted); }
.toc__item mark { background: var(--iyg-powder-300); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- Lexikon Flipcards ---------- */
.lexikon__head { max-width: 760px; }
.flipcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--iyg-space-4); margin-top: var(--iyg-space-8); }
.flipcard { display: block; width: 100%; padding: 0; perspective: 1000px; aspect-ratio: 4 / 5; text-align: left; color: inherit; }
.flipcard__hint { display: block; margin-top: 6px; }
.flipcard__inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform var(--iyg-dur-slow) var(--iyg-ease-swing); }
.flipcard.is-flipped .flipcard__inner { transform: rotateY(180deg); }
.flipcard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--iyg-radius-lg); padding: var(--iyg-space-5); display: flex; flex-direction: column; justify-content: space-between; }
.flipcard__front { background: var(--iyg-night-800); border: 1px solid var(--iyg-border-dark); transform: rotateY(0deg); } /* Safari: Vorderseite braucht eigenes 3D-Transform, sonst verschwindet sie manchmal */
.flipcard__inner { -webkit-transform-style: preserve-3d; }
.flipcard__front strong { font-family: var(--iyg-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--iyg-text-xl); line-height: 1; }
.flipcard__letter { font-family: var(--iyg-font-display); font-weight: 900; font-size: 88px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(197,220,140,.5); }
.flipcard__hint { font-size: var(--iyg-text-xs); color: var(--iyg-text-on-dark-muted); letter-spacing: .1em; text-transform: uppercase; }
.flipcard__back { background: var(--iyg-powder-400); color: var(--iyg-night-950); transform: rotateY(180deg); }
.flipcard__back strong { font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase; }
.flipcard__back p { font-size: var(--iyg-text-sm); line-height: 1.45; }

/* ---------- Author ---------- */
.author__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--iyg-space-8); align-items: center; }
.author__visual { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--iyg-radius-lg); overflow: hidden; }
.author__visual img { width: 100%; height: 120%; object-fit: cover; }
.author__badge { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: baseline; gap: 10px; padding: 14px 20px; border-radius: var(--iyg-radius-md); background: rgba(2,8,5,.75); backdrop-filter: blur(8px); color: var(--iyg-white); }
.author__badge strong { font-family: var(--iyg-font-display); font-size: 36px; line-height: 1; color: var(--iyg-accent); }
.quote { margin: var(--iyg-space-6) 0 0; padding-left: var(--iyg-space-5); border-left: 3px solid var(--iyg-fairway-600); }
.quote p { font-style: italic; font-size: var(--iyg-text-lg); color: var(--iyg-ink-soft); }
.quote__source { display: block; font-style: normal; margin-top: 8px; font-size: var(--iyg-text-sm); color: var(--iyg-text-on-light-muted); }
.signature { width: 220px; margin-top: var(--iyg-space-5); color: var(--iyg-fairway-600); }

/* ---------- Buy / Product ---------- */
.buy { overflow: hidden; }
.buy__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--iyg-space-8); align-items: center; }
.buy__visual { position: relative; justify-self: center; width: min(420px, 80%); transform-style: preserve-3d; perspective: 1000px; }
.buy__cover { border-radius: 4px 10px 10px 4px; box-shadow: var(--iyg-shadow-book); }
.buy__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.22), transparent 45%); mix-blend-mode: overlay; }
.product__title { font-family: var(--iyg-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--iyg-text-3xl); line-height: .95; }
.product__sub { margin: var(--iyg-space-3) 0 var(--iyg-space-6); color: var(--iyg-text-on-dark-muted); }
.stock { display: flex; align-items: center; gap: 10px; margin: var(--iyg-space-5) 0; font-size: var(--iyg-text-sm); font-weight: 600; color: var(--iyg-powder-300); }
.stock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--iyg-success); box-shadow: 0 0 0 0 rgba(111,154,67,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(111,154,67,0); } 100% { box-shadow: 0 0 0 0 rgba(111,154,67,0); } }
.cart-form { display: flex; gap: var(--iyg-space-3); }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: var(--iyg-radius-pill); border: 1.5px solid var(--iyg-border-dark); }
.qty__btn { width: 48px; height: 100%; font-size: 22px; color: var(--iyg-text-on-dark); border-radius: var(--iyg-radius-pill); }
.qty__btn:hover { color: var(--iyg-accent); }
.qty__input { width: 44px; text-align: center; background: none; border: 0; color: inherit; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty:focus-within { border-color: var(--iyg-accent); }
.usp { list-style: none; padding: 0; margin: var(--iyg-space-6) 0 0; display: grid; gap: 12px; }
.usp li { display: flex; align-items: center; gap: 12px; font-size: var(--iyg-text-sm); color: var(--iyg-text-on-dark-muted); }
.usp svg { width: 22px; height: 22px; color: var(--iyg-accent); flex: none; }
.product__details { margin-top: var(--iyg-space-6); border-top: 1px solid var(--iyg-border-dark); padding-top: var(--iyg-space-4); }

/* ---------- FAQ / Accordion ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--iyg-space-8); }
.accordion__item { border-bottom: 1px solid var(--iyg-border-light); }
.accordion__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--iyg-space-4); padding: var(--iyg-space-5) 0; text-align: left; font-family: var(--iyg-font-display); font-weight: 700; font-size: var(--iyg-text-lg); color: var(--iyg-ink); }
.accordion__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--iyg-border-light); transition: background var(--iyg-dur-base), border-color var(--iyg-dur-base); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform var(--iyg-dur-base) var(--iyg-ease-out); }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { background: var(--iyg-fairway-600); border-color: var(--iyg-fairway-600); color: var(--iyg-white); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); }
.accordion__panel { height: 0; overflow: hidden; }
.accordion__inner { padding-bottom: var(--iyg-space-5); color: var(--iyg-text-on-light-muted); max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--iyg-night-950); padding-block: var(--iyg-space-9) var(--iyg-space-6); overflow: hidden; }
.site-footer__big { font-family: var(--iyg-font-display); font-weight: 900; text-transform: uppercase; font-size: var(--iyg-text-hero); line-height: .9; color: var(--iyg-night-700); }
.site-footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--iyg-space-5); margin-top: var(--iyg-space-8); padding-top: var(--iyg-space-5); border-top: 1px solid var(--iyg-border-dark); font-size: var(--iyg-text-sm); color: var(--iyg-text-on-dark-muted); }
.brand--footer { color: var(--iyg-text-on-dark-muted); }
.brand--footer .emblem { width: 36px; color: var(--iyg-white); }
.site-legal { display: flex; flex-wrap: wrap; gap: var(--iyg-space-5); }
.site-legal a { text-decoration: none; }
.site-legal a:hover { color: var(--iyg-accent); }

/* ---------- Sticky Buy Bar ---------- */
.buybar { position: fixed; left: 50%; bottom: 20px; z-index: var(--iyg-z-sticky-buy); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; border-radius: var(--iyg-radius-pill); background: rgba(12,29,20,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--iyg-border-dark); box-shadow: 0 20px 50px rgba(0,0,0,.4); transform: translate(-50%, 140%); transition: transform var(--iyg-dur-slow) var(--iyg-ease-out); }
.buybar.is-visible { transform: translate(-50%, 0); }
.buybar__thumb { width: 34px; height: 48px; object-fit: cover; border-radius: 3px; }
.buybar__text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; font-size: var(--iyg-text-sm); padding-right: 6px; }
.buybar__text span { color: var(--iyg-accent); font-weight: 700; }

/* ---------- Drawer (Mini-Cart) ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: var(--iyg-z-drawer); background: rgba(2,8,5,.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity var(--iyg-dur-base), visibility var(--iyg-dur-base); }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: calc(var(--iyg-z-drawer) + 1); width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--iyg-paper); color: var(--iyg-ink); transform: translateX(100%); transition: transform var(--iyg-dur-slow) var(--iyg-ease-out); }
.drawer { visibility: hidden; transition: transform var(--iyg-dur-slow) var(--iyg-ease-out), visibility 0s linear var(--iyg-dur-slow); }
.drawer.is-open { transform: translateX(0); visibility: visible; transition: transform var(--iyg-dur-slow) var(--iyg-ease-out), visibility 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: var(--iyg-space-5) var(--iyg-space-5) var(--iyg-space-4); }
.drawer__head h2 { font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase; font-size: var(--iyg-text-lg); }
.shipbar { margin: 0 var(--iyg-space-5); padding: var(--iyg-space-4); background: var(--iyg-white); border-radius: var(--iyg-radius-md); font-size: var(--iyg-text-sm); font-weight: 600; }
.shipbar__track { position: relative; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--iyg-sage-100); }
.shipbar__track span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: var(--iyg-fairway-600); transition: width var(--iyg-dur-slow) var(--iyg-ease-out); }
.shipbar__ball { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--iyg-white); box-shadow: 0 1px 4px rgba(0,0,0,.3), inset -2px -2px 3px rgba(0,0,0,.12); transition: left var(--iyg-dur-slow) var(--iyg-ease-out); }
.drawer__body { flex: 1; overflow: auto; padding: var(--iyg-space-5); }
.cart-empty { text-align: center; color: var(--iyg-text-on-light-muted); padding-top: var(--iyg-space-8); }
.cart-empty svg { width: 90px; margin: 0 auto var(--iyg-space-4); color: var(--iyg-sage-300); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--iyg-space-4); align-items: center; padding-bottom: var(--iyg-space-4); border-bottom: 1px solid var(--iyg-border-light); }
.cart-item img { width: 64px; border-radius: 3px; box-shadow: var(--iyg-shadow-1); }
.cart-item__title { font-weight: 700; }
.cart-item__meta { font-size: var(--iyg-text-sm); color: var(--iyg-text-on-light-muted); }
.cart-item .qty { height: 36px; margin-top: 8px; border-color: var(--iyg-border-light); }
.cart-item .qty__btn { width: 34px; font-size: 18px; color: var(--iyg-ink); }
.cart-item .qty__input { width: 28px; }
.cart-item__price { font-weight: 700; text-align: right; }
.cart-item__remove { display: block; margin-top: 6px; font-size: var(--iyg-text-xs); color: var(--iyg-text-on-light-muted); text-decoration: underline; }
.drawer__foot { padding: var(--iyg-space-5); border-top: 1px solid var(--iyg-border-light); display: grid; gap: var(--iyg-space-3); background: var(--iyg-white); }
.drawer__row { display: flex; justify-content: space-between; font-size: var(--iyg-text-lg); }
.drawer__legal { font-size: var(--iyg-text-xs); color: var(--iyg-text-on-light-muted); margin-top: -8px; }
.drawer__foot .btn--primary { --btn-bg: var(--iyg-night-950); --btn-fg: var(--iyg-white); --btn-hover: var(--iyg-fairway-600); }

/* ---------- Reader ---------- */
.reader { position: fixed; inset: 0; z-index: var(--iyg-z-lightbox); display: grid; grid-template-rows: 1fr auto; background: rgba(2,8,5,.94); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity var(--iyg-dur-base), visibility var(--iyg-dur-base); }
.reader.is-open { opacity: 1; visibility: visible; }
.reader__close { position: absolute; top: 16px; right: 16px; color: var(--iyg-white); z-index: 2; font-size: 18px; }
.reader__stage { display: flex; align-items: center; justify-content: center; gap: var(--iyg-space-5); padding: 64px 16px 16px; perspective: 2000px; min-height: 0; }
.reader__book { height: min(78vh, 900px); aspect-ratio: 481.9 / 680; max-width: calc(100vw - 150px); transform-style: preserve-3d; }
.reader__page { width: 100%; height: 100%; object-fit: contain; background: var(--iyg-white); border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform-origin: left center; }
.reader__nav { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--iyg-border-dark); color: var(--iyg-white); font-size: 28px; line-height: 1; flex: none; }
.reader__nav:hover { border-color: var(--iyg-accent); color: var(--iyg-accent); }
.reader__foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 16px 24px; font-size: var(--iyg-text-sm); color: var(--iyg-text-on-dark-muted); }
.reader__dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.reader__dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); transition: all var(--iyg-dur-fast); }
.reader__dots button[aria-current="true"] { background: var(--iyg-accent); width: 22px; border-radius: 4px; }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 88px; left: 50%; z-index: var(--iyg-z-toast); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--iyg-radius-pill); background: var(--iyg-white); color: var(--iyg-ink); font-weight: 600; font-size: var(--iyg-text-sm); box-shadow: var(--iyg-shadow-2); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: all var(--iyg-dur-base) var(--iyg-ease-out); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
/* left:50% halbiert sonst die verfügbare Breite: Text bricht um, Häkchen wird oval */
.toast { width: max-content; max-width: calc(100vw - 32px); line-height: 1.3; }
.toast::before { flex-shrink: 0; }
.toast::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--iyg-fairway-600); color: var(--iyg-white); font-size: 12px; }

/* ---------- Cursor (nur Desktop) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--iyg-white); pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: width var(--iyg-dur-base) var(--iyg-ease-out), height var(--iyg-dur-base) var(--iyg-ease-out), margin var(--iyg-dur-base) var(--iyg-ease-out); }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Fliegendes Buch (Add-to-Cart) */
.fly-book { position: fixed; z-index: 9998; width: 60px; border-radius: 3px; box-shadow: var(--iyg-shadow-2); pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); margin: 0; padding: var(--iyg-space-6) 24px calc(var(--iyg-space-8) + env(safe-area-inset-bottom)); flex-direction: column; justify-content: flex-start; gap: 4px; overflow-y: auto; overscroll-behavior: contain; background: var(--iyg-night-950); opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path var(--iyg-dur-slow) var(--iyg-ease-out), opacity var(--iyg-dur-base), visibility 0s linear var(--iyg-dur-slow); }
  .site-nav a { font-family: var(--iyg-font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 8vw, 44px); line-height: 1.1; letter-spacing: .01em; color: var(--iyg-white); padding-block: 14px; border-bottom: 1px solid var(--iyg-border-dark); opacity: 0; transform: translateY(16px); transition: opacity var(--iyg-dur-base), transform var(--iyg-dur-slow) var(--iyg-ease-out), color var(--iyg-dur-fast); }
  .site-nav a::after { display: none; }
  .site-nav a:hover, .site-nav a.is-active { color: var(--iyg-accent); }
  html.nav-open .site-nav { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path var(--iyg-dur-slow) var(--iyg-ease-out), opacity var(--iyg-dur-base), visibility 0s; }
  html.nav-open .site-nav a { opacity: 1; transform: none; }
  html.nav-open .site-nav a:nth-child(2) { transition-delay: 40ms; }
  html.nav-open .site-nav a:nth-child(3) { transition-delay: 80ms; }
  html.nav-open .site-nav a:nth-child(4) { transition-delay: 120ms; }
  html.nav-open .site-nav a:nth-child(5) { transition-delay: 160ms; }
  html.nav-open #brx-header { background: var(--iyg-night-950); transform: none; }
  .hero__grid, .peek__grid, .author__grid, .buy__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .hero__book { min-height: 380px; order: -1; }
  .book3d__shadow { bottom: 12%; }
  .book3d { --w: min(240px, 56vw); }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--iyg-space-7); }
  .flipcards { grid-template-columns: repeat(2, 1fr); }
  .toc__list { columns: 1; }
  .buy__visual { width: min(300px, 70%); }
}
@media (max-width: 767px) {
  .hide-sm { display: none; }
  .chapters__pin { min-height: auto; }
  .chapters__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: none; }
  .chapters__track::-webkit-scrollbar { display: none; }
  .chapter-card { scroll-snap-align: center; width: 78vw; }
  .chapter-card__topics { max-height: 120px; opacity: 1; }
  .chapters__progress { display: none; }
  .cart-form { flex-direction: column; }
  .qty { align-self: flex-start; }
  .hero__buy .btn { flex: 1 1 auto; }
  .reader__nav { position: absolute; bottom: 90px; }
  .reader__nav--prev { left: 16px; } .reader__nav--next { right: 16px; }
  .reader__book { max-width: calc(100vw - 32px); height: auto; width: 100%; }
  .buybar { left: 16px; right: 16px; transform: translateY(140%); justify-content: space-between; }
  .buybar.is-visible { transform: translateY(0); }
  .buybar { background: var(--iyg-night-900); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 478px) {
  .flipcards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flipcard__letter { font-size: 56px; }
  .flipcard__face { padding: 16px; }
  .flipcard__back p { font-size: 13px; }
  .flipcard__front strong { font-size: clamp(17px, 5.4vw, 22px); }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .about__statement .word { opacity: 1; }
}

/* ---------- Icons (CSS-Masken, im Builder sichtbar, färben sich mit currentColor) ---------- */
.icon { display: inline-block; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon--arrow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon--cart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 7h12l-1 13H7L6 7Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E"); }
.icon--rotate { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 0 1 14-5.3M20 12a8 8 0 0 1-14 5.3M18 3v4h-4M6 21v-4h4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon--search { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='m20 20-3.5-3.5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon--truck { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='18' r='1.8'/%3E%3Ccircle cx='17' cy='18' r='1.8'/%3E%3C/svg%3E"); }
.icon--gift { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 10h16v10H4zM2 6h20v4H2zM12 6v14M12 6c-2-4-6-4-6-1s6 1 6 1 6 2 6-1-4-3-6 1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon--lock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E"); }
.icon--emblem { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cpath d='M62 8 58 54' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M62 8l14 4.5-13 3.2z'/%3E%3Cpath fill-rule='evenodd' d='M60 36c20 0 34 9 34 20s-14 20-34 20-34-9-34-20 14-20 34-20Zm0 10c-11 0-18 4.4-18 10s7 10 18 10 18-4.4 18-10-7-10-18-10Z'/%3E%3Cellipse cx='60' cy='56' rx='5.5' ry='3.2'/%3E%3Cpath d='M14 56h22M84 56h22' stroke='%23000' stroke-width='2.6'/%3E%3C/svg%3E"); }
.emblem.icon { width: 44px; height: auto; aspect-ratio: 3 / 2; }

/* ==========================================================================
   WordPress / Bricks – Anpassungen an die Element-Wrapper
   ========================================================================== */
:root {
  --iyg-font-display: "Brother 1816", "Outfit", system-ui, sans-serif;
  --iyg-font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}
/* Bricks-Sections sind zentrierte Flex-Spalten – hier volle Breite */
.brxe-section.section, .brxe-section.chapters, .brxe-section.marquee { align-items: stretch; }
.brxe-section.hero { flex-direction: row; flex-wrap: nowrap; }
.brxe-section.hero > .container { flex: 1; }
#brx-content > .marquee { width: auto; }
.container { box-sizing: border-box; }
.hero__title .line__inner, .hero__title .line { font: inherit; }
.hero__title .line { display: block; }
.book3d__face img { max-width: none; }
.price__amount, .price__note { display: block; }
.stat__num, .stat__label { display: block; }
.pillar__num { display: block; }
.author__visual img.brxe-image { width: 100%; height: 120%; object-fit: cover; }
.quote__source { margin-top: 8px; font-size: var(--iyg-text-sm); color: var(--iyg-text-on-light-muted); }
.site-footer__big { display: block; }
/* Emblem in Marke / Footer */
.brand .icon--emblem { width: 44px; height: 30px; }
.brand--footer .icon--emblem { width: 36px; height: 24px; color: var(--iyg-white); }
/* Buttons: Icon */
.btn__icon.icon { width: 20px; height: 20px; }
.cart-btn .icon { width: 22px; height: 22px; }
.book-hint .icon { width: 16px; height: 16px; }
.usp .icon { width: 22px; height: 22px; color: var(--iyg-accent); }
.search .icon { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--iyg-text-on-light-muted); pointer-events: none; }
/* Produktdetails (ohne details/summary, damit im Builder editierbar) */
.product__details-title { font-weight: 700; margin-bottom: var(--iyg-space-4); }
.product__dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 16px; font-size: var(--iyg-text-sm); }
.product__dl .dt { color: var(--iyg-text-on-dark-muted); }
/* Signatur (SVG wird per JS eingesetzt) */
.signature svg { width: 100%; height: auto; display: block; }
/* Header auf Unterseiten (Warenkorb, Kasse, Rechtliches): immer mit Hintergrund */
body:not(.iyg-home) #brx-header { background: var(--iyg-night-950); }
body:not(.iyg-home) #brx-content { padding-top: 72px; }
/* Im Builder: Overlays und Intro-Zustände nicht anzeigen */
.brx-body.iframe #brx-header { position: relative; }
.cart-empty .icon--emblem { display: block; width: 90px; height: 60px; margin: 0 auto var(--iyg-space-4); color: var(--iyg-sage-300); }
.preloader__emblem { width: 96px; height: 64px; color: var(--iyg-white); }
/* Hero-Titel: Wörter nie umbrechen, Größe an die Textspalte koppeln ("INSPIRE" ≈ 3,9em breit) */
.hero__copy { container-type: inline-size; min-width: 0; }
.hero__title { font-size: min(var(--iyg-text-hero), 24cqi); }
.hero__title .line__inner { white-space: nowrap; }
/* Angemeldet: Header unter die WordPress-Adminleiste schieben */
.admin-bar #brx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #brx-header { top: 46px; } }
/* Sticky-Kaufleiste: Buch nicht an der runden Kante */
.buybar { padding: 8px 8px 8px 20px; gap: 16px; }
.buybar__thumb { border-radius: 4px; }

/* Leseprobe: Pfeile mittig im Kreis */
.icon--chev-left { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5l-7 7 7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon--chev-right { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.reader__nav { display: grid; place-items: center; padding: 0; font-size: 0; }
.reader__nav .icon { width: 24px; height: 24px; }
.reader__close, .icon-btn { padding: 0; line-height: 1; }
/* Mengenfeld: kein fremder Innenabstand, Zahl immer vollständig */
.qty__input { padding: 0; min-width: 2ch; }
.cart-item .qty__input { width: 32px; }
/* Mini-Warenkorb: Cover vollständig (Hochformat) */
.cart-item img { width: 64px; height: auto; aspect-ratio: 17 / 24; object-fit: contain; }
/* Mini-Warenkorb auf schmalen Displays: Preis unter den Titel statt an den Rand */
@media (max-width: 420px) {
  .cart-item { grid-template-columns: 56px 1fr; align-items: start; }
  .cart-item img { width: 56px; }
  .cart-item__price { grid-column: 2; display: flex; align-items: baseline; gap: var(--iyg-space-4); text-align: left; }
  .cart-item__remove { margin-top: 0; }
}
/* Angemeldet: Warenkorb und Leseprobe unter der Adminleiste beginnen lassen */
.admin-bar .drawer, .admin-bar .reader { top: 32px; }
@media (max-width: 782px) { .admin-bar .drawer, .admin-bar .reader { top: 46px; } }
/* Mengenwahl: +/− mittig im Button (Bricks setzt text-align: start) */
.qty { justify-content: center; padding: 0 4px; }
.qty__btn { display: grid; place-items: center; padding: 0; text-align: center; line-height: 1; }

/* ==========================================================================
   Logo: exakte Pfade aus der Cover-Druckdatei (assets/logo/iyg-logo.svg)
   Seitenverhältnis 22.134 : 18.948 (≈ 1,17 : 1)
   ========================================================================== */
.icon--emblem { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 22.134 18.948%22 fill=%22%23000%22%3E%3Cpath d=%22M8.773 18.815L8.265 18.815L8.928 15.805C4.147 15.232 1.638 13.637 2.409 10.243L0.133 10.243L0.133 9.786L5.392 9.786C5.142 11.642 6.424 12.856 9.922 13.138L8.773 18.815M5.635 9.138L3.039 9.138C4.554 7.031 7.258 5.762 11.259 5.406L12.43 0.133L12.872 0.133L11.447 6.471C8.779 6.53 6.761 7.328 5.635 9.138M12.191 5.349C15.647 5.626 18.365 6.562 19.247 9.138L16.566 9.138C16.388 7.616 14.969 6.657 11.984 6.409L12.191 5.349M10.438 13.146C13.559 13 15.759 12.022 16.566 9.786L22.001 9.786L22.001 10.198L19.335 10.198C18.618 13.593 15.425 15.416 9.922 15.773L10.438 13.146%22 stroke=%22%23000%22 stroke-width=%220.266%22 stroke-linejoin=%22miter%22/%3E%3Cpath d=%22M13.386 0.155L15.769 1.137L13.023 1.851L13.386 0.155%22 stroke=%22%23000%22 stroke-width=%220.133%22 stroke-linejoin=%22miter%22/%3E%3Cpath d=%22M14.191 9.159C14.141 8.303 13.056 7.66 11.642 7.569L11.415 8.718L11.357 8.718C11.665 8.77 11.887 8.925 11.899 9.123C11.914 9.389 11.545 9.631 11.073 9.665C10.602 9.698 10.207 9.509 10.191 9.244C10.177 9.003 10.479 8.782 10.886 8.718L10.885 8.718L11.108 7.56C11.037 7.563 10.966 7.566 10.894 7.571C9.131 7.695 7.75 8.608 7.808 9.61C7.867 10.612 9.343 11.323 11.106 11.198C12.868 11.073 14.25 10.161 14.191 9.159%22/%3E%3C/svg%3E"); aspect-ratio: 22.134 / 18.948; }
.brand .icon--emblem { width: 38px; height: auto; }
.brand--footer .icon--emblem { width: 32px; height: auto; }
.preloader__emblem.icon--emblem { width: 88px; height: auto; }
.cart-empty .icon--emblem { width: 76px; height: auto; }
/* Unterseiten (Rechtliches, Shop): heller Grund, dunkle Schrift */
body:not(.iyg-home) { background: var(--iyg-paper); color: var(--iyg-ink); }
/* WooCommerce-Ausgaben vor dem Bricks-Template (Bricks-Container .before-checkout / .before-cart) */
#brx-content .brxe-container.before-checkout, #brx-content .brxe-container.before-cart {
  width: 100%; max-width: 1180px; margin: var(--iyg-space-7) auto calc(-1 * var(--iyg-space-8)); padding: 0 var(--iyg-gutter); position: relative; z-index: 1;
}
#brx-content .before-checkout .woocommerce-info, #brx-content .before-cart .woocommerce-info,
#brx-content .before-checkout .woocommerce-message, #brx-content .before-cart .woocommerce-message, #brx-content .before-checkout .woocommerce-error, #brx-content .before-cart .woocommerce-error {
  margin: 0 0 var(--iyg-space-3); padding: 14px 18px; border: 0; border-radius: var(--iyg-radius-md);
  background: var(--iyg-white); color: var(--iyg-ink); box-shadow: var(--iyg-shadow-1); font-size: var(--iyg-text-sm);
}
#brx-content .before-checkout .woocommerce-error, #brx-content .before-cart .woocommerce-error { color: var(--iyg-danger); }
#brx-content .before-checkout .woocommerce-info::before, #brx-content .before-checkout .woocommerce-message::before { display: none; }
#brx-content .before-checkout a { color: var(--iyg-fairway-700); font-weight: 600; }
#brx-content .before-checkout form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: var(--iyg-space-3) 0 0; padding: 0; border: 0; }
#brx-content .before-checkout form.checkout_coupon p { margin: 0; }
#brx-content .before-checkout form.checkout_coupon .input-text { min-height: 48px; padding: 0 16px; border: 1.5px solid var(--iyg-border-light); border-radius: var(--iyg-radius-pill); background: var(--iyg-white); font: inherit; }
#brx-content .before-checkout form.checkout_coupon .button { min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--iyg-radius-pill); background: var(--iyg-night-950); color: var(--iyg-white); font-weight: 700; cursor: pointer; }
/* Hinweise (Info, Erfolg, Fehler, Gutschein …): nirgends ein Rahmen/Streifen – auch nicht aus WooCommerce, Bricks oder Germanized */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice,
.wc-block-components-notice-banner, .wc-gzd-notice, .woocommerce-NoticeGroup .woocommerce-error {
  border: 0 !important; border-left: 0 !important; border-top: 0 !important;
}
/* 3D-Buch: mit Maus/Finger drehbar; „Buch drehen“ mit Abstand unter dem Buch */
.hero__book { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero__book.is-dragging { cursor: grabbing; }
.hero__book img { pointer-events: none; -webkit-user-drag: none; }
.book-hint { bottom: -40px; cursor: pointer; }
@media (max-width: 991px) { .hero__book { margin-bottom: 44px; } }
/* Widerrufsbutton (§ 356a BGB): im Footer hervorgehoben statt als normaler Textlink */
.site-legal .site-legal__withdraw {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; margin: -6px 0;
  border: 1.5px solid var(--iyg-accent); border-radius: var(--iyg-radius-pill);
  color: var(--iyg-accent); font-weight: 700;
}
.site-legal .site-legal__withdraw:hover { background: var(--iyg-accent); color: var(--iyg-night-950); }
/* Footer-Zeile: festes Raster statt zufälligem Umbruch */
.site-footer__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--iyg-space-4) var(--iyg-space-6); }
.site-footer__row .brand--footer { align-items: center; }
.site-legal { align-items: center; gap: var(--iyg-space-2) var(--iyg-space-5); }
@media (max-width: 1199px) {
  .site-footer__row { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .site-legal { gap: var(--iyg-space-3) var(--iyg-space-4); }
  .site-legal .site-legal__withdraw { margin: 0; }
}
/* „Das Buch“-Statement: Scroll-Effekt über Farbe statt Deckkraft (Kontrast 3,6:1 auf Papierweiß) */
.about__statement .word { opacity: 1; color: #7d877f; }
.reduced .about__statement .word, .no-js .about__statement .word { color: inherit; }
/* Zitatquelle: lesbares Grau (Kontrast ≥ 4,5:1) */
.quote .quote__source { color: var(--iyg-text-on-light-muted); opacity: 1; }
/* ==========================================================================
   Preloader – reines CSS: Emblem, Zähler 0→100, Vorhang nach oben (~1,1 s)
   Nur beim ersten Besuch pro Sitzung (html.iyg-seen setzt ein Inline-Skript im <head>)
   ========================================================================== */
@property --iyg-pre { syntax: '<integer>'; inherits: false; initial-value: 0; }
.preloader {
  display: grid; clip-path: inset(0 0 0 0); pointer-events: none;
  animation: iyg-pre-wipe .45s cubic-bezier(.65, 0, .35, 1) .7s forwards;
}
.preloader__emblem.icon--emblem { animation: iyg-pre-pop .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.preloader__count { font-size: 0; }
.preloader__count::after {
  content: counter(iyg-pre); counter-reset: iyg-pre var(--iyg-pre);
  font-size: var(--iyg-text-sm); animation: iyg-pre-count .7s cubic-bezier(.45, 0, .55, 1) forwards;
}
@keyframes iyg-pre-count { to { --iyg-pre: 100; } }
@keyframes iyg-pre-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes iyg-pre-wipe { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.iyg-seen .preloader { display: none; }
@media (prefers-reduced-motion: reduce) { .preloader { display: none; } }
/* Fächer ragt nach unten über die Section – über dem nächsten Abschnitt liegen */
.peek { position: relative; z-index: 2; }
.fan { cursor: pointer; }
/* Fächer etwas kompakter, damit er nicht über die Überschrift / den Bildschirmrand ragt */
.fan__page { width: clamp(160px, 16.5vw, 240px); margin-left: calc(clamp(160px, 16.5vw, 240px) / -2); }
.accordion__inner a { color: var(--iyg-fairway-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Kasse: Kartenfelder (PayPal) ohne Fieldset-Rahmen, volle Breite ---------- */
#payment .payment_box .wc-credit-card-form { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
#payment .payment_box .wc-credit-card-form .form-row { width: auto; float: none; margin: 0 0 12px; padding: 0; }
#payment .payment_box .wc-credit-card-form .form-row-wide { grid-column: 1 / -1; }
#payment .payment_box .wc-credit-card-form .clear { display: none; }
#payment .payment_box .wc-credit-card-form .form-row:nth-last-of-type(-n+2) { margin-bottom: 0; }
#payment .payment_box .wc-credit-card-form { align-items: end; }
@media (max-width: 767px) {
  #payment ul.payment_methods li.payment_method_ppcp-credit-card-gateway { padding-inline: 12px !important; }
  #payment .payment_box.payment_method_ppcp-credit-card-gateway { padding: 12px !important; }
}
