<!DOCTYPE html>
<html lang="en">
    <head>
        <title>{{company.titel}}</title>
        <meta charset="utf-8" >
        <link rel="icon" type="image/x-icon" href="{{company.favicon.cache}}">
        <!-- Bootstrap CSS only -->
        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
        <!-- Bootstrap JavaScript Bundle with Popper -->
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
        <!-- Bootstrap Icons -->
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
        <!-- Fontawesome -->
        <script src="https://kit.fontawesome.com/56f96da298.js" crossorigin="anonymous"></script>
        <!-- Markdown -->
        <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
        <link rel="stylesheet" href="static/css/default.css">
    </head>
    <body>
        <div class="container">
            <header class="header">
              <img src="{{company.logo.cache}}" alt="logo"/>
              <h1>{{company.titel}}</h1>
              <h2>{{company.subtitel}}</h2>
              <br />
            </header>
            {% set menu_type = "header" %}
            {% include "moduls/navigation.html.j2"%}
            {% block content %}{% endblock %}
            {% set menu_type = "footer" %}
            {% include "moduls/navigation.html.j2" %}
            <footer class="footer">
                <div itemscope itemtype="http://schema.org/LocalBusiness" class="small">
                    <p itemprop="name">{{ company.titel }} <br />
                    {{ company.subtitel }}</p>
                    <span><i class="fa-solid fa-location-dot"></i> {{ company.address.values() | join(", ") }}</span>
                    <p><a href="{{company.imprint_url}}"><i class="fa-solid fa-scale-balanced"></i> Imprint</a></p>
                </div>
            </footer>
        </div>
        <!-- Include modal -->
        {% include "moduls/modal.html.j2" %}
        <script src="{{ url_for('static', filename='js/modal.js') }}"></script>
        <script src="{{ url_for('static', filename='js/submenus.js') }}"></script>
        <script src="{{ url_for('static', filename='js/tooltip.js') }}"></script>
    </body>
</html>