        * {
            box-sizing: border-box;
        }
        .content_de,
        .content_en,
        .content_fr,
        .content_fa {
            display: none !important;
        }

        html.lang-de .content_de,
        html.lang-en .content_en,
        html.lang-fr .content_fr,
        html.lang-fa .content_fa {
            display: revert !important;
        }

        html,
        body {
            margin: 0;
            min-height: 100%;
        }

        body {
            font-family: Arial, sans-serif;
            color: #333;

            min-height: 100vh;

            /* Dezenter Hintergrund außerhalb des Contents */
            background: linear-gradient(
                to right,
                #e5e5e5,
                #f5f5f5,
                #e5e5e5
            );

            display: grid;
            grid-template-rows: auto 1fr auto;
        }


        /* =========================
           HEADER
           ========================= */

        header {
         height:200px;
            grid-column: 1 / -1;

            background: white;

            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);

            position: relative;
            z-index: 10;

            display: grid;
            grid-template-columns: 1fr minmax(0, 800px) 2fr;
            
        
    	    will-change: transform;
        }

        header .inner {
            grid-column: 2;
          position: relative;
            padding: 1rem 2rem;
        }


        /* =========================
           CONTENT
           ========================= */

        main {
            display: grid;
            grid-template-columns: 1fr minmax(0, 800px) 2fr;
        }

        main .content {
            grid-column: 2;
            position:relative;

            background: #fff;

            min-height: 400px;

            padding: 2rem;

            /* Dezente Blattbegrenzung */
            border-left: 1px solid rgba(0, 0, 0, 0.08);
            border-right: 1px solid rgba(0, 0, 0, 0.08);

            box-shadow: 0 0 8px rgba(0, 0, 0, 0.03);
        }


        /* =========================
           FOOTER
           ========================= */

        footer {
            grid-column: 1 / -1;

            background: #2f7195;
            color: white;

            display: grid;
            grid-template-columns: 1fr minmax(0, 800px) 2fr;
              box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.12);
              
                            z-index:500;

        }

        footer .inner {
            grid-column: 2;

            padding: 1rem 2rem;
        }


div#navi {
    --s: 200px;

    position: absolute;
    top:-4px;
    left:10px;

    width: var(--s);
    height: var(--s);

    display: flex;
    justify-content: center;
    align-items: center;
    float:left;
}
div#merci_extend {
    --s: 200px;
   color: #2f7195;
    font-size: calc(var(--s) * 0.167);
    letter-spacing:0.3em;
    font-weight: 100;
    font-family: archivo;
     transform: rotate(-12deg);
     position:absolute;
    top:33px;
    left:205px;
}


div#merci_langtext{
   color: #bbc;
    font-size: 26px;
    letter-spacing:0.07em;
    font-weight: normal;
    font-family: archivo;
 
     position:absolute;
    top:80px;
    right:5px;
    text-align:right;
}
div#merci_langtext div{
  padding:10px;
}

/* MERCI */

div#merci {
    width: calc(var(--s) * 0.75);
    height: calc(var(--s) * 0.75);

    box-sizing: border-box;

    font-family: archivo;
    background: #fff;

    border-radius: 50%;
    border: calc(var(--s) * 0.05) solid #2f7195;

    color: #2f7195;
    font-size: calc(var(--s) * 0.167);
    font-weight: 900;

    transform: rotate(-12deg);

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow:
        0 0 calc(var(--s) * 0.03)
        rgba(0, 0, 0, 0.29);
}


/* Sprachsymbole */

/* Sprachsymbole */

.lang-marker {
    position: absolute;
    cursor:pointer;
}

.lang-marker::before {
    content: "";
    position: absolute;

    width: 115%;
    aspect-ratio: 1;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: #fff;
    border-radius: 50%;
    border: 2px solid #dde;

    opacity: 0;
    z-index: 0;
}

.lang-marker.active::before {
    opacity: 1;
}

lang-marker.active::after {
    opacity: 1;
}

.lang-marker img {
    position: relative;
    z-index: 1;

    display: block;
    width: 100%;
    height: auto;
}


/* Positionen */

#de {
    top: 55%;
    left: 70%;
    width: 27%;
}
#de::after {content: "DE";top: 85%;left: 80%;}

#fr {
    top: 5%;
    left: 53%;
    width: 33%;
}
#fr::after {content: "FR";top: 0%;left: 105%;}
#en {
    top: 14%;
    right: 65%;
    width: 37%;
}
#en::after {content: "EN";top: 0%;right: 70%;}
#fa {
    top: 65%;
    right: 50%;
    width: 33%;
}

#fa::after {content: "FA";top: 60%;right: 70%;}


.lang-marker::after {position: absolute; transform: translateX(-50%) translateY(4px);padding: 1px 4px; border-radius: 10px;background: #dde;color: white;font-family: sans-serif;font-size: 9px;font-weight: bold;line-height: 1.2;letter-spacing: 0.08em;white-space: nowrap;pointer-events: none; 
     opacity: 0;
}

.lang-marker.active::after {
    opacity: 1;
}




/* --------------------------------------------------
   KUGEL
-------------------------------------------------- */
.imgconatiner{
	width:50%;
	background-color:#333;
	color:#fff;
	padding:0;
	border:1px solid #333;
	border-radius:5px;
	float:right;
	margin-left:5px;

}
.imgconatiner span {
	    font-size: 10px;
	    margin-left:5px;
}

#raum {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    background-color:#fff;
    	border-top-right-radius:3px;
    	border-top-left-radius:3px;
}

#info {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 10;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    pointer-events: none;
}

#info strong {
    font-size: 16px;
}


/* -----------------------------------------------
   BUTTONS
------------------------------------------------ */
.joinproject-sticker {
    position: absolute;
    right:20px;
    transform:  translateY(-150px) rotate(7deg);
    width: 120px;
    height: 120px;

    border-radius: 50%;

    background: #2f7195;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    font-family: archivo;
    font-weight: normal;
    font-size: 17px;
    line-height: 1.5;


    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);

    z-index: 100;
    border-width:0px;
}


.joinproject-sticker span {
    display: block;
    margin:1px;
    margin-bottom:10px;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.joinproject-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.joinproject-buttons button,
#bookButton {
    padding: 14px 22px;

    border: 0;
    background: #202020;
    color: #fff;

    font-weight: 700;
    cursor: pointer;
}

.joinproject-buttons button:disabled,
#bookButton:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.joinproject-panel {
   background: #2f7195;
    color: white;
    border-radius:15px;
       box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
    max-height: 0;
    overflow: hidden;

    opacity: 0;

    transition:
        max-height 600ms ease,
        opacity 400ms ease;
}

.joinproject-panel.open {
    max-height: 1000px;
    opacity: 1;
}

.joinproject-languages {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.joinproject-languages label {
    display: flex;
    align-items: center;
    gap: 8px;

    direction: ltr;
}
/* =========================================================
   JOIN PROJECT FORM
   ========================================================= */
.joinproject-content {
    padding: 30px;
}


/* Formular mittig, maximal 400px */

#joinproject-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}


/* Eingabebereiche */

.joinproject-field {
    width: 100%;
    margin-bottom: 20px;
}


/* Kleine Labels oberhalb */

.joinproject-field label,
.joinproject-languages legend {
    display: block;
    margin-bottom: 6px;

    font-size: 13px;
    font-weight: 600;
}


/* Eingabefelder */

.joinproject-field input,
.joinproject-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    border: 0;
    border-radius: 12px;

    background: white;
    color: #202020;

    font: inherit;
    font-size: 16px;
}

.joinproject-field textarea {
    resize: vertical;
}


/* Sprachauswahl */

.joinproject-languages {
    width: 100%;
    box-sizing: border-box;

    margin: 0 0 20px 0;
    padding: 12px 14px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.joinproject-languages label {
    display: flex;
    align-items: center;
    gap: 8px;

    direction: ltr;
}


/* Button rechtsbündig innerhalb der 400px */

.joinproject-submit {
    display: block;
    margin-left: auto;

    padding: 12px 20px;

    border: 0;
    border-radius: 12px;

    background: white;
    color: #2f7195;

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}

/* Sprachauswahl */

.joinproject-languages {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;

    margin: 0 0 20px 0;
    padding: 12px 14px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.joinproject-languages label {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

/* Farsi: Checkbox rechts vom Text */

.joinproject-content[dir="rtl"] .joinproject-languages label {
    flex-direction: row-reverse;
}

/* Absende-Button innerhalb der 400px rechts */

.joinproject-submit {
    display: block;

    margin-left: auto;

    padding: 12px 20px;

    border: 0;
    border-radius: 12px;

    background: white;
    color: #2f7195;

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}


/*
 * Der Button braucht einen 400px breiten Bezugsrahmen.
 * Da er direkt im Formular liegt, begrenzen wir das Formular selbst.
 */

#joinproject-form {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

/* --------------------------------------------------
   BASIS
-------------------------------------------------- */

@font-face {
    font-family: archivo;
    src: url(ArchivoBlack-Regular.ttf);
}

p {
	text-align:justify;
	line-height:1.4em;
}

.content_fa {
    direction: rtl;
    text-align: right;
    font-size: 120%;
    display:none;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-align:center;
    margin-bottom:1em;
}



/* =========================================================
   MERCI – EINLADUNG / DIALOG
   Eigenständige visuelle Gestaltung innerhalb des Dokuments
   ========================================================= */


/* ---------------------------------------------------------
   1. GRUNDKÖRPER DES DIALOGS
--------------------------------------------------------- */

.dialog {
    /*
       Der Dialog reicht bis an die Content-Ränder.
       Dadurch entsteht tatsächlich ein eigener Kapitelraum.
    */

    margin: 4rem -2rem 3rem -2rem;
    padding: 0 2rem 4rem 2rem;

    background: #f4f7f8;

    border-top: 1px solid #dce5e9;
    border-bottom: 1px solid #dce5e9;

    /*
       Bewusst andere Typografie als der Haupttext.
       Humanistische Sans-Serif statt Georgia.
    */

    font-family: "Trebuchet MS", Arial, sans-serif;

    color: #46565d;

    line-height: 1.6;
}


/* ---------------------------------------------------------
   2. KAPITELÜBERSCHRIFT
--------------------------------------------------------- */

.dialog h2 {
    margin: 0 -2rem 2.5rem -2rem;

    padding: 2.5rem 2rem 2rem 2rem;

    background: #e8f0f3;

    border-bottom: 1px solid #d3e0e5;

    color: #1f6185;

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 2rem;
    font-weight: normal;

    line-height: 1.2;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-align: left;
}


/* ---------------------------------------------------------
   3. EINLEITUNG / LEAD
--------------------------------------------------------- */

/*
   Der erste Absatz des Dialogs erhält die Klasse:

   <p class="dialog-lead">...</p>
*/

.dialog-lead {
    margin: 0 0 3rem 0;

    padding: 1.5rem 2rem;

    background: #ffffff;

    border-left: 4px solid #2f7195;

    color: #234b60;

    font-size: 1.12rem;
    line-height: 1.65;

    text-align: left;
}


/* ---------------------------------------------------------
   4. KONTEXT / RAHMENBEDINGUNGEN
--------------------------------------------------------- */

/*
   Diese beiden Absätze dürfen bewusst niedriger priorisiert
   werden.

   HTML:

   <div class="dialog-context">
       <p>...</p>
       <p>...</p>
   </div>
*/

.dialog-context {
    max-width: 680px;

    margin: 0 auto 4rem auto;

    color: #657278;

    font-size: 0.95rem;
    line-height: 1.7;
}

.dialog-context p {
    margin: 0 0 1.2rem 0;

    text-align: left;
}

.dialog-context p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   5. EINZELNE BETEILIGUNGSFORMEN
--------------------------------------------------------- */

/*
   Jede Arbeitsform wird als eigenständige Station behandelt.

   HTML:

   <section class="dialog-offer">
       ...
   </section>
*/

.dialog-offer {
    margin: 0 0 4rem 0;
    padding-top: 2rem;

    border-top: 1px solid #cbd9df;
}

.dialog-offer:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   6. ÜBERSCHRIFT DER BETEILIGUNGSFORM
--------------------------------------------------------- */

.dialog-offer h3 {
    margin: 0 0 1.5rem 0;

    color: #1f6185;

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: normal;

    line-height: 1.3;

    letter-spacing: 0.03em;

    text-align: left;
}


/* ---------------------------------------------------------
   7. ZENTRALER GEDANKE / TAGLINE
--------------------------------------------------------- */

/*
   Der fett ausgezeichnete Satz wird zum visuellen Anker.

   HTML:

   <p class="dialog-tagline">
       <b>Gemeinsam Begriffe prüfen ...</b>
   </p>
*/

.dialog-tagline {
    margin: 0 0 1.8rem 0;

    padding: 1rem 1.5rem;

    background: rgba(255, 255, 255, 0.72);

    border-left: 3px solid #8eafbf;

    color: #315c70;

    font-size: 1.05rem;
    line-height: 1.55;

    text-align: left;
}


/*
   Das vorhandene <b> wird innerhalb der Einladung
   bewusst typografisch behandelt.
*/

.dialog b {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-style: normal;
    font-weight: 600;

    color: #315c70;
}


/* ---------------------------------------------------------
   8. ERLÄUTERNDER TEXT
--------------------------------------------------------- */

.dialog-description {
    max-width: 680px;

    margin: 0 0 2.5rem 0;

    color: #657278;

    font-size: 0.95rem;
    line-height: 1.7;

    text-align: left;
}


/* Falls keine dialog-description-Klasse verwendet wird,
   bleibt der normale Absatz innerhalb eines Angebots
   trotzdem zurückhaltend. */

.dialog-offer > p:not(.dialog-tagline):not(.dialog-note) {
    color: #657278;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}


/* ---------------------------------------------------------
   9. "WAS DU DAVON HAST"
--------------------------------------------------------- */

/*
   HTML:

   <div class="dialog-benefit">
       <h4>Was Du davon hast</h4>
       <ul>...</ul>
   </div>
*/

.dialog-benefit {
    margin: 2.5rem 0;

    padding: 1.5rem 2rem 1.7rem 2rem;

    background: #e8f0f3;

    border: 1px solid #d5e2e7;
    border-radius:20px;
    
  
}


/* Überschrift */

.dialog-benefit h4 {
    margin: 0 0 1.2rem 0;

    color: #1f6185;

    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: normal;

    line-height: 1.3;

    letter-spacing: 0.06em;
    text-transform: uppercase;

    text-align: left;
}


/* Liste */

.dialog-benefit ul {
    margin: 0;
    padding-left: 1.3rem;

      font-family: "Trebuchet MS", Arial, sans-serif;
    font-style: normal;
    font-weight: 600;

    color: #315c70;
}

.dialog-benefit li {
    margin-bottom: 0.65rem;

    line-height: 1.55;
}

.dialog-benefit li:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   10. ERGÄNZENDE HINWEISE / ABSCHLUSS
--------------------------------------------------------- */

/*
   HTML:

   <p class="dialog-note">...</p>
*/

.dialog-note {
    margin: 2rem 0 0 0;

    color: #7a858a;

    font-size: 0.85rem;
    font-style: italic;

    line-height: 1.55;

    text-align: left;
}


/* ---------------------------------------------------------
   11. ABSTÄNDE UND TYPOGRAFISCHE NORMALISIERUNG
--------------------------------------------------------- */

/*
   Verhindert, dass die globalen p-Regeln
   (text-align: justify) in der Einladung dominieren.
*/

.dialog p {
    text-align: left;
}

.dialog ul {
    text-align: left;
}


/* ---------------------------------------------------------
   12. RESPONSIVE DARSTELLUNG
--------------------------------------------------------- */

@media (max-width: 800px) {

    .dialog {
        margin: 2.5rem -1rem 2rem -1rem;
        padding: 0 1rem 2.5rem 1rem;
    }


    .dialog h2 {
        margin: 0 -1rem 2rem -1rem;
        padding: 2rem 1rem 1.5rem 1rem;

        font-size: 1.55rem;
        letter-spacing: 0.06em;
    }


    .dialog-lead {
        padding: 1.2rem 1.3rem;

        font-size: 1rem;
        line-height: 1.6;
    }


    .dialog-context {
        margin-bottom: 3rem;

        font-size: 0.9rem;
    }


    .dialog-offer {
        margin-bottom: 3rem;
        padding-left: 1rem;
    }


    .dialog-offer h3 {
        font-size: 1.25rem;
    }


    .dialog-tagline {
        padding: 0.9rem 1rem;

        font-size: 1rem;
    }


    .dialog-benefit {
        border-radius: 20px 0 0 20px;

    }




    .dialog-benefit h4 {
        font-size: 0.95rem;
    }


    .dialog-benefit ul {
        padding-left: 1.1rem;
    }
    

    .faq .dialog-lead {
        cursor: pointer;
    }

    .faq .dialog-description {
        display: none;
    }

    .faq .dialog-lead.active + .dialog-description {
        display: block;
    }
}
    
    

div.faq p.dialog-description {
	text-indent: 1em; 
}






        /* =========================
           MOBILE / KLEINERE FENSTER
           ========================= */

        @media (max-width: 800px) {

            body {
                background: #fff;
            }

            header,
            main,
            footer {
                display: block;
            }

            header .inner,
            footer .inner {
                padding: 1rem;
            }

            main .content {
                padding: 1rem;

                border-left: none;
                border-right: none;
                box-shadow: none;
            }
                    header {
         height:110px;}
         
            div#merci_langtext{
  
    font-size: 9px;
    letter-spacing:0.1em;
 right:0px;
   
    
top:45px;
}

div#navi {
    --s: 100px;

    position: absolute;
    top:2px;
    left:10px;

    width: var(--s);
    height: var(--s);

    display: flex;
    justify-content: center;
    align-items: center;
    float:left;
}
div#merci_extend {
--s: 100px;
   color: #2f7195;
    font-size: calc(var(--s) * 0.167);
    letter-spacing:0.3em;
    font-weight: 100;
    font-family: archivo;
   
     position:absolute;
    top:21px;
    left:110px;
}







.imgconatiner{
	width:100%;
	float:none;
	margin-left:0px;

}
.imgconatiner span {
	    font-size: 9px;
}


#de::after {content: "DE";top: 85%;left: 80%;}
#fr::after {content: "FR";top: -20%;left: 105%;}
#en::after {content: "EN";top: -30%;right: 20%;}
#fa::after {content: "FA";top: 60%;right: 55%;}



        }
        
        
        
        
        
        
        
        
    #wissensnetz {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

#wissensnetz svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

#wissensnetz .relationen line {
    stroke: #aaa;
    stroke-width: 1.5;
    opacity: 0.7;
}

#wissensnetz .knoten circle {
    fill: white;
    stroke: #2f7195;
    stroke-width: 1.5;
}

#wissensnetz .knoten text {
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: Arial, sans-serif;
    font-size: 12px;
    fill: #333;
    pointer-events: none;
}
        
        
        
        
        
  /* =========================================
   FOOTER ICON TRAY
   ========================================= */

#footer-tray {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.5rem;

    width: min(100%, 520px);
    margin: 0.5rem auto 0.1rem auto;
    padding: 0.75rem 1rem;

    background: rgba(45, 45, 45, 0.60);
    border: 1px solid rgba(210, 210, 210, 0.65);
    border-radius: 14px;

    box-sizing: border-box;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* =========================================
   EINZELNES ICON
   ========================================= */

.tray-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    flex: 1 1 0;

    min-width: 60px;
    padding: 0.45rem 0.5rem;

    border: none;
    border-radius: 10px;

    background: transparent;
    color: #e0e0e0;

    cursor: pointer;

    font-family: inherit;
    font-size: 0.75rem;
    line-height: 1.2;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease;
}

.tray-icon span {
    text-align: center !important;
}

/* =========================================
   SVG
   ========================================= */

.tray-icon svg {
    width: 34px;
    height: 34px;

    margin-bottom: 0.35rem;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.18s ease;
}


/* =========================================
   HOVER / FOCUS
   ========================================= */

.tray-icon:hover,
.tray-icon:focus-visible {
    background: rgba(210, 210, 210, 0.18);
    color: #ffffff;

    transform: scale(1.08);
}

.tray-icon:hover svg,
.tray-icon:focus-visible svg {
    transform: scale(1.05);
}


/* =========================================
   AKTIVER CLICK-ZUSTAND
   ========================================= */

.tray-icon:active {
    transform: scale(0.98);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 480px) {

    #footer-tray {
        gap: 0.15rem;
        padding: 0.1rem;
    }

    .tray-icon {
        min-width: 48px;
        padding: 0.4rem 0.2rem;
        font-size: 0.68rem;
    }

    .tray-icon svg {
        width: 28px;
        height: 28px;
    }

}      
        
             
        
        
        
        /* --------------------------------------------------
   APP-DIV
   -------------------------------------------------- */
.app-container {
    position: relative;
}


/* --------------------------------------------------
   APP-FENSTER
   -------------------------------------------------- */


.app-div {
    position: fixed;

    left: 3px;
    right: 3px;
    top: 3px;
    bottom: 3px;
padding:10px;
    background: #2f7195;
border-radius:10px;
    box-sizing: border-box;

    z-index: 10000;

    /* komplett unterhalb des Bildschirms parken */
    transform: translateY(calc(100% + 6px));

    transition: transform 0.25s ease;

    overflow: hidden;

    display: flex;
    flex-direction: column;
}


.app-div.is-visible {
    transform: translateY(0px);
     margin-bottom: 140px;
}


/* --------------------------------------------------
   SICHTBAR
   -------------------------------------------------- */


/* --------------------------------------------------
   SCHLIESSEN-KREUZ
   -------------------------------------------------- */

.app-close {
    position: absolute;

    top: 5px;
    right: 5px;

    width: 36px;
    height: 36px;

    border: none;
    padding: 0;

    background: #2f7195;

    color: white;

    font-size: 32px;
    line-height: 32px;

    cursor: pointer;

    z-index: 11;
}
.app-title {
    position: absolute;

    top: 5px;
    left: 5px;

    height: 36px;
    width:100%;

    border: none;
    padding: 1px;

    background: #2f7195;

    color: white;

    font-size: 20px;
    line-height: 20px;
    font-weight:800;

  
    z-index: 10;
}


.app-icon {
	height:30px;
	width:30px;
	float:left;
}
.app-name {
	margin-top:5px;
	padding-left:10px;
}

.app-footer {
    position: absolute;

    bottom: 5px;
    left: 5px;

    height: 36px;
    width:100%;

    border: none;
    padding: 4px;

    background: #2f7195;

    color: white;

    font-size: 20px;
    line-height: 20px;
    font-weight:800;
	text-align:center;
  
    z-index: 10;
}


/* --------------------------------------------------
   SCROLLBARER INHALT
   -------------------------------------------------- */

.app-content {
    flex: 1;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 30px;
    box-sizing: border-box;
    background-color:#fff;
    border-radius:10px;
}      

@media (min-width: 801px) {
    .app-div {
        left: calc((100vw - 900px) / 3);
        right: calc((100vw - 900px) * 2 / 3);
    }
}




.dialog-toggle {
  text-align: right;
  cursor: pointer;
  margin: 0;
}

.dialog-details {
  display: none;
}

.dialog-offer.open .dialog-details {
  display: block;
}

.dialog-toggle::before {
  content: " +";
}

.dialog-offer.open .dialog-toggle::before {
  content: " −";
}


#cloud-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 28px 20px;
    align-items: start;
}

.cloud-file {
    min-width: 0;
    cursor: pointer;
    text-align: center;
}

.cloud-file-icon-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
}

.cloud-file-icon {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.cloud-file-share {
    position: absolute;
    right: -7px;
    bottom: -7px;

    width: 32px;
    height: 32px;

    padding: 6px;
    border: 0;
    border-radius: 50%;

    background: white;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.22);

    cursor: pointer;
}

.cloud-file-share img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cloud-file-share:hover {
    transform: scale(1.08);
}

.cloud-file-share.shared::after {
    content: "✓";

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: white;

    font-size: 18px;
}

.cloud-file-name {
    color: #000;
    font-size: 0.9rem;
    line-height: 1.25;

    overflow-wrap: anywhere;
}

.cloud-file-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;

    margin-top: 5px;

    color: #aaa;
    font-size: 0.72rem;
    line-height: 1.2;
}

.cloud-error {
    grid-column: 1 / -1;
}


@media (max-width: 480px) {

    #cloud.app-div .app-content {
        padding: 30px 12px;
    }

    #cloud-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .cloud-file {
        width: 100%;
        min-width: 0;
    }
}



/* =========================================================
   MESSENGER
   ========================================================= */

#contact .app-content {
    padding: 0;
    padding-top:20px;
}

.messenger {
    height: 100%;

    display: flex;
    flex-direction: column;

    background: #f4f7f8;
}


/* ---------------------------------------------------------
   NACHRICHTEN
   --------------------------------------------------------- */

.messenger-messages {
    flex: 1;
    min-height: 0;

    overflow-y: auto;

    padding: 25px 20px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ---------------------------------------------------------
   BUBBLES
   --------------------------------------------------------- */

.message {
    max-width: 78%;

    padding: 11px 15px;

    border-radius: 18px;

    font-size: 0.95rem;
    line-height: 1.4;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* MERCI */

.message-system {
    align-self: flex-start;

    background: #fff;
    color: #333;

    border-bottom-left-radius: 5px;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}


/* Besucher */

.message-user {
    align-self: flex-end;

    background: #2f7195;
    color: #fff;

    border-bottom-right-radius: 5px;
}


/* ---------------------------------------------------------
   EINGABE
   --------------------------------------------------------- */

.messenger-input {
    flex: 0 0 auto;

    display: flex;
    align-items: flex-end;
    gap: 8px;

    padding: 10px;

    background: #fff;

    border-top: 1px solid #dde3e6;
}

.messenger-input textarea {
    flex: 1;

    min-height: 42px;
    max-height: 120px;

    padding: 10px 14px;

    border: 1px solid #ccd5d9;
    border-radius: 20px;

    outline: none;

    resize: none;

    font-family: inherit;
    font-size: 1rem;
    line-height: 1.3;

    background: #fff;
    color: #333;
}

.messenger-input textarea:focus {
    border-color: #2f7195;
}


/* ---------------------------------------------------------
   SENDEN
   --------------------------------------------------------- */

.messenger-send {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #2f7195;
    color: #fff;

    font-size: 19px;

    cursor: pointer;
}

.messenger-send:hover {
    transform: scale(1.06);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .messenger-messages {
        padding: 18px 12px;
    }

    .message {
        max-width: 88%;
    }

}




