/* =============================================================================
Borstensohn
Version: 1.0
Author: Torsten Borstensohn
For: CMS 6.0.0+
   
Ein wahrhaft borstiges Schweinchen-Thema.
============================================================================= */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	background-color: #8b5e3c;
	scroll-behavior: smooth;
}

body {
/* 	background: linear-gradient(180deg, #fef7f3 0%, #fffaf5 50%, #fef9f5 100%);
	background-attachment: fixed; */
	background-color: #8b5e3c;
	color: #292524;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: min(1.25rem) !important;
	font-size: calc(16px + .25vw) !important;
	line-height: 1.4;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.container {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 1.5rem;
}

/* === Header === */

header {
	background: rgba(255, 250, 245, 0.8);
	border-bottom: 1px solid rgba(120, 53, 15, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
}

/* Backdrop blur on a pseudo-element, not on <header> (menu fix).
   Prevents the header from becoming a containing block for the mobile
   dropdown's position:fixed - which collapsed it to a strip and pushed
   it off-screen. Frosted look unchanged. */
header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 0;
	gap: 2rem;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 1rem;
}

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

.logo-container a {
	transition: opacity 0.2s;
	display: flex;
	align-items: center;
}

.logo-container a:hover { opacity: 0.75; }

.site-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: #7c2d12;
	text-decoration: none;
	letter-spacing: -0.02em;
}

/* Hamburger menu wrapper (contains button + dropdown) */
nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
}

.hamburger-menu {
	position: relative;
}

.hamburger-btn {
	background: rgba(234, 88, 12, 0.1);
	border: 1px solid rgba(120, 53, 15, 0.12);
	color: #7c2d12;
	padding: 0.5rem 1rem;
	border-radius: 12px;
	cursor: pointer;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.15s ease;
	font-family: inherit;
	font-weight: 500;
}

.hamburger-btn:hover {
	background: rgba(234, 88, 12, 0.2);
	border-color: rgba(120, 53, 15, 0.2);
}

/* Dropdown menu - appears below hamburger button when .active */
.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 250px;
	max-height: 80vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	margin-top: 0.5rem;
	background: #ffffff;
	border: 1px solid rgba(120, 53, 15, 0.1);
	border-radius: 16px;
	padding: 0.5rem 0;
	list-style: none;
	z-index: 1000;
	box-shadow: 0 10px 40px rgba(124, 45, 18, 0.15);
}

.dropdown-menu.active {
	display: block;
}

.dropdown-menu ul {
	display: block;
	list-style: none;
	padding: 0;
	margin: 0;
}

.dropdown-menu li {
	margin: 0;
}

.dropdown-menu a {
	display: block;
	padding: 0.6rem 1.25rem;
	color: #57534e;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: background 0.15s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
	background: rgba(234, 88, 12, 0.1);
	color: #7c2d12;
}

/* Submenus = nested lists with left padding (NOT popups) */
.dropdown-submenu {
	padding-left: 1rem;
	font-size: 0.9rem;
	list-style: none;
	margin: 0;
}

.dropdown-submenu a {
	padding: 0.45rem 1.25rem;
}

.dropdown-subsubmenu {
	padding-left: 2rem;
	font-size: 0.85rem;
	list-style: none;
	margin: 0;
}

.dropdown-subsubmenu a {
	padding: 0.4rem 1.25rem;
}

/* === Main === */

main {
	background-color: #fff9f5;
	/* min-height: 60vh; */
	padding: 48px 0;
}

.hero {
	text-align: center;
	margin-bottom: 2rem;
}

.hero h1 {
	font-size: 3.25rem;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: 1.25rem;
	color: #7c2d12;
}

.hero p {
	font-size: 1.2rem;
	color: #78716c;
	max-width: 600px;
	margin: 0 auto 2rem;
	font-weight: 400;
	line-height: 1.6;
}

.breadcrumbs {
	background-color: #f0ccb3;
	color: #78716c;
	padding: 1rem 0;
}

.breadcrumbs a {
	color: #7c2d12;
	text-decoration: none;
	transition: color 0.15s;
}

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

/* === Content section === */

.content-section {
	background: #ffffff;
	padding: 2.5rem;
	margin-bottom: 2rem;
	color: #292524;
	/* border: 1px solid rgba(120, 53, 15, 0.06); */
}

.content-section h1,
.content-section h2,
.content-section h3 {
	color: #7c2d12;
	margin-bottom: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.content-section h1 { font-size: 2.5rem; line-height: 1.1; }
.content-section h2 { font-size: 1.875rem; line-height: 1.15; margin-top: 1.5rem; }
.content-section h3 { font-size: 1.4rem; margin-top: 1.25rem; }

.content-section div[style] {
	margin-top: 0 !important;
	line-height: inherit !important;
}

.content-section p,
.content-section div span {
	color: #44403c;
	line-height: 1.4;
	margin-bottom: 1.15rem;
}
.content-section div span[style] {
	font-size: min(1.25rem) !important;
	font-size: calc(16px + .25vw) !important;
}

.content-section ul,
.content-section ol {
	padding-left: 1.5rem;
	margin-bottom: 1.15rem;
	color: #44403c;
}

.content-section li {
	margin-bottom: 0.4rem;
	line-height: 1.7;
}

.content-section a:not(.cta-button):not(.price-tag):not(.btn) {
	color: var(--primary);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s;
	font-weight: 500;
}

.content-section a:not(.cta-button):not(.price-tag):not(.btn):hover { border-bottom-color: var(--primary); }

.content-section strong { font-weight: 700; color: #292524; }

.content-section img {
	max-width: 100%;
	border-radius: 18px;
	margin: 1rem 0;
}

.price-tag {
	display: inline-block;
	background: var(--accent);
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	padding: 0.5rem 1.5rem;
	border-radius: 980px;
	font-weight: 600;
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.4;
	letter-spacing: 0.01em;
	text-decoration: none;
	margin: 1rem 0;
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a.price-tag:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
	filter: brightness(1.05);
	opacity: 1;
}

/* Buttons */
.btn,
.cta-button {
	display: inline-block;
	background: var(--primary);
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	text-decoration: none;
	padding: 1rem 2.25rem;
	border-radius: 14px;
	font-weight: 600;
	font-size: 1.05rem;
	font-family: inherit;
	line-height: 1.4;
	letter-spacing: 0.01em;
	border: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	text-align: center;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn:hover,
.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
	filter: brightness(1.05);
	opacity: 1;
}

.btn:active,
.cta-button:active {
	transform: translateY(0);
}

/* === Page cards === */

.page-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.page-card {
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(124, 45, 18, 0.06);
	border: 1px solid rgba(120, 53, 15, 0.04);
}

.page-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(124, 45, 18, 0.12);
}

.page-card-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	object-position: top center;
}

.page-card picture {
	display: block;
	width: 100%;
	height: 220px;
}

.page-card picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.page-card-placeholder {
	position: relative;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	background-size: 150% 150%;
	background-position: 0% 0%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: background-position 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-card-placeholder::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
	pointer-events: none;
}

/* Hide engine emoji and use our own */
.page-card-placeholder span {
	display: none;
}

.page-card-placeholder::after {
	content: '☕';
	position: relative;
	z-index: 1;
	font-size: 3.5rem;
	opacity: 0.6;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.page-card:hover .page-card-placeholder {
	background-position: 100% 100%;
}

.page-card:hover .page-card-placeholder::after {
	opacity: 0.85;
	transform: scale(1.08);
}

.page-card-content {
	padding: 1.75rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.page-card-title {
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 0.5rem;
	color: #7c2d12;
}

.page-card-excerpt {
	color: #78716c;
	font-size: 0.95rem;
	margin-bottom: 1.25rem;
	flex-grow: 1;
	line-height: 1.55;
}

.page-card-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	align-self: flex-start;
	padding: 0.4rem 0.9rem;
	background: color-mix(in srgb, var(--primary) 8%, transparent);
	border-radius: 10px;
	transition: all 0.2s;
}

.page-card-link:hover {
	background: color-mix(in srgb, var(--primary) 15%, transparent);
}

.page-card-link::after {
	content: ' →';
	display: inline-block;
	transition: transform 0.2s;
}

.page-card:hover .page-card-link::after {
	transform: translateX(3px);
}

.onepage-sections,
.subpages-sections { padding: 1rem 0; }

/* === Gallery === */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.gallery-item {
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	/* aspect-ratio: 16/9; */
	/* background: #fed7aa; */
	transition: all 0.25s ease;
	/* box-shadow: 0 4px 16px rgba(124, 45, 18, 0.08); */
}

.gallery-item:hover {
 	/* transform: scale(1.02); */
	/* box-shadow: 0 15px 30px rgba(124, 45, 18, 0.15); */
}

.gallery-item img {
/* 	width: 100%;
	height: 100%;
	object-fit: cover; */
	display: block;
}

.gallery-item picture {
/*	display: block;
 	width: 100%;
	height: 100%; */
}

.gallery-item picture img {
/* 	width: 100%;
	height: 100%;
	object-fit: cover; */
	margin: auto;
}

/* === Lightbox === */

.lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(41, 37, 36, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.lightbox.active { 
	display: flex;
}

.lightbox img {
	max-width: 90%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 18px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.15);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.1);
}
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

.lightbox-counter {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	font-weight: 500;
	background: rgba(0, 0, 0, 0.3);
	padding: 0.4rem 1rem;
	border-radius: 50px;
}

/* === Contact form === */

.contact-form {
	background: #ffffff;
	border-radius: 24px;
	padding: 2.5rem;
	margin-top: 2rem;
	color: #292524;
	box-shadow: 0 4px 24px rgba(124, 45, 18, 0.06);
	border: 1px solid rgba(120, 53, 15, 0.06);
}

.contact-form h2 {
	color: #7c2d12;
	margin-bottom: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	font-size: 1.875rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	font-size: 0.9rem;
	color: #44403c;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 0.85rem 1rem;
	background: #fef7f3;
	border: 1px solid rgba(120, 53, 15, 0.12);
	border-radius: 14px;
	color: #292524;
	font-family: inherit;
	font-size: 0.95rem;
	transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: #a8a29e;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--primary);
	background: #ffffff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}

.form-group textarea {
	min-height: 140px;
	resize: vertical;
}

.success,
.error {
	padding: 1rem 1.25rem;
	border-radius: 14px;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
}

.success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* === Testimonials === */

.testimonials-section { margin: 4rem 0 2rem; }

.testimonials-section h2 {
	text-align: center;
	margin-bottom: 2.5rem;
	font-size: 2.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #7c2d12;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.testimonial-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 1.75rem;
	color: #292524;
	box-shadow: 0 4px 20px rgba(124, 45, 18, 0.06);
	border: 1px solid rgba(120, 53, 15, 0.04);
	transition: all 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 30px rgba(124, 45, 18, 0.1);
}

.testimonial-rating {
	color: #f59e0b;
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
	letter-spacing: 0.1em;
}

.testimonial-text {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1rem;
	color: #44403c;
	font-style: italic;
}

.testimonial-author {
	font-weight: 600;
	font-size: 0.9rem;
	color: #78716c;
	text-align: right;
}

.testimonial-author::before { content: '— '; }

/* === Footer === */

/* === FOOTER === */
footer {
	background: var(--footer-bg, var(--text));
	color: rgba(255, 255, 255, 0.85);
	padding: 1.5rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem 3rem;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.85);
}

.footer-section {
	min-width: 0;
}

.footer-section:first-of-type {
	display: none;
}
.footer-section:nth-of-type(2) {
	text-align: center;
}
.footer-section:nth-of-type(2) h3 {
	display: none;
}

/* .footer-section h3 {
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
} */

.footer-section p,
.footer-section a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-section a:hover {
	color: #ffffff;
}

.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 0.4rem; }

/* Copyright section - bottom strip with admin link & "Powered by" */
.copyright {
	padding-top: 1.5rem;
	margin-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
}

.copyright p {
	color: inherit;
	margin: 0.25rem 0;
}

.copyright p[style] {
	font-size: min(1.25rem) !important;
	font-size: calc(16px + .25vw) !important;
	opacity: 1 !important;
}

.copyright a { 
	color: rgba(255, 255, 255, 0.85); 
	text-decoration: none; 
	transition: color 0.2s;
}
.copyright a:hover { color: #ffffff; opacity: 1; }

/* === Dark mode toggle === */

.dark-mode-toggle {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 50px;
	height: 50px;
	background: #ffffff;
	border: 1px solid rgba(120, 53, 15, 0.1);
	color: #7c2d12;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.35rem;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 50;
	transition: all 0.2s;
	box-shadow: 0 4px 20px rgba(124, 45, 18, 0.12);
}

.dark-mode-toggle:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 28px rgba(124, 45, 18, 0.18);
}

/* ===================================================================
   Dark mode — warm dark (not cold black)
   =================================================================== */

[data-theme="dark"] {
	background: linear-gradient(180deg, #1c1917 0%, #292524 50%, #1c1917 100%);
	background-attachment: fixed;
	color: #f5f5f4;
}

[data-theme="dark"] header {
	background: rgba(28, 25, 23, 0.85);
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .site-title,
[data-theme="dark"] .hero h1,
[data-theme="dark"] .content-section h1,
[data-theme="dark"] .content-section h2,
[data-theme="dark"] .content-section h3,
[data-theme="dark"] .page-card-title,
[data-theme="dark"] .testimonials-section h2,
[data-theme="dark"] .contact-form h2,
[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .breadcrumbs a {
	color: #fed7aa;
}

[data-theme="dark"] .dropdown-menu a {
	color: #d6d3d1;
}

[data-theme="dark"] .dropdown-menu a:hover,
[data-theme="dark"] .dropdown-menu a.active {
	background: rgba(234, 88, 12, 0.2);
	color: #fed7aa;
}

[data-theme="dark"] .dropdown-menu {
	background: #292524;
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero p,
[data-theme="dark"] .breadcrumbs,
[data-theme="dark"] .page-card-excerpt,
[data-theme="dark"] .testimonial-text,
[data-theme="dark"] .testimonial-author,
[data-theme="dark"] .content-section p,
[data-theme="dark"] .content-section li,
[data-theme="dark"] .footer-section p,
[data-theme="dark"] .footer-section a {
	color: #a8a29e;
}

[data-theme="dark"] .content-section strong { color: #f5f5f4; }

[data-theme="dark"] .content-section,
[data-theme="dark"] .page-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form {
	background: #292524;
	border-color: rgba(255, 255, 255, 0.06);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .page-card:hover,
[data-theme="dark"] .testimonial-card:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .page-card-placeholder {
	background: linear-gradient(135deg, #44403c, #7c2d12);
}

[data-theme="dark"] .gallery-item { background: #44403c; }

[data-theme="dark"] .form-group label { color: #d6d3d1; }

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
	background: #1c1917;
	border-color: rgba(255, 255, 255, 0.08);
	color: #f5f5f4;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
	color: #78716c;
}

[data-theme="dark"] footer {
	background: #0c0a09;
	border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .social-links a {
	background: rgba(255, 255, 255, 0.08);
	color: #fed7aa;
	box-shadow: none;
}

[data-theme="dark"] .social-links a:hover {
	background: var(--primary);
	color: #ffffff;
}

[data-theme="dark"] .copyright {
	border-top-color: rgba(255, 255, 255, 0.06);
	color: #78716c;
}

[data-theme="dark"] .copyright a { color: #a8a29e; }
[data-theme="dark"] .copyright a:hover { color: #fed7aa; }

[data-theme="dark"] .dark-mode-toggle {
	background: #292524;
	border-color: rgba(255, 255, 255, 0.08);
	color: #fed7aa;
}

[data-theme="dark"] .hamburger-btn {
	background: rgba(234, 88, 12, 0.15);
	border-color: rgba(255, 255, 255, 0.08);
	color: #fed7aa;
}

/* === Animations on scroll === */

.animate-on-scroll {
	opacity: 0;
	transform: translateY(var(--animation-offset, 30px));
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

/* === Responsive === */

@media (max-width: 1024px) {
	.hero h1 { font-size: 2.75rem; }
	.content-section { padding: 2rem; }
	.content-section h1 { font-size: 2rem; }
	.content-section h2 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
	/* Mobile menu fix (6.2.5): pin the dropdown to the screen and bind
	   top AND bottom so its scroll area equals the visible viewport -
	   reaches the last item in landscape. Paired with the body-scroll
	   lock in script.js (prevents the page underneath from scrolling). */
	.dropdown-menu {
		position: fixed;
		top: 70px;
		bottom: 12px;
		left: auto;
		right: 8px;
		max-height: none;
		margin-top: 0;
		padding-bottom: 0.4rem;
		min-width: 220px;
	}

	.header-content { padding: 15px 0; }
	.logo-container img { height: 56px; }

	.hero { padding: 2rem 1rem 2.5rem; }
	.hero h1 { font-size: 2.25rem; line-height: 1.1; }
	.hero p { font-size: 1.05rem; }

	main {
		padding: 2rem 0;
	}

	.content-section {
		padding: 1.75rem;
		border-radius: 20px;
	}

	.content-section h1 { font-size: 1.75rem; }
	.content-section h2 { font-size: 1.4rem; }

	.page-cards-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.page-card { border-radius: 18px; }

	.footer-content {
		gap: 2rem;
	}

	.contact-form {
		padding: 1.75rem;
		border-radius: 20px;
	}
}

@media (max-width: 480px) {
	.container { padding: 0 1rem; }
	.hero h1 { font-size: 1.875rem; }
	.hero p { font-size: 1rem; }

	.logo-container img { height: 48px; }
	.header-content { padding: 12px 0; }

	.dark-mode-toggle {
		bottom: 1rem;
		right: 1rem;
		width: 44px;
		height: 44px;
	}
}


/* ===================================================================
/* === Print === */

@media print {
	body { background: #fff !important; color: #000 !important; }
	header, footer, .dark-mode-toggle,
	.hamburger-btn, .hamburger-menu { display: none !important; }
	.content-section,
	.contact-form,
	.testimonial-card,
	.page-card {
		background: #fff !important;
		color: #000 !important;
		border: 1px solid #ccc !important;
		box-shadow: none !important;
	}
}

/* === PLACEHOLDER COMPOSITIONS (v1.1.4) ===
   Pastel blobs drifting like watercolor clouds; they wander on hover. */
.page-card-placeholder {
	position: relative;
	overflow: hidden;
}

.page-card-placeholder span { display: none; }

.page-card-placeholder::before,
.page-card-placeholder::after {
	content: '';
	position: absolute;
	animation: none;
	-webkit-mask-image: none;
	mask-image: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	filter: none;
	opacity: 1;
	width: auto;
	height: auto;
	inset: auto;
	transition: transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Composition 1: two soft primary clouds + small accent blob */
.page-card-placeholder::before {
	inset: 0;
	background:
		radial-gradient(46% 58% at 30% 40%, var(--primary) 0 55%, transparent 75%),
		radial-gradient(38% 46% at 74% 66%, var(--secondary) 0 55%, transparent 75%);
	opacity: 0.32;
}

.page-card-placeholder::after {
	width: 64px;
	height: 56px;
	top: 18%;
	right: 16%;
	border-radius: 58% 42% 55% 45% / 45% 52% 48% 55%;
	background: var(--accent);
	opacity: 0.55;
}

/* Composition 2: blobs trade corners */
.page-card:nth-child(2n) .page-card-placeholder::before {
	background:
		radial-gradient(48% 60% at 70% 34%, var(--accent) 0 55%, transparent 75%),
		radial-gradient(40% 48% at 26% 70%, var(--primary) 0 55%, transparent 75%);
}

.page-card:nth-child(2n) .page-card-placeholder::after {
	top: auto;
	right: auto;
	bottom: 16%;
	left: 14%;
	border-radius: 44% 56% 48% 52% / 56% 44% 58% 42%;
	background: var(--secondary);
}

/* Composition 3: one large centered cloud + two droplets */
.page-card:nth-child(3n) .page-card-placeholder::before {
	background:
		radial-gradient(56% 64% at 50% 52%, var(--primary) 0 55%, transparent 78%);
}

.page-card:nth-child(3n) .page-card-placeholder::after {
	width: 26px;
	height: 24px;
	top: 22%;
	right: 22%;
	border-radius: 52% 48% 60% 40% / 48% 58% 42% 52%;
	background: var(--accent);
	box-shadow: -46px 34px 0 -4px var(--secondary);
	opacity: 0.6;
}

.page-card:hover .page-card-placeholder::before {
	transform: translate(3%, -3%) scale(1.06);
}

.page-card:hover .page-card-placeholder::after {
	transform: translate(-8px, 8px) rotate(-10deg);
}

@media (prefers-reduced-motion: reduce) {
	.page-card-placeholder::before,
	.page-card-placeholder::after {
		transition: none !important;
	}
}

/* === KEYBOARD FOCUS (6.2.4 accessibility) === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* === HERO BACKGROUND IMAGE (6.3.3) ===
   Soft lays a pastel scheme-tinted mist over the photo. Content centered, four overlay levels. Overrides the engine's
   universal fallback (loaded earlier) by cascade order. No image set ->
   this block stays inert. */
.hero--has-bg {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 55vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem 1.5rem 4rem;
}

.hero--has-bg .hero-bg-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
}

.hero--has-bg .hero-bg-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero--has-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 30%, transparent) 0%, rgba(40,20,30,0.5) 100%);
}

.hero--has-bg h1 {
	color: #fff;
	-webkit-text-fill-color: #fff;
	background: none;
	text-shadow: 0 2px 14px rgba(0,0,0,0.38);
	max-width: 22ch;
}

.hero--overlay-none::after   { background: color-mix(in srgb, var(--primary) 10%, rgba(0,0,0,0.06)); }
.hero--overlay-light::after  { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 22%, transparent) 0%, rgba(40,20,30,0.32) 100%); }
.hero--overlay-medium::after { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 30%, transparent) 0%, rgba(40,20,30,0.5) 100%); }
.hero--overlay-strong::after { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 40%, transparent) 0%, rgba(40,20,30,0.66) 100%); }
