/* Interaktiver Anfrage-Funnel – Bordeaux-Look nach wagner-window.de.
   Alle Klassen mit Präfix amf-, damit nichts mit dem Theme kollidiert. */

.am-funnel {
	--amf-wine: #7a1c32;
	--amf-wine-dark: #641428;
	--amf-wine-800: #5f1728;
	--amf-ink: #1c1917;
	--amf-muted: #6b6560;
	--amf-line: rgba(28, 25, 23, 0.1);
	--amf-sand: #f7f4f1;
	--amf-sand2: #efe9e3;
	max-width: 960px;
	margin: 0 auto 2rem;
	font-size: 16px;
	color: var(--amf-ink);
}

.am-funnel * {
	box-sizing: border-box;
}

.amf-wrap {
	display: grid;
	grid-template-columns: 1fr;
	overflow: hidden;
	border: 1px solid var(--amf-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
}

@media (min-width: 860px) {
	.amf-wrap {
		grid-template-columns: 20rem 1fr;
	}
}

/* Seitenspalte */
.amf-aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	background: var(--amf-wine-800);
	color: #fff;
	padding: 1.75rem;
}

@media (min-width: 860px) {
	.amf-aside {
		padding: 2.5rem;
	}
}

.amf-eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.amf-produkt {
	margin: 0.6rem 0 0;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
}

.amf-sub {
	margin: 0.4rem 0 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
}

.amf-vorteile,
.amf-summary {
	margin: 1.75rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	list-style: none;
}

.amf-vorteile li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8);
}

.amf-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	font-size: 0.7rem;
}

.amf-summary div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
}

.amf-summary dt {
	color: rgba(255, 255, 255, 0.6);
	flex-shrink: 0;
}

.amf-summary dd {
	margin: 0;
	text-align: right;
	font-weight: 500;
}

.amf-tel p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
}

.amf-tel a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

/* Hauptspalte */
.amf-main {
	display: flex;
	flex-direction: column;
	min-height: 32rem;
}

.amf-bar {
	height: 4px;
	background: var(--amf-sand2);
}

.amf-bar-fill {
	height: 100%;
	background: var(--amf-wine);
	transition: width 0.3s ease;
}

.amf-pane {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 2rem;
}

@media (min-width: 640px) {
	.amf-pane {
		padding: 3rem;
	}
}

/* Startschritt */
.amf-start {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
}

.amf-start h3 {
	margin: 0;
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.15;
}

.amf-einleitung {
	margin: 1.25rem 0 0;
	max-width: 32rem;
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--amf-muted);
}

/* Frage */
.amf-frageNr {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--amf-muted);
}

.amf-titel {
	margin: 0.6rem 0 0;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.25;
}

.amf-hl {
	color: var(--amf-wine);
}

.amf-desc {
	margin: 0.6rem 0 0;
	color: var(--amf-muted);
}

.amf-koerper {
	margin-top: 1.75rem;
	flex-grow: 1;
}

/* Optionen (Karten) */
.amf-optionen {
	display: grid;
	gap: 0.75rem;
	max-width: 34rem;
}

.amf-opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 1.25rem;
	border: 1px solid var(--amf-line);
	border-radius: 14px;
	background: #fff;
	color: var(--amf-ink);
	font-size: 1.05rem;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.amf-opt:hover {
	border-color: rgba(122, 28, 50, 0.4);
	background: #fdf6f7;
}

.amf-opt-aktiv {
	border-color: var(--amf-wine);
	background: var(--amf-wine);
	color: #fff;
}

.amf-radio,
.amf-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
	background: var(--amf-sand2);
	color: transparent;
	font-size: 0.8rem;
}

.amf-radio {
	border-radius: 999px;
}

.amf-box {
	border-radius: 6px;
}

.amf-opt-aktiv .amf-radio,
.amf-opt-aktiv .amf-box {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

/* Eingabefelder */
.amf-massfeld {
	position: relative;
	max-width: 18rem;
}

.am-funnel input[type='text'],
.am-funnel input[type='tel'],
.am-funnel input[type='email'],
.am-funnel textarea,
.am-funnel select {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--amf-line);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	font-size: 1.05rem;
	color: var(--amf-ink);
}

.am-funnel input:focus,
.am-funnel textarea:focus,
.am-funnel select:focus {
	outline: none;
	border-color: var(--amf-wine);
	box-shadow: 0 0 0 2px rgba(122, 28, 50, 0.15);
}

.amf-einheit {
	position: absolute;
	top: 50%;
	right: 1rem;
	transform: translateY(-50%);
	color: var(--amf-muted);
}

.amf-grid2 {
	display: grid;
	gap: 1rem;
	max-width: 34rem;
}

@media (min-width: 560px) {
	.amf-grid2 {
		grid-template-columns: 1fr 1fr;
	}
}

.amf-adresse {
	max-width: 34rem;
	display: grid;
	gap: 1rem;
}

.amf-grid-strasse {
	display: grid;
	gap: 1rem;
}

.amf-grid-plz {
	display: grid;
	gap: 1rem;
}

@media (min-width: 560px) {
	.amf-grid-strasse {
		grid-template-columns: 2fr 1fr;
	}
	.amf-grid-plz {
		grid-template-columns: 1fr 2fr;
	}
}

.amf-label {
	display: block;
}

.amf-label > span {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: #44403c;
}

.amf-einwilligung {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	max-width: 34rem;
	padding: 1.25rem;
	background: var(--amf-sand);
	border-radius: 16px;
	line-height: 1.55;
	font-size: 0.95rem;
	color: #44403c;
	cursor: pointer;
}

.amf-einwilligung input {
	margin-top: 0.25rem;
	width: 1.05rem;
	height: 1.05rem;
	flex-shrink: 0;
	accent-color: var(--amf-wine);
}

.amf-einwilligung a {
	color: var(--amf-wine);
	font-weight: 500;
}

.amf-fehler {
	margin: 1rem 0 0;
	color: var(--amf-wine);
	font-size: 0.95rem;
}

/* Fußzeile mit Navigation */
.amf-fuss {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--amf-line);
}

.amf-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--amf-wine);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

.amf-btn:hover {
	background: var(--amf-wine-dark);
}

.amf-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.amf-btn-gross {
	padding: 1rem 2rem;
	font-size: 1.1rem;
	margin-top: 2.5rem;
	align-self: flex-start;
}

.amf-zurueck {
	padding: 0.6rem 1rem;
	border: 0;
	background: transparent;
	color: var(--amf-muted);
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}

.amf-zurueck:hover {
	color: var(--amf-ink);
}

/* Honigtopf */
.amf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Fertig-Zustand */
.amf-fertig {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	padding: 4rem 2rem;
	text-align: center;
	border: 1px solid var(--amf-line);
	border-radius: 24px;
	background: #fff;
	font-size: 1.15rem;
	color: var(--amf-ink);
}

.amf-fertig-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 999px;
	background: #e3f3e6;
	color: #1a7a33;
	font-size: 1.6rem;
}

/* --------------------------------------------------------------------------
   Theme-Schutz: Viele Themes (Elementor u. a.) färben ALLE <button>-Hover in
   ihrer Akzentfarbe ein – dann werden die Auswahlkarten beim Überfahren rot
   mit weißer Schrift (unlesbar) und „Zurück" rosa. Diese Regeln setzen die
   Funnel-Farben verbindlich, damit das Theme sie nicht überschreibt.
   -------------------------------------------------------------------------- */
.am-funnel .amf-opt,
.am-funnel .amf-opt:link,
.am-funnel .amf-opt:visited {
	background: #fff !important;
	color: var(--amf-ink) !important;
}
.am-funnel .amf-opt:hover,
.am-funnel .amf-opt:focus {
	background: #fdf6f7 !important;
	color: var(--amf-ink) !important;
	border-color: rgba(122, 28, 50, 0.45) !important;
}
.am-funnel .amf-opt-aktiv,
.am-funnel .amf-opt-aktiv:hover,
.am-funnel .amf-opt-aktiv:focus {
	background: var(--amf-wine) !important;
	color: #fff !important;
	border-color: var(--amf-wine) !important;
}
.am-funnel .amf-btn,
.am-funnel .amf-btn:hover,
.am-funnel .amf-btn:focus {
	background: var(--amf-wine) !important;
	color: #fff !important;
	border: 0 !important;
}
.am-funnel .amf-btn:hover,
.am-funnel .amf-btn:focus {
	background: var(--amf-wine-dark) !important;
}
.am-funnel .amf-zurueck,
.am-funnel .amf-zurueck:hover,
.am-funnel .amf-zurueck:focus {
	background: transparent !important;
	color: var(--amf-muted) !important;
	border: 0 !important;
}
.am-funnel .amf-zurueck:hover,
.am-funnel .amf-zurueck:focus {
	color: var(--amf-ink) !important;
}
