/**
 * Kartenbestellung - Formular, Bestätigung und Statusseite.
 *
 * Bewusst zurückhaltend: Farben, Schrift und Schaltflächen kommen aus dem
 * Template der Website. Hier steht nur, was das Raster braucht.
 */

.ikticket {
	margin-bottom: 2em;
}

.ikticket-intro {
	margin-bottom: 1.5em;
}

/* Preis und Verfügbarkeit */
.ikticket-facts {
	margin-bottom: 1.5em;
	padding: .75em 1em;
	background: rgba(0, 0, 0, .04);
	border-radius: 4px;
}

.ikticket-price {
	font-weight: 700;
	margin-right: 1.5em;
}

.ikticket-available {
	opacity: .85;
}

/* Die beiden Blöcke "Ihre Angaben" und "Ihre Karten" brauchen Luft
   voneinander, sonst liest sich das Formular als ein einziger Klotz.
   Rahmen und Innenabstand kommen bei manchen Templates vom Browser -
   deshalb hier ausdrücklich zurückgesetzt. */
.ikticket-form fieldset {
	margin: 0 0 1.5em;
	padding: 0;
	border: 0;
}

.ikticket-form > fieldset:first-of-type {
	margin-top: 1.5em;
}

.ikticket-form fieldset + fieldset {
	margin-top: 2em;
}

.ikticket-form legend {
	margin-bottom: .75em;
	padding: 0;
	border: 0;
	width: auto;
}

/* Raster: zwei Spalten ab Tablet, darunter untereinander */
.ikticket-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5em;
	margin-bottom: .25em;
}

.ikticket-col,
.ikticket-col-small,
.ikticket-col-wide {
	flex: 1 1 100%;
	min-width: 0;
}

@media (min-width: 640px) {
	.ikticket-col {
		flex: 1 1 calc(50% - .75em);
	}

	.ikticket-col-small {
		flex: 0 1 11em;
	}

	.ikticket-col-wide {
		flex: 1 1 calc(100% - 12.5em);
	}
}

.ikticket-field {
	margin-bottom: 1em;
}

.ikticket-field .control-label {
	display: block;
	margin-bottom: .25em;
	font-weight: 600;
}

.ikticket-field input[type="text"],
.ikticket-field input[type="email"],
.ikticket-field input[type="tel"],
.ikticket-field input[type="number"],
.ikticket-field select,
.ikticket-field textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ikticket-desc {
	display: block;
	margin-top: .25em;
	font-size: .875em;
	line-height: 1.4;
	opacity: .85;
}

/* Pflichtfeldsternchen sichtbar halten */
.ikticket-form .star,
.ikticket-form .required {
	color: #c00;
}

/* Gesamtbetrag: steht auf Höhe des Eingabefeldes, nicht auf Höhe des
   Hilfetextes darunter. */
.ikticket-total-wrap {
	display: flex;
	align-items: baseline;
	gap: .5em;
	padding-top: 2.1em;
}

.ikticket-total-label {
	opacity: .9;
}

.ikticket-total {
	font-size: 1.35em;
	font-weight: 700;
	white-space: nowrap;
}

/* Das Anzahlfeld braucht nicht die volle Spaltenbreite - aber genug für
   den längsten Eintrag, "24 Karten (drei Tische)". */
.ikticket-field-quantity select {
	max-width: 18em;
}

@media (max-width: 639px) {
	.ikticket-total-wrap {
		padding-top: 0;
		margin-bottom: 1em;
	}
}

.ikticket-privacy {
	margin: 1.5em 0 1em;
}

.ikticket-actions {
	margin: 1em 0;
}

.ikticket-submit {
	padding: .6em 1.8em;
	font-size: 1.05em;
}

.ikticket-hint {
	font-size: .9em;
	opacity: .85;
}

/* Honigtopf: für Menschen unsichtbar, für Bots erreichbar.
   Kein display:none - manche Bots überspringen genau das. */
.ikticket-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Bestätigung und Status */
.ikticket-thanks-box {
	padding: 1.5em;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 4px;
}

.ikticket-summary {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
}

.ikticket-summary th,
.ikticket-summary td {
	padding: .5em .75em;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.ikticket-summary th {
	width: 40%;
	font-weight: 600;
	opacity: .9;
}

/* Schaltflächen außerhalb des Formulars: Templates gestalten "btn" sehr
   unterschiedlich, deshalb ein Mindestmaß an eigener Form. */
.ikticket-button {
	display: inline-block;
	padding: .55em 1.2em;
	text-decoration: none;
}

.ikticket-mailhint {
	font-size: .9em;
	opacity: .9;
}
