/*
 * Elisabeth mobil – Wohlbefinden selbst steigern
 * 
 */

/* ---------- Local font: Muli ---------- */
@font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/Mulish-Regular.woff2') format('woff2'),
	     url('/fonts/Mulish-Regular.woff')  format('woff');
}
@font-face {
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/Mulish-Bold.woff2') format('woff2'),
	     url('/fonts/Mulish-Bold.woff')  format('woff');
}
@font-face {
	font-family: 'Mulish';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/Mulish-Italic.woff2') format('woff2'),
	     url('/fonts/Mulish-Italic.woff')  format('woff');
}

/* ---------- CSS Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; }

body {
	margin: 0;
	font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: #1a1a1a;
	background-color: #fff0dd;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
	color: #69255d;
	text-decoration: underline;
}
a:hover, a:focus { color: #ff6111; }

h1, h2, h3, h4 {
	font-family: 'Mulish', sans-serif;
	color: #69255d;
	line-height: 1.25;
	margin: 0 0 0.6em;
}
h1 { font-size: 1.875rem; font-weight: 400;}
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

ul { padding-left: 1.4em; }

hr {
	border: 0;
	border-top: 1px solid #dbccb5;
	margin: 1.5em 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

.content-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
	background-color: #fff;
	border-bottom: 1px solid #ededed;
}

.site-branding {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 0;
}

.site-logo img {
	max-height: 80px;
	width: auto;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: 0;
	font-size: 1.5rem;
	color: #69255d;
	cursor: pointer;
	padding: 8px 12px;
}

/* ---------- Navigation ---------- */
.main-navigation {
	background-color: #fff;
	border-top: 1px solid #ededed;
	border-bottom: 1px solid #ededed;
}

.nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.nav-menu li { position: relative; }

.nav-menu li a {
	display: block;
	padding: 14px 0;
	margin-right: 30px;
	color: #1a1a1a;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 1px;
	transition: color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
	color: #69255d;
}

.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid #ededed;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	z-index: 100;
}

.nav-menu .sub-menu li a {
	padding: 8px 16px;
	margin: 0;
	white-space: nowrap;
}

.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

/* ---------- Hero / Featured Image ---------- */
.featured-image-wrap {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
}

.featured-image-content {
	background: rgba(255, 255, 255, 0.85);
	padding: 30px 40px;
	border-radius: 10px;
	max-width: 800px;
	text-align: center;
}

.featured-image-content h1 {
	margin: 0;
	font-size: 1.875rem;
	color: #69255d;
}

/* Page-Title für Seiten ohne Hero-Bild */
.page-title-wrap {
	background-color: #fff;
	border-bottom: 1px solid #ededed;
	padding: 30px 0;
}
.page-title-wrap h1 {
	margin: 0;
	font-size: 1.875rem;
}

/* ---------- Main layout ---------- */
.site-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 40px;
}

.content-area { min-width: 0; }

/* ---------- Highlight box ---------- */
.highlight-box {
	background-color: #f5e3ca;
	border: 2px solid #5a154d;
	border-radius: 15px;
	padding: 24px;
	margin-bottom: 20px;
	color: #5a154d;
}

.highlight-box h2 { color: #5a154d; }

.highlight-box .lead {
	font-size: 1.125rem;
	font-weight: bold;
}

.highlight-box .subtitle {
	font-size: 1.125rem;
	font-weight: normal;
	margin-top: 1.5em;
	color: #1a1a1a;
}

/* ---------- Info / contact boxes ---------- */
.info-box,
.mobile-front-contact {
	margin: 20px 0;
}

.intro-text {
	font-size: 1.125rem;
	margin: 30px 0 20px;
}

.contact-form-link {
	font-weight: bold;
}

.tel-link {
	font-weight: bold;
	text-decoration: none;
}
.tel-link:hover { text-decoration: underline; }

/* ---------- Inhaltliche Helfer (Unterseiten) ---------- */
.text-center { text-align: center; }

/* Bilder im Content-Bereich */
.content-figure {
	margin: 24px 0;
	text-align: center;
}
.content-figure img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}
.content-figure.align-left {
	float: left;
	margin: 0 24px 16px 0;
	max-width: 280px;
	text-align: left;
}
.content-figure.align-left img { width: 100%; }

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 28px;
	font-weight: bold;
	text-decoration: none;
	border-radius: 6px;
	letter-spacing: 1px;
	transition: background-color 0.2s, color 0.2s;
}
.btn-primary {
	background-color: #69255d;
	color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
	background-color: #5a154d;
	color: #fff;
}

/* Kontakt-Highlight-Box */
.highlight-box.contact-text {
	background-color: #f5e3ca;
	text-align: center;
}
.highlight-box.contact-text p { color: #5a154d; }

/* Clearfix nach Seiten mit float */
.entry-content::after {
	content: "";
	display: block;
	clear: both;
}

/* ---------- Grid columns (Personengruppen) ---------- */
.grid-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-bottom: 30px;
}

.grid-column {
	background-color: #fff;
	border: 1px solid #ededed;
	border-radius: 8px;
	padding: 24px;
}

.grid-column-title {
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #69255d;
	font-size: 1.125rem;
	margin-bottom: 10px;
}

.grid-column-line {
	width: 60px;
	height: 3px;
	background-color: #69255d;
	margin-bottom: 14px;
}

.grid-column-desc ul {
	margin: 0;
	padding-left: 1.2em;
}
.grid-column-desc li {
	margin-bottom: 6px;
}

/* ---------- Sidebar ---------- */
.sidebar {
	background: transparent;
}

.sidebar .widget {
	margin-bottom: 20px;
}

.sidebar .widget h2,
.sidebar .widget h3 {
	font-size: 1.125rem;
	color: #69255d;
	margin-bottom: 10px;
}

.sidebar .widget-title { font-size: 1.125rem; }

/* ---------- Footer ---------- */
.site-footer {
	background-color: #3d4045;
	color: #c8c9cc;
	margin-top: 40px;
}

.site-info {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 30px;
}

.site-info .f-logo {
	max-width: 140px;
}
.site-info .f-logo img {
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

.imp-link {
	color: #c8c9cc;
	text-decoration: none;
	font-size: 0.875rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.imp-link:hover { color: #fff; }

.site-info-2 {
	background-color: #43474d;
	color: #7d8083;
	padding: 18px 20px;
	font-size: 0.6875rem;
	letter-spacing: 1px;
	text-align: center;
}
.site-info-2 p { margin: 0; }

/* ---------- Scroll-to-top ---------- */
.scroll-back-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #777;
	color: #eee;
	border-radius: 4px;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s, background-color 0.2s;
	z-index: 999;
}
.scroll-back-to-top:hover {
	background-color: #69255d;
	color: #fff;
}
.scroll-back-to-top.show {
	opacity: 0.7;
	visibility: visible;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.site-content {
		grid-template-columns: 1fr;
	}
	.sidebar { order: 2; }
}

@media (max-width: 768px) {
	.mobile-menu-toggle { display: inline-block; }

	.nav-menu {
		display: none;
		flex-direction: column;
	}
	.main-navigation.is-open .nav-menu { display: flex; }

	.nav-menu li a {
		margin-right: 0;
		padding: 12px 20px;
		border-bottom: 1px solid #ededed;
	}

	.nav-menu .sub-menu {
		position: static;
		border: 0;
		background: #f7f7f7;
		padding-left: 16px;
	}
	.nav-menu .menu-item-has-children > .sub-menu { display: block; }

	.grid-row {
		grid-template-columns: 1fr;
	}

	.featured-image-content { padding: 20px; }
	.featured-image-content h1 { font-size: 1.5rem; }

	.content-figure.align-left {
		float: none;
		margin: 0 0 16px 0;
		max-width: 100%;
		text-align: center;
	}
}
