/*
Willkommen bei den Individuellen CSS

Wie es funktioniert, steht unter http://wp.me/PEmnE-Bt
*/
h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.17em;
}

h4 {
	font-size: 1.12em;
}

h5 {
	font-size: .83em;
}

h6 {
	font-size: .67em;
}

p {
	font-size: 1em;
}
.category .page-header h1  { display: none; }

/* Mobile: Menü-Balken ganz oben und immer rot */
@media screen and (max-width: 34.99em) {
	#page { display: flex; flex-direction: column; }
	#page > #masthead { order: -1; }
}
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active,
.main-navigation.toggled .menu-toggle {
	background-color: #de091b;
	color: #fff;
}

/* Menü-Balken: gleiche Schrift wie die Seitenüberschrift */
.menu-toggle {
	font-family: Merriweather, serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}

/* Button im Titelbild: gleiche Schrift wie die Seitenüberschrift */
.hero-section a.button {
	font-family: Merriweather, serif;
	font-size: 19.2px;
	padding: 10.8px 21.6px 14.4px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}

/* Kopfbereich: Button und Menü je Sprache */
html:lang(de) .hero-section a.button[lang="en"],
html:not(:lang(de)) .hero-section a.button[lang="de"] {
	display: none;
}
.menu-toggle {
	padding: 18px 27px 22px;
}
html:lang(de) .menu-toggle {
	font-size: 0;
}
html:lang(de) .menu-toggle::after {
	content: "Menü";
	font-size: 24px;
	line-height: 1.4;
}

/* Titelbild: Abdunklung für bessere Lesbarkeit der Schrift */
.header-bg {
	position: relative;
}
.header-bg::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0.42) 42%, rgba(0,0,0,0.42) 100%);
	pointer-events: none;
}
.header-bg > * {
	position: relative;
	z-index: 1;
}
.header-bg .site-title,
.header-bg .site-title a,
.header-bg .site-description {
	text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* Buchungsbutton am Ende der Beiträge */
.hit-cta a.button {
	font-family: Merriweather, serif;
	font-size: 19.2px;
	font-style: normal;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
}

/* Titelbild: kleinere Datei auf dem Handy */
@media screen and (max-width: 600px) {
	div.header-bg.clear {
		background-image: url(https://blog.hitrental.ch/wp-content/uploads/2026/11/hitrental-blog-header-mobil.jpg);
	}
}

/* Ueberschriften-Struktur: Beitragstitel als H1, Website-Titel als Absatz */
.site-branding p.site-title {
	font-family: Merriweather, serif;
	font-size: 2em;
	font-weight: 400;
	line-height: 1.4;
	margin: 0.375em 0 0.1875em;
}
.site-branding p.site-description {
	font-family: Merriweather, serif;
	font-weight: 400;
	line-height: 1.4;
	margin: 0.375em 0 0.75em;
}
.entry-header h1.entry-title {
	font-size: 1.17em;
	line-height: 1.4;
	margin: 0.375em 0 0;
}
h2.widget-title {
	margin-top: 0.375em;
	line-height: 1.4;
}

.page .entry-header h1.entry-title {
	font-size: 1.5em;
}

/* Ehemalige H1 im Beitragstext (jetzt H2) behalten ihre Groesse */
h2[data-h1] {
	font-size: 2em;
}

/* Sprachumschalter mit Flaggen oben rechts */
.hit-lang {
	position: absolute;
	top: 14px;
	right: 16px;
	z-index: 60;
	display: flex;
	gap: 8px;
}
.admin-bar .hit-lang {
	top: 46px;
}
.hit-lang a {
	display: block;
	line-height: 0;
	padding: 2px;
	border: 2px solid transparent;
	border-radius: 4px;
	opacity: 0.8;
}
.hit-lang a[lang="de"] {
	order: -1;
}
.hit-lang a.is-current {
	border-color: #fff;
	opacity: 1;
}
.hit-lang a:hover,
.hit-lang a:focus {
	opacity: 1;
}
.hit-lang svg {
	display: block;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
@media screen and (max-width: 34.99em) {
	.hit-lang {
		top: 25px;
		right: 12px;
	}
	.admin-bar .hit-lang {
		top: 71px;
	}
}

/* Welcome Guide Lindenstrasse: kein Sprachumschalter */
.page-id-5609 .hit-lang {
	display: none;
}
