/* =========================================================================
   Café Rih – Unterseite „Event Location" (page-event-location.php)
   ---------------------------------------------------------------------------
   Hand-codierte Markenschicht. Erbt Tokens und Bausteine aus brand.css
   (cr-page-hero, cr-split, cr-card, cr-cta-row, cr-btn, cr-eyebrow). Diese
   Datei liefert nur das Seiten-Spezifische: Hero-Bild, Raster für Anlässe und
   Ablauf, Feinschliff. Namespace: cr-eventloc-. Bildquellen root-relativ
   (domain-unabhängig, CLAUDE.md Abschnitt 8).
   ========================================================================= */

/* Full-bleed wie die übrigen hand-codierten Seiten: Hello Elementor cappt
   `.site-main` bei Nicht-Elementor-Seiten auf 1140px und zentriert sie als Box.
   Deckel aufheben; die Inhaltsbreite regelt allein `.cr-wrap` (--cr-maxw). */
.cafe-rih .site-main.cr-eventloc-page {
	max-width: none;
	width: 100%;
	padding-inline: 0;
	overflow-x: clip; /* dekorative Nieren dürfen nicht horizontal scrollen */
}

/* =========================================================================
   1. HERO – gleiche Marken-Behandlung wie die übrigen Seiten-Heros
   Bild leicht unscharf + abgedunkelt, darüber ein Verlauf für Lesbarkeit.
   Größe/Abstände kommen aus dem EINHEITLICHEN .cr-page-hero (brand.css).
   ========================================================================= */

.cafe-rih .cr-eventloc-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	/* Fassade des Hauses des Badischen Kunstvereins (Landscape-Zuschnitt). */
	--cr-hero-bg: url("/wp-content/uploads/2026/06/DSCF2246-1200x800.jpg");
}
.cafe-rih .cr-eventloc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--cr-hero-bg, none);
	background-size: cover;
	background-position: center 38%;
	background-repeat: no-repeat;
	filter: blur(2px) saturate(.95) brightness(.9);
	transform: scale(1.12);
	transform-origin: center;
}
.cafe-rih .cr-eventloc-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg,
		rgba(21, 25, 26, .5) 0%,
		rgba(21, 25, 26, .64) 55%,
		rgba(21, 25, 26, .9) 100%);
}

/* =========================================================================
   2. Geteilte Bausteine dieser Seite
   ========================================================================= */

/* Abschnittsüberschrift (Fraunces) einheitlich, ruhige Abstände. */
.cafe-rih .cr-eventloc-h2 {
	font-family: var(--cr-font-display);
	font-weight: 400;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.06;
	letter-spacing: -.005em;
	margin: 0 0 1.1rem;
}

/* Fließtext einheitlich (wie --cr-body-*), gedämpft. */
.cafe-rih .cr-eventloc-body {
	font-family: var(--cr-font-body);
	font-weight: 300;
	font-size: var(--cr-body-size);
	line-height: var(--cr-body-line);
	color: var(--cr-text-muted);
	margin: 0 0 1.1rem;
	max-width: 54ch;
}
.cafe-rih .cr-eventloc-body:last-child {
	margin-bottom: 0;
}

/* Abschnitts-Kopf (Eyebrow + Titel), zentriert. */
.cafe-rih .cr-eventloc-head {
	text-align: center;
	max-width: 44rem;
	margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
}
.cafe-rih .cr-eventloc-head .cr-eyebrow { display: inline-block; }
.cafe-rih .cr-eventloc-head .cr-eventloc-h2 { margin-bottom: 0; }

/* Dekorative Nieren ton-in-ton (Positionierung; Form kommt aus dem SVG). */
.cafe-rih .cr-eventloc-niere {
	position: absolute;
	height: auto;
	pointer-events: none;
	z-index: 0;
}
.cafe-rih .cr-eventloc-niere--hero { right: -10%; top: 4%; width: min(64vw, 720px); }
.cafe-rih .cr-eventloc-niere--anlaesse { left: -14%; bottom: -8%; width: min(58vw, 620px); }

/* =========================================================================
   3. INTRO
   ========================================================================= */

.cafe-rih .cr-eventloc-intro__inner {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}
.cafe-rih .cr-eventloc-intro .cr-eyebrow { display: inline-block; }
.cafe-rih .cr-eventloc-lead-serif {
	font-family: var(--cr-font-display);
	font-weight: 400;
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	line-height: 1.4;
	color: var(--cr-text);
	margin: 0 0 1.4rem;
}
.cafe-rih .cr-eventloc-intro .cr-eventloc-body {
	max-width: 58ch;
	margin-inline: auto;
}
/* =========================================================================
   4. SPLIT (Bild + Text) – nutzt .cr-split aus brand.css
   ========================================================================= */

.cafe-rih .cr-eventloc-split-section--surface {
	background-color: var(--cr-surface);
}
/* Feine Trennlinie zwischen aufeinanderfolgenden Sektionen entfällt auf
   Flächen-Sektionen (ruhiger Übergang). */
.cafe-rih .cr-eventloc-split-section--surface + .cr-eventloc-split-section--surface {
	border-top-color: transparent;
}
.cafe-rih .cr-eventloc-split {
	max-width: 1040px;
	margin-inline: auto;
	gap: clamp(1.75rem, 4vw, 3.75rem);
}
.cafe-rih .cr-eventloc__img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--cr-radius);
	border: 1px solid rgba(161, 152, 127, .28); /* feine Altgold-Keylinie */
	box-shadow: 0 22px 55px rgba(0, 0, 0, .45);
}
.cafe-rih .cr-eventloc-split .cr-split__body .cr-eyebrow { display: inline-block; }

/* =========================================================================
   5. ANLÄSSE (Karten-Raster)
   ========================================================================= */

.cafe-rih .cr-eventloc-anlaesse {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.cafe-rih .cr-eventloc-grid {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1040px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(1rem, 2.5vw, 1.5rem);
}
.cafe-rih .cr-eventloc-card {
	flex: 0 1 calc((100% - 3 * clamp(1rem, 2.5vw, 1.5rem)) / 4);
	min-width: 240px;
	background: var(--cr-surface);
	border: 1px solid var(--cr-hairline);
	border-radius: var(--cr-radius);
	padding: clamp(1.5rem, 3vw, 2rem);
	transition: border-color var(--cr-dur) var(--cr-ease),
	            transform var(--cr-dur) var(--cr-ease);
}
.cafe-rih .cr-eventloc-card:hover {
	border-color: rgba(128, 153, 151, .55);
	transform: translateY(-2px);
}
.cafe-rih .cr-eventloc-card__title {
	font-family: var(--cr-font-display);
	font-weight: 400;
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	line-height: 1.2;
	margin: 0 0 .6rem;
	color: var(--cr-text);
}
.cafe-rih .cr-eventloc-card__text {
	font-family: var(--cr-font-body);
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--cr-text-muted);
	margin: 0;
	max-width: none;
}

/* =========================================================================
   6. ABLAUF (drei Schritte)
   ========================================================================= */

.cafe-rih .cr-eventloc-steps {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1000px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(1.5rem, 4vw, 2.75rem);
}
.cafe-rih .cr-eventloc-step {
	text-align: left;
}
.cafe-rih .cr-eventloc-step__num {
	display: inline-block;
	font-family: var(--cr-font-display);
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
	line-height: 1;
	color: var(--cr-gold);
	margin-bottom: .9rem;
}
.cafe-rih .cr-eventloc-step__title {
	font-family: var(--cr-font-display);
	font-weight: 400;
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	line-height: 1.2;
	margin: 0 0 .55rem;
	color: var(--cr-text);
}
.cafe-rih .cr-eventloc-step__text {
	font-family: var(--cr-font-body);
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--cr-text-muted);
	margin: 0;
	max-width: 40ch;
}
/* Feine Trennlinien zwischen den Schritten ab Tablet (Zeitachse-Anmutung). */
@media (min-width: 720px) {
	.cafe-rih .cr-eventloc-step + .cr-eventloc-step {
		border-left: 1px solid var(--cr-hairline);
		padding-left: clamp(1.5rem, 4vw, 2.75rem);
	}
}

/* =========================================================================
   7. KONTAKT / CTA
   ========================================================================= */

.cafe-rih .cr-eventloc-cta__card {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
	padding: clamp(2rem, 5vw, 3.25rem);
}
.cafe-rih .cr-eventloc-cta__card .cr-eyebrow { display: inline-block; }
.cafe-rih .cr-eventloc-cta__lead {
	max-width: 46ch;
	margin: 0 auto 1.6rem;
}
.cafe-rih .cr-eventloc-cta__row {
	justify-content: center;
	margin-top: 0;
}
/* Zweiter CTA (E-Mail) als ruhiger Ghost-Umriss, damit der Anruf-Button führt. */
.cafe-rih .cr-eventloc-cta__card a.cr-eventloc-cta__mail {
	border-color: var(--cr-hairline);
	color: var(--cr-text-muted);
}
.cafe-rih .cr-eventloc-cta__card a.cr-eventloc-cta__mail:hover,
.cafe-rih .cr-eventloc-cta__card a.cr-eventloc-cta__mail:focus-visible {
	background: var(--cr-teal);
	border-color: var(--cr-teal);
	color: var(--color-base-dark);
}
.cafe-rih .cr-eventloc-cta__note {
	font-family: var(--cr-font-body);
	font-weight: 300;
	font-size: .92rem;
	line-height: 1.6;
	color: var(--cr-text-muted);
	margin: 1.6rem 0 0;
}

/* =========================================================================
   8. Mobil-Feinschliff
   ========================================================================= */

@media (max-width: 540px) {
	.cafe-rih .cr-eventloc-cta__row { flex-direction: column; }
	.cafe-rih .cr-eventloc-cta__row .cr-btn { width: 100%; text-align: center; }
	.cafe-rih .cr-eventloc-niere { opacity: .7; }
}
