<div class="picture-text mb-5 mb-md-7">
<div class="picture-text-visual {% if pimcore_select("pt-order").getData() == "picture-right" %}order-md-1{% endif %}">
{% if editmode %}
{{ pimcore_image("pt-image") }}
{% else %}
<picture>
{% if not pimcore_image('pt-image').isEmpty() %}
<source media="(min-width:768px)" srcset="{{ pimcore_image('pt-image').getSrc() }}">
{% endif %}
{% if not pimcore_image('pt-mobile-image').isEmpty() %}
<img src="{{ pimcore_image('pt-mobile-image').getSrc() }}" alt="{{ pimcore_image('pt-mobile-image').getAlt() }}"/>
{% else %}
<img src="{{ pimcore_image('pt-image').getSrc() }}" alt="{{ pimcore_image('pt-image').getAlt() }}"/>
{% endif %}
</picture>
{% endif %}
</div>
<div class="picture-text-words">
<div class="picture-text-words-inner">
<h3>{{ pimcore_input('pt-headline') }}</h3>
<p>{{ pimcore_input('pt-text') }}</p>
{{ pimcore_link('pt-link', {'class' : 'picture-text-link'}) }}
</div>
</div>
</div>