/* ==========================================================================
   Software Vita – main.css
   Papier, Tinte, Terrakotta. Editorial statt Glow.
   ========================================================================== */

:root {
	--paper: #F3EEE4;
	--paper-2: #EAE3D5;
	--paper-3: #FBF8F2;
	--ink: #1C1A17;
	--ink-2: #4A453D;
	--ink-3: #7A7366;
	--line: #CFC6B4;
	--terra: #B5482A;
	--terra-d: #8E3420;
	--mustard: #D9A441;
	--sage: #7E8B6A;
	--night: #14182B;
	--night-2: #1E2440;
	--moon: #EDE3C8;

	--serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 4px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* feines Papierkorn über allem */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: .35;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--ink); color: var(--paper); padding: 10px 16px;
}

.sv-main { overflow-x: hidden; overflow-x: clip; }

.sv-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sv-wrap--narrow { max-width: 780px; }

/* ---------- Typo ---------- */
.sv-h1, .sv-h2, .sv-h3, .sv-hero__title {
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.05;
	margin: 0 0 .4em;
	font-variation-settings: "opsz" 144;
}
.sv-h1 { font-size: clamp(40px, 6vw, 76px); }
.sv-h2 { font-size: clamp(34px, 4.8vw, 62px); }
.sv-h3 { font-size: 24px; line-height: 1.2; display: flex; align-items: center; gap: 10px; }
.sv-h1 em, .sv-h2 em, .sv-hero__title em { font-style: italic; color: var(--terra); }

.sv-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin: 0 0 18px;
	display: flex; align-items: center; gap: 10px;
}
.sv-kicker--light { color: var(--moon); opacity: .8; }
.sv-num {
	font-family: var(--serif); font-style: italic; font-weight: 400;
	font-size: 15px; letter-spacing: 0; text-transform: none;
	border: 1px solid currentColor; border-radius: 99px; padding: 1px 9px;
}
.sv-small { font-size: 14px; color: var(--ink-3); }

.sv-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons & Links ---------- */
.sv-btn {
	--bg: var(--ink); --fg: var(--paper);
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 24px;
	background: var(--bg); color: var(--fg);
	border: 1.5px solid var(--ink);
	border-radius: 99px;
	font: 600 15px/1 var(--sans);
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
	box-shadow: 0 0 0 0 var(--ink);
	white-space: nowrap;
}
.sv-btn:hover { color: var(--fg); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 0 var(--terra); }
.sv-btn:active { transform: none; box-shadow: none; }
.sv-btn--ghost { --bg: transparent; --fg: var(--ink); }
.sv-btn--ghost:hover { --bg: var(--paper-3); }
.sv-btn--light { --bg: var(--moon); --fg: var(--night); border-color: var(--moon); }
.sv-btn--light:hover { box-shadow: 3px 3px 0 0 var(--mustard); }
.sv-btn--small { padding: 10px 16px; font-size: 13px; }
.sv-btn.added::after { content: "✓"; }
.sv-btn.loading { opacity: .6; pointer-events: none; }

.sv-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; font-size: 15px;
	text-decoration: underline; text-decoration-color: var(--terra);
}
.sv-link .sv-icon { width: 14px; height: 14px; }
.sv-link--light { color: var(--moon); text-decoration-color: var(--mustard); }
.sv-link--light:hover { color: var(--mustard); }

.sv-tag {
	display: inline-block;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	border: 1px solid var(--ink); border-radius: 99px; padding: 4px 10px;
}
.sv-tag--tiny { font-size: 9px; padding: 2px 6px; vertical-align: 2px; margin-left: 4px; }

/* ---------- Topbar ---------- */
.sv-topbar { background: var(--night); color: var(--moon); font-size: 13px; }
.sv-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.sv-topbar__in span { display: inline-flex; align-items: center; gap: 8px; }
.sv-topbar a { color: var(--mustard); text-decoration: none; font-weight: 600; white-space: nowrap; }

/* ---------- Header ---------- */
.sv-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .sv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sv-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sv-header { top: 0; } }

.sv-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }

.sv-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.sv-logo:hover { color: var(--ink); }
.sv-mark { width: 44px; height: 44px; transition: transform .6s var(--ease); }
.sv-mark__dot { fill: var(--terra); }
.sv-logo:hover .sv-mark { transform: rotate(-12deg); }
.sv-logo__word { display: flex; flex-direction: column; line-height: 1; }
.sv-logo__small { font: 700 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin-bottom: 3px; }
.sv-logo__big { font: italic 400 30px/1 var(--serif); letter-spacing: -.01em; }
.sv-logo__big::after { content: "."; color: var(--terra); }
.custom-logo { max-height: 56px; width: auto; }

.sv-nav { display: flex; align-items: center; gap: 28px; }
.sv-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.sv-nav__list a { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.sv-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
	background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.sv-nav__list a:hover::after, .sv-nav__list .current-menu-item a::after { transform: scaleX(1); }

.sv-header__tools { display: flex; align-items: center; gap: 8px; }
.sv-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 99px; text-decoration: none; }
.sv-cart .sv-icon { width: 20px; height: 20px; }
.sv-cart__count {
	position: absolute; top: -4px; right: -4px;
	min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
	background: var(--terra); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}
.sv-cart__count.is-empty { display: none; }

.sv-burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); background: transparent; border-radius: 99px; cursor: pointer; color: var(--ink); place-items: center; padding: 0; }
.sv-burger .sv-icon { width: 22px; height: 22px; }
.sv-burger__close { display: none; }

@media (max-width: 1080px) {
	.sv-nav__cta { display: none; }
}
@media (max-width: 860px) {
	.js .sv-burger { display: grid; }
	.js .sv-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
		flex-direction: column; align-items: flex-start; justify-content: center; gap: 32px;
		padding: 40px 32px; background: var(--paper-3); border-left: 1px solid var(--line);
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; z-index: 60;
	}
	.sv-nav__list { flex-direction: column; gap: 18px; }
	.sv-nav__list a { font-family: var(--serif); font-size: 34px; font-weight: 400; }
	.sv-nav__cta { display: inline-flex; white-space: normal; }
	.is-nav-open .sv-nav { opacity: 1; visibility: visible; transform: none; transition: transform .45s var(--ease), opacity .3s; box-shadow: -20px 0 60px rgba(28, 26, 23, .15); }
	.is-nav-open .sv-burger { position: relative; z-index: 61; }
	.is-nav-open .sv-burger__open { display: none; }
	.is-nav-open .sv-burger__close { display: block; }
	html:not(.js) .sv-header__in { flex-wrap: wrap; }
	html:not(.js) .sv-nav__list { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
	html:not(.js) .sv-nav__list a { font: 600 15px var(--sans); }
	html:not(.js) .sv-nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.sv-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); position: relative; }
.sv-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.sv-hero__title { font-size: clamp(48px, 7.4vw, 104px); line-height: .98; margin-bottom: 28px; }
.sv-hero__title::first-line { font-style: normal; }
.sv-hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34ch; margin: 0 0 34px; }
.sv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sv-hero__facts { display: flex; gap: 0; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.sv-hero__facts > div { flex: 1; padding: 16px 16px 0 0; border-right: 1px solid var(--line); margin-right: 16px; }
.sv-hero__facts > div:last-child { border-right: 0; margin-right: 0; }
.sv-hero__facts dt { font: italic 400 34px/1 var(--serif); color: var(--terra); margin-bottom: 6px; }
.sv-hero__facts dd { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; }

.sv-hero__art { margin: 0; position: relative; }
.sv-hero__art img { width: 100%; animation: sv-rise 1.1s var(--ease) both; }
.sv-hero__art figcaption {
	position: absolute; left: 0; bottom: 6%;
	background: var(--paper); border: 1.5px solid var(--ink); padding: 8px 14px;
	font-size: 13px; font-weight: 600; transform: rotate(-3deg);
}
.sv-hero__art figcaption span { font-family: var(--serif); font-style: italic; color: var(--terra); margin-right: 6px; }

@keyframes sv-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
	.sv-hero__grid { grid-template-columns: 1fr; }
	.sv-hero__art { max-width: 520px; margin: 0 auto; order: -1; }
	.sv-hero__lead { max-width: none; }
}
@media (max-width: 520px) {
	.sv-hero__facts { flex-direction: column; }
	.sv-hero__facts > div { border-right: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0; display: flex; gap: 16px; align-items: center; }
	.sv-hero__facts dt { margin: 0; min-width: 48px; }
	.sv-btn { white-space: normal; }
}

/* ---------- Laufband ---------- */
.sv-marquee { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 1px solid var(--ink); transform: rotate(-1.2deg); margin: 10px -20px; }
.sv-marquee__track { display: flex; width: max-content; gap: 34px; padding: 16px 0; animation: sv-marquee 38s linear infinite; font: 400 28px/1 var(--serif); white-space: nowrap; }
.sv-marquee__track i { font-style: normal; color: var(--mustard); font-size: 18px; align-self: center; }
.sv-marquee__track em { color: var(--mustard); }
@keyframes sv-marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sv-section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.sv-section--paper { background: var(--paper-2); border-block: 1px solid var(--line); }
.sv-section__head { max-width: 760px; margin-bottom: 56px; }
.sv-section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sv-section__head--row .sv-h2 { margin: 0; }
.sv-section__head--row .sv-section__lead { max-width: 360px; margin: 0; }
.sv-section__lead { font-size: 19px; color: var(--ink-2); margin: 0 0 18px; }

/* ---------- Produkte ---------- */
.sv-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sv-product {
	position: relative;
	background: var(--paper-3);
	border: 1.5px solid var(--ink);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 40px);
	display: flex; flex-direction: column;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sv-product:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 0 var(--ink); }
.sv-product--android:hover { box-shadow: 8px 8px 0 0 var(--sage); }
.sv-product--windows:hover { box-shadow: 8px 8px 0 0 var(--terra); }
.sv-product__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.sv-product__icon { width: 64px; height: 64px; border-radius: 99px; display: grid; place-items: center; background: var(--terra); color: var(--paper); }
.sv-product--android .sv-product__icon { background: var(--sage); }
.sv-product__icon .sv-icon { width: 30px; height: 30px; }
.sv-product__title { font: 400 clamp(32px, 3.4vw, 44px)/1.05 var(--serif); letter-spacing: -.02em; margin: 0 0 14px; }
.sv-product__title em { color: var(--terra); }
.sv-product--android .sv-product__title em { color: var(--sage); }
.sv-product__note { color: var(--ink-2); margin: 0 0 22px; }
.sv-product__list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px dashed var(--line); }
.sv-product__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.sv-product__list .sv-icon { color: var(--terra); }
.sv-product__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.sv-price { font: 400 34px/1 var(--serif); margin-right: auto; }
.sv-price del { font-size: 20px; opacity: .5; }
.sv-price ins { text-decoration: none; }
.sv-price .woocommerce-price-suffix, .sv-price small { font: 400 12px var(--sans); color: var(--ink-3); display: block; margin-top: 4px; }
.sv-product .added_to_cart { font-weight: 600; font-size: 14px; }
@media (max-width: 760px) { .sv-products { grid-template-columns: 1fr; } }

/* ---------- Tester ---------- */
.sv-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .sv-split { grid-template-columns: 1fr; } }
.sv-split__text > p { font-size: 18px; color: var(--ink-2); }

.sv-steps { list-style: none; margin: 34px 0; padding: 0; counter-reset: s; }
.sv-steps li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.sv-steps li:last-child { border-bottom: 1px solid var(--line); }
.sv-steps li > span { font: italic 400 28px/1 var(--serif); color: var(--terra); width: 28px; flex: none; }
.sv-steps strong { display: block; font-size: 16px; margin-bottom: 2px; }
.sv-steps div { color: var(--ink-2); font-size: 15px; }

.sv-progress__bar { height: 10px; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; background: var(--paper-3); }
.sv-progress__bar span { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--terra) 0 6px, var(--terra-d) 6px 12px); transition: width 1s var(--ease); }
.sv-progress p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.sv-progress strong { font: italic 400 22px var(--serif); color: var(--ink); }

.sv-card { background: var(--paper-3); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: 8px 8px 0 0 var(--ink); }
.sv-card .sv-h3 .sv-icon { color: var(--sage); width: 28px; height: 28px; }
@media (max-width: 520px) { .sv-card { box-shadow: 5px 5px 0 0 var(--ink); } }

/* ---------- Formulare ---------- */
.sv-form { display: grid; gap: 16px; margin: 20px 0; }
.sv-form__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
@media (max-width: 560px) { .sv-form__row { grid-template-columns: 1fr; } }
.sv-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.sv-field input, .sv-field select, .sv-field textarea {
	width: 100%; font: 400 16px var(--sans); color: var(--ink);
	background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius);
	padding: 13px 14px; transition: box-shadow .2s, background .2s;
}
.sv-field input:focus { outline: none; background: #fff; box-shadow: 3px 3px 0 0 var(--terra); }
.sv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.sv-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--terra); flex: none; }
.sv-form .sv-btn { justify-self: start; }
.sv-hp { position: absolute; left: -9999px; }
.sv-form__inline { display: flex; gap: 10px; }
.sv-field--grow { flex: 1; }
@media (max-width: 520px) { .sv-form__inline { flex-direction: column; } .sv-form__inline .sv-btn { justify-content: center; } }

.sv-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: var(--radius); margin: 16px 0; font-size: 15px; }
.sv-notice p { margin: 4px 0 12px; color: var(--ink-2); }
.sv-notice--ok { background: #E5EADB; }
.sv-notice--ok > .sv-icon { color: var(--sage); width: 26px; height: 26px; }
.sv-notice--err { background: #F4DDD5; border-color: var(--terra); color: var(--terra-d); }

/* ---------- Lunara ---------- */
.sv-lunara { background: var(--night); color: var(--moon); overflow: hidden; isolation: isolate; }
.sv-lunara__sky {
	position: absolute; inset: 0; z-index: -1; opacity: .9;
	background-image:
		radial-gradient(1px 1px at 12% 22%, var(--moon) 50%, transparent 51%),
		radial-gradient(1px 1px at 28% 68%, var(--moon) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 44% 14%, var(--moon) 50%, transparent 51%),
		radial-gradient(1px 1px at 61% 82%, var(--moon) 50%, transparent 51%),
		radial-gradient(1px 1px at 74% 36%, var(--moon) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 88% 60%, var(--moon) 50%, transparent 51%),
		radial-gradient(1px 1px at 93% 12%, var(--moon) 50%, transparent 51%),
		radial-gradient(1px 1px at 6% 86%, var(--moon) 50%, transparent 51%),
		radial-gradient(1px 1px at 52% 48%, var(--moon) 50%, transparent 51%);
}
.sv-lunara__sky::after {
	content: ""; position: absolute; left: 50%; bottom: -60%; width: 140%; aspect-ratio: 1; transform: translateX(-50%);
	border-radius: 50%; border: 1px solid rgba(237, 227, 200, .12);
	box-shadow: 0 0 0 80px rgba(237, 227, 200, .02), 0 0 0 160px rgba(237, 227, 200, .015);
}
.sv-lunara__in { text-align: center; max-width: 860px; }
.sv-lunara .sv-kicker { justify-content: center; }
.sv-lunara__moon { width: 110px; height: 110px; margin: 0 auto 30px; border-radius: 50%; background: var(--moon); color: var(--night); display: grid; place-items: center; position: relative; animation: sv-float 7s ease-in-out infinite; }
.sv-lunara__moon::after { content: ""; position: absolute; inset: -14px; border: 1px dashed rgba(237, 227, 200, .4); border-radius: 50%; animation: sv-spin 40s linear infinite; }
.sv-lunara__moon-svg { width: 58px; height: 58px; fill: var(--night); stroke: none; }
.sv-lunara__title { color: var(--moon); font-size: clamp(54px, 9vw, 120px); }
.sv-lunara__title em { color: var(--mustard); }
.sv-lunara__lead { font-size: 20px; opacity: .85; max-width: 46ch; margin: 0 auto 36px; }
.sv-lunara__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
.sv-lunara__form { max-width: 520px; margin: 56px auto 0; padding-top: 32px; border-top: 1px solid rgba(237, 227, 200, .2); text-align: left; }
.sv-lunara__form > p { margin: 0; font-size: 14px; opacity: .8; }
.sv-lunara .sv-field input { background: transparent; color: var(--moon); border-color: rgba(237, 227, 200, .5); }
.sv-lunara .sv-field input::placeholder { color: rgba(237, 227, 200, .5); }
.sv-lunara .sv-field input:focus { background: var(--night-2); box-shadow: 3px 3px 0 0 var(--mustard); }
.sv-lunara .sv-check { color: rgba(237, 227, 200, .7); }
.sv-lunara .sv-check a { color: var(--moon); }
.sv-lunara .sv-check input { accent-color: var(--mustard); }
.sv-lunara .sv-notice { color: var(--ink); }
.sv-lunara__facts { list-style: none; padding: 0; margin: 0 auto 40px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; border-top: 1px solid rgba(237, 227, 200, .25); }
.sv-lunara__facts li { padding: 18px 16px 0 0; font-size: 15px; opacity: .9; }
.sv-lunara__facts strong { display: block; font: italic 400 22px var(--serif); color: var(--mustard); margin-bottom: 4px; }
.sv-lunara__facts a { color: var(--moon); }
@media (max-width: 640px) { .sv-lunara__facts { grid-template-columns: 1fr; } }
.sv-lunara--full { min-height: calc(100vh - 120px); display: flex; align-items: center; padding: 90px 0; }

@keyframes sv-float { 50% { transform: translateY(-10px); } }
@keyframes sv-spin { to { transform: rotate(360deg); } }

/* ---------- Türen (alle Seiten) ---------- */
.sv-doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.sv-door {
	position: relative; display: flex; flex-direction: column; gap: 6px;
	padding: 36px 30px 30px; min-height: 300px; text-decoration: none;
	border-right: 1.5px solid var(--ink); background: var(--paper-3);
	transition: background .35s var(--ease), color .35s var(--ease);
}
.sv-door:last-child { border-right: 0; }
.sv-door__no { font: italic 400 15px var(--serif); color: var(--ink-3); position: absolute; top: 18px; right: 22px; }
.sv-door__mark { width: 52px; height: 52px; margin-bottom: auto; }
.sv-door strong { font: 400 36px/1.05 var(--serif); letter-spacing: -.02em; margin-top: 40px; }
.sv-door span { font-size: 14px; color: var(--ink-2); }
.sv-door em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 14px; }
.sv-door:hover { background: var(--ink); color: var(--paper); }
.sv-door:hover span, .sv-door:hover .sv-door__no { color: var(--paper); opacity: .75; }
.sv-door--book:hover { background: var(--terra); }
.sv-door--luna:hover { background: var(--night); color: var(--moon); }
@media (max-width: 820px) {
	.sv-doors { grid-template-columns: 1fr; }
	.sv-door { border-right: 0; border-bottom: 1.5px solid var(--ink); min-height: 220px; }
	.sv-door:last-child { border-bottom: 0; }
}

/* ---------- Seiten / Prosa ---------- */
.sv-page__head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.sv-page__img { margin: 0 0 40px; }
.sv-prose { font-size: 18px; }
.sv-prose > * + * { margin-top: 1.1em; }
.sv-prose h2, .sv-prose h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin-top: 1.8em; }
.sv-prose h2 { font-size: 34px; }
.sv-prose h3 { font-size: 26px; }
.sv-prose a { color: var(--terra); }
.sv-prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--terra); font: italic 400 24px/1.35 var(--serif); }
.sv-prose img { border-radius: var(--radius); }
.sv-prose--light a { color: var(--mustard); }
.sv-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.sv-post-card { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.sv-post-card a { text-decoration: none; }
.sv-post-card__img img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 14px; }
.sv-pagination { margin-top: 48px; }
.sv-pagination .nav-links { display: flex; gap: 8px; }
.sv-pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--ink); border-radius: 99px; text-decoration: none; }
.sv-pagination .current { background: var(--ink); color: var(--paper); }

/* ---------- Footer ---------- */
.sv-footer { background: var(--ink); color: var(--paper); padding: 80px 0 30px; position: relative; z-index: 1; }
.sv-footer .sv-logo { color: var(--paper); }
.sv-footer .sv-mark__dot { fill: var(--mustard); }
.sv-footer .sv-logo__big::after { color: var(--mustard); }
.sv-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(243, 238, 228, .2); }
.sv-footer__brand p { opacity: .7; max-width: 32ch; font-size: 15px; margin-top: 18px; }
.sv-footer h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 8px 0 16px; opacity: .6; font-weight: 700; }
.sv-footer ul { list-style: none; margin: 0; padding: 0; }
.sv-footer li { margin-bottom: 10px; font-size: 15px; }
.sv-footer a { text-decoration: none; }
.sv-footer a:hover { color: var(--mustard); }
.sv-footer .sv-tag { border-color: var(--mustard); color: var(--mustard); }
.sv-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; font-size: 13px; color: rgba(243, 238, 228, .8); }
.sv-footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.sv-footer__legal li { margin: 0; font-size: 13px; }
@media (max-width: 900px) { .sv-footer__grid { grid-template-columns: 1fr 1fr; } .sv-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .sv-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Kleines Einblenden beim Scrollen ---------- */
.js .sv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .sv-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Gutenberg-Basics ---------- */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { background: var(--ink); color: var(--paper); border-radius: 99px; padding: 14px 24px; text-decoration: none; }

/* ==========================================================================
   Besucherzähler (Footer, ganz unten rechts – wie bei KrassWas)
   ========================================================================== */
.sv-footer__brand .sv-footer__legal { margin-top: 22px; gap: 8px 18px; }
.sv-footer__brand .sv-footer__legal a { opacity: .75; }
.sv-counter { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; font-size: 13px; color: rgba(243, 238, 228, .65); }
.sv-counter__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sv-counter__item .sv-icon, .sv-counter__more summary .sv-icon { width: 15px; height: 15px; }
.sv-counter b { font-weight: 700; color: var(--paper); font-variant-numeric: tabular-nums; }
.sv-counter__pill { padding: 5px 12px; border: 1px solid rgba(243, 238, 228, .22); border-radius: 99px; }
.sv-counter__online { border-color: rgba(143, 191, 106, .45); background: rgba(143, 191, 106, .08); }
.sv-counter__dot { width: 7px; height: 7px; border-radius: 50%; background: #8FBF6A; position: relative; }
.sv-counter__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid #8FBF6A; animation: sv-pulse 2.4s ease-out infinite; }
@keyframes sv-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.sv-counter__more { position: relative; }
.sv-counter__more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: rgba(243, 238, 228, .85); }
.sv-counter__more summary::-webkit-details-marker { display: none; }
.sv-counter__more summary:hover, .sv-counter__more[open] summary { border-color: var(--mustard); color: var(--mustard); }
.sv-counter__optout { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(243, 238, 228, .35); text-underline-offset: 3px; }
.sv-counter__optout:hover, .sv-counter.is-optout .sv-counter__optout { color: var(--mustard); }

.sv-counter__pop {
	position: absolute; bottom: calc(100% + 12px); right: -40px; z-index: 5; width: 300px;
	padding: 14px; border-radius: 8px; background: var(--paper); color: var(--ink);
	border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 0 var(--terra);
	animation: sv-rise .3s var(--ease);
}
.sv-counter__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sv-counter__boxes > div { background: var(--paper-2); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ink-2); }
.sv-counter__boxes small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.sv-counter__pop b { color: var(--ink); font-size: 15px; }
.sv-counter__chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 120px; margin: 14px 0 8px; }
.sv-counter__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; min-width: 0; }
.sv-counter__bar { position: relative; width: 100%; max-width: 26px; height: calc(var(--h) * .7); min-height: 3px; background: var(--terra); border-radius: 4px 4px 2px 2px; overflow: hidden; }
.sv-counter__bar-u { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: var(--sage); }
.sv-counter__col b { font-size: 11px !important; line-height: 1; }
.sv-counter__col small { font-size: 10px; color: var(--ink-3); line-height: 1; }
.sv-counter__legend { margin: 0; font-size: 11px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.sv-counter__legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; background: var(--terra); }
.sv-counter__legend i.is-u { background: var(--sage); margin-left: 8px; }
.sv-counter__note { margin: 6px 0 0; font-size: 11px; color: var(--ink-3); }
@media (max-width: 760px) {
	.sv-footer__bottom { flex-direction: column; align-items: flex-start; }
	.sv-counter { justify-content: flex-start; }
	.sv-counter__pop { right: auto; left: 0; width: min(300px, calc(100vw - 32px)); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.sv-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.sv-faq__head { position: sticky; top: 120px; }
@media (max-width: 900px) { .sv-faq { grid-template-columns: 1fr; } .sv-faq__head { position: static; } }
.sv-faq__list { border-top: 1.5px solid var(--ink); }
.sv-faq__item { border-bottom: 1px solid var(--line); }
.sv-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 22px 0; font: 400 clamp(20px, 2vw, 24px)/1.25 var(--serif);
}
.sv-faq__item summary::-webkit-details-marker { display: none; }
.sv-faq__item summary:hover { color: var(--terra); }
.sv-faq__item summary i { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; transition: transform .35s var(--ease), background .2s; }
.sv-faq__item summary i::before, .sv-faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.sv-faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.sv-faq__item[open] summary i { background: var(--ink); }
.sv-faq__item[open] summary i::before { background: var(--paper); }
.sv-faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--paper); }
.sv-faq__item p { margin: 0 0 24px; padding-right: 54px; color: var(--ink-2); font-size: 16.5px; animation: sv-rise .45s var(--ease); }

/* ==========================================================================
   Mobile Kaufleiste
   ========================================================================== */
.sv-buybar { display: none; }
@media (max-width: 760px) {
	.sv-buybar {
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 10px 10px 18px; background: var(--ink); color: var(--paper);
		border-radius: 99px; box-shadow: 0 10px 30px rgba(28, 26, 23, .25);
		visibility: hidden; transform: translateY(140%); transition: transform .45s var(--ease); font-size: 14px;
	}
	.sv-buybar.is-visible, .sv-buybar:focus-within { visibility: visible; transform: none; }
	.sv-buybar .sv-btn { --bg: var(--terra); --fg: #fff; border-color: var(--terra); }
	.sv-buybar .woocommerce-Price-amount { font-family: var(--serif); font-size: 17px; }
	.sv-footer { padding-bottom: 100px; }
}

/* Aktiver Menüpunkt beim Scrollen */
.sv-nav__list a.is-active::after { transform: scaleX(1); }
.sv-nav__list a.is-active { color: var(--terra); }

/* ==========================================================================
   Produkt-Slideshow
   ========================================================================== */
.sv-slider {
	position: relative;
	margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 28px;
	border-bottom: 1.5px solid var(--ink);
	background: var(--paper);
	border-radius: var(--radius) var(--radius) 0 0;
	overflow: hidden;
}
.sv-slider__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -ms-overflow-style: none; outline: none;
}
.sv-slider__track::-webkit-scrollbar { display: none; }
.sv-slider__track:focus-visible { box-shadow: inset 0 0 0 3px var(--terra); }
.sv-slider__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.sv-slider__slide img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sv-product .sv-slider__slide img {
	display: block; height: clamp(280px, 37vw, 460px); aspect-ratio: auto;
	object-fit: contain; background: #181a2e;
}
.sv-slider__btn {
	position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px;
	display: grid; place-items: center; padding: 0; cursor: pointer;
	background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 50%;
	opacity: 0; transition: opacity .25s, transform .25s var(--ease), box-shadow .25s;
}
.sv-slider__btn .sv-icon { width: 20px; height: 20px; }
.sv-slider__btn--prev { left: 14px; }
.sv-slider__btn--prev .sv-icon { transform: rotate(180deg); }
.sv-slider__btn--next { right: 14px; }
.sv-slider:hover .sv-slider__btn, .sv-slider:focus-within .sv-slider__btn { opacity: 1; }
.sv-slider__btn:hover { box-shadow: 3px 3px 0 0 var(--terra); transform: translate(-1px, -1px); }
.sv-slider__btn[disabled] { opacity: 0 !important; pointer-events: none; }
.sv-slider__dots {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
	display: flex; gap: 6px; padding: 6px 9px; border-radius: 99px;
	background: rgba(243, 238, 228, .85); border: 1px solid var(--ink);
}
.sv-slider__dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--ink); opacity: .3; cursor: pointer; transition: width .3s var(--ease), opacity .3s; }
.sv-slider__dots button.is-active { width: 22px; opacity: 1; background: var(--terra); }
.sv-product--android .sv-slider__dots button.is-active { background: var(--sage); }
@media (hover: none) { .sv-slider__btn { opacity: 1; width: 38px; height: 38px; margin-top: -19px; } }
.sv-product:hover { transform: translate(-4px, -4px); }
