/* Naturfutter Launch-Countdown – Farben/Schriften kommen aus den Einstellungen (Inline-Variablen) */
.nflc {
	--nflc-primary: #8faf77;
	--nflc-accent: #bd4481;
	--nflc-bg: transparent;
	--nflc-card: transparent;
	--nflc-text: #2e3329;
	--nflc-font-head: "Noto Serif", Georgia, serif;
	--nflc-font-body: "Noto Sans", Arial, sans-serif;
	--nflc-line: color-mix(in srgb, var(--nflc-primary) 35%, transparent);
	/* Grüne Schrift = exakt die Hauptfarbe (Naturfutter-CI #8faf77) */
	--nflc-ink: var(--nflc-primary);
	/* Sehr dunkles Grün für Schrift auf grünen Flächen */
	--nflc-deep: color-mix(in srgb, var(--nflc-primary) 22%, #142010);

	box-sizing: border-box;
	position: relative;
	margin: 2rem auto;
	max-width: 1040px;
	padding: clamp(1rem, 3vw, 2rem) 0;
	background: transparent;
	color: var(--nflc-text);
	font-family: var(--nflc-font-body);
	text-align: center;
	overflow: visible;
}
.nflc *, .nflc *::before, .nflc *::after { box-sizing: inherit; }

.nflc__inner { position: relative; z-index: 1; display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.nflc.has-image .nflc__inner { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) {
	.nflc.has-image { text-align: left; }
	.nflc.has-image .nflc__inner { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
	.nflc.has-image .nflc__clock,
	.nflc.has-image .nflc__text { margin-left: 0; }
	.nflc.has-image .nflc__logo { margin-left: 0; }
}

.nflc .nflc__logo { display: block; width: auto; height: 56px; margin: 0 auto 1rem; object-fit: contain; }

.nflc__eyebrow {
	display: inline-block;
	margin: 0 0 .75rem;
	padding: .3rem .8rem;
	border-radius: 999px;
	background: var(--nflc-primary);
	color: var(--nflc-deep);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.nflc .nflc__heading {
	margin: 0 0 .5rem;
	font-family: var(--nflc-font-head);
	font-weight: 700;
	font-size: clamp(1.6rem, 4.2vw, 2.6rem);
	line-height: 1.12;
	color: var(--nflc-ink);
}

.nflc__date {
	display: inline-flex; align-items: center; gap: .45rem;
	margin: 0 0 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--nflc-ink);
}
@media (max-width: 819px) { .nflc__date { font-size: .92rem; gap: .35rem; } }
.nflc__date svg { width: 18px; height: 18px; flex: none; color: var(--nflc-accent); }

.nflc__clock {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(.45rem, 1.6vw, 1rem);
	max-width: 560px;
	margin: 0 auto 1.5rem;
}

.nflc__unit {
	background: var(--nflc-card);
	border: 1px solid color-mix(in srgb, var(--nflc-primary) 45%, transparent);
	border-top: 4px solid var(--nflc-primary);
	border-radius: 14px;
	padding: clamp(.7rem, 2.2vw, 1.1rem) .25rem;
	text-align: center;
}

.nflc__num {
	display: block;
	font-family: var(--nflc-font-head);
	font-weight: 700;
	font-size: clamp(1.8rem, 6.4vw, 3.1rem);
	line-height: 1;
	color: var(--nflc-ink);
	font-variant-numeric: tabular-nums;
}

.nflc__label {
	display: block;
	margin-top: .4rem;
	font-size: clamp(.66rem, 1.8vw, .8rem);
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nflc-text) 70%, transparent);
}

.nflc__text { max-width: 560px; margin: 0 auto; font-size: 1.05rem; line-height: 1.6; }

.nflc .nflc__btn {
	display: inline-block;
	margin-top: 1.4rem;
	padding: .85rem 1.7rem;
	border-radius: 999px;
	background: var(--nflc-ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease;
}
.nflc .nflc__btn:hover,
.nflc .nflc__btn:focus-visible { background: var(--nflc-accent); color: #fff; transform: translateY(-1px); }

/* Optional: eigener Hintergrund (nur wenn in den Einstellungen gesetzt) */
.nflc.has-bg {
	padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1rem, 4vw, 3rem);
	background: var(--nflc-bg);
	border: 1px solid var(--nflc-line);
	border-radius: 22px;
}

/* Produktbild */
.nflc__media { position: relative; margin: 0; display: flex; justify-content: center; }
.nflc .nflc__media img { position: relative; max-width: 100%; max-height: 400px; width: auto; height: auto; filter: drop-shadow(0 16px 18px rgba(0,0,0,.16)); }
.nflc__badge {
	/* Wie die „Mini Pellets“-Bubble auf dem Etikett: Beere, weißer Ring, weiße Schrift */
	position: absolute; top: 5%; right: 10%; z-index: 2;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 96px; height: 96px;
	border-radius: 50%;
	background: var(--nflc-accent);
	border: 3px solid #fff;
	box-shadow: 0 6px 16px -6px rgba(0,0,0,.35);
	color: #fff;
	text-align: center; line-height: 1.1;
	font-family: var(--nflc-font-body);
	font-weight: 700;
	text-transform: uppercase;
}
.nflc__badge-line { display: block; font-size: .72rem; letter-spacing: .06em; }
.nflc__badge-line.is-first { font-size: 1.05rem; letter-spacing: .08em; }
@media (max-width: 819px) {
	.nflc__media { order: -1; }
	.nflc .nflc__media img { max-height: 260px; }
	.nflc__badge { width: 78px; height: 78px; right: 14%; }
	.nflc__badge-line { font-size: .62rem; }
	.nflc__badge-line.is-first { font-size: .88rem; }
}

/* Zustand nach dem Start */
.nflc__done { display: none; }
.nflc.is-done .nflc__running { display: none; }
.nflc.is-done .nflc__done { display: block; animation: nflc-in .6s ease both; }
.nflc.is-done .nflc__badge { display: none; }

@keyframes nflc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.nflc.is-done .nflc__done { animation: none; }
	.nflc .nflc__btn { transition: none; }
}
