/* Ratenkauf-Anzeige bestellungh (Stand 18.11.2026, SECCI Teil C)
   Gehört zu tpl/ratenkauf.html.twig, alle Klassen und IDs mit Präfix rk-.
   Nutzt die Farbvariablen aus design1_minimal.css (--primary, --text, --border ...). */

/* Testseite: Banner oben */
.rk-testbanner {
	background: repeating-linear-gradient(135deg, #b3261e 0, #b3261e 14px, #c0392b 14px, #c0392b 28px);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-align: center;
	padding: 0.6rem 1rem;
	letter-spacing: 0.02em;
}

/* Deal-Kachel oben */
.rk-deal__aufteilung {
	font-size: 12px;
	color: var(--text-light, #666);
	margin-top: 0.25rem;
	white-space: normal;
}

.rk-deal__fehlt {
	color: #b3261e;
}

/* Karte unten */
.rk-karte .rk-vorschau {
	background: #fff4e5;
	border: 2px solid #e08b1a;
	border-left-width: 6px;
	border-radius: 8px;
	color: #7a4300;
	font-size: 15px;
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
}

.rk-bloecke {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	margin-bottom: 1.5rem;
}

.rk-block {
	border: 1px solid var(--border, #e8e8e8);
	border-radius: 10px;
	padding: 1rem;
	background: #fcfcfc;
	min-width: 0;
}

.rk-block--geraet {
	border-top: 3px solid var(--primary, #f6a32d);
}

.rk-block__titel {
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: var(--text, #333);
	margin: 0 0 0.75rem;
}

.rk-liste {
	margin: 0;
}

.rk-zeile {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.15rem 1rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.rk-zeile:last-child {
	border-bottom: 0;
}

.rk-zeile dt {
	color: var(--text-light, #666);
	font-weight: 400;
	flex: 1 1 10rem;
	min-width: 0;
}

.rk-zeile dd {
	margin: 0;
	color: var(--text, #333);
	font-weight: 600;
	text-align: right;
	flex: 0 1 auto;
	margin-left: auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.rk-zeile--summe dt,
.rk-zeile--summe dd {
	color: var(--text, #333);
	font-weight: 700;
}

.rk-zeile--gesamt {
	border-top: 2px solid var(--primary, #f6a32d);
	border-bottom: 0;
	margin-top: 0.25rem;
	padding-top: 0.6rem;
	background: #fffdf8;
}

.rk-zeile--gesamt dt {
	color: var(--text, #333);
	font-weight: 700;
}

.rk-zeile--gesamt dd {
	color: var(--primary, #f6a32d);
	font-size: 17px;
	font-weight: 700;
}

.rk-block__links {
	font-size: 12px;
	line-height: 1.5;
	color: var(--text-light, #666);
	margin: 0.75rem 0 0;
}

.rk-block__links a {
	color: var(--text-light, #666);
}

.rk-block__hinweis {
	font-size: 13px;
	line-height: 1.5;
	color: var(--text, #333);
	margin: 0.75rem 0 0;
}

/* SECCI Teil C: Auswahl Vertragsinformationen (widerrufsinfo) direkt unter Kreditgeber,
   unauffällig wie eine weitere Zeile der Liste, ohne Kasten; Optionen mit 44px Tippfläche */
.rk-wahl {
	border-top: 1px solid #eee;
	padding: 0.45rem 0 0;
	font-size: 14px;
}

.rk-wahl__frage {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-light, #666);
}

.rk-wahl__optionen {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.75rem;
}

.rk-wahl__option {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	color: var(--text, #333);
	margin: 0;
}

.rk-wahl__option input[type="radio"] {
	margin: 0 0.6rem 0 0;
}

/* SECCI Teil C: Hinweis zum Bestätigungslink unter dem Button und nach dem Absenden
   (.btn hat margin 2rem 0, der Hinweis rückt deshalb direkt unter den Button) */
.rk-kaufen .btn-submit {
	margin-bottom: 0;
}

.rk-absende-hinweis {
	font-size: 15px;
	line-height: 1.55;
	color: var(--text, #333);
	margin: 0.85rem 0 0;
}

.rk-danke {
	max-width: 680px;
	margin: 1.25rem auto 0;
	text-align: left;
}

/* im Hero gilt .hero p (0.9rem, grau), deshalb mit .rk-danke davor */
.rk-danke .rk-danke__titel {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text, #333);
	text-align: center;
	margin: 0;
}

.rk-danke .rk-danke__kasten {
	background: #fff8ec;
	border-left: 4px solid var(--primary, #f6a32d);
	border-radius: 8px;
	padding: 1.1rem 1.25rem 1.2rem;
	margin-top: 1rem;
}

.rk-danke .rk-danke__ueberschrift {
	font-family: 'Poppins', sans-serif;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--text, #333);
	margin: 0 0 0.6rem;
}

.rk-danke .rk-danke__text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--text, #333);
	margin: 0;
}

@media (max-width: 768px) {
	.rk-danke .rk-danke__ueberschrift {
		font-size: 1.25rem;
	}
}

.rk-kosten__titel {
	margin-bottom: 1rem;
}

.rk-kosten {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}

.rk-kosten__spalte {
	border: 1px solid var(--border, #e8e8e8);
	border-radius: 10px;
	padding: 0.75rem 1rem;
	min-width: 0;
}

.rk-kosten__kopf {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--text, #333);
	margin: 0 0 0.25rem;
}

.rk-mwst {
	font-size: 12px;
	color: #999;
	margin: 0.5rem 0 1.25rem;
	text-align: right;
}

.rk-kaufen {
	margin-top: 0.5rem;
}

.rk-kaufen__gesperrt,
.rk-kaufen__gesperrt:hover {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.rk-hinweis {
	font-size: 14px;
	line-height: 1.5;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin: 0.75rem 0 0;
}

.rk-hinweis--fehler {
	background: #fdecea;
	border: 1px solid #e6a19b;
	color: #8a1c14;
}

.rk-hinweis--test {
	background: #fff4e5;
	border: 1px solid #e08b1a;
	color: #7a4300;
	text-align: center;
	font-weight: 600;
}

@media (min-width: 769px) {
	.rk-bloecke,
	.rk-kosten {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* Gesetzliche Gewährleistung: Zeile ohne Checkbox in "4 Vertragsbedingungen", eingerückt wie die Checkbox-Texte
   (gemessen 38px), Schrift wie label/.checkbox-item label (14px, 500) */
.rk-gw-zeile {
	flex: 1 1 100%;
	padding-left: 38px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text, #333);
}
