/*
Theme Name: Foerst
Version: 1.0
Author: 123Fahrschule
 */
body.blurred:after {
    content: '';
    position: fixed;
    opacity: 65%;
    background-color: var(--neutral-800);
    z-index: 900;
    top: 0;
    bottom: 100%;
    left: 0;
    right: 100%;
    width: 100%;
    height: 100%;
}

.content-container {
    max-width: 1280px;
    margin: 0 auto;
}

.bold {
    font-size: 16px;
    font-weight: 600;
    line-height: 32px;
}

/* Headers */
h1, h2, h3, h4, h5, p, label {
    color: var(--text-primary);
}

h1 {
    font-weight: 400;
}

h1 {
    letter-spacing: 0.5px;
    font-size: clamp(40px, calc(3.75vw + 10px), 80px);
    line-height: clamp(64px, calc(3.75vw + 10px), 104px);
}

h2,
h3 {
    font-weight: 500;
}

h2 {
    font-size: 40px;
    line-height: 56px;
}

h3, h4 {
    font-size: 24px;
    line-height: 40px;
}

h4 {
    font-weight: 400;
}

h5 {
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
}

/* List */
.content-container ul,
.content-container ol {
    display: flex;
    gap: 8px;
    flex-direction: column;
    color: var(--text-primary);
    margin: 24px 0;
}

.content-container ul {
    padding-left: 24px;
}

.content-container ol {
    padding-left: 26px;
}

.content-container ul {
    list-style: disc;
}

.content-container ol {
    list-style: decimal;
}

.content-container ul li {
    padding-left: 8px;
}

.content-container ol li {
    padding-left: 6px;
}

/* Paragraph */
p.subline {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

p.subline:before {
    content: '';
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M0 8C0 3.58172 3.58172 0 8 0H16V12C16 14.2091 14.2091 16 12 16H0V8Z" fill="%230064E0"/></svg>');
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 18px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position-y: top;
}

    /* Links */
a {
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-in-out;
}

@media(hover: hover) and (pointer: fine) {
    a:hover {
        color: var(--action-hover);
    }
}

a.disabled {
    pointer-events: none;
    color: var(--action-disabled);
}

a.postfix:before,
a.suffix:after {
    content: '';
    width: 16px;
    height: 16px;
    display: inline-block;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--action-secondary);
    -webkit-mask-image: var(--chevron-link);
    mask-image: var(--chevron-link);
}

a.suffix:after {
    transform: scaleX(-1);
}

@media(hover: hover) and (pointer: fine) {
    a.postfix:hover:before,
    a.suffix:hover:after {
        background-color: var(--action-hover);
    }
}

a.postfix.disabled:before,
a.suffix.disabled:after {
    background-color: var(--action-disabled);
}

/* Buttons */
a.button-fill,
a.button--small-fill,
a.button-outline,
a.button--small-outline,
a.button-outline,
a.button--small-text {
    display: flex;
    gap: 4px;
    line-height: 24px;
    text-align: center;
    align-items: center;
    background-color: unset;
    text-decoration: unset;
    width: fit-content;
}

a.button-fill,
a.button--small-fill {
    color: var(--text-altPrimary);
    background-color: var(--action-active);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-in-out;
}

@media(hover: hover) and (pointer: fine) {
    a.button-fill:hover,
    a.button--small-fill:hover {
        background-color: var(--action-hover);
    }
}

a.button-fill.disabled,
a.button--small-fill.disabled {
    background-color: var(--action-disabled);
}

a.button-fill.prefix:before,
a.button--small-fill.prefix:before,
a.button-fill.suffix:after,
a.button--small-fill.suffix:after,
a.button-outline.prefix:before,
a.button--small-outline.prefix:before,
a.button-outline.suffix:after,
a.button--small-outline.suffix:after,
a.button--small-text.prefix:before,
a.button--small-text.suffix:after {
    content: '';
    width: 24px;
    height: 24px;
    display: inline-block;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: var(--action-disabledBackground);
    -webkit-mask-image: var(--chevron-button);
    mask-image: var(--chevron-button);
}

a.button-outline.prefix:before,
a.button--small-outline.prefix:before,
a.button--small-text.prefix:before,
a.button-outline.suffix:after,
a.button--small-outline.suffix:after,
a.button--small-text.suffix:after {
    background-color: var(--action-secondary);
}

@media(hover: hover) and (pointer: fine) {
    a.button-outline.prefix:hover:before,
    a.button--small-outline.prefix:hover:before,
    a.button-outline.suffix:hover:after,
    a.button--small-outline.suffix:hover:after {
        background-color: var(--action-secondary-hover);
    }
}

a.button-outline.prefix.disabled:before,
a.button--small-outline.prefix.disabled:before,
a.button--small-text.prefix.disabled:before,
a.button-outline.suffix.disabled:after,
a.button--small-outline.suffix.disabled:after,
a.button--small-text.suffix.disabled:after {
    background-color: var(--action-disabled);
}

a.button-fill.prefix,
a.button--small-fill.prefix,
a.button-outline.prefix,
a.button--small-outline.prefix {
    padding-left: 8px;
}

a.button-fill.suffix,
a.button--small-fill.suffix,
a.button-outline.suffix,
a.button--small-outline.suffix {
    padding-right: 8px;
}

a.button-fill,
a.button-outline {
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
}

a.button-fill {
    padding: 12px 24px;
}

a.button-outline {
    padding: 11px 23px;
}

a.button--small-fill,
a.button--small-outline {
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

a.button--small-fill {
    padding: 4px 16px;
}

a.button--small-outline {
    padding: 3px 15px;
}

a.button-outline,
a.button--small-outline {
    border: 1px solid var(--action-secondary);
    background-color: unset;
}

@media(hover: hover) and (pointer: fine) {
    a.button-outline:hover,
    a.button--small-outline:hover {
        color: var(--action-secondary-hover);
        border-color: var(--action-secondary-hover);
    }
}

a.button-outline.disabled,
a.button--small-outline.disabled {
    color: var(--action-disabled);
    border-color: var(--action-disabled);
}

a.button--small-text {
    padding: 4px 8px;
    border-radius: 8px;
    border: unset;
}

@media(hover: hover) and (pointer: fine) {
    a.button--small-text:hover {
        background-color: var(--neutral-200);
        color: var(--action-secondary);
    }
}

a.button--small-text.disabled {
    color: var(--action-disabled);
}

a.button__icon-filled,
a.button_small_icon-filled,
a.button__icon-stroke,
a.button_small_icon-stroke {
    justify-content: center;
    background-color: var(--background-paper);
    border-radius: 40px;
}

a.button__icon-filled svg,
a.button_small_icon-filled svg,
a.button__icon-stroke svg,
a.button_small_icon-stroke svg {
    width: 24px;
    height: 24px;
    flex: 1 0 auto;
}

a.button__icon-filled,
a.button__icon-stroke {
    width: 48px;
    height: 48px;
    margin: 16px;
    padding: 16px 24px;
}

a.button_small_icon-filled,
a.button_small_icon-stroke {
    width: 40px;
    height: 40px;
    margin: 20px;
    padding: 8px;
}

a.button__icon-stroke,
a.button_small_icon-stroke {
    background-color: unset;
    border: 1px solid var(--action-secondary);
}

a.button__icon-filled.disabled,
a.button_small_icon-filled.disabled {
    background-color: var(--action-disabled);
}

a.button__icon-stroke.disabled,
a.button_small_icon-stroke.disabled {
    border-color: var(--action-disabled);
}

a.button__icon-stroke.disabled svg path,
a.button_small_icon-stroke.disabled svg path {
    fill: var(--action-disabled);
}

/* List */
.checkbox-bullets {
    list-style: none !important;
    padding-left: 0 !important;
}

.checkbox-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    line-height: 32px;
    padding-left: 0 !important;
}

.checkbox-bullets li::before {
    width: 24px;
    height: 24px;
    content: var(--checkbox-green-bullet);
    margin-top: 4px;
}

/* 404 page */
.page-not-found {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 72px 0;
    align-items: center;
}

.page-not-found img {
    width: 296px;
    height: 232px;
}

.page-not-found__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.page-not-found__text p {
    font-size: 16px;
    line-height: 32px;
    color: var(--text-secondary);
}

/* Layout Desktop */
@media (max-width: 1440px) {
    .content-container {
        margin: 0 80px;
    }
}

/* Layout Laptop */
@media (max-width: 1439px) {

}

/* Layout Web */
@media (max-width: 1239px) {

}

@media (max-width: 991px) {
    .content-container {
        margin: 0 32px;
    }
}

/* Layout Web */
@media (max-width: 1239px) {

}

@media (max-width: 991px) {
    .content-container {
        margin: 0 32px;
    }
}

/* Layout Tablet */
@media (max-width: 904px) {
    h1 {
        font-size: calc(24px + (40 - 24) * ((100vw - 300px) / (904 - 300)));
        line-height: calc(40px + (56 - 40) * ((100vw - 300px) / (904 - 300)));
    }

    h2 {
        font-size: 24px;
        line-height: 40px;
    }

    h3 {
        font-size: 18px;
        line-height: 32px;
        font-weight: 600;
    }

    h4 {
        font-size: 18px;
        line-height: 32px;
    }

    p.subline {
        font-size: 16px;
        line-height: 24px;
    }

    .page-not-found {
        padding: 32px;
    }
}

/* Layout Phone */
@media (max-width: 599px) {
    .content-container {
        margin: 0 16px;
    }
}
