/* HENI messen-events.css – v1.0.0 – 2026-11-11 20:53 */
/* ** ********************************************************************
   Messen & Events 2027 – Gestaltung
   -----------------------------------------------------------------------
             file : messen-events.css (gehört zu messen-events.html)
      description : Alle Regeln gelten nur innerhalb von #heniEvents.
                    Farben über die Shop-Variablen --color-primary /
                    --color-primary-hover. Schrift und Font Awesome kommen vom Shop.
            bilder: /media/content/messen-events/
   -------------------------------------------------------------------- */

#heniEvents {
	--he-blue: var(--color-primary, #00509f);
	--he-blue-dark: var(--color-primary-hover, #003f7a);
	--he-ink: #111827;
	--he-strong: #0f172a;
	--he-muted: #64748b;
	--he-text-soft: #55636f;
	--he-border: #e5e9f0;
	--he-line: #eef2f7;
	--he-grey: #F3F3F3;
	--he-tint: #f2f6fb;
	--he-tint-icon: #eaf1f9;
	--he-shadow-rest: 0 1px 2px rgba(15, 23, 42, 0.05);
	--he-shadow-hover: 0 18px 38px -14px rgba(0, 80, 159, 0.55);
	background: #fff;
	color: var(--he-ink);
	font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
	font-size: 17px;
	line-height: 1.55;
}
#heniEvents *,
#heniEvents *::before,
#heniEvents *::after {
	box-sizing: border-box;
}
#heniEvents [hidden] {
	display: none !important;
}
#heniEvents h1,
#heniEvents h2,
#heniEvents h3,
#heniEvents p,
#heniEvents ul,
#heniEvents ol {
	margin: 0;
}
#heniEvents h2 {
	font-size: 36px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.6px;
	color: var(--he-strong);
}
#heniEvents h3 {
	margin-bottom: 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 750;
	color: var(--he-strong);
}
#heniEvents img {
	display: block;
	max-width: 100%;
}
#heniEvents a {
	color: inherit;
	text-decoration: none;
}
#heniEvents button {
	font: inherit;
	cursor: pointer;
}
#heniEvents a:focus-visible,
#heniEvents button:focus-visible {
	outline: 3px solid #93c5fd;
	outline-offset: 2px;
}
#heniEvents .he-shell {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 20px;
}
#heniEvents .he-section {
	padding-top: 65px;
	padding-bottom: 68px;
}

/* Überschriften-Band mit schräger rechter Kante (Markenzeichen) */
#heniEvents .he-band {
	display: inline-block;
	margin-bottom: 16px;
	padding: 0.45rem 2rem 0.45rem 1rem;
	background: var(--he-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	clip-path: polygon(0 0, 100% 0, calc(100% - 1rem) 100%, 0 100%);
}
#heniEvents .he-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 30px;
	margin-bottom: 28px;
}
#heniEvents .he-head__intro {
	margin-bottom: 2px;
	font-size: 16px;
	color: var(--he-muted);
}

/* Knöpfe */
#heniEvents .he-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 11px 22px;
	border: 1.5px solid var(--he-blue);
	border-radius: 10px;
	background: var(--he-blue);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#heniEvents .he-btn:hover {
	border-color: var(--he-blue-dark);
	background: var(--he-blue-dark);
	box-shadow: 0 8px 18px -10px rgba(0, 80, 159, 0.7);
}
#heniEvents .he-btn--white {
	border-color: #fff;
	background: #fff;
	color: var(--he-blue);
}
#heniEvents .he-btn--white:hover {
	border-color: #fff;
	background: var(--he-tint-icon);
	box-shadow: none;
	color: var(--he-blue);
}
#heniEvents .he-btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	background: transparent;
	color: #fff;
}
#heniEvents .he-btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
}
#heniEvents .he-textbtn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--he-blue);
	font-size: 15px;
	font-weight: 650;
}
#heniEvents .he-textbtn:hover {
	text-decoration: underline;
}

/* Kopfbild */
#heniEvents .he-hero {
	position: relative;
	min-height: 470px;
	overflow: hidden;
	background: var(--he-blue);
	color: #fff;
}
#heniEvents .he-hero__image {
	position: absolute;
	inset: 0 0 0 42%;
	background: url('/media/content/messen-events/TEXPO-26-119.jpg') 58% 30% / cover no-repeat;
}
#heniEvents .he-hero__image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 63, 122, 0.16), transparent 30%);
}
#heniEvents .he-hero::after {
	content: '';
	position: absolute;
	inset: 0 42% 0 0;
	background: var(--he-blue);
	clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
#heniEvents .he-hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 53px;
	padding-bottom: 42px;
}
#heniEvents .he-hero__copy {
	max-width: 495px;
}
#heniEvents .he-hero__eyebrow {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 2px;
	color: #d7e9fa;
}
#heniEvents .he-hero h1 {
	margin-bottom: 20px;
	font-size: 65px;
	line-height: 1.02;
	letter-spacing: -1.2px;
	font-weight: 850;
	color: #fff;
}
#heniEvents .he-hero__text {
	max-width: 408px;
	margin-bottom: 26px;
	font-size: 19px;
	line-height: 1.6;
	color: #e2edfa;
}
#heniEvents .he-hero__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 31px;
	font-size: 11px;
	letter-spacing: 1.6px;
	color: #d5e5f5;
}
#heniEvents .he-hero__line {
	width: 30px;
	height: 1px;
	background: #9bbcdc;
}
#heniEvents .he-hero__label {
	position: absolute;
	right: 30px;
	bottom: 17px;
	z-index: 2;
	padding: 4px 9px;
	border-radius: 2px;
	background: rgba(16, 43, 67, 0.65);
	color: #fff;
	font-size: 11px;
}

/* Drei Vorteile unter dem Kopfbild */
#heniEvents .he-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding: 31px 0;
	border-bottom: 1px solid var(--he-border);
	list-style: none;
}
#heniEvents .he-benefits li {
	display: flex;
	align-items: center;
	gap: 16px;
}
#heniEvents .he-benefits li + li {
	padding-left: 30px;
	border-left: 1px solid var(--he-border);
}
#heniEvents .he-benefits i {
	flex: none;
	width: 32px;
	font-size: 26px;
	text-align: center;
	color: var(--he-blue);
}
#heniEvents .he-benefits span {
	font-size: 14px;
	color: var(--he-muted);
}
#heniEvents .he-benefits strong {
	display: block;
	font-size: 15px;
	font-weight: 750;
	letter-spacing: 0.25px;
	color: var(--he-blue);
}

/* Kleine Elemente: Etiketten, Ort */
#heniEvents .he-badge {
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--he-blue);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 1px;
}
#heniEvents .he-tag {
	display: inline-block;
	margin-bottom: 13px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--he-tint-icon);
	color: var(--he-blue);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 1px;
}
#heniEvents .he-location {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 10px 0;
	font-size: 15px;
	color: var(--he-muted);
}
#heniEvents .he-location i {
	font-size: 14px;
	color: var(--he-blue);
}

/* Hervorgehobenes Event */
#heniEvents .he-featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	border: 1px solid var(--he-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--he-shadow-rest);
}
#heniEvents .he-featured__image {
	position: relative;
	min-height: 350px;
	background: #168a64; /* Grün des TEXPO-Banners, füllt den Rest der Fläche */
}
#heniEvents .he-featured__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
}
#heniEvents .he-featured__badge {
	position: absolute;
	right: 22px;
	bottom: 22px;
}
#heniEvents .he-featured__date {
	position: absolute;
	left: 22px;
	bottom: 22px;
	min-width: 110px;
	padding: 9px 15px;
	border-bottom: 4px solid var(--he-blue);
	border-radius: 12px;
	background: #fff;
	color: var(--he-blue);
	text-align: center;
	box-shadow: 0 10px 22px -14px rgba(15, 23, 42, 0.35);
}
#heniEvents .he-featured__date strong {
	display: block;
	font-size: 34px;
	line-height: 1.3;
}
#heniEvents .he-featured__date span {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
#heniEvents .he-featured__content {
	padding: 35px 39px;
}
#heniEvents .he-featured h3 {
	font-size: 32px;
}
#heniEvents .he-featured__text {
	margin: 16px 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--he-text-soft);
}
#heniEvents .he-stand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 17px;
	border-top: 1px solid var(--he-border);
	font-size: 14px;
}
#heniEvents .he-stand i {
	color: var(--he-blue);
}
#heniEvents .he-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-top: 22px;
}

/* Eventkalender */
#heniEvents .he-events {
	border-block: 1px solid #e9edf1;
	background: var(--he-grey);
}
#heniEvents .he-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}
#heniEvents .he-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--he-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--he-shadow-rest);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
#heniEvents .he-card:hover {
	transform: translateY(-6px);
	border-color: var(--he-blue);
	box-shadow: var(--he-shadow-hover);
}
#heniEvents .he-card__image {
	position: relative;
	height: 204px;
	overflow: hidden;
	background: #dce4ea;
}
#heniEvents .he-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#heniEvents .he-card__image--forum img {
	object-position: center 18%; /* Schriftzug oben im Bild sichtbar halten */
}
#heniEvents .he-card__image--schadenstage img {
	object-position: right center; /* Logo rechts sichtbar halten */
}
#heniEvents .he-card__image--logo {
	border-bottom: 1px solid var(--he-border);
	background: #fff;
}
#heniEvents .he-card__image--logo img {
	padding: 18px 28px;
	object-fit: contain;
}
#heniEvents .he-card__badge {
	position: absolute;
	top: 15px;
	left: 15px;
	padding: 4px 10px;
	font-size: 10px;
}
#heniEvents .he-card__image--logo .he-card__badge {
	border: 1px solid #dbe3ec;
	background: var(--he-tint);
}
#heniEvents .he-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 23px 24px 0;
}
#heniEvents .he-card__date {
	margin-bottom: 13px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--he-blue);
}
#heniEvents .he-card h3 {
	margin-bottom: 4px;
	font-size: 25px;
}
#heniEvents .he-card__text {
	margin: 9px 0 23px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--he-muted);
}
#heniEvents .he-card__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: auto;
	padding: 17px 0;
	border: 0;
	border-top: 1px solid var(--he-line);
	background: #fff;
	color: var(--he-blue);
	font-size: 15px;
	font-weight: 700;
	text-align: left;
}
#heniEvents .he-card__link:hover {
	color: var(--he-blue-dark);
}

/* Mehr als ein Messebesuch */
#heniEvents .he-visit {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 100px;
	padding-top: 74px;
	padding-bottom: 74px;
}
#heniEvents .he-visit h2 {
	font-size: 39px;
	line-height: 1.15;
}
#heniEvents .he-visit__head > p:not(.he-band) {
	max-width: 365px;
	margin: 20px 0 15px;
	color: var(--he-muted);
}
#heniEvents .he-visit__points {
	padding: 0;
	list-style: none;
}
#heniEvents .he-visit__points li {
	display: flex;
	gap: 23px;
	padding: 19px 0;
	border-bottom: 1px solid var(--he-border);
}
#heniEvents .he-visit__points li:first-child {
	padding-top: 0;
}
#heniEvents .he-visit__points li:last-child {
	border-bottom: 0;
}
#heniEvents .he-visit__number {
	font-size: 30px;
	line-height: 1;
	font-weight: 800;
	color: var(--he-blue);
}
#heniEvents .he-visit__points h3 {
	margin-bottom: 6px;
	font-size: 21px;
}
#heniEvents .he-visit__points p {
	font-size: 15px;
	color: var(--he-muted);
}

/* Kontakt */
#heniEvents .he-contact {
	background: var(--he-blue);
	color: #fff;
}
#heniEvents .he-contact__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 35px;
	padding-top: 38px;
	padding-bottom: 38px;
}
#heniEvents .he-contact__eyebrow {
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 2px;
	color: #d7e9fa;
}
#heniEvents .he-contact h2 {
	font-size: 30px;
	color: #fff;
}
#heniEvents .he-contact p:not(.he-contact__eyebrow) {
	margin-top: 9px;
	color: #e2edfa;
}
#heniEvents .he-contact__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
#heniEvents .he-contact .he-btn {
	white-space: nowrap;
}

/* Detail-Fenster */
#heniEvents .he-dialog {
	width: min(620px, calc(100% - 36px));
	padding: 43px;
	border: 0;
	border-radius: 20px;
	color: var(--he-ink);
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
}
#heniEvents .he-dialog::backdrop {
	background: rgba(8, 20, 38, 0.55);
}
#heniEvents .he-dialog__close {
	position: absolute;
	top: 10px;
	right: 15px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--he-muted);
	font-size: 20px;
	transition: background-color 0.15s ease, transform 0.25s ease;
}
#heniEvents .he-dialog__close:hover {
	background: var(--he-tint);
	color: var(--he-blue);
	transform: rotate(90deg);
}
#heniEvents .he-dialog__eyebrow {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 2px;
	color: var(--he-blue);
}
#heniEvents .he-dialog__title {
	font-size: 33px;
}
#heniEvents .he-dialog__date {
	margin: 12px 0 16px;
	font-size: 18px;
	font-weight: 650;
	color: var(--he-blue);
}
#heniEvents .he-dialog__notice {
	padding: 13px;
	border: 1px solid #cfe0f3;
	border-radius: 12px;
	background: #f2f7fd;
	color: #1e3a5f;
	font-size: 14px;
}
#heniEvents .he-dialog__notice a {
	color: var(--he-blue);
	font-weight: 700;
	text-decoration: underline;
}
#heniEvents .he-dialog__text {
	margin: 16px 0;
}
#heniEvents .he-dialog__info {
	margin-bottom: 23px;
	padding: 19px;
	border-radius: 12px;
	background: var(--he-grey);
	font-size: 15px;
}
#heniEvents .he-dialog__info ul {
	margin-top: 10px;
	padding-left: 20px;
}

/* Meldung nach dem Herunterladen der Kalenderdatei */
#heniEvents .he-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 100;
	width: max-content;
	max-width: 90vw;
	padding: 13px 23px;
	border-radius: 12px;
	background: #0f2a4a;
	color: #fff;
	font-size: 14px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	transform: translateX(-50%);
}

/* Große Bildschirme */
@media (min-width: 1600px) {
	#heniEvents .he-hero { min-height: 500px; }
	#heniEvents .he-hero__inner { padding-top: 66px; }
	#heniEvents .he-hero__copy { max-width: 520px; }
	#heniEvents .he-hero h1 { font-size: 72px; }
}

/* Tablet */
@media (max-width: 1100px) {
	#heniEvents .he-shell { padding-inline: 24px; }
	#heniEvents .he-hero__copy { max-width: 430px; }
	#heniEvents .he-hero h1 { font-size: 59px; }
	#heniEvents .he-hero::after { right: 35%; }
	#heniEvents .he-hero__image { left: 40%; }
	#heniEvents .he-hero__text { max-width: 360px; }
	#heniEvents .he-benefits { gap: 15px; }
	#heniEvents .he-benefits li + li { padding-left: 20px; }
	#heniEvents .he-benefits strong { font-size: 13px; }
	#heniEvents .he-benefits span { font-size: 12px; }
	#heniEvents .he-featured__content { padding: 27px; }
	#heniEvents .he-featured h3 { font-size: 28px; }
	#heniEvents .he-actions { gap: 12px; }
	#heniEvents .he-card__body { padding: 20px 18px 0; }
	#heniEvents .he-card h3 { font-size: 23px; }
	#heniEvents .he-card__date { font-size: 11px; }
	#heniEvents .he-visit { gap: 55px; }
}

/* Handy: Text oben komplett im blauen Bereich, Foto darunter */
@media (max-width: 760px) {
	#heniEvents .he-shell { padding-inline: 18px; }
	#heniEvents h2 { font-size: 29px; }
	#heniEvents .he-band { font-size: 13px; letter-spacing: 0.05em; }
	#heniEvents .he-section { padding-top: 40px; padding-bottom: 40px; }
	#heniEvents .he-head { display: block; margin-bottom: 21px; }
	#heniEvents .he-head__intro { margin-top: 15px; font-size: 14px; }

	#heniEvents .he-hero { min-height: 610px; }
	#heniEvents .he-hero__image { inset: 335px 0 0 0; background-position: 52% 22%; }
	#heniEvents .he-hero::after { inset: 0 0 235px 0; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
	#heniEvents .he-hero__inner { padding-top: 29px; padding-bottom: 35px; }
	#heniEvents .he-hero__copy { max-width: 100%; }
	#heniEvents .he-hero__eyebrow { margin-bottom: 12px; font-size: 10px; }
	#heniEvents .he-hero h1 { margin-bottom: 14px; font-size: 49px; }
	#heniEvents .he-hero__text { max-width: 350px; margin-bottom: 19px; font-size: 16px; line-height: 1.45; }
	#heniEvents .he-hero .he-btn { min-height: 42px; padding: 9px 16px; font-size: 14px; }
	#heniEvents .he-hero__foot { display: none; }
	#heniEvents .he-hero__label { right: 14px; bottom: 10px; font-size: 9px; }

	#heniEvents .he-benefits { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
	#heniEvents .he-benefits li + li { padding-left: 0; border-left: 0; }
	#heniEvents .he-benefits i { font-size: 22px; }

	#heniEvents .he-featured { grid-template-columns: 1fr; }
	#heniEvents .he-featured__image { min-height: 262px; }
	#heniEvents .he-featured__content { padding: 24px; }
	#heniEvents .he-featured h3 { font-size: 27px; }
	#heniEvents .he-featured__text { font-size: 15px; }
	#heniEvents .he-stand { font-size: 13px; }
	#heniEvents .he-featured .he-actions { flex-direction: column; align-items: flex-start; }
	#heniEvents .he-featured .he-btn { width: 100%; justify-content: space-between; }

	#heniEvents .he-grid { grid-template-columns: 1fr; gap: 22px; }
	#heniEvents .he-card__image { height: 220px; }
	#heniEvents .he-card__body { padding: 22px 23px 0; }
	#heniEvents .he-card h3 { font-size: 26px; }
	#heniEvents .he-card__date { font-size: 12px; }

	#heniEvents .he-visit { grid-template-columns: 1fr; gap: 28px; padding-top: 43px; padding-bottom: 43px; }
	#heniEvents .he-visit h2 { font-size: 34px; }
	#heniEvents .he-visit__head > p:not(.he-band) { margin: 14px 0; font-size: 15px; }
	#heniEvents .he-visit__points li { gap: 17px; }
	#heniEvents .he-visit__points h3 { font-size: 20px; }
	#heniEvents .he-visit__points p { font-size: 14px; }

	#heniEvents .he-contact__inner { display: block; padding-top: 32px; padding-bottom: 32px; }
	#heniEvents .he-contact h2 { font-size: 28px; }
	#heniEvents .he-contact__actions { margin-top: 22px; }

	#heniEvents .he-dialog { padding: 35px 24px; }
	#heniEvents .he-dialog__title { font-size: 27px; }
	#heniEvents .he-dialog__date { font-size: 16px; }
	#heniEvents .he-dialog__info { font-size: 14px; }
}

/* Bewegung abgeschaltet: keine Übergänge, kein Anheben */
@media (prefers-reduced-motion: reduce) {
	#heniEvents *,
	#heniEvents *::before,
	#heniEvents *::after {
		transition: none !important;
		animation: none !important;
	}
	#heniEvents .he-card:hover,
	#heniEvents .he-dialog__close:hover {
		transform: none;
	}
}
