/*
Theme Name: Simply PRÄE
Theme URI: https://simply-prae.at
Author: SIMPLY-PRAE
Description: Schlankes Basis-Theme für simply-prae.at. Bewusst ohne eigenes Layout gebaut, damit Elementor (Free oder Pro) die volle Kontrolle über Seiten- und Header/Footer-Gestaltung hat. Liefert nur Grundgerüst, Farb-/Schrift-Variablen und Performance-Basics.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: simply-prae
*/

:root {
	/* Markenfarben – übernommen aus der SIMPLY-PRAE Manager App (AppTheme.cs) */
	--sp-color-primary: #1A3A6B;
	--sp-color-primary-dark: #0D2247;
	--sp-color-primary-light: #3A5A9B;
	--sp-color-secondary: #C62828;
	--sp-color-secondary-dark: #8E0000;
	--sp-color-secondary-light: #EF5350;
	--sp-color-success: #2E7D32;
	--sp-color-warning: #E65100;
	--sp-color-info: #0277BD;
	--sp-color-background: #FFFFFF;
	--sp-color-surface: #EEF3FB;
	--sp-color-text: #212121;
	--sp-color-text-secondary: #616161;
	--sp-font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html {
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

body {
	font-family: var(--sp-font-family);
	color: var(--sp-color-text);
	background: var(--sp-color-background);
	margin: 0;
}

a {
	color: var(--sp-color-primary);
}

.sp-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--sp-color-primary);
	color: #fff;
	padding: 0.75em 1.25em;
	z-index: 10000;
}

.sp-skip-link:focus {
	left: 1em;
	top: 1em;
}

.sp-site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 5%;
	background: #fff;
	border-bottom: 1px solid #eee;
}

.sp-site-header__branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.sp-site-header__branding img {
	max-height: 40px;
	width: auto;
	display: block;
}

.sp-primary-nav ul {
	list-style: none;
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

.sp-primary-nav a {
	text-decoration: none;
	color: var(--sp-color-text);
	font-weight: 500;
}

.sp-primary-nav a:hover {
	color: var(--sp-color-primary);
}

.sp-nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
}

@media (max-width: 782px) {
	.sp-nav-toggle {
		display: block;
	}

	.sp-primary-nav {
		display: none;
		width: 100%;
	}

	.sp-primary-nav.is-open {
		display: block;
	}

	.sp-primary-nav ul {
		flex-direction: column;
		gap: 0.75rem;
		padding: 1rem 0;
	}

	.sp-site-header {
		flex-wrap: wrap;
	}
}

.sp-site-footer {
	background: var(--sp-color-primary-dark);
	color: #ECEFF1;
	padding: 3rem 5% 1.5rem;
}

.sp-site-footer a {
	color: #90CAF9;
}

.sp-footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.sp-footer-widgets .widget-title {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 0.75rem;
}

.sp-site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 1.5rem;
	font-size: 0.875rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
}

.sp-site-footer__legal-links {
	list-style: none;
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
}

.sp-content-fallback {
	max-width: 900px;
	margin: 3rem auto;
	padding: 0 1.5rem;
}
