@charset "UTF-8";

/* ═══════════════════════════════════════════════════════════════
   FLASCHENFINDER | main.css
   Mobile-first: 320px → 640px (sm) → 768px (md) → 900px (lg) → 1280px (xl)
   ═══════════════════════════════════════════════════════════════ */


/* ── SCHRIFT ────────────────────────────────────────────────── */
/* Playfair Display liegt selbst auf dem Server (static/fonts, SIL OFL 1.1).
   Vorher kam sie von fonts.googleapis.com: ein zusaetzlicher, das Rendern
   blockierender Aufruf bei einem Drittanbieter, der dabei die IP-Adresse
   jedes Besuchers erhaelt. Nur der lateinische Zeichensatz, nur Schnitt 700. */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/playfair-display-latin-700-normal.9401d0214a93.woff2") format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/playfair-display-latin-700-italic.566a4eeb6883.woff2") format('woff2');
}


/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, -apple-system, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ff-text, #292A29);
    background-color: var(--ff-bg-warm, #faf9f7);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Kein seitliches Verschieben auf dem Handy. `clip` statt `hidden`: erzeugt keinen
   Scroll-Container, Sticky-Elemente (Filterleiste, Kaufbox) funktionieren weiter. */
@supports (overflow: clip) {
    html, body { overflow-x: clip; }
}

/* iOS zoomt beim Antippen in jedes Eingabefeld unter 16 px hinein - danach laesst
   sich die Seite seitlich schieben und der Kopf wirkt "nicht mehr fest"
   (Rueckmeldung 10/2026). Auf Touch-Geraeten deshalb mindestens 16 px. */
@media (pointer: coarse), (max-width: 767px) {
    input[type="text"], input[type="search"], input[type="email"], input[type="number"],
    input[type="url"], input[type="tel"], input:not([type]), select, textarea {
        font-size: 16px !important;
    }
}

main, article, aside, details, figcaption, figure,
footer, header, nav, section { display: block; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }


/* ── LAYOUT ─────────────────────────────────────────────────── */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* Header ist fixed → main braucht padding-top damit Inhalt nicht darunter verschwindet */
/* Topbar (~30px) + Navbar (56px) = 86px */
.main {
    flex: 1;
    padding-top: 86px;
}

@media (min-width: 640px) { .main { padding-top: 90px; } }
@media (min-width: 768px) { .main { padding-top: 100px; } }

.ff-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) { .ff-container { padding: 0 20px; } }
@media (min-width: 768px) { .ff-container { padding: 0 24px; } }

/* Legacy .container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

@media (min-width: 640px) { .container { padding: 0 20px; } }
@media (min-width: 768px) { .container { padding: 0 24px; } }


/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

/* ── Top Bar ────────────────────────────────────────────────── */
.ff-topbar {
    background: #1a1a19;
    color: rgba(255,255,255,.8);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}

.ff-topbar__inner {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Mittleren Text auf Mobile ausblenden */
.ff-topbar__text:nth-child(2) { display: none; }

@media (min-width: 640px) {
    .ff-topbar__text:nth-child(2) { display: inline; }
}


/* ── Navbar ─────────────────────────────────────────────────── */
.ff-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    background: #fff;
    transition: box-shadow .25s ease;
}

.ff-header.is-sticky {
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.ff-navbar {
    border-bottom: 1px solid var(--ff-border-light, #f0eee9);
}

.ff-navbar__inner {
    display: flex;
    align-items: center;
    height: 56px;
    gap: 12px;
}

@media (min-width: 640px) { .ff-navbar__inner { height: 60px; } }
@media (min-width: 768px) { .ff-navbar__inner { height: 70px; gap: 16px; } }


/* ── Logo ───────────────────────────────────────────────────── */
.ff-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ff-logo svg, .ff-logo img { height: 36px; width: auto; }

@media (min-width: 640px) { .ff-logo svg, .ff-logo img { height: 40px; } }
@media (min-width: 900px) { .ff-logo svg, .ff-logo img { height: 48px; } }


/* ── Header-Search ──────────────────────────────────────────── */
.ff-search {
    display: none;
    position: relative;
    flex: 1;
    max-width: 420px;
}

@media (min-width: 900px) {
    .ff-search { display: block; margin-left: auto; max-width: 280px; }
}

@media (min-width: 1024px) { .ff-search { max-width: 380px; } }
/* Startseite: Header-Suche erst, wenn die große Suche aus dem Bild gescrollt ist (main.js).
   visibility statt display: Die Navigation springt nicht, und Tab überspringt das Feld. */
.ff-search--deferred { visibility: hidden; opacity: 0; transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.ff-search--deferred.is-visible { visibility: visible; opacity: 1; transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .ff-search--deferred, .ff-search--deferred.is-visible { transition: none; transform: none; } }

@media (min-width: 1280px) { .ff-search { max-width: 440px; } }

.ff-search__input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 42px;
    border: 1.5px solid #e0ddd6;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ff-text, #292A29);
    background: #f5f3ef;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}

.ff-search__input:focus {
    border-color: var(--ff-primary, #3A7C81);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(58,124,129,.12);
}

.ff-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ff-text-light, #6F6F6F);
    pointer-events: none;
}


/* ── Desktop Nav Links ──────────────────────────────────────── */
.ff-desknav {
    display: none;
    gap: 6px;
    margin-left: auto;
}

@media (min-width: 900px) { .ff-desknav { display: flex; } }

.ff-desknav__link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ff-text, #292A29);
    border-radius: var(--ff-radius-lg, 15px);
    transition: background .15s, color .15s;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.ff-desknav__link:hover {
    background: var(--ff-bg-subtle, #f8f7f5);
    color: var(--ff-primary, #216369);
}


/* ── Merkliste und Burger am rechten Rand ───────────────────── */
/* Unter 900px sind Suche und Desktopnavigation ausgeblendet, dann schiebt
   diese Gruppe sich selbst nach rechts. Darüber übernimmt das die Navigation,
   sonst käme ein dritter auto-Rand ins Spiel und die Leiste verspränge. */
.ff-navbar__end {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}

@media (min-width: 900px) { .ff-navbar__end { margin-left: 0; } }

.ff-navbar__end .ff-burger { margin-left: 0; }

.ff-merk {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 10px;
    border-radius: var(--ff-radius-lg, 15px);
    color: var(--ff-text, #292A29);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.ff-merk:hover {
    background: var(--ff-bg-subtle, #f8f7f5);
    color: var(--ff-primary, #216369);
}

.ff-merk__label { display: none; }

@media (min-width: 900px) {
    .ff-merk { padding: 0 14px; }
    .ff-merk__label { display: inline; }
}

.ff-merk__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--ff-primary, #216369);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.ff-merk__count[hidden] { display: none; }

/* Auf schmalen Geräten sitzt die Zahl am Symbol statt daneben. */
@media (max-width: 899px) {
    .ff-merk__count {
        position: absolute;
        top: 5px;
        right: 2px;
        min-width: 17px;
        height: 17px;
        border: 2px solid #fff;
    }
}


/* ── Burger Button ──────────────────────────────────────────── */
.ff-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    flex-shrink: 0;
    margin-left: auto;
}

@media (min-width: 900px) { .ff-burger { display: none; } }

.ff-burger__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ff-text, #292A29);
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease;
    will-change: transform;
}

.ff-burger.is-open .ff-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ff-burger.is-open .ff-burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ff-burger.is-open .ff-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Mobile Menu ────────────────────────────────────────────── */
.ff-mobile-menu {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 86px);
    background: #fff;
    z-index: 104;
    padding: 0 0 40px;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}

@media (min-width: 640px) {
    .ff-mobile-menu {
        top: 90px;
        height: calc(100dvh - 90px);
        width: 320px;
        box-shadow: 4px 0 24px rgba(0,0,0,.08);
    }
}

.ff-mobile-menu.is-open { transform: translateX(0); }

/* ── Mobile Menu: Search ────────────────────────────────────── */
.ff-mobile-menu__search {
    position: relative;
    padding: 20px 16px 0;
    margin-bottom: 16px;
}

.ff-mobile-menu__search .ff-search__icon-mobile {
    position: absolute;
    left: 30px;
    top: calc(50% + 10px);
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}

.ff-mobile-menu__search .ff-search__input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 16px 0 44px;
    border: 1.5px solid #e0ddd6;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background: #f5f3ef;
    color: var(--ff-text, #292A29);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.ff-mobile-menu__search .ff-search__input:focus {
    border-color: #3A7C81;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(58,124,129,.12);
}

/* ── Mobile Menu: Nav ───────────────────────────────────────── */
.ff-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 0 0 24px;
}

.ff-mobile-menu__link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 500;
    color: var(--ff-text, #292A29);
    background: none;
    border: none;
    border-bottom: 1px solid #f0eee9;
    border-radius: 0;
    text-decoration: none;
    min-height: 54px;
    transition: background .15s;
}

.ff-mobile-menu__link:hover {
    background: #f8f7f5;
}

.ff-mobile-menu__link__icon {
    margin-right: 12px;
    color: #aaa;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ff-mobile-menu__link__arrow {
    margin-left: auto;
    color: #ccc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Abstand statt zweiter Linie: der Eintrag davor hat schon seine Unterkante. */
.ff-mobile-menu__link--divider {
    margin-top: 16px;
    border-top: 0;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.ff-footer {
    background: var(--ff-primary-dark, #113336);
    color: rgba(255,255,255,.85);
    padding: 20px 0 12px;
    margin-top: auto;
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 768px) { .ff-footer { padding: 24px 0 14px; } }

.ff-footer a { color: rgba(255,255,255,.7); transition: color .15s; }
.ff-footer a:hover { color: #fff; }

.ff-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 14px;
}

.ff-footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
}

@media (min-width: 640px) {
    .ff-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
    .ff-footer__brand { grid-column: auto; max-width: 320px; }
}

@media (min-width: 900px) {
    .ff-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; margin-bottom: 16px; }
}

.ff-footer__logo { display: inline-block; margin-bottom: 6px; }
.ff-footer__logo svg, .ff-footer__logo img { height: 42px; width: auto; }
.ff-footer__about { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.6; }

.ff-footer__heading {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.72);   /* vorher .4: zu wenig Kontrast (WCAG 4.5:1) */
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.ff-footer__col { display: flex; flex-direction: column; gap: 4px; }

.ff-footer__link {
    font-size: 14px;
    min-height: 30px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.8);
}

.ff-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    /* .6 statt .35: Kontrast 6:1 statt 3:1 auf dem dunklen Grund (WCAG AA: 4,5:1) */
    color: rgba(255,255,255,.6);
}


/* ═══════════════════════════════════════════════════════════════
   ERROR PAGES (404 / 500)
   ═══════════════════════════════════════════════════════════════ */
.ff-error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
    text-align: center;
}

@media (min-width: 768px) { .ff-error-page { padding: 60px 20px; } }

.ff-error-page__content { max-width: 480px; }

.ff-error-page__code {
    display: block;
    font-size: clamp(64px, 15vw, 140px);
    font-weight: 800;
    line-height: 1;
    color: var(--ff-border, #e8e6e1);
    letter-spacing: -.04em;
    margin-bottom: 8px;
}

.ff-error-page__title {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 700;
    color: var(--ff-text, #292A29);
    margin-bottom: 12px;
}

.ff-error-page__text {
    font-size: 15px;
    color: var(--ff-text-muted, #5e626a);
    margin-bottom: 28px;
    line-height: 1.6;
}

@media (min-width: 768px) { .ff-error-page__text { font-size: 16px; } }

.ff-error-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    background: var(--ff-primary, #216369);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--ff-radius-pill, 25px);
    transition: background .2s;
    min-height: 48px;
}

.ff-error-page__btn:hover {
    background: var(--ff-primary-dark, #113336);
    color: #fff;
}


/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════════ */
.ff-cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
    transition: opacity .3s ease;
}

.ff-cookie-overlay--hidden { opacity: 0; pointer-events: none; }

.ff-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid var(--ff-border-light, #f0eee9);
    box-shadow: 0 -4px 24px rgba(0,0,0,.1);
    padding: 24px 16px 20px;
    max-height: 90vh;
    overflow-y: auto;
    transition: transform .3s ease, opacity .3s ease;
}

@media (min-width: 480px) { .ff-cookie { padding: 28px 24px 20px; } }
@media (min-width: 640px) { .ff-cookie { padding: 32px 40px 24px; } }

.ff-cookie--hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.ff-cookie__view--hidden { display: none; }

.ff-cookie__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ff-text, #292A29);
    text-align: center;
    margin-bottom: 12px;
}

@media (min-width: 640px) { .ff-cookie__title { font-size: 18px; } }

.ff-cookie__text {
    font-size: 13px;
    line-height: 1.65;
    color: var(--ff-text-muted, #5e626a);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 16px;
}

.ff-cookie__tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ff-cookie__tag {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--ff-text, #292A29);
    padding-left: 14px;
}

.ff-cookie__tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: var(--ff-accent, #ff9d00);
    border-radius: 50%;
}

.ff-cookie__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ff-cookie__btn {
    display: inline-block;
    width: 100%;
    max-width: 380px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--ff-radius-lg, 15px);
    text-align: center;
    cursor: pointer;
    transition: background .2s, color .2s;
    border: none;
    min-height: 48px;
}

.ff-cookie__btn--primary { background: var(--ff-accent, #ff9d00); color: #fff; }
.ff-cookie__btn--primary:hover { background: #e88e00; }

.ff-cookie__btn--ghost {
    background: transparent;
    color: var(--ff-accent, #ff9d00);
    border: 1px solid var(--ff-accent, #ff9d00);
}
.ff-cookie__btn--ghost:hover { background: rgba(255,157,0,.06); }

.ff-cookie__footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.ff-cookie__link {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--ff-text-light, #6F6F6F);
    cursor: pointer;
    padding: 6px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color .15s;
}

.ff-cookie__link:hover { color: var(--ff-text, #292A29); }

.ff-cookie__legal {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ff-text-light, #6F6F6F);
    padding-top: 12px;
    border-top: 1px solid var(--ff-border-light, #f0eee9);
}

.ff-cookie__legal a { color: var(--ff-text-light, #6F6F6F); }
.ff-cookie__legal a:hover { color: var(--ff-text, #292A29); }

.ff-cookie__setting {
    border: 1px solid var(--ff-border, #e8e6e1);
    border-radius: var(--ff-radius-md, 10px);
    margin-bottom: 10px;
    overflow: hidden;
}

.ff-cookie__setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--ff-bg-subtle, #f8f7f5);
    cursor: pointer;
    min-height: 52px;
}

.ff-cookie__setting-name { font-size: 14px; font-weight: 600; color: var(--ff-text, #292A29); }

.ff-cookie__setting-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ff-text-muted, #5e626a);
    padding: 12px 16px;
    margin: 0;
}

.ff-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.ff-toggle input { opacity: 0; width: 0; height: 0; }

.ff-toggle__track {
    position: absolute;
    inset: 0;
    background: var(--ff-border, #e8e6e1);
    border-radius: 24px;
    transition: background .25s;
    cursor: pointer;
}

.ff-toggle__track::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .25s;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.ff-toggle input:checked + .ff-toggle__track { background: var(--ff-primary, #216369); }
.ff-toggle input:checked + .ff-toggle__track::before { transform: translateX(20px); }

.ff-toggle--locked .ff-toggle__track { background: rgba(33,99,105,.4); cursor: not-allowed; }
.ff-toggle--locked input:checked + .ff-toggle__track { background: rgba(33,99,105,.4); }
.ff-toggle--locked .ff-toggle__track::before { transform: translateX(20px); }


/* ── Utility ────────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/* ═══════════════════════════════════════════════════════════════
   SUCHVORSCHLAEGE (static/js/suggest.js)
   ═══════════════════════════════════════════════════════════════ */
.ff-suggest-host { position: relative; }
.ff-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 220;
    min-width: min(420px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--ff-border, #e7e3dc);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 51, 54, .16);
    text-align: left;
}
.ff-suggest[hidden] { display: none; }
.ff-suggest__group + .ff-suggest__group { margin-top: 4px; padding-top: 4px; border-top: 1px solid #f0eee9; }
.ff-suggest__title { margin: 6px 10px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a8f8c; }
.ff-suggest__item, .ff-suggest__all {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: 10px;
    color: var(--ff-text, #292A29);
    text-decoration: none;
}
.ff-suggest__item.is-active, .ff-suggest__item:hover,
.ff-suggest__all.is-active, .ff-suggest__all:hover { background: #f4f2ee; }
.ff-suggest__media { flex: 0 0 36px; width: 36px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #faf9f7; overflow: hidden; }
.ff-suggest__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ff-suggest__text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.ff-suggest__label { font-size: 15px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ff-suggest__meta { font-size: 12.5px; color: #6b706d; }
.ff-suggest__price { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--ff-primary, #1e5f63); white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.ff-suggest__price-note { font-size: 11.5px; font-weight: 500; color: #6b706d; }
.ff-suggest__item--category .ff-suggest__label::after { content: " →"; color: #9aa09d; font-weight: 500; }
.ff-suggest__all { justify-content: center; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ff-primary, #1e5f63); border-top: 1px solid #f0eee9; border-radius: 0 0 10px 10px; }

/* Die Startseiten-Box schneidet sonst die Vorschlaege ab (overflow: hidden fuer die runden Ecken). */
.hero:has(.ff-suggest:not([hidden])) { overflow: visible; z-index: 30; }
/* Startseite: Vorschläge so breit wie die Suchleiste (max. 640px, mittig), nicht wie die ganze Kachel */
.hero__form .ff-suggest { left: 0; right: auto; width: 100%; max-width: 640px; min-width: 0; }
@media (min-width: 768px) { .hero__form .ff-suggest { left: 50%; transform: translateX(-50%); } }

@media (max-width: 767px) { .ff-suggest { min-width: 0; } }
