/* ==========================================================================
   Yogastudio Rhön – Praxis für Physiotherapie Hildegard Wagner
   Statische Website, keine externen Abhängigkeiten
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (lokal gehostet)
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Laila";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/laila-300.woff2") format("woff2");
}
@font-face {
	font-family: "Laila";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/laila-400.woff2") format("woff2");
}
@font-face {
	font-family: "Laila";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/laila-600.woff2") format("woff2");
}
@font-face {
	font-family: "Laila";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/laila-700.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   Design-Tokens
   -------------------------------------------------------------------------- */
:root {
	--color-brand: #cbd72e;
	--color-brand-dark: #c9c92a;
	--color-text: #666666;
	--color-heading: #666666;
	--color-title: #3a3a3a;
	--color-tagline: #757575;
	--color-topbar-text: #424242;
	--color-link: #1e73be;
	--color-link-hover: #145a94;
	--color-footer-text: #42470c;
	--color-surface: #ffffff;

	--font-base: "Laila", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
	--page-width: 1100px;
	--content-padding: 60px;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background-color: var(--color-brand);
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

a {
	color: var(--color-link);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	text-decoration: underline;
}

:focus-visible {
	outline: 2px solid var(--color-title);
	outline-offset: 2px;
}

h1,
h2,
h3 {
	color: var(--color-heading);
	font-family: var(--font-base);
	margin: 0 0 20px;
}

h1 {
	font-size: 40px;
	font-weight: 300;
	line-height: 0.8;
	margin-bottom: 36px;
}

h2 {
	font-size: 29px;
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 31px;
}

h3 {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}

p {
	margin: 0 0 25.5px;
}

ul {
	margin: 0 0 25.5px;
	padding-left: 25px;
}

li {
	margin-bottom: 2px;
}

blockquote {
	margin: 0 0 25.5px;
	padding: 0 0 0 20px;
	border-left: 5px solid rgba(0, 0, 0, 0.05);
	font-size: 1.2em;
	font-style: italic;
	line-height: 1.5;
}

blockquote p {
	margin-bottom: 1.5em;
}

blockquote p:last-child {
	margin-bottom: 0;
}

/* Skip-Link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 20px;
	background: var(--color-surface);
	color: var(--color-title);
	font-size: 15px;
}

.skip-link:focus {
	left: 0;
}

/* --------------------------------------------------------------------------
   Top-Bar
   -------------------------------------------------------------------------- */
.top-bar {
	background-color: var(--color-brand-dark);
	color: var(--color-topbar-text);
	font-size: 13px;
	line-height: 1.5;
}

.top-bar__inner {
	max-width: var(--page-width);
	margin: 0 auto;
	padding: 10px 10px 10px 20px;
	text-align: right;
}

.top-bar a {
	color: var(--color-topbar-text);
}

.top-bar a:hover,
.top-bar a:focus {
	color: var(--color-title);
}

/* --------------------------------------------------------------------------
   Seitenrahmen
   -------------------------------------------------------------------------- */
.page {
	max-width: var(--page-width);
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	background-color: var(--color-brand);
	padding: 40px 40px 24px;
}

.site-branding {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
}

.site-branding__logo {
	display: block;
	flex: none;
}

.site-branding__logo img {
	display: block;
	width: 90px;
	height: 96px;
}

.site-title {
	margin: 0;
	color: var(--color-title);
	font-size: 45px;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
	color: var(--color-title);
	text-decoration: none;
}

.site-description {
	margin: 0;
	color: var(--color-tagline);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Inhaltsbereich
   -------------------------------------------------------------------------- */
.site-main {
	background-color: var(--color-surface);
	background-image: url("../img/paper-texture.png");
	background-repeat: repeat;
	padding: var(--content-padding);
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

/* Spalten */
.columns {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin-bottom: 25.5px;
}

.column {
	flex: 1 1 0;
	min-width: 0;
}

.column--two-thirds {
	flex: 1 1 62%;
}

.column--one-third {
	flex: 1 1 30%;
}

.column > *:last-child {
	margin-bottom: 0;
}

/* Bild mit Bildunterschrift */
figure {
	margin: 0 0 25.5px;
}

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

/* Bild in Originalgröße statt spaltenfüllend */
.figure--natural img {
	width: auto;
	max-width: 100%;
}

figcaption {
	margin-top: 8px;
	font-size: 15px;
	font-style: italic;
	text-align: center;
	line-height: 1.4;
}

figcaption strong {
	font-style: italic;
}

/* Zentrierte Abschnitte */
.text-center {
	text-align: center;
}

.section {
	margin-top: 76px;
}

.section--notice {
	margin-top: 80px;
}

.services {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.services ul {
	flex: 1 1 28%;
	min-width: 200px;
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background-color: var(--color-brand);
	color: var(--color-footer-text);
	font-size: 17px;
	text-align: center;
}

.site-footer__inner {
	padding: 20px;
}

.site-footer a {
	color: var(--color-footer-text);
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--color-title);
}

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */
.legal h2 {
	font-size: 24px;
	margin-top: 40px;
	margin-bottom: 15px;
}

.legal h3 {
	font-size: 19px;
	margin-top: 28px;
	margin-bottom: 10px;
}

.legal h2:first-of-type {
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	:root {
		--content-padding: 40px;
	}

	.site-header {
		padding: 30px 30px 20px;
	}
}

@media (max-width: 768px) {
	:root {
		--content-padding: 28px;
	}

	body {
		font-size: 16px;
	}

	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 25px;
		margin-bottom: 24px;
	}

	.site-title {
		font-size: 32px;
	}

	.site-description {
		font-size: 17px;
	}

	.site-branding__logo img {
		width: 70px;
		height: 75px;
	}

	.columns,
	.services {
		display: block;
	}

	.column,
	.services ul {
		margin-bottom: 25.5px;
	}

	.column:last-child,
	.services ul:last-child {
		margin-bottom: 0;
	}

	.column--one-third figure {
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.section {
		margin-top: 40px;
	}
}

@media (max-width: 480px) {
	:root {
		--content-padding: 20px;
	}

	.site-header {
		padding: 24px 20px 18px;
	}

	.site-branding {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.site-title {
		font-size: 28px;
	}

	.top-bar__inner {
		text-align: center;
		padding: 10px 15px;
	}

	.site-footer__inner {
		padding: 18px 15px;
	}
}

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */
@media print {
	body {
		background: #fff;
		color: #000;
	}

	.top-bar,
	.site-footer {
		background: #fff;
	}

	.site-header {
		background: #fff;
	}

	.site-main {
		background-image: none;
		padding: 0;
	}
}
