<header class="js-affix-nav__placeholder">
<nav class="main-navbar js-search-overlay js-affix-nav">
<div class="main-navbar__container h-100 js-simple-nav">
{% do jsConfig().add('simpleNav', true) %}
{% do jsConfig().add('searchOverlay', true) %}
<button class="nav-toggle collapsed js-simple-nav__toggle"
type="button"
aria-expanded="false"
aria-label="{{ 'sr.Toggle Navigation'|trans }}"
aria-controls="main-navbarbar-nav">
<span class="nav-toggle__line"></span>
<span class="nav-toggle__line"></span>
<span class="nav-toggle__line"></span>
<span class="sr-only">{{ 'sr.Toggle Navigation'|trans }}</span>
<span class="d-md-none d-block nav-toggle__text">{{ 'navbar.Menu'|trans }}</span>
</button>
<div class="main-navbar__top">
<a href="{{ siteConfig.home }}" class="main-navbar__top__back d-md-block d-none">
<span class="icon icon-arrow-left mr-2" aria-hidden="true"></span>
{{ ('magazine.back.' ~ document.property('region').name)|trans }}
</a>
<div class="main-navbar__top__brand-wrapper">
<a href="{{ document.property('blogPortal').overviewDocument }}" class="position-relative">
{% if siteConfig.logoMagazin is not null %}
{{ siteConfig.logoMagazin.thumbnail('magazine-navbar-brand').html({imgAttributes: {class: 'img-fluid main-navbar__brand' }})| raw }}
{% else %}
{{ siteConfig.logo.thumbnail('magazine-navbar-brand').html({imgAttributes: {class: 'img-fluid main-navbar__brand' }})| raw }}
{% endif %}
<img src="/static/img/magazine/logo-magazin.svg" class="img-fluid main-navbar__brand-magazin">
</a>
</div>
<button type="button" class="main-navbar__search-btn js-search-overlay__toggle d-md-flex d-none">
<span class="icon icon-search main-navbar__search-btn__icon main-navbar__search-btn__icon--opened" aria-label="{{ 'sr.Search'|trans }}" title="{{ 'sr.Search'|trans }}"></span>
<span class="icon icon-close main-navbar__search-btn__icon main-navbar__search-btn__icon--close" aria-label="{{ 'sr.Close Search'|trans }}" title="{{ 'sr.Close Search'|trans }}"></span>
<span class="text-uppercase fz12 mt-1">{{ 'magazin.suche'|trans }}</span>
</button>
</div>
<button class="main-navbar__regions js-simple-nav__toggle-overlay d-md-none"
aria-label="{{ 'sr.Show Overlay'|trans }}"
title="{{ 'sr.Show Overlay'|trans }}"
data-nav-overlay-target="#regionsOverlay">
<span class="icon icon-pin-regions" aria-hidden="true"></span>
<span class="main-navbar__regions-text">
{{ 'nav.Regionen'|trans }}
</span>
<span class="icon icon-arrow-down main-navbar__regions-arrow-down" aria-hidden="true"></span>
</button>
{% set level = level | default(0) %}
{% set id = id | default('main-navbar-nav') %}
<section id="{{ id }}" class="simple-nav simple-nav--level-{{ level }} {{ styleModifier | default('js-simple-nav__collapse') }}">
{% if false %}
<div class="simple-nav__title simple-nav__title--level-{{ level }}" role="heading">
<a href="{{ currentPage.getUri() }}" class="simple-nav__title-link simple-nav__title-link--level-{{ level }}">
{{ currentPage.getDocument().getProperty('navTitleText') ?: currentPage.getLabel() }}
</a>
</div>
{% endif %}
<div class="main-navbar__search-overlay js-search-overlay__overlay">
<form action="{{ document.property('blogPortal').searchDocument }}" class="main-navbar__search-overlay__form">
<div class="form-group mt-2 row" data-stylelab-tooltip="atoms-form-control">
<div class="col-md-9 col-8">
<label class="form-control-label sr-only form-control-label--search" for="nav-search">{{ 'nav.Suche'|trans }}...</label>
<input type="text" class="form-control form-control--search js-search-overlay__input" placeholder=" {{ 'nav.Suche'|trans }}..." name="nav-search" id="nav-search" placeholder="" value="" title="{{ 'nav.Suche'|trans }}" aria-label="{{ 'nav.Suche'|trans }}">
</div>
<div class="col-md-3 col-4 d-flex align-items-center">
<button type="submit" class="btn btn-primary btn-sm">
{{ 'nav.Suchen'|trans }}
</button>
</div>
</div>
</form>
</div>
<ul class="simple-nav__list simple-nav__list--level-{{ level }} list-unstyled js-simple-nav__list">
{{ magazineNavigation( document, siteConfig ) }}
{% if document.property('regionOverlay') is instanceof('\\Pimcore\\Model\\Document\\Snippet') %}
<li class="simple-nav__item simple-nav__item--level-{{ level }} d-md-flex d-none">
<button class="main-navbar__regions js-simple-nav__toggle-overlay"
aria-label="{{ 'sr.Show Overlay'|trans }}"
title="{{ 'sr.Show Overlay'|trans }}"
data-nav-overlay-target="#regionsOverlay">
<span class="icon icon-pin-regions" aria-hidden="true"></span>
<span class="main-navbar__regions-text">
{{ 'magazine.nav.Regionen'|trans }}
</span>
<span class="icon icon-arrow-down main-navbar__regions-arrow-down" aria-hidden="true"></span>
</button>
</li>
{% endif %}
</ul>
</section>
{% if document.property('regionOverlay') is instanceof('\\Pimcore\\Model\\Document\\Snippet') %}
{{ pimcore_inc(document.property('regionOverlay'), {'isMagazine': true}) }}
{% endif %}
</div>
<a href="{{ siteConfig.home }}" class="main-navbar__top__back d-md-none">
<span class="icon icon-arrow-left mr-2" aria-hidden="true"></span>
{{ ('magazine.back.' ~ document.property('region').name)|trans }}
</a>
</nav>
</header>