/*
 * Aktionsseite Black Week / Black Friday 2026 — samaderm.de
 *
 * Dunkel, aber in den Hausfarben: der Grund ist das warme Tintenschwarz der
 * Newsletter-Vorlage (#282626-Familie), der Akzent ihr Rosé-Taupe (#ac8980)
 * und ihr Bordeaux (#592624) — kein Neon auf Schwarz.
 *
 * Schriften liegen lokal (uploads/aktion/black-2026/schrift, uploads/omgf).
 * Es wird bewusst nichts von Google geladen.
 */

/* ------------------------------------------------------------ Schriften */

@font-face {
	font-family: 'Bodoni Moda NFDS';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('schrift/bodoni-moda-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
		U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Bodoni Moda NFDS';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('schrift/bodoni-moda-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Poppins NFDS';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/wp-content/uploads/omgf/elementor-gf-poppins/poppins-normal-latin.woff2') format('woff2');
}

/* ------------------------------------------------------------- Grundlage */

.nfds-bw {
	--nacht: #171312;
	--nacht-2: #201b19;
	--bordeaux: #592624;
	--bordeaux-hell: #6d302d;
	--rose: #ac8980;
	--champagner: #e8cdbb;
	--creme: #faf8f6;
	--creme-leise: rgba(250, 248, 246, .70);
	--linie: rgba(172, 137, 128, .20);
	--schnell: cubic-bezier(.23, 1, .32, 1);

	--display: 'Bodoni Moda NFDS', 'Bodoni Moda', 'Didot', Georgia, serif;
	--text: 'Poppins', 'Poppins NFDS', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	background: var(--nacht);
	color: var(--creme);
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;

	/* Volle Breite, auch wenn das Theme einen Container setzt. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow-x: clip;
}

.nfds-bw *,
.nfds-bw *::before,
.nfds-bw *::after { box-sizing: border-box; }

.nfds-bw p { margin: 0 0 1.1em; max-width: 62ch; }
.nfds-bw p:last-child { margin-bottom: 0; }

/*
 * Das Elementor-Kit setzt h1-h3 global auf Poppins, Versalien und eigene Groessen
 * (Selektor .elementor-kit-… h1). Deshalb hier mit Nachdruck — sonst steht die
 * ganze Seite in der Shop-Schrift und in Grossbuchstaben.
 */
.nfds-bw h1,
.nfds-bw h2,
.nfds-bw h3 {
	font-family: var(--display) !important;
	font-weight: 400 !important;
	font-style: normal !important;
	color: var(--creme) !important;
	margin: 0 !important;
	padding: 0 !important;
	letter-spacing: -.012em !important;
	line-height: 1.02 !important;
	text-transform: none !important;
}

.nfds-bw a { color: inherit; }

.bw-innen {
	width: min(1200px, 100% - 2.5rem);
	margin-inline: auto;
}

@media (min-width: 820px) {
	.bw-innen { width: min(1200px, 100% - 5rem); }
}

/* Die Linkzeile im Shop-Fuss (elementor-inline-items) ragt 7 px nach links
 * heraus und erzeugt auf dem Telefon ein Querscrollen. Shopweit ist das ein
 * eigenes Thema — hier wird es fuer diese eine Vorlage abgefangen. "clip"
 * statt "hidden", damit kein Scrollcontainer entsteht. */
body.nfds-ohne-kopf { overflow-x: clip; }

/* ------------------------------------------------------------- Markenkopf */

/* Die Seite laeuft ohne die Kopfzeile des Shops, deshalb traegt sie die Marke
 * selbst. Das Logo liegt als helle Fassung vor — das Original ist dunkelgrau
 * und verschwaende auf dem Nachtgrund. Bewusst keine Navigation: ein
 * Kampagnenziel, ein Weg zurueck. */
.bw-marke {
	position: relative;
	z-index: 2;
	padding: clamp(1.45rem, 3.6vw, 2.3rem) 0 clamp(1.2rem, 2.6vw, 1.6rem);
}

.bw-marke-link {
	display: inline-block;
	line-height: 0;
	border: 0;
	transition: opacity 180ms var(--schnell), transform 160ms var(--schnell);
}

.bw-marke-link img {
	display: block;
	width: auto;
	height: clamp(25px, 5.4vw, 33px);
}

.bw-marke-link:active { transform: scale(.97); }

@media (hover: hover) and (pointer: fine) {
	.bw-marke-link:hover { opacity: .78; }
}

.bw-marke-link:focus-visible {
	outline: 2px solid var(--champagner);
	outline-offset: 6px;
}

/* ----------------------------------------------------------------- Kopf */

.bw-kopf {
	position: relative;
	display: grid;
	grid-template-rows: auto auto;
	background: var(--nacht);
}

.bw-kopf-bild {
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
}

.bw-kopf-bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% 22%;
	display: block;
}

.bw-kopf-bild::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
		rgba(23, 19, 18, .20) 0%,
		rgba(23, 19, 18, .05) 42%,
		rgba(23, 19, 18, .80) 86%,
		var(--nacht) 100%);
}

.bw-kopf-text { padding: 0 0 3.5rem; }

@media (min-width: 900px) {
	.bw-kopf { display: block; min-height: min(760px, 86vh); }
	.bw-kopf-bild { position: absolute; inset: 0; aspect-ratio: auto; }
	.bw-kopf-bild img { object-position: 72% 26%; }
	.bw-kopf-bild::after {
		background: linear-gradient(95deg,
			var(--nacht) 0%,
			rgba(23, 19, 18, .95) 34%,
			rgba(23, 19, 18, .55) 56%,
			rgba(23, 19, 18, .12) 76%,
			rgba(23, 19, 18, .40) 100%);
	}
	.bw-kopf-text {
		position: relative;
		padding: clamp(3.2rem, 7.5vh, 6rem) 0 clamp(4.5rem, 10vh, 7.5rem);
	}
	/* Die Breite begrenzen, ohne den Block aus dem Raster in die Mitte zu ziehen. */
	.bw-kopf-text > * { max-width: 38rem; }
}

.bw-kopf h1 {
	font-size: clamp(2.7rem, 8.4vw, 5.1rem) !important;
	margin: 0 0 1.4rem !important;
}

.bw-kopf h1 em {
	font-style: italic;
	color: var(--champagner);
}

.bw-lead {
	font-size: clamp(1.02rem, 2.1vw, 1.16rem);
	color: var(--creme-leise);
	max-width: 34rem;
}

/* Der Terminplan — zwei Zeilen, Datum und was es gibt. */

.bw-plan {
	margin: 2.2rem 0 2.4rem;
	border-top: 1px solid var(--linie);
}

.bw-plan-zeile {
	display: grid;
	grid-template-columns: 1fr;
	gap: .15rem 1.6rem;
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--linie);
}

@media (min-width: 560px) {
	.bw-plan-zeile { grid-template-columns: 13.5rem 1fr; gap: 0 1.8rem; align-items: baseline; }
}

.bw-plan-datum {
	font-family: var(--display);
	font-size: 1.22rem;
	color: var(--champagner);
	line-height: 1.25;
}

.bw-plan-was { font-size: .97rem; color: var(--creme-leise); }
.bw-plan-was b { color: var(--creme); font-weight: 500; }

.bw-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------- Knöpfe */

.bw-knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .92rem 1.6rem;
	border: 1px solid var(--rose);
	border-radius: 2px;
	background: transparent;
	color: var(--creme);
	font: 500 .94rem/1 var(--text);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms var(--schnell),
		border-color 160ms var(--schnell),
		color 160ms var(--schnell),
		transform 140ms var(--schnell);
}

.bw-knopf--voll {
	background: var(--bordeaux);
	border-color: var(--bordeaux);
	color: var(--creme);
}

@media (hover: hover) and (pointer: fine) {
	.bw-knopf:hover { background: rgba(172, 137, 128, .16); }
	.bw-knopf--voll:hover { background: var(--bordeaux-hell); border-color: var(--bordeaux-hell); }
}

.bw-knopf:active { transform: scale(.97); }

.bw-knopf:focus-visible {
	outline: 2px solid var(--champagner);
	outline-offset: 3px;
}

.bw-knopf--klein { padding: .62rem 1.05rem; font-size: .84rem; }

/* ---------------------------------------------------------- Abschnitte */

.bw-abschnitt { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.bw-abschnitt--woche { background: var(--nacht-2); }

.bw-titel {
	font-size: clamp(2rem, 5.2vw, 3.3rem) !important;
	margin-bottom: .9rem !important;
}

.bw-untertitel {
	color: var(--creme-leise);
	max-width: 46ch;
	margin-bottom: 2.4rem;
}

/* ------------------------------------------------------------ Black Week */

.bw-woche {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.bw-woche { grid-template-columns: 1fr minmax(260px, 380px); gap: 4.5rem; }
}

.bw-woche-bild {
	position: relative;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}

.bw-woche-bild img { width: 100%; height: auto; display: block; }

.bw-prozent {
	font-family: var(--display);
	font-size: clamp(4.6rem, 15vw, 8.2rem);
	line-height: .86;
	color: var(--champagner);
	display: block;
	margin-bottom: .4rem;
}

.bw-prozent-dazu {
	font-size: clamp(1.15rem, 3vw, 1.5rem);
	font-family: var(--display);
	color: var(--creme);
	display: block;
	margin-bottom: .5rem;
}

/* Die Schwelle steht direkt unter der Zahl: 10 % stimmt nur ab 100 € brutto,
 * und das darf nicht erst im Kleingedruckten stehen. */
.bw-schwelle {
	font-size: .92rem;
	color: var(--creme-leise);
	margin: 0 0 1.7rem;
}

/* Die Rabattstaffel: Satz links, Gruppe rechts. Dieselbe Rasterkante wie der
 * Terminplan im Kopf — die Seite kennt nur eine Linie. Der 15-%-Satz steht eine
 * Stufe groesser, sonst verschwindet das beste Angebot in der Aufzaehlung. */
.bw-staffel {
	margin: 0 0 1.9rem;
	padding: 0;
	border-top: 1px solid var(--linie);
	max-width: 52ch;
}

.bw-staffel-zeile {
	display: grid;
	grid-template-columns: 1fr;
	gap: .15rem 1.6rem;
	padding: .85rem 0;
	border-bottom: 1px solid var(--linie);
}

@media (min-width: 560px) {
	.bw-staffel-zeile { grid-template-columns: 5.4rem 1fr; gap: 0 1.6rem; align-items: baseline; }
}

.bw-staffel-satz {
	font-family: var(--display);
	font-size: 1.22rem;
	line-height: 1.25;
	color: var(--champagner);
	margin: 0;
}

.bw-staffel-zeile--hoch .bw-staffel-satz { font-size: 1.6rem; }
.bw-staffel-zeile--aus .bw-staffel-satz { color: var(--creme-leise); }

.bw-staffel-was {
	margin: 0;
	font-size: .94rem;
	color: var(--creme-leise);
}

.bw-staffel-was b { color: var(--creme); font-weight: 500; }

.bw-marken {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	margin: 2.2rem 0 0;
	padding: 0;
	list-style: none;
}

.bw-marken a {
	display: inline-block;
	padding: .36rem .7rem;
	border: 1px solid var(--linie);
	border-radius: 2px;
	font-size: .82rem;
	color: var(--creme-leise);
	text-decoration: none;
	transition: border-color 160ms var(--schnell), color 160ms var(--schnell);
}

@media (hover: hover) and (pointer: fine) {
	.bw-marken a:hover { border-color: var(--rose); color: var(--creme); }
}

.bw-marken a:focus-visible { outline: 2px solid var(--champagner); outline-offset: 2px; }

/* ----------------------------------------------------- Black Friday Liste */

.bw-liste { margin-top: 2.8rem; }

/*
 * Auf dem Telefon steht alles untereinander: Bild, Name mit Beschreibung,
 * dann der Preis als eigene Zeile. Nebeneinander wird die Textspalte so schmal,
 * dass die Beschreibung unter den Preisblock laeuft.
 */
.bw-angebot {
	position: relative;
	display: grid;
	grid-template-areas:
		'bild'
		'name'
		'preis';
	grid-template-columns: 1fr;
	row-gap: 1.15rem;
	align-items: start;
	padding: 2.4rem 0;
}

.bw-angebot + .bw-angebot { border-top: 1px solid var(--linie); }

@media (min-width: 860px) {
	.bw-angebot {
		grid-template-areas: 'bild name preis';
		grid-template-columns: 240px 1fr minmax(170px, auto);
		column-gap: 2.75rem;
		row-gap: 0;
		align-items: center;
		padding: 2.6rem 0;
	}
	.bw-angebot--gross { grid-template-columns: 300px 1fr minmax(190px, auto); padding: 3.4rem 0; }
}

.bw-angebot-bild {
	grid-area: bild;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
}

.bw-angebot-bild::before {
	content: '';
	position: absolute;
	inset: -14% -4%;
	background: radial-gradient(ellipse 58% 52% at 50% 56%,
		rgba(172, 137, 128, .26), rgba(172, 137, 128, 0) 72%);
	pointer-events: none;
}

.bw-angebot-bild img {
	position: relative;
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 128px;
	height: auto;
	filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55));
}

.bw-angebot--gross .bw-angebot-bild img { max-height: 190px; }

@media (min-width: 860px) {
	.bw-angebot-bild img { max-height: 150px; }
	.bw-angebot--gross .bw-angebot-bild img { max-height: 215px; }
}

.bw-angebot-name { grid-area: name; }

.bw-angebot-name h3 {
	font-size: clamp(1.35rem, 3.4vw, 1.85rem) !important;
	margin-bottom: .4rem !important;
}

.bw-angebot--gross .bw-angebot-name h3 { font-size: clamp(1.6rem, 4.4vw, 2.5rem) !important; }

.bw-marke {
	font-size: .42em;
	top: -.78em;
	letter-spacing: 0;
	font-weight: 500;
	opacity: .75;
}

.bw-angebot-name p {
	font-size: .92rem;
	color: var(--creme-leise);
	margin: 0 0 .9rem;
	max-width: 44ch;
}

.bw-angebot-preis {
	grid-area: preis;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .3rem .75rem;
	text-align: left;
}

.bw-fahne {
	display: inline-block;
	align-self: center;
	background: var(--bordeaux);
	color: var(--champagner);
	font: 500 .8rem/1 var(--text);
	letter-spacing: .02em;
	padding: .38rem .6rem;
	border-radius: 2px;
}

.bw-preis {
	font-family: var(--display);
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	line-height: 1;
	color: var(--champagner);
	white-space: nowrap;
}

.bw-angebot--gross .bw-preis { font-size: clamp(2.1rem, 6vw, 3.1rem); }

.bw-preis .bw-eur {
	font-family: var(--text);
	font-size: .5em;
	font-weight: 400;
	margin-left: .14em;
	vertical-align: .14em;
	letter-spacing: 0;
}

.bw-preis .bw-ab {
	font-family: var(--text);
	font-size: .4em;
	color: var(--creme-leise);
	margin-right: .3em;
	vertical-align: .22em;
}

.bw-statt {
	font-size: .86rem;
	color: var(--creme-leise);
	text-decoration: line-through;
	text-decoration-color: rgba(172, 137, 128, .8);
}

.bw-je { font-size: .8rem; color: var(--creme-leise); }

/* Auf dem Telefon bekommt der Knopf eine eigene Zeile und volle Breite. */
.bw-angebot-preis .bw-knopf { flex: 1 0 100%; margin-top: .55rem; }

@media (min-width: 860px) {
	.bw-angebot-preis {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: flex-end;
		text-align: right;
		gap: .2rem;
	}
	.bw-fahne { align-self: flex-end; margin-bottom: .45rem; }
	.bw-angebot-preis .bw-knopf { flex: 0 0 auto; margin-top: .85rem; }
}

/* ------------------------------------------------------------- Konditionen */

.bw-konditionen {
	position: relative;
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.bw-konditionen { grid-template-columns: minmax(280px, 420px) 1fr; gap: 4rem; align-items: center; }
}

.bw-konditionen-bild {
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}

.bw-konditionen-bild img { width: 100%; height: auto; display: block; }

.bw-kondition-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--linie);
	max-width: 56ch;
}

.bw-kondition-liste li {
	padding: .85rem 0;
	border-bottom: 1px solid var(--linie);
	font-size: .94rem;
	color: var(--creme-leise);
}

.bw-kondition-liste b { color: var(--creme); font-weight: 500; }

/* ------------------------------------------------------------------ Fuß */

.bw-schluss {
	padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	border-top: 1px solid var(--linie);
}

.bw-schluss h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem) !important; margin-bottom: 1rem !important; }
.bw-schluss p { margin-inline: auto; }
.bw-schluss .bw-knoepfe { justify-content: center; margin-top: 1.8rem; }

.bw-hinweis {
	margin-top: 2.6rem;
	font-size: .78rem;
	color: rgba(250, 248, 246, .45);
	max-width: none;
}

/* ----------------------------------------------------------- Bewegung */

/*
 * Genau eine choreografierte Bewegung: der Seitenaufbau im Kopf.
 * Die Preise und die Liste bewegen sich bewusst nicht — es sind Daten,
 * und wer scrollt, will sie lesen, nicht sehen, wie sie hereinfahren.
 */
@media (prefers-reduced-motion: no-preference) {
	.bw-auf {
		opacity: 0;
		transform: translateY(12px);
		animation: bw-auf 520ms var(--schnell) forwards;
	}
	.bw-auf-1 { animation-delay: 60ms; }
	.bw-auf-2 { animation-delay: 150ms; }
	.bw-auf-3 { animation-delay: 215ms; }
	.bw-auf-4 { animation-delay: 265ms; }
}

@keyframes bw-auf {
	to { opacity: 1; transform: translateY(0); }
}
