/*
Theme Name: Hello Elementor Child
Desctiption: Mein individuelles Child-Theme für Hello Elementor
Author: Wladislaw Karat (reinstil)
Template: hello-elementor
Version: 1.0.0
*/

/**/
/* Hero mit Baum auf Angebote (1fb5103) und Veranstaltungen (a254476): Baum ragt sonst rechts heraus,
   die Seite scrollt horizontal. Die Startseite hat dafür Overflow: Hidden in Elementor. */
.elementor-element-1fb5103,
.elementor-element-a254476 {
    overflow: hidden;
}

/* Footer mobil (Theme-Builder-Footer 153): Links der Copyright-Leiste (7a3fb38) mittig in einer Zeile,
   sonst rutscht „Verfassung“ aus der Leiste. */
@media (max-width: 767px) {
    /* Die Leiste ragt mobil unter den dunklen Hintergrund der Sektion darüber (1443b941) hinaus. */
    .elementor-153 .elementor-element-5b2350b4 {
        background-color: #3e3b3f;
    }
    .elementor-153 .elementor-element-7a3fb38 .elementor-nav-menu--main .elementor-nav-menu {
        justify-content: center;
        flex-wrap: nowrap;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .elementor-153 .elementor-element-7a3fb38 .elementor-nav-menu--main .elementor-nav-menu > li {
        margin: 0;
    }
    .elementor-153 .elementor-element.elementor-element-7a3fb38 .elementor-nav-menu--main .elementor-nav-menu .elementor-item {
        padding-left: 5px;
        padding-right: 5px;
        font-size: 13px;
    }
}

/* Gedanken- und Glaubensspektrum: Zitatboxen in der Seitenspalte */
.fgmz-zitatbox {
    padding: 28px 28px 12px;
    background: #FFFFFF;
    border: 2px solid var(--e-global-color-ba4cf49, #DEE0E3);
    font-style: italic;
}
.fgmz-zitatbox strong {
    font-style: normal;
    color: var(--e-global-color-primary, #3E3B3F);
}

/* Skala: Linie mit fünf Punkten, darunter Agnostizismus und die Klammer „Theismus“ */
.fgmz-spektrum-skala {
    margin: 24px 0 0;
    font-family: var(--e-global-typography-text-font-family, "DM Sans"), sans-serif;
}
.fgmz-skala-linie {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}
.fgmz-skala-linie::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 7px;
    height: 2px;
    background: var(--e-global-color-primary, #3E3B3F);
}
.fgmz-skala-linie li {
    position: relative;
    padding-bottom: 32px;
    text-align: center;
    font-weight: 700;
    color: #1F5A7A;
}
.fgmz-skala-linie li::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    background: #1F5A7A;
}
.fgmz-skala-zusatz {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 28px;
    align-items: center;
}
.fgmz-skala-agnostisch {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 4%;
}
.fgmz-skala-frage {
    font-family: var(--e-global-typography-primary-font-family, "Forum"), serif;
    font-size: 44px;
    line-height: 1;
    font-weight: 700;
    color: var(--e-global-color-primary, #3E3B3F);
}
.fgmz-skala-klammer {
    grid-column: 3 / 5;
    margin: 0 8%;
    padding: 14px;
    border: 2px dashed var(--e-global-color-text, #5D5454);
    text-align: center;
}

@media (max-width: 767px) {
    /* Skala senkrecht */
    .fgmz-skala-linie {
        grid-template-columns: 1fr;
        padding-left: 36px;
    }
    .fgmz-skala-linie::before {
        left: 7px;
        right: auto;
        top: 12px;
        bottom: 12px;
        width: 2px;
        height: auto;
    }
    .fgmz-skala-linie li {
        padding: 8px 0;
        text-align: left;
    }
    .fgmz-skala-linie li::after {
        left: -36px;
        top: 50%;
        bottom: auto;
        margin: -8px 0 0;
    }
    .fgmz-skala-zusatz {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fgmz-skala-agnostisch,
    .fgmz-skala-klammer {
        grid-column: auto;
        margin: 0;
        padding-left: 0;
    }
    .fgmz-skala-klammer {
        padding: 12px;
    }
}

/* Kontakt „So finden Sie uns“ (ops/content/32-anfahrt-bilder.php): Foto und Karte gleich groß (4:3),
   Bildunterschrift darunter, auf der Karte ein Hinweis zum Öffnen in Google Maps. */
.fgmz-anfahrt-bild figure {
    margin: 0;
}
.fgmz-anfahrt-bild a {
    position: relative;
    display: block;
    overflow: hidden;
}
.fgmz-anfahrt-bild img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    transition: transform .4s ease;
}
.fgmz-anfahrt-karte a:hover img,
.fgmz-anfahrt-karte a:focus-visible img {
    transform: scale(1.03);
}
.fgmz-anfahrt-karte a::after {
    content: "In Google Maps öffnen \2197";
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    background: var(--e-global-color-accent);
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.fgmz-anfahrt-bild .widget-image-caption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}
@media (max-width: 767px) {
    .fgmz-anfahrt-karte a::after {
        left: 12px;
        bottom: 12px;
        font-size: 14px;
    }
}
.fgmz-zitatbox.fgmz-bankverbindung {
    font-style: normal;
}

/* Startseite: Gedicht „Es ist ein Weg“ */
.fgmz-gedicht {
    margin: 0;
    text-align: center;
    font-family: var(--e-global-typography-primary-font-family, "Forum"), serif;
    font-size: 21px;
    line-height: 1.6;
    color: var(--e-global-color-primary, #3E3B3F);
}
.fgmz-gedicht-titel {
    margin: 0 0 36px;
    font-family: inherit;
    font-size: 40px;
    font-weight: 500;
    color: var(--e-global-color-accent, #4E830E);
}
.fgmz-gedicht p {
    margin: 0 0 1.4em;
}
.fgmz-gedicht-schluss {
    font-size: 1.3em;
    color: var(--e-global-color-accent, #4E830E);
}
.fgmz-gedicht figcaption {
    margin-top: 8px;
    font-family: var(--e-global-typography-text-font-family, "DM Sans"), sans-serif;
    font-size: 15px;
    font-style: italic;
    color: var(--e-global-color-text, #5D5454);
}
/* Logo mit Gegenständen nach „das Leben.“ (ops/content/26-logos.php) */
.fgmz-gedicht-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: 0.4em auto 1.2em;
}
@media (max-width: 767px) {
    .fgmz-gedicht {
        font-size: 18px;
    }
    .fgmz-gedicht-titel {
        font-size: 32px;
    }
    .fgmz-gedicht-logo {
        width: 120px;
    }
}

/* Glaubensspektrum: Malpalette mit Erläuterungen (ops/content/15-spektrum-palette-titel.php) */
@font-face {
    font-family: "Permanent Marker";
    src: url("fonts/permanent-marker-latin-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
.fgmz-palette {
    margin: 32px 0 48px;
    font-family: var(--e-global-typography-text-font-family, "DM Sans"), sans-serif;
}
/* Titel über der Palette, leicht gewölbt, in Pinsel-Optik */
.fgmz-palette-ueberschrift {
    margin: 0 0 8px;
}
.fgmz-palette-titel {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    font-family: "Permanent Marker", cursive;
    font-size: 38px;
    fill: var(--e-global-color-cfe3890, #274308);
}
.fgmz-palette-titel-schmal {
    display: none;
    font-size: 46px;
}
.fgmz-malpalette-figur {
    margin: 0;
    text-align: center;
}
.fgmz-malpalette {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0 auto;
}
.fgmz-malpalette-figur figcaption {
    margin-top: 8px;
    font-size: 14px;
    font-style: italic;
}
.fgmz-klecks-name {
    font-family: var(--e-global-typography-text-font-family, "DM Sans"), sans-serif;
    font-size: 15px;
    font-weight: 600;
    fill: var(--e-global-color-primary, #3E3B3F);
}
.fgmz-klecks-frage {
    font-family: var(--e-global-typography-primary-font-family, "Forum"), serif;
    font-size: 40px;
    font-weight: 700;
    fill: #FFFFFF;
}
.fgmz-klecks-farbe {
    transition: transform .2s ease, opacity .2s ease;
    transform-box: fill-box;
    transform-origin: center;
}
.fgmz-malpalette[data-aktiv] .fgmz-klecks {
    opacity: .35;
    transition: opacity .2s ease;
}
.fgmz-malpalette[data-aktiv="atheismus"] [data-farbe="atheismus"],
.fgmz-malpalette[data-aktiv="pantheismus"] [data-farbe="pantheismus"],
.fgmz-malpalette[data-aktiv="monotheismus"] [data-farbe="monotheismus"],
.fgmz-malpalette[data-aktiv="polytheismus"] [data-farbe="polytheismus"],
.fgmz-malpalette[data-aktiv="animalismus"] [data-farbe="animalismus"],
.fgmz-malpalette[data-aktiv="agnostizismus"] [data-farbe="agnostizismus"],
.fgmz-malpalette[data-aktiv="mischfarben"] [data-farbe="mischfarben"] {
    opacity: 1;
}
.fgmz-klecks:hover .fgmz-klecks-farbe {
    transform: scale(1.08);
}

/* Palette links, Erläuterungen rechts */
.fgmz-palette-mit-text {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.fgmz-palette-liste {
    margin: 0;
    padding: 0;
    list-style: none;
}
.fgmz-palette-liste li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 10px 12px;
    border-left: 3px solid transparent;
    font-size: 15px;
    line-height: 1.55;
    cursor: default;
    transition: background-color .2s ease, border-color .2s ease;
}
.fgmz-palette-liste li.ist-aktiv,
.fgmz-palette-liste li:focus {
    background: #FFFFFF;
    border-left-color: var(--e-global-color-accent, #4E830E);
    outline: none;
}
.fgmz-palette-liste strong {
    color: var(--e-global-color-primary, #3E3B3F);
}
.fgmz-palette-punkt {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    border-radius: 50%;
}
@media (max-width: 1024px) {
    .fgmz-palette-mit-text {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 767px) {
    /* Das SVG wird auf etwa 330 px verkleinert, die Beschriftung braucht deshalb größere Werte */
    .fgmz-klecks-name {
        font-size: 20px;
    }
    .fgmz-palette-titel-breit {
        display: none;
    }
    .fgmz-palette-titel-schmal {
        display: block;
    }
}

/* Baum-Blätter (js/baum-blaetter.js): Ebene über dem Fenster, fängt keine Klicks ab */
.fgmz-baum-blaetter {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9990;
}

.fgmz-baum-zeiger {
	cursor: pointer;
}

/* Seitenrand: Mindestabstand der äußeren Container zum Bildschirmrand. Ältere Container haben 0 bis 12 px,
   und zwischen 1025 und 1259 px stößt der 1200-px-Inhalt an den Rand. Größere Werte aus Elementor bleiben,
   max() hebt nur zu kleine an. Header und Footer sind nicht betroffen.
   Ausnahme: Über uns beginnt mit einem randlosen Block (Video 9ad31cc, Verlauf, Baum 0263a48). Er bleibt
   randlos, nur die Überschrift „Über uns“ (66ba787) rückt ein. */
@media (max-width: 1259px) {
    [data-elementor-type="wp-page"] > .e-con.e-parent:not(.elementor-element-9ad31cc):not(.elementor-element-0263a48),
    [data-elementor-type="wp-post"] > .e-con.e-parent {
        padding-inline-start: max(var(--padding-inline-start), 30px);
        padding-inline-end: max(var(--padding-inline-end), 30px);
    }
    .elementor-element-9ad31cc > .e-con-inner > .elementor-element-66ba787 {
        padding-inline: 30px;
    }
}
@media (max-width: 767px) {
    [data-elementor-type="wp-page"] > .e-con.e-parent:not(.elementor-element-9ad31cc):not(.elementor-element-0263a48),
    [data-elementor-type="wp-post"] > .e-con.e-parent {
        padding-inline-start: max(var(--padding-inline-start), 20px);
        padding-inline-end: max(var(--padding-inline-end), 20px);
    }
    .elementor-element-9ad31cc > .e-con-inner > .elementor-element-66ba787 {
        padding-inline: 20px;
    }
}

/* Fotos im Hochformat neben Text (Klasse fgmz-bild-hoch am Bild-Widget, z. B. ops/content/28-frh-bilder.php):
   fester Ausschnitt, damit ein Hochkant-Foto nicht höher wird als der Text daneben. */
.fgmz-bild-hoch img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 50%;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .fgmz-bild-hoch img {
        aspect-ratio: 4 / 3;
    }
}
/* Ausschnitt weiter oben, wenn Köpfe oben im Bild sind */
.fgmz-bild-hoch.fgmz-fokus-oben img {
    object-position: 50% 20%;
}

/* Angebote (ops/content/29-angebote.php) ----------------------------------- */
/* Sprungleiste: vier Kacheln mit Titel, Foto und Farbbalken wie im Kunden-PDF */
.fgmz-angebote-kacheln {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.fgmz-angebote-kacheln a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--e-global-color-text);
    text-decoration: none;
    text-align: center;
}
.fgmz-angebote-kacheln img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 7;
    object-fit: cover;
    border-bottom: 10px solid var(--fgmz-farbe);
    transition: transform .3s ease, box-shadow .3s ease;
}
.fgmz-angebote-kacheln a:hover img,
.fgmz-angebote-kacheln a:focus-visible img {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.fgmz-kachel-titel {
    font-family: var(--e-global-typography-secondary-font-family), serif;
    font-size: 20px;
    line-height: 1.3;
}
@media (max-width: 767px) {
    .fgmz-angebote-kacheln {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
    }
    .fgmz-kachel-titel {
        font-size: 17px;
    }
}
/* Ziel der Sprungleiste nicht unter der Kopfzeile */
.fgmz-angebot,
#begleitung {
    scroll-margin-top: 110px;
}
.fgmz-angebot-mehr {
    margin-top: 8px;
}

/* Unterseiten: Galerie läuft auf dem Desktop neben dem langen Text mit */
@media (min-width: 1025px) {
    .fgmz-galerie-mitlaufend {
        position: sticky;
        top: 110px;
        align-self: flex-start;
    }
}
/* Rituale als Kasten, Liste zweispaltig */
.fgmz-rituale-kasten {
    background: #f4f4f4;
    border: 2px solid var(--e-global-color-accent, #4E830E);
    padding: 24px 28px 18px;
    margin-block: 12px 24px !important;
}
.fgmz-rituale {
    columns: 2;
    column-gap: 32px;
    margin: 0;
    padding-left: 1.1em;
}
.fgmz-rituale li {
    break-inside: avoid;
    margin-bottom: .35em;
}
.fgmz-rituale li span {
    display: block;
    font-size: .9em;
    font-style: italic;
}
@media (max-width: 767px) {
    .fgmz-rituale-kasten {
        padding: 20px 18px 14px;
    }
    .fgmz-rituale {
        columns: 1;
    }
}
/* „Gut zu wissen“ mit Glühbirne wie im Kunden-PDF */
.fgmz-hinweis {
    position: relative;
    background: #fff8e1;
    padding: 20px 24px 20px 64px;
    margin-top: 16px !important;
}
.fgmz-hinweis::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 20px;
    width: 26px;
    height: 26px;
    background: #f2b705;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21h6v-1.5H9V21zm3-19a7 7 0 0 0-4 12.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21h6v-1.5H9V21zm3-19a7 7 0 0 0-4 12.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fgmz-hinweis p:last-child {
    margin-bottom: 0;
}
.fgmz-hinweis strong {
    color: #c99700;
}
.fgmz-angebot-schluss {
    border-top: 1px solid #e3e3e3;
    padding-top: 48px !important;
}

/* Menü, dritte Ebene (Angebote › Begleitung im Leben › …): Smartmenus setzt sie 1 px tiefer als die zweite,
   weil die zweite Ebene oben einen 1-px-Rahmen hat. Die Oberkanten sollen bündig sein. */
.elementor-nav-menu--main .sub-menu .sub-menu {
    translate: 0 -1px;
}

/* Pflichtfeld-Stern an der Einverständnis-Checkbox (ops/content/31-testbericht-fixes.php), wie die Sterne der anderen Felder */
.fgmz-pflicht {
    color: red;
    padding-inline-start: .2em;
}

/* Ziele von Sprunglink und „Nach oben“ bekommen den Fokus nur per Skript, ohne Rahmen */
#content[tabindex="-1"]:focus,
.elementor-location-header[tabindex="-1"]:focus {
    outline: none;
}

/* Button „Nach oben“ (functions.php, js/nach-oben.js). button.… schlägt die Button-Regeln von Hello Elementor. */
button.fgmz-nach-oben {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--e-global-color-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s;
}
button.fgmz-nach-oben svg {
    display: block;
    flex: none;
    width: 22px;
    height: 22px;
}
button.fgmz-nach-oben.ist-sichtbar {
    opacity: 1;
    visibility: visible;
    transform: none;
}
button.fgmz-nach-oben:hover,
button.fgmz-nach-oben:focus-visible {
    background: var(--e-global-color-primary);
    color: #fff;
}
button.fgmz-nach-oben:focus-visible {
    outline: 2px solid var(--e-global-color-accent);
    outline-offset: 3px;
}
@media (max-width: 767px) {
    button.fgmz-nach-oben {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* =========================================================================
   Über uns: Video-Varianten (Testseite /video-test/, ops/content/39-video-testseite.php)
   Klassen fgmz-uu-<variante> am Video-Widget. Nach der Entscheidung bleibt nur die gewählte Variante.
   ========================================================================= */
.fgmz-uu-abschnitt {
    overflow-x: clip;
}
.fgmz-uu-video .elementor-wrapper {
    position: relative;
    transition: transform .4s ease, box-shadow .4s ease;
}
.fgmz-uu-video .elementor-wrapper::before,
.fgmz-uu-video .elementor-wrapper::after {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

/* Großes Polaroid */
.fgmz-uu-polaroid .elementor-wrapper {
    margin: 50px 0 110px;
    box-shadow: 0 0 0 18px #FFFFFF, 0 96px 0 18px #FFFFFF, 0 20px 50px 18px rgba(0, 0, 0, .18);
    transform: rotate(-1.2deg);
}
.fgmz-uu-polaroid:hover .elementor-wrapper {
    transform: rotate(0deg);
}
.fgmz-uu-polaroid .elementor-wrapper::before {
    content: "";
    top: -34px;
    left: 8%;
    right: 8%;
    height: 32px;
    background:
        radial-gradient(circle at 16px 16px, #FF8A80 0 3px, #D32F2F 6px, #8E1B1B 15px, transparent 16px) left / 32px 32px no-repeat,
        radial-gradient(circle at 16px 16px, #FF8A80 0 3px, #D32F2F 6px, #8E1B1B 15px, transparent 16px) right / 32px 32px no-repeat;
    filter: drop-shadow(2px 4px 3px rgba(0, 0, 0, .35));
}
.fgmz-uu-polaroid .elementor-wrapper::after {
    content: "Das sind wir!";
    left: 0;
    right: 0;
    bottom: -88px;
    text-align: center;
    font-family: "Permanent Marker", cursive;
    font-size: clamp(24px, 3vw, 40px);
    color: var(--e-global-color-primary, #3E3B3F);
}

/* Werte-Zettel: drei Haftnotizen an den Ecken */
.fgmz-uu-werte .elementor-wrapper {
    margin: 60px 0;
}
.fgmz-uu-werte .elementor-wrapper::before,
.fgmz-uu-werte .elementor-wrapper::after,
.fgmz-uu-werte .elementor-video::after,
.fgmz-uu-werte .elementor-video iframe + *::after {
    display: grid;
    place-items: center;
    width: 190px;
    height: 120px;
    padding: 12px;
    box-shadow: 2px 8px 14px rgba(0, 0, 0, .18);
    font-family: "Permanent Marker", cursive;
    font-size: 21px;
    line-height: 1.2;
    text-align: center;
    color: #3E3B3F;
}
.fgmz-uu-werte .elementor-wrapper::before {
    content: "Mitmensch\00AD lichkeit";
    top: -50px;
    left: -40px;
    background: linear-gradient(170deg, #FFF59D, #FFE66B);
    transform: rotate(-7deg);
}
.fgmz-uu-werte .elementor-wrapper::after {
    content: "Natur\00AD verbundenheit";
    top: -44px;
    right: -36px;
    background: linear-gradient(170deg, #DCEDC8, #C5E1A5);
    transform: rotate(6deg);
}
.fgmz-uu-werte .elementor-widget-container::after,
.fgmz-uu-werte.elementor-widget-video::after {
    content: "Vielfältigkeit";
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: calc(50% - 560px);
    display: grid;
    place-items: center;
    width: 190px;
    height: 120px;
    background: linear-gradient(170deg, #FFCCBC, #FFAB91);
    box-shadow: 2px 8px 14px rgba(0, 0, 0, .18);
    font-family: "Permanent Marker", cursive;
    font-size: 21px;
    color: #3E3B3F;
    transform: rotate(-4deg);
    pointer-events: none;
}
.fgmz-uu-werte.elementor-widget-video {
    position: relative;
}

/* Fotocollage: Fotos schräg hinter den Ecken */
.fgmz-uu-collage .elementor-wrapper {
    margin: 70px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}
.fgmz-uu-collage .elementor-wrapper::before,
.fgmz-uu-collage .elementor-wrapper::after {
    content: "";
    z-index: 0;
    width: 260px;
    aspect-ratio: 4 / 3;
    border: 10px solid #FFFFFF;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    background: center / cover no-repeat;
}
.fgmz-uu-collage .elementor-wrapper::before {
    top: -60px;
    left: -70px;
    background-image: url("/wp-content/uploads/2026/08/IMG_5045.jpg");
    transform: rotate(-9deg);
}
.fgmz-uu-collage .elementor-wrapper::after {
    right: -70px;
    bottom: -60px;
    background-image: url("/wp-content/uploads/2026/08/IMG_4942.jpg");
    transform: rotate(7deg);
}
.fgmz-uu-collage .elementor-video,
.fgmz-uu-collage iframe {
    position: relative;
    z-index: 1;
}
.fgmz-uu-collage.elementor-widget-video {
    position: relative;
}
.fgmz-uu-collage.elementor-widget-video::before,
.fgmz-uu-collage.elementor-widget-video::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 230px;
    aspect-ratio: 4 / 3;
    border: 10px solid #FFFFFF;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    background: center / cover no-repeat;
    pointer-events: none;
}
.fgmz-uu-collage.elementor-widget-video::before {
    top: 20px;
    right: calc(50% - 650px);
    background-image: url("/wp-content/uploads/2026/08/IMG_3803.jpg");
    transform: rotate(8deg);
}
.fgmz-uu-collage.elementor-widget-video::after {
    bottom: 20px;
    left: calc(50% - 650px);
    background-image: url("/wp-content/uploads/2026/09/Gemeinschaft.jpg");
    transform: rotate(-6deg);
}

/* Kino: dunkle Leinwand, grüner Vorhang mit Volant */
.fgmz-uu-kino .elementor-wrapper {
    margin: 90px 0 50px;
    box-shadow: 0 0 0 34px #1E1C1F, 0 20px 60px 34px rgba(0, 0, 0, .35);
}
.fgmz-uu-kino .elementor-wrapper::before,
.fgmz-uu-kino .elementor-wrapper::after {
    content: "";
    top: -34px;
    bottom: -34px;
    width: 110px;
    background: repeating-linear-gradient(90deg, #2F5508 0, #4E830E 14px, #6FA82A 20px, #4E830E 26px, #2F5508 40px);
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    transition: width .6s ease;
}
.fgmz-uu-kino .elementor-wrapper::before {
    left: -60px;
    border-bottom-right-radius: 80% 18%;
}
.fgmz-uu-kino .elementor-wrapper::after {
    right: -60px;
    border-bottom-left-radius: 80% 18%;
}
.fgmz-uu-kino:hover .elementor-wrapper::before,
.fgmz-uu-kino:hover .elementor-wrapper::after {
    width: 70px;
}
/* Volant über der Leinwand */
.fgmz-uu-kino.elementor-widget-video {
    position: relative;
}
.fgmz-uu-kino.elementor-widget-video::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 22px;
    left: calc(50% - 660px);
    right: calc(50% - 660px);
    height: 64px;
    background:
        radial-gradient(ellipse 50% 100% at 50% 0, #4E830E 0 98%, transparent 100%) bottom / 110px 26px repeat-x,
        linear-gradient(#3F6E0B, #4E830E) top / 100% 40px no-repeat;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35));
    pointer-events: none;
}

/* Röhrenfernseher */
.fgmz-uu-fernseher .elementor-wrapper {
    width: calc(100% - 140px);
    margin: 110px 0 60px 10px;
    border-radius: 34px / 46px;
    box-shadow:
        0 0 0 10px #1E1C1F,
        0 0 0 40px #3E3B3F,
        110px 0 0 40px #3E3B3F,
        0 24px 60px 40px rgba(0, 0, 0, .3);
}
.fgmz-uu-fernseher .elementor-video,
.fgmz-uu-fernseher iframe {
    border-radius: 34px / 46px;
    overflow: hidden;
}
/* Antenne */
.fgmz-uu-fernseher .elementor-wrapper::before {
    content: "";
    top: -130px;
    left: calc(50% + 55px);
    width: 240px;
    height: 92px;
    margin-left: -120px;
    background:
        radial-gradient(circle at 50% 100%, #3E3B3F 0 28px, transparent 29px),
        linear-gradient(55deg, transparent 48%, #3E3B3F 48% 52%, transparent 52%) left / 50% 100% no-repeat,
        linear-gradient(-55deg, transparent 48%, #3E3B3F 48% 52%, transparent 52%) right / 50% 100% no-repeat;
}
/* Drehknöpfe und Lautsprecher rechts */
.fgmz-uu-fernseher .elementor-wrapper::after {
    content: "";
    top: 10%;
    right: -125px;
    width: 90px;
    height: 80%;
    background:
        radial-gradient(circle at 50% 45px, #D6D6D6 0 9px, #8F8A8D 10px 32px, #2C2A2D 33px 35px, transparent 36px) top / 100% 90px no-repeat,
        radial-gradient(circle at 50% 45px, #D6D6D6 0 9px, #8F8A8D 10px 32px, #2C2A2D 33px 35px, transparent 36px) 0 110px / 100% 90px no-repeat,
        repeating-linear-gradient(#2C2A2D 0 4px, transparent 4px 11px) bottom / 70% 34% no-repeat;
}

/* Tablet und Handy: Deko kleiner, damit nichts über den Rand ragt */
@media (max-width: 1024px) {
    .fgmz-uu-werte .elementor-wrapper::before,
    .fgmz-uu-werte .elementor-wrapper::after,
    .fgmz-uu-werte.elementor-widget-video::after {
        width: 130px;
        height: 84px;
        font-size: 15px;
    }
    .fgmz-uu-werte .elementor-wrapper::before { left: 6px; }
    .fgmz-uu-werte .elementor-wrapper::after { right: 6px; }
    .fgmz-uu-werte.elementor-widget-video::after { left: 16px; }
    .fgmz-uu-collage.elementor-widget-video::before,
    .fgmz-uu-collage.elementor-widget-video::after { display: none; }
    .fgmz-uu-collage .elementor-wrapper::before,
    .fgmz-uu-collage .elementor-wrapper::after { width: 140px; border-width: 6px; }
    .fgmz-uu-collage .elementor-wrapper::before { left: -10px; top: -50px; }
    .fgmz-uu-collage .elementor-wrapper::after { right: -10px; bottom: -50px; }
    .fgmz-uu-kino .elementor-wrapper { box-shadow: 0 0 0 16px #1E1C1F; margin-inline: 16px; }
    .fgmz-uu-kino .elementor-wrapper::before { left: -16px; width: 40px; top: -16px; bottom: -16px; }
    .fgmz-uu-kino .elementor-wrapper::after { right: -16px; width: 40px; top: -16px; bottom: -16px; }
    .fgmz-uu-kino.elementor-widget-video::before { left: 0; right: 0; top: 40px; height: 44px; }
    .fgmz-uu-fernseher .elementor-wrapper {
        width: calc(100% - 92px);
        margin: 80px 0 40px 16px;
        box-shadow: 0 0 0 6px #1E1C1F, 0 0 0 18px #3E3B3F, 58px 0 0 18px #3E3B3F;
    }
    .fgmz-uu-fernseher .elementor-wrapper::before { top: -86px; width: 140px; height: 60px; margin-left: -70px; left: calc(50% + 29px); }
    .fgmz-uu-fernseher .elementor-wrapper::after { right: -70px; width: 50px; transform: scale(.6); transform-origin: top center; }
    .fgmz-uu-polaroid .elementor-wrapper {
        margin: 40px 12px 80px;
        box-shadow: 0 0 0 10px #FFFFFF, 0 64px 0 10px #FFFFFF, 0 14px 30px 10px rgba(0, 0, 0, .18);
    }
    .fgmz-uu-polaroid .elementor-wrapper::after { bottom: -60px; }
}
@media (max-width: 767px) {
    .fgmz-uu-werte .elementor-wrapper::before,
    .fgmz-uu-werte .elementor-wrapper::after,
    .fgmz-uu-werte.elementor-widget-video::after {
        width: 92px;
        height: 58px;
        padding: 4px;
        font-size: 11px;
    }
    .fgmz-uu-werte .elementor-wrapper::before { top: -36px; }
    .fgmz-uu-werte .elementor-wrapper::after { top: -32px; }
    .fgmz-uu-werte.elementor-widget-video::after { bottom: 34px; }
}

/* =========================================================================
   Über uns, „Unsere Werte“: Wäscheleine aus Jute-Schnur mit Holzklammern
   (ops/content/42-ueber-uns-waescheleine.php, Vergleich auf /werte-test/)
   Klassen fgmz-jute fgmz-jute-schnur an der Section ae4a3d1, fgmz-jute-reihe an der Kartenreihe cb77954.
   ========================================================================= */
.fgmz-jute {
    overflow-x: clip;
}
.fgmz-jute .fgmz-jute-reihe {
    position: relative;
}
.fgmz-jute .fgmz-jute-reihe > .elementor-container {
    position: relative;
    z-index: 1;
}

/* Die Karten hängen mit Holzklammern an der Schnur. Ohne Bewegung.
   Aufbau je Karte (Elementor-Spalte, nicht gedreht):
   - Spalte ::before = Schnur, an der Oberkante der Spalte, weit über die Seite hinaus. Karten einer Reihe teilen sich
     so eine Linie, auf dem Tablet entstehen zwei parallele Schnüre.
   - widget-wrap = weiße Karte, gedreht um die Mitte der Oberkante.
   - Spalte ::after = beide Klammern als SVG, fest auf der Schnur, jede mit eigener Neigung.
   Elementor setzt den Spaltenabstand als margin am widget-wrap. Oben und unten wird er hier auf 0 gesetzt und
   als margin an der Spalte gegeben, sonst rutscht die Karte von ihrer Schnur weg (Tablet, 2. Reihe). */
.fgmz-jute-schnur,
.fgmz-auf-einen-blick {
    /* Jute-Schnur als SVG-Kachel (25.11.2026, Vorbilder in TEMP): helles Jute-Beige, runde gedrehte Stränge (quer schattiert, Rillen)
       mit feinen Faserlinien, matt, oben Licht, unten Schatten. Kachel 36 × 6 px, ohne Rundung, damit keine Nähte entstehen. */
    --schnur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='6' viewBox='0 0 36 6'%3E%3Cdefs%3E%3ClinearGradient id='s' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='6' y2='0' spreadMethod='repeat' gradientTransform='skewX(-37.48)'%3E%3Cstop offset='0' stop-color='%23946C3E'/%3E%3Cstop offset='.14' stop-color='%23BE9765'/%3E%3Cstop offset='.45' stop-color='%23E3C89C'/%3E%3Cstop offset='.7' stop-color='%23D2AF7F'/%3E%3Cstop offset='.9' stop-color='%23B08655'/%3E%3Cstop offset='1' stop-color='%23946C3E'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233C2610' stop-opacity='.22'/%3E%3Cstop offset='.22' stop-color='%23fff' stop-opacity='.10'/%3E%3Cstop offset='.5' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%233C2610' stop-opacity='.42'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Crect width='36' height='6'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='36' height='6' fill='url(%23s)'/%3E%3Cpath d='M-7.90 5.34L-4.74 1.22' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.65'/%3E%3Cpath d='M-5.15 4.54L-2.97 1.70' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.41'/%3E%3Cpath d='M-4.62 3.43L-3.11 1.45' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.51'/%3E%3Cpath d='M-0.04 5.95L2.52 2.60' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.36'/%3E%3Cpath d='M-0.47 4.87L1.54 2.25' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.58'/%3E%3Cpath d='M-2.72 3.73L0.07 0.08' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.42'/%3E%3Cpath d='M5.51 3.59L7.78 0.63' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.56'/%3E%3Cpath d='M4.01 4.37L6.78 0.75' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.58'/%3E%3Cpath d='M8.06 3.95L10.61 0.62' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.60'/%3E%3Cpath d='M10.78 3.32L13.11 0.29' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M9.09 5.54L13.34 0.00' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.69'/%3E%3Cpath d='M8.36 5.94L12.09 1.07' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.51'/%3E%3Cpath d='M14.33 5.02L17.49 0.91' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.42'/%3E%3Cpath d='M15.41 5.27L19.21 0.32' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.69'/%3E%3Cpath d='M15.74 4.39L18.10 1.31' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.35'/%3E%3Cpath d='M24.68 3.57L25.90 1.98' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.51'/%3E%3Cpath d='M21.29 4.18L22.44 2.67' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.48'/%3E%3Cpath d='M19.47 5.65L23.37 0.57' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.46'/%3E%3Cpath d='M29.36 3.30L29.84 2.67' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.57'/%3E%3Cpath d='M27.23 4.83L29.21 2.24' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.35'/%3E%3Cpath d='M28.21 4.75L31.34 0.66' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.38'/%3E%3Cpath d='M36.39 3.38L37.77 1.59' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.57'/%3E%3Cpath d='M37.49 3.55L39.89 0.42' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.65'/%3E%3Cpath d='M37.88 3.57L39.08 2.00' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.44'/%3E%3Cpath d='M43.59 4.16L45.79 1.30' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.59'/%3E%3Cpath d='M39.83 3.12L40.22 2.60' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.39'/%3E%3Cpath d='M39.80 4.26L41.19 2.44' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.49'/%3E%3Cpath d='M46.45 5.16L50.26 0.19' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.41'/%3E%3Cpath d='M45.29 4.85L48.86 0.20' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.58'/%3E%3Cpath d='M46.47 3.21L48.07 1.11' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.61'/%3E%3Crect width='36' height='6' fill='url(%23r)'/%3E%3C/g%3E%3C/svg%3E") 0 50% / 36px 6px repeat-x;
    --schnur-senkrecht: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='36' viewBox='0 0 6 36'%3E%3Cg transform='translate(6 0) rotate(90)'%3E%3Cdefs%3E%3ClinearGradient id='s' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='6' y2='0' spreadMethod='repeat' gradientTransform='skewX(-37.48)'%3E%3Cstop offset='0' stop-color='%23946C3E'/%3E%3Cstop offset='.14' stop-color='%23BE9765'/%3E%3Cstop offset='.45' stop-color='%23E3C89C'/%3E%3Cstop offset='.7' stop-color='%23D2AF7F'/%3E%3Cstop offset='.9' stop-color='%23B08655'/%3E%3Cstop offset='1' stop-color='%23946C3E'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233C2610' stop-opacity='.22'/%3E%3Cstop offset='.22' stop-color='%23fff' stop-opacity='.10'/%3E%3Cstop offset='.5' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%233C2610' stop-opacity='.42'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Crect width='36' height='6'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='36' height='6' fill='url(%23s)'/%3E%3Cpath d='M-8.03 4.11L-6.06 1.54' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.41'/%3E%3Cpath d='M-8.84 4.35L-6.19 0.89' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.40'/%3E%3Cpath d='M-4.94 3.42L-2.39 0.09' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M-4.62 5.89L-0.15 0.06' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.60'/%3E%3Cpath d='M0.16 3.93L2.89 0.37' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.37'/%3E%3Cpath d='M-3.81 5.21L-1.68 2.43' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.54'/%3E%3Cpath d='M5.19 5.89L9.00 0.92' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.40'/%3E%3Cpath d='M1.95 5.61L5.39 1.13' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.67'/%3E%3Cpath d='M6.25 4.87L9.20 1.03' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M12.38 3.27L14.65 0.31' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.38'/%3E%3Cpath d='M9.97 4.17L11.64 1.98' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.60'/%3E%3Cpath d='M11.33 4.62L13.81 1.40' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.51'/%3E%3Cpath d='M17.12 4.44L20.05 0.62' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.56'/%3E%3Cpath d='M17.68 4.98L20.49 1.31' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.62'/%3E%3Cpath d='M18.69 5.03L22.13 0.55' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.46'/%3E%3Cpath d='M21.38 4.33L22.85 2.41' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.58'/%3E%3Cpath d='M21.77 4.90L23.87 2.17' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.44'/%3E%3Cpath d='M24.62 4.15L26.59 1.57' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.66'/%3E%3Cpath d='M28.37 4.05L29.62 2.42' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.40'/%3E%3Cpath d='M27.08 3.83L29.66 0.46' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.68'/%3E%3Cpath d='M27.98 5.49L31.40 1.03' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.67'/%3E%3Cpath d='M34.33 5.52L36.52 2.65' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.46'/%3E%3Cpath d='M35.26 3.83L36.94 1.64' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.64'/%3E%3Cpath d='M36.38 3.93L37.76 2.14' stroke='%23F0DDB8' stroke-width='.3' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M39.16 3.57L40.31 2.08' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.49'/%3E%3Cpath d='M38.65 5.95L42.97 0.31' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.63'/%3E%3Cpath d='M38.22 5.42L40.39 2.59' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.58'/%3E%3Cpath d='M48.54 3.77L49.95 1.93' stroke='%23EBD5AE' stroke-width='.3' stroke-linecap='round' opacity='0.64'/%3E%3Cpath d='M49.09 3.54L51.24 0.74' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.60'/%3E%3Cpath d='M46.18 4.50L47.57 2.69' stroke='%23A9814F' stroke-width='.3' stroke-linecap='round' opacity='0.68'/%3E%3Crect width='36' height='6' fill='url(%23r)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 50% 0 / 6px 36px repeat-y;
    --klammer-1-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44' viewBox='0 0 40 44'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='0' stop-color='%23EBDAB9'/%3E%3Cstop offset='.55' stop-color='%23DEC69E'/%3E%3Cstop offset='1' stop-color='%23C9AB82'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(-16 20 34)'%3E%3Cpath d='M13.5 14V27M26.5 14.5V28.5' fill='none' stroke='%23777D84' stroke-width='1.6' stroke-linecap='round'/%3E%3Crect x='14.5' y='2' width='11' height='26.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.5' y='28.8' width='11' height='13.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.6' y='28.2' width='10.8' height='.6' fill='%237A5E3C' opacity='.7'/%3E%3Cpath d='M17.5 4v22M22.8 5v20M19.6 31v9' stroke='%23C4A67D' stroke-width='.35' opacity='.6'/%3E%3Cpath d='M26.5 28.5H18.2' fill='none' stroke='%23777D84' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M26.3 28.1H18.6' fill='none' stroke='%23EEF0F2' stroke-width='.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    --klammer-1-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44' viewBox='0 0 40 44'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='0' stop-color='%23EBDAB9'/%3E%3Cstop offset='.55' stop-color='%23DEC69E'/%3E%3Cstop offset='1' stop-color='%23C9AB82'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(11 20 34)'%3E%3Cpath d='M13.5 14V27M26.5 14.5V28.5' fill='none' stroke='%23777D84' stroke-width='1.6' stroke-linecap='round'/%3E%3Crect x='14.5' y='2' width='11' height='26.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.5' y='28.8' width='11' height='13.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.6' y='28.2' width='10.8' height='.6' fill='%237A5E3C' opacity='.7'/%3E%3Cpath d='M17.5 4v22M22.8 5v20M19.6 31v9' stroke='%23C4A67D' stroke-width='.35' opacity='.6'/%3E%3Cpath d='M26.5 28.5H18.2' fill='none' stroke='%23777D84' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M26.3 28.1H18.6' fill='none' stroke='%23EEF0F2' stroke-width='.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    --klammer-2-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44' viewBox='0 0 40 44'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='0' stop-color='%23EBDAB9'/%3E%3Cstop offset='.55' stop-color='%23DEC69E'/%3E%3Cstop offset='1' stop-color='%23C9AB82'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(13 20 34)'%3E%3Cpath d='M13.5 14V27M26.5 14.5V28.5' fill='none' stroke='%23777D84' stroke-width='1.6' stroke-linecap='round'/%3E%3Crect x='14.5' y='2' width='11' height='26.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.5' y='28.8' width='11' height='13.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.6' y='28.2' width='10.8' height='.6' fill='%237A5E3C' opacity='.7'/%3E%3Cpath d='M17.5 4v22M22.8 5v20M19.6 31v9' stroke='%23C4A67D' stroke-width='.35' opacity='.6'/%3E%3Cpath d='M26.5 28.5H18.2' fill='none' stroke='%23777D84' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M26.3 28.1H18.6' fill='none' stroke='%23EEF0F2' stroke-width='.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    --klammer-2-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44' viewBox='0 0 40 44'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='0' stop-color='%23EBDAB9'/%3E%3Cstop offset='.55' stop-color='%23DEC69E'/%3E%3Cstop offset='1' stop-color='%23C9AB82'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(-9 20 34)'%3E%3Cpath d='M13.5 14V27M26.5 14.5V28.5' fill='none' stroke='%23777D84' stroke-width='1.6' stroke-linecap='round'/%3E%3Crect x='14.5' y='2' width='11' height='26.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.5' y='28.8' width='11' height='13.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.6' y='28.2' width='10.8' height='.6' fill='%237A5E3C' opacity='.7'/%3E%3Cpath d='M17.5 4v22M22.8 5v20M19.6 31v9' stroke='%23C4A67D' stroke-width='.35' opacity='.6'/%3E%3Cpath d='M26.5 28.5H18.2' fill='none' stroke='%23777D84' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M26.3 28.1H18.6' fill='none' stroke='%23EEF0F2' stroke-width='.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    --klammer-3-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44' viewBox='0 0 40 44'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='0' stop-color='%23EBDAB9'/%3E%3Cstop offset='.55' stop-color='%23DEC69E'/%3E%3Cstop offset='1' stop-color='%23C9AB82'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(-12 20 34)'%3E%3Cpath d='M13.5 14V27M26.5 14.5V28.5' fill='none' stroke='%23777D84' stroke-width='1.6' stroke-linecap='round'/%3E%3Crect x='14.5' y='2' width='11' height='26.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.5' y='28.8' width='11' height='13.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.6' y='28.2' width='10.8' height='.6' fill='%237A5E3C' opacity='.7'/%3E%3Cpath d='M17.5 4v22M22.8 5v20M19.6 31v9' stroke='%23C4A67D' stroke-width='.35' opacity='.6'/%3E%3Cpath d='M26.5 28.5H18.2' fill='none' stroke='%23777D84' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M26.3 28.1H18.6' fill='none' stroke='%23EEF0F2' stroke-width='.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    --klammer-3-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='44' viewBox='0 0 40 44'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='0' stop-color='%23EBDAB9'/%3E%3Cstop offset='.55' stop-color='%23DEC69E'/%3E%3Cstop offset='1' stop-color='%23C9AB82'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='rotate(17 20 34)'%3E%3Cpath d='M13.5 14V27M26.5 14.5V28.5' fill='none' stroke='%23777D84' stroke-width='1.6' stroke-linecap='round'/%3E%3Crect x='14.5' y='2' width='11' height='26.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.5' y='28.8' width='11' height='13.2' rx='.8' fill='url(%23h)' stroke='%23B4956B' stroke-width='.4'/%3E%3Crect x='14.6' y='28.2' width='10.8' height='.6' fill='%237A5E3C' opacity='.7'/%3E%3Cpath d='M17.5 4v22M22.8 5v20M19.6 31v9' stroke='%23C4A67D' stroke-width='.35' opacity='.6'/%3E%3Cpath d='M26.5 28.5H18.2' fill='none' stroke='%23777D84' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M26.3 28.1H18.6' fill='none' stroke='%23EEF0F2' stroke-width='.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
}
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column {
    position: relative;
}
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column > .elementor-widget-wrap {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform-origin: 50% 0;
}
/* Schnur */
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -3px;
    left: -100vw;
    width: 300vw;
    height: 6px;
    border-radius: 3px;
    background: var(--schnur);
    box-shadow: 0 3px 3px -1px rgba(60, 40, 10, .22);
    pointer-events: none;
}
/* Klammern: SVG 40 × 44, angezeigt 52 × 57 px (×1,3). Die Schnur läuft durchs untere Drittel (SVG y 34 = 44 px), dort ist auch
   der Drehpunkt, die Klammer steht über Schnur und Kartenkante nach oben (Wladi 25.11.). Holz in der Mitte (x 14,5 bis 25,5, Mitte x 20 = 26 px), Vorbild TEMP/dekoklammern-holz: helles Holz,
   langes Ober- und kurzes Unterteil, Metallfeder seitlich mit Haken über der Fuge (25.11.2026). Mitte bei 18 % + 7 px, Schnur 6 px */
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: -44px;
    left: calc(18% - 19px);
    right: calc(18% - 19px);
    height: 57px;
    background:
        var(--kl) left top / 52px 57px no-repeat,
        var(--kr) right top / 52px 57px no-repeat;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, .3));
    pointer-events: none;
}
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(1) { --kl: var(--klammer-1-l); --kr: var(--klammer-1-r); }
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(2) { --kl: var(--klammer-2-l); --kr: var(--klammer-2-r); }
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(3) { --kl: var(--klammer-3-l); --kr: var(--klammer-3-r); }
/* Schräge der Karten */
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(1) > .elementor-widget-wrap { transform: rotate(-1.8deg); }
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(2) > .elementor-widget-wrap { transform: rotate(1.2deg); }
.fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(3) > .elementor-widget-wrap { transform: rotate(-1deg); }

/* Tablet: zwei Reihen, zwei parallele Schnüre, die dritte Karte mittig */
@media (min-width: 768px) and (max-width: 1024px) {
    .fgmz-jute-schnur .fgmz-jute-reihe > .elementor-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(3) {
        margin-top: 70px;
    }
    .fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:nth-child(3) > .elementor-widget-wrap {
        margin-right: 0 !important;
    }
}

/* Handy: Karten untereinander und gerade, zwei senkrechte Schnüre durch die Klammern */
@media (max-width: 767px) {
    .fgmz-jute-schnur .fgmz-jute-reihe .elementor-column::before {
        content: none;
    }
    .fgmz-jute-schnur .fgmz-jute-reihe .elementor-column > .elementor-widget-wrap {
        transform: none !important;
    }
    .fgmz-jute-schnur .fgmz-jute-reihe .elementor-column {
        margin-bottom: 50px;
    }
    .fgmz-jute-schnur .fgmz-jute-reihe .elementor-column:last-child {
        margin-bottom: 0;
    }
    .fgmz-jute.fgmz-jute-schnur .fgmz-jute-reihe::before,
    .fgmz-jute.fgmz-jute-schnur .fgmz-jute-reihe::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: -60px; /* über der obersten Klammer (ragt 44 px über die Karte) */
        bottom: -50px;
        width: 6px;
        height: auto;
        margin: 0;
        border-radius: 3px;
        background: var(--schnur-senkrecht);
        box-shadow: 3px 0 4px rgba(60, 40, 10, .25);
        pointer-events: none;
    }
    /* gleiche Mitte wie die Klammern: 18 % + 7 px, Schnur 6 px breit */
    .fgmz-jute.fgmz-jute-schnur .fgmz-jute-reihe::before { left: calc(18% + 4px); }
    .fgmz-jute.fgmz-jute-schnur .fgmz-jute-reihe::after { right: calc(18% + 4px); left: auto; }
}

/* =========================================================================
   Galerie-Pfeile in Gegenfarbe (18.11.2026)
   Die Pfeile der Media-Karussells liegen direkt auf den Fotos. Weiß mit mix-blend-mode: difference
   ergibt auf jedem Pixel die Gegenfarbe: dunkel auf hellem Himmel, hell auf dunklem Laub.
   Die Mischung wirkt innerhalb des Swiper-Containers (z-index 1, eigener Stapelkontext), also gegen das Foto.
   Hochformate stehen mit Rand im Karussell. Der Rand war transparent, dort blieb der Pfeil weiß auf hellem Grund.
   Deshalb bekommt das Karussell den Hellgrau-Ton der Abschnitte (#f7f7f7), gegen den der Pfeil fast schwarz wird.
   28 px statt 20 px, weil die Gegenfarbe auf mittleren Tönen (Laub) weniger Kontrast hat.
   ========================================================================= */
.elementor-widget-media-carousel .elementor-main-swiper {
    background-color: #f7f7f7;
}
.elementor-widget-media-carousel .elementor-swiper-button {
    color: #fff;
    mix-blend-mode: difference;
}
.elementor-widget-media-carousel .elementor-swiper-button svg {
    fill: #fff;
    width: 28px;
    height: 28px;
}

/* Deko-Band mit Welle, Zweigen und Blätterfall (Klasse fgmz-deko-welle am Container, ops/content/49-frh-deko-responsiv.php).
   Zweige und Blätter liegen vor den Wellen, sonst verdeckt die obere Welle den Zweig auf Tablet und Handy. */
.fgmz-deko-welle {
    isolation: isolate;
}
.fgmz-deko-welle > .elementor-shape {
    z-index: 0;
}
.fgmz-deko-welle > .fgmz-blaetter-ebenen,
.fgmz-deko-welle > .fgmz-blaetter-zweige {
    z-index: 1;
}
/* Das Zweigbild ist oben gerade abgeschnitten: vor Weiß weich einblenden, damit er aus dem Abschnitt darüber zu wachsen scheint */
.fgmz-deko-welle > .fgmz-blaetter-zweige {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 clamp(10px, 3vw, 40px));
    mask-image: linear-gradient(to bottom, transparent, #000 clamp(10px, 3vw, 40px));
}

/* =========================================================================
   Struktur der Gemeinde (ops/content/50-struktur-der-gemeinde.php)
   Karten wie auf Veranstaltungsformate: weiß, 1 px Rahmen, leichter Schatten, Titel in Forum, grüne Meta-Zeile.
   ========================================================================= */
.fgmz-raster {
    display: grid !important;
    grid-template-columns: repeat(var(--fgmz-spalten, 3), minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.fgmz-raster-4 { --fgmz-spalten: 4; }
.fgmz-raster-3 { --fgmz-spalten: 3; }
@media (max-width: 1024px) {
    .fgmz-raster-4, .fgmz-raster-3 { --fgmz-spalten: 2; }
}
@media (max-width: 600px) {
    .fgmz-raster-4 { --fgmz-spalten: 1; }
    .fgmz-raster-3 { --fgmz-spalten: 2; gap: 14px; }
}
.fgmz-raster > .e-con {
    width: auto !important;
    max-width: none !important;
}

.fgmz-karte {
    background: #fff;
    border: 1px solid #D4D4D4;
    box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    padding: 10px 10px 22px !important;
    gap: 12px !important;
    justify-content: flex-start !important;
}
.fgmz-karte .elementor-heading-title {
    font-family: "Forum", serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.4;
    color: #3E3B3F;
}
.fgmz-karte > .elementor-widget-heading,
.fgmz-karte > .elementor-widget-text-editor {
    padding: 0 6px;
}
.fgmz-karte .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.fgmz-rolle, .fgmz-rolle p {
    color: #406B0D;
    font-size: 15px;
    line-height: 1.5;
}
/* Abstand Titel zu Rolle enger als zum Text */
.fgmz-karte > .elementor-widget-heading + .fgmz-rolle { margin-top: -8px; }

/* Eckdaten: große Jahreszahl */
.fgmz-fakt {
    padding: 30px 26px 30px !important;
}
.fgmz-fakt .fgmz-fakt-zahl .elementor-heading-title {
    font-size: clamp(44px, 4.4vw, 60px);
    line-height: 1;
    color: #4E830E;
}
.fgmz-fakt .fgmz-fakt-zahl small { font-size: .45em; color: #406B0D; }

/* Gremien-Karten: Rolle als Kopfzeile */
.fgmz-gremium .elementor-icon-box-wrapper { text-align: left; }
.fgmz-gremium > .elementor-widget-icon-box { padding: 0 6px; }
.fgmz-gremium .elementor-icon-box-title { margin-bottom: 0 !important; }
.fgmz-gremium .elementor-icon-box-icon { margin-bottom: 14px !important; }
.fgmz-gremium .elementor-icon { font-size: 26px !important; padding: .55em !important; }

/* Portraits quadratisch (Dateien 4:5), Gruppenfotos quer */
.fgmz-portrait img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 30%;
    display: block;
}
.fgmz-gruppenfoto img {
    width: 100%;
    display: block;
}
/* Gruppenfoto (2/3) mit Namensliste (1/3): überall derselbe Baustein, Fotos einheitlich 3:2 */
.fgmz-gruppe .fgmz-gruppenfoto img { aspect-ratio: 3 / 2; object-fit: cover; }
.fgmz-gruppe > .e-con:last-child { gap: 10px !important; }
.fgmz-gruppe-zeile p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #406B0D;
}
.fgmz-namen ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fgmz-namen li {
    padding: 5px 0;
    border-bottom: 1px dashed #D4D4D4;
    font-size: 15px;
    line-height: 1.5;
}
.fgmz-namen li small { display: block; color: #406B0D; font-size: 13px; line-height: 1.4; }

/* Satz „auf Augenhöhe“ als ruhiges Zitat, wie Zitat des Monats */
.fgmz-augenhoehe {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.fgmz-augenhoehe p {
    font-family: "Forum", serif;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.45;
    color: #3E3B3F;
    margin: 0;
}
.fgmz-augenhoehe p + p {
    font-family: inherit;
    font-size: 16px;
    color: #5D5454;
    margin-top: 14px;
}

/* Struktur: Demokratieprinzip als Wäscheleine, 2 × 2 (Stil wie „Unsere Werte“ auf Über uns, Variablen der Klammern
   aus .fgmz-jute-schnur). Container-Version: .fgmz-leine-platz trägt Schnur (::before) und Klammern (::after),
   die weiße .fgmz-leine-karte darin ist gedreht. Der Icon-Kreis sitzt mit -35 px (Elementor-Einstellung) auf der Schnur. */
.fgmz-leine {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 90px;
    margin-top: 60px;
}
.fgmz-leine > .e-con { width: auto !important; max-width: none !important; }
.fgmz-leine-platz { position: relative; }
.fgmz-leine-platz::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -3px;
    left: -100vw;
    width: 300vw;
    height: 6px;
    border-radius: 3px;
    background: var(--schnur);
    box-shadow: 0 3px 3px -1px rgba(60, 40, 10, .22);
    pointer-events: none;
}
.fgmz-leine-platz::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: -44px;
    left: calc(14% - 19px);
    right: calc(14% - 19px);
    height: 57px;
    background:
        var(--kl) left top / 52px 57px no-repeat,
        var(--kr) right top / 52px 57px no-repeat;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, .3));
    pointer-events: none;
}
.fgmz-leine-platz:nth-child(4n+1) { --kl: var(--klammer-1-l); --kr: var(--klammer-1-r); }
.fgmz-leine-platz:nth-child(4n+2) { --kl: var(--klammer-2-l); --kr: var(--klammer-2-r); }
.fgmz-leine-platz:nth-child(4n+3) { --kl: var(--klammer-3-l); --kr: var(--klammer-3-r); }
.fgmz-leine-platz:nth-child(4n+4) { --kl: var(--klammer-2-r); --kr: var(--klammer-1-l); }
.fgmz-leine-karte {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    padding: 0 34px 34px !important;
    gap: 6px !important;
    transform-origin: 50% 0;
    text-align: center;
}
.fgmz-leine-platz:nth-child(1) .fgmz-leine-karte { transform: rotate(-1.4deg); }
.fgmz-leine-platz:nth-child(2) .fgmz-leine-karte { transform: rotate(1deg); }
.fgmz-leine-platz:nth-child(3) .fgmz-leine-karte { transform: rotate(.9deg); }
.fgmz-leine-platz:nth-child(4) .fgmz-leine-karte { transform: rotate(-1.1deg); }
.fgmz-leine-karte p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    .fgmz-leine { grid-template-columns: minmax(0, 1fr); row-gap: 70px; margin-top: 50px; }
    .fgmz-leine-karte { padding: 0 22px 28px !important; }
    .fgmz-leine-platz .fgmz-leine-karte { transform: none !important; }
}

/* Mitarbeitende: bei zwei Spalten steht die Ehrenamt-Karte über die ganze Breite */
@media (max-width: 1024px) {
    .fgmz-raster-team > .e-con:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .fgmz-raster-3 .fgmz-karte .elementor-heading-title { font-size: 20px; }
    .fgmz-raster-3 .fgmz-rolle, .fgmz-raster-3 .fgmz-rolle p { font-size: 14px; }
    .fgmz-fakt { padding: 24px 20px !important; }
}

/* Veranstaltungsformate (ops/content/51-veranstaltungsformate.php)
   Karten der Komponente „Veranstaltung“: Button „Mehr erfahren“ unten bündig, mit Rahmen wie die anderen Rahmen-Buttons.
   .elementor a.… schlägt die Grundstile des Atom-Buttons (.elementor .e-button-base, blau). */
.fgmz-veranstaltungen-raster .e-flexbox-base {
    height: 100%;
}
.elementor a.fgmz-karte-mehr {
    align-self: flex-start;
    margin-top: auto;
    padding: 12px 28px;
    border: 1px solid var(--e-global-color-accent, #4E830E);
    border-radius: 0;
    background: transparent;
    color: var(--e-global-color-primary, #3E3B3F);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}
.elementor a.fgmz-karte-mehr:hover,
.elementor a.fgmz-karte-mehr:focus-visible {
    background: var(--e-global-color-accent, #4E830E);
    color: #fff;
}
/* Unterseiten: Foto und Kasten „Auf einen Blick“ */
.fgmz-veranstaltung-foto img,
.fgmz-anlass-foto img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
/* Kasten „Wann / Wer“ als Zettel an der Wäscheleine (Wladi 25.11.): weißes Blatt, leicht schräg, zwei Holzklammern
   auf einem Stück Jute-Schnur in Fotobreite, das an den Enden ausläuft. Das Blatt hängt vor der Schnur. Schnur und Klammern wie auf Über uns
   (Variablen oben bei .fgmz-jute-schnur), Schnur durchs untere Drittel der Klammer.
   Gedreht wird nur das Blatt (der Absatz). Schnur und Klammern bleiben ohne Transformation, sonst rastert der Browser
   die 6-px-Schnur je nach Breite auf halbe Pixel um und sie wird unscharf (ab 1260 px, Wladi 25.11.). */
.fgmz-auf-einen-blick {
    position: relative;
    margin-top: 50px !important;
    --kl: var(--klammer-1-l);
    --kr: var(--klammer-2-r);
}
/* Schnur */
.fgmz-auf-einen-blick::before {
    content: "";
    position: absolute;
    z-index: 0; /* hinter dem Blatt */
    top: -9px; /* über der Blattkante, die rechts durch die Schräge höher steht */
    left: 0; /* nicht breiter als das Foto darüber */
    right: 0;
    height: 6px;
    background: var(--schnur);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    filter: drop-shadow(0 2px 1.5px rgba(60, 40, 10, .25));
    pointer-events: none;
}
/* Klammern */
.fgmz-auf-einen-blick::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -50px;
    left: calc(16% - 26px);
    right: calc(16% - 26px);
    height: 57px;
    background:
        var(--kl) left top / 52px 57px no-repeat,
        var(--kr) right top / 52px 57px no-repeat;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, .3));
    pointer-events: none;
}
/* Das Blatt, vor der Schnur, hinter den Klammern */
.fgmz-auf-einen-blick > p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 30px 28px 24px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    transform: rotate(-1.2deg);
    transform-origin: 50% 0;
}
.fgmz-auf-einen-blick strong {
    color: var(--e-global-color-primary, #3E3B3F);
}
/* Besondere Anlässe als Kacheln, drei nebeneinander, mobil untereinander */
.fgmz-anlaesse {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}
.fgmz-anlass {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    padding: 0 0 20px !important;
}
.fgmz-anlass > .elementor-widget:not(.fgmz-anlass-foto) {
    padding-inline: 22px;
}
.fgmz-anlass:not(:has(.fgmz-anlass-foto)) {
    padding-top: 20px !important;
}
/* Globale Typo „secondary“ setzt die Größe per Element-ID, deshalb !important */
.fgmz-anlass .elementor-widget-heading .elementor-heading-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
}

/* Struktur, Karte Gründung: Zähler (mu-plugin fgmz-jahre) unten in der Karte, mittig (ops/content/56) */
.fgmz-fakt > .fgmz-zaehler-platz {
    margin-top: auto !important;
    padding-top: 16px;
}
