/* ============== TYPO / HEADINGS ============== */
h1 {
	font-size: clamp(2rem, 2vw + 1.5rem, 3.5rem);
	line-height: 1.15;
	margin-block: 1rem 2rem;
}

sup {
	font-size: 60%;
}

/* ============== INTRO ============== */
.intro-text {
	background: #fff;
	position: relative;
	text-align: center;
	z-index: 1;
	width: 100%;
	padding-block: 2rem 0;
	margin-inline: auto;
}

	.intro-text.up{
		margin-top:-5rem;
	}

	.intro-text p {
		font-size: 1rem;
		line-height: 1.8rem;
		text-wrap: balance; /* experimentell, fallback ok */
		hyphens: auto;
		overflow-wrap: break-word;
	}

	.intro-text p,
	.intro-text p:nth-child(3) {
		font-size: 1rem;
	}

/* ============== PRIZES ============== */
.prizes {
	margin-block: 3rem;
}

	.prizes .row {
		align-content: center;
		justify-content: center;
	}

.prize-box {
	padding: 0 2rem 1rem;
	flex: 0 1 33.333%;
}

.prizes img {
	padding: 0 0 1rem;
}

.prizes h5 {
	text-align: center;
	font-size: 1.7rem;
}

.prizes p {
	font-size: .9rem;
	text-align: center;
	line-height: 1.4rem;
}

/* Grid */
.prizes {
	margin-block: 2rem;
}

.prize-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Altlast killen */
.prizes img {
	padding: 0 !important;
}

/* POLAROID */
.prize-card {
	--frame: 18px; /* Seiten-/Top-Rand */
	--lip: 80px; /* fester Unterrand für Text */
	--gap: 12px;
	width: 320px;
	position: relative;
	text-align: center;
}

	.prize-card::before {
		content: "";
		position: absolute;
		inset: 0;
		background: #fff;
		border-radius: 2px;
		box-shadow: 0 12px 28px rgba(0,0,0,.18);
	}
	/* Bild als ?Einlage? im Rahmen */
	.prize-card .media {
		position: relative;
		z-index: 1;
		display: block;
		width: calc(100% - 2*var(--frame));
		margin: var(--frame) var(--frame) calc(var(--frame) + var(--lip) + var(--gap));
		padding: 0 !important; /* falls irgendwo noch gesetzt */
	}
	/* Beschriftung IM Polaroid-Lip */
	.prize-card .caption {
		padding-top: var(--gap);
		position: absolute;
		z-index: 1;
		left: var(--frame);
		right: var(--frame);
		bottom: var(--frame);
		height: var(--lip);
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
		padding: .25rem .5rem;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: .02em;
		line-height: 1.15;
		font-size: 1rem;
		hyphens: auto;
		overflow-wrap: break-word;
	}

/* Responsive (optional) */
@media (max-width:576px) {
	.prize-card {
		width: 280px;
	}
}


/* ============== RUNNER UP / TEXT ============== */
.runner-up .col-sm-9 {
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.runner-up h2, .runner-up p {
	text-align: left;
}

.runner-up .btn {
	background: #000;
	color: #fff;
}

/* ============== NAVBAR / GLOBAL ============== */
.navbar-left .nav-link {
	font-size: 16px;
	font-weight: 700 !important;
}

.navbar-main {
	font-family: Helvetica, Arial, sans-serif;
}

nav .container-fluid,
#ctl00_header_nav .container-fluid {
	padding-inline: 0;
}

/* ============== FORM ============== */
.campaign-form p {
	text-align: center;
	font-size: 14px;
	margin: 0;
}

	.campaign-form p.error {
		text-align: center;
		font-size: 16px;
		font-weight: 700;
		margin: 0 0 1.5rem;
	}

	.campaign-form p:last-child:not(.help-text) {
		margin-bottom: 2rem;
	}

	.campaign-form .help-text {
		text-align:left;
		margin-left: 0.2rem;
	}
/*
	.campaign-form .form-group #col-left.no-padding .form-group {
		padding: 0 !important;
	}

	.campaign-form .form-group #col-right.no-padding .form-group {
		padding: 0 !important;
	}*/
	
/* Required-Kennzeichnung */
.form-group.required > label:not(#pleasechoosefile)::after {
	content: " **";
}

/* Pflichtfeld-Rahmen konsistent */
input.mandatory,
select.mandatory,
textarea.mandatory,
.choices__inner.mandatory {
	border: 2px solid #f00 !important;
}

/* Newsletter/Optins inline */
.campaign-form .newsletter-retaileroptin,
.campaign-form .tcagree-optin,
.campaign-form .newsletter-optin {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: .3rem;
}

	.campaign-form .newsletter-retaileroptin label {
		margin: 0;
	}

/* Purchase */
.campaign-form .purchase-information h3::after {
	display: none;
}

.purchase-information .col-md-8 {
	margin-bottom: 0;
}

.has-prepend {
	width: auto !important;
}

.input-group-text {
	border: 1px solid #c4c4c4;
	font-size: 0.875rem;
	padding: 1rem;
	background: #fafafa;
	width: 100%;
	-webkit-border-radius: 0.125rem;
	border-radius: 0.125rem;
}

/* Choices.js Feinschliff */
.choices {
	margin-bottom: .5rem !important;
}

.choices__inner {
	border: 1px solid #c4c4c4 !important;
	border-radius: 0;
}

.choices__list--multiple .choices__item {
	display: inline-block;
	vertical-align: middle;
	border-radius: 0 !important;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 500;
	margin: 0 3.75px 3.75px 0;
	background: #444 !important;
	border: 0 !important;
	color: #fff !important;
	word-break: break-all;
}

/* Fileupload ? zusammengeführt, ohne Duplikate */
.control-fileupload {
	position: relative;
	display: block;
	width: 100%;
	border: 1px solid #ccc;
	padding: .75rem 1rem;
	background: #fff;
	height: auto; /* keine fixe Höhe, Layout stabiler */
}

	.control-fileupload input[type="file"] {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		cursor: pointer;
	}

	.control-fileupload.mandatory-file {
		border: 2px solid #f00 !important;
	}

.box.mandatory-file > .control-fileupload {
	border: 2px solid #f00;
}

.campaign-form .control-fileupload label {
	font-size: .875rem;
	font-weight: 400;
	margin: 0 !important;
}

.campaign-form .control-fileupload {
	padding: 10px 30px !important;
}

.control-fileupload label#pleasechoosefile {
	position: relative;
	padding-inline-start: .3rem;
	text-align: left;
}

	.control-fileupload label#pleasechoosefile::before {
		content: "\f07c";
		font-family: "Font Awesome 6 Free";
		font-weight: 400;
		font-size: 1rem;
		padding-right: .2rem;
		color: #444;
	}

.control-fileupload label#receipt_filelabel {
	position: relative;
	padding-inline-start: .3rem;
	text-align: left;
	padding-left: 10px !important;
}

	.control-fileupload label#receipt_filelabel::before {
		content: "\f07c";
		font-family: "Font Awesome 6 Free";
		font-weight: 400;
		font-size: 1rem;
		padding-right: .2rem;
		color: #444;
	}

/* Checkbox-Reihen */
.checkbox-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .5rem;
	margin-bottom: .5rem;
}

	.checkbox-row label {
		margin: 0;
		padding: 0;
	}

/* Intro H3 */
.intro-text h3 {
	font-size: 1.5rem;
	line-height: 1.3;
	margin-bottom: 1rem;
	text-transform: none;
}

/* Sticky page (Header/Footer variabel) */
:root {
	--hdr: 0px;
	--ftr: 0px;
}

#sticky-page {
	min-height: calc(100dvh - var(--hdr) - var(--ftr));
	display: flex;
	align-items: center;
}

.thankyoumessage {
	text-align: center;
}

/* ============== STEPS ============== */
.steps {
	display: block;
	margin: auto;
}

/* Regel nach allen anderen .steps-Regeln platzieren */
.container.steps {
	margin-block: 3rem;
	margin-inline: auto;
}

	/* Inneres steps-Element neutralisieren */
	.container.steps > .steps {
		margin: 0;
	}

.step {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	background: #fdcd00;
	padding: 1.5rem;
	margin-bottom: 1rem;
}

	.step .text {
		text-align: left;
	}

	.step .number {
		color: #000;
		font-size: 30px;
		font-weight: 700;
	}

/* ============== CHECKLISTE ============== */
.checklist {
	margin-bottom: 2rem;
	padding-inline: 9%;
	position: relative;
	text-align: left;
	z-index: 1;
}

	.checklist h2 {
		margin-bottom: 2rem;
	}

	.checklist ul {
		margin: 2rem 0;
	}

/* ============== RESPONSIVE ============== */
@media (max-width: 991.98px) {
	.intro-text {
		margin: 0 auto;
		padding: 1rem;
		width: auto;
	}

	.prize-box {
		padding: .5rem;
		flex-basis: 50%;
	}

	.prizes {
		margin: 1rem auto 2rem;
	}
}

@media (max-width: 768px) {
	footer .footer-tagline img {
		padding: 1rem;
		width: 100%;
	}

	.prize-box {
		padding: 0 1.5rem;
		flex-basis: 100%;
	}

	.campaign-form .form-container > .row {
		padding: 1rem;
		background: #eee;
		margin-bottom: 2rem;
	}
}

/* Kleines Utility */
.dropdown-help {
	position: relative;
	top: -2px;
	margin: 0;
	padding: 0 1px;
	font-size: 12px;
}

/* Footer/Privacy ? nur einmal definieren */
.privacy-policy {
	font-size: 14px;
	text-align: center;
	padding-block-end: 2rem;
}

/* ============== MARKET EXCEPTIONS ============== */
.intro-text-de{
	margin-top: 0;
	margin-bottom: 0;
}
.steps-de{
	max-width: 62%;
}

.tape{
	display: flex;
	flex-direction: row;
	background: #fdcd00;
	max-width: 62%;
	padding: 0;
	margin-bottom:2rem;
}

.tape-text{
	padding: 2rem;
}

.tape-text h3{
	font-size: 2rem;
}

.tape-text p{
	font-size: 16px;
	line-height: 24px
}

.tape-img{
	padding: 0;
	text-align: left;
}

@media (max-width: 1560px) {
.tape{
	max-width: 70%;
}
}

@media (max-width: 1340px) {
.tape{
	max-width: 80%;
}
}

@media (max-width: 992px) {
	.steps-de{
	max-width: 80%;
}
.tape{
	max-width: 100%;
	margin-bottom: 2rem;
}
}

@media (max-width: 768px) {
.tape{
	max-width: 100%;
	margin-bottom: 2rem;
	flex-direction: column;
}
	.tape-image{
		padding:2rem 2rem 0 2rem;
		text-align: center;
	}
		.tape-text{
		text-align: center;
	}
}
