/* ============================================================
 * Stores (single) — Stil Figma "Editorial Content" 374:712, Optik wie Materialien.
 * Tokens (--ec-*) und .ec-btn kommen aus home.css.
 * Link-Selektoren bewusst spezifisch (.ec-store a.…), da die Elementor-Kit-Regel
 * `.elementor-kit-4335 a` Links sonst schwarz überschreibt.
 * ============================================================ */

.ec-store {
	--ec-store-gutter: clamp(24px, 6vw, 80px);
	display: flex;
	flex-direction: column;
	background: var(--ec-chalk, #f8f6f2);
	color: var(--ec-anthracite, #1c1c1a);
	font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ec-store > * {
	width: 100%;
	box-sizing: border-box;
}

/* --- Breadcrumb --------------------------------------------- */
.ec-store-breadcrumb {
	background: var(--ec-surface, #fdfcf9);
	padding: 12px var(--ec-store-gutter);
	font-size: 12px;
	line-height: 1.6;
}

.ec-store-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-store-breadcrumb li + li::before {
	content: "→";
	margin-right: 8px;
	color: var(--ec-text-secondary, #6b665f);
}

.ec-store .ec-store-breadcrumb a {
	color: inherit;
}

.ec-store-breadcrumb [aria-current="page"] span {
	text-decoration: underline;
}

/* --- Header ------------------------------------------------- */
.ec-store-header {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px var(--ec-store-gutter);
}

.ec-store-header__title {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 300;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.2;
	color: var(--ec-anthracite, #1c1c1a);
	overflow-wrap: anywhere;
}

.ec-store-header__subtitle {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ec-text-secondary, #6b665f);
}

/* --- Bild + Infoblock --------------------------------------- */
.ec-store-top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	background: var(--ec-surface, #fdfcf9);
}

.ec-store-top--no-image {
	grid-template-columns: 1fr;
}

.ec-store-hero {
	position: relative;
	margin: 0;
	min-height: 480px;
	background: var(--ec-sand, #c4ab8a);
	overflow: hidden;
}

.ec-store-hero__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ec-store-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 28px;
	padding: 48px clamp(24px, 4vw, 56px);
}

.ec-store-info__group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ec-store-info__label {
	margin: 0;
	font-family: "Figtree", sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ec-text-secondary, #6b665f);
}

.ec-store-info__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ec-anthracite, #1c1c1a);
}

.ec-store-info__line {
	display: block;
}

.ec-store .ec-store-info a:not(.ec-btn) {
	color: var(--ec-anthracite, #1c1c1a);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ec-store-hours {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 20px;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

.ec-store-hours dt {
	margin: 0;
	color: var(--ec-text-secondary, #6b665f);
}

.ec-store-hours dd {
	margin: 0;
	color: var(--ec-anthracite, #1c1c1a);
}

/* --- Rich text ---------------------------------------------- */
.ec-store-richtext {
	font-size: 15px;
	line-height: 1.75;
	color: var(--ec-text-secondary, #6b665f);
}

.ec-store-richtext > *:first-child { margin-top: 0; }
.ec-store-richtext > *:last-child { margin-bottom: 0; }

.ec-store-richtext p {
	margin: 0 0 1em;
}

.ec-store-richtext strong,
.ec-store-richtext b,
.ec-store-richtext em {
	color: var(--ec-anthracite, #1c1c1a);
}

.ec-store-richtext strong,
.ec-store-richtext b {
	font-weight: 600;
}

/* --- Lead --------------------------------------------------- */
.ec-store-lead {
	padding: 64px var(--ec-store-gutter);
}

.ec-store-lead__text {
	max-width: 760px;
	font-size: 18px;
	line-height: 1.7;
}

/* --- Galerie ------------------------------------------------ */
.ec-store-gallery {
	background: var(--ec-surface, #fdfcf9);
	padding: 0 var(--ec-store-gutter) 64px;
}

.ec-store-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
}

.ec-store-gallery__grid--1 { grid-template-columns: minmax(0, 1fr); }
.ec-store-gallery__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ec-store-gallery__item {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	background: var(--ec-sand, #c4ab8a);
	overflow: hidden;
}

.ec-store-gallery__item img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Abschnittstitel ---------------------------------------- */
.ec-store-section-title {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.3;
	color: var(--ec-anthracite, #1c1c1a);
}

/* --- Anfahrt ------------------------------------------------ */
.ec-store-directions {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 64px var(--ec-store-gutter);
	background: var(--ec-chalk, #f8f6f2);
}

.ec-store-directions__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px 48px;
}

.ec-store-directions__title {
	margin: 0 0 8px;
	font-family: "Figtree", sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ec-text-secondary, #6b665f);
}

.ec-store-directions__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ec-anthracite, #1c1c1a);
}

/* --- Weitere Stores ----------------------------------------- */
.ec-store-more {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 48px var(--ec-store-gutter) 80px;
	background: var(--ec-surface, #fdfcf9);
}

.ec-store-more__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
	width: 100%;
}

.ec-store a.ec-store-tile {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: var(--ec-sand, #c4ab8a);
	color: var(--ec-chalk, #f8f6f2);
	text-decoration: none;
}

.ec-store-tile__img,
.ec-store-tile__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ec-store-tile__img {
	object-fit: cover;
	transition: transform .5s ease;
}

.ec-store-tile:hover .ec-store-tile__img,
.ec-store-tile:focus-visible .ec-store-tile__img {
	transform: scale(1.04);
}

.ec-store-tile__overlay {
	background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%);
	pointer-events: none;
}

.ec-store-tile__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 40px;
}

.ec-store-tile__title {
	font-family: "Plus Jakarta Sans", "Figtree", sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.25;
}

.ec-store-tile__cta {
	font-size: 14px;
	line-height: 1.6;
}

.ec-store-tile:hover .ec-store-tile__cta {
	text-decoration: underline;
}

/* --- Mobile ------------------------------------------------- */
@media (max-width: 880px) {
	.ec-store-header {
		padding-top: 24px;
		padding-bottom: 24px;
	}
	.ec-store-top {
		grid-template-columns: 1fr;
	}
	.ec-store-hero {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
	.ec-store-info {
		padding: 32px var(--ec-store-gutter) 40px;
	}
	.ec-store-lead {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.ec-store-lead__text {
		font-size: 16px;
	}
	.ec-store-gallery {
		padding-bottom: 40px;
	}
	.ec-store-gallery__grid,
	.ec-store-gallery__grid--2 {
		grid-template-columns: 1fr;
	}
	.ec-store-directions {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.ec-store-more__grid {
		grid-template-columns: 1fr;
	}
	.ec-store a.ec-store-tile {
		aspect-ratio: 4 / 3;
	}
	.ec-store-tile__body {
		padding: 24px;
	}
	.ec-store-tile__title {
		font-size: 22px;
	}
}
