/* Shell 60-Sekunden-Tool – Frontend
 * CI-Referenz: tanken.shell.de/creation
 * Gelb #FFC600 | Rot #DD1D21 (nur Akzente/Fehler) | Text #4A4A4A | Fläche #F5F5F5
 * Fonts: "Shell Heavy" (Headlines/Buttons), "Shell" (Fließtext) – Fallback Arial
 *
 * WICHTIG: Alle Selektoren sind mit .s60 gepräfixt und Buttons explizit
 * zurückgesetzt, weil das Elementor-Kit der Zielseite (.elementor-kit-8 button)
 * sonst Farben/Padding/Größen überschreibt.
 */

.s60,
.s60 * {
	box-sizing: border-box;
}

/* hidden-Attribut absichern – Theme-CSS (.elementor-kit-8 button) überstimmt
 * sonst das UA-Stylesheet und blendet versteckte Buttons wieder ein */
.s60 [hidden] {
	display: none !important;
}

.s60 {
	--s60-yellow: #FFC600;
	--s60-yellow-soft: #FFF6D9;
	--s60-red: #DD1D21;
	--s60-text: #4A4A4A;
	--s60-bg: #F5F5F5;
	--s60-border: #E7E7E7;
	--s60-font: "Shell", Arial, Helvetica, sans-serif;
	--s60-font-heavy: "Shell Heavy", Arial, Helvetica, sans-serif;
	font-family: var(--s60-font);
	color: var(--s60-text);
	max-width: 860px;
	margin: 0 auto;
}

.s60 .s60__head {
	text-align: center;
	margin-bottom: 28px;
}

.s60 .s60__heading {
	font-family: var(--s60-font-heavy);
	font-weight: 700;
	font-size: 34px;
	line-height: 1.2;
	color: var(--s60-text);
	margin: 0 0 12px;
}

.s60 .s60__sub {
	font-family: var(--s60-font);
	font-size: 18px;
	line-height: 1.5;
	margin: 0;
	color: var(--s60-text);
}

/* Aufklapp-Modus ([shell60_tool start="button"]):
 * Intro-Panel (dunkel, gelber Akzent) – Karte ist zu, bis der Button geklickt wird. */
.s60 .s60__intro {
	position: relative;
	display: flex;
	align-items: center;
	gap: 48px;
	/* Hellgrau wie die Vorteils-Karten der Seite, mit gelben Akzenten */
	background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 55%, #EFEFEF 100%);
	border: 1px solid #ECECEC;
	border-radius: 16px;
	padding: 52px 56px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

/* Gelber Licht-Glow rechts oben */
.s60 .s60__intro::before {
	content: "";
	position: absolute;
	right: -140px;
	top: -140px;
	width: 380px;
	height: 380px;
	background: radial-gradient(circle, rgba(255, 198, 0, 0.22), transparent 68%);
	pointer-events: none;
}

/* Gelbe Akzentkante links */
.s60 .s60__intro::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--s60-yellow);
}

.s60 .s60__intro-text {
	flex: 1 1 auto;
	position: relative;
	z-index: 1;
}

.s60 .s60__intro .s60__heading {
	color: var(--s60-text);
	text-align: left;
	font-size: 32px;
	margin: 0 0 12px;
}

.s60 .s60__intro .s60__sub {
	color: var(--s60-text);
	text-align: left;
	font-size: 17px;
	margin: 0 0 22px;
	max-width: 480px;
}

.s60 .s60__badges {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.s60 .s60__badges li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--s60-text);
	font-size: 15px;
	margin: 0;
}

.s60 .s60__badge-check {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--s60-yellow);
	color: var(--s60-text);
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.s60 button.s60__start-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	/* gelber Primär-CTA mit dunkler Schrift */
	background: var(--s60-yellow) !important;
	background-color: var(--s60-yellow) !important;
	color: var(--s60-text) !important;
	border: 1px solid var(--s60-yellow) !important;
	border-radius: 10px !important;
	box-shadow: 0 6px 18px rgba(255, 198, 0, 0.45) !important;
	font-family: var(--s60-font-heavy) !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	text-transform: none !important;
	padding: 17px 42px !important;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
	text-align: center;
}

.s60 .s60__start-arrow {
	display: inline-block;
	transition: transform 0.2s ease;
	font-family: Arial, sans-serif;
}

.s60 button.s60__start-btn:hover,
.s60 button.s60__start-btn:focus-visible {
	/* Hover invertiert – wie die Buttons der Seite */
	background: var(--s60-text) !important;
	background-color: var(--s60-text) !important;
	color: var(--s60-yellow) !important;
	border-color: var(--s60-text) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25) !important;
	outline: none;
}

.s60 button.s60__start-btn:hover .s60__start-arrow,
.s60 button.s60__start-btn:focus-visible .s60__start-arrow {
	transform: translateX(5px);
}

/* Visual rechts: 60-Sekunden-Ring + schwebende Icon-Kreise */
.s60 .s60__intro-visual {
	flex: 0 0 230px;
	position: relative;
	height: 230px;
	z-index: 1;
}

.s60 .s60__ring {
	position: absolute;
	inset: 26px;
	border: 8px solid var(--s60-yellow);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #fff;
	box-shadow: 0 0 0 10px rgba(255, 198, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.s60 .s60__ring strong {
	font-family: var(--s60-font-heavy);
	font-weight: 700;
	font-size: 58px;
	line-height: 1;
	color: var(--s60-text);
}

.s60 .s60__ring span {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--s60-text);
	margin-top: 4px;
}

.s60 .s60__intro-icon {
	position: absolute;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 4px solid #fff;
	background: #fff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
	animation: s60-float 5s ease-in-out infinite;
}

.s60 .s60__intro-icon img {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 50%;
}

.s60 .s60__intro-icon--1 { top: -4px; left: -14px; }
.s60 .s60__intro-icon--2 { bottom: 6px; left: -30px; animation-delay: 1.6s; }
.s60 .s60__intro-icon--3 { bottom: -10px; right: -4px; animation-delay: 3.2s; }

@keyframes s60-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
	.s60 .s60__intro-icon { animation: none; }
	.s60 button.s60__start-btn:hover { transform: none; }
}

/* Aufklapp-Modus: volle Inhaltsbreite (wie die Karten-Reihe der Seite) */
.s60.s60--collapsed {
	max-width: none;
	position: relative;
}

.s60.s60--collapsed .s60__card {
	display: none;
}

.s60.s60--collapsed.is-open .s60__card {
	display: block;
	animation: s60-fade 0.35s ease;
}

/* Mobil: Panel weicht dem Funnel (zu schmal für zwei Spalten) */
@media (max-width: 820px) {
	.s60.s60--collapsed.is-open .s60__intro {
		display: none;
	}
}

/* Desktop: Funnel öffnet rechts IM Panel als leicht transparente Karte
 * über dem 60-Sekunden-Ring (Ring + Icons schimmern durch) */
@media (min-width: 821px) {
	.s60.s60--collapsed .s60__intro {
		min-height: 360px;
		padding-top: 40px;
		padding-bottom: 40px;
		transition: min-height 0.35s ease;
	}

	/* Ring weiter nach links (weg vom rechten Rand, Richtung Text) */
	.s60.s60--collapsed .s60__intro-visual {
		margin-right: 14%;
	}

	.s60.s60--collapsed.is-open .s60__intro {
		min-height: 540px;
	}

	/* Kontakt-Schritt: Panel wächst mit, damit die Karte nicht scrollen muss */
	.s60.s60--collapsed.is-open.s60-form-step .s60__intro {
		min-height: 860px;
	}

	/* Textspalte weicht der Funnel-Karte aus (kein Überlappen) */
	.s60.s60--collapsed.is-open .s60__intro-text {
		max-width: 40%;
	}

	.s60.s60--collapsed.is-open .s60__intro .s60__heading {
		font-size: 28px;
	}

	/* Start-Button unsichtbar, aber Platz bleibt (kein Layout-Sprung) */
	.s60.s60--collapsed.is-open .s60__start-btn {
		visibility: hidden;
	}

	.s60.s60--collapsed.is-open .s60__card {
		position: absolute;
		top: 28px;
		right: 28px;
		width: 56%;
		/* Höhe = Inhalt (endet nach "Zurück"), nie größer als das Panel */
		height: auto;
		max-height: calc(100% - 56px);
		z-index: 2; /* über Ring/Icons (Visual hat z-index 1) – Durchschimmern nur via Transparenz */
		overflow-y: auto;
		background: rgba(255, 255, 255, 0.92);
		-webkit-backdrop-filter: blur(5px);
		backdrop-filter: blur(5px);
		padding: 34px 38px 28px;
		box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
		animation: s60-slide-in 0.4s ease;
	}
}

@keyframes s60-slide-in {
	from { opacity: 0; transform: translateX(36px); }
	to   { opacity: 1; transform: none; }
}

/* Intro-Panel mobil: gestapelt + zentriert */
@media (max-width: 820px) {
	.s60 .s60__intro {
		flex-direction: column-reverse;
		gap: 28px;
		padding: 36px 22px 32px;
		text-align: center;
	}

	.s60 .s60__intro .s60__heading,
	.s60 .s60__intro .s60__sub {
		text-align: center;
	}

	.s60 .s60__intro .s60__sub {
		margin-left: auto;
		margin-right: auto;
	}

	.s60 .s60__badges {
		justify-content: center;
		gap: 8px 18px;
		margin-bottom: 26px;
	}

	.s60 .s60__intro-visual {
		flex: 0 0 auto;
		width: 170px;
		height: 170px;
	}

	.s60 .s60__ring {
		inset: 18px;
		border-width: 6px;
	}

	.s60 .s60__ring strong {
		font-size: 42px;
	}

	.s60 .s60__intro-icon {
		width: 48px;
		height: 48px;
	}

	.s60 button.s60__start-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Karte */
.s60 .s60__card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
	padding: 40px 48px 32px;
	position: relative;
}

/* Fortschritt */
.s60 .s60__progress {
	margin-bottom: 28px;
}

.s60 .s60__progress-label {
	font-family: var(--s60-font-heavy);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
	margin-bottom: 10px;
	color: var(--s60-text);
}

.s60 .s60__progress-bar {
	height: 8px;
	background: var(--s60-bg);
	border-radius: 999px;
	overflow: hidden;
}

.s60 .s60__progress-fill {
	display: block;
	height: 100%;
	background: var(--s60-yellow);
	border-radius: 999px;
	transition: width 0.35s ease;
}

/* Schritte */
.s60 .s60__step {
	display: none;
}

.s60 .s60__step.is-active {
	display: block;
	animation: s60-fade 0.3s ease;
}

@keyframes s60-fade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

.s60 .s60__question {
	font-family: var(--s60-font-heavy);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.3;
	margin: 0 0 24px;
	color: var(--s60-text);
}

/* Antwort-Kacheln: alle gleich groß (1fr-Spalten + gestreckte Zeilenhöhe),
 * lange Antworten brechen in mehrere Zeilen um. */
.s60 .s60__grid {
	display: grid !important;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
	align-items: stretch;
}

@media (min-width: 700px) {
	.s60 .s60__grid--n3 { grid-template-columns: repeat(3, 1fr); }
	.s60 .s60__grid--n4 { grid-template-columns: repeat(4, 1fr); }
}

.s60 button.s60__answer {
	appearance: none;
	-webkit-appearance: none;
	background: #fff !important;
	background-color: #fff !important;
	border: 2px solid var(--s60-border) !important;
	border-radius: 16px !important;
	padding: 24px 14px 20px !important;
	margin: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	text-align: center;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	width: 100% !important;
	height: 100%;
	min-height: 170px;
	font-family: var(--s60-font) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: var(--s60-text) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	white-space: normal !important;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.s60 button.s60__answer:hover,
.s60 button.s60__answer:focus-visible {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--s60-text) !important;
	border-color: var(--s60-yellow) !important;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
	outline: none;
}

.s60 button.s60__answer.is-selected {
	border-color: var(--s60-yellow) !important;
	background: var(--s60-yellow-soft) !important;
	background-color: var(--s60-yellow-soft) !important;
}

.s60 .s60__answer-icon {
	flex: 0 0 auto;
}

.s60 .s60__answer-icon img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	display: block;
	max-width: none;
}

.s60 .s60__answer-label {
	display: block;
	white-space: normal;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Kontakt-Formular */
.s60 .s60__form-text {
	font-family: var(--s60-font);
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 24px;
	color: var(--s60-text);
}

.s60 .s60__fields {
	display: grid !important;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
}

.s60 .s60__field--full {
	grid-column: 1 / -1;
}

.s60 .s60__field label {
	display: block;
	font-family: var(--s60-font-heavy);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 6px;
	color: var(--s60-text);
}

.s60 .s60__req {
	color: var(--s60-red);
}

.s60 .s60__field input {
	width: 100% !important;
	border: 1px solid #C9C9C9 !important;
	border-radius: 8px !important;
	padding: 13px 14px !important;
	font-family: var(--s60-font) !important;
	font-size: 16px !important;
	color: var(--s60-text) !important;
	background: #fff !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.s60 .s60__field input:focus {
	outline: none;
	border-color: var(--s60-yellow) !important;
	box-shadow: 0 0 0 3px rgba(255, 198, 0, 0.30) !important;
}

.s60 .s60__field input.s60-invalid {
	border-color: var(--s60-red) !important;
}

/* Honeypot */
.s60 .s60__hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

.s60 .s60__privacy {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 20px 0 0;
	font-family: var(--s60-font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--s60-text);
	cursor: pointer;
}

.s60 .s60__privacy input {
	margin-top: 3px;
	width: 18px !important;
	height: 18px;
	flex: 0 0 auto;
	accent-color: var(--s60-yellow);
}

.s60 .s60__privacy a {
	color: var(--s60-text);
	text-decoration: underline;
}

.s60 .s60__error {
	margin-top: 16px;
	background: #FDECEC;
	border: 1px solid var(--s60-red);
	color: var(--s60-red);
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 14px;
}

/* Absende-Button */
.s60 button.s60__submit {
	display: inline-block;
	width: 100% !important;
	margin: 24px 0 0 !important;
	background: var(--s60-yellow) !important;
	background-color: var(--s60-yellow) !important;
	color: var(--s60-text) !important;
	border: 1px solid var(--s60-yellow) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	font-family: var(--s60-font-heavy) !important;
	font-weight: 700 !important;
	font-size: 17px !important;
	text-transform: none !important;
	padding: 15px 36px !important;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	text-align: center;
}

.s60 button.s60__submit:hover,
.s60 button.s60__submit:focus-visible {
	background: var(--s60-text) !important;
	background-color: var(--s60-text) !important;
	color: var(--s60-yellow) !important;
	border-color: var(--s60-text) !important;
	outline: none;
}

.s60 button.s60__submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

/* Navigation / Zurück-Button */
.s60 .s60__nav {
	margin-top: 24px;
	min-height: 24px;
}

.s60 button.s60__back {
	appearance: none;
	-webkit-appearance: none;
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid #C9C9C9 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	padding: 12px 24px !important;
	margin: 0 !important;
	font-family: var(--s60-font) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	color: #6b6b6b !important;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.s60 button.s60__back:hover,
.s60 button.s60__back:focus-visible {
	color: var(--s60-text) !important;
	border-color: var(--s60-text) !important;
	background: #fff !important;
	background-color: #fff !important;
	outline: none;
}

/* Danke-Schritt */
.s60 .s60__step--success {
	text-align: center;
	padding: 24px 0;
}

.s60 .s60__success-icon {
	margin-bottom: 20px;
}

.s60 .s60__step--success .s60__form-text {
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

/* Trigger-Button ([shell60_button] – liegt AUSSERHALB von .s60) */
button.s60-open {
	display: inline-block;
	background: #FFC600 !important;
	background-color: #FFC600 !important;
	color: #4A4A4A !important;
	border: 1px solid #FFC600 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	font-family: "Shell Heavy", Arial, Helvetica, sans-serif !important;
	font-weight: 700 !important;
	font-size: 17px !important;
	text-transform: none !important;
	padding: 15px 36px !important;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	text-align: center;
}

button.s60-open:hover,
button.s60-open:focus-visible {
	background: #4A4A4A !important;
	background-color: #4A4A4A !important;
	color: #FFC600 !important;
	border-color: #4A4A4A !important;
	outline: none;
}

/* Modal / Overlay */
.s60-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.s60-modal.is-open {
	display: block;
}

.s60-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.s60-modal__box {
	position: relative;
	max-width: 900px;
	margin: 5vh auto;
	max-height: 90vh;
	overflow-y: auto;
	background: #F5F5F5;
	border-radius: 16px;
	padding: 40px 24px 32px;
}

.s60-modal__box .s60__card {
	box-shadow: none;
	border: 1px solid #E7E7E7;
}

.s60-modal button.s60-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	appearance: none;
	-webkit-appearance: none;
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid #E7E7E7 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	font-size: 24px !important;
	line-height: 1 !important;
	color: #4A4A4A !important;
	cursor: pointer;
	transition: background 0.2s ease;
}

.s60-modal button.s60-modal__close:hover {
	background: #FFC600 !important;
	background-color: #FFC600 !important;
}

body.s60-modal-open {
	overflow: hidden;
}

/* Seiten-Footer („Alle Rechte vorbehalten") bündig unter dem Funnel abschließen.
 * Greift nur auf Seiten, auf denen der Funnel eingebunden ist (CSS lädt nur dort).
 * Footer-Spalte = gleiche 860px-Zentrierung wie .s60 → rechte Kanten fluchten. */
.site-footer .footer-inner {
	max-width: 860px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	float: none !important;
}

.site-footer .footer-inner .copyright,
.site-footer .footer-inner .copyright p {
	text-align: right !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

/* Mobil (gleicher Breakpoint wie das 2-spaltige Kachel-Raster):
 * Unterzeile mit 5px mehr Seitenrand, Fragen + Texte zentriert. */
@media (max-width: 699px) {
	.s60 .s60__sub {
		padding-left: 5px;
		padding-right: 5px;
	}

	.s60 .s60__question,
	.s60 .s60__form-text,
	.s60 .s60__progress-label {
		text-align: center;
	}
}

/* Mobile */
@media (max-width: 640px) {
	.s60 .s60__card {
		padding: 24px 18px;
	}

	.s60 .s60__heading {
		font-size: 26px;
	}

	.s60 .s60__sub {
		font-size: 16px;
	}

	.s60 .s60__question {
		font-size: 20px;
	}

	.s60 .s60__fields {
		grid-template-columns: 1fr;
	}

	.s60 .s60__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.s60 button.s60__answer {
		padding: 16px 10px 14px !important;
		min-height: 150px;
	}

	.s60 .s60__answer-icon img {
		width: 64px;
		height: 64px;
	}

	.s60 button.s60__answer {
		font-size: 13px !important;
	}

	.s60-modal__box {
		margin: 0;
		max-height: 100vh;
		border-radius: 0;
		padding: 56px 12px 24px;
	}
}
