/*
Theme Name: downsyndromberlin e.V.
Description: Template für downsyndromberlin e.V.
Author: Daniel McDonald
Author URI: https://etrnl.de
Author Email: daniel@etrnl.de
Version: 1.0.0
Text Domain: hello-elementor-child
Template: hello-elementor
*/

/* ============================================================
   TYPOGRAFIE
   ============================================================ */

/* Kursive, leichte Schrift für hervorgehobene Überschriften-Spans */
.heading-span {
    font-weight: 400;
    font-style: italic;
}


/* ============================================================
   MASONRY-LAYOUT
   ============================================================ */

/* Flex-Container mit Zeilenumbruch für das Masonry-Raster */
.my-masonry {
    flex-wrap: wrap;
}

/* Maximale Höhe eines einzelnen Masonry-Elements */
.masonry-item2 {
    max-height: 245px;
}


/* ============================================================
   NEWSLETTER-FORMULAR (Contact Form 7)
   ============================================================ */

/* Eingabefelder: hellgrüner Hintergrund, abgerundete Ecken, kursive Poppins-Schrift */
.cf7-newsletter input {
    background: #E5F8DA;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    color: #173203;
    font-family: "poppins", Sans-serif;
}

/* Placeholder-Farbe passend zur Schriftfarbe */
.cf7-newsletter input::placeholder {
    color: #173203;
    opacity: 1;
}

/* Absende-Button: fett, mit Abstand links */
.cf7-newsletter .wpcf7-submit {
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px;
    padding: 8px 32px;
}


.cf7-newsletter .wpcf7-submit:hover,
.cf7-newsletter .wpcf7-submit:focus,
.cf7-newsletter .wpcf7-submit:active {
    background: #CD181A;
}
/* Formular-Layout: horizontale Flex-Reihe mit Abstand */
.cf7-newsletter {
    display: flex;
    gap: 40px;
}


/* ============================================================
   FAQ / ACCORDION (Elementor Accordion-Widget)
   ============================================================ */

/* Geöffneter Accordion-Titel: fett dargestellt */
summary.e-n-accordion-item-title[aria-expanded="true"] .e-n-accordion-item-title-text {
    font-weight: 700;
}

/* FAQ-Karten: abgerundete Ecken, grüner Rahmen, Overflow versteckt */
.faq details {
    border-radius: 25px;
    overflow: hidden !important;
    border: 1px solid #173203;
}


/* ============================================================
   RESPONSIVE – MOBILE (max. 780px)
   ============================================================ */

@media (max-width: 780px) {

    /* Newsletter-Formular: vertikal gestapelt statt nebeneinander */
    .cf7-newsletter {
        display: block;
        gap: 40px;
    }

    /* Absende-Button: volle Breite, kein linker Abstand */
    .cf7-newsletter .wpcf7-submit {
        width: 100%;
        margin: 0px;
    }
}


/* ============================================================
   DYNAMISCHES POPUP-SYSTEM (Kartenbasiert)
   ============================================================ */

/* Datenhaltungs-Elemente für Popup-Inhalte (Bild, Text, Link) – komplett ausgeblendet */
.popup-description-data,
.popup-button-text-data,
.popup-button-link-data,
.popup-caption-data,
.popup-image-data {
    display: none !important;
}

/* Auslöser-Karte: Zeiger-Cursor als Hinweis auf Klickbarkeit */
.popup-card-trigger {
    cursor: pointer;
}

/* Popup-Hintergrundbild: vollflächig zentriert und beschnitten */
.dynamic-popup-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ============================================================
   ALLGEMEINES LAYOUT
   ============================================================ */

/* Kein horizontaler Überlauf auf Body-Ebene */
body {
    max-width: 100vw;
    overflow-x: hidden;
}


/* ============================================================
   TEAM-BESCHREIBUNG (Klappelement)
   ============================================================ */

/* Smooth-Transition für ausklappende Team-Beschreibungen */
.description-team {
    overflow: hidden;
    transition: 2s !important;
}

/* Standardmäßig eingeklappt (Höhe 0) */
.description-team {
    height: 0;
}

/* Schließen-Icon standardmäßig ausgeblendet */
.close-icon {
    display: none;
}


/* ============================================================
   ELEMENTOR LOOP – VOLLHÖHIGE CARDS
   ============================================================ */

/* Loop-Items im Container auf volle Höhe dehnen */
.elementor-element-8b6d155 .e-loop-item .e-parent {
    height: 100%;
}


/* ============================================================
   CUSTOM SELECT / DROPDOWN
   ============================================================ */

/* Wrapper für das native Select mit eigenem Icon */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

/* Natives Select-Element: System-Pfeil entfernen, Platz für eigenes Icon */
.custom-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
}

/* Icon rechts im Select-Wrapper, vertikal zentriert, nicht klickbar */
.custom-select-wrapper .select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Icon-Bild: feste Größe */
.custom-select-wrapper .select-icon img {
    width: 24px;
    height: 24px;
}

/* Vollbreites Custom-Dropdown mit Pointer-Cursor */
.custom-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
}

/* Angezeigter Wert (Trigger-Zeile): Flex, weißer Hintergrund */
.select-selected {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

/* Dropdown-Liste: standardmäßig ausgeblendet, absolut positioniert */
.select-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 10;
}

/* Dropdown-Inhalt: hellgrüner Hintergrund, Einzug oben, abgerundete Unterseite */
.select-items {
    padding: 10px 20px;
    padding-top: 30px;
    margin-top: -20px;
    z-index: 99;
    background: #E5F8DA;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* Fetter Eintragstitel im Dropdown */
.item-title {
    font-weight: bold;
    display: block;
}

/* Zeilenumbrüche innerhalb Dropdown-Einträgen unterdrücken */
.dropdown-item br {
    display: none;
}

/* Untertitel im Dropdown: dezenter, kleiner */
.item-subtitle {
    font-weight: normal;
    display: block;
    font-size: 0.9rem;
    color: #555;
}

/* Dropdown-Icon: absolut rechts oben */
.select-icon {
    position: absolute;
    top: 0;
    right: 10px;
    width: 24px;
}

/* Icon-Zustände (offen/geschlossen): feste Größe und leichter Abstand nach oben */
.icon-closed,
.icon-open {
    width: 24px;
    height: 24px;
}

.icon-closed,
.icon-open {
    margin-top: 6px;
}

/* Dropdown-Container: Außenabstände, halbe Breite */
.custom-dropdown {
    margin-top: 10px;
    margin-bottom: 25px;
    width: 50%;
}

/* Hilfsklasse: Flex-Spalte, rechtsbündig ausgerichtet */
.d-flex {
    display: flex;
    gap: 20px;
}

/* Submit-Wrapper: auto-Breite, Flex-Spalte, nach unten ausgerichtet */
.sbt {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

/* Negativer Abstand unter .sbt-Absätzen */
.sbt p {
    margin-bottom: -10px;
}


/* ============================================================
   KONTAKTFORMULAR (Contact Form 7)
   ============================================================ */

/* Eingabefelder: gleiche Stilsprache wie Newsletter-Formular */
.contact-form-wrapper input {
    background: #E5F8DA;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    color: #173203;
    font-family: "poppins", Sans-serif;
}

/* Textarea: feste Mindesthöhe, kein manuelles Resize */
.contact-form-wrapper textarea {
    height: 100px !important;
    min-height: 110px !important;
    resize: none;
}

/* Textarea und .select-selected: gemeinsame Stile */
.contact-form-wrapper textarea,
.select-selected {
    background: #E5F8DA;
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    color: #173203;
    font-family: "poppins", Sans-serif;
}

/* .select-selected: Über Dropdown-Liste gelegt */
.select-selected {
    z-index: 999;
    position: relative;
}

/* Placeholder-Farben für Input und Textarea */
.contact-form-wrapper input::placeholder,
.select-selected {
    color: #173203;
    opacity: 1;
}

.contact-form-wrapper textarea::placeholder {
    color: #173203;
    opacity: 1;
}

/* Absende-Button: transparenter Hintergrund, Outline-Stil */
.contact-form-wrapper .wpcf7-submit {
    font-size: 14px;
    font-weight: 700;
    margin-left: 10px;
    padding: 8px 32px;
    background: transparent;
    border: 1px solid #173203;
    color: #173203;
    font-family: "poppins", Sans-serif;
}

/* Kein unterer Abstand bei Absätzen im .select-selected */
.select-selected p {
    margin-bottom: 0;
}

/* Dropdown-Eintragstext: kleine, kursive Poppins-Schrift in Dunkelgrün */
.dropdown-item span {
    font-size: 12px;
    font-weight: 400;
    font-family: "poppins", Sans-serif;
    color: #173203;
}

/* Fetter Titel im Dropdown-Eintrag */
.dropdown-item .item-title {
    font-weight: 800;
}

/* Zeilenumbrüche im Icon-Bereich unterdrücken */
.select-icon br {
    display: none;
}

/* Versteckte E-Mail-Felder (Honeypot / technische Felder) */
.hidden-email {
    display: none !important;
}

/* Nachrichtenfeld: volle Breite */
.msg {
    width: 100%;
}

.contact-form-row {
	margin-bottom: 20px;
	max-width: 595px;
	flex-wrap: wrap;
}


@media (max-width: 480px) {
   .contact-form-row .wpcf7-form-control-wrap {
	   width: 100%;
   }
}

.contact-form-section {
	margin-bottom: 25px;
}

.wpcf7-form-control-wrap[data-name="foerdermitglied_usedata"] .wpcf7-acceptance .wpcf7-list-item {
	margin-left: 0;
}

.contact-form-row > .wpcf7-submit {
	margin-left: 0;
}

.wpcf7-form-control-wrap[data-name="foerdermitglied_quarterbilling"],
.wpcf7-form-control-wrap[data-name="foerdermitglied_anualbilling"] {
	max-width: 100px;
}

.signature-pad canvas {
  border-radius: 15px;
}

.clear-button {
 font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
	margin-bottom: 20px;
    padding: 8px 32px;
    background: transparent;
    border: 1px solid #173203;
    color: #173203;
    font-family: "poppins", Sans-serif;
	border-radius: 15px;
	font-style: italic;
}


.wpcf7-form .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: none;
  background: none;
  padding: 0;
  height: auto;
  width: auto;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
	margin-left: 0;
}

.wpcf7-form .wpcf7-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  line-height: 1.5;
}

.wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.75rem !important;
  min-width: 1.75rem !important;
  max-width: 1.75rem !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  padding: 0 !important;
  margin: 0;
  box-sizing: border-box;
  border: 2px solid #173303;
  border-radius: 0.3rem;
  background: transparent;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}


.wpcf7-form .wpcf7-checkbox input::before {
  content: "";
  width: 0.45rem;
  height: 0.9rem;
  border: solid #173303;
  border-width: 0 3px 3px 0;
  border-radius: 0;
  background: transparent;
  transform: translateY(-1px) rotate(45deg) scale(0);
  transition: transform 0.15s ease;
  box-sizing: border-box;
}

.wpcf7-form .wpcf7-checkbox input:checked {
  border-color: #173303;
}

.wpcf7-form .wpcf7-checkbox input:checked::before {
  transform: translateY(-1px) rotate(45deg) scale(1);
}


.wpcf7-form .wpcf7-checkbox input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 124, 111, 0.2);
  border-color: #173303;
  background: transparent;
}

.signature-pad canvas{
	background: #E5F8DA;
}

/* ============================================================
   ELEMENTOR POPUPS – Z-INDEX & STILE
   ============================================================ */

/* Schließen-Button im Popup 908: abgerundete Ecken */
#elementor-popup-modal-908 .dialog-lightbox-close-button {
    border-radius: 20px;
    padding: 3px;
}

/* Template 112: über alle anderen Elemente gelegt */
.elementor-112 {
    z-index: 9999;
    position: relative;
}

/* Popup 942: leicht unter dem Standard-Popup-Z-Index */
#elementor-popup-modal-942 {
    z-index: 999;
}

/* Alle Elementor-Popups: höchster Z-Index-Stack */
.elementor-popup-modal {
    z-index: 99999;
}

/* Popup 359: Glasmorphismus-Effekt mit Blur, abgerundeter Rahmen */
#elementor-popup-modal-359 .dialog-lightbox-message {
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: 1px solid #ffffff3b;
}


/* ============================================================
   NAVIGATIONSMENÜ (Seitenleiste / Fly-In)
   ============================================================ */

/* Menüpunkte: abgerundete linke Ecken (visuelles Highlight-Design) */
.menu-item {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

/* Hamburger-Menü-Toggle: feste Abmessungen, hochster Z-Index */
.menu-toggle {
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 9999;
}

/* Hamburger-Linien: dunkelgrün, abgerundet, Transition für Animation */
.menu-toggle span {
    position: absolute;
    width: 38px;
    height: 4px;
    background: #173203;
    left: 0;
    transition: all 0.4s ease;
    border-radius: 10px;
}

/* Obere Linie */
.menu-toggle span:nth-child(1) {
    top: 6px;
}

/* Untere Linie */
.menu-toggle span:nth-child(2) {
    top: 18px;
}

/* Aktiver Zustand (Menü offen): helle Linienfarbe */
.menu-toggle.active span {
    background: #E5F8DA;
}

/* Obere Linie rotiert zu X (45°) */
.menu-toggle.active span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
}

/* Untere Linie rotiert zu X (-45°) */
.menu-toggle.active span:nth-child(2) {
    top: 12px;
    transform: rotate(-45deg);
}

/* Vollbild-Overlay-Menü: standardmäßig unsichtbar */
.menu-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
}

/* Aktives Overlay: sichtbar */
.menu-popup.active {
    opacity: 1;
    visibility: visible;
}

/* Popup-Inhalt: weißer Kasten, zentriert, max. 500px breit */
.popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

/* Menü-Container: initial rechts außerhalb des Viewports, slide-in via JS */
#menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    transition: right 0.5s ease;
}


/* ============================================================
   MARQUEE / LAUFTEXT
   ============================================================ */

/* Äußerer Marquee-Container: Overflow versteckt, keine Textmarkierung */
.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
}

/* Marquee-Gruppe: Flex-Reihe, endlose Links-Scroll-Animation */
.marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 100%;
    animation: scroll 40s linear infinite reverse;
    margin-left: 5px;
}

/* Marquee-Text: weiß, Bebas Neue, kein Zeilenumbruch */
.marquee__group span {
    color: white;
    font-family: "Bebas Neue", Sans-serif !important;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    position: relative;
    padding-right: 18px;
}

/* Trennzeichen „+" zwischen Marquee-Einträgen via Pseudo-Element */
.marquee__group span::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 14px;
    font-weight: 400;
}

/* Keyframes: von links nach rechts (reverse ergibt Rechts-nach-Links) */
@keyframes scroll {
/*     from {
        transform: translateX(calc(-100% - 2rem));
    }
    to {
        transform: translateX(0);
    } */
	
	  from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

/* Zweiter Marquee (.marq2): umgekehrte Animationsrichtung */
.marq2 .marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 100%;
    animation: scroll2 40s linear infinite reverse;
}

@keyframes scroll2 {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}


/* ============================================================
   NAVIGATIONSMENÜ – HOVER-EFFEKT MIT SVG-ICON
   ============================================================ */

/* Links im Hauptmenü: Flex-Reihe mit Icon-Platz */
#menu-1-08f5c1a li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

/* Icon vor dem Menütext: standardmäßig unsichtbar und leicht verschoben */
#menu-1-08f5c1a li a::before {
    content: "";
    width: 40px;
    height: 40px;
    display: inline-block;
    background-image: url("https://downs.dakmecustomers.de/wp-content/uploads/2026/04/Group-110.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    margin-left: 510px;
    z-index: 99;
    margin-top: 5px;
}

/* Icon beim Hover: einblenden und an Position schieben */
#menu-1-08f5c1a li:hover a::before {
    opacity: 1;
    transform: translateX(0);
}

/* Hover-Hintergrund des Menüpunkts: dunkles Grün */
#menu-1-08f5c1a li:hover {
    background: #173203E5;
}
@media(max-width:780px){
	#menu-1-08f5c1a li a::before{
		margin-left:70vw ;
	}
}


/* ============================================================
   RESPONSIVE – MOBILE (max. 780px) – NAVIGATION & DROPDOWN
   ============================================================ */

@media (max-width: 780px) {

    /* Desktop-only Elemente ausblenden */
    .desk {
        display: none;
    }

    /* Dropdown-Container: volle Breite auf Mobile */
    .custom-dropdown {
        width: 100%;
    }
}


.themen{
	cursor:pointer;
}

/* ============================================================
   ELEMENTOR CONTAINER – ANIMIERTES PADDING
   ============================================================ */

/* Inner-Container mit Top-Padding und Übergangsanimation */
.elementor-element-9bcf428 .e-con-inner {
    padding-top: 38px;
    transition: 0.4s !important;
}