/*
Theme Name: Tina Fiedler
Description: Child theme of Twenty Twenty-Five, restyled to the Tina Fiedler design.
Author: Cline
Template: twentytwentyfive
Version: 1.0.6
Text Domain: tina-fiedler
*/

:root {
	--e: cubic-bezier(.22, 1, .36, 1);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 86px;
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Accent styling for <em> inside headings (the design colors these blue). */
.wp-block-heading em {
	font-style: normal;
	color: var(--wp--preset--color--blue);
}

/* ---- Buttons: slide-to-blue hover ---- */
.wp-block-button__link.wp-element-button {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border: none;
	cursor: pointer;
	transition: transform .4s var(--e), color .35s;
}
.wp-block-button__link.wp-element-button::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--wp--preset--color--blue);
	z-index: -1;
	transform: translateY(101%);
	transition: transform .5s var(--e);
}
.wp-block-button__link.wp-element-button:hover {
	transform: translateY(-2px);
	color: var(--wp--preset--color--paper) !important;
}
.wp-block-button__link.wp-element-button:hover::before {
	transform: translateY(0);
}

/* ---- Eyebrow label ---- */
.eyebrow {
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blue);
	font-weight: 500;
}

/* ---- Hero helpers ---- */
.tf-lede {
	color: rgba(27, 43, 54, .66);
	max-width: 38ch;
}

/* ---- Image hover ---- */
.tf-ph img {
	transition: transform 2s var(--e);
}
.tf-ph img:hover {
	transform: scale(1.03);
}

/* ---- Section vertical rhythm ---- */
.tf-section {
	padding-top: 96px;
	padding-bottom: 96px;
}

/* ---- Themen list ---- */
ul.wp-block-list.themen {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 56px;
	border-top: 1px solid rgba(27, 43, 54, .12);
}
ul.wp-block-list.themen li {
	padding: 19px 0 19px 30px;
	border-bottom: 1px solid rgba(27, 43, 54, .12);
	font-size: 17px;
	line-height: 1.45;
	position: relative;
}
ul.wp-block-list.themen li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 28px;
	width: 9px;
	height: 1.5px;
	background: var(--wp--preset--color--blue);
}

/* ---- Rates table ---- */
.wp-block-table.rates {
	margin: 0;
}
.wp-block-table.rates table {
	table-layout: auto;
	border-collapse: collapse;
	width: 100%;
	border: none;
}
.wp-block-table.rates thead,
.wp-block-table.rates tbody,
.wp-block-table.rates tr,
.wp-block-table.rates th,
.wp-block-table.rates td {
	border: none;
	background: transparent;
}
.wp-block-table.rates th {
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(27, 43, 54, .55);
	font-weight: 400;
	text-align: left;
	padding: 0 0 12px;
	border-bottom: 1px solid rgba(27, 43, 54, .12);
}
.wp-block-table.rates td {
	padding: 22px 0;
	font-size: 16.5px;
	color: rgba(27, 43, 54, .66);
	text-align: left;
	vertical-align: baseline;
	border-bottom: 1px solid rgba(27, 43, 54, .12);
}
.wp-block-table.rates th:first-child,
.wp-block-table.rates td:first-child {
	width: 55%;
	padding-right: 24px;
}
.wp-block-table.rates td:not(:first-child) {
	font-size: 27px;
	letter-spacing: -.025em;
	color: var(--wp--preset--color--ink);
	white-space: nowrap;
}

/* ---- Phone link (contact) ---- */
.tf-tel a {
	font-size: clamp(28px, 3.4vw, 38px);
	font-weight: 700;
	letter-spacing: -.025em;
	color: var(--wp--preset--color--blue);
	text-decoration: none;
	transition: color .3s;
}
.tf-tel a:hover {
	color: var(--wp--preset--color--ink);
}

/* ---- Themen note ---- */
.tf-themen-note {
	font-size: 15.5px;
	color: rgba(27, 43, 54, .66);
	max-width: 60ch;
}

/* ---- Contact hours ---- */
.tf-when {
	font-size: 14.5px;
	color: rgba(27, 43, 54, .66);
}

/* ---- Site header ---- */
.tf-site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	background: var(--wp--preset--color--paper);
	border-bottom: 1px solid rgba(27, 43, 54, .12);
}
.tf-nav-in {
	padding-top: 15px;
	padding-bottom: 15px;
}
.tf-brand .wp-block-site-title {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 0;
}
.tf-brand .wp-block-site-title a {
	text-decoration: none;
	color: var(--wp--preset--color--ink);
}
.tf-brand .wp-block-site-tagline {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(27, 43, 54, .55);
	margin: 2px 0 0;
}
.tf-nav-links a {
	font-size: 15.5px;
	color: rgba(27, 43, 54, .66);
	text-decoration: none;
}
.tf-nav-links a:hover {
	color: var(--wp--preset--color--blue);
}
.tf-nav-links .wp-block-navigation__container {
	flex-wrap: nowrap;
}
.tf-nav-links .wp-block-navigation-item {
	white-space: nowrap;
}

/* ---- Site footer ---- */
.tf-site-footer {
	color: rgba(250, 248, 245, .72);
	font-size: 14.5px;
}
.tf-site-footer a {
	color: rgba(250, 248, 245, .72);
	text-decoration: none;
}
.tf-site-footer a:hover {
	color: var(--wp--preset--color--sand);
}
.tf-foot-brand,
.tf-foot-head {
	color: var(--wp--preset--color--paper);
}
.tf-foot-brand a {
	color: var(--wp--preset--color--paper);
}
.tf-foot-head {
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -.01em;
	margin-bottom: 12px;
}
.tf-foot-b {
	border-top: 1px solid rgba(250, 248, 245, .14);
	margin-top: 34px;
	padding-top: 20px;
	font-size: 13px;
	color: rgba(250, 248, 245, .5);
}

/* ---- Mobile navigation (hamburger) ---- */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--ink);
	background: transparent;
	border: none;
	padding: 6px;
}
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
	fill: currentColor;
}
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--paper);
}
.wp-block-navigation__responsive-container-content {
	padding: 32px;
	row-gap: 24px;
}
.wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	font-size: 22px;
	line-height: 1.3;
}
.wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	padding: 10px 0;
}
.wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--blue);
}

/* ---- Reveal on scroll ---- */
.js .rv {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 1s var(--e), transform 1s var(--e);
}
.js .rv.in {
	opacity: 1;
	transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.tf-section {
		padding-top: 62px;
		padding-bottom: 62px;
	}
	.tf-booking {
		padding: 34px 24px !important;
	}
}
@media (max-width: 760px) {
	ul.wp-block-list.themen {
		grid-template-columns: 1fr;
		gap: 0;
	}
}
@media (max-width: 620px) {
	.wp-block-table.rates thead {
		display: none;
	}
	.wp-block-table.rates table,
	.wp-block-table.rates tbody,
	.wp-block-table.rates tr,
	.wp-block-table.rates td {
		display: block;
		width: 100% !important;
	}
	.wp-block-table.rates tr {
		padding: 18px 0;
		border-bottom: 1px solid rgba(27, 43, 54, .12);
	}
	.wp-block-table.rates td,
	.wp-block-table.rates td:first-child {
		border: none;
		padding: 4px 0;
		text-align: left;
	}
	.wp-block-table.rates td:first-child {
		font-weight: 700;
		color: var(--wp--preset--color--ink);
		font-size: 16.5px;
		margin-bottom: 4px;
	}
	.wp-block-table.rates td:nth-child(2)::after {
		content: " allein";
		font-size: 14px;
		color: rgba(27, 43, 54, .66);
	}
	.wp-block-table.rates td:nth-child(3)::after {
		content: " zu zweit";
		font-size: 14px;
		color: rgba(27, 43, 54, .66);
	}
	.wp-block-table.rates td:not(:first-child) {
		font-size: 22px;
		white-space: normal;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		animation: none !important;
		transition-duration: .01ms !important;
	}
	.js .rv {
		opacity: 1;
		transform: none;
	}
}
