/* ========================================
   GRUNDEINSTELLUNGEN
======================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: #222222;
    background-color: #fdfaf5;
    font-family: Arial, Helvetica, sans-serif;
}

body.menu-is-open {
    overflow: hidden;
}

/* ========================================
   BANNER UND HAUPTNAVIGATION
======================================== */

.hero {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    background-image: url("../assets/images/banner.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.42);
}

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-size: 21px;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background-color: #ffffff;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.navigation li {
    margin: 0;
}

/* Rechtliche Seiten auf dem Desktop nur im Footer anzeigen */
.navigation .legal-nav-item {
    display: none;
}

.navigation a,
.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 2px solid transparent;
    border-radius: 8px;
    color: #ffffff;
    background: transparent;
    font: inherit;
    font-size: 17px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease,
        border-color 0.2s ease, transform 0.2s ease;
}

.navigation a:hover,
.nav-login:hover,
.navigation a:focus-visible,
.nav-login:focus-visible {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.18);
}

.navigation a.active {
    border-color: #ffffff;
    color: #ffffff;
    background-color: #232e2a;
    font-weight: 700;
}

.nav-account {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.menu-toggle {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 270px;
    padding: 20px;
    text-align: center;
}

.hero-content h1 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 58px);
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.75);
}

/* ========================================
   SEITENINHALT
======================================== */

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

main h2 {
    margin-top: 0;
}

main p {
    line-height: 1.6;
}

.disclaimer {
    width: fit-content;
    max-width: 760px;
    margin: 0 auto 35px;
    padding: 12px 18px;
    border: 1px solid #232e2a;
    border-radius: 8px;
    text-align: center;
}

.disclaimer p {
    margin: 0;
    color: #232e2a;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
}

.impressum-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.impressum-text {
    width: 50%;
    max-width: 750px;
    margin-right: auto;
    margin-left: 12%;
    padding-bottom: 50px;
}

.impressum-text p {
    line-height: 1.6;
}

.impressum-text section {
    margin-bottom: 28px;
}

.impressum-text a {
    overflow-wrap: anywhere;
}

/* ========================================
   LOGIN UND REGISTRIERUNG
======================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.55);
}

.auth-box {
    position: relative;
    width: 90%;
    max-width: 410px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    border-radius: 20px;
    color: #111827;
    background-color: #ffffff;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

.close {
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 0;
    border: 0;
    color: #777777;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.close:hover,
.close:focus-visible {
    color: #111827;
}

.auth-box h2 {
    margin: 0 0 8px;
    padding-right: 28px;
    color: #111827;
    font-size: 25px;
}

.subtitle {
    margin: 0 0 25px;
    color: #6b7280;
}

.auth-box label {
    display: block;
    margin-bottom: 7px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.auth-box input {
    width: 100%;
    margin-bottom: 17px;
    padding: 13px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    outline: none;
    color: #111827;
    background-color: #ffffff;
    font-size: 16px;
}

.auth-box input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

.submit {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    background-color: #111827;
    font-size: 16px;
    cursor: pointer;
}

.submit:hover,
.submit:focus-visible {
    opacity: 0.88;
}

.switch {
    margin-top: 18px;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}

.switch-button {
    padding: 0;
    border: 0;
    color: #111827;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.switch-button:hover,
.switch-button:focus-visible {
    text-decoration: underline;
}

.message {
    min-height: 18px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.account {
    display: none;
    align-items: center;
    gap: 10px;
}

.username {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.logout {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.logout:hover,
.logout:focus-visible {
    background-color: rgba(255, 255, 255, 0.18);
}

/* ========================================
   FUSSZEILE
======================================== */

.site-footer {
    width: 100%;
    margin-top: 60px;
    padding: 28px 20px 48px;
    border: 0;
    background-color: #fdfaf5;
}

.footer-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.footer-navigation a {
    display: inline-block;
    width: 160px;
    padding: 10px 18px;
    border-radius: 5px;
    color: #ffffff;
    background-color: #232e2a;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-navigation a:hover {
    background-color: #232e2a;
    transform: translateY(-2px);
}

.footer-navigation a:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

/* ========================================
   TABLET UND SMARTPHONE: SEITENMENUE
======================================== */

@media (max-width: 800px) {
    .navigation .legal-nav-item {
        display: block;
    }

    .hero {
        min-height: auto;
        background-position: center;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }

    .menu-toggle {
        position: relative;
        z-index: 100001;
        display: flex;
        flex: 0 0 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        box-shadow: none;
        cursor: pointer;
    }

    .menu-toggle:hover,
    .menu-toggle:focus,
    .menu-toggle:focus-visible,
    .menu-toggle:active {
        border: 0;
        outline: 0;
        background: transparent;
        box-shadow: none;
    }

    .menu-toggle.menu-active {
        position: fixed;
        top: 18px;
        left: 18px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        border-radius: 3px;
        background-color: #ffffff;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .menu-toggle.menu-active span {
        background-color: #232e2a;
    }

    .menu-toggle.menu-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.menu-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.menu-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
        font-size: 18px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .nav-account {
        position: absolute;
        top: 14px;
        right: 16px;
        z-index: 100001;
        display: flex;
        align-items: center;
        margin: 0;
    }

    .nav-account .nav-login {
        width: auto;
        min-height: 38px;
        padding: 6px 10px;
        border: 2px solid transparent;
        border-radius: 8px;
        color: #ffffff;
        background: transparent;
        font-size: 15px;
        text-align: center;
    }

    .nav-account .nav-login:hover,
    .nav-account .nav-login:focus-visible {
        background-color: rgba(255, 255, 255, 0.18);
    }

    .nav-account .username {
        display: none;
    }

    .nav-account .logout {
        width: auto;
        min-height: 38px;
        padding: 6px 10px;
    }

    .navigation {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100000;
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 10px;
        width: min(82vw, 320px);
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 82px 18px 30px;
        overflow-y: auto;
        visibility: hidden;
        background-color: #fdfaf5;
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
        transform: translateX(-105%);
        transition: transform 0.3s ease, visibility 0.3s ease;
    }

    .navigation.menu-open {
        visibility: visible;
        transform: translateX(0);
    }

    .navigation li {
        width: 100%;
    }

    .navigation a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        padding: 11px 16px;
        border: 2px solid transparent;
        border-radius: 8px;
        color: #000000;
        background-color: transparent;
        font-size: 16px;
        text-align: left;
        text-decoration: none;
    }

    .navigation a:hover,
    .navigation a:focus-visible {
        color: #000000;
        background-color: rgba(35, 46, 42, 0.10);
    }

    .navigation a.active,
    .navigation a.active:hover,
    .navigation a.active:focus-visible {
        border-color: #232e2a;
        color: #ffffff;
        background-color: #232e2a;
        font-weight: 700;
    }

    .navigation .account {
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .username {
        padding: 10px 16px;
    }

    .logout {
        width: 100%;
        min-height: 44px;
    }

    .hero-content {
        min-height: 210px;
        padding: 35px 20px;
    }

    .hero-content h1 {
        font-size: 38px;
        overflow-wrap: anywhere;
    }

    main,
    .impressum-container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 30px 18px;
    }

    .impressum-text {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 0 40px;
    }

    .impressum-text h2 {
        font-size: 28px;
    }

    .impressum-text h3 {
        font-size: 19px;
        overflow-wrap: anywhere;
    }

    .disclaimer {
        margin: 10px auto 30px;
        padding: 0;
    }

    .disclaimer p {
        font-size: 14px;
        line-height: 1.5;
    }

    .site-footer {
        margin-top: 35px;
        padding: 25px 18px 35px;
    }

    .footer-navigation {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
    }

    .footer-navigation a {
        width: 100%;
    }

    .modal {
        padding: 15px;
    }

    .auth-box {
        width: 100%;
        padding: 28px 20px;
        border-radius: 15px;
    }
}

/* ========================================
   SEHR KLEINE SMARTPHONES
======================================== */

@media (max-width: 420px) {
    .navigation {
        width: min(86vw, 300px);
        padding-right: 14px;
        padding-left: 14px;
    }

    .brand {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    main,
    .impressum-container {
        padding: 25px 16px;
    }
}


/* ========================================
   FESTE NAVIGATIONSLEISTE
======================================== */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50000;

    width: 100%;
    background-color: rgb(35, 46, 42, 85%);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ========================================
   ZUM SEITENANFANG
======================================== */

.scroll-top {
    position: fixed !important;
    top: auto !important;
    right: max(20px, env(safe-area-inset-right)) !important;
    bottom: max(20px, env(safe-area-inset-bottom)) !important;
    left: auto !important;
    z-index: 49000;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 52px !important;
    height: 52px !important;
    min-width: 52px;
    min-height: 52px;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    background-color: #232e2a !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 6px 18px rgba(35, 46, 42, 0.30);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);

    transition: opacity 0.28s ease, visibility 0.28s ease,
        transform 0.28s ease, background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top.is-visible:hover {
    color: #ffffff !important;
    background-color: #34433e !important;
    transform: translateY(-3px);
    box-shadow: 0 9px 22px rgba(35, 46, 42, 0.36);
}

.scroll-top:focus-visible {
    outline: 3px solid #232e2a;
    outline-offset: 3px;
}

@media (max-width: 800px) {
    .navbar {
        background-color: rgba(35, 46, 42, 0.50);
    }

    .scroll-top {
        right: max(14px, env(safe-area-inset-right)) !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;

        width: 48px !important;
        height: 48px !important;
        min-width: 48px;
        min-height: 48px;

        font-size: 23px;
    }
}

/* ========================================
REZEPTSUCHE
======================================== */

.recipe-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 24px 80px;
}

/* Suchbereich */

.ingredient-search {
    padding: 32px;
    border: 1px solid rgba(35, 46, 42, 0.18);
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 12px 35px rgba(35, 46, 42, 0.08);
}

.search-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.search-heading .eyebrow {
    margin: 0;
    color: #596c64;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.search-heading h2 {
    margin: 5px 0 12px;
    color: #232e2a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 5vw, 42px);
}

.search-heading p {
    margin-bottom: 0;
    color: #4b5563;
    line-height: 1.7;
}

/* Formularelemente */

.ingredient-form label,
.search-options label {
    display: block;
    margin-bottom: 8px;
    color: #232e2a;
    font-weight: 700;
}

.ingredient-input-row {
    display: flex;
    gap: 12px;
}

.ingredient-input-row input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #b8c0bc;
    border-radius: 10px;
    outline: none;
    color: #232e2a;
    background-color: #fdfaf5;
    font: inherit;
    font-size: 17px;
    line-height: 1.4;
}

.ingredient-input-row input:focus {
    border-color: #232e2a;
    outline: 3px solid rgba(35, 46, 42, 0.12);
}

.ingredient-input-row input::placeholder {
    color: #7b8580;
}

/* Buttons */

.ingredient-add-button,
.recipe-search-button,
.recipe-details-button {
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background-color: #232e2a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.ingredient-add-button {
    padding: 12px 20px;
}

.recipe-search-button {
    width: 100%;
    margin-top: 25px;
    padding: 14px 20px;
    font-size: 17px;
}

.recipe-details-button {
    width: 100%;
    margin-top: 25px;
    padding: 12px 16px;
}

.ingredient-add-button:hover,
.recipe-search-button:hover,
.recipe-details-button:hover {
    background-color: #34433e;
    transform: translateY(-1px);
}

.ingredient-add-button:focus-visible,
.recipe-search-button:focus-visible,
.recipe-details-button:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

.recipe-search-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

/* Ausgewählte Zutaten */

.ingredient-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 45px;
    margin-top: 20px;
}

.ingredient-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #abc0b6;
    border-radius: 999px;
    color: #232e2a;
    background-color: #edf2ef;
}

.ingredient-chip button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #232e2a;
    background-color: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.ingredient-chip button:hover {
    color: #ffffff;
    background-color: #b91c1c;
}

.ingredient-chip button:focus-visible {
    outline: 2px solid #232e2a;
    outline-offset: 2px;
}

/* Suchoptionen */

.search-options {
    margin-top: 22px;
}

.search-options select {
    width: 100%;
    max-width: 280px;
    padding: 11px 13px;
    border: 1px solid #b8c0bc;
    border-radius: 9px;
    outline: none;
    color: #232e2a;
    background-color: #fdfaf5;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
}

.search-options select:focus {
    border-color: #232e2a;
    outline: 3px solid rgba(35, 46, 42, 0.12);
}

/* Statusmeldung */

.recipe-status {
    min-height: 24px;
    margin: 18px 0 0;
    color: #4b5563;
    text-align: center;
}

/* Ergebnisbereich */

.recipe-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    margin-top: 35px;
}

/* Rezeptkarte */

.recipe-card {
    overflow: hidden;
    border: 1px solid rgba(35, 46, 42, 0.15);
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 10px 28px rgba(35, 46, 42, 0.08);
}

.recipe-card-content {
    padding: 24px;
}

.recipe-card h3 {
    margin: 0 0 10px;
    color: #232e2a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.25;
}

/* Prozentanzeige */

.recipe-percentage {
    margin: 0 0 10px;
    color: #34433e;
    font-size: 17px;
    font-weight: 700;
}

.recipe-progress {
    width: 100%;
    height: 9px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 999px;
    background-color: #e5e7eb;
}

.recipe-progress-value {
    height: 100%;
    border-radius: inherit;
    background-color: #3f755f;
    transition: width 0.3s ease;
}

/* Vorhandene und fehlende Zutaten */

.recipe-ingredient-section {
    margin-top: 20px;
}

.recipe-ingredient-section h4 {
    margin: 0 0 9px;
    color: #232e2a;
    font-size: 17px;
}

.recipe-ingredient-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recipe-ingredient-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #374151;
    line-height: 1.4;
}

.recipe-ingredient-symbol {
    width: 20px;
    flex: 0 0 20px;
    font-weight: 900;
    text-align: center;
}

.recipe-ingredient-list-available .recipe-ingredient-symbol {
    color: #15803d;
}

.recipe-ingredient-list-missing .recipe-ingredient-symbol {
    color: #b91c1c;
}

/* Tablet und Smartphone */

@media (max-width: 800px) {
    .recipe-page {
        padding: 35px 16px 60px;
    }

    .ingredient-search {
        padding: 24px 18px;
    }

    .ingredient-input-row {
        flex-direction: column;
    }

    .ingredient-add-button {
        width: 100%;
    }

    .search-options select {
        max-width: none;
    }

    .recipe-results {
        grid-template-columns: 1fr;
    }
}

/* Sehr kleine Smartphones */

@media (max-width: 420px) {
    .recipe-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .ingredient-search {
        padding: 20px 14px;
    }

    .recipe-card-content {
        padding: 20px 16px;
    }

    .recipe-card h3 {
        font-size: 21px;
    }
}

/* STARTSEITE VOLLBILD FIX */
.home-hero{min-height:100vh;min-height:100svh}
.home-hero .navbar{background:rgba(35,46,42,.94)}
.home-hero-content{position:absolute;top:50%;left:50%;z-index:2;flex-direction:column;width:min(92%,950px);min-height:0;padding:24px;transform:translate3d(-50%,calc(-50% + var(--shift,0px)),0)}
.home-hero-content h1{font-size:clamp(42px,5vw,72px);line-height:1.12}
.home-hero-subtitle{margin:28px 0 0;color:#fff;font-size:clamp(18px,1.5vw,23px);font-weight:700;line-height:1.4;text-shadow:0 2px 5px rgba(0,0,0,.85)}
.home-scroll-down{position:absolute;right:50%;bottom:22px;z-index:3;display:grid;place-items:center;width:54px;height:54px;padding:0;border:0;border-radius:50%;color:rgba(255,255,255,.78);background:rgba(0,0,0,.12);cursor:pointer;transform:translateX(50%)}
.home-scroll-down span{width:17px;height:17px;border-right:4px solid currentColor;border-bottom:4px solid currentColor;animation:scroll-hint 1.8s ease-in-out infinite}
@keyframes scroll-hint{0%,100%{transform:translateY(-5px) rotate(45deg);opacity:.6}50%{transform:translateY(3px) rotate(45deg);opacity:1}}
.home-content{max-width:1200px;padding:55px 24px 70px}
@media(max-width:800px){.home-hero-content{top:52%;width:94%}.home-hero-content h1{font-size:clamp(36px,9vw,54px)}.home-scroll-down{bottom:14px;width:48px;height:48px}.home-content{padding:42px 18px 60px}}
@media(prefers-reduced-motion:reduce){.home-scroll-down span{animation:none;transform:rotate(45deg)}}

/* ========================================
DESKTOP-NAVIGATION: KOMPAKTERE ABSTAENDE
Gilt zentral fuer alle Seiten ab 801 Pixel Breite.
Die mobile Burger-Navigation bleibt unveraendert.
======================================== */
@media (min-width: 801px) {
    .navigation {
        gap: 8px;
    }

    .navigation a,
    .nav-login {
        padding-right: 10px;
        padding-left: 10px;
    }

    .nav-account {
        margin-left: 4px;
    }

    .account {
        gap: 8px;
    }
}


/* STARTSEITE: EIGENES BANNER UND AKTUELLES LOGO */
.hero {
    background-image: url("../assets/images/banner.png");
}

.hero.home-hero {
    background-image: url("../assets/images/banner_frontpage.png?v=20260827-2");
}




/* Navbar-Logo */
.brand img {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
}
