/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

h3 {
	word-break: break-word;
}


#avia-menu .sub-menu {
  	z-index: 99;
	border: 0px;
}

.av-main-nav > li > ul {
  border: 0px;
}

.av-main-nav ul li a, .av-main-nav ul li:last-child > a {
  border: 0px;
}


/* ==========================================================================
   MWG Corporate Design – Startseite
   CI: Blau #0069b4, Rot #e94343, Navy #0b2a4a
   ========================================================================== */

@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('fonts/Poppins-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
	--mwg-blue: #0069b4;
	--mwg-blue-dark: #005596;
	--mwg-red: #e94343;
	--mwg-navy: #0b2a4a;
	--mwg-ice: #f3f7fb;
}

body, h1, h2, h3, h4, h5, h6,
.av-main-nav > li > a,
.av-special-heading-tag,
.avia-button,
.av_textblock_section {
	font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   Header & Navigation (Layout: Logo links, Menü rechts, Info-Leiste oben)
   ========================================================================== */

/* Info-Leiste oben: Notruf links, Geschäftsstelle rechts */
#top #header_meta { background: var(--mwg-navy) !important; border: 0 !important; min-height: 40px; }
#top #header_meta .container { min-height: 40px; }
#top #header_meta .phone-info { float: none; width: 100%; height: 40px; padding: 0; display: flex; align-items: center; }
#top #header_meta .phone-info > div { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; line-height: 1.4; color: #c9d6e3; }
#top #header_meta .phone-info a { color: #fff !important; font-weight: 600; text-decoration: none; }
#top #header_meta .phone-info a:hover { color: #ffd2d2 !important; }
.mwg-top-emg::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mwg-red); margin-right: 10px; box-shadow: 0 0 0 0 rgba(233, 67, 67, .8); animation: mwg-pulse 1.6s infinite; vertical-align: middle; }

/* Hauptleiste */
#top #header_main { border-bottom: 0 !important; box-shadow: 0 6px 24px rgba(11, 42, 74, .08); }
#top .logo img { padding: 16px 0; max-height: 110px; width: auto; }

#top .av-main-nav > li > a { font-weight: 600 !important; font-size: 15px !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--mwg-navy) !important; padding: 0 14px !important; }
#top .av-main-nav > li > a .avia-menu-text { position: relative; border: 0 !important; padding: 0 !important; }
#top .av-main-nav > li > a .avia-menu-text::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 3px; background: var(--mwg-red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
#top .av-main-nav > li:hover > a .avia-menu-text::after,
#top .av-main-nav > li.current-menu-item > a .avia-menu-text::after,
#top .av-main-nav > li.current_page_item > a .avia-menu-text::after { transform: scaleX(1); }
#top .av-main-nav > li.current-menu-item > a,
#top .av-main-nav > li.current_page_item > a { color: var(--mwg-blue) !important; }
#top .av-main-nav > li > a .avia-menu-fx { display: none; }
#top .av-main-nav > li:not(.av-menu-button):hover > a,
#top .av-main-nav > li:not(.av-menu-button):hover > a .avia-menu-text { color: var(--mwg-red) !important; }

/* Havarie-Button als Pill mit Telefon-Symbol */
#top .av-main-nav > li.av-menu-button > a { padding: 0 0 0 10px !important; }
#top .av-main-nav > li.av-menu-button > a .avia-menu-text { background: var(--mwg-red) !important; color: #fff !important; border-radius: 999px !important; padding: 11px 20px 11px 18px !important; font-size: 14px; letter-spacing: .02em; box-shadow: 0 8px 18px rgba(233, 67, 67, .3); transition: background .2s ease, transform .2s ease; }
#top .av-main-nav > li.av-menu-button > a .avia-menu-text::before { content: '\260E'; margin-right: 8px; font-size: 15px; }
#top .av-main-nav > li.av-menu-button > a .avia-menu-text::after { display: none; }
#top .av-main-nav > li.av-menu-button > a:hover .avia-menu-text { background: #d12f2f !important; transform: translateY(-2px); }

/* Suche */
#top .av-main-nav > li.menu-item-search-dropdown > a { padding: 0 6px 0 16px !important; color: var(--mwg-navy) !important; background: transparent !important; }
#top .av-main-nav > li.menu-item-search-dropdown > a svg,
#top .av-main-nav > li.menu-item-search-dropdown > a svg path { fill: currentColor !important; }
#top .av-main-nav > li.menu-item-search-dropdown > a:hover,
#top .av-main-nav > li.menu-item-search-dropdown > a:focus { color: var(--mwg-red) !important; }
#top .av-main-nav > li.menu-item-search-dropdown > a svg { width: 18px; height: 18px; transition: transform .2s ease; }
#top .av-main-nav > li.menu-item-search-dropdown > a:hover svg { transform: scale(1.15); }

/* Untermenü als Karte */
#top .av-main-nav > li > a, #top .av-main-nav > li:hover > a, #top .av-main-nav > li.av-active-burger-items > a { background: transparent !important; }
#top #avia-menu .sub-menu { margin-top: 0; border: 0 !important; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(11, 42, 74, .15); background: #fff !important; padding: 8px 0; }
#top #avia-menu .sub-menu li, #top #avia-menu .sub-menu li a { background: #fff !important; border: 0 !important; }
#top #avia-menu .sub-menu li a { font-size: 14px; font-weight: 500; color: var(--mwg-navy) !important; padding: 10px 20px; }
#top #avia-menu .sub-menu li a:hover { background: var(--mwg-ice) !important; color: var(--mwg-blue) !important; }

/* Burger-Menü schon unter 1200px, damit Menü und Logo nie kollidieren.
   shortcut: Grenze passt für die aktuellen 8 Menüpunkte, bei mehr Punkten neu messen */
@media only screen and (min-width: 990px) and (max-width: 1199px) {
	.responsive.html_mobile_menu_tablet .av-burger-menu-main { display: block; }
	.responsive #top #wrap_all .av_mobile_menu_tablet .main_menu { top: 0; left: auto; right: 0; display: block; }
	.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item { display: none; }
	.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special { display: block; }
}
@media only screen and (min-width: 1200px) and (max-width: 1339px) {
	#top .av-main-nav > li > a { padding: 0 9px !important; font-size: 14px !important; }
	#top .av-main-nav > li.av-menu-button > a .avia-menu-text { padding: 10px 16px !important; font-size: 13px; }
}
@media only screen and (max-width: 767px) {
	#top #header_meta .phone-info > div { justify-content: center; }
	.mwg-top-office { display: none; }
	#top .logo img { max-height: 80px; padding: 10px 0; }
}

/* Buttons */
.avia-button { border-radius: 999px !important; font-weight: 600; letter-spacing: .02em; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.avia-button:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(11, 42, 74, .25); }

/* Enfold färbt alle Rahmen im Farbset hellgrau ein – CI-Akzentkanten der Karten erzwingen */
#top .mwg-offer, #top .mwg-svc, #top .mwg-card { border-top-style: solid !important; border-top-width: 6px !important; border-top-color: var(--mwg-red) !important; }
#top .mwg-offer-blue, #top .mwg-svc:not(.mwg-svc-red), #top .mwg-card-blue { border-top-color: var(--mwg-blue) !important; }
#top .mwg-svc { border-top-width: 5px !important; }

/* Section-Headings */
.mwg-heading { margin-bottom: 44px !important; }
.mwg-heading .av-subheading { text-transform: uppercase; letter-spacing: .25em; font-weight: 600; color: var(--mwg-red); }
.mwg-heading .av-special-heading-tag { font-weight: 800 !important; text-transform: none !important; letter-spacing: -.01em; color: var(--mwg-navy); font-size: clamp(32px, 4.5vw, 54px) !important; line-height: 1.1; word-break: normal; }
.mwg-contact-cell .mwg-heading .av-special-heading-tag { font-size: clamp(26px, 2.4vw, 34px) !important; }
.mwg-heading .special-heading-border { display: none; }
.mwg-heading-light .av-special-heading-tag { color: #fff !important; }
.mwg-heading-light .av-subheading { color: #ffd2d2 !important; }

/* ---------- Hero ---------- */
.mwg-hero { position: relative; overflow: hidden; }
.mwg-hero .av-section-color-overlay { background-image: linear-gradient(110deg, rgba(11, 42, 74, .92) 0%, rgba(11, 42, 74, .7) 40%, rgba(0, 105, 180, .35) 75%, rgba(233, 67, 67, .25) 100%) !important; background-color: transparent !important; opacity: 1 !important; }
/* Dach aus dem Logo als Deko */
.mwg-hero::after {
	content: ''; position: absolute; right: -6vw; bottom: 8%; z-index: 1;
	width: 46vw; height: 30vw; max-width: 760px; max-height: 500px;
	background: var(--mwg-red); opacity: .18;
	clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
	animation: mwg-float 9s ease-in-out infinite;
	pointer-events: none;
}
.mwg-hero .container { position: relative; z-index: 2; }
.avia-section.mwg-hero .container.av-section-cont-open { padding-bottom: calc(7vw + 30px) !important; }
/* schräge Kante liegt über Deko-Dach und Inhalt */
.mwg-hero .av-extra-border-element { z-index: 3; pointer-events: none; }
@keyframes mwg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }

.mwg-kicker span {
	display: inline-block; padding: 8px 18px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35);
	color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	backdrop-filter: blur(6px);
}
.mwg-rotator { margin: 24px 0 18px; }
.mwg-rotator h1 { font-weight: 800 !important; color: #fff !important; font-size: clamp(40px, 7vw, 104px) !important; line-height: 1.05 !important; letter-spacing: -.02em; }
.avia-button.avia-color-theme-color-highlight,
.avia-button.avia-color-theme-color-highlight .avia_iconbox_title,
.avia-button.avia-color-theme-color-highlight span { color: #fff !important; }
.avia-button.avia-color-theme-color-highlight { background-color: var(--mwg-red) !important; border-color: var(--mwg-red) !important; }
.avia-button.avia-color-theme-color-highlight:hover { background-color: #d12f2f !important; }
.avia-button .avia_button_icon { color: currentColor !important; }
.avia-button .avia_button_icon svg,
.avia-button .avia_button_icon svg path { fill: currentColor !important; }
.avia-button.avia-color-theme-color-highlight .avia_button_icon,
.mwg-hero-buttons .avia-button .avia_button_icon { color: #fff !important; }
.avia-button .avia_button_icon_right { transition: transform .25s ease; }
.avia-button:hover .avia_button_icon_right { transform: translateX(5px); }
.mwg-hero-buttons .avia-button.avia-color-light:hover .avia_button_icon { color: var(--mwg-blue) !important; }
.mwg-rotator .av-rotator-text,
.mwg-rotator .av-rotator-text-single { color: var(--mwg-red) !important; }
.mwg-lead { color: rgba(255, 255, 255, .92); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.6; max-width: 640px; }
.mwg-lead strong { color: #fff; border-bottom: 3px solid var(--mwg-red); }
.mwg-hero-buttons { margin-top: 32px; }
.mwg-hero-buttons .avia-button.avia-color-light { border: 2px solid rgba(255, 255, 255, .8) !important; background: transparent !important; color: #fff !important; }
.mwg-hero-buttons .avia-button.avia-color-light:hover { background: #fff !important; color: var(--mwg-blue) !important; }

.mwg-notruf { margin-top: 36px; }
.mwg-notruf a { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; font-size: 15px; padding: 10px 20px 10px 14px; border-radius: 999px; background: rgba(233, 67, 67, .25); border: 1px solid rgba(233, 67, 67, .7); }
.mwg-notruf a:hover { background: var(--mwg-red); }
.mwg-notruf a strong { color: #fff !important; }
.mwg-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--mwg-red); box-shadow: 0 0 0 0 rgba(233, 67, 67, .8); animation: mwg-pulse 1.6s infinite; }
@keyframes mwg-pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 67, 67, .8); } 70% { box-shadow: 0 0 0 14px rgba(233, 67, 67, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 67, 67, 0); } }

/* ---------- Laufband ---------- */
.mwg-ticker-section, .mwg-ticker-section .container { padding: 0 !important; max-width: none !important; width: 100% !important; }
.mwg-ticker-section .content { padding: 0 !important; }
.mwg-ticker { overflow: hidden; white-space: nowrap; padding: 18px 0; }
.mwg-ticker-track { display: inline-block; animation: mwg-marquee 60s linear infinite; }
.mwg-ticker:hover .mwg-ticker-track { animation-play-state: paused; }
.mwg-ticker-track span { display: inline-block; color: #fff; font-weight: 600; font-size: 18px; padding: 0 28px; }
.mwg-ticker-track span::before { content: '\2302'; margin-right: 28px; opacity: .7; }
@keyframes mwg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Zahlen ---------- */
.mwg-stats { background: #fff url('../../uploads/Haus-Anschnitt-BG.png') no-repeat left bottom / 520px auto; }
.mwg-num .avia-single-number { font-weight: 800 !important; color: var(--mwg-blue) !important; font-size: clamp(44px, 5vw, 72px) !important; line-height: 1; }
.mwg-num .avia-no-number { color: var(--mwg-red) !important; }
.mwg-num .avia-animated-number-content { color: var(--mwg-navy); font-weight: 500; font-size: 16px; margin-top: 10px; }
.mwg-stats .flex_column { border-left: 4px solid var(--mwg-red); padding-left: 24px; }

/* ---------- Angebote ---------- */
.mwg-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(11, 42, 74, .10); padding-bottom: 32px !important; transition: transform .35s ease, box-shadow .35s ease; }
.mwg-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(11, 42, 74, .18); }
.mwg-card-red { border-top: 6px solid var(--mwg-red); }
.mwg-card-blue { border-top: 6px solid var(--mwg-blue); }
.mwg-card-img { margin: 0 !important; }
.mwg-card-img img { width: 100%; height: 300px; object-fit: cover; }
.mwg-card-body, .mwg-card-btn { padding: 0 34px; }
.mwg-card-body { padding-top: 26px; }
.mwg-card-body h3 { font-weight: 800; font-size: 28px; color: var(--mwg-navy); margin: 14px 0 10px; }
.mwg-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mwg-red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mwg-badge-blue { background: var(--mwg-blue); }

/* ---------- Gemeinschaft ---------- */
.mwg-community-img { min-height: 520px; }
.mwg-iconlist .iconlist_title { font-weight: 700 !important; }
.mwg-iconlist .iconlist_icon { box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

/* ---------- Service-Karten (ohne Hover-Abhängigkeit, ganze Karte klickbar) ---------- */
.mwg-svc { position: relative; background: #fff; border-radius: 20px; padding: 34px 26px 30px !important; box-shadow: 0 12px 34px rgba(11, 42, 74, .08); border-top: 5px solid var(--mwg-blue); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.mwg-svc-red { border-top-color: var(--mwg-red); }
.mwg-svc:hover, .mwg-svc:focus-within { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(11, 42, 74, .16); }
.mwg-svc .iconbox { margin: 0; }
.mwg-svc .iconbox_icon { float: none; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #e8f1fa !important; color: var(--mwg-blue) !important; font-size: 30px; margin: 0 auto 16px !important; position: static; }
.mwg-svc-red .iconbox_icon { background: #fdeaea !important; color: var(--mwg-red) !important; }
.mwg-svc .iconbox_icon svg { width: 32px; height: 32px; fill: currentColor; }
.mwg-svc .iconbox_content_title { font-weight: 800 !important; color: var(--mwg-navy) !important; font-size: 20px !important; margin-bottom: 4px; }
.mwg-svc .iconbox_content_container { color: #3a4a5c; font-size: 15px; }
.mwg-svc-sub { display: block; color: var(--mwg-red); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.mwg-svc-link { display: inline-block; margin-top: 16px; padding: 10px 20px; border-radius: 999px; background: var(--mwg-blue); color: #fff !important; font-weight: 600; text-decoration: none !important; }
.mwg-svc-red .mwg-svc-link { background: var(--mwg-red); }
.mwg-svc-link::after { content: ''; position: absolute; inset: 0; border-radius: 20px; } /* ganze Karte klickbar */
/* Grid statt fester 4 Spalten: 4 / 2 / 1 je nach Breite */
.mwg-service .flex_column_table { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
@media only screen and (max-width: 1100px) { .mwg-service .flex_column_table { grid-template-columns: repeat(2, 1fr); } }
@media only screen and (max-width: 560px) { .mwg-service .flex_column_table { grid-template-columns: 1fr; } }
.mwg-service .flex_column_table::before,
.mwg-service .flex_column_table::after,
.mwg-service .av-flex-placeholder { display: none !important; }
.mwg-service .flex_column.mwg-svc { display: block !important; width: auto !important; margin: 0 !important; float: none !important; }
.mwg-svc .iconbox, .mwg-svc .iconbox_content, .mwg-svc article { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.mwg-svc .iconbox_icon, .mwg-svc .iconbox_icon svg, .mwg-svc .iconbox_icon svg path { fill: currentColor !important; }
.mwg-svc .iconbox_content_title { text-transform: none !important; letter-spacing: 0 !important; word-break: normal !important; hyphens: auto; }

/* ---------- Service-Grid (alt) ---------- */
.mwg-icongrid .av-icon-cell-item { border-radius: 20px; overflow: hidden; }
.mwg-icongrid .av-icongrid-front { box-shadow: inset 0 0 0 2px #e3eaf2; border-radius: 20px; }
.mwg-icongrid .av-icongrid-icon { color: var(--mwg-blue); font-size: 54px !important; transition: transform .3s ease; }
.mwg-icongrid .av-icongrid-icon svg { width: 54px; height: 54px; }
.mwg-icongrid .av-icon-cell-item:hover .av-icongrid-icon { transform: scale(1.15) rotate(-6deg); }
.mwg-icongrid .av-icongrid-title { font-weight: 800 !important; }
.mwg-icongrid .av-icongrid-subtitle { text-transform: uppercase; letter-spacing: .12em; font-weight: 600 !important; }
.mwg-icongrid .av-icongrid-flipback { background: linear-gradient(135deg, var(--mwg-blue), var(--mwg-navy)) !important; border-radius: 20px; }

/* ---------- Neuigkeiten ---------- */
.mwg-blog .slide-entry { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 36px rgba(11, 42, 74, .08); padding: 0 0 24px !important; }
.mwg-blog .slide-content { padding: 0 24px; }
.mwg-blog .slide-entry-title { font-weight: 700; color: var(--mwg-navy); font-size: 20px; }
.mwg-blog .slide-image { border-radius: 0 !important; }

/* ---------- Kontakt ---------- */
.mwg-contact-cell { color: #dbe9f6; }
.mwg-contact-cell a { color: #fff !important; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.mwg-hours table { width: 100%; border: 0; background: transparent; margin: 0; }
.mwg-hours tr, .mwg-hours tr:nth-child(odd), .mwg-hours tr:nth-child(even) { background: transparent !important; }
.mwg-hours td { font-size: 15px; }
.mwg-hours td { border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .15) !important; padding: 12px 0 !important; color: #fff; background: transparent !important; }
.mwg-hours td:last-child { text-align: right; font-weight: 600; }
.mwg-emergency-text { text-align: center; color: #fff; }
.mwg-emergency-label { display: block; text-transform: uppercase; letter-spacing: .25em; font-weight: 700; font-size: 14px; }
.mwg-emergency-text a.mwg-emergency-number { display: block; font-weight: 800; font-size: clamp(40px, 4vw, 60px); line-height: 1.05; margin: 14px 0; text-decoration: none; }
.mwg-emergency-sub { display: block; opacity: .9; }

/* ==========================================================================
   Unterseiten / Aktuelles
   ========================================================================== */
.mwg-text { font-size: 17px; line-height: 1.75; color: #3a4a5c; }
.mwg-center { text-align: center; }
.mwg-narrow { max-width: 760px; margin: 0 auto 36px; }
.mwg-small { font-size: 14px; margin-top: 36px; color: #6b7c8f; }

.mwg-subhero-title .av-special-heading-tag { color: #fff !important; font-weight: 800 !important; font-size: clamp(36px, 5.5vw, 76px) !important; line-height: 1.05; text-transform: none !important; letter-spacing: -.02em; }
.mwg-subhero-title .special-heading-border { display: none; }
.mwg-jump { margin-top: 28px; }
.mwg-jump p { display: flex; flex-wrap: wrap; gap: 10px; }
.mwg-jump a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 14px; background: rgba(255, 255, 255, .08); transition: background .2s ease, color .2s ease; }
.mwg-jump a:hover, .mwg-jump a:focus { background: #fff; color: var(--mwg-blue) !important; }

.mwg-magazine-cover img { border-radius: 14px; box-shadow: 0 30px 60px rgba(11, 42, 74, .25); transform: rotate(-3deg); transition: transform .3s ease; }
.mwg-magazine-cover:hover img { transform: rotate(0); }

.mwg-plans-grid > p:empty { display: none; }
.mwg-plans-grid .avia_textblock, .mwg-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mwg-plan { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 28px 26px; color: #dbe9f6; }
.mwg-plan h3 { color: #fff !important; font-weight: 800; font-size: 21px; margin: 8px 0 8px; }
.mwg-plan p { margin: 0; }
.mwg-plan strong { color: #fff; }
.mwg-plan-no { display: inline-block; font-weight: 800; font-size: 15px; color: #fff; background: var(--mwg-red); border-radius: 999px; padding: 4px 12px; }

.mwg-person .mwg-card-img img { height: 380px; object-position: center 25%; }
.mwg-person .mwg-card-body a { color: var(--mwg-blue); font-weight: 600; }

.mwg-toggles { max-width: 900px; margin: 0 auto; }
.mwg-toggles .single_toggle { margin-bottom: 12px; }
.mwg-toggles .toggler { background: #fff !important; border: 0 !important; border-radius: 14px !important; padding: 18px 56px 18px 24px !important; font-weight: 700; font-size: 17px; color: var(--mwg-navy) !important; box-shadow: 0 6px 18px rgba(11, 42, 74, .06); }
.mwg-toggles .toggler.activeTitle { background: var(--mwg-blue) !important; color: #fff !important; border-radius: 14px 14px 0 0 !important; }
.mwg-toggles .toggler .toggle_icon { right: 20px; left: auto; }
.mwg-toggles .toggle_wrap { border: 0 !important; }
.mwg-toggles .toggle_content { background: #fff; border-radius: 0 0 14px 14px; padding: 22px 26px !important; color: #3a4a5c; line-height: 1.7; }
.mwg-toggles .toggle_content ol { margin: 0 0 12px 1.4em; }
.mwg-toggles .toggle_content li { margin-bottom: 8px; }

@media only screen and (max-width: 989px) {
	.mwg-plans-grid .avia_textblock, .mwg-plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 560px) {
	.mwg-plans-grid .avia_textblock, .mwg-plans-grid { grid-template-columns: 1fr; }
	.mwg-person .mwg-card-img img { height: 300px; }
	.mwg-toggles .toggler { font-size: 15px; padding: 16px 48px 16px 18px !important; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.mwg-team-grid .avia_textblock, .mwg-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mwg-team-grid > p:empty, .mwg-team-grid br { display: none; }
.mwg-member { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 34px rgba(11, 42, 74, .08); display: flex; flex-direction: column; }
.mwg-member-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; display: block; }
.mwg-member-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mwg-member-role { color: var(--mwg-red); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.mwg-member h3 { color: var(--mwg-navy) !important; font-weight: 800 !important; font-size: 20px !important; margin: 6px 0 4px; text-transform: none !important; }
.mwg-member h3 small { font-weight: 500; font-size: 13px; color: #6b7c8f; }
.mwg-member-qual { font-size: 13px; color: #6b7c8f; margin: 0 0 14px; line-height: 1.5; }
.mwg-member-link { display: block; font-size: 14px; font-weight: 600; color: var(--mwg-blue) !important; text-decoration: none !important; padding: 3px 0; word-break: break-word; }
.mwg-member-link:first-of-type { margin-top: auto; }

.mwg-emg-grid .avia_textblock, .mwg-emg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mwg-emg-grid > p:empty, .mwg-emg-grid br { display: none; }
.mwg-emergency-section .mwg-heading { margin-bottom: 36px !important; }
#top .mwg-emg { border: 0 !important; background: #d63838; border-radius: 20px; padding: 26px 24px; color: #ffe1e1; display: flex; flex-direction: column; box-shadow: 0 14px 30px rgba(120, 20, 20, .18); transition: transform .25s ease, background .25s ease; }
#top .mwg-emg:hover { transform: translateY(-4px); background: #cc3030; }
.mwg-emg-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .16); margin-bottom: 16px; }
.mwg-emg-icon svg { width: 22px; height: 22px; fill: #fff; }
.mwg-emg-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffc9c9; margin-bottom: 6px; }
#top .mwg-emg h3 { color: #fff !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.35; margin: 0 0 14px; text-transform: none !important; }
/* WordPress (wpautop) wickelt Inline-Elemente in <p>: leere ausblenden, letzte nach unten schieben */
#top .mwg-emg > p:empty { display: none; }
#top .mwg-emg > p:last-child { margin: auto 0 0 !important; }
.mwg-emg-steps { list-style: none; counter-reset: s; margin: 0 0 16px !important; padding: 0; }
.mwg-emg-steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: #fff; font-size: 14px; list-style: none !important; }
.mwg-emg-steps li::before { content: counter(s); flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--mwg-red); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.mwg-emg a.mwg-emg-number { font-weight: 800; line-height: 1.05; text-decoration: none !important; white-space: nowrap; }
.mwg-emg a.mwg-emg-sm { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 24px; color: #fff !important; display: block; }
.mwg-emg-nums { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); display: flex; gap: 10px; }
.mwg-emg-nums a.mwg-emg-sm { margin: 0; padding: 6px 18px; border: 0; background: #fff; color: var(--mwg-red) !important; border-radius: 999px; font-size: 22px; }

/* Haupt-Notruf */
#top .mwg-emg-main { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; background: #fff; color: #3a4a5c; padding: 30px 36px; box-shadow: 0 24px 50px rgba(120, 20, 20, .25); }
#top .mwg-emg-main:hover { transform: none; background: #fff; }
.mwg-emg-main .mwg-emg-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--mwg-red); margin: 0; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(233, 67, 67, .6); animation: mwg-pulse 1.8s infinite; }
.mwg-emg-main .mwg-emg-icon svg { width: 34px; height: 34px; }
.mwg-emg-main-text { flex: 1; }
.mwg-emg-main .mwg-emg-label { color: var(--mwg-red); }
.mwg-emg-main a.mwg-emg-number { display: inline-block; font-size: clamp(38px, 5vw, 64px); color: var(--mwg-navy) !important; }
.mwg-emg-main p { margin: 6px 0 0; color: #6b7c8f; }
.mwg-emg-call { flex-shrink: 0; font-size: 17px; padding: 16px 30px; }

.mwg-form-card { background: #fff; border-radius: 22px; padding: 36px !important; box-shadow: 0 20px 50px rgba(11, 42, 74, .10); }
.mwg-form input[type=text], .mwg-form input[type=email], .mwg-form textarea { border-radius: 12px !important; border: 1px solid #d6e0ea !important; background: #f7fafd !important; padding: 14px 16px !important; font-size: 15px; color: var(--mwg-navy) !important; }
.mwg-form input:focus, .mwg-form textarea:focus { border-color: var(--mwg-blue) !important; background: #fff !important; outline: 2px solid rgba(0, 105, 180, .15); }
.mwg-form label { font-weight: 600; color: var(--mwg-navy); }
.mwg-form .button, .mwg-form input[type=submit] { border-radius: 999px !important; background: var(--mwg-red) !important; border: 0 !important; color: #fff !important; font-weight: 700 !important; padding: 16px 34px !important; width: auto !important; }

.mwg-map-cell { min-height: 460px; }
.mwg-route-btn { margin-top: 20px; }

@media only screen and (max-width: 1100px) {
	.mwg-team-grid .avia_textblock, .mwg-team-grid { grid-template-columns: repeat(3, 1fr); }
	.mwg-emg-grid .avia_textblock, .mwg-emg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 767px) {
	.mwg-team-grid .avia_textblock, .mwg-team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.mwg-member-body { padding: 14px 14px 18px; }
	.mwg-member h3 { font-size: 17px; }
	.mwg-member-link { font-size: 12.5px; }
	.mwg-form-card { padding: 22px !important; }
	.mwg-map-cell { min-height: 280px; }
}
@media only screen and (max-width: 560px) {
	.mwg-emg-grid .avia_textblock, .mwg-emg-grid { grid-template-columns: 1fr; }
	#top .mwg-emg-main { flex-direction: column; text-align: center; padding: 28px 20px; gap: 16px; }
	.mwg-emg-main a.mwg-emg-number { font-size: 34px; }
	.mwg-emg-call { width: 100%; justify-content: center; }
	.mwg-emg a.mwg-emg-sm { font-size: 22px; }
}

/* ==========================================================================
   Wohnungsangebote
   ========================================================================== */
.mwg-pill { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.mwg-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11, 42, 74, .2); }
.mwg-pill-red { background: var(--mwg-red); color: #fff !important; }
.mwg-pill-blue { background: var(--mwg-blue); color: #fff !important; }
.mwg-pill-white { background: #fff; color: var(--mwg-red) !important; }
.mwg-pill-ghost { border: 2px solid rgba(255, 255, 255, .8); color: #fff !important; }
.mwg-pill-ghost:hover { background: #fff; color: var(--mwg-red) !important; }

/* Angebotskarten: [mwg_wohnungen] – Raster passt sich der Anzahl an (3 / 2 / 1 Spalten) */
.mwg-offer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 30px; }
.mwg-offer-count-1 { max-width: 640px; margin: 0 auto; grid-template-columns: 1fr; }
.mwg-offer-count-2, .mwg-offer-count-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.mwg-offer { container-type: inline-size; }
@container (max-width: 470px) {
	.mwg-offer-head { flex-direction: column; gap: 8px; }
	.mwg-offer-head h3 { font-size: 21px !important; }
	.mwg-offer-price { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
	.mwg-offer-price span { white-space: nowrap; }
	.mwg-offer-price strong { font-size: 26px; }
	.mwg-offer-body { padding: 24px 24px 26px; }
	.mwg-offer-img { height: 230px; }
}
.mwg-offer-noimg { height: 300px; background: linear-gradient(135deg, var(--mwg-blue), var(--mwg-navy)); }
.mwg-offer-empty { text-align: center; background: var(--mwg-ice); border-radius: 22px; padding: 40px 24px; }
.mwg-offer-empty h3 { color: var(--mwg-navy) !important; font-weight: 800 !important; }
.mwg-offer-grid > p:empty, .mwg-offer-grid br, .mwg-estate-grid > p:empty, .mwg-estate-grid br { display: none; }
.mwg-offer { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 42, 74, .12); display: flex; flex-direction: column; border-top: 6px solid var(--mwg-red); }
.mwg-offer-blue { border-top-color: var(--mwg-blue); }
.mwg-offer-media { position: relative; }
.mwg-offer-img { width: 100%; height: 300px; object-fit: cover; display: block; }
.mwg-offer-media .mwg-badge { position: absolute; top: 18px; left: 18px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.mwg-offer-plan { position: absolute; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .95); color: var(--mwg-navy) !important; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 999px; text-decoration: none !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.mwg-offer-plan:hover { background: var(--mwg-navy); color: #fff !important; }
.mwg-offer-body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.mwg-offer-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.mwg-offer-head h3 { margin: 0; font-weight: 800 !important; font-size: 24px !important; line-height: 1.25; color: var(--mwg-navy) !important; text-transform: none !important; }
.mwg-offer-price { text-align: right; flex-shrink: 0; }
.mwg-offer-price strong { display: block; font-size: 30px; font-weight: 800; color: var(--mwg-red); line-height: 1; white-space: nowrap; }
.mwg-offer-blue .mwg-offer-price strong { color: var(--mwg-blue); }
.mwg-offer-price span { font-size: 12px; color: #6b7c8f; }
.mwg-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 20px; }
.mwg-facts > div { background: var(--mwg-ice); border-radius: 12px; padding: 12px 14px; }
.mwg-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b7c8f; margin: 0; }
.mwg-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--mwg-navy); font-size: 15px; line-height: 1.35; }
#top .mwg-checks { list-style: none !important; margin: 0 0 16px !important; padding: 0 !important; }
#top .mwg-checks li { list-style: none !important; position: relative; padding-left: 30px; margin: 0 0 10px !important; color: #3a4a5c; line-height: 1.5; }

/* Normale Aufzählungen im Fließtext: runde CI-Punkte statt Browser-Bullets */
#top .avia_textblock ul:not([class]), #top .toggle_content ul:not([class]) { list-style: none !important; margin: 0 0 16px !important; padding: 0 !important; }
#top .avia_textblock ul:not([class]) > li, #top .toggle_content ul:not([class]) > li { list-style: none !important; position: relative; padding-left: 22px; margin: 0 0 8px !important; }
#top .avia_textblock ul:not([class]) > li::before, #top .toggle_content ul:not([class]) > li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--mwg-red); }
#top .avia_textblock ol:not([class]), #top .toggle_content ol { margin-left: 1.3em !important; }
#top .avia_textblock ol:not([class]) > li::marker, #top .toggle_content ol > li::marker { color: var(--mwg-red); font-weight: 700; }
.mwg-checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--mwg-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mwg-offer-red .mwg-checks li::before { background-color: var(--mwg-red); }
.mwg-offer-extra { font-size: 14px; color: #6b7c8f; margin: 0 0 22px; }
.mwg-offer-cta { margin-top: auto; }

.mwg-infobox { margin-top: 40px; }
.mwg-infobox-inner { display: flex; gap: 30px; align-items: center; justify-content: space-between; background: var(--mwg-navy); color: #dbe9f6; border-radius: 22px; padding: 30px 36px; }
.mwg-infobox-inner p { margin: 6px 0 0; }
.mwg-infobox-inner strong { color: #fff; }
.mwg-infobox-label { color: #ffb3b3; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mwg-infobox-cta { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

.mwg-plans-note { color: #cfe3f3 !important; font-size: 14px; margin-top: 30px; }
.mwg-plan a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

/* Wohnungsbestand */
.mwg-estate-grid .avia_textblock, .mwg-estate-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.mwg-estate.mwg-span-2 { grid-column: span 2; }
.mwg-estate.mwg-span-3 { grid-column: span 3; }
.mwg-estate.mwg-span-6 { grid-column: span 6; }
.mwg-estate { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 36px rgba(11, 42, 74, .08); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.mwg-estate:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 42, 74, .14); }
.mwg-estate-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.mwg-estate-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.mwg-estate-tag { align-self: flex-start; background: #e8f1fa; color: var(--mwg-blue); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.mwg-estate h3 { margin: 10px 0 8px; font-weight: 800 !important; font-size: 21px !important; color: var(--mwg-navy) !important; text-transform: none !important; }
.mwg-estate-body > p { color: #3a4a5c; font-size: 15px; line-height: 1.6; }
.mwg-estate .mwg-checks li { font-size: 14px; }
.mwg-estate-price { margin: auto 0 0 !important; padding-top: 14px; border-top: 1px solid #e3eaf2; font-weight: 800; color: var(--mwg-red) !important; }

/* Gästewohnungen */
.mwg-guest-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.mwg-guest-card { background: var(--mwg-ice); border-radius: 22px; padding: 30px !important; }
.mwg-guest-card h3 { font-weight: 800 !important; font-size: 24px !important; color: var(--mwg-navy) !important; margin: 14px 0 10px; text-transform: none !important; }
.mwg-guest-card > p { color: #3a4a5c; line-height: 1.7; }
.mwg-guest-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mwg-guest-gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; }
.mwg-guest-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.mwg-guest-gallery a:hover img { transform: scale(1.08); }

/* Platzhalter, wenn ein Eintrag (noch) kein Bild hat */
.mwg-event-noimg { height: 240px; background: linear-gradient(135deg, var(--mwg-blue), var(--mwg-navy)); }
.mwg-member-noimg { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mwg-blue), var(--mwg-navy)); color: #fff; font-size: 64px; font-weight: 800; }
.mwg-price table { width: 100%; border: 0; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 14px; overflow: hidden; margin: 18px 0 0; }
.mwg-price th { background: var(--mwg-navy) !important; color: #fff !important; text-align: left; font-weight: 700; padding: 12px 16px !important; border: 0 !important; font-size: 13px; letter-spacing: .04em; }
.mwg-price td { padding: 11px 16px !important; border: 0 !important; border-top: 1px solid #e3eaf2 !important; background: #fff !important; color: #3a4a5c; }
.mwg-price td:last-child, .mwg-price th:last-child { text-align: right; font-weight: 700; color: var(--mwg-navy); white-space: nowrap; }
.mwg-price th:last-child { color: #fff !important; }

/* Abschluss-CTA */
.mwg-cta-buttons { text-align: center; }
.mwg-cta-buttons p { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media only screen and (max-width: 1100px) {
	.mwg-estate-grid .avia_textblock, .mwg-estate-grid { grid-template-columns: repeat(2, 1fr); }
	.mwg-estate.mwg-span-2, .mwg-estate.mwg-span-3 { grid-column: span 1; }
	.mwg-estate.mwg-span-6, .mwg-estate:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media only screen and (max-width: 989px) {
	.mwg-offer-grid .avia_textblock, .mwg-offer-grid { grid-template-columns: 1fr; }
	.mwg-infobox-inner { flex-direction: column; align-items: flex-start; }
}
@media only screen and (max-width: 767px) {
	.mwg-estate-grid .avia_textblock, .mwg-estate-grid { grid-template-columns: 1fr; }
	.mwg-estate.mwg-span-2, .mwg-estate.mwg-span-3, .mwg-estate.mwg-span-6, .mwg-estate:last-child:nth-child(odd) { grid-column: auto; }
	.mwg-offer-img { height: 220px; }
	.mwg-offer-body { padding: 22px 20px 24px; }
	.mwg-offer-head { flex-direction: column; gap: 10px; }
	.mwg-offer-price { text-align: left; }
	.mwg-offer-head h3 { font-size: 21px !important; }
	.mwg-facts { grid-template-columns: 1fr 1fr; }
	.mwg-infobox-inner { padding: 24px 20px; }
	.mwg-infobox-cta, .mwg-infobox-cta .mwg-pill { width: 100%; justify-content: center; }
	.mwg-guest-card { padding: 20px !important; margin-bottom: 24px; }
	.mwg-pill { font-size: 14px; }
}

/* ==========================================================================
   Treffpunkt
   ========================================================================== */
.mwg-event-grid > p:empty, .mwg-event-grid br, .mwg-meet-grid > p:empty, .mwg-meet-grid br { display: none; }
.mwg-event-grid .avia_textblock, .mwg-event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.mwg-event { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px rgba(11, 42, 74, .10); transition: transform .3s ease, box-shadow .3s ease; }
.mwg-event:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(11, 42, 74, .16); }
.mwg-event-media { position: relative; }
.mwg-event-media img { width: 100%; height: 240px; object-fit: cover; display: block; }
.mwg-event-date { position: absolute; left: 18px; bottom: -28px; width: 74px; padding: 10px 0 8px; background: var(--mwg-blue); color: #fff; border-radius: 16px; text-align: center; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; line-height: 1.1; box-shadow: 0 10px 22px rgba(0, 105, 180, .35); }
.mwg-event-date b { display: block; font-size: 30px; font-weight: 800; letter-spacing: 0; color: #fff !important; }
.mwg-event-date small { display: block; font-size: 11px; opacity: .8; }
.mwg-event-next .mwg-event-date { background: var(--mwg-red); box-shadow: 0 10px 22px rgba(233, 67, 67, .35); }
.mwg-event-status { position: absolute; top: 16px; right: 16px; background: var(--mwg-red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.mwg-event-status.mwg-event-past { background: rgba(11, 42, 74, .8); }
.mwg-event-body { padding: 44px 26px 26px; }
.mwg-event-meta { display: block; color: var(--mwg-red); font-size: 13px; font-weight: 600; }
.mwg-event h3 { margin: 6px 0 10px; font-weight: 800 !important; font-size: 22px !important; color: var(--mwg-navy) !important; text-transform: none !important; }
.mwg-event-body p { color: #3a4a5c; line-height: 1.65; font-size: 15px; }
.mwg-event details { border-top: 1px solid #e3eaf2; margin-top: 14px; padding-top: 12px; }
.mwg-event summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--mwg-blue); display: inline-flex; align-items: center; gap: 8px; }
.mwg-event summary::-webkit-details-marker { display: none; }
.mwg-event summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.mwg-event details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.mwg-event details[open] summary { margin-bottom: 10px; }
.mwg-event summary:hover { color: var(--mwg-red); }

.mwg-meet-grid .avia_textblock, .mwg-meet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
#top .mwg-meet { background: #fff; border-radius: 22px; padding: 34px; box-shadow: 0 14px 36px rgba(11, 42, 74, .08); border-top: 6px solid var(--mwg-blue) !important; display: flex; flex-direction: column; align-items: flex-start; }
#top .mwg-meet-red { border-top-color: var(--mwg-red) !important; }
.mwg-meet-icon { display: inline-flex; width: 60px; height: 60px; border-radius: 18px; align-items: center; justify-content: center; background: #e8f1fa; margin-bottom: 18px; }
.mwg-meet-red .mwg-meet-icon { background: #fdeaea; }
.mwg-meet-icon svg { width: 28px; height: 28px; fill: var(--mwg-blue); }
.mwg-meet-red .mwg-meet-icon svg { fill: var(--mwg-red); }
.mwg-meet h3 { margin: 0 0 10px; font-weight: 800 !important; font-size: 26px !important; color: var(--mwg-navy) !important; text-transform: none !important; }
.mwg-meet > p { color: #3a4a5c; line-height: 1.7; }
.mwg-meet .mwg-facts { width: 100%; margin: 6px 0 18px; }
.mwg-meet-call { background: var(--mwg-ice); border-radius: 14px; padding: 14px 16px; width: 100%; font-size: 15px; }
.mwg-meet .mwg-pill { margin-top: auto; }

.mwg-referral-prize { margin: 10px 0 26px; }
.mwg-referral-label { display: block; color: #ffb3b3; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mwg-referral-amount { display: block; color: #fff; font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: 1.05; letter-spacing: -.02em; }
.mwg-referral-sub { display: block; color: #c9d6e3; }
.mwg-referral-rules { background: rgba(255, 255, 255, .06); border-radius: 22px; padding: 32px; }
.mwg-referral-rules h3 { color: #fff !important; font-weight: 800 !important; font-size: 22px !important; margin: 0 0 18px; text-transform: none !important; }
#top .mwg-referral-rules .mwg-checks li { color: #dbe9f6; }
.mwg-referral-rules .mwg-checks li::before { background-color: var(--mwg-red); }

@media only screen and (max-width: 1100px) {
	.mwg-event-grid .avia_textblock, .mwg-event-grid { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 767px) {
	.mwg-event-grid .avia_textblock, .mwg-event-grid, .mwg-meet-grid .avia_textblock, .mwg-meet-grid { grid-template-columns: 1fr; }
	#top .mwg-meet { padding: 24px 20px; }
	.mwg-referral-rules { padding: 24px 20px; margin-top: 24px; }
}

/* ---------- Mobil ---------- */
@media only screen and (max-width: 767px) {
	.mwg-hero::after { width: 80vw; height: 50vw; right: -20vw; }
	.mwg-stats .flex_column { margin-bottom: 30px; border-left: 0; padding-left: 0; }
	.mwg-stats { background-size: 260px auto; }
	.mwg-card { margin-bottom: 30px; }
	.mwg-card-img img { height: 220px; }
	.mwg-card-body, .mwg-card-btn { padding: 0 22px; }
	.mwg-community-img { min-height: 280px; }
	.mwg-contact-cell, .mwg-community-text { padding: 40px 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.mwg-hero::after, .mwg-ticker-track, .mwg-pulse { animation: none; }
}
