/* ==========================================================================
   THG Normalien — Design 2026 (Seiten mit Body-Klasse .thg-modern)
   Tokens, Typografie, Bausteine. Elementor liefert Struktur und Inhalte,
   das Aussehen kommt von hier (ein Designsystem statt 200 Einzelwerte).
   ========================================================================== */
:root {
	--thg-navy: #000080; --thg-navy-deep: #050d3a; --thg-ink: #0b1220;
	--thg-orange: #ff791f; --thg-orange-dark: #e2640c;
	--thg-steel: #f4f6fa; --thg-line: #e3e8f0; --thg-text: #111827; --thg-muted: #5b6577;
	--thg-radius: 20px; --thg-radius-sm: 12px;
	--thg-shadow: 0 10px 30px rgba(11, 18, 32, .06);
	--thg-shadow-hover: 0 24px 48px rgba(11, 18, 32, .12);
	--thg-font-head: 'Manrope', system-ui, sans-serif;
	--thg-font-body: 'Inter', system-ui, sans-serif;
	--thg-max: 1280px;
}

/* --- Grundlagen -------------------------------------------------------- */
body#thg.thg-modern { font-family: var(--thg-font-body); color: var(--thg-text); background: #fff; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
#thg.thg-modern h1, #thg.thg-modern h2, #thg.thg-modern h3, #thg.thg-modern h4,
#thg.thg-modern .elementor-heading-title { font-family: var(--thg-font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--thg-ink); margin: 0; }
#thg.thg-modern p { margin: 0 0 1em; }
#thg.thg-modern a { color: var(--thg-navy); text-decoration: none; }

/* Sektionen: Elementor-Container erhalten nur Klassen, alles Weitere hier */
#thg.thg-modern .m-section.e-con { --content-width: var(--thg-max); --padding: 96px 24px; padding: 96px 24px; }
#thg.thg-modern .m-section.m-tight.e-con { --padding: 56px 24px; padding: 56px 24px; }
#thg.thg-modern .m-section.m-dark.e-con { background: var(--thg-ink); color: #fff; }
#thg.thg-modern .m-section.m-dark .elementor-heading-title, #thg.thg-modern .m-dark h2, #thg.thg-modern .m-dark h3 { color: #fff; }
#thg.thg-modern .m-section.m-steel.e-con { background: var(--thg-steel); }
#thg.thg-modern .m-section.m-navy.e-con { background: linear-gradient(135deg, var(--thg-navy-deep), var(--thg-navy) 70%, #1a2aa8); color: #fff; }
#thg.thg-modern .m-navy .elementor-heading-title, #thg.thg-modern .m-navy h2, #thg.thg-modern .m-navy h3 { color: #fff; }

/* Kopfbereich einer Sektion (Eyebrow + Titel + Subline) */
#thg.thg-modern .m-eyebrow .elementor-heading-title { font-family: var(--thg-font-body); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--thg-orange); margin-bottom: 14px; }
#thg.thg-modern .m-title .elementor-heading-title { font-size: clamp(30px, 3.6vw, 46px); max-width: 18ch; }
#thg.thg-modern .m-title.m-center .elementor-heading-title { margin-inline: auto; text-align: center; }
#thg.thg-modern .m-sub .elementor-widget-container, #thg.thg-modern .m-sub { font-size: 18px; color: var(--thg-muted); max-width: 62ch; margin-top: 16px; }
#thg.thg-modern .m-dark .m-sub, #thg.thg-modern .m-navy .m-sub { color: rgba(255, 255, 255, .72); }
#thg.thg-modern .m-center.m-sub { margin-inline: auto; text-align: center; }
#thg.thg-modern .m-head.e-con { --padding: 0; padding: 0; margin-bottom: 48px; }

/* Buttons */
#thg.thg-modern .m-btn .elementor-button, #thg.thg-modern .m-btn-outline .elementor-button, #thg.thg-modern .m-btn-light .elementor-button {
	font-family: var(--thg-font-body); font-weight: 600; font-size: 15px; letter-spacing: 0; border-radius: 999px; padding: 15px 28px;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
#thg.thg-modern .m-btn .elementor-button { background: var(--thg-orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 121, 31, .28); }
#thg.thg-modern .m-btn .elementor-button:hover { background: var(--thg-orange-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 121, 31, .35); color: #fff; }
#thg.thg-modern .m-btn-outline .elementor-button { background: transparent; color: var(--thg-ink); border: 1.5px solid var(--thg-line); }
#thg.thg-modern .m-btn-outline .elementor-button:hover { border-color: var(--thg-ink); transform: translateY(-2px); }
#thg.thg-modern .m-btn-light .elementor-button { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
#thg.thg-modern .m-btn-light .elementor-button:hover { background: #fff; color: var(--thg-ink); transform: translateY(-2px); }
#thg.thg-modern .m-actions.e-con { --padding: 0; padding: 0; margin-top: 28px; --gap: 12px; gap: 12px; flex-direction: row; flex-wrap: wrap; --flex-direction: row; --flex-wrap: wrap; }

/* --- Hero (Elementor-Pro-Slides) --------------------------------------- */
#thg.thg-modern .m-hero.e-con { --padding: 0; padding: 0; position: relative; }
#thg.thg-modern .m-hero .elementor-widget-slides .swiper-slide-bg { background-size: cover; background-position: center; }
#thg.thg-modern .m-hero .elementor-widget-slides .swiper-slide-inner { background: linear-gradient(90deg, rgba(5, 13, 58, .82) 0%, rgba(5, 13, 58, .55) 45%, rgba(5, 13, 58, .15) 100%); padding: 0 24px; }
#thg.thg-modern .m-hero .elementor-widget-slides .swiper-slide-contents { max-width: var(--thg-max); margin: 0 auto; padding: 0 0 72px; width: 100%; }
#thg.thg-modern .m-hero .elementor-slide-heading { font-family: var(--thg-font-head); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; font-size: clamp(38px, 6vw, 76px); color: #fff; max-width: 14ch; margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
#thg.thg-modern .m-hero .elementor-slide-description { color: rgba(255, 255, 255, .85); font-size: 18px; max-width: 60ch; margin-bottom: 26px; }
#thg.thg-modern .m-hero .thg-slide-badge { display: inline-block; padding: 7px 14px; margin: 0 8px 8px 0; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); }
#thg.thg-modern .m-hero .elementor-slide-button { font-family: var(--thg-font-body); font-weight: 600; font-size: 15px; background: var(--thg-orange); color: #fff; border: 0; border-radius: 999px; padding: 15px 28px; box-shadow: 0 8px 20px rgba(255, 121, 31, .35); transition: transform .2s, background .2s; }
#thg.thg-modern .m-hero .elementor-slide-button:hover { background: var(--thg-orange-dark); transform: translateY(-2px); }
#thg.thg-modern .m-hero .elementor-swiper-button { color: rgba(255, 255, 255, .8); width: 48px; height: 48px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; font-size: 18px; }
#thg.thg-modern .m-hero .swiper-pagination-bullet { width: 28px; height: 4px; border-radius: 2px; background: #fff; opacity: .35; }
#thg.thg-modern .m-hero .swiper-pagination-bullet-active { opacity: 1; background: var(--thg-orange); }
#thg.thg-modern .m-hero .swiper-container-horizontal > .swiper-pagination-bullets, #thg.thg-modern .m-hero .swiper-horizontal > .swiper-pagination-bullets { bottom: 24px; }

/* Kennzahlen-Leiste unter dem Hero */
#thg.thg-modern .m-kpis.e-con { --padding: 0 24px; padding: 0 24px; margin-top: -40px; position: relative; z-index: 3; --content-width: var(--thg-max); }
#thg.thg-modern .m-kpis .m-kpi-grid.e-con { --padding: 8px; padding: 8px; background: #fff; border: 1px solid var(--thg-line); border-radius: var(--thg-radius); box-shadow: var(--thg-shadow); --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; --gap: 0; gap: 0; }
#thg.thg-modern .m-kpi.e-con { --padding: 22px 26px; padding: 22px 26px; --width: 25%; width: 25%; border-right: 1px solid var(--thg-line); }
#thg.thg-modern .m-kpi.e-con:last-child { border-right: 0; }
#thg.thg-modern .m-kpi .elementor-counter-number-wrapper, #thg.thg-modern .m-kpi .m-kpi-value .elementor-heading-title { font-family: var(--thg-font-head); font-weight: 800; font-size: 34px; color: var(--thg-navy); letter-spacing: -0.02em; line-height: 1; }
#thg.thg-modern .m-kpi .m-kpi-label .elementor-heading-title { font-family: var(--thg-font-body); font-weight: 500; font-size: 14px; color: var(--thg-muted); margin-top: 8px; letter-spacing: 0; }

/* --- Kacheln (Produkte, Leistungen) ------------------------------------- */
#thg.thg-modern .m-grid.e-con { --padding: 0; padding: 0; --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; --gap: 24px; gap: 24px; --align-items: stretch; }
#thg.thg-modern .m-grid > .elementor-widget { --width: calc(25% - 18px); width: calc(25% - 18px); }
#thg.thg-modern .m-grid.m-cols-3 > .elementor-widget { --width: calc(33.333% - 16px); width: calc(33.333% - 16px); }
#thg.thg-modern .m-tile .elementor-widget-container { background: #fff; border: 1px solid var(--thg-line); border-radius: var(--thg-radius); overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
#thg.thg-modern .m-tile:hover .elementor-widget-container { transform: translateY(-6px); box-shadow: var(--thg-shadow-hover); border-color: transparent; }
#thg.thg-modern .m-tile .elementor-image-box-wrapper { display: flex; flex-direction: column; height: 100%; }
#thg.thg-modern .m-tile .elementor-image-box-img { width: 100%; margin: 0; background: var(--thg-steel); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#thg.thg-modern .m-tile .elementor-image-box-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
#thg.thg-modern .m-tile.m-contain .elementor-image-box-img img { object-fit: contain; padding: 18px; }
#thg.thg-modern .m-tile:hover .elementor-image-box-img img { transform: scale(1.04); }
#thg.thg-modern .m-tile .elementor-image-box-content { padding: 22px 22px 26px; text-align: left; }
#thg.thg-modern .m-tile .elementor-image-box-title { font-family: var(--thg-font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--thg-ink); margin: 0 0 8px; }
#thg.thg-modern .m-tile .elementor-image-box-title a { color: inherit; }
#thg.thg-modern .m-tile .elementor-image-box-description { font-size: 14.5px; color: var(--thg-muted); line-height: 1.55; }
#thg.thg-modern .m-tile .elementor-image-box-description::after { content: 'Mehr erfahren →'; display: block; margin-top: 14px; font-weight: 600; color: var(--thg-navy); font-size: 14px; }
#thg.thg-modern.thg-en .m-tile .elementor-image-box-description::after { content: 'Learn more →'; }

/* Dunkle Sektion „Warum THG": Icon-Karten */
#thg.thg-modern .m-icon-card .elementor-widget-container { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--thg-radius); padding: 30px; height: 100%; transition: background .25s, transform .25s; }
#thg.thg-modern .m-icon-card:hover .elementor-widget-container { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
#thg.thg-modern .m-icon-card .elementor-icon-box-wrapper { text-align: left; }
#thg.thg-modern .m-icon-card .elementor-icon-box-icon { margin-bottom: 18px; }
#thg.thg-modern .m-icon-card .elementor-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 121, 31, .16); color: var(--thg-orange); align-items: center; justify-content: center; font-size: 24px; }
#thg.thg-modern .m-icon-card .elementor-icon svg { width: 26px; height: 26px; fill: var(--thg-orange); }
#thg.thg-modern .m-icon-card .elementor-icon-box-title { font-family: var(--thg-font-head); font-weight: 700; font-size: 22px; color: #fff; margin: 0 0 8px; }
#thg.thg-modern .m-icon-card .elementor-icon-box-description { color: rgba(255, 255, 255, .72); font-size: 15px; }
#thg.thg-modern .m-photo-card .elementor-widget-container { border-radius: var(--thg-radius); overflow: hidden; }
#thg.thg-modern .m-photo-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; transition: transform .5s ease; }
#thg.thg-modern .m-photo-card:hover img { transform: scale(1.04); }

/* Leistungen: Bild + Text, breite Karten */
#thg.thg-modern .m-service .elementor-widget-container { background: #fff; border-radius: var(--thg-radius); border: 1px solid var(--thg-line); overflow: hidden; height: 100%; transition: transform .25s, box-shadow .25s; }
#thg.thg-modern .m-service:hover .elementor-widget-container { transform: translateY(-6px); box-shadow: var(--thg-shadow-hover); }
#thg.thg-modern .m-service .elementor-image-box-img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
#thg.thg-modern .m-service .elementor-image-box-img img { width: 100%; height: 100%; object-fit: cover; }
#thg.thg-modern .m-service .elementor-image-box-content { padding: 22px 24px 26px; text-align: left; }
#thg.thg-modern .m-service .elementor-image-box-title { font-family: var(--thg-font-head); font-weight: 700; font-size: 20px; color: var(--thg-ink); margin-bottom: 8px; }
#thg.thg-modern .m-service .elementor-image-box-description { color: var(--thg-muted); font-size: 15px; }

/* CTA-Band mit Bild */
#thg.thg-modern .m-cta.e-con { --padding: 0 24px; padding: 0 24px; --content-width: var(--thg-max); }
#thg.thg-modern .m-cta .m-cta-inner.e-con { --padding: 72px 64px; padding: 72px 64px; border-radius: 28px; overflow: hidden; position: relative; background-size: cover; background-position: center; color: #fff; }
#thg.thg-modern .m-cta .m-cta-inner.e-con::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 13, 58, .92) 0%, rgba(0, 0, 128, .78) 55%, rgba(0, 0, 128, .35) 100%); z-index: 0; }
#thg.thg-modern .m-cta .m-cta-inner.e-con > * { position: relative; z-index: 1; }
#thg.thg-modern .m-cta .elementor-heading-title { color: #fff; font-size: clamp(28px, 3vw, 40px); max-width: 24ch; }
#thg.thg-modern .m-cta .m-sub { color: rgba(255, 255, 255, .8); }

/* Aktuelles: Elementor-Pro-Posts (Skin cards) */
#thg.thg-modern .m-posts .elementor-post__card { border-radius: var(--thg-radius); border: 1px solid var(--thg-line); box-shadow: none; transition: transform .25s, box-shadow .25s; }
#thg.thg-modern .m-posts .elementor-post__card:hover { transform: translateY(-6px); box-shadow: var(--thg-shadow-hover); }
#thg.thg-modern .m-posts .elementor-post__thumbnail { aspect-ratio: 16 / 10; }
#thg.thg-modern .m-posts .elementor-post__title, #thg.thg-modern .m-posts .elementor-post__title a { font-family: var(--thg-font-head); font-weight: 700; font-size: 20px; color: var(--thg-ink); letter-spacing: -0.01em; }
#thg.thg-modern .m-posts .elementor-post__excerpt p { color: var(--thg-muted); font-size: 15px; }
#thg.thg-modern .m-posts .elementor-post__meta-data { color: var(--thg-muted); font-size: 13px; }
#thg.thg-modern .m-posts .elementor-post__read-more { color: var(--thg-orange); font-weight: 600; }

/* Kontakt */
#thg.thg-modern .m-contact-card.e-con { --padding: 34px; padding: 34px; background: #fff; border: 1px solid var(--thg-line); border-radius: var(--thg-radius); box-shadow: var(--thg-shadow); }
#thg.thg-modern .m-contact-card .elementor-icon-list-item { padding: 10px 0; border-bottom: 1px solid var(--thg-line); font-size: 16px; }
#thg.thg-modern .m-contact-card .elementor-icon-list-item:last-child { border-bottom: 0; }
#thg.thg-modern .m-contact-card .elementor-icon-list-icon { color: var(--thg-orange); }
#thg.thg-modern .m-contact-card .elementor-icon-list-icon svg { fill: var(--thg-orange); width: 18px; }
#thg.thg-modern .m-contact-card .elementor-icon-list-text { color: var(--thg-text); }
#thg.thg-modern .m-form .wpcf7 label { display: block; font-weight: 600; font-size: 14px; color: var(--thg-text); margin-bottom: 6px; }
#thg.thg-modern .m-form .wpcf7 input[type=text], #thg.thg-modern .m-form .wpcf7 input[type=email], #thg.thg-modern .m-form .wpcf7 input[type=tel], #thg.thg-modern .m-form .wpcf7 textarea {
	width: 100%; border: 1.5px solid var(--thg-line); border-radius: var(--thg-radius-sm); padding: 14px 16px; font-family: var(--thg-font-body); font-size: 15px; background: #fff; transition: border-color .2s, box-shadow .2s; }
#thg.thg-modern .m-form .wpcf7 input:focus, #thg.thg-modern .m-form .wpcf7 textarea:focus { outline: none; border-color: var(--thg-navy); box-shadow: 0 0 0 4px rgba(0, 0, 128, .08); }
#thg.thg-modern .m-form .wpcf7 textarea { min-height: 150px; }
#thg.thg-modern .m-form .wpcf7 p { margin-bottom: 16px; }
#thg.thg-modern .m-form .wpcf7 .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--thg-muted); }
#thg.thg-modern .m-form .wpcf7 input[type=submit] { background: var(--thg-orange) !important; color: #fff !important; border: 0; border-radius: 999px !important; padding: 15px 30px; font-weight: 600; font-family: var(--thg-font-body); cursor: pointer; text-shadow: none; box-shadow: 0 8px 20px rgba(255, 121, 31, .28); transition: transform .2s, background .2s; }
#thg.thg-modern .m-form .wpcf7 input[type=submit]:hover { background: var(--thg-orange-dark) !important; transform: translateY(-2px); }
#thg.thg-modern .m-split.e-con { --flex-direction: row; flex-direction: row; --gap: 40px; gap: 40px; --align-items: flex-start; --padding: 0; padding: 0; }
#thg.thg-modern .m-split > .e-con { --width: calc(50% - 20px); width: calc(50% - 20px); }
#thg.thg-modern .m-split > .m-w40.e-con { --width: calc(40% - 20px); width: calc(40% - 20px); }
#thg.thg-modern .m-split > .m-w60.e-con { --width: calc(60% - 20px); width: calc(60% - 20px); }

/* Logos / Förderung */
#thg.thg-modern .m-logos.e-con { --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; --align-items: center; align-items: center; --justify-content: space-between; justify-content: space-between; --gap: 32px; gap: 32px; --padding: 0; padding: 0; }
#thg.thg-modern .m-logos > .elementor-widget { --width: auto; width: auto; flex: 1 1 160px; max-width: 220px; }
#thg.thg-modern .m-logos img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; margin: 0 auto; display: block; }
#thg.thg-modern .m-logos .elementor-widget:hover img { filter: none; opacity: 1; }
#thg.thg-modern .m-eu.e-con { --flex-direction: row; flex-direction: row; --align-items: center; align-items: center; --gap: 20px; gap: 20px; --padding: 24px; padding: 24px; border: 1px solid var(--thg-line); border-radius: var(--thg-radius); background: var(--thg-steel); margin-top: 40px; }
#thg.thg-modern .m-eu > .elementor-widget-image { --width: 120px; width: 120px; flex: 0 0 120px; }
#thg.thg-modern .m-eu img { max-height: 90px; width: auto; }
#thg.thg-modern .m-eu .m-eu-text { font-size: 14px; color: var(--thg-muted); --width: auto; flex: 1 1 300px; }

/* Elementor-Leerräume neutralisieren, Widgets ohne Zusatzabstand */
#thg.thg-modern .elementor-widget:not(:last-child) { margin-bottom: 0; }
#thg.thg-modern .e-con { --margin: 0; }

/* Einblend-Animation beim Scrollen (js/modern.js setzt .is-in) */
#thg.thg-modern .m-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
#thg.thg-modern .m-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { #thg.thg-modern .m-reveal { opacity: 1; transform: none; transition: none; } }

/* --- Responsiv ---------------------------------------------------------- */
@media (max-width: 1024px) {
	#thg.thg-modern .m-grid > .elementor-widget, #thg.thg-modern .m-grid.m-cols-3 > .elementor-widget { --width: calc(50% - 12px); width: calc(50% - 12px); }
	#thg.thg-modern .m-kpi.e-con { --width: 50%; width: 50%; border-right: 0; border-bottom: 1px solid var(--thg-line); }
	#thg.thg-modern .m-kpi.e-con:nth-child(odd) { border-right: 1px solid var(--thg-line); }
	#thg.thg-modern .m-kpi.e-con:nth-last-child(-n+2) { border-bottom: 0; }
	#thg.thg-modern .m-split.e-con { --flex-direction: column; flex-direction: column; }
	#thg.thg-modern .m-split > .e-con, #thg.thg-modern .m-split > .m-w40.e-con, #thg.thg-modern .m-split > .m-w60.e-con { --width: 100%; width: 100%; }
	#thg.thg-modern .m-cta .m-cta-inner.e-con { --padding: 48px 32px; padding: 48px 32px; }
}
@media (max-width: 640px) {
	#thg.thg-modern .m-section.e-con { --padding: 64px 20px; padding: 64px 20px; }
	#thg.thg-modern .m-grid > .elementor-widget, #thg.thg-modern .m-grid.m-cols-3 > .elementor-widget { --width: 100%; width: 100%; }
	#thg.thg-modern .m-kpi.e-con { --width: 100%; width: 100%; border-right: 0 !important; border-bottom: 1px solid var(--thg-line); }
	#thg.thg-modern .m-kpi.e-con:last-child { border-bottom: 0; }
	#thg.thg-modern .m-hero .elementor-widget-slides .swiper-slide-contents { padding-bottom: 56px; }
	#thg.thg-modern .m-cta .m-cta-inner.e-con { --padding: 40px 24px; padding: 40px 24px; border-radius: 20px; }
	#thg.thg-modern .m-eu.e-con { --flex-direction: column; flex-direction: column; text-align: center; }
}

/* Slider-Feinschliff aus slider.css (weisse Box hinter der Ueberschrift) gilt im Design 2026 nicht. */
#thg.thg-modern .m-hero .elementor-slide-heading { background: none; padding: 0; box-shadow: none; }
#thg.thg-modern .m-hero .elementor-slide-description { background: none; padding: 0; }
#thg.thg-modern .m-contact-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 999px; margin-top: 18px; border: 3px solid var(--thg-steel); }

/* Nachbesserungen nach erstem Screenshot */
#thg.thg-modern .m-eyebrow.m-center .elementor-heading-title { text-align: center; }
#thg.thg-modern .m-service .elementor-image-box-img, #thg.thg-modern .m-tile .elementor-image-box-img { display: block; width: 100%; }
#thg.thg-modern .m-service .elementor-image-box-img img, #thg.thg-modern .m-tile .elementor-image-box-img img { width: 100% !important; max-width: none; }
#thg.thg-modern .m-posts .elementor-posts-container { align-items: start; }
#thg.thg-modern .m-posts .elementor-post__thumbnail img { width: 100%; height: 100%; object-fit: cover; }
#thg.thg-modern .m-posts .elementor-post__thumbnail__link { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
#thg.thg-modern .m-hero .swiper-container-horizontal > .swiper-pagination-bullets, #thg.thg-modern .m-hero .swiper-horizontal > .swiper-pagination-bullets, #thg.thg-modern .m-hero .swiper-pagination { bottom: 66px !important; }
#thg.thg-modern .m-hero .elementor-swiper-button { top: 46%; }

/* Handy: zweispaltige Kacheln, kompaktere Kennzahlen, Slider ohne Pfeile */
@media (max-width: 640px) {
	#thg.thg-modern .m-grid.e-con { --gap: 14px; gap: 14px; }
	#thg.thg-modern .m-grid > .elementor-widget, #thg.thg-modern .m-grid.m-cols-3 > .elementor-widget { --width: calc(50% - 7px); width: calc(50% - 7px); }
	#thg.thg-modern .m-tile .elementor-image-box-content, #thg.thg-modern .m-service .elementor-image-box-content { padding: 14px 14px 18px; }
	#thg.thg-modern .m-tile .elementor-image-box-title, #thg.thg-modern .m-service .elementor-image-box-title { font-size: 15px; }
	#thg.thg-modern .m-tile .elementor-image-box-description, #thg.thg-modern .m-service .elementor-image-box-description { font-size: 12.5px; }
	#thg.thg-modern .m-tile.m-contain .elementor-image-box-img img { padding: 10px; }
	#thg.thg-modern .m-icon-card .elementor-widget-container { padding: 20px; }
	#thg.thg-modern .m-icon-card .elementor-icon-box-title { font-size: 17px; }
	#thg.thg-modern .m-icon-card .elementor-icon-box-description { font-size: 13.5px; }
	#thg.thg-modern .m-kpi.e-con { --width: 50%; width: 50%; --padding: 16px 18px; padding: 16px 18px; border-bottom: 1px solid var(--thg-line); }
	#thg.thg-modern .m-kpi.e-con:nth-child(odd) { border-right: 1px solid var(--thg-line) !important; }
	#thg.thg-modern .m-kpi.e-con:nth-last-child(-n+2) { border-bottom: 0; }
	#thg.thg-modern .m-kpi .m-kpi-value .elementor-heading-title { font-size: 26px; }
	#thg.thg-modern .m-kpi .m-kpi-label .elementor-heading-title { font-size: 12.5px; }
	#thg.thg-modern .m-hero .elementor-swiper-button { display: none; }
	#thg.thg-modern .m-hero .elementor-slide-heading { font-size: 34px; }
	#thg.thg-modern .m-title .elementor-heading-title { font-size: 28px; }
	#thg.thg-modern .m-logos > .elementor-widget { flex: 1 1 40%; max-width: 45%; }
}

/* Elementor haengt an alle Karten ausser der ersten margin-top (Fallback fuer Zeilenabstand) — im Grid falsch. */
#thg.thg-modern .m-posts .elementor-grid-item { margin-top: 0 !important; }
#thg.thg-modern .m-posts .elementor-grid { --grid-row-gap: 24px; --grid-column-gap: 24px; }
#thg.thg-modern .m-logos img { filter: grayscale(1); opacity: .75; }

/* ==========================================================================
   Komposition nach der Industrie-Vorlage (Klassen h-*)
   ========================================================================== */
:root { --thg-dark: #0b1830; --thg-dark-2: #101f3f; }
#thg.thg-modern .h-section.e-con { --content-width: var(--thg-max); --padding: 100px 24px; padding: 100px 24px; position: relative; }
#thg.thg-modern .h-section.h-tight.e-con { --padding: 60px 24px; padding: 60px 24px; }
#thg.thg-modern .h-dark.e-con { background: var(--thg-dark); color: #fff; }
#thg.thg-modern .h-steel.e-con { background: var(--thg-steel); }
#thg.thg-modern .h-split.e-con { --flex-direction: row; flex-direction: row; --align-items: center; align-items: center; --gap: 64px; gap: 64px; --padding: 0; padding: 0; }
#thg.thg-modern .h-split > .e-con { --width: calc(50% - 32px); width: calc(50% - 32px); --padding: 0; padding: 0; }
#thg.thg-modern .h-grid.e-con { --padding: 0; padding: 0; --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; --gap: 24px; gap: 24px; --align-items: stretch; }
#thg.thg-modern .h-grid.h-cols-4 > .elementor-widget { --width: calc(25% - 18px); width: calc(25% - 18px); }
#thg.thg-modern .h-grid.h-cols-3 > .elementor-widget { --width: calc(33.333% - 16px); width: calc(33.333% - 16px); }
#thg.thg-modern .h-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
#thg.thg-modern .h-reveal.is-in { opacity: 1; transform: none; }

/* Typo-Bausteine */
#thg.thg-modern .h-eyebrow .elementor-heading-title { display: inline-block; font-family: var(--thg-font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--thg-orange); background: rgba(255, 121, 31, .1); padding: 7px 12px; border-radius: 4px; margin-bottom: 18px; }
#thg.thg-modern .h-eyebrow-light .elementor-heading-title { background: rgba(255, 255, 255, .1); color: #ffb27a; }
#thg.thg-modern .h-title .elementor-heading-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; max-width: 20ch; }
#thg.thg-modern .h-dark .h-title .elementor-heading-title, #thg.thg-modern .h-head-light .h-title .elementor-heading-title { color: #fff; }
#thg.thg-modern .h-sub { color: var(--thg-muted); font-size: 17px; max-width: 60ch; margin-top: 16px; }
#thg.thg-modern .h-dark .h-sub { color: rgba(255, 255, 255, .72); }
#thg.thg-modern .h-head.e-con { --padding: 0; padding: 0; margin-bottom: 44px; position: relative; }
#thg.thg-modern .h-outline .elementor-heading-title { position: absolute; left: -6px; top: -54px; font-size: 110px; font-weight: 800; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(11, 24, 48, .12); pointer-events: none; user-select: none; z-index: 0; line-height: 1; }
#thg.thg-modern .h-outline { position: absolute; left: 0; top: 0; width: auto; }
#thg.thg-modern .h-head > .elementor-widget:not(.h-outline), #thg.thg-modern .h-about-text > .elementor-widget:not(.h-outline) { position: relative; z-index: 1; }

/* Buttons */
#thg.thg-modern .h-btn .elementor-button, #thg.thg-modern .h-btn-dark .elementor-button { font-family: var(--thg-font-body); font-weight: 700; font-size: 14px; letter-spacing: .02em; border-radius: 6px; padding: 16px 28px; background: var(--thg-orange); color: #fff; box-shadow: 0 10px 24px rgba(255, 121, 31, .3); transition: transform .2s, background .2s; }
#thg.thg-modern .h-btn .elementor-button:hover { background: var(--thg-orange-dark); transform: translateY(-2px); color: #fff; }
#thg.thg-modern .h-btn-dark .elementor-button { background: var(--thg-dark); box-shadow: none; }
#thg.thg-modern .h-btn-dark .elementor-button:hover { background: #000; color: #fff; }

/* Hero */
#thg.thg-modern .h-hero.e-con { --padding: 0; padding: 0; position: relative; background: var(--thg-dark); }
#thg.thg-modern .h-hero .swiper-slide-bg { background-size: cover; background-position: center; }
#thg.thg-modern .h-hero .swiper-slide-inner { background: linear-gradient(90deg, rgba(11, 24, 48, .92) 0%, rgba(11, 24, 48, .7) 40%, rgba(11, 24, 48, .25) 100%); padding: 0 24px; }
#thg.thg-modern .h-hero .swiper-slide-contents { display: flex; flex-direction: column; align-items: flex-start; max-width: var(--thg-max); margin: 0 auto; width: 100%; padding: 60px 0 0; }
#thg.thg-modern .h-hero .elementor-slide-heading { order: 2; font-family: var(--thg-font-head); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; font-size: clamp(36px, 5vw, 66px); color: #fff; max-width: 16ch; margin: 0 0 18px; background: none; padding: 0; }
#thg.thg-modern .h-hero .elementor-slide-description { order: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; background: none; padding: 0; }
#thg.thg-modern .h-hero .h-eyebrow-badge { display: inline-block; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 4px; margin-bottom: 22px; backdrop-filter: blur(6px); }
#thg.thg-modern .h-hero .h-slide-sub { order: 3; color: rgba(255, 255, 255, .8); font-size: 17px; max-width: 56ch; line-height: 1.6; }
#thg.thg-modern .h-hero .elementor-slide-description .h-slide-sub { display: block; }
#thg.thg-modern .h-hero .elementor-slide-button { order: 4; margin-top: 4px; font-family: var(--thg-font-body); font-weight: 700; font-size: 14px; letter-spacing: .02em; background: var(--thg-orange); color: #fff; border: 0; border-radius: 6px; padding: 16px 30px; box-shadow: 0 10px 24px rgba(255, 121, 31, .35); }
#thg.thg-modern .h-hero .elementor-slide-button:hover { background: var(--thg-orange-dark); }
#thg.thg-modern .h-hero .elementor-swiper-button { width: 46px; height: 46px; border-radius: 4px; background: var(--thg-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; opacity: 1; }
#thg.thg-modern .h-hero .elementor-swiper-button-prev { left: auto; right: 24px; top: calc(50% - 52px); }
#thg.thg-modern .h-hero .elementor-swiper-button-next { right: 24px; top: calc(50% + 4px); }
#thg.thg-modern .h-hero .swiper-pagination { display: none; }
#thg.thg-modern .h-watermark { position: absolute; left: 24px; top: 50%; z-index: 2; pointer-events: none; }
#thg.thg-modern .h-watermark .elementor-heading-title { font-size: 120px; font-weight: 800; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); line-height: 1; }
/* Slides-Reihenfolge: Beschreibung enthaelt Badge + Subline; die Subline soll UNTER der Ueberschrift stehen. */
#thg.thg-modern .h-hero .swiper-slide-contents { display: grid; grid-template-areas: 'badge' 'heading' 'sub' 'button'; }
#thg.thg-modern .h-hero .elementor-slide-description { display: contents; }
#thg.thg-modern .h-hero .h-eyebrow-badge { grid-area: badge; justify-self: start; }
#thg.thg-modern .h-hero .elementor-slide-heading { grid-area: heading; }
#thg.thg-modern .h-hero .h-slide-sub { grid-area: sub; margin-bottom: 28px; }
#thg.thg-modern .h-hero .elementor-slide-button { grid-area: button; justify-self: start; }

/* Vorteilsleiste */
#thg.thg-modern .h-strip.e-con { --padding: 0 24px; padding: 0 24px; --content-width: var(--thg-max); margin-top: -1px; }
#thg.thg-modern .h-strip-inner.e-con { --padding: 34px 40px; padding: 34px 40px; background: var(--thg-dark-2); --flex-direction: row; flex-direction: row; --gap: 32px; gap: 32px; clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%); position: relative; z-index: 2; }
#thg.thg-modern .h-strip-item { --width: 33.333%; width: 33.333%; }
#thg.thg-modern .h-strip-item .elementor-icon-box-wrapper { display: flex; gap: 18px; text-align: left; align-items: flex-start; }
#thg.thg-modern .h-strip-item .elementor-icon-box-icon { margin: 0; }
#thg.thg-modern .h-strip-item .elementor-icon { color: var(--thg-orange); font-size: 34px; display: inline-flex; }
#thg.thg-modern .h-strip-item .elementor-icon svg { width: 34px; height: 34px; fill: var(--thg-orange); }
#thg.thg-modern .h-strip-item .elementor-icon-box-title { font-family: var(--thg-font-head); font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 6px; }
#thg.thg-modern .h-strip-item .elementor-icon-box-description { color: rgba(255, 255, 255, .65); font-size: 14px; }

/* Ueber uns */
#thg.thg-modern .h-about-media.e-con { position: relative; min-height: 520px; --padding: 0; padding: 0; }
#thg.thg-modern .h-about-img1 { position: absolute; left: 0; top: 0; width: 72%; }
#thg.thg-modern .h-about-img1 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
#thg.thg-modern .h-about-img2 { position: absolute; right: 0; bottom: 0; width: 58%; }
#thg.thg-modern .h-about-img2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 10px solid #fff; box-shadow: 0 24px 60px rgba(11, 24, 48, .2); display: block; }
#thg.thg-modern .h-about-badge { position: absolute; left: 8%; bottom: 8%; width: 130px; }
#thg.thg-modern .h-rotator { position: relative; width: 130px; height: 130px; }
#thg.thg-modern .h-rotator svg { width: 100%; height: 100%; animation: h-spin 14s linear infinite; }
#thg.thg-modern .h-rotator text { font-family: var(--thg-font-body); font-size: 11px; font-weight: 700; letter-spacing: .18em; fill: var(--thg-ink); }
#thg.thg-modern .h-rotator-core { position: absolute; inset: 34px; border-radius: 999px; background: var(--thg-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--thg-font-head); font-weight: 800; font-size: 16px; box-shadow: 0 10px 24px rgba(255, 121, 31, .35); }
@keyframes h-spin { to { transform: rotate(360deg); } }
#thg.thg-modern .h-about-text.e-con { position: relative; }
#thg.thg-modern .h-years.e-con { --flex-direction: row; flex-direction: row; --align-items: baseline; align-items: baseline; --gap: 12px; gap: 12px; --padding: 0; padding: 0; margin-bottom: 8px; }
#thg.thg-modern .h-years .h-kpi-v, #thg.thg-modern .h-years-n { --width: auto; width: auto; }
#thg.thg-modern .h-years-n .elementor-heading-title { font-size: 64px; font-weight: 800; color: var(--thg-orange); letter-spacing: -0.03em; line-height: 1; }
#thg.thg-modern .h-years-l { --width: auto; width: auto; }
#thg.thg-modern .h-years-l .elementor-heading-title { font-family: var(--thg-font-body); font-weight: 600; font-size: 15px; color: var(--thg-muted); }
#thg.thg-modern .h-about-text .h-outline .elementor-heading-title { top: 40px; }
#thg.thg-modern .h-tabs { margin-top: 24px; }
#thg.thg-modern .h-tabs .elementor-tabs-wrapper { display: flex; gap: 6px; border: 0; }
#thg.thg-modern .h-tabs .elementor-tab-title { border: 1px solid var(--thg-line) !important; border-radius: 6px; padding: 10px 18px; font-family: var(--thg-font-body); font-weight: 600; font-size: 14px; color: var(--thg-muted); background: #fff; cursor: pointer; }
#thg.thg-modern .h-tabs .elementor-tab-title.elementor-active { background: var(--thg-orange); color: #fff; border-color: var(--thg-orange) !important; }
#thg.thg-modern .h-tabs .elementor-tab-content { border: 0; padding: 18px 0 0; color: var(--thg-muted); font-size: 15px; line-height: 1.7; }
#thg.thg-modern .h-tabs .elementor-tab-mobile-title { display: none; }
#thg.thg-modern .h-about-foot.e-con { --flex-direction: row; flex-direction: row; --align-items: center; align-items: center; --gap: 28px; gap: 28px; --padding: 0; padding: 0; margin-top: 28px; }
#thg.thg-modern .h-about-foot > .elementor-widget { --width: auto; width: auto; }
#thg.thg-modern .h-founder .elementor-heading-title { font-family: 'Manrope', cursive; font-weight: 800; font-size: 20px; color: var(--thg-ink); letter-spacing: -0.01em; }
#thg.thg-modern .h-founder .elementor-heading-title span { display: block; font-family: var(--thg-font-body); font-weight: 500; font-size: 13px; color: var(--thg-muted); letter-spacing: 0; margin-top: 2px; }

/* Leistungen (dunkel) */
#thg.thg-modern .h-services.e-con { overflow: hidden; }
#thg.thg-modern .h-services::before { content: ''; position: absolute; right: -10%; top: -20%; width: 55%; height: 140%; background: radial-gradient(circle at 60% 50%, rgba(255, 121, 31, .18), transparent 60%); pointer-events: none; }
#thg.thg-modern .h-numlist { margin-top: 20px; counter-reset: h-num; }
#thg.thg-modern .h-numlist .elementor-icon-list-item { counter-increment: h-num; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 0; }
#thg.thg-modern .h-numlist .elementor-icon-list-item a, #thg.thg-modern .h-numlist .elementor-icon-list-item > span { display: flex; align-items: center; width: 100%; padding: 18px 0; color: #fff; font-family: var(--thg-font-head); font-weight: 700; font-size: 20px; text-decoration: none; transition: color .2s; }
#thg.thg-modern .h-numlist .elementor-icon-list-item a::before { content: counter(h-num, decimal-leading-zero); font-family: var(--thg-font-body); font-weight: 700; font-size: 13px; color: var(--thg-orange); margin-right: 18px; letter-spacing: .05em; }
#thg.thg-modern .h-numlist .elementor-icon-list-item a::after { content: '→'; margin-left: auto; color: rgba(255, 255, 255, .5); transition: transform .2s, color .2s; }
#thg.thg-modern .h-numlist .elementor-icon-list-item a:hover { color: var(--thg-orange); }
#thg.thg-modern .h-numlist .elementor-icon-list-item a:hover::after { transform: translateX(6px); color: var(--thg-orange); }
#thg.thg-modern .h-numlist .elementor-icon-list-icon { display: none; }
#thg.thg-modern .h-numlist .elementor-icon-list-text { flex: 1; }
#thg.thg-modern .h-svc-text .h-btn { margin-top: 28px; }
#thg.thg-modern .h-svc-media.e-con { --align-items: center; align-items: center; --justify-content: center; justify-content: center; }
#thg.thg-modern .h-circle img { width: 480px; height: 480px; max-width: 100%; object-fit: cover; border-radius: 999px; border: 10px solid rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 121, 31, .35), 0 40px 80px rgba(0, 0, 0, .45); display: block; }
#thg.thg-modern .h-circle { position: relative; --width: auto; width: auto; }
#thg.thg-modern .h-circle::after { content: ''; position: absolute; inset: -22px; border-radius: 999px; border: 1px dashed rgba(255, 121, 31, .45); animation: h-spin 40s linear infinite; }

/* Feature-Kacheln */
#thg.thg-modern .h-feature .elementor-widget-container { background: #fff; border-radius: 10px; padding: 28px 28px 26px; height: 100%; border: 1px solid var(--thg-line); transition: transform .25s, box-shadow .25s; }
#thg.thg-modern .h-feature:hover .elementor-widget-container { transform: translateY(-5px); box-shadow: var(--thg-shadow-hover); }
#thg.thg-modern .h-feature .elementor-icon-box-wrapper { display: flex; gap: 18px; text-align: left; align-items: flex-start; }
#thg.thg-modern .h-feature .elementor-icon-box-icon { margin: 0; }
#thg.thg-modern .h-feature .elementor-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 8px; background: rgba(255, 121, 31, .12); color: var(--thg-orange); align-items: center; justify-content: center; font-size: 22px; }
#thg.thg-modern .h-feature .elementor-icon svg { width: 24px; height: 24px; fill: var(--thg-orange); }
#thg.thg-modern .h-feature .elementor-icon-box-title { font-family: var(--thg-font-head); font-weight: 700; font-size: 18px; color: var(--thg-ink); margin: 0 0 6px; }
#thg.thg-modern .h-feature .elementor-icon-box-description { color: var(--thg-muted); font-size: 14.5px; }

/* Projekt-CTA + Kennzahlen */
#thg.thg-modern .h-split-cta.e-con { --align-items: stretch; align-items: stretch; --gap: 24px; gap: 24px; }
#thg.thg-modern .h-split-cta > .e-con { --width: calc(50% - 12px); width: calc(50% - 12px); }
#thg.thg-modern .h-cta-card.e-con { --padding: 56px 48px; padding: 56px 48px; border-radius: 12px; overflow: hidden; position: relative; --justify-content: center; justify-content: center; min-height: 360px; }
#thg.thg-modern .h-cta-card.e-con::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 24, 48, .95) 0%, rgba(11, 24, 48, .75) 60%, rgba(11, 24, 48, .4) 100%); }
#thg.thg-modern .h-cta-card.e-con > * { position: relative; }
#thg.thg-modern .h-cta-card .h-title .elementor-heading-title { color: #fff; font-size: clamp(26px, 2.6vw, 34px); max-width: 18ch; margin-bottom: 26px; }
#thg.thg-modern .h-kpis.e-con { --padding: 32px; padding: 32px; background: var(--thg-dark); border-radius: 12px; --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; --gap: 0; gap: 0; --align-items: stretch; }
#thg.thg-modern .h-kpi.e-con { --width: 50%; width: 50%; --padding: 22px 24px; padding: 22px 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
#thg.thg-modern .h-kpi.e-con:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
#thg.thg-modern .h-kpi.e-con:nth-last-child(-n+2) { border-bottom: 0; }
#thg.thg-modern .h-kpi-v .elementor-heading-title { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
#thg.thg-modern .h-kpi-l .elementor-heading-title { font-family: var(--thg-font-body); font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, .6); margin-top: 8px; }

/* Produktgruppen als Bildraster */
#thg.thg-modern .h-tile .elementor-widget-container { position: relative; border-radius: 10px; overflow: hidden; background: var(--thg-dark); height: 100%; }
#thg.thg-modern .h-tile .elementor-image-box-wrapper { display: block; }
#thg.thg-modern .h-tile .elementor-image-box-img { display: block; width: 100%; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
#thg.thg-modern .h-tile .elementor-image-box-img img { width: 100% !important; max-width: none; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
#thg.thg-modern .h-tile:hover .elementor-image-box-img img { transform: scale(1.06); opacity: .85; }
#thg.thg-modern .h-tile .elementor-image-box-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(180deg, transparent, rgba(11, 24, 48, .92)); text-align: left; }
#thg.thg-modern .h-tile .elementor-image-box-title { font-family: var(--thg-font-head); font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 4px; }
#thg.thg-modern .h-tile .elementor-image-box-title a { color: #fff; }
#thg.thg-modern .h-tile .elementor-image-box-description { color: rgba(255, 255, 255, .75); font-size: 13px; line-height: 1.4; }

/* Aktuelles */
#thg.thg-modern .h-posts .elementor-grid-item { margin-top: 0 !important; }
#thg.thg-modern .h-posts .elementor-grid { --grid-row-gap: 24px; --grid-column-gap: 24px; }
#thg.thg-modern .h-posts .elementor-post__card { border-radius: 10px; border: 1px solid var(--thg-line); box-shadow: none; transition: transform .25s, box-shadow .25s; }
#thg.thg-modern .h-posts .elementor-post__card:hover { transform: translateY(-5px); box-shadow: var(--thg-shadow-hover); }
#thg.thg-modern .h-posts .elementor-post__thumbnail__link { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
#thg.thg-modern .h-posts .elementor-post__thumbnail img { width: 100%; height: 100%; object-fit: cover; }
#thg.thg-modern .h-posts .elementor-post__title, #thg.thg-modern .h-posts .elementor-post__title a { font-family: var(--thg-font-head); font-weight: 700; font-size: 19px; color: var(--thg-ink); }
#thg.thg-modern .h-posts .elementor-post__excerpt p { color: var(--thg-muted); font-size: 14.5px; }
#thg.thg-modern .h-posts .elementor-post__read-more { color: var(--thg-orange); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
#thg.thg-modern .h-posts .elementor-post__meta-data { color: var(--thg-muted); font-size: 13px; }

/* Logos + Band */
#thg.thg-modern .h-logos-sec.e-con { --padding: 20px 24px 60px; padding: 20px 24px 60px; }
#thg.thg-modern .h-logos.e-con { --flex-direction: row; flex-direction: row; --flex-wrap: wrap; flex-wrap: wrap; --align-items: center; align-items: center; --justify-content: space-around; justify-content: space-around; --gap: 32px; gap: 32px; --padding: 32px; padding: 32px; border-top: 1px solid var(--thg-line); border-bottom: 1px solid var(--thg-line); }
#thg.thg-modern .h-logos > .elementor-widget { --width: auto; width: auto; flex: 0 1 200px; }
#thg.thg-modern .h-logos img { max-height: 56px; width: auto; margin: 0 auto; display: block; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
#thg.thg-modern .h-logos .elementor-widget:hover img { filter: none; opacity: 1; }
#thg.thg-modern .h-band.e-con { --padding: 0 24px 80px; padding: 0 24px 80px; --content-width: var(--thg-max); }
#thg.thg-modern .h-band-inner.e-con { --padding: 44px 48px; padding: 44px 48px; background: linear-gradient(100deg, var(--thg-orange), #ff9a4d); border-radius: 12px; --flex-direction: row; flex-direction: row; --align-items: center; align-items: center; --justify-content: space-between; justify-content: space-between; --gap: 24px; gap: 24px; --flex-wrap: wrap; flex-wrap: wrap; }
#thg.thg-modern .h-band-title { --width: auto; width: auto; flex: 1 1 380px; }
#thg.thg-modern .h-band-title .elementor-heading-title { color: #fff; font-size: clamp(22px, 2.4vw, 30px); max-width: 22ch; }
#thg.thg-modern .h-band-actions.e-con { --width: auto; width: auto; --flex-direction: row; flex-direction: row; --align-items: center; align-items: center; --gap: 22px; gap: 22px; --padding: 0; padding: 0; }
#thg.thg-modern .h-band-actions > .elementor-widget { --width: auto; width: auto; }
#thg.thg-modern .h-band-phone .elementor-heading-title, #thg.thg-modern .h-band-phone .elementor-heading-title a { font-family: var(--thg-font-head); font-weight: 800; font-size: 22px; color: #fff; }

/* Responsiv */
@media (max-width: 1024px) {
	#thg.thg-modern .h-split.e-con { --flex-direction: column; flex-direction: column; --gap: 40px; gap: 40px; }
	#thg.thg-modern .h-split > .e-con, #thg.thg-modern .h-split-cta > .e-con { --width: 100%; width: 100%; }
	#thg.thg-modern .h-grid.h-cols-4 > .elementor-widget, #thg.thg-modern .h-grid.h-cols-3 > .elementor-widget { --width: calc(50% - 12px); width: calc(50% - 12px); }
	#thg.thg-modern .h-strip-inner.e-con { --flex-direction: column; flex-direction: column; clip-path: none; --gap: 20px; gap: 20px; }
	#thg.thg-modern .h-strip-item { --width: 100%; width: 100%; }
	#thg.thg-modern .h-about-media.e-con { min-height: 0; padding-bottom: 40px; }
	#thg.thg-modern .h-about-img1, #thg.thg-modern .h-about-img2 { position: relative; width: 100%; }
	#thg.thg-modern .h-about-img2 { margin-top: -60px; width: 70%; margin-left: auto; }
	#thg.thg-modern .h-about-badge { display: none; }
	#thg.thg-modern .h-circle img { width: 360px; height: 360px; }
	#thg.thg-modern .h-outline .elementor-heading-title { font-size: 80px; }
	#thg.thg-modern .h-watermark { display: none; }
}
@media (max-width: 640px) {
	#thg.thg-modern .h-section.e-con { --padding: 64px 20px; padding: 64px 20px; }
	#thg.thg-modern .h-grid.e-con { --gap: 14px; gap: 14px; }
	#thg.thg-modern .h-grid.h-cols-4 > .elementor-widget { --width: calc(50% - 7px); width: calc(50% - 7px); }
	#thg.thg-modern .h-grid.h-cols-3 > .elementor-widget { --width: 100%; width: 100%; }
	#thg.thg-modern .h-tile .elementor-image-box-content { padding: 40px 12px 12px; }
	#thg.thg-modern .h-tile .elementor-image-box-title { font-size: 14px; }
	#thg.thg-modern .h-tile .elementor-image-box-description { display: none; }
	#thg.thg-modern .h-hero .elementor-swiper-button { display: none; }
	#thg.thg-modern .h-hero .elementor-slide-heading { font-size: 34px; }
	#thg.thg-modern .h-hero .swiper-slide-contents { padding-top: 40px; }
	#thg.thg-modern .h-strip.e-con { --padding: 0 20px; padding: 0 20px; }
	#thg.thg-modern .h-strip-inner.e-con { --padding: 24px; padding: 24px; }
	#thg.thg-modern .h-title .elementor-heading-title { font-size: 28px; }
	#thg.thg-modern .h-outline .elementor-heading-title { font-size: 56px; top: -30px; }
	#thg.thg-modern .h-years-n .elementor-heading-title { font-size: 48px; }
	#thg.thg-modern .h-circle img { width: 260px; height: 260px; }
	#thg.thg-modern .h-cta-card.e-con { --padding: 36px 24px; padding: 36px 24px; min-height: 0; }
	#thg.thg-modern .h-kpis.e-con { --padding: 12px; padding: 12px; }
	#thg.thg-modern .h-kpi-v .elementor-heading-title { font-size: 30px; }
	#thg.thg-modern .h-band-inner.e-con { --padding: 28px 22px; padding: 28px 22px; }
	#thg.thg-modern .h-logos > .elementor-widget { flex: 1 1 40%; }
	#thg.thg-modern .h-logos img { max-height: 40px; }
	#thg.thg-modern .h-tabs .elementor-tabs-wrapper { flex-wrap: wrap; }
}

/* Elementor 4 rendert ohne .elementor-widget-container — Kartenoptik daher am Widget selbst. */
#thg.thg-modern .h-feature.elementor-widget { background: #fff; border-radius: 10px; padding: 28px 28px 26px; border: 1px solid var(--thg-line); transition: transform .25s, box-shadow .25s; }
#thg.thg-modern .h-feature.elementor-widget:hover { transform: translateY(-5px); box-shadow: var(--thg-shadow-hover); }
#thg.thg-modern .h-feature .elementor-widget-container { background: none; border: 0; padding: 0; border-radius: 0; box-shadow: none; transform: none; }
#thg.thg-modern .h-tile.elementor-widget { position: relative; border-radius: 10px; overflow: hidden; background: var(--thg-dark); }
#thg.thg-modern .h-strip-item.elementor-widget { --width: 33.333%; width: 33.333%; }
