/* Skygods: Feinheiten zu den Avada-Elementen (Klassen über das Feld „CSS-Klasse“ gesetzt). Farben: Rot #e80707, Tinte #1b202b. */

/* Das Website-CSS setzt .fusion-text { margin-top: 12% }; hier gilt wieder der Abstand aus dem Avada-Feld */
.fusion-text[class*="ffx-"], [class*="ffx-"] .fusion-text { margin-top: var(--awb-margin-top, 0); }
[class*="ffx-"] .fusion-title h1, [class*="ffx-"] .fusion-title h2, [class*="ffx-"] .fusion-title h3, [class*="ffx-"] .fusion-title h4 { margin: 0; }

/* Kicker mit Strich */
.ffx-kicker p, .ffx-kicker-grau p { display: flex; align-items: center; gap: 10px; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.ffx-kicker p::before { content: ""; width: 28px; height: 2px; background: #e80707; }

/* Hero */
.ffx-held { position: relative; overflow: hidden; }
.ffx-held-titel { letter-spacing: -.01em; }
.ffx-link-leise a { color: #333c4e; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.ffx-held-rechts { position: relative; }
.ffx-held-rechts > .fusion-column-wrapper { padding-top: 300px !important; }
.ffx-collage { position: absolute !important; width: 168px !important; max-width: 40%; border: 5px solid #fff; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); margin: 0 !important; }
.ffx-collage-1 { left: 0; top: 30px; transform: rotate(-5deg); }
.ffx-collage-2 { left: 140px; top: 0; transform: rotate(3deg); z-index: 2; }
.ffx-collage-3 { left: 290px; top: 44px; transform: rotate(-2deg); }
.ffx-zaehler-label p, .ffx-sg-meta p, .ffx-sg-einheit p, .ffx-oc-einheit p { letter-spacing: .1em; text-transform: uppercase; margin: 0; }

/* Filter als Chips */
.ffx-sg-liste .fusion-filters { gap: 8px; margin-bottom: 30px; border: 0; }
.ffx-sg-liste .fusion-filters .fusion-filter a { border: 1px solid #333c4e; border-radius: 99px; padding: 8px 14px !important; line-height: 1; font-weight: 600; }
.ffx-sg-liste .fusion-filters .fusion-active a { background: #1b202b; color: #fff !important; border-color: #1b202b; }

/* Karte */
.ffx-sg { position: relative; cursor: pointer; }
.ffx-sg-bild { position: relative; overflow: hidden; }
.ffx-sg-bild img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ffx-sg:hover .ffx-sg-bild img { transform: scale(1.04); }
.ffx-sg--normal .ffx-sg-bild::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(14,17,24,.82), rgba(14,17,24,0)); pointer-events: none; }
.ffx-sg--normal .ffx-sg-zahl { position: relative; z-index: 2; padding-left: 16px; }
.ffx-sg--normal .ffx-sg-zahl::before { content: ""; position: absolute; left: 0; bottom: 6px; width: 5px; height: 44px; background: #e80707; }
.ffx-sg-neu { position: absolute !important; top: 12px; left: 12px; z-index: 3; }
.ffx-sg-neu p { background: #fff; padding: 6px 8px; margin: 0; letter-spacing: .1em; text-transform: uppercase; }
.ffx-sg-neu:not(:has(p)), .ffx-sg-neu:empty { display: none; }
.ffx-sg-txt p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 10px 0 0; }
.ffx-sg--gross .ffx-sg-txt p { -webkit-line-clamp: 4; }
.ffx-sg--gross > .fusion-column-wrapper > *:not(.fusion-image-element) { padding-left: 22px; padding-right: 22px; }
.ffx-sg-mehr { margin-top: 10px; }
.ffx-sg-mehr.fusion-button, .ffx-sg-mehr .fusion-button { padding-left: 0 !important; padding-right: 0 !important; }
.ffx-sg-mehr .fusion-button-text::after { content: " →"; transition: margin .2s; }
.ffx-sg:hover .ffx-sg-mehr .fusion-button-text::after { margin-left: 4px; }

/* Archiv: Jahre wie Marken auf einem Höhenmesser */
.ffx-jahre .ffx-jahr { border-top: 1px solid rgba(255,255,255,.14); }
.ffx-jahre .ffx-jahr > .fusion-column-wrapper { flex-direction: row !important; align-items: center; justify-content: space-between; }
.ffx-jahre .ffx-jahr > .fusion-column-wrapper::after { content: "›"; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; font-size: 20px; transition: background .2s, border-color .2s; }
.ffx-jahre .ffx-jahr:hover > .fusion-column-wrapper::after { background: #e80707; border-color: #e80707; }
.ffx-jahre .ffx-jahr:hover .ffx-jahr-zahl * { color: #e80707 !important; }
.ffx-jahre .ffx-jahr .fusion-title, .ffx-jahr-anzahl { width: auto !important; flex: 0 0 auto; }
.ffx-jahr-anzahl { margin-left: auto !important; margin-right: 24px; text-align: right; letter-spacing: .04em; }

/* Karte offen (Off-Canvas) */
.ffx-oc-bild, .ffx-oc-links .fusion-column-wrapper { height: 100%; }
.ffx-oc-text { max-height: 300px; overflow: auto; padding-right: 10px; color: #4b535e; font-size: 15.5px; line-height: 1.75; }
.ffx-oc-gruss { border-top: 2px solid #1b202b; padding-top: 18px; margin-top: 24px; }

/* Mobil */
@media (max-width: 800px) {
	.ffx-held, .ffx-ausgabe, .ffx-archiv, .ffx-melden { padding-left: 20px !important; padding-right: 20px !important; }
	.ffx-held-titel { font-size: 92px !important; }
	.ffx-held-rechts > .fusion-column-wrapper { padding-top: 0 !important; }
	.ffx-collage { display: none !important; }
	.ffx-sg--normal .ffx-sg-zahl { font-size: 46px !important; }
	.ffx-sg-meta { display: none; }
	.ffx-sg-txt p { -webkit-line-clamp: 2; }
	.fusion-post-cards.ffx-sg-liste .fusion-filters { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; justify-content: flex-start !important; padding-bottom: 4px; }
	.fusion-post-cards.ffx-sg-liste .fusion-filters .fusion-filter { display: block !important; width: auto !important; flex: 0 0 auto; margin: 0 !important; }
	.ffx-sg-liste .fusion-filters .fusion-filter a { white-space: nowrap; }
	.ffx-sg--normal .ffx-sg-zahl { margin-top: -50px !important; }
	.ffx-sg--normal .ffx-sg-zahl::before { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .ffx-sg-bild img { transition: none; } }

/* Display-Schrift, im Plugin ausgeliefert (SIL Open Font License), kein Abruf bei Google */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/big-shoulders-display-900.woff2") format("woff2"); }

/* Skygod melden: drei Schritte und Live-Karte */
.ffx-mf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.ffx-mf form { margin: 0; }
.ffx-mf-schritt { border: 0; border-top: 1px solid #e4e0d8; margin: 0; padding: 28px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ffx-mf-schritt legend { float: left; width: 100%; grid-column: 1 / -1; display: flex; gap: 16px; align-items: baseline; font: 700 20px/1.2 "Roboto Slab", Georgia, serif; color: #1b202b; margin: 0 0 2px; padding: 0; }
.ffx-mf-schritt legend span { font: 900 44px/.8 "Big Shoulders Display", Impact, sans-serif; color: #e80707; }
.ffx-mf-schritt p { margin: 0; }
.ffx-mf-voll, .ffx-mf-hinweis { grid-column: 1 / -1; }
.ffx-mf-hinweis { font-size: 13px; color: #6f7782; margin: -6px 0 6px !important; }
.ffx-mf label { display: flex; flex-direction: column; gap: 6px; font: 700 11px/1.3 "Open Sans", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #333c4e; }
.ffx-mf input[type=text], .ffx-mf input[type=number], .ffx-mf input[type=date], .ffx-mf input[type=email], .ffx-mf textarea { font: 400 16px/1.4 "Open Sans", Arial, sans-serif; letter-spacing: 0; text-transform: none; color: #1b202b; background: #fff; border: 1px solid #d6d1c6; border-radius: 2px; padding: 13px 14px; width: 100%; box-sizing: border-box; }
.ffx-mf input:focus, .ffx-mf textarea:focus { outline: 0; border-color: #1b202b; box-shadow: 0 0 0 3px rgba(232, 7, 7, .14); }
.ffx-mf .ffx-mf-zahl { font: 900 34px/1 "Big Shoulders Display", Impact, sans-serif; padding: 8px 14px; }
.ffx-mf-foto { display: grid !important; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; border: 1.5px dashed #b9b2a4; background: #fbfaf7; padding: 18px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: 13px !important; color: #6f7782 !important; }
.ffx-mf-foto b { font-size: 15px; color: #1b202b; }
.ffx-mf-foto input { grid-column: 1 / -1; font-size: 13px; }
.ffx-mf-foto-vorschau { aspect-ratio: 1; background: #e7e2d8 center / cover; }
.ffx-mf-haken label { flex-direction: row; align-items: flex-start; gap: 12px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13.5px; line-height: 1.5; }
.ffx-mf-haken input { width: 20px; height: 20px; accent-color: #e80707; flex: none; margin-top: 1px; }
.ffx-mf-senden { display: flex; align-items: center; gap: 22px; margin-top: 10px !important; }
.ffx-mf-senden button { background: #e80707; color: #fff; border: 0; border-radius: 2px; padding: 17px 26px; font: 700 13px/1 "Open Sans", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ffx-mf-senden button:hover { background: #b80505; }
.ffx-mf-senden small { font-size: 12.5px; color: #6f7782; max-width: 36ch; }
.ffx-mf-live { position: sticky; top: 120px; }
.ffx-mf-live-titel { font: 700 11px/1 "Open Sans", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #6f7782; margin: 28px 0 14px; display: flex; align-items: center; gap: 8px; }
.ffx-mf-live-titel::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e80707; }
.ffx-mf-karte { max-width: 320px; }
.ffx-mf-karte-bild { position: relative; aspect-ratio: 1; background: #cfc9bd center / cover; }
.ffx-mf-karte-bild::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(14,17,24,.82), rgba(14,17,24,0)); }
.ffx-mf-karte-neu { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; color: #1b202b; font: 700 10px/1 "Open Sans", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; }
.ffx-mf-karte-zahl { position: absolute; left: 16px; bottom: 10px; z-index: 2; padding-left: 14px; color: #fff; font: 900 62px/.85 "Big Shoulders Display", Impact, sans-serif; border-left: 5px solid #e80707; }
.ffx-mf-karte-name { font: 700 14px/1.3 "Open Sans", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #1b202b; margin: 16px 0 0; }
.ffx-mf-karte-meta { font: 600 11px/1.4 "Open Sans", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6f7782; margin: 6px 0 0; }
.ffx-mf-karte-text { font-size: 14px; line-height: 1.6; color: #59616c; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ffx-mf-live-notiz { margin-top: 22px; font-size: 13px; color: #6f7782; max-width: 34ch; border-left: 2px solid #e4e0d8; padding-left: 14px; }
@media (max-width: 900px) { .ffx-mf { grid-template-columns: 1fr; gap: 24px; } .ffx-mf-live { position: static; order: -1; } .ffx-mf-schritt { grid-template-columns: 1fr; } }
