/* ════════════════════════════════════════════════════════════
   NATURKOSMETIK KARL — BENEFIT GRID
   Frontend-Styles (passt zu Salient + WPBakery)
   ═══════════════════════════════════════════════════════════ */

/* Variablen werden auf alle NK-Komponenten gescoped, damit
   sie nicht mit globalen Theme-Variablen kollidieren. */
.nk-section-head,
.nk-benefit-grid,
.nk-benefit,
.nk-ritual,
.nk-steps,
.nk-step,
.nk-product-header {
	--sand-4:  #f4f6ef;
	--sage:    #8faf86;
	--sage-2:  #a6c09d;
	--sage-3:  #c8d8bf;
	--olive:   #3a3a35;
	--olive-2: #6a6a63;
	--olive-3: #a9a9a0;
	--cream:   #fbfaf4;
	--rule:    #d4dcc8;
	--rose:    #d68a8a;
	--rose-2:  #e8b5b5;
	--nk-display: "Cormorant", Georgia, serif;
	--nk-script:  "Dancing Script", "Apple Chancery", cursive;
	--nk-sans:    "Jost", ui-sans-serif, system-ui, sans-serif;
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADER
   ───────────────────────────────────────────────────────────── */
.nk-section-head {
	text-align: center;
	max-width: 46ch;
	margin: 0 auto 64px;
	color: var(--olive);
	font-family: var(--nk-sans);
	font-weight: 300;
}

.nk-section-head .nk-eyebrow {
	font-family: var(--nk-sans);
	font-size: 11px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--sage);
	font-weight: 400;
	line-height: 1;
}

.nk-section-head .nk-section-title {
	font-family: var(--nk-display);
	font-weight: 300;
	font-size: 56px;
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--olive);
	margin: 14px 0 18px;
}

.nk-section-head .nk-section-title .nk-script {
	font-family: var(--nk-script);
	color: var(--sage);
	font-weight: 500;
	font-style: normal;
}

.nk-section-head .nk-lede {
	font-family: var(--nk-display);
	font-style: italic;
	font-size: 18px;
	color: var(--olive-2);
	margin: 0;
	line-height: 1.5;
}

@media (max-width: 600px) {
	.nk-section-head .nk-section-title { font-size: 38px; }
	.nk-section-head .nk-lede { font-size: 16px; }
}


/* ─────────────────────────────────────────────────────────────
   GRID
   ───────────────────────────────────────────────────────────── */
.nk-benefit-grid {
	display: grid;
	gap: 48px 56px;
}
.nk-benefit-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.nk-benefit-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.nk-benefit-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Spacing zum Section Header darüber */
.nk-benefit-grid--spacing-tight   { margin-top: 32px; }
.nk-benefit-grid--spacing-default { margin-top: 64px; }
.nk-benefit-grid--spacing-loose   { margin-top: 96px; }
.nk-benefit-grid--spacing-none    { margin-top: 0; }

@media (max-width: 900px) {
	.nk-benefit-grid--cols-3,
	.nk-benefit-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.nk-benefit-grid--cols-2,
	.nk-benefit-grid--cols-3,
	.nk-benefit-grid--cols-4 { grid-template-columns: 1fr; }
	.nk-benefit-grid { gap: 48px; }
}


/* ─────────────────────────────────────────────────────────────
   EINZEL-ITEM
   ───────────────────────────────────────────────────────────── */
.nk-benefit {
	max-width: 380px;
	margin: 0 auto;
	font-family: var(--nk-sans);
	color: var(--olive);
	display: block;
	text-decoration: none;
}
.nk-benefit:hover,
.nk-benefit:focus { text-decoration: none; color: var(--olive); }

.nk-benefit--align-center { text-align: center; }
.nk-benefit--align-left   { text-align: left; }
.nk-benefit--align-left .nk-benefit__circle { margin-left: 0; }

/* Rundes Bild */
.nk-benefit__circle {
	width: 180px;
	height: 180px;
	margin: 0 auto 22px;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	background: var(--cream);
	border: 1px solid var(--rule);
	box-shadow: 0 18px 40px -14px rgba(58, 58, 53, .22);
	transition: transform .35s ease, box-shadow .35s ease;
}
.nk-benefit:hover .nk-benefit__circle,
.nk-benefit:focus .nk-benefit__circle {
	transform: translateY(-6px);
	box-shadow: 0 26px 50px -14px rgba(58, 58, 53, .32);
}
.nk-benefit__circle::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(58, 58, 53, 0) 55%, rgba(58, 58, 53, .18) 100%);
	pointer-events: none;
}

/* Bild im Kreis */
.nk-benefit__circle img,
.nk-benefit__img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover;
	display: block;
	margin: 0;
	border-radius: 0; /* Falls Theme runde Bilder global stylt */
	border: 0;
	box-shadow: none;
}

/* Größenvarianten */
.nk-benefit--size-sm .nk-benefit__circle { width: 140px; height: 140px; }
.nk-benefit--size-md .nk-benefit__circle { width: 180px; height: 180px; }
.nk-benefit--size-lg .nk-benefit__circle { width: 220px; height: 220px; }

/* Nummer (Script) */
.nk-benefit__num {
	font-family: var(--nk-script);
	color: var(--sage);
	font-size: 22px;
	line-height: 1;
	margin: 0 0 6px;
	font-weight: 500;
}

/* Titel */
.nk-benefit__title {
	font-family: var(--nk-display);
	font-weight: 400;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -.005em;
	color: var(--olive);
	margin: 0 0 10px;
}

/* Beschreibung */
.nk-benefit__text {
	font-family: var(--nk-sans);
	font-weight: 300;
	font-size: 14px;
	line-height: 1.65;
	color: var(--olive-2);
	margin: 0;
	max-width: 32ch;
}
.nk-benefit--align-center .nk-benefit__text {
	margin-left: auto;
	margin-right: auto;
}

/* Mobile */
@media (max-width: 600px) {
	.nk-benefit__circle { width: 150px; height: 150px; }
	.nk-benefit--size-lg .nk-benefit__circle { width: 180px; height: 180px; }
	.nk-benefit__title  { font-size: 22px; }
}


/* ─────────────────────────────────────────────────────────────
   RITUAL (3-Schritte-Anleitung)
   ───────────────────────────────────────────────────────────── */
.nk-ritual {
	color: var(--olive);
	font-family: var(--nk-sans);
}

/* Header */
.nk-ritual__head {
	text-align: center;
	max-width: 50ch;
	margin: 0 auto 80px;
}
.nk-ritual__eyebrow {
	font-family: var(--nk-sans);
	font-size: 11px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--sage);
	font-weight: 400;
	line-height: 1;
}
.nk-ritual__title {
	font-family: var(--nk-display);
	font-weight: 300;
	font-size: 60px;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--olive);
	margin: 14px 0 18px;
}
.nk-ritual__title .nk-script {
	font-family: var(--nk-script);
	color: var(--sage);
	font-weight: 500;
	font-style: normal;
}
.nk-ritual__lede {
	font-family: var(--nk-display);
	font-style: italic;
	font-size: 19px;
	color: var(--olive-2);
	margin: 0;
	line-height: 1.5;
}

/* Steps-Grid mit gestrichelter Verbindungslinie */
.nk-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	position: relative;
}
.nk-steps::before {
	content: "";
	position: absolute;
	top: 62px;
	left: 16%;
	right: 16%;
	height: 1px;
	background: repeating-linear-gradient(
		90deg,
		var(--sage) 0,
		var(--sage) 6px,
		transparent 6px,
		transparent 14px
	);
}
.nk-steps.nk-steps--no-line::before { display: none; }

/* Einzel-Schritt */
.nk-step {
	text-align: center;
	padding: 0 28px;
	position: relative;
}

/* Großer Cream-Kreis mit Nummer + zartem Außen-Ring */
.nk-step__circle {
	width: 124px;
	height: 124px;
	border-radius: 50%;
	background: var(--cream);
	border: 1px solid var(--rule);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 30px;
	font-family: var(--nk-display);
	font-weight: 300;
	font-size: 54px;
	color: var(--olive);
	position: relative;
	box-sizing: border-box;
}
.nk-step__circle::after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 1px solid var(--sage-3);
}

/* Titel mit Script-Akzentwort */
.nk-step__title {
	font-family: var(--nk-display);
	font-weight: 400;
	font-size: 24px;
	color: var(--olive);
	margin: 0 0 12px;
	line-height: 1.2;
}
.nk-step__title em,
.nk-step__accent {
	font-family: var(--nk-script);
	font-style: normal;
	color: var(--sage);
	font-weight: 500;
}

/* Beschreibung */
.nk-step__text {
	font-family: var(--nk-sans);
	font-weight: 300;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--olive-2);
	margin: 0 auto;
	max-width: 32ch;
}

/* Zeit-Pille */
.nk-step__time {
	margin-top: 14px;
	display: inline-block;
	padding: 5px 14px;
	border: 1px solid var(--rule);
	background: var(--sand-4);
	font-family: var(--nk-sans);
	font-size: 10px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--olive-2);
	line-height: 1.4;
}

/* Mobile */
@media (max-width: 900px) {
	.nk-steps {
		grid-template-columns: 1fr;
		gap: 64px;
	}
	.nk-steps::before { display: none; }
}
@media (max-width: 600px) {
	.nk-ritual__title { font-size: 40px; }
	.nk-ritual__lede  { font-size: 16px; }
	.nk-ritual__head  { margin-bottom: 56px; }
}


/* ─────────────────────────────────────────────────────────────
   PRODUKT-HEADER
   ───────────────────────────────────────────────────────────── */
.nk-product-header {
	position: relative;
	overflow: hidden;
	padding: 80px 0 70px;
	color: var(--olive);
	font-family: var(--nk-sans);
}

/* Pseudo-Elemente: zwei optionale Radial-Verläufe */
.nk-product-header::before,
.nk-product-header::after {
	content: "";
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
	display: none;
}

/* Sage – Default Brand (Mint + Pfirsichblüte zart) */
.nk-product-header--sage::before {
	display: block;
	top: -80px;
	right: -160px;
	width: 560px;
	height: 560px;
	background: radial-gradient(circle, rgba(143, 175, 134, .18), transparent 70%);
}
.nk-product-header--sage::after {
	display: block;
	bottom: -100px;
	left: -140px;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(232, 196, 192, .18), transparent 70%);
}

/* Rose – Anti-Aging-Linie */
.nk-product-header--rose::before {
	display: block;
	top: -80px;
	right: -160px;
	width: 560px;
	height: 560px;
	background: radial-gradient(circle, rgba(214, 138, 138, .18), transparent 70%);
}
.nk-product-header--rose::after {
	display: block;
	bottom: -100px;
	left: -140px;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(143, 175, 134, .15), transparent 70%);
}

/* Rose + Sage kombiniert */
.nk-product-header--rose-sage::before {
	display: block;
	top: -80px;
	right: -160px;
	width: 560px;
	height: 560px;
	background: radial-gradient(circle, rgba(214, 138, 138, .18), transparent 70%);
}
.nk-product-header--rose-sage::after {
	display: block;
	bottom: -100px;
	left: -140px;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(143, 175, 134, .18), transparent 70%);
}

/* Inhalt über den Verläufen */
.nk-product-header__inner {
	position: relative;
	z-index: 2;
}

/* Kategorie-Zeile */
.nk-product-header__cat {
	font-family: var(--nk-sans);
	font-weight: 300;
	font-size: 11px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--olive-2);
	margin: 0 0 14px;
	line-height: 1.4;
}
.nk-product-header__cat em {
	font-family: var(--nk-script);
	font-style: normal;
	color: var(--sage);
	font-size: 18px;
	letter-spacing: 0;
	text-transform: none;
	margin: 0 6px;
	font-weight: 500;
}

/* Großer Titel */
.nk-product-header__title {
	font-family: var(--nk-display);
	font-weight: 300;
	font-size: 84px;
	line-height: .98;
	letter-spacing: -.02em;
	color: var(--olive);
	margin: 6px 0 14px;
}
.nk-product-header__title .nk-script {
	font-family: var(--nk-script);
	color: var(--sage);
	font-weight: 500;
	font-style: normal;
}

/* Tagline */
.nk-product-header__tagline {
	font-family: var(--nk-display);
	font-style: italic;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.4;
	color: var(--olive-2);
	margin: 0;
	max-width: 30ch;
}

/* Größenvarianten */
.nk-product-header--size-lg .nk-product-header__title { font-size: 84px; }
.nk-product-header--size-md .nk-product-header__title { font-size: 72px; }
.nk-product-header--size-sm .nk-product-header__title { font-size: 56px; }

/* Ausrichtung */
.nk-product-header--align-left  { text-align: left; }
.nk-product-header--align-left  .nk-product-header__tagline { margin-left: 0; margin-right: auto; }
.nk-product-header--align-center { text-align: center; }
.nk-product-header--align-center .nk-product-header__tagline { margin-left: auto; margin-right: auto; }

/* Mobile */
@media (max-width: 900px) {
	.nk-product-header { padding: 60px 0 50px; }
	.nk-product-header__title                            { font-size: 60px; }
	.nk-product-header--size-lg .nk-product-header__title { font-size: 60px; }
	.nk-product-header--size-md .nk-product-header__title { font-size: 54px; }
	.nk-product-header--size-sm .nk-product-header__title { font-size: 44px; }
	.nk-product-header__tagline                           { font-size: 20px; }
}
@media (max-width: 600px) {
	.nk-product-header__title                            { font-size: 48px; }
	.nk-product-header--size-lg .nk-product-header__title { font-size: 48px; }
	.nk-product-header--size-md .nk-product-header__title { font-size: 42px; }
	.nk-product-header--size-sm .nk-product-header__title { font-size: 36px; }
	.nk-product-header__cat em                            { font-size: 16px; }
}
