<footer class="c-site-footer">
    <div class="c-site-footer__container">
        <div class="c-site-footer__grid">
            <div class="c-site-footer__column">
                <f:if condition="{footerLogo}">
                    <noscript>
                        <img
                            src="{neos.media:uri.image(image: footerLogo)}"
                            class="c-site-footer__logo"
                            width="150c"
                            alt="{pageTitle}" />
                    </noscript>

                    <img
                        data-src="{neos.media:uri.image(image: footerLogo)}"
                        class="c-site-footer__logo lazyload"
                        width="150c"
                        alt="{pageTitle}" />
                </f:if>
                <p class="c-site-footer__contact">
                    <strong>{companyName}</strong><br />
                    {companyAddress}
                </p>
                <p>
                    <a href="tel:{companyPhone}" class="c-site-footer__link"><f:translate id="word.phone" package="Newland.CityTheme" source="Main"/> {companyPhone}</a><br />
                    <a href="mailto:{companyMail}" class="c-site-footer__link">{companyMail}</a>
                </p>
            </div>

            <f:if condition="{neos:rendering.inBackend()}">
                <f:then>
                    <div class="c-site-footer__column">
                        <h4 class="c-site-footer__heading">
                            {footerTitleButtons}
                        </h4>
                        {footer.buttons -> f:format.raw()}
                    </div>
                </f:then>
                <f:else>
                    <div class="c-site-footer__column">
                        <f:if condition="{footer.hasButtons}">
                            <h4 class="c-site-footer__heading">
                                {footerTitleButtons}
                            </h4>
                            {footer.buttons -> f:format.raw()}
                        </f:if>
                    </div>
                </f:else>
            </f:if>

            <div class="c-site-footer__column">
                <h4 class="c-site-footer__heading">
                    {footerTitleLinks}
                </h4>
                <div class="c-site-footer__social-wrapper">
                    <ul class="c-site-footer__social">
                        <f:if condition="{facebookLink}">
                            <li class="c-site-footer__social-element">
                                <a href="{facebookLink}" class="c-site-footer__link" target="_blank">
                                    <svg class="c-icon c-site-footer__social-icon">
                                        <use xlink:href="#icon-facebook"></use>
                                    </svg>
                                </a>
                            </li>
                        </f:if>
                        <f:if condition="{instagramLink}">
                            <li class="c-site-footer__social-element">
                                <a href="{instagramLink}" class="c-site-footer__link" target="_blank">
                                    <svg class="c-icon c-site-footer__social-icon">
                                        <use xlink:href="#icon-instagram"></use>
                                    </svg>
                                </a>
                            </li>
                        </f:if>
                        <f:if condition="{twitterLink}">
                            <li class="c-site-footer__social-element">
                                <a href="{twitterLink}" class="c-site-footer__link" target="_blank">
                                    <svg class="c-icon c-site-footer__social-icon">
                                        <use xlink:href="#icon-twitter"></use>
                                    </svg>
                                </a>
                            </li>
                        </f:if>
                        <f:if condition="{youtubeLink}">
                            <li class="c-site-footer__social-element">
                                <a href="{youtubeLink}" class="c-site-footer__link" target="_blank">
                                    <svg class="c-icon c-site-footer__social-icon">
                                        <use xlink:href="#icon-youtube"></use>
                                    </svg>
                                </a>
                            </li>
                        </f:if>
                        <f:if condition="{pinterestLink}">
                            <li class="c-site-footer__social-element">
                                <a href="{pinterestLink}" class="c-site-footer__link" target="_blank">
                                    <svg class="c-icon c-site-footer__social-icon">
                                        <use xlink:href="#icon-pinterest"></use>
                                    </svg>
                                </a>
                            </li>
                        </f:if>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="c-site-footer__bottom-wrapper">
        <div class="c-site-footer__bottom">
            {parts.footerNavigation -> f:format.raw()}

            <div class="c-site-footer__partners">
                {footer.logos -> f:format.raw()}
            </div>
        </div>
    </div>
</footer>
