/* =========================================================================
   Alltags*Engel – Raw Aesthetic / Anti-Polish Theme
   Hand-drawn · Collage · Scanned textures · Imperfect · Authentic
   ========================================================================= */

:root {
	/* Anti-Polish Palette (überschreibbar via Customizer) */
	--ae-paper:   #FAFAF8;  /* Paper White */
	--ae-ink:     #4A4A4A;  /* Pencil Grey */
	--ae-primary: #1A1A1A;  /* Marker Black */
	--ae-accent:  #C4A77D;  /* Kraft Brown */

	--ae-wash:    #EDE6D6;  /* aged paper / watercolour wash */
	--ae-wash-2:  #E3ECE6;  /* leichte grüne Wäsche */
	--ae-wash-3:  #F1E3E0;  /* leichte warme Wäsche */
	--ae-tape:    rgba(196, 167, 125, 0.45);
	--ae-line:    #1A1A1A;

	--ae-maxw: 1180px;
	--ae-gap: clamp(1.2rem, 3vw, 2.4rem);

	--font-hand: "Kalam", "Comic Sans MS", cursive;
	--font-marker: "Patrick Hand", "Kalam", cursive;
}

/* --- Papier-Textur (gescannt) als feinkörniges SVG-Rauschen ------------- */
body {
	font-family: var(--font-hand);
	font-weight: 400;
	font-size: clamp(1.02rem, 0.6vw + 0.95rem, 1.18rem);
	line-height: 1.7;
	color: var(--ae-ink);
	background-color: var(--ae-paper);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	overflow-x: hidden;
}

/* dezente Vignette / Knickfalten-Anmutung über dem ganzen Blatt */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background:
		radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(26,26,26,0.05) 100%);
	mix-blend-mode: multiply;
}

/* ---- Typografie ------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--font-marker);
	color: var(--ae-primary);
	line-height: 1.08;
	margin: 0 0 0.5em;
	font-weight: 400;
	letter-spacing: 0.2px;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
p { margin: 0 0 1.1em; }

a { text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px dashed var(--ae-accent);
	outline-offset: 3px;
}

.ae-container {
	width: min(100% - 2.4rem, var(--ae-maxw));
	margin-inline: auto;
}

/* gekritzelte Trennlinie (SVG, leicht wackelig) */
.ae-scribble {
	display: block;
	width: 180px;
	max-width: 60%;
	height: 14px;
	margin: 0.6rem 0 1.4rem;
	background: no-repeat center/contain
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='14'%3E%3Cpath d='M2 8 C 30 2, 50 12, 78 7 S 130 2, 178 8' stroke='%23C4A77D' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.ae-center .ae-scribble { margin-inline: auto; }

/* Marker-Highlight hinter Wörtern */
.ae-mark {
	background: linear-gradient(104deg, transparent 0.5%, var(--ae-accent) 1%, var(--ae-accent) 99%, transparent 99.5%);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	padding: 0.05em 0.18em;
	color: var(--ae-primary);
	border-radius: 4px 8px 6px 10px;
}

/* =========================================================================
   Buttons – wie mit dickem Filzstift umrandet (handgezeichneter Rahmen)
   ========================================================================= */
.ae-btn {
	--b: var(--ae-primary);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-marker);
	font-size: 1.15rem;
	line-height: 1;
	padding: 0.85rem 1.6rem;
	color: var(--ae-paper);
	background: var(--ae-primary);
	border: none;
	cursor: pointer;
	transform: rotate(-1.2deg);
	transition: transform 180ms ease, background-color 180ms ease;
	/* handgezeichneter Rahmen via SVG-Border-Image */
	border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='60'%3E%3Cpath d='M6 8 Q 50 2 94 7 Q 97 30 93 53 Q 50 58 7 52 Q 3 30 6 8 Z' fill='none' stroke='%231A1A1A' stroke-width='2.5'/%3E%3C/svg%3E") 10 / 9px / 0 stretch;
}
.ae-btn:hover { transform: rotate(-1.2deg) translateY(-3px); }
.ae-btn:active { transform: rotate(-1.2deg) translateY(0); }

.ae-btn--accent {
	background: var(--ae-accent);
	color: var(--ae-primary);
}
.ae-btn--ghost {
	background: transparent;
	color: var(--ae-primary);
	transform: rotate(1deg);
	border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='60'%3E%3Cpath d='M6 8 Q 50 2 94 7 Q 97 30 93 53 Q 50 58 7 52 Q 3 30 6 8 Z' fill='none' stroke='%231A1A1A' stroke-width='2.5'/%3E%3C/svg%3E") 10 / 9px / 0 stretch;
}
.ae-btn--ghost:hover { transform: rotate(1deg) translateY(-3px); }

/* =========================================================================
   Header / Navbar
   ========================================================================= */
.ae-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ae-paper);
	border-bottom: 3px solid var(--ae-line);
	/* doppelte Linie = skizziert */
	box-shadow: 0 5px 0 -2px var(--ae-paper), 0 7px 0 -2px var(--ae-accent);
}
.ae-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	width: min(100% - 2.4rem, var(--ae-maxw));
	margin-inline: auto;
	padding: 0.9rem 0;
}
.ae-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-marker);
	font-size: 1.5rem;
	color: var(--ae-primary);
	white-space: nowrap;
}
.ae-brand img { max-height: 54px; width: auto; }
.ae-brand .ae-badge {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	background: var(--ae-accent);
	color: var(--ae-primary);
	font-size: 1.4rem;
	transform: rotate(-6deg);
	border: 2.5px solid var(--ae-line);
	border-radius: 48% 52% 50% 50% / 55% 50% 50% 45%;
	flex: 0 0 auto;
}

/* Primär-Menü */
.ae-menu {
	list-style: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(1rem, 2.2vw, 2.1rem);
	margin: 0;
	padding: 0;
}
.ae-menu a {
	font-family: var(--font-marker);
	font-size: 1.18rem;
	color: var(--ae-primary);
	position: relative;
	padding: 0.2rem 0.1rem;
	transition: color 180ms ease;
}
.ae-menu a::after {
	content: "";
	position: absolute;
	left: -2px; right: -2px; bottom: -4px;
	height: 8px;
	background: no-repeat center/100% 100%
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='8'%3E%3Cpath d='M1 5 C 25 1, 60 8, 89 3' stroke='%23C4A77D' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	opacity: 0;
	transform: scaleX(0.4);
	transform-origin: left;
	transition: opacity 180ms ease, transform 180ms ease;
}
.ae-menu a:hover,
.ae-menu .current-menu-item > a { color: var(--ae-accent); }
.ae-menu a:hover::after,
.ae-menu .current-menu-item > a::after { opacity: 1; transform: scaleX(1); }

/* Burger */
.ae-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 48px; height: 44px;
	padding: 8px;
	background: transparent;
	border: 2.5px solid var(--ae-line);
	border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
	cursor: pointer;
}
.ae-burger span {
	display: block;
	height: 3px;
	background: var(--ae-primary);
	border-radius: 3px;
	transition: transform 200ms ease, opacity 200ms ease;
}
.ae-burger span:nth-child(1) { width: 100%; }
.ae-burger span:nth-child(2) { width: 80%; }
.ae-burger span:nth-child(3) { width: 92%; }

/* =========================================================================
   Hero
   ========================================================================= */
.ae-hero {
	position: relative;
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
	overflow: hidden;
}
.ae-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.ae-kicker {
	display: inline-block;
	font-family: var(--font-marker);
	font-size: 1rem;
	letter-spacing: 0.5px;
	color: var(--ae-primary);
	background: var(--ae-wash);
	padding: 0.45rem 0.9rem;
	transform: rotate(-2deg);
	border: 2.5px solid var(--ae-line);
	margin-bottom: 1.2rem;
}
.ae-hero h1 { margin-bottom: 0.4rem; }
.ae-hero__lead { font-size: 1.22rem; max-width: 36ch; }
.ae-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

/* Collage-Bildstapel rechts */
.ae-hero__art {
	position: relative;
	min-height: 340px;
}
.ae-photo {
	position: relative;
	background: #fff;
	padding: 10px 10px 42px;
	border: 1px solid rgba(26,26,26,0.15);
	box-shadow: 4px 6px 0 rgba(26,26,26,0.12);
}
.ae-photo img {
	width: 100%;
	filter: grayscale(8%) contrast(1.05) sepia(6%);
}
.ae-photo figcaption {
	font-family: var(--font-hand);
	font-size: 0.95rem;
	color: var(--ae-ink);
	text-align: center;
	padding-top: 8px;
}
/* Washi-Tape an der Ecke */
.ae-photo::before {
	content: "";
	position: absolute;
	top: -14px; left: 50%;
	width: 96px; height: 30px;
	transform: translateX(-50%) rotate(-4deg);
	background: var(--ae-tape);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.ae-hero__art .ae-photo:nth-child(1) { transform: rotate(-4deg); z-index: 2; }
.ae-hero__art .ae-photo:nth-child(2) {
	position: absolute; bottom: -10px; right: -6px;
	width: 58%; transform: rotate(5deg); z-index: 3;
}

/* Tinten-Klecks Deko */
.ae-blob {
	position: absolute;
	z-index: 0;
	width: 220px; height: 220px;
	background: var(--ae-wash-2);
	border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
	filter: blur(2px);
	opacity: 0.6;
}
.ae-blob--1 { top: -40px; left: -60px; }
.ae-blob--2 { bottom: -60px; right: 10%; background: var(--ae-wash-3); width: 180px; height: 180px; }

/* =========================================================================
   Slider (CPT slide)
   ========================================================================= */
.ae-slider-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.ae-slider {
	position: relative;
	border: 3px solid var(--ae-line);
	background: #fff;
	box-shadow: 8px 10px 0 rgba(26,26,26,0.12);
	transform: rotate(-0.6deg);
}
.ae-slides {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.ae-slides::-webkit-scrollbar { display: none; }
.ae-slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: start;
	min-height: clamp(340px, 52vw, 560px);
	display: grid;
	align-items: end;
}
.ae-slide img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	filter: grayscale(12%) contrast(1.05) sepia(5%);
}
.ae-slide__caption {
	position: relative;
	z-index: 2;
	margin: clamp(1rem, 3vw, 2rem);
	max-width: 34rem;
	background: rgba(250,250,248,0.92);
	border: 2.5px solid var(--ae-line);
	padding: 1.2rem 1.4rem;
	transform: rotate(-1deg);
}
.ae-slide__caption h3 { margin-bottom: 0.25rem; }
.ae-slide__caption p { margin: 0; font-size: 1.05rem; }

/* Pfeile + Dots */
.ae-slider__nav {
	position: absolute;
	top: 50%; left: 0; right: 0;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	padding: 0 0.6rem;
	pointer-events: none;
}
.ae-slider__arrow {
	pointer-events: auto;
	width: 52px; height: 52px;
	display: grid; place-items: center;
	background: var(--ae-paper);
	border: 2.5px solid var(--ae-line);
	border-radius: 56% 44% 52% 48% / 50% 56% 44% 50%;
	cursor: pointer;
	font-family: var(--font-marker);
	font-size: 1.6rem;
	color: var(--ae-primary);
	transition: transform 160ms ease, background-color 160ms ease;
}
.ae-slider__arrow:hover { background: var(--ae-accent); transform: scale(1.06); }
.ae-slider__dots {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.9rem;
	background: #fff;
	border-top: 2.5px dashed var(--ae-line);
}
.ae-dot {
	width: 16px; height: 16px;
	background: transparent;
	border: 2.5px solid var(--ae-line);
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	transition: background-color 160ms ease, transform 160ms ease;
}
.ae-dot[aria-current="true"] { background: var(--ae-accent); transform: scale(1.15); }

/* =========================================================================
   Section-Helpers
   ========================================================================= */
.ae-section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.ae-section--wash { background: var(--ae-wash); border-block: 3px solid var(--ae-line); }
.ae-section__head { max-width: 46rem; margin-bottom: 2.4rem; }
.ae-center { text-align: center; }
.ae-center .ae-section__head { margin-inline: auto; }

/* =========================================================================
   Services / Karten (Collage)
   ========================================================================= */
.ae-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
	gap: clamp(1.4rem, 3vw, 2.2rem);
}
.ae-card {
	position: relative;
	background: var(--ae-paper);
	border: 2.5px solid var(--ae-line);
	padding: 1.4rem 1.4rem 1.6rem;
	box-shadow: 5px 6px 0 rgba(26,26,26,0.12);
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.ae-card:nth-child(3n+1) { transform: rotate(-1.2deg); }
.ae-card:nth-child(3n+2) { transform: rotate(0.8deg); }
.ae-card:nth-child(3n+3) { transform: rotate(-0.4deg); }
.ae-card:hover {
	transform: rotate(0deg) translateY(-5px);
	box-shadow: 8px 11px 0 rgba(26,26,26,0.16);
}
.ae-card__thumb {
	margin: -1.4rem -1.4rem 1rem;
	border-bottom: 2.5px solid var(--ae-line);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.ae-card__thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	filter: grayscale(10%) contrast(1.05) sepia(5%);
}
.ae-card__icon {
	width: 54px; height: 54px;
	display: grid; place-items: center;
	margin-bottom: 0.7rem;
	color: var(--ae-primary);
	background: var(--ae-accent);
	border: 2.5px solid var(--ae-line);
	transform: rotate(-5deg);
	border-radius: 52% 48% 45% 55% / 50% 52% 48% 50%;
}
.ae-card__icon svg { width: 28px; height: 28px; }
.ae-card h3 { margin-bottom: 0.35rem; }
.ae-card p { font-size: 1rem; margin-bottom: 0.6rem; }
.ae-card__more {
	font-family: var(--font-marker);
	color: var(--ae-primary);
	border-bottom: 2px solid var(--ae-accent);
}
.ae-card__more:hover { color: var(--ae-accent); }

/* =========================================================================
   Über uns (zwei Spalten)
   ========================================================================= */
.ae-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ae-about__text p:last-child { margin-bottom: 0; }
.ae-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.6rem; }
.ae-fact {
	border: 2.5px solid var(--ae-line);
	background: var(--ae-paper);
	padding: 0.9rem 1rem;
	transform: rotate(-0.8deg);
}
.ae-fact:nth-child(even) { transform: rotate(1deg); }
.ae-fact strong { display: block; font-family: var(--font-marker); font-size: 1.9rem; color: var(--ae-primary); line-height: 1; }
.ae-fact span { font-size: 0.95rem; }
.ae-about__art .ae-photo { transform: rotate(-2.5deg); }

/* =========================================================================
   Testimonials
   ========================================================================= */
.ae-testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem); }
.ae-testi {
	position: relative;
	background: #fff;
	border: 2.5px solid var(--ae-line);
	padding: 2.2rem 1.5rem 1.4rem;
	box-shadow: 4px 5px 0 rgba(26,26,26,0.12);
	transform: rotate(0.6deg);
}
.ae-testi:nth-child(even) { transform: rotate(-1deg); background: var(--ae-wash-3); }
.ae-testi::before {
	content: "”";
	position: absolute;
	top: -0.5rem; left: 0.8rem;
	font-family: var(--font-marker);
	font-size: 4rem;
	color: var(--ae-accent);
	line-height: 1;
}
.ae-testi p { font-size: 1.08rem; }
.ae-testi cite {
	display: block;
	font-style: normal;
	font-family: var(--font-marker);
	color: var(--ae-primary);
	margin-top: 0.6rem;
}

/* =========================================================================
   CTA-Band
   ========================================================================= */
.ae-cta {
	text-align: center;
	background: var(--ae-primary);
	color: var(--ae-paper);
	border-block: 3px solid var(--ae-line);
}
.ae-cta h2 { color: var(--ae-paper); }
.ae-cta p { color: rgba(250,250,248,0.85); max-width: 40rem; margin-inline: auto; }
.ae-cta .ae-btn--accent { margin-top: 1rem; }

/* =========================================================================
   Kontakt + Formular
   ========================================================================= */
.ae-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.ae-contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.ae-contact-list li {
	display: flex;
	gap: 0.8rem;
	align-items: flex-start;
	padding: 0.7rem 0;
	border-bottom: 2px dashed rgba(26,26,26,0.25);
}
.ae-contact-list .ae-ci {
	flex: 0 0 auto;
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: var(--ae-accent);
	border: 2.5px solid var(--ae-line);
	border-radius: 52% 48% 45% 55% / 50% 52% 48% 50%;
	color: var(--ae-primary);
}
.ae-contact-list .ae-ci svg { width: 20px; height: 20px; }
.ae-contact-list a:hover { color: var(--ae-accent); }

.ae-form {
	background: var(--ae-paper);
	border: 2.5px solid var(--ae-line);
	padding: clamp(1.2rem, 3vw, 1.8rem);
	box-shadow: 5px 6px 0 rgba(26,26,26,0.12);
	transform: rotate(-0.5deg);
}
.ae-form label {
	display: block;
	font-family: var(--font-marker);
	color: var(--ae-primary);
	margin: 0.8rem 0 0.3rem;
}
.ae-form input,
.ae-form textarea {
	width: 100%;
	font-family: var(--font-hand);
	font-size: 1.05rem;
	color: var(--ae-primary);
	background: #fff;
	border: 2.5px solid var(--ae-line);
	padding: 0.65rem 0.8rem;
}
.ae-form textarea { min-height: 130px; resize: vertical; }
.ae-form .ae-btn { margin-top: 1.1rem; }
.ae-notice {
	border: 2.5px solid var(--ae-line);
	padding: 0.8rem 1rem;
	margin-bottom: 1rem;
	background: var(--ae-wash-2);
	transform: rotate(-0.6deg);
}
.ae-notice--error { background: var(--ae-wash-3); }

/* =========================================================================
   Inhalts-Seiten (page.php / index.php)
   ========================================================================= */
.ae-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.ae-page__header { margin-bottom: 2rem; }
.ae-prose { max-width: 52rem; }
.ae-prose h2 { margin-top: 1.8rem; }
.ae-prose h3 { margin-top: 1.4rem; }
.ae-prose ul, .ae-prose ol { padding-left: 1.3rem; }
.ae-prose li { margin-bottom: 0.4rem; }
.ae-prose img { border: 2.5px solid var(--ae-line); padding: 6px; background: #fff; }
.ae-prose blockquote {
	border-left: 5px solid var(--ae-accent);
	margin: 1.2rem 0;
	padding: 0.4rem 0 0.4rem 1.1rem;
	font-size: 1.15rem;
	color: var(--ae-primary);
}
.ae-prose a { border-bottom: 2px solid var(--ae-accent); }
.ae-prose a:hover { color: var(--ae-accent); }
.ae-breadcrumb { font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--ae-ink); }
.ae-breadcrumb a { border-bottom: 1px solid var(--ae-accent); }

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

/* =========================================================================
   Footer
   ========================================================================= */
.ae-footer {
	background: var(--ae-primary);
	color: rgba(250,250,248,0.86);
	border-top: 3px solid var(--ae-line);
	padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}
.ae-footer a { color: rgba(250,250,248,0.86); }
.ae-footer a:hover { color: var(--ae-accent); }
.ae-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
}
.ae-footer h4 { color: var(--ae-paper); font-size: 1.3rem; }
.ae-footer__brand { font-family: var(--font-marker); font-size: 1.5rem; color: var(--ae-paper); }
.ae-footer ul { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.ae-footer li { padding: 0.25rem 0; }
.ae-footer__bottom {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 2px dashed rgba(250,250,248,0.25);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem;
	font-size: 0.92rem;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
	.ae-hero__grid,
	.ae-about,
	.ae-contact-grid { grid-template-columns: 1fr; }
	.ae-hero__art { min-height: 300px; margin-top: 1rem; }
	.ae-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.ae-burger { display: flex; }
	.ae-menu {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(82vw, 340px);
		flex-direction: column;
		align-items: flex-start;
		gap: 1.2rem;
		padding: 5rem 2rem 2rem;
		background: var(--ae-paper);
		border-left: 3px solid var(--ae-line);
		box-shadow: -10px 0 30px rgba(26,26,26,0.18);
		transform: translateX(100%);
		transition: transform 240ms ease;
		overflow-y: auto;
	}
	.ae-menu.is-open { transform: translateX(0); }
	.ae-menu a { font-size: 1.4rem; }
	.ae-nav-backdrop {
		position: fixed; inset: 0;
		background: rgba(26,26,26,0.35);
		opacity: 0; visibility: hidden;
		transition: opacity 240ms ease, visibility 240ms ease;
		z-index: 40;
	}
	.ae-nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 560px) {
	.ae-footer__grid { grid-template-columns: 1fr; }
	.ae-hero__art .ae-photo:nth-child(2) { width: 62%; }
	.ae-facts { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.ae-slides { scroll-behavior: auto; }
}
