/* ==========================================================================
   Tag der offenen Tür – Frontend  (v1.2 – Design-Sync mit VIP Kundenkarte Box)
   ========================================================================== */

.ot-wrap {
	--ot-accent: #b8860b;
	margin: 1.6em auto;
	font-family: inherit;
	box-sizing: border-box;
}

/* Ausrichtung der Box (margin-Anpassung) */
.ot-align-left   { margin-left: 0; }
.ot-align-right  { margin-left: auto; margin-right: 0; }

/* ── Box ──────────────────────────────────────────────────────────────── */
.ot-box {
	border-radius: 14px;
	border: 1.5px solid rgba(184, 134, 11, 0.45);
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
}

/* Subtiler Ambient-Schimmer – identisch mit VIP-Box */
.ot-box::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		rgba(184, 134, 11, 0.05) 0%,
		transparent 55%
	);
	pointer-events: none;
}

.ot-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ── Header-Streifen (identisch mit .vkb-header) ─────────────────────── */
.ot-header {
	background: rgba(184, 134, 11, 0.1);
	border-bottom: 1px solid rgba(184, 134, 11, 0.35);
	padding: 0.5rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 9px;
	position: relative;
	z-index: 1;
}

.ot-header-icon {
	font-size: 1rem;
	line-height: 1;
	color: var(--ot-accent);
}

.ot-badge {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--ot-accent);
	text-transform: uppercase;
	line-height: 1;
}

.ot-stars {
	margin-left: auto;
	font-size: 0.7rem;
	color: var(--ot-accent);
	opacity: 0.65;
	letter-spacing: 5px;
}

/* ── Body (identisch mit .vkb-body) ──────────────────────────────────── */
.ot-body {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem 1.4rem;
	position: relative;
	z-index: 1;
	min-height: 130px; /* gleiche Höhe wie VIP-Box (Button ~46px) */
}

/* ── Animiertes Tür-Icon (gleiche Animation wie VIP-Karte) ───────────── */
.ot-door-wrap {
	flex-shrink: 0;
	animation: ot-float 5s ease-in-out infinite;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@keyframes ot-float {
	0%,  100% { transform: translateY(0)   rotate(-2deg); }
	50%        { transform: translateY(-6px) rotate(-0.5deg); }
}

/* ── Text (identisch mit .vkb-text-wrap) ─────────────────────────────── */
.ot-text-wrap {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ot-haupt {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1f2328;
	margin: 0 0 4px;
	line-height: 1.3;
}

.ot-suffix {
	font-size: 0.9rem;
	font-weight: 500;
	font-style: italic;
	color: #5b616b;
	margin: 0;
	line-height: 1.5;
}

/* Fallback: kein Termin vorhanden */
.ot-no-termin .ot-haupt {
	font-weight: 600;
	font-style: italic;
	color: #5b616b;
	font-size: 0.95rem;
}

/* ── Ausrichtung ──────────────────────────────────────────────────────── */
.ot-align-center .ot-text-wrap { align-items: center; text-align: center; }
.ot-align-right  .ot-text-wrap { align-items: flex-end; text-align: right; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 540px) {
	.ot-body {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		padding: 1rem;
		min-height: 0;
	}
	.ot-haupt  { font-size: 0.95rem; }
	.ot-suffix { font-size: 0.85rem; }
	.ot-align-center .ot-text-wrap,
	.ot-align-right  .ot-text-wrap {
		align-items: flex-start;
		text-align: left;
	}
}
