@font-face {
    font-family: "Manrope Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Sora Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 800;
    src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Sora Variable";
    font-style: normal;
    font-display: swap;
    font-weight: 100 800;
    src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-body: "Manrope Variable", sans-serif;
    --font-heading: "Sora Variable", sans-serif;
    --text-primary: #1f2f4f;
    --text-muted: #4d5f80;
    --surface-soft: #f7f9fc;
    --surface-soft-border: #d8e0ee;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open #navbarburger {
    opacity: 0;
    pointer-events: none;
}

.section {
    padding: clamp(2.5rem, 5.5vw, 4.5rem) 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.card-header-title,
.overlay a {
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

p,
li,
.subtitle,
.content,
.table,
.button {
    font-family: var(--font-body);
}

.logo-container {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

#logo {
    max-height: 5rem;
}

.fixed-burger {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 130;
}

.menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.95rem 0.55rem 0.8rem;
    background-color: #326eb5;
    color: #ffffff;
    box-shadow: 0 12px 24px -16px rgba(25, 52, 91, 0.65);
    cursor: pointer;
}

.menu-trigger:focus-visible,
.overlay-close:focus-visible,
.overlay a:focus-visible {
    outline: 3px solid #ffce5a;
    outline-offset: 2px;
}

.menu-trigger-icon {
    width: 20px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}

.menu-trigger-icon span {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-trigger-label {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
}

.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 140;
    top: 0;
    left: 0;
    background-color: rgba(25, 53, 92, 0.88);
    backdrop-filter: blur(3px);
    overflow-y: hidden;
    pointer-events: none;
    transition: height 0.35s ease;
    font-family: var(--font-heading);
}

.overlay.is-open {
    height: 100%;
    pointer-events: auto;
}

.overlay-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    width: min(92vw, 720px);
    padding: 5.6rem 0.5rem 1.5rem;
    text-align: center;
    display: none;
}

.overlay.is-open .overlay-content {
    display: grid;
    gap: 0.75rem;
}

.overlay a {
    min-height: 56px;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #20406d;
    border-radius: 14px;
    border: 1px solid #d6e2f4;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.15rem, 2.7vw, 1.35rem);
    font-weight: 650;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.overlay a:hover,
.overlay a:focus {
    color: #183660;
    background-color: #eaf2ff;
}

.overlay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.overlay-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

#banner_img {
    margin-top: 0;
    padding: 0.25rem 0 0;
}

.home-hero {
    padding: 0.4rem 0 1.4rem;
}

.home-hero .hero-body {
    padding: 0;
}

.banner-frame {
    position: relative;
    width: min(88vw, 980px);
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #d4deee;
    box-shadow: 0 18px 34px -24px rgba(16, 36, 71, 0.58);
    background: #ffffff;
}

.banner-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(14, 33, 62, 0.04) 0%,
        rgba(14, 33, 62, 0.16) 100%
    );
}

.banner-frame img {
    display: block;
    width: 100%;
    height: clamp(170px, 24vw, 250px);
    object-fit: cover;
    object-position: center 58%;
}

#text_unter_banner {
    margin-top: 0;
}

#schein_info,
.section-info-box {
    padding: 5%;
    margin-top: 0;
}

#tabelle_preise,
.section-table-prices {
    padding: 5%;
}
.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
#eu_foerderungs_logo {
    width: 40%;
    height: auto;
}
#eu_foerderungs_logo_container {
    margin: auto;
}
.button {
    margin: 0.35rem 0.25rem;
}
.image-limit {
    max-width: 800px;
    margin: auto;
}
.card_margin {
    margin: auto;
}
.level {
    padding-top: 5%;
}

#custom-image-container {
    max-width: 500px;
    margin: 0 auto;
}

.is-96x96 {
    width: 96px;
    height: 96px;
}

.is-inline-block {
    display: inline-block;
}

.card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px -24px rgba(16, 36, 71, 0.5);
}

.home-intro .title {
    margin-bottom: 1.35rem;
}

.home-intro {
    padding-top: clamp(1.4rem, 3.2vw, 2.25rem);
}

.lead-text {
    margin: 0.75rem auto 0;
    max-width: 100%;
    padding: 1.2rem 1.35rem;
    text-align: left;
    font-size: 1.06rem;
    line-height: 1.75;
    background-color: #f6f8fc;
    border: 1px solid #dce4f1;
    border-radius: 16px;
}

.home-mentions .columns {
    row-gap: 0.85rem;
}

.home-offer .columns {
    align-items: center;
    row-gap: 1.2rem;
}

.home-offer .content {
    max-width: 68ch;
    margin: 0 auto;
}

.home-offer .lead-text {
    max-width: 66ch;
}

.custom-section .card-custom {
    background-color: #326eb5;
    color: white;
    width: 100%;
    border-radius: 14px;
}

.custom-section .card-featured {
    transform: scale(1.03);
    box-shadow: 0 18px 34px -24px rgba(16, 36, 71, 0.62);
}

.custom-section .column {
    display: flex;
}

.custom-section .card-custom .card-content {
    background-color: white;
    color: #326eb5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 166px;
    padding: 1.35rem 1.25rem;
}

.custom-section .card-custom .card-footer a {
    color: white;
    min-height: 50px;
    font-weight: 650;
}

.custom-section .card-custom .card-footer a:hover {
    color: #326eb5;
    background-color: white;
}

.title {
    font-weight: 650;
    line-height: 1.2;
    text-wrap: balance;
}

.subtitle {
    color: var(--text-muted);
    line-height: 1.45;
}

.message,
.notification {
    border-radius: 14px;
}

.notification {
    border: 1px solid var(--surface-soft-border);
    background-color: var(--surface-soft);
    box-shadow: 0 10px 30px -24px rgba(16, 36, 71, 0.5);
}

.notification .title,
.message .title {
    margin-bottom: 0.55rem;
}

.notification p,
.message-body {
    color: var(--text-primary);
    font-size: 1.02rem;
    line-height: 1.7;
}

.message {
    box-shadow: 0 10px 28px -24px rgba(16, 36, 71, 0.55);
}

.message-header {
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

.message.is-grey-light .message-body {
    background-color: #f6f8fc;
}

.message.is-info .message-body,
.notification.is-info {
    background-color: #edf5ff;
    border-color: #bdd7f4;
}

.card-header {
    background-color: #326eb5;
}

.card-header-title {
    color: white;
}

#angler_nav_buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#angler_nav_buttons .content {
    width: 100%;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    background-color: #326eb5;
}

.scroll-to-top svg {
    height: 24px;
    width: 24px;
    fill: white;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapse-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.collapse-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    fill: white;
}

.collapse-button.rotated svg {
    transform: rotate(180deg);
}

.restaurant-status-notice {
    border-left: 6px solid #b54f32;
    background: #fff4ed;
    color: #4a281f;
}

.restaurant-status-notice .title {
    color: #8f3018;
}

.footer .content {
    line-height: 1.9;
}

.footer a {
    display: inline-block;
}

.footer a + a {
    margin-left: 0.75rem;
}

@media (max-width: 768px) {
    .section {
        padding: 2.35rem 1rem;
    }

    .fixed-burger {
        top: 12px;
        right: 12px;
    }

    .menu-trigger {
        min-height: 52px;
        padding: 0.5rem 0.85rem 0.5rem 0.72rem;
    }

    .menu-trigger-label {
        font-size: 0.92rem;
    }

    .overlay-content {
        width: min(94vw, 640px);
        padding-top: 5rem;
        gap: 0.65rem;
    }

    .home-hero {
        padding: 0.2rem 0 1rem;
    }

    .banner-frame {
        width: min(92vw, 720px);
        border-radius: 16px;
    }

    .banner-frame img {
        height: clamp(150px, 40vw, 210px);
        object-position: center 56%;
    }

    .lead-text {
        font-size: 1rem;
        line-height: 1.7;
        padding: 1rem 1.1rem;
    }

    .custom-section .card-featured {
        transform: none;
        box-shadow: 0 12px 30px -24px rgba(16, 36, 71, 0.5);
    }

    .map-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    #eu_foerderungs_logo {
        width: 80%;
        height: auto;
    }
    #angler_nav_buttons {
        display: block;
    }
    #angler_nav_buttons .content {
        display: grid;
        gap: 0.6rem;
        justify-items: stretch;
    }
    #angler_nav_buttons .button {
        width: 100%;
        margin: 0;
    }
}
