/* TANGO BROTHERS – Gestaltung */

:root {
	--tb-accent: var(--wp--preset--color--accent);
	--tb-dark: var(--wp--preset--color--dark);
	--tb-ink: var(--wp--preset--color--ink);
	--tb-navy: var(--wp--preset--color--navy);
	--tb-body: var(--wp--preset--color--body);
	--tb-line: var(--wp--preset--color--line);
	--tb-header-h: 65px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--tb-header-h); }
body { margin: 0; }
.tb-main > .wp-block-post-content > * { margin-block-start: 0; }
.tb-main { margin-top: 0 !important; }
.tb-main--page { padding-top: calc(var(--tb-header-h) + 60px); padding-bottom: 80px; }

/* --- Kopfzeile ------------------------------------------------------------ */
.tb-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: rgba(21, 21, 21, .95);
	height: var(--tb-header-h);
	padding-inline: 20px !important;
}
.admin-bar .tb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tb-header { top: 46px; } }
.tb-header__inner { height: var(--tb-header-h); align-items: center; }
.tb-header .wp-block-site-logo img { width: 196px; height: auto; display: block; }
.tb-nav { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.tb-nav .wp-block-navigation__container { gap: 4px 26px; }
.tb-nav a { color: #fff !important; text-decoration: none !important; padding: 6px 0; border-bottom: 2px solid transparent; }
.tb-nav a:hover { border-bottom-color: var(--tb-accent); }
.tb-nav .wp-block-navigation__responsive-container-open { color: #fff; }
.tb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 18px; font-size: 18px; }

/* --- Abschnitte ----------------------------------------------------------- */
.tb-section { padding-block: 70px; }
.tb-section-tight { padding-top: 0; }
.tb-center { text-align: center; }

.tb-title {
	display: flex; align-items: center; gap: 18px;
	margin: 0 0 40px; font-size: 24px; line-height: 1.2;
	color: var(--tb-navy); text-transform: uppercase;
}
.tb-title strong { font-weight: 900; }
.tb-title__sub { font-weight: 300; text-transform: none; color: var(--tb-body); }
.tb-title--light, .tb-title--light .tb-title__sub { color: #fff; }
.tb-hex {
	flex: 0 0 auto; width: 50px; height: 56px; display: grid; place-items: center;
	background: var(--tb-accent); color: #fff;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.tb-hex .tb-icon { width: 22px; height: 22px; }

.tb-btn, .wp-element-button, .wp-block-button__link {
	display: inline-block; background: var(--tb-accent); color: #fff !important;
	font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	padding: 10px 26px; border-radius: 4px; border: 0; text-decoration: none !important;
	cursor: pointer; transition: background .2s;
}
.tb-btn:hover, .wp-element-button:hover { background: #b80f31; }
.tb-btn--small { padding: 6px 18px; font-size: 12px; }

/* --- Kopfbild ------------------------------------------------------------- */
.tb-hero-wrap { padding: 0 !important; }
.tb-hero-wrap > .tb-hero { max-width: none !important; margin: 0 !important; }
.tb-hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column; justify-content: center;
	background: var(--tb-dark) var(--tb-hero-img) center / cover no-repeat;
	color: #fff; text-align: center; padding: calc(var(--tb-header-h) + 40px) 20px 150px;
	box-sizing: border-box;
}
.tb-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.tb-hero > * { position: relative; }
.tb-hero__date {
	display: flex; align-items: center; gap: 24px; margin: 0 auto 10px; max-width: 1000px;
	font-family: var(--wp--preset--font-family--roboto); font-weight: 300;
	font-size: var(--wp--preset--font-size--hero); line-height: 1.1;
}
.tb-hero__date::before, .tb-hero__date::after { content: ""; flex: 1; height: 2px; background: rgba(255, 255, 255, .8); }
.tb-hero__title {
	margin: 0; color: #fff; font-weight: 900; text-transform: uppercase;
	font-size: clamp(30px, 4.2vw, 50px); letter-spacing: .01em;
}
.tb-bar {
	position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
	width: min(1140px, calc(100% - 40px)); box-sizing: border-box;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
	background: rgba(13, 29, 49, .92); border-radius: 10px; padding: 18px 24px; text-align: left;
}
.tb-bar__item { display: flex; gap: 12px; align-items: center; }
.tb-bar__item .tb-icon { flex: 0 0 auto; width: 26px; height: 26px; color: #fff; }
.tb-bar__label { display: block; color: var(--tb-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.tb-bar__value { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
@media (max-width: 860px) {
	.tb-hero { padding-bottom: 40px; }
	.tb-bar { position: static; transform: none; grid-template-columns: 1fr 1fr; margin: 40px auto 0; width: 100%; }
}
@media (max-width: 480px) { .tb-bar { grid-template-columns: 1fr; } }

/* --- Über uns ------------------------------------------------------------- */
.tb-about h3 { font-size: var(--wp--preset--font-size--xl); margin-bottom: 8px; }
.tb-photo img { border-radius: 2px; }

/* --- DJ ------------------------------------------------------------------- */
.tb-dj { text-align: center; }
.tb-dj__name { font-size: var(--wp--preset--font-size--xl); color: var(--tb-ink); margin: 0 0 30px; }
.tb-dj__photo { margin: 0 auto; max-width: 900px; }
.tb-dj__photo img { width: 100%; height: auto; display: block; }
.tb-dj__text { max-width: 760px; margin: 24px auto 0; }

/* --- Preise / Termine ----------------------------------------------------- */
.tb-prices, .tb-dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.tb-dates { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; }
@media (max-width: 860px) { .tb-prices { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.tb-price, .tb-date {
	position: relative; overflow: hidden; background: #fff; border: 1px solid var(--tb-line);
	border-radius: 6px; text-align: center; padding-bottom: 26px;
}
.tb-price--featured { border: 2px solid var(--tb-accent); }
.tb-price__badge {
	position: absolute; top: 14px; right: -30px; transform: rotate(45deg);
	background: var(--tb-accent); color: #fff; font-size: 11px; font-weight: 700;
	text-transform: uppercase; padding: 3px 34px;
}
.tb-price__head, .tb-date__month {
	background: #f3f4f5; color: var(--tb-ink); font-size: 22px; font-weight: 700;
	text-transform: uppercase; padding: 18px 10px;
}
.tb-price__value, .tb-date__day {
	font-family: var(--wp--preset--font-family--roboto); font-weight: 300;
	font-size: 60px; line-height: 1; color: var(--tb-accent); padding: 30px 0 20px;
}
.tb-price__value span { font-size: .6em; vertical-align: .45em; margin-right: 2px; }
.tb-price__rows { list-style: none; margin: 0 0 24px; padding: 0 20px; font-size: 15px; color: var(--tb-ink); }
.tb-price__rows li { padding: 8px 0; border-bottom: 1px solid var(--tb-line); }
.tb-price__rows li:last-child { border-bottom: 0; }
.tb-date__dj { color: var(--tb-ink); font-size: 18px; margin-bottom: 20px; }
.tb-title__sub { color: #4f5b63; }
.tb-dates__none { text-align: center; }

/* --- Tischreservierung ---------------------------------------------------- */
.tb-reservation { position: relative; color: #fff; background-size: cover; background-position: center; }
.tb-reservation::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.tb-reservation > * { position: relative; }
.tb-reservation ul { padding-left: 20px; font-size: 15px; }
.tb-reservation strong { color: #fff; }

/* --- Ort / Galerie -------------------------------------------------------- */
.tb-location h3 { margin: 0 0 6px; font-size: var(--wp--preset--font-size--lg); }
.wp-block-gallery.tb-slider {
	display: block !important; position: relative; aspect-ratio: 16 / 9; overflow: hidden;
	max-width: 1140px; margin-inline: auto; background: var(--tb-dark);
}
.wp-block-gallery.tb-slider > .wp-block-image {
	position: absolute !important; inset: 0; width: 100% !important; margin: 0 !important;
	opacity: 0; transition: opacity .8s ease;
}
.wp-block-gallery.tb-slider > .wp-block-image:first-child, .wp-block-gallery.tb-slider > .wp-block-image.is-active { opacity: 1; }
.tb-slider.is-ready > .wp-block-image:first-child:not(.is-active) { opacity: 0; }
.wp-block-gallery.tb-slider img { width: 100% !important; height: 100% !important; object-fit: cover; }
.tb-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.tb-slider__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; }
.tb-slider__dots button.is-active { background: #fff; }
.tb-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font-size: 22px; cursor: pointer; }
.tb-slider__nav--prev { left: 12px; }
.tb-slider__nav--next { right: 12px; }

/* --- FAQ ------------------------------------------------------------------ */
.tb-faq .wp-block-details {
	border: 1px solid var(--tb-line); border-radius: 6px; background: #fff;
	margin-top: 0 !important; margin-bottom: 14px !important; overflow: hidden;
}
.tb-faq .wp-block-details summary {
	list-style: none; cursor: pointer; padding: 16px 22px 16px 50px; position: relative;
	color: var(--tb-ink); font-size: 18px;
}
.tb-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.tb-faq .wp-block-details summary::before {
	content: ""; position: absolute; left: 22px; top: 50%; width: 8px; height: 8px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(-45deg); transition: transform .2s;
}
.tb-faq .wp-block-details[open] summary { background: var(--tb-accent); color: #fff; }
.tb-faq .wp-block-details[open] summary::before { transform: translateY(-50%) rotate(45deg); }
.tb-faq .wp-block-details > :not(summary) { padding: 12px 22px; margin: 0; font-size: 16px; color: var(--tb-ink); }

/* --- Kontakt -------------------------------------------------------------- */
.tb-contact-band { background: var(--tb-accent); padding-block: 50px 30px; }
.tb-contact-band .tb-title { margin-bottom: 0; }
.tb-contact-band .tb-hex { background: #fff; color: var(--tb-accent); }

/* --- Fußzeile ------------------------------------------------------------- */
.tb-footer { background: #f3f4f5; padding-block: 40px; text-align: center; margin-top: 0 !important; }
.tb-footer__social {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: #3b5998; color: #fff !important;
}
.tb-footer__social .tb-icon { width: 20px; height: 20px; }
.tb-footer__copy { margin: 16px 0 0; font-size: 14px; }

.tb-placeholder { padding: 20px; border: 1px dashed currentColor; border-radius: 6px; text-align: center; opacity: .8; }
