html.business-profile-designed,
html.business-profile-designed body {
    background-color:var(--profile-page-background,var(--body-background));
}
.business-public-profile {
    min-height:100vh;
    background-color:var(--profile-page-background,var(--body-background));
    background-image:var(--profile-page-background-image,none);
    background-position:center top;
    background-size:cover;
    background-repeat:no-repeat;
    color:var(--body-color);
}
.business-public-profile .business-public-profile-body {
    background:transparent;
}
html.business-profile-background-image body {
    background-image:var(--profile-page-background-image);
    background-position:center top;
    background-size:cover;
    background-repeat:no-repeat;
}
.business-profile-background-image .business-public-profile {
    background:transparent;
}
.business-public-profile-body {
    max-width:1080px;
    margin:auto;
    padding:28px 28px 80px;
    overflow-wrap:anywhere;
}
.business-public-profile .profile-contact-link {
    position:fixed;
    right:calc(20px + env(safe-area-inset-right));
    bottom:calc(20px + env(safe-area-inset-bottom));
    z-index:1000;
    display:none;
    width:max-content;
    max-width:calc(100% - 40px);
    margin:0;
    background:var(--body-background);
    --btn-bordered-color:var(--link-color);
    --btn-bordered-color_hover:var(--link-color);
    --btn-bordered-box-shadow:inset 0 0 0 1px var(--link-color);
}
.business-public-profile .profile-contact-link.is-visible {
    display:flex;
}

.profile-introduction {
    margin:0 0 32px;
}
.profile-introduction > h1,
.profile-introduction > .business-public-profile-description {
    max-width:760px;
}
.business-public-profile-logo-cover {
    max-width:320px;
    width:100%;
    max-height:140px;
    object-fit:contain;
    object-position:left center;
    margin-bottom:24px;
}
.business-public-profile h1 {
    color:inherit;
    font-size:36px;
    line-height:1.2;
    margin:0 0 18px;
    font-weight:700;
}
.business-public-profile-description {
    color:inherit;
    font-size:18px;
    line-height:1.3;
    margin:0;
    white-space:normal;
}
.business-public-profile h2 {
    color:inherit;
    font-size:18px;
    font-weight:700;
    margin:0 0 16px;
}
.business-public-profile-polls {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:18px;
}
.business-public-profile-poll {
    cursor:pointer;
    display:flex;
    flex-direction:column;
    gap:0;
    padding:0;
    border-radius:18px;
    color:var(--profile-card-color,var(--body-color));
    background:var(--profile-card-background,var(--body-background));
    border:1px solid var(--profile-card-border,var(--input-field-border-color,#d5d5d5));
    min-width:0;
    overflow:hidden;
}
.profile-poll-cover {
    position:relative;
    padding:20px 20px 0;
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
}
.profile-poll-with-image .profile-poll-cover { min-height:110px; }
 .profile-poll-image-link {
    position:absolute;
    inset:0 0 -28px;
    overflow:hidden;
    -webkit-mask-image:linear-gradient(#000 0%,#000 5%,rgba(0,0,0,.98) 12%,rgba(0,0,0,.9) 22%,rgba(0,0,0,.72) 35%,rgba(0,0,0,.48) 48%,rgba(0,0,0,.25) 62%,rgba(0,0,0,.09) 76%,rgba(0,0,0,.02) 88%,transparent 96%,transparent 100%);
    mask-image:linear-gradient(#000 0%,#000 5%,rgba(0,0,0,.98) 12%,rgba(0,0,0,.9) 22%,rgba(0,0,0,.72) 35%,rgba(0,0,0,.48) 48%,rgba(0,0,0,.25) 62%,rgba(0,0,0,.09) 76%,rgba(0,0,0,.02) 88%,transparent 96%,transparent 100%);
}
.business-public-profile-poll:not(.profile-poll-with-image) .profile-poll-cover { isolation:isolate; }
.business-public-profile-poll:not(.profile-poll-with-image) .profile-poll-cover::before {
    content:"";
    position:absolute;
    inset:0 0 -28px;
    z-index:-1;
    background:linear-gradient(var(--profile-card-gradient,transparent),transparent 96%);
    opacity:.2;
    pointer-events:none;
}
.profile-poll-image-link::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(var(--profile-card-gradient,transparent),transparent 96%);
    opacity:.2;
    pointer-events:none;
}
.business-public-profile-poll .profile-poll-image-link img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:bottom;
    border-radius:0;
}
.profile-poll-time {
    flex-direction:column;
    align-items:flex-start;
    position:relative;
    z-index:1;
    display:inline-flex;
    min-height:36px;
    padding:8px 12px;
    border-radius:9px;
    background:rgba(0,0,0,.3);
    border:0;
    color:#fff;
    font-size:18px;
    line-height:22px;
    font-weight:800;
}
.profile-poll-time-caption { font-size:11px; line-height:14px; font-weight:500; opacity:.6; }
.profile-poll-cover .profile-registered-badge {
    position:absolute;
    z-index:3;
    display:inline-flex;
    align-items:center;
    gap:6px;
    box-shadow:0 2px 8px rgba(0,0,0,.35);
    top:20px;
    right:20px;
    max-width:55%;
    margin:0;
    border-radius:7px;
    padding:3px 7px;
}
.profile-poll-cover .profile-waiting-badge { background:#fbbf24; color:#241700; }
.profile-status-check { display:block; flex:0 0 16px; width:16px; height:16px; }
.profile-poll-cover .profile-waiting-badge .profile-status-check { display:none; }
.profile-poll-with-status:not(.profile-poll-with-image) .profile-poll-cover { padding-top:64px; }
.business-public-profile-poll h3 {
    position:relative;
    z-index:1;
    width:100%;
    margin:0;
    padding-top:24px;
    text-shadow:var(--profile-title-shadow,none);
    font-size:24px;
    line-height:1.25;
    font-weight:700;
    color:inherit;
}
.profile-poll-course { align-self:stretch; }
.business-public-profile-poll.profile-poll-course .profile-poll-cover { padding-top:88px; }
.profile-poll-course .profile-poll-time { position:absolute; top:20px; left:20px; }
.profile-poll-course .profile-poll-time.hide,
.profile-poll-course .profile-poll-time:empty { display:none; }
.profile-poll-course h3 { display:flex; align-items:flex-end; padding-top:0; min-height:2.3em; font-size:28px; font-weight:800; line-height:1.15; }
.profile-poll-course .business-public-profile-poll-text { flex:1; }
.profile-poll-course .profile-course-action { margin-top:auto; }
@media (min-width:768px) {
    .business-public-profile-polls { grid-auto-rows:1fr; }
}
.business-public-profile-poll h3 a { color:inherit; text-decoration:none; }
.profile-poll-standard h3 { padding-top:0; }
.profile-poll-heading { display:flex; align-items:center; gap:14px; width:100%; min-width:0; }
.profile-poll-heading-text { flex:1; min-width:0; }
.profile-poll-standard.profile-poll-with-status .profile-poll-cover { display:grid; grid-template-columns:64px minmax(0,1fr); column-gap:14px; row-gap:12px; align-items:start; padding-top:20px; }
.profile-poll-standard.profile-poll-with-status .profile-registered-badge { position:static; grid-column:2; grid-row:1; justify-self:end; min-width:0; max-width:100%; overflow-wrap:anywhere; }
.profile-poll-standard.profile-poll-with-status .profile-poll-heading { display:contents; }
.profile-poll-standard.profile-poll-with-status .profile-poll-avatar { grid-column:1; grid-row:1 / 3; }
.profile-poll-standard.profile-poll-with-status .profile-poll-heading-text { grid-column:2; grid-row:2; }
.business-public-profile-poll .profile-poll-heading-text p { margin:20px 0 0; }
.profile-poll-heading-text p:empty { display:none; }
.profile-poll-standard h3 a { overflow-wrap:anywhere; }
.business-public-profile-poll .profile-poll-avatar { flex:0 0 64px; width:64px; height:64px; object-fit:cover; border-radius:10px; }
@supports (corner-shape:squircle) {
    .business-public-profile-poll .profile-poll-avatar { corner-shape:squircle; border-radius:16px; }
}
.business-public-profile-poll a:hover,
.business-public-profile-poll a:active,
.business-public-profile-poll a:visited { text-decoration:none; }
.business-public-profile-poll-text {
    position:relative;
    z-index:1;
    display:flex;
    flex:0 0 auto;
    flex-direction:column;
    gap:18px;
    min-width:0;
    padding:20px;
}
.business-public-profile-poll p {
    color:var(--profile-secondary-color,currentColor);
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    font-size:14px;
    line-height:1.3;
    max-height:3.9em;
    overflow-wrap:anywhere;
    margin:0;
}
.profile-poll-duration,.profile-poll-used { color:var(--profile-secondary-color,currentColor); font-size:13px; }
.profile-poll-capacity { margin-top:auto; }
.profile-poll-capacity-text { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:13px; font-weight:600; margin-bottom:8px; }
.profile-poll-progress { height:7px; border-radius:10px; overflow:hidden; background:rgba(128,128,128,.18); background:color-mix(in srgb,currentColor 12%,transparent); }
.profile-poll-progress > span { display:block; height:100%; border-radius:inherit; background:var(--btn-primary-background); transition:width .3s; }
.profile-poll-capacity[data-near-full="1"] .profile-poll-progress > span { background:#d97706; }
.profile-poll-capacity[data-full="1"] .profile-poll-progress > span { background:#e11d48; }
.profile-course-action { width:100%; text-align:center; margin:0; }
@supports (corner-shape:squircle) {
    .business-public-profile-poll { corner-shape:squircle; border-radius:30px; }
}
.profile-poll-badges {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 8px;
}
.profile-poll-badges:empty { display:none; }
.profile-capacity-badge {
    display:inline-block;
    padding:4px 10px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    background:#15803d;
    color:#fff;
}
.profile-capacity-full { background:rgba(235,66,78,.2); color:inherit; }
.profile-capacity-badge.hide { display:none !important; }
.profile-registered-badge { margin:0 0 8px; background:#4CD324; color:#082b12; }
.business-public-profile-meta {
    display:grid;
    gap:18px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    margin-top:44px;
    padding-top:28px;
    scroll-margin-top:24px;
}
.business-public-profile-meta-item {
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:4px;
    font-size:16px;
}
.business-public-profile-meta-item span {
    font-size:13px;
    color:var(--profile-muted-color,var(--body-light-color));
}
.business-public-profile-meta-item a,.business-public-profile-meta-item strong {
    color:inherit;
    font-weight:600;
}
.profile-navigation {
    padding:0 16px 0 6px;
    background:var(--business-menu-background);
    color:var(--business-menu-color);
}
.profile-navigation .btn,
.profile-navigation .btn:hover {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    --btn-clear-color:var(--business-menu-color);
    --btn-clear-color_hover:var(--business-menu-color);
    color:var(--business-menu-color);
}
.profile-navigation .profile-navigation-back { padding-left:5px; }
.profile-navigation .fa { position:static; font-size:39px; }
.profile-navigation .btn:not(.btn-bordered) > i.fa:not(.dg) { color:inherit; }
main.business-public-profile.business-public-profile-app { padding-top:calc(var(--headless-space) + var(--headless-menu)); }
.is_app.business-profile-designed .business-brand-header { margin-top:calc(var(--headless-space) + var(--headless-menu)); }
.business-brand-header + main.business-public-profile.business-public-profile-app { padding-top:0; }
.business-public-profile-app .business-public-profile-meta { scroll-margin-top:calc(var(--headless-space) + var(--headless-menu) + 16px); }
html.business-profile-designed {
    background:var(--profile-page-background,var(--white-background,#fff));
}
.profile-powered-by {
    background:transparent;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
    margin-top:40px;
    text-align:center;
}
.profile-powered-by .profile-attribution-link,
.profile-powered-by .profile-attribution-link:hover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    color: var(--profile-powered-color,var(--body-color));
    font-size: 13px;
    line-height: 20px;
    text-decoration: none;
}
.profile-powered-logo {
    display: inline-block;
    width: 90px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url('../img/fragab_logo_white_v4.svg') center / contain no-repeat;
    mask: url('../img/fragab_logo_white_v4.svg') center / contain no-repeat;
}
@media(max-width:700px) {
    .business-public-profile-body {
        padding:18px 18px calc(40px + env(safe-area-inset-bottom));
    }
    .business-public-profile-polls,.business-public-profile-meta {
        grid-template-columns:minmax(0,1fr);
    }
    .business-public-profile h1 {
        font-size:30px;
    }
    .business-public-profile-description {
        font-size:14px;
    }
    .business-public-profile-poll h3 {
        font-size:20px;
    }
    .profile-poll-course h3 { font-size:24px; }
}
main.business-public-profile {
    padding:0;
    margin:0;
    width:100%;
    max-width:none;
}
.profile-poll-placeholder {
    flex:0 0 64px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid currentColor;
    border-radius:16px;
    font-size:24px;
}
@media(max-width:700px) {
    .profile-poll-placeholder {
        flex-basis:52px;
        height:52px;
        font-size:22px;
    }
}
html.business-profile-designed:not(.is_app) body {
    padding-top:0;
}
.business-profile-designed .business-brand-header {
    margin-top:0;
}
.business-profile-designed #content_top {
    margin-top:0;
    padding:0;
}
html.business-profile-designed #content_top.container {
    padding:0 !important;
    width:100%;
    max-width:none;
}

.profile-powered-by .profile-footer-link {
    color:var(--profile-powered-color);
    text-decoration:none;
    cursor:pointer;
}
.profile-powered-by .profile-footer-link:hover { text-decoration:underline; }
.profile-imprint > summary { list-style:none; }
.profile-imprint > summary::-webkit-details-marker { display:none; }
.profile-footer-links { display:flex; align-items:baseline; justify-content:center; flex-wrap:wrap; gap:12px 24px; max-width:100%; }
.profile-imprint { min-width:0; margin:0; }
.profile-imprint summary { cursor:pointer; }
.profile-imprint-content { margin-top:16px; text-align:left; white-space:normal; overflow-wrap:anywhere; }

.cookie-profile .cookie-image { display:none; }
.cookie-profile .cookie-logo { display:none; }
.cookie-profile .cookie-privacy-link { display:none; }
.cookie-profile .cookie-profile-attribution { display:flex; align-items:center; justify-content:center; gap:8px; flex-basis:100%; color:var(--body-color); opacity:.7; font-size:13px; margin-top:16px; text-decoration:none; }
modal.cookie-profile mcontainer {
    background:var(--profile-page-background,var(--body-background));
    color:var(--body-color);
}
.cookie-profile #popup_close { color:var(--body-color); }
.cookie-profile .cookie-profile-logo { display:block; max-width:min(240px, 80%); max-height:80px; width:auto; height:auto; object-fit:contain; margin-bottom:12px; }

@media (max-width:767px) {
    .business-profile-popup .profile-navigation { display:none; }
    .business-profile-popup main.business-public-profile.business-public-profile-app { padding-top:0; }
    .is_app.business-profile-popup.business-profile-designed .business-brand-header { margin-top:0; }
}

.profile-waiting-badge { background:var(--alert-info-background); color:var(--alert-info-color); }

html.is_app.business-profile-designed .profile-navigation { background:var(--business-menu-background) !important; }
@supports ((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))) {
    html.is_app.business-profile-designed .profile-navigation.is-scrolled {
        background:color-mix(in srgb,var(--business-menu-background) 40%,transparent) !important;
        -webkit-backdrop-filter:blur(20px);
        backdrop-filter:blur(20px);
    }
}

.profile-footer-links button.profile-footer-link { padding: 0; border: 0; background: none; font: inherit; }
.profile-imprint-modal { --modal-background: var(--profile-page-background, var(--body-background)); --modal-color: var(--body-color); --modal-content-color: var(--body-color); }
modal.profile-imprint-modal mcontainer { padding: 30px 30px 50px; background: var(--profile-page-background, var(--body-background)); color: var(--body-color); }
.profile-imprint-modal mcontent { white-space: normal; overflow-wrap: anywhere; }
.profile-imprint-modal mheader, .profile-imprint-modal mheader h2 { color: var(--body-color); }
.profile-imprint-modal mclose { position: absolute; top: 8px; right: 8px; left: auto; transform: none; color: var(--body-color); }

.profile-course-meta { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; }
.profile-course-meta > .hide { display:none; }
.profile-course-teacher { color:var(--profile-secondary-color,currentColor); font-size:13px; }
.profile-course-meta .profile-course-teacher, .profile-course-meta .profile-poll-duration { display:inline-flex; align-items:center; gap:6px; }
.profile-course-meta .profile-course-teacher > .fa, .profile-course-meta .profile-poll-duration > .fa { position:static; top:auto; margin:0; font-size:16px; line-height:1; color:inherit; }
.profile-course-difficulty { display:inline-flex; align-items:center; gap:0; }
.profile-course-difficulty .profile-course-flame.fa { display:block; position:static; margin:0; font-size:16px; line-height:1; color:var(--profile-secondary-color,currentColor); opacity:.7; }
.profile-course-difficulty .profile-course-flame.fa.is-active { color:var(--btn-primary-background); opacity:1; }

.profile-poll-editable { position:relative; }
.profile-poll-tools { position:absolute; top:12px; right:12px; z-index:5; }
.profile-poll-menu-handle {
    display:flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    border-radius:8px;
    background:var(--profile-card-background,var(--body-background));
    color:var(--profile-card-color,var(--body-color));
    cursor:grab;
    list-style:none;
    touch-action:none;
    user-select:none;
}
.profile-poll-menu-handle::-webkit-details-marker { display:none; }
.profile-poll-menu-handle:focus-visible { outline:2px solid var(--link-color); outline-offset:2px; }
.profile-poll-menu {
    position:absolute;
    right:0;
    top:36px;
    width:max-content;
    max-width:240px;
    padding:6px;
    border:1px solid var(--input-field-border-color);
    border-radius:10px;
    background:var(--body-background);
    box-shadow:0 4px 16px rgba(0,0,0,.2);
}
.profile-poll-menu-remove { padding:10px; border:0; background:transparent; color:var(--body-color); font:inherit; text-align:left; }
.profile-poll-editable .profile-poll-cover .profile-registered-badge { right:56px; max-width:calc(100% - 100px); }
.profile-poll-editable.profile-poll-standard .profile-poll-heading { padding-right:32px; }
.profile-poll-sort-placeholder { min-height:180px; border:2px dashed var(--link-color); border-radius:18px; }
.profile-polls-saving .profile-poll-menu-handle { cursor:wait; }

.profile-poll-editable.profile-poll-standard.profile-poll-with-status .profile-registered-badge { margin-right:36px; max-width:calc(100% - 36px); }
