/* Link zum Nutzungsvertrag: fett + unterstrichen */
a.tl-popup, .tl-popup a {
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	cursor: pointer;
}

.tlpop[hidden] { display: none; }
.tlpop { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tlpop-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.tlpop-box {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 760px;
	max-height: calc(100vh - 32px);
	background: #fff;
	color: #222;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	outline: none;
	font-size: 16px;
	line-height: 1.5;
}
.tlpop-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e3ddd0; }
.tlpop-head h2 { flex: 1; margin: 0; font-size: 20px; line-height: 1.3; }
.tlpop-x { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; color: #444; }
.tlpop-body { overflow-y: auto; padding: 14px 18px; -webkit-overflow-scrolling: touch; }
.tlpop-body h1, .tlpop-body h2, .tlpop-body h3 { font-size: 1.1em; margin: 1.2em 0 .4em; }
.tlpop-body p, .tlpop-body li { margin: 0 0 .6em; }
.tlpop-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid #e3ddd0; }
.tlpop-print { margin-right: auto; align-self: center; font-size: 14px; color: #555; text-decoration: underline; }
.tlpop-foot button { min-height: 44px; padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.tlpop-accept { background: #1e7b3a; color: #fff; border: 2px solid #1e7b3a; }
.tlpop-close { background: #fff; color: #222; border: 2px solid #999; }
.tlpop-loading { color: #666; }
html.tlpop-open, html.tlpop-open body { overflow: hidden; }

@media (max-width: 600px) {
	.tlpop { padding: 0; }
	.tlpop-box { max-height: 100vh; height: 100%; border-radius: 0; }
	.tlpop-foot button { flex: 1; }
}

/* Abend-Paket im Buchungskalender */
.tl-paket-slot a { height: auto !important; line-height: 1.25 !important; padding-top: 4px !important; padding-bottom: 4px !important; white-space: normal !important; }
.tl-paket-badge { display: block; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.tl-paket-hint { flex-basis: 100%; width: 100%; margin: 8px 0 0; font-size: 13px; line-height: 1.5; white-space: pre-line; }

/* Im Pop-up den Hintergrund-Kasten der Vertragsseite neutralisieren (Pop-up ist schon hell) */
.tlpop-body .tl-box { background: none !important; padding: 0 !important; max-width: none !important; }
.tlpop-body .tl-box > h2:first-child { display: none; }
.tl-paket-hint::first-line { font-weight: 700; }
