/* SECTION
---------------------------------------------------------- */
section:has(.section-title) {
    padding-top: 1px;
    margin-top: 5rem;
}
.section-title {
    margin-top: 3rem;
    text-align: center;
    color: var(--color-brand);
    font-variation-settings: 'wght' 500;
}

/* SECTION INTRO
---------------------------------------------------------- */

.intro {
	margin-inline: auto;
	text-align: center;
}

.intro img {
    max-width: 100%;
}

.intro ._editing {
    margin-bottom: 2rem;
}
.intro ._editing2 {
    margin-bottom: 3rem;
}
.intro ._editing3 {
    margin-bottom: 4rem;
}

.intro ._text {
    margin-bottom: 3rem;
}

@media screen and (max-width: 960px) {
    .br-mobile {
        display: none;
    }
}

.intro pre {
    padding: 2rem 3rem !important;
    border-radius: 6px;
}
.intro b {
    font-weight: 600;
    font-variation-settings: 'wght' 600;
}

.intro code {
    border-radius: 6px;
    overflow: hidden;
    font-size: 1.2rem !important;
}

/* TABLE */

._table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    display: block; /* Verhindert Einschränkungen durch das Tabellen-Layout */
    position: relative;
    margin: 0 auto;
}
._table tr {
    padding-left: 2rem;
    padding-right: 0;
}
._table th {
    text-align: left;
    font-weight: 600;
    font-variation-settings: 'wght' 600;
}
._table th,
._table td {
    line-height: 1.4;
    vertical-align: top;
    padding-right: 2em;
}
._table thead,
._table tbody {
    display: block; /* Macht das tbody zu einem Block-Element */
    width: 100%;
}

._table thead ._description,
._table thead ._status,
._table thead ._version,
._table thead ._links {
    display: none;
}

/* TABLE COLUMS */
._table thead tr {
    display: grid;
    position: relative;
    width: 100%;
    grid-template-columns: 1fr auto auto;
    padding-top: 0;
    padding-bottom: .4em;
    border-bottom: 1px solid;
}
._table thead ._free {
    width: 5em;
}
._table thead ._pro {
    width: 3em;
}

._table tbody tr {
    display: grid;
    row-gap: .4em;
    position: relative;
    row-gap: .1em;
    width: 100%;
    padding-top: 1em;
    padding-bottom: 1em;
    grid-template-columns: auto auto 1fr auto auto;
    grid-template-areas:
        "title title title free pro"
        "status version links links links"
        "description description description description description";
}

._table tr:nth-child(even) {
    background-color: var(--color-table-even);
}

._table tbody ._empty {
    display: none;
}

._table tbody ._title {
    grid-area: title;
    font-size: .95em;
    font-weight: 500;
    font-variation-settings: 'wght' 500;
    color: var(--color-text);
}
._table tbody ._description {
    grid-area: description;
    font-size: .8em;
	line-height: 1.4;
    color: var(--color-secondary-text);
}

._table tbody ._status {
    grid-area: status;
    font-size: .8em;
    font-weight: 600;
    font-variation-settings: 'wght' 600;
}
._table tbody ._version {
    grid-area: version;
    font-size: .8em;
}
._table tbody ._links {
    grid-area: links;
    font-size: .8em;
}
._table ._links a {
    grid-area: title;
    color: var(--color-brand);
    margin-right: .8em;
}
._table tbody ._free {
    grid-area: free;
    width: 5em;
}
._table tbody ._pro {
    grid-area: pro;
    width: 3em;
}

/* TABLE STYLES */

._table tbody ._new {
    color: var( --color-danger );
}
._table tbody ._upcoming {
    color: var( --color-violett-a8 );
}
._table tbody ._yes,
._table tbody ._no {
    position: relative;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
}
._table tbody ._yes:before,
._table tbody ._no:before {
    content: '';
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-size: contain;
    background-repeat: no-repeat;
}
._table tbody ._yes:before {
    background-image: url('data:image/svg+xml; utf8, <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="555" height="504" viewBox="0, 0, 555, 504"><g id="Ebene_1"><path d="M502.99,0 L555.409,34.946 L267.409,466.946 L242.713,503.991 L0,180.373 L50.4,142.573 L239.687,394.956 L502.99,0 z" fill="rgb(70, 170, 130)"/></g></svg>');
}
._table tbody ._no:before {
    background-image: url('data:image/svg+xml; utf8, <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="555" height="504" viewBox="0, 0, 555, 504"><g id="Ebene_1"><path d="M460.787,27.287 L503.213,69.713 L320.426,252.5 L503.213,435.287 L460.787,477.713 L278,294.926 L95.213,477.713 L52.787,435.287 L235.574,252.5 L52.787,69.713 L95.213,27.287 L278,210.074 L460.787,27.287 z" fill="rgb(170, 70, 70)"/></g></svg>');
}

._table tbody ._yes {
    top: .18rem;
}
._table tbody ._no {
    top: .2rem;
}

/* TABLE MOBILE */

@media (max-width: 600px ) {

    ._table thead {
        display: none;
    }

    /* ._table td:before {
        content: attr(data-title) ":";
        padding-right: 1rem;
    } */

    /* ._table td {

    } */

    ._table tr {
        margin-top: .6em;
    }

    ._table tr {
        overflow: hidden;
        display: block !important;
        background-color: var(--color-table-even);
    }

    ._table td {
        float: left;
        display: block;
    }

    ._table ._status,
    ._table ._version,
    ._table ._links {
        padding-right: 1em;
    }

    ._table ._title {
        width: 100%;
    }
    ._table ._free {
        clear: left;
        margin-right: 1em;
    }
    ._table ._free,
    ._table ._pro {
        margin-top: .4em;
        font-size: .8em;
    }
    ._table ._description {
        clear: left;
        margin-top: .4em;
    }
    ._table ._free,
    ._table ._pro {
        white-space: nowrap;
    }
    ._table ._free:before,
    ._table ._pro:before {
        content: attr(data-title) ":";
        padding-right: .8rem;
        display: inline-block;
    }

    ._table ._yes {
        top: .18rem;
    }
    ._table ._no {
        top: .22rem;
    }

}

/* Field Settings
---------------------------------------------------------- */

.field-settings ._fieldtype {
    display: block;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* PRICING TABLE
---------------------------------------------------------- */

.price ._text {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 600px;
    text-align: center;
}
.price b {
    font-weight: 600;
    font-variation-settings: 'wght' 600;
}
.price ._text a {
    white-space: nowrap;
}
.price ._description b {
   font-size: 1.2em;
}

.pricing-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    list-style-type: none;
    padding-left: 0;
    column-gap: 3em;
    row-gap: 3em;
}

.pricing-item {
    display: grid;
    grid-template-areas: "title" "description" "price" "link";
    grid-template-rows: auto 1fr auto auto;
    color: var(--color-text-dark);
    text-align: center;
    flex-basis: calc( 420px - 3em );
    width: 100%;
    max-width: 420px;
    border: 1px solid var( --color-action );
    border-radius: .3em;
    padding: 2em 2em 3em 2em;
}

.pricing-item ._title {
    grid-area: title;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2rem;
    color: var( --color-action );
    font-variation-settings: 'wght' 600;
}

.pricing-item ._description {
    grid-area: description;
    font-size: .9em;
    line-height: 1.4;
}

.pricing-item ._price {
    grid-area: price;
    font-size: 3rem;
    margin-top: .2rem;
    margin-bottom: 2rem;
    white-space: nowrap;
}

.pricing-item ._price span {
    display: inline-block;
    font-size: 1.4rem;
}

.pricing-item ._link {
    grid-area: link;
    width: 100%;
    max-width: 200px;
    justify-self: center;
}

.pricing-item._highlighted {
    background-color: var( --color-action );
    color: var( --color-white );
}

.pricing-item._highlighted ._title {
    color: var( --color-white );
}
.pricing-item._highlighted b,
.pricing-item._highlighted strong {
    color: var( --color-white );
}

/* Free Version
---------------------------------------------------------- */

.free-version ._link {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: var( --color-action );
}

/* Centered Section
---------------------------------------------------------- */
._centered-section p {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    text-align: center;
}

._centered-section ._list {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;

}

._centered-section h3 {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    font-size: 1.3rem;
}
