/* =========================================================================
   AYA Kundenerfolge – Frontend
   Alle Klassen sind mit .aya vorangestellt, damit nichts mit dem Theme kollidiert.
   ========================================================================= */

:root {
	--aya-creme: #F5F0E8;
	--aya-karte: #FFFCF7;
	--aya-braun: #3B2105;
	--aya-schwarz: #1A1A1A;
	--aya-orange: #CB6A24;
	--aya-orange-dunkel: #B25C1D;
	--aya-link: #A9541A;
	--aya-sand: #DFBE97;
	--aya-sand-hell: #E1CFB5;
	--aya-grau: #5F655A;
	--aya-grau-hell: #999F93;
	--aya-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
	--aya-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
	--aya-script: 'Petit Formal Script', cursive;
	--aya-max: 1240px;
	--aya-rand: clamp(20px, 5vw, 64px);
}

/* Wenn in Elementor Global Fonts gesetzt sind, übernimmt das Modul sie automatisch.
   Damit zieht ein Wechsel der Headline-Font durch Karten, Overlay und Filter mit,
   ohne dass hier etwas geändert werden muss. Sonst greifen die Werte aus :root. */
.aya {
	--aya-serif: var(--e-global-typography-primary-font-family, 'EB Garamond', Georgia, serif);
	--aya-sans: var(--e-global-typography-text-font-family, 'Montserrat', system-ui, sans-serif);
	--aya-script: var(--e-global-typography-accent-font-family, 'Petit Formal Script', cursive);
}

.aya,
.aya * {
	box-sizing: border-box;
}

.aya {
	font-family: var(--aya-sans);
	color: var(--aya-braun);
	-webkit-font-smoothing: antialiased;
}

.aya-wrap {
	max-width: var(--aya-max);
	margin: 0 auto;
	padding-left: var(--aya-rand);
	padding-right: var(--aya-rand);
}

/* ---------- Kopf + Filter ---------- */

.aya-kicker {
	margin: 0 0 14px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--aya-orange);
}

.aya-h2 {
	margin: 0 0 34px;
	font-family: var(--aya-serif);
	font-weight: 400;
	font-size: clamp(27px, 4.1vw, 46px);
	line-height: 1.15;
	color: var(--aya-schwarz);
	text-wrap: balance;
}

.aya-fs {
	border: 0;
	margin: 0 0 22px;
	padding: 0;
}

.aya-fs legend {
	padding: 0;
	margin: 0 0 12px;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--aya-grau);
}

.aya-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.aya-chip {
	cursor: pointer;
	font-family: var(--aya-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .01em;
	padding: 10px 18px;
	border-radius: 999px;
	background: transparent;
	color: var(--aya-braun);
	border: 1px solid rgba(223, 190, 151, .9);
	transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.aya-chip:hover {
	border-color: var(--aya-orange);
}

.aya-chip:focus-visible {
	outline: 2px solid var(--aya-orange);
	outline-offset: 3px;
}

.aya-chip.is-aktiv {
	background: var(--aya-orange);
	color: var(--aya-creme);
	border-color: var(--aya-orange);
}

.aya-count {
	margin: 30px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(223, 190, 151, .8);
	font-size: 13px;
	letter-spacing: .04em;
	color: var(--aya-braun);
}

/* ---------- Karten-Grid (Masonry über CSS-Spalten) ---------- */

.aya-grid-wrap {
	padding-top: 26px;
	transition: opacity .18s ease;
}

.aya-grid-wrap.is-blass {
	opacity: .35;
}

.aya-grid {
	columns: 320px 3;
	column-gap: 28px;
}

.aya-card {
	display: block;
	width: 100%;
	break-inside: avoid;
	margin: 0 0 28px;
	text-align: left;
	background: var(--aya-karte);
	border: 1px solid rgba(223, 190, 151, .85);
	border-radius: 8px;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	font-family: var(--aya-sans);
	box-shadow: 0 1px 2px rgba(59, 33, 5, .04);
	transition: box-shadow .28s ease, transform .28s ease;
}

.aya-card:hover {
	box-shadow: 0 12px 32px rgba(59, 33, 5, .11);
	transform: translateY(-2px);
}

.aya-card:focus-visible {
	outline: 2px solid var(--aya-orange);
	outline-offset: 3px;
}

.aya-card[hidden] {
	display: none;
}

.aya-card-bild {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	background: var(--aya-sand-hell);
	background-image: repeating-linear-gradient(132deg, rgba(59, 33, 5, .055) 0 7px, transparent 7px 16px);
}

.aya-card-bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aya-play {
	position: relative;
	width: 62px;
	height: 62px;
	border-radius: 999px;
	background: rgba(245, 240, 232, .78);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--aya-orange);
	pointer-events: none;
	transition: transform .3s ease;
}

.aya-card:hover .aya-play {
	transform: scale(1.12);
}

.aya-dauer {
	position: absolute;
	right: 11px;
	bottom: 11px;
	background: rgba(26, 26, 26, .72);
	color: var(--aya-creme);
	font-size: 11px;
	padding: 3px 7px;
	border-radius: 3px;
}

.aya-card-text {
	display: block;
	padding: 20px 20px 22px;
}

.aya-name {
	display: block;
	font-family: var(--aya-serif);
	font-size: 22px;
	color: var(--aya-schwarz);
	line-height: 1.2;
}

.aya-rolle {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--aya-grau);
	letter-spacing: .02em;
}

.aya-zitat {
	display: block;
	margin-top: 16px;
	font-family: var(--aya-serif);
	font-size: 19px;
	line-height: 1.45;
	color: var(--aya-braun);
	text-wrap: pretty;
}

.aya-gans {
	color: var(--aya-orange);
}

.aya-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}

.aya-tag {
	background: rgba(223, 190, 151, .45);
	color: var(--aya-braun);
	font-size: 10.5px;
	letter-spacing: .06em;
	padding: 5px 10px;
	border-radius: 999px;
}

.aya-mehr {
	display: block;
	margin-top: 18px;
	font-size: 12.5px;
	color: var(--aya-link);
	letter-spacing: .02em;
}

/* ---------- Leerzustand ---------- */

.aya-leer {
	padding-top: 26px;
}

.aya-leer-text {
	margin: 0;
	max-width: 46em;
	font-family: var(--aya-serif);
	font-size: clamp(19px, 2.2vw, 24px);
	line-height: 1.4;
	color: var(--aya-schwarz);
}

/* ---------- Einschub-Module ---------- */

.aya-modul {
	margin-top: clamp(40px, 5vw, 72px);
}

.aya-modul[hidden] {
	display: none;
}

/* ---------- Overlay ---------- */

.aya-overlay {
	position: fixed;
	inset: 0;
	z-index: 9000;
	overflow-y: auto;
	padding: clamp(0px, 3vw, 44px);
	background: rgba(26, 26, 26, .62);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.aya-overlay[hidden] {
	display: none;
}

.aya-overlay-bg {
	position: absolute;
	inset: 0;
}

.aya-dialog {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	background: var(--aya-creme);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(26, 26, 26, .4);
}

.aya-dialog-kopf {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px clamp(20px, 3vw, 36px) 0;
}

.aya-d-name {
	margin: 0;
	font-family: var(--aya-serif);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.1;
	color: var(--aya-schwarz);
}

.aya-d-rolle {
	margin: 6px 0 0;
	font-size: 12.5px;
	color: var(--aya-grau);
	letter-spacing: .02em;
}

.aya-close {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: 1px solid rgba(223, 190, 151, .9);
	background: transparent;
	color: var(--aya-braun);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease;
}

.aya-close:hover {
	background: rgba(223, 190, 151, .35);
}

.aya-dialog-body {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(22px, 3vw, 40px);
	align-items: start;
	padding: 22px clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px);
}

.aya-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	background: #DCC6A8;
	background-image: repeating-linear-gradient(132deg, rgba(59, 33, 5, .06) 0 8px, transparent 8px 18px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.aya-video img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aya-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.aya-video-btn {
	position: relative;
	z-index: 1;
	width: 86px;
	height: 86px;
	border-radius: 999px;
	border: 0;
	background: rgba(245, 240, 232, .85);
	color: var(--aya-orange);
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transition: transform .3s ease;
}

.aya-video-btn:hover {
	transform: scale(1.07);
}

.aya-video-dauer {
	position: absolute;
	right: 12px;
	bottom: 12px;
	background: rgba(26, 26, 26, .72);
	color: var(--aya-creme);
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 3px;
}

.aya-label {
	margin: 18px 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--aya-grau);
}

.aya-label-akzent {
	color: var(--aya-orange);
}

.aya-kapitel .aya-chip {
	font-size: 12px;
	padding: 8px 14px;
}

.aya-d-meta {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid rgba(223, 190, 151, .8);
	font-size: 12px;
	color: var(--aya-grau);
	line-height: 1.7;
}

.aya-d-zitat {
	margin: 0 0 20px;
	font-family: var(--aya-serif);
	font-size: clamp(20px, 2.3vw, 25px);
	line-height: 1.4;
	color: var(--aya-schwarz);
	text-wrap: pretty;
}

.aya-abschnitt {
	padding: 18px 0;
	border-top: 1px solid rgba(223, 190, 151, .9);
}

.aya-abschnitt .aya-label {
	margin-top: 0;
}

.aya-abschnitt-heute {
	border-bottom: 1px solid rgba(223, 190, 151, .9);
}

.aya-d-text {
	margin: 0;
	font-size: 14.5px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--aya-braun);
	text-wrap: pretty;
}

.aya-next-wrap {
	margin: 18px 0 0;
}

.aya-next {
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: var(--aya-sans);
	font-size: 13px;
	color: var(--aya-link);
	border-bottom: 1px solid rgba(169, 84, 26, .4);
}

.aya-dialog-fuss {
	background: var(--aya-sand);
	padding: 22px clamp(20px, 3vw, 36px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 20px;
}

.aya-fuss-text {
	margin: 0;
	font-family: var(--aya-serif);
	font-size: clamp(18px, 2.1vw, 23px);
	line-height: 1.35;
	color: var(--aya-schwarz);
}

.aya-btn {
	display: inline-block;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	padding: 14px 24px;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease, transform .2s ease;
}

.aya-btn-orange {
	background: var(--aya-orange);
	color: var(--aya-creme);
}

.aya-btn-orange:hover {
	background: var(--aya-orange-dunkel);
	color: var(--aya-creme);
}

/* ---------- Sticky-Leiste (mobil) ---------- */

.aya-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 8000;
	background: var(--aya-orange);
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 -6px 24px rgba(59, 33, 5, .18);
}

.aya-bar[hidden] {
	display: none;
}

.aya-bar-btn {
	flex: 1;
	text-align: center;
	background: var(--aya-creme);
	color: var(--aya-link);
	font-size: 14px;
	font-weight: 600;
	padding: 14px 16px;
	border-radius: 999px;
	text-decoration: none;
}

.aya-bar-close {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	background: transparent;
	border: 1px solid rgba(245, 240, 232, .5);
	border-radius: 999px;
	color: var(--aya-creme);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

@media (min-width: 861px) {
	.aya-bar {
		display: none !important;
	}
}

/* =========================================================================
   Hilfsklassen für die statischen Elementor-Sections
   ========================================================================= */

/* Strahlenfächer als Hintergrunddekor */
.aya-strahlen {
	position: relative;
	overflow: hidden;
}

.aya-strahlen::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -18%;
	width: min(1500px, 150vw);
	height: min(1100px, 110vw);
	transform: translateX(-50%);
	background-image: repeating-conic-gradient(from 0deg at 50% 100%, rgba(203, 106, 36, .09) 0deg 2.6deg, transparent 2.6deg 11deg);
	-webkit-mask-image: radial-gradient(closest-side at 50% 100%, #000 20%, transparent 78%);
	mask-image: radial-gradient(closest-side at 50% 100%, #000 20%, transparent 78%);
	pointer-events: none;
	z-index: 0;
}

.aya-strahlen > * {
	position: relative;
	z-index: 1;
}

.aya-strahlen-hell::before {
	bottom: auto;
	top: -30%;
	height: min(1400px, 140vw);
	width: min(1400px, 140vw);
	background-image: repeating-conic-gradient(from 0deg at 50% 50%, rgba(203, 106, 36, .5) 0deg 2.4deg, transparent 2.4deg 10deg);
	opacity: .08;
	-webkit-mask-image: none;
	mask-image: none;
}

.aya-strahlen-cta::before {
	bottom: -55%;
	top: auto;
	width: min(1500px, 150vw);
	height: min(1500px, 150vw);
	background-image: repeating-conic-gradient(from 0deg at 50% 50%, #F5F0E8 0deg 2.2deg, transparent 2.2deg 10deg);
	opacity: .1;
	-webkit-mask-image: radial-gradient(closest-side, transparent 0%, transparent 46%, #000 72%, transparent 98%);
	mask-image: radial-gradient(closest-side, transparent 0%, transparent 46%, #000 72%, transparent 98%);
}

/* Polaroid-Bilder im Hero */
.aya-polaroid img {
	border: 6px solid #FFFCF7;
	box-shadow: 0 14px 34px rgba(59, 33, 5, .13);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.aya-dreh-a { transform: rotate(-3deg); }
.aya-dreh-b { transform: rotate(2deg); }
.aya-dreh-c { transform: rotate(2.5deg); }
.aya-dreh-d { transform: rotate(-4deg); }

/* Screenshot-Reihe (Nachrichten) */
.aya-screenshots > .e-con-inner,
.aya-screenshots {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	gap: 22px;
	padding-bottom: 12px;
}

.aya-screenshots > * {
	scroll-snap-align: start;
	flex: 0 0 min(260px, 70vw);
}

.aya-screenshot img {
	background: #DFBE97;
	border-radius: 6px;
	padding: 14px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	box-shadow: 0 10px 26px rgba(59, 33, 5, .1);
	width: 100%;
}

/* Portrait im Kreis */
.aya-rund img {
	border-radius: 999px;
	aspect-ratio: 1;
	object-fit: cover;
	border: 6px solid #F5F0E8;
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.aya *,
	.aya *::before {
		transition: none !important;
	}
}
