{% block footer %}{% set socialMediaSnippets = sulu_snippet_load_by_area('footer_social_media_links') %}{% set contentSnippets = sulu_snippet_load_by_area('footer_content') %}<footer id="footer" class="footer" style="margin-top: 3%"><div class="footer-content position-relative" style="background-color: #D7D7D2; font-size: 25px; line-height: 1.2; font-family: Rajdhani Medium,serif"><div class="container"><div class="row mx-1 "><div class="col-lg-4 col-md-6" style="margin-top: -15px; line-height: 1.1"><div class="footer-info" ><p>{{ contentSnippets.content.footerInfoBlock|raw }}</p></div></div><!-- End footer info column--><div class="col-lg-2 col-md-3 footer-links">{% set lines = contentSnippets.content.footerInfo2Block|split('\n') %}{% for line in lines %}{% if ',' in line %}{% set safeLine = line|replace({'\\,': '##ESCAPED_COMMA##'}) %}{% set parts = safeLine|split(',') %}{% if parts|length >= 2 %}{% set url = parts[1]|trim|replace({'##ESCAPED_COMMA##': ','}) %}{% set displayName = parts[0]|trim|replace({'##ESCAPED_COMMA##': ','}) %}<div>{% if url|lower starts with 'http://' or url|lower starts with 'https://' or url|lower starts with '/' %}<a href="{{ url }}"><strong>{{ displayName }}</strong></a>{% else %}{{ displayName }}: {{ url }}{% endif %}</div>{% endif %}{% else %}<div style="color:#293C46FF;">{{ line }}</div>{% endif %}{% endfor %}</div><!-- End footer links column--><div class="col-lg-2 col-md-3 footer-links">{% set lines = contentSnippets.content.footerInfo3Block|split('\n') %}{% for line in lines %}{% set isStrong = line starts with '##' %}{% set cleanedLine = isStrong ? line|slice(2) : line %}{% set parts = cleanedLine|split(',') %}{% if parts|length >= 2 %}<div><a href="{{ parts[1]|trim }}">{% if isStrong %}<strong>{{ parts[0]|trim }}</strong>{% else %}{{ parts[0]|trim }}{% endif %}</a></div>{% endif %}{% endfor %}</div><!-- End footer links column--><div class="col-lg-1 col-md-3 footer-links-3">{% set lines = contentSnippets.content.footerInfo4Block|split('\n') %}{% for line in lines %}{% set isStrong = line starts with '##' %}{% set cleanedLine = isStrong ? line|slice(2) : line %}{% set parts = cleanedLine|split(',') %}{% if parts|length >= 2 %}<div><a href="{{ parts[1]|trim }}">{% if isStrong %}<strong>{{ parts[0]|trim }}</strong>{% else %}{{ parts[0]|trim }}{% endif %}</a></div>{% endif %}{% endfor %}</div><!-- End footer links column--></div><!-- Move the logos section outside of the columns, but inside the container style="bottom: 30px;left: 75%; transform: translateX(-50%); --><div class="col d-flex footer-icons"><div class="logos">{% for socialMediaContentBlock in socialMediaSnippets.content.blocks %}<a href="{{ socialMediaContentBlock.urlIcon }}"><img src="{{ socialMediaContentBlock.imageSelection.url }}" alt="Logo" style="max-height: 60px; margin-right: 30px;"></a>{% endfor %}</div></div></div></div></div>{# <div class="footer-legal text-center position-relative" style="background-color: #D7D7D2"><div class="container"><div class="copyright" style="margin-bottom: 10px;">entwickelt von <img src="{{ asset('build/website/website/styles/icon/designdaemon.png') }}" alt="Icon" style="max-height: 40px; margin-left: 10px; margin-right: 10px;"><strong><span><a href="https://www.design-daemon.de">Design Daemon.</a></span></strong><br> All Rights Reserved</div></div><!-- logos section --><div class="logos">{% for socialMediaContentBlock in socialMediaSnippets.content.blocks %}<a href="{{ socialMediaContentBlock.urlIcon }}"><imgsrc="{{ socialMediaContentBlock.imageSelection.url }}" alt="Logo 1"style="max-height: 40px; margin-right: 10px;"></a>{% endfor %}</div></div>#}</footer>{% endblock %}