/* VA·RU – WordPress-Theme, Gestaltung aus Fassung 5b (Grundlage: Richtungsrunde 1, Variante A)
   Helle neutrale Flächen, anthrazitfarbene Schrift, fast schwarze Kaufbuttons. Kein Blau in der Oberfläche;
   das Logo behält seine Originalfarben. Schriften lokal (OFL): Libre Caslon Display, Hanken Grotesk. */

@font-face {
  font-family: "Libre Caslon Display";
  src: url("../fonts/libre-caslon-display-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #F8F7F5;
  --surface: #EFEEEB;
  --white: #FFFFFF;
  --ink: #2A2A29;
  --ink-2: #5E5D5A;
  --line: #DAD8D3;
  --surface-2: #E8E6E2;
  --buy: #151515;
  --buy-hover: #343433;
  --serif: "Libre Caslon Display", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1320px;
  --header-h: 72px;
  --strip-h: 28px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--buy); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.proto-strip .strip-short { display: none; }
.proto-strip {
  height: var(--strip-h); display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter);
  background: var(--surface); color: var(--ink-2); font-size: 12.5px; line-height: 1.3; text-align: center;
}

.media-note { font-size: 12px; line-height: 1.4; color: var(--ink-2); margin-top: 10px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.button:active { transform: scale(0.97); }
.button--buy { background: var(--buy); color: var(--white); }
.button--buy:disabled { background: #8F8E8B; cursor: not-allowed; transform: none; }
.button--hero { background: var(--white); color: var(--ink); }
.button--hero:focus-visible { outline-color: var(--white); }
.button--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.button--outline:disabled { color: #8F8E8B; box-shadow: inset 0 0 0 1px #B9B6B0; cursor: not-allowed; transform: none; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; transition: text-decoration-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .text-link:hover { text-decoration-thickness: 2px; } }
.button--small { min-height: 44px; padding: 0 20px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .button--buy:not(:disabled):hover { background: var(--buy-hover); }
  .button--hero:hover { background: var(--surface); }
}

.icon-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center;
  background: none; border: 0; padding: 0 6px; cursor: pointer; color: var(--ink);
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--bg);
  border-bottom: 1px solid transparent; transition: border-color 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand { justify-self: start; display: inline-flex; padding: 8px 0; }
.brand img { height: 22px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.6vw, 40px); }
.main-nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 0; background: linear-gradient(currentColor, currentColor) left calc(100% - 4px) / 0 1px no-repeat; transition: background-size 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .main-nav a:hover { background-size: 100% 1px; } }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }
.cart-label { font-size: 15px; font-weight: 500; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center;
  background: var(--surface); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.cart-count.has-items { background: var(--buy); color: var(--white); }
.menu-button { display: none; }
.menu-icon-close { display: none; }

/* ---------- 1 · Einstieg ---------- */
.hero { position: relative; }
.hero-media {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  height: clamp(560px, calc(100svh - var(--header-h) - var(--strip-h)), 880px); overflow: hidden; background: #D9D4CD;
}
.hero-still img { width: 100%; height: 100%; object-fit: cover; }
.hero-still--a img { object-position: 50% 30%; }
.hero-still--b img { object-position: 50% 26%; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; z-index: 1; }
.hero.has-film .hero-film { display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,12,0) 42%, rgba(12,12,12,0.34) 64%, rgba(12,12,12,0.66) 100%);
}
.film-toggle { position: absolute; z-index: 3; right: 20px; top: 20px; background: rgba(255,255,255,0.88); border: 0; padding: 8px 14px; font-size: 13px; cursor: pointer; }
.media-note--hero { position: absolute; z-index: 3; right: 20px; bottom: 16px; margin: 0; padding: 3px 8px; background: rgba(12,12,12,0.55); color: #FFFFFF; }

.hero-copy {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(48px, 7vh, 80px);
  display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--white);
}
.hero h1 { font-size: clamp(46px, 4.7vw, 76px); line-height: 1.02; text-shadow: 0 1px 24px rgba(0,0,0,0.18); }
.hero-lead { margin-top: 18px; max-width: 46ch; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.94); }
.hero-actions { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.text-link--hero { color: var(--white); }
.text-link--hero:focus-visible { outline-color: var(--white); }

/* ---------- 2 · Warum ---------- */
.why { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.why-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: start; }
.why h2 { grid-column: 1 / span 7; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.1; }
.why-text { grid-column: 8 / span 5; color: var(--ink-2); padding-top: 12px; font-size: 18px; line-height: 1.6; max-width: 46ch; }

/* ---------- 3 · Produkt ---------- */
.product { padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.product-grid {
  max-width: var(--max); margin: 0 auto; display: grid; column-gap: clamp(24px, 3vw, 56px);
  grid-template-columns: 84px minmax(0, 7fr) minmax(320px, 5fr);
  grid-template-areas: "thumbs main buy" "thumbs main details" "thumbs main .";
  grid-template-rows: auto auto 1fr;
}
.gallery-main { grid-area: main; }
.gallery-stage { position: relative; aspect-ratio: 1122 / 1402; background: var(--surface); overflow: hidden; }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms ease; }
.gallery-stage img.is-swapping { opacity: 0; }
.stage-flag {
  position: absolute; left: 16px; top: 16px; right: 16px; width: fit-content; margin: 0; padding: 10px 14px;
  background: rgba(255,255,255,0.94); color: var(--ink); font-size: 14px; line-height: 1.4; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.stage-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--surface); text-align: center; padding: 24px; color: var(--ink-2); font-size: 16px; }
.stage-placeholder strong { font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--ink); }

.gallery-thumbs { grid-area: thumbs; display: flex; flex-direction: column; gap: 12px; }
.thumb { padding: 0; border: 1px solid transparent; background: var(--surface); cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; transition: border-color 160ms ease, opacity 160ms ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="false"] { opacity: 0.72; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .thumb:hover { opacity: 1; } }
.gallery-thumbs.is-muted .thumb { opacity: 0.45; }

.buy { grid-area: buy; padding-top: 4px; }
.buy h2, .buy h1 { font-size: clamp(36px, 3.2vw, 48px); line-height: 1.05; }
.price { margin-top: 14px; font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-tax { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.closing-way p.closing-way-tax { margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.buy-pitch { margin-top: 14px; font-size: 16.5px; line-height: 1.55; max-width: 40ch; }
.buy-pitch strong { font-weight: 600; }
.benefits { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.benefits li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.benefits strong { display: block; color: var(--ink); font-weight: 600; }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); padding-top: 16px; border-top: 1px solid var(--line); }
.colors-note { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.colors { border: 0; padding: 0; margin: 30px 0 0; }
.colors legend { padding: 0; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.color-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 360px; }
.color-option { position: relative; }
.color-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.color-option span {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid #B9B6B0; font-size: 14.5px; font-weight: 500; background: var(--white);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.color-option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.color-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .color-option input:not(:checked):hover + span { border-color: var(--ink); } }
.buy .button--buy { width: 100%; margin-top: 24px; }
.preorder-note { margin: 22px 0 0; padding: 10px 14px; border-left: 3px solid var(--ink); background: var(--surface); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.preorder-note + .button--buy { margin-top: 12px; }
.varu-preorder-note { padding: 12px 16px; border-left: 3px solid var(--ink); background: var(--surface); font-weight: 600; }
.buy-note { margin-top: 10px; font-size: 13px; color: var(--ink-2); text-align: center; }
.buy-facts { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); font-size: 15px; }
.buy-facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }

.details { grid-area: details; margin-top: 8px; }
.details details, .faq-list details { border-bottom: 1px solid var(--line); }
.details summary, .faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 56px; padding: 14px 0; font-weight: 500; font-size: 15.5px;
}
.details summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.details summary::after, .faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 200ms var(--ease-out);
}
.details details[open] summary::after, .faq-list details[open] summary::after { transform: rotate(45deg); }
.product-facts { display: grid; grid-template-columns: max-content 1fr; column-gap: 24px; margin: 0 0 20px; font-size: 15px; max-width: 60ch; }
.product-facts dt { color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line); }
.product-facts dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.details details p, .faq-list details p { padding: 0 0 18px; color: var(--ink-2); max-width: 60ch; font-size: 15.5px; }

/* ---------- 4 · Ausrichtungssystem ---------- */
.system { background: var(--surface); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.system-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.system-copy { grid-column: 1 / span 5; }
.system h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.06; }
.system-lead { margin-top: 20px; color: var(--ink-2); max-width: 44ch; }
.system-tabs { margin-top: 40px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.system-tabs [role="tab"] {
  display: grid; grid-template-columns: 10px 1fr; column-gap: 14px; align-items: baseline; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  min-height: 64px; padding: 12px 0; cursor: pointer; color: var(--ink-2); transition: color 160ms ease;
}
.system-tabs [role="tab"]::before { content: ""; grid-row: 1 / span 2; align-self: center; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color 160ms ease; }
.tab-name { font-size: 18px; font-weight: 600; line-height: 1.3; }
.tab-use { grid-column: 2; font-size: 14.5px; line-height: 1.4; }
.system-tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.system-tabs [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.system-tabs [role="tab"][aria-selected="true"]::before { background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .system-tabs [role="tab"]:hover { color: var(--ink); } }
.system-panels { margin-top: 22px; min-height: 7.5em; max-width: 46ch; }
.system-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }

.system-figure { grid-column: 7 / span 6; position: relative; }
.system-figure img { width: 100%; }
.explain-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.explain-layer g { opacity: 0; transition: opacity 220ms ease; }
.explain-layer line, .explain-layer ellipse, .explain-layer circle {
  fill: none; stroke: #FFFFFF; stroke-opacity: 0.55; stroke-width: 20; stroke-linecap: round;
}
.explain-layer ellipse, .explain-layer circle { fill: rgba(255,255,255,0.12); stroke-width: 5; stroke-opacity: 0.95; }
.system-figure[data-active="laengs"] [data-layer="laengs"],
.system-figure[data-active="winkel"] [data-layer="winkel"],
.system-figure[data-active="punkte"] [data-layer="punkte"],
.system-figure[data-active="mitte"] [data-layer="mitte"] { opacity: 1; }
.tag {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
  padding: 4px 9px; background: rgba(255,255,255,0.95); color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.2;
  box-shadow: 0 1px 6px rgba(0,0,0,0.16); opacity: 0; transition: opacity 220ms ease;
}
.system-figure[data-active="laengs"] [data-tag="laengs"],
.system-figure[data-active="winkel"] [data-tag="winkel"],
.system-figure[data-active="punkte"] [data-tag="punkte"],
.system-figure[data-active="mitte"] [data-tag="mitte"] { opacity: 1; }
.system-image { position: relative; }
.pin-caption { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.pin-key { flex: none; width: 26px; height: 10px; margin-top: 6px; border-radius: 5px; background: rgba(255,255,255,0.9); box-shadow: 0 0 0 1px rgba(21,21,21,0.35); }
.system-closing { grid-column: 1 / span 5; grid-row: 2; margin-top: 36px; }
.system-closing p { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; max-width: 26ch; }
.system-closing strong { font-weight: 400; display: block; }
.system-closing .text-link { margin-top: 12px; }
.system-panels strong { font-weight: 600; }


/* ---------- 5 · Methode ---------- */
.method { padding: clamp(90px, 11vw, 160px) var(--gutter); }
.method-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.method-copy { grid-column: 1 / span 6; align-self: center; }
.method-image { grid-column: 8 / span 4; }
.method-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; }
.method h2 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.08; }
.method-lead { margin-top: 20px; color: var(--ink-2); max-width: 42ch; }
.principles { margin: 36px 0 0; border-top: 1px solid var(--line); }
.principles div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.principles dt { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.principles dd { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }

/* ---------- 6 · Fortbildungen ---------- */
.trainings { background: var(--surface-2); padding: clamp(90px, 11vw, 160px) var(--gutter); }
.trainings-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.trainings-head { grid-column: 1 / -1; margin-bottom: clamp(36px, 4vw, 56px); }
.section-name { font-family: var(--serif); font-size: clamp(22px, 1.8vw, 26px); line-height: 1.3; color: var(--ink-2); padding-bottom: 18px; border-bottom: 1px solid #C9C6C0; margin-bottom: 28px; }
.trainings h2 { font-size: clamp(42px, 5vw, 76px); line-height: 1.02; max-width: 15ch; }
.trainings-lead { grid-column: 1 / span 6; grid-row: 2; font-size: 19px; line-height: 1.6; max-width: 52ch; }
.trainings-visual { grid-column: 7 / span 6; grid-row: 2 / span 3; }
.trainings-visual img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.image-slot {
  aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 32px; text-align: center;
  background: #DEDBD6; outline: 1px solid #C9C6C0; outline-offset: -12px; color: var(--ink-2); font-size: 15px; line-height: 1.5;
}
.image-slot strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.trainings-body { grid-column: 1 / span 6; grid-row: 3; margin-top: 36px; }
.learn { margin: 0; border-top: 1px solid #C9C6C0; }
.learn div { padding: 20px 0; border-bottom: 1px solid #C9C6C0; }
.learn dt { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; }
.learn dd { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 54ch; }
.trainings-audience { margin-top: 22px; font-size: 16px; font-weight: 500; max-width: 52ch; }
.interest { grid-column: 1 / span 6; grid-row: 4; margin-top: 40px; padding: 28px; background: var(--bg); }
.interest h3 { font-size: 26px; line-height: 1.15; }
.interest-status { margin-top: 8px; font-size: 15.5px; }
.interest-form { margin-top: 18px; }
.interest-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ink-2); }
.interest-row { display: flex; gap: 10px; }
.interest-row input { flex: 1; min-width: 0; min-height: 54px; padding: 0 16px; border: 1px solid #C9C6C0; background: var(--surface); font: inherit; font-size: 15px; color: var(--ink-2); border-radius: 0; }
.interest-row input:disabled { cursor: not-allowed; }
.interest-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); max-width: 56ch; }

/* ---------- 7 · Fragen ---------- */
.faq { padding: clamp(90px, 10vw, 140px) var(--gutter); }
.faq-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; }
.faq h2 { grid-column: 1 / span 5; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; }
.faq-list { grid-column: 7 / span 6; border-top: 1px solid var(--line); }

/* ---------- 8 · Abschluss ---------- */
.closing { background: var(--surface); padding: clamp(72px, 9vw, 120px) var(--gutter); }
.closing-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: start; }
.closing h2 { grid-column: 1 / span 5; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.06; }
.closing-ways { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.closing-way { border-top: 1px solid #C9C6C0; padding-top: 20px; }
.closing-way-title { font-weight: 600; font-size: 16px; }
.closing-way p:not(.closing-way-title) { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.closing-way .button { margin-top: 22px; min-width: 200px; }
.closing-way .text-link { margin-top: 16px; }

/* ---------- Fußzeile ---------- */
.site-footer { padding: 64px var(--gutter) 48px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto 1fr; column-gap: 48px; row-gap: 28px; align-items: center; }
.footer-logo { width: 74px; height: auto; grid-row: 1 / span 4; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.footer-links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { text-decoration: underline; } }
.footer-legal { font-size: 13px; color: var(--ink-2); }
.footer-rechtliches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
.footer-rechtliches a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.varu-checkout-links { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.varu-checkout-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.varu-entwurf-hinweis { padding: 14px 18px; border-left: 3px solid var(--ink); background: var(--surface); font-size: 14.5px; line-height: 1.55; }
mark.varu-offen { background: #F1E4BF; color: inherit; padding: 0 3px; }
/* Widerrufsfunktion (§ 356a BGB) */
.footer-widerruf { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--ink); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-widerruf:hover { background: var(--ink); color: var(--white); } }
.varu-widerruf { max-width: 560px; margin-top: 24px; }
.varu-wr-form p { margin: 0 0 18px; }
.varu-wr-form label { font-weight: 500; font-size: 15px; }
.varu-wr-form input[type="text"], .varu-wr-form input[type="email"], .varu-wr-form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #B9B6B0; background: var(--white); font: inherit; color: var(--ink); }
.varu-wr-form small { color: var(--ink-2); font-size: 13px; }
.varu-wr-form .button { min-height: 48px; padding: 0 28px; border: 0; cursor: pointer; }
.varu-wr-zurueck { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font: inherit; color: var(--ink); }
.varu-wr-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.varu-wr-fehler { padding: 10px 14px; border-left: 3px solid #8E2B1E; background: #F6E9E6; }
.varu-wr-staging { font-size: 13px; color: var(--ink-2); }
.varu-wr-zusammenfassung { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 24px; }
.varu-wr-zusammenfassung dt { color: var(--ink-2); }
.varu-wr-zusammenfassung dd { margin: 0; }
/* Rechtstext-Seiten: ruhige Lesespalte */
body.varu-rechtstext .wp-block-post-content > * { max-width: 760px; margin-left: 0 !important; margin-right: auto !important; }
body.varu-rechtstext .wp-block-post-content > p { margin: 0 0 0.9em; line-height: 1.6; }
body.varu-rechtstext .wp-block-post-content > h2 { margin: 2em 0 0.6em; font-size: clamp(22px, 2vw, 28px); }
body.varu-rechtstext .wp-block-post-content > h3 { margin: 1.5em 0 0.5em; font-size: 19px; }
body.varu-rechtstext .wp-block-post-content > ul { margin: 0 0 1em; padding-left: 1.2em; line-height: 1.6; }
body.varu-rechtstext .wp-block-post-content li { margin-bottom: 0.35em; }
body.varu-rechtstext .varu-entwurf-hinweis { margin-bottom: 2em; }

/* ---------- Kaufleiste (nur mobil) ---------- */
.buy-bar { display: none; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav ul { gap: 20px; }
  .cart-label { display: none; }
  .product-grid { grid-template-columns: 72px minmax(0, 1fr) minmax(300px, 1fr); }
  .why h2 { grid-column: 1 / span 12; }
  .why-text { grid-column: 1 / span 8; }
}

/* =========================================================
   Mobil
   ========================================================= */
@media (max-width: 860px) {
  :root { --header-h: 58px; --strip-h: 26px; }
  body { font-size: 16px; }
  .proto-strip { font-size: 12px; }
  .proto-strip .strip-long { display: none; }
  .proto-strip .strip-short { display: inline; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { height: 18px; }
  .menu-button { display: inline-flex; }
  .main-nav {
    position: fixed; z-index: 39; left: 0; right: 0; top: calc(var(--header-h) + var(--strip-h)); bottom: 0;
    background: var(--bg); padding: 16px var(--gutter) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 200ms ease, transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  .site-header.is-scrolled-past-strip .main-nav { top: var(--header-h); }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms ease, transform 240ms var(--ease-out), visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 30px; font-weight: 400; background: none; }
  .menu-button[aria-expanded="true"] .menu-icon-open { display: none; }
  .menu-button[aria-expanded="true"] .menu-icon-close { display: block; }
  body.nav-open { overflow: hidden; }

  /* Einstieg mobil: ein Bild, Überschrift unten im Bild, Text und Button direkt darunter */
  .hero { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, auto) auto auto auto; }
  .hero-media { grid-area: 1 / 1 / 3 / 2; grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-still--a { display: none; }
  .hero-still--b img { object-position: 50% 42%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(12,12,12,0) 40%, rgba(12,12,12,0.55) 100%); }
  .hero-copy { display: contents; }
  .hero h1 {
    grid-area: 2 / 1 / 3 / 2; position: relative; z-index: 3; align-self: end;
    padding: 0 20px 20px; color: var(--white); text-align: left; font-size: clamp(34px, 10.2vw, 46px); line-height: 1.03;
  }
  .hero-media { height: clamp(300px, calc(54svh - 30px), 500px); }
  .hero-still, .hero-still img { height: 100%; }
  .hero-lead { grid-area: 3 / 1 / 4 / 2; margin: 18px 20px 0; max-width: none; color: var(--ink); font-size: 16.5px; text-align: left; }
  .hero-actions { grid-area: 4 / 1 / 5 / 2; margin: 16px 20px 0; flex-direction: column; align-items: stretch; gap: 4px; }
  .hero .button--hero { background: var(--buy); color: var(--white); }
  .hero .button--hero:focus-visible { outline-color: var(--ink); }
  .text-link--hero { color: var(--ink); justify-content: center; }
  .text-link--hero:focus-visible { outline-color: var(--ink); }
  .media-note--hero { top: 12px; bottom: auto; right: 14px; font-size: 12px; }
  .film-toggle { top: 12px; left: 14px; right: auto; }

  .why { padding: 72px 20px; }
  .why-inner { grid-template-columns: 1fr; row-gap: 22px; }
  .why h2, .why-text { grid-column: 1; }
  .why h2 { font-size: 32px; }
  .why-text { font-size: 16.5px; }

  /* Produkt mobil: Hauptbild, dann Name/Preis/Farbe/Button, danach Galerie und Details */
  .product { padding: 0 0 80px; }
  .product-grid { grid-template-columns: 1fr; grid-template-areas: "main" "buy" "thumbs" "details"; grid-template-rows: none; row-gap: 0; }
  .gallery-main .media-note { padding: 0 20px; margin-top: 8px; }
  .gallery-stage { aspect-ratio: 1122 / 1402; width: 70%; margin: 0 auto; }
  .gallery-main { padding-top: 8px; }
  .gallery-main .media-note { text-align: center; }
  .buy { padding: 16px 20px 0; }
  .buy h2, .buy h1 { font-size: 28px; }
  .buy-pitch { font-size: 15px; margin-top: 8px; line-height: 1.5; }
  .price { margin-top: 6px; font-size: 20px; }
  .colors legend { margin-bottom: 8px; }
  .color-option span { min-height: 42px; }
  .color-options { gap: 8px; }
  .benefits { margin-top: 22px; font-size: 14.5px; }
  .price { margin-top: 10px; }
  .colors { margin-top: 14px; }
  .buy .button--buy { margin-top: 16px; }
  .color-option span { min-width: 0; width: 100%; }
  .color-options { max-width: none; }
  .gallery-thumbs { flex-direction: row; gap: 10px; padding: 28px 20px 0; overflow-x: auto; scroll-snap-type: x mandatory; }
  .thumb { flex: 0 0 76px; scroll-snap-align: start; }
  .details { padding: 16px 20px 0; }

  .system { padding: 72px 20px; }
  .system-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .system-copy, .system-figure { grid-column: 1; }
  .system-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .system-copy { display: contents; }
  .system h2 { order: 1; font-size: 34px; }
  .system-lead { order: 2; }
  .system-tabs { order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 0; margin-top: 26px; }
  .system-tabs [role="tab"] { display: block; border: 1px solid var(--line); background: var(--bg); padding: 10px 12px; min-height: 64px; }
  .system-tabs [role="tab"]::before { display: none; }
  .system-tabs [role="tab"][aria-selected="true"] { background: var(--white); box-shadow: inset 0 -2px 0 var(--ink); }
  .system-tabs [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .tag { display: none; }
  .tab-name, .tab-use { display: block; }
  .tab-name { font-size: 15px; line-height: 1.25; }
  .tab-use { font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
  .system-panels { order: 4; margin-top: 14px; min-height: 0; font-size: 15.5px; line-height: 1.55; }
  .system-figure { order: 5; width: 100%; max-width: 262px; align-self: center; margin: 16px 0 0; }
  .pin-caption { font-size: 13px; }
  .system-closing { order: 6; margin-top: 32px; font-size: 22px; }
  .system-tabs { margin-top: 28px; }

  .method { padding: 80px 20px; }
  .method-grid { grid-template-columns: repeat(6, 1fr); row-gap: 36px; }
  .method-copy { grid-column: 1 / span 6; }
  .method-image { grid-column: 2 / span 5; }

  .faq { padding: 0 20px 80px; }
  .trainings + .faq { padding-top: 0; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq h2, .faq-list { grid-column: 1; }
  .trainings { padding: 80px 20px; margin-bottom: 80px; }
  .trainings-inner { display: block; }
  .trainings-head { margin-bottom: 24px; }
  .section-name { font-size: 20px; padding-bottom: 14px; margin-bottom: 22px; }
  .trainings h2 { font-size: 38px; }
  .trainings-lead { font-size: 16.5px; }
  .trainings-visual { margin-top: 28px; }
  .image-slot { aspect-ratio: 4 / 3; padding: 24px; font-size: 14px; }
  .trainings-body { margin-top: 28px; }
  .learn dt { font-size: 22px; }
  .learn dd { font-size: 15.5px; }
  .interest { margin-top: 28px; padding: 22px 18px; }
  .interest-row { flex-direction: column; }

  .closing { padding: 64px 20px; }
  .closing-inner { display: block; }
  .closing h2 { font-size: 32px; margin-bottom: 32px; }
  .closing-ways { grid-template-columns: 1fr; gap: 32px; }
  .closing-way .button { width: 100%; }

  .site-footer { padding: 48px 20px calc(40px + env(safe-area-inset-bottom)); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo { grid-row: auto; width: 64px; }

  .buy-bar {
    display: flex; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.06); transform: translateY(110%); transition: transform 260ms var(--ease-drawer);
  }
  .buy-bar.is-visible { transform: none; }
  body.has-buy-bar { padding-bottom: 72px; }
  html { scroll-padding-bottom: 84px; }
  .buy-bar-text { font-size: 14.5px; font-weight: 600; }
}


/* ---------- Reduzierte Bewegung: nur Überblendungen, keine Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:active { transform: none; }
  .explain-layer g, .tag { transition: none; }
  .main-nav, .main-nav.is-open { transform: none; }
  .buy-bar { transition: opacity 200ms ease; transform: none; opacity: 0; pointer-events: none; }
  .buy-bar.is-visible { opacity: 1; pointer-events: auto; }
  .details summary::after, .faq-list summary::after { transition: none; }
}

/* =========================================================
   WordPress / WooCommerce – Einbindung ohne Gestaltungsänderung
   ========================================================= */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
.varu-main > * { margin: 0; }

/* Kopfzeile: Hinweisstreifen scrollt weg, Kopfzeile bleibt oben (auch mit Admin-Leiste) */
.site-header-wrap { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--strip-h)); z-index: 40; }
.site-header { position: static; }
/* Unter 600 px scrollt die WordPress-Werkzeugleiste mit weg – dann kein Abstand oben */
@media (max-width: 600px) { .admin-bar .site-header-wrap { top: calc(-1 * var(--strip-h)); } }
.site-header-wrap.is-scrolled .site-header { border-bottom-color: var(--line); }

/* Mini-Warenkorb von WooCommerce im VA·RU-Stil */
.header-actions .wp-block-woocommerce-mini-cart { display: inline-flex; }
.header-actions .wc-block-mini-cart__button { min-height: 44px; min-width: 44px; padding: 0 6px; color: var(--ink); font-family: var(--sans); }
.header-actions .wc-block-mini-cart__badge { background: var(--buy); color: var(--white); border-color: var(--bg); }
.wc-block-mini-cart__drawer .wc-block-components-button:not(.is-link) { background: var(--buy); color: var(--white); border-radius: 0; }
.wc-block-mini-cart__drawer { font-family: var(--sans); }

/* Kaufbereich: echter WooCommerce-Warenkorb */
.varu-cart-form { margin: 0; }
.varu-cart-form .button--buy { width: 100%; margin-top: 24px; }
.price .woocommerce-Price-amount { font-weight: 500; }
.price del { opacity: .6; margin-right: 8px; }
.varu-admin-hint { max-width: var(--max); margin: 0 auto; padding: 24px; background: var(--surface); border: 1px dashed #B9B6B0; font-size: 15px; }

/* Kasse: Staging-Hinweis */
.varu-checkout-top { max-width: var(--wp--style--global--wide-size, 1200px); margin: 0 auto 28px; }
.varu-back-link { margin: 0 0 12px; font-size: 15px; }
.varu-back-link a { color: var(--ink); text-underline-offset: 3px; }
.varu-checkout-note { margin: 0; padding: 12px 16px; background: var(--surface); border-left: 2px solid var(--ink); font-size: 14px; line-height: 1.5; color: var(--ink-2, #5E5D5A); }

/* Produkt- und Shop-Seite: derselbe Kaufbereich wie auf der Startseite, mit Abstand zur Kopfzeile */
.varu-produktseite .product { padding-top: clamp(40px, 6vw, 88px); }

/* Unterseiten (Warenkorb, Kasse, Konto, Rechtliches) */
.varu-page { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px); }
.varu-page-title { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.06; margin-bottom: 32px; }
.varu-page .wc-block-components-button:not(.is-link),
.varu-page .wp-element-button, .varu-page .button { background: var(--buy); color: var(--white); border-radius: 0; font-family: var(--sans); font-weight: 600; }
.wc-block-components-notice-banner { border-radius: 0; }
/* Falls WooCommerce eine eigene Vorlage nutzt: trotzdem VA·RU-Seitenrand */
body.woocommerce-cart .wp-site-blocks > main:not(.varu-page),
body.woocommerce-checkout .wp-site-blocks > main:not(.varu-page) { padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px); }

@media (max-width: 860px) {
  .header-actions .wc-block-mini-cart__button { padding: 0 4px; }
  .varu-page { padding: 40px 20px 72px; }
  /* WooCommerce-Warenkorb: Preisspalte bleibt innerhalb des Seitenrands */
  .varu-page table.wc-block-cart-items { table-layout: fixed; width: 100%; }
  .varu-page .wc-block-cart-items__row { grid-template-columns: 80px minmax(0, 1fr) auto !important; }
}
