/* SDIL – Ceny plynu (Frontend) — "Preisboard" Design */

.sdil-gas {
	--sdil-amber: #f5a623;
	--sdil-amber-hi: #ffc35c;
	--sdil-ink: #0b0f16;
	--sdil-muted: #8494ab;
	--sdil-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	max-width: 1140px;
	margin: 0 auto;
	padding: 12px 0 32px;
}
.sdil-gas * { box-sizing: border-box; }

/* --- Das Board -------------------------------------------------------- */

.sdil-gas__board {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	padding: clamp(28px, 5vw, 56px);
	background:
		radial-gradient(120% 150% at 88% -20%, rgba(245, 166, 35, .16) 0%, rgba(245, 166, 35, 0) 42%),
		radial-gradient(140% 160% at 10% 115%, #1d2a3f 0%, #131b29 48%, #0b0f16 100%);
	box-shadow: 0 30px 60px -30px rgba(11, 15, 22, .55);
	isolation: isolate;
}
/* Noise-Textur */
.sdil-gas__board::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .05;
	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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
	z-index: -1;
}
/* Feine Rasterlinie oben */
.sdil-gas__board::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: inherit;
	border: 1px solid rgba(255, 255, 255, .07);
}

.sdil-gas__overline {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--sdil-amber);
	margin-bottom: 4px;
}

/* --- Stations-Überschrift ---------------------------------------------- */

.sdil-gas__header {
	text-align: center;
	margin-bottom: clamp(28px, 4.5vw, 44px);
}
.sdil-gas h1.sdil-gas__heading {
	margin: 0;
	padding: 0;
	font-family: var(--sdil-display);
	font-size: clamp(40px, 6vw, 66px);
	font-weight: 800;
	letter-spacing: .025em;
	line-height: 1.05;
	color: #fff !important;
	text-wrap: balance;
}
.sdil-gas__heading-bar {
	display: block;
	width: 76px;
	height: 4px;
	margin: 18px auto 0;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--sdil-amber), var(--sdil-amber-hi));
	box-shadow: 0 0 18px rgba(245, 166, 35, .55);
}

/* --- LPG Zeile --------------------------------------------------------- */

.sdil-gas__lpg {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 40px;
}
.sdil-gas__lpg-info { display: flex; flex-direction: column; }
.sdil-gas__lpg-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--sdil-display);
	font-size: clamp(44px, 6vw, 64px);
	font-weight: 800;
	letter-spacing: .04em;
	color: #fff;
	line-height: 1;
}
.sdil-gas__flame {
	width: .72em;
	height: .72em;
	filter: drop-shadow(0 0 14px rgba(245, 166, 35, .55));
	animation: sdilFlicker 2.6s ease-in-out infinite;
	transform-origin: 50% 90%;
}
.sdil-gas__lpg-note {
	color: var(--sdil-muted);
	font-size: 15px;
	margin-top: 8px;
}
.sdil-gas__lpg-price {
	display: flex;
	align-items: baseline;
	gap: 14px;
	white-space: nowrap;
}
.sdil-gas__lpg-price strong {
	font-family: var(--sdil-display);
	font-size: clamp(64px, 9vw, 104px);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: .9;
	letter-spacing: .01em;
	background: linear-gradient(180deg, #fff 30%, var(--sdil-amber-hi) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 6px 24px rgba(245, 166, 35, .28));
}
.sdil-gas__lpg-price span {
	font-family: var(--sdil-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--sdil-muted);
	text-transform: uppercase;
}

/* --- Warnstreifen-Divider ---------------------------------------------- */

.sdil-gas__stripe {
	height: 7px;
	margin: clamp(24px, 4vw, 40px) -8px;
	border-radius: 4px;
	background: repeating-linear-gradient(
		-45deg,
		var(--sdil-amber) 0 16px,
		transparent 16px 32px
	);
	opacity: .28;
}

/* --- Überschrift -------------------------------------------------------- */

.sdil-gas__head { text-align: center; margin-bottom: clamp(22px, 3.5vw, 34px); }
.sdil-gas__head .sdil-gas__overline { margin-bottom: 6px; }
.sdil-gas__title {
	display: block;
	font-family: var(--sdil-display);
	font-size: clamp(34px, 4.6vw, 48px);
	font-weight: 700;
	letter-spacing: .03em;
	color: #fff;
	line-height: 1.05;
}

/* --- Flaschen-Karten ----------------------------------------------------- */

.sdil-gas__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
	gap: 14px;
}
.sdil-gas__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 30px 14px 26px;
	border-radius: 20px;
	background: linear-gradient(165deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .02) 100%);
	border: 1px solid rgba(255, 255, 255, .09);
	transition: transform .25s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .25s ease, background .25s ease;
	animation: sdilRise .7s cubic-bezier(.22, 1, .36, 1) both;
	animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.sdil-gas__card:hover {
	transform: translateY(-7px);
	border-color: rgba(245, 166, 35, .55);
	background: linear-gradient(165deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 100%);
	box-shadow:
		0 24px 44px -22px rgba(0, 0, 0, .65),
		0 0 0 1px rgba(245, 166, 35, .18),
		0 0 44px -14px rgba(245, 166, 35, .35);
}
.sdil-gas__icon {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 100px;
	margin-bottom: 16px;
	transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}
.sdil-gas__card:hover .sdil-gas__icon { transform: translateY(-3px) scale(1.04); }
.sdil-gas__bottle { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .4)); }
.sdil-gas__bottle--s  { height: 58px; }
.sdil-gas__bottle--m  { height: 70px; }
.sdil-gas__bottle--l  { height: 84px; }
.sdil-gas__bottle--xl { height: 100px; }

.sdil-gas__weight {
	font-family: var(--sdil-display);
	font-size: 38px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}
.sdil-gas__weight span {
	font-size: 20px;
	font-weight: 600;
	color: var(--sdil-muted);
	margin-left: 5px;
}
.sdil-gas__type {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--sdil-muted);
	margin: 8px 0 16px;
}
.sdil-gas__price {
	margin-top: auto;
	padding-top: 14px;
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-family: var(--sdil-display);
	font-size: 36px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--sdil-amber-hi);
	line-height: 1;
}
.sdil-gas__price span {
	font-size: 20px;
	font-weight: 600;
	color: var(--sdil-amber);
	margin-left: 5px;
	opacity: .85;
}

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

.sdil-gas__note {
	margin: clamp(22px, 3.5vw, 32px) 0 0;
	text-align: center;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--sdil-muted);
}
.sdil-gas__updated {
	display: inline-block;
	margin-left: 10px;
	padding: 3px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .08);
	font-size: 12px;
	font-weight: 600;
	color: #aebacb;
	white-space: nowrap;
}

/* --- Animationen ------------------------------------------------------------- */

@keyframes sdilRise {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes sdilFlicker {
	0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
	30%      { transform: scale(1.06) rotate(-2deg); opacity: .92; }
	60%      { transform: scale(.97) rotate(2deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.sdil-gas__card { animation: none; }
	.sdil-gas__flame { animation: none; }
	.sdil-gas__card, .sdil-gas__icon { transition: none; }
}

/* --- Mobil ---------------------------------------------------------------------- */

@media (max-width: 680px) {
	.sdil-gas__board { border-radius: 20px; }
	.sdil-gas__lpg { justify-content: center; text-align: center; }
	.sdil-gas__lpg-info { align-items: center; }
	.sdil-gas__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.sdil-gas__weight { font-size: 32px; }
	.sdil-gas__price { font-size: 30px; }
	.sdil-gas__icon { height: 84px; }
	.sdil-gas__bottle--xl { height: 84px; }
	.sdil-gas__bottle--l { height: 72px; }
}
