@charset "utf-8";
/* Katalog-Hinweis – Degel GmbH (gehört zu notice/brochure/brochure_toast.php) */

.brochure_toast {
    display: none;
    position: fixed;
    right: 30px;
    bottom: calc(30px + env(safe-area-inset-bottom));
    width: 400px;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    background: #ffffff;
    border-top: 6px solid #00579D;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
    font-family: Tahoma, Geneva, sans-serif;
    color: #3C3C3C;
    z-index: 9990;
}
@media (min-width: 500px) {
    .brochure_toast {
        right: 60px;
        bottom: calc(150px + env(safe-area-inset-bottom));
    }
}
.brochure_toast.is_open {
    display: block;
    animation: brochure_in 0.35s ease-out;
}
@keyframes brochure_in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.brochure_toast_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 4px 18px;
}
.brochure_toast_title {
    font-size: 1.1em;
    font-weight: bold;
    color: #00579D;
}
.brochure_toast_close {
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 10px;
    padding: 0;
    border: 1px solid #92999f;
    border-radius: 50%;
    background: #ffffff;
    color: #3C3C3C;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.brochure_toast_close:hover { background: #00579D; border-color: #00579D; color: #ffffff; }

.brochure_toast_body { padding: 4px 18px 18px 18px; }
.brochure_toast_body p {
    margin: 0 0 14px 0;
    font-size: 0.9em;
    line-height: 1.45;
}
.brochure_toast_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.brochure_btn_open,
.brochure_btn_close {
    font-family: inherit;
    font-size: 0.85em;
    padding: 9px 18px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}
.brochure_btn_open {
    background: #FED812;
    color: #3C3C3C;
    font-weight: bold;
    border: 1px solid #FED812;
}
.brochure_btn_open:hover { background: #00579D; border-color: #00579D; color: #ffffff; }
.brochure_btn_close {
    background: #ffffff;
    color: #3C3C3C;
    border: 1px solid #92999f;
}
.brochure_btn_close:hover { background: #E4E4E4; }

/* Reiter: bündig am rechten Fensterrand, Logo mit Text darunter (wie bei D+S).
   Auf dem Handy nur das Logo. */
.brochure_tab {
    display: none;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 10px;
    border: none;
    border-radius: 8px 0 0 8px;
    background: #00579D;
    color: #ffffff;
    font-family: Tahoma, Geneva, sans-serif;
    cursor: pointer;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 9990;
    transition: background-color .3s ease;
}
.brochure_tab.is_visible { display: flex; }
.brochure_tab svg { display: block; }
.brochure_tab span {
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}
.brochure_tab:hover { background: #FED812; color: #3C3C3C; }

@media (max-width: 767px) {
    .brochure_tab { padding: 20px 12px; }
    .brochure_tab svg { width: 32px; height: 32px; }
    .brochure_tab span { display: none; }
}

/* Logo im Kopf des Hinweis-Fensters */
.brochure_toast_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 50%;
    background: #FED812;
    color: #3C3C3C;
    flex: 0 0 32px;
}
.brochure_toast_title { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Handy: Hinweis über die ganze Breite, über dem Datenschutz-Button */
@media screen and (max-width: 600px) {
    .brochure_toast {
        left: 5%;
        right: 5%;
        width: auto;
        max-width: none;
        bottom: calc(115px + env(safe-area-inset-bottom));
    }
}
