/* Blog */

.blog .stage-small h2 {
    color: #333;
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    max-width: 70%;
    margin: 0 auto;
}

.blog .stage-small.press-stage h1 {
    font-size: 40px;
    line-height: normal;
}

.blog .stage-small.press-stage h2 {
    max-width: 100%;
}

.blog a.read-more {
    max-width: fit-content;
    width:100%;
}

.blog-hero-slider {
    padding: 96px 5%;
}

.blog-hero-slider-inner {
    max-width: 1251px;
    margin: 0 auto;
    position: relative;
}

/* Viewport & Track */

.blog-hero-slider-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.blog-hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease; /* Slide-Animation */
    will-change: transform;
}

/* Jeder Slide nimmt 100% Breite des Viewports ein */

.blog-hero-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    display: flex;
    gap: 66px;
    align-items: stretch;
}

/* Die restlichen Styles wie gehabt */

.blog-hero-slide-image-wrapper {
    flex: 0.2 0 50%;
}

.blog-hero-slide-image {
    width: 100%;
    height: 447px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.blog-hero-slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:0 30px;
}

.blog-tag {
    display:flex;
    max-width: fit-content;
    text-align: center;
    border-radius: 16px;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    padding:8px 14px;
    margin:0 0 30px 0;
}

.tag-insight {
    background: rgba(150, 15, 0, 0.07);
    color:#960F00;
}

.tag-case {
    background: rgba(0, 74, 148, 0.07);
    color:#004A94;
}

.tag-technical {
    background: rgba(74, 28, 188, 0.07);
    color:#4A1CBC;
}

.blog-hero-slide-title {
    color: #333;
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    margin:0 0 16px 0;
}

.blog-hero-slide-content p {
    color: #333;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    margin:0 0 24px 0;
}


.blog-hero-slider-dots {
    margin:43px 0 0 0;
}

.blog-hero-slider-arrow-prev {
    left: -22px;
}

.blog-hero-slider-arrow-next {
    right: -22px;
}

@media (max-width: 992px) {

    .blog .stage-small h2 {
        max-width: 100%;
    }

    .blog-hero-slide {
        gap: 20px;
    }

    .blog-hero-slide-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {

    .blog-hero-slide-image-wrapper {
        flex:0;
    }

    .blog-hero-slider-arrow {
        display: none;
    }
    .blog-hero-slide {
        flex-direction: column;
    }

    .blog-hero-slide-image {
        max-height: 260px;
    }

    .blog-hero-slider-arrow-prev {
        left: 10px;
    }

    .blog-hero-slider-arrow-next {
        right: 10px;
    }
}

.blog-articles {
    padding: 96px 5%;
}

.blog-articles-inner {
    max-width: 1251px;
    margin: 0 auto;
}

/* Header */

.blog-articles-header {
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 64px;
}

.blog-articles-title {
    color: #333;
    font-family: "Open Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
}

/* Filter */

.blog-articles-filters {
    display:flex;
    gap:20px;
}

.blog-filter {
    position: relative;
    width: 350px;
}
.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid #D5D7DA;
    border-radius: 8px 8px 8px 8px;
    background: #FFF;
    cursor: pointer;
    margin:0 0 15px 0;
}

.blog-filter.open .select-trigger {
    border-radius: 8px 8px 0px 0px;
}

.select-trigger .trigger-text {
    color: #AEAEAE;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.blog-filter-dropdown {
    display: none;
    position: absolute;
    bottom: auto;
    top: 42px;
    left: 0;
    width: 100%;
    max-height: 600px; /* scrollbar-fähig */
    overflow-y: auto;
    border: 1px solid #F5F5F5;
    border-radius: 0px 0px 8px 8px;
    background: #FFF;
    box-shadow:0px 10px 26px -4px rgba(10,13,18,0.08);
    z-index: 100;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* Internet Explorer 10+ */
}

.blog-filter-dropdown::-webkit-scrollbar {
    display: none;                  /* Safari & Chrome & iOS */
}
.blog-filter-dropdown label {
    display: block;
    padding: 10px 10px 10px 48px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    text-indent: -31px;
    line-height: 24px;
}

.blog-filter-dropdown label:first-child {
    border-bottom: 1px solid #DFDFDF;
}
.blog-filter-dropdown input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 6px;
    border: 1px solid #D5D7DA;
    background: #FFF;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.blog-filter-dropdown input[type="checkbox"]:checked {
    background: #E97406;
    border-color: #E97406;
}
.blog-filter-dropdown input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 9px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.blog-filter.open .blog-filter-dropdown {
    display: block;
}

/* Scrollbar-Container */
.options-scrollbar {
    position: absolute;
    bottom: 0;
    right: 0px;
    width: 6px;
    height: 100%;
    z-index: 200;
    pointer-events: none;
    display: none;
    background: transparent;
}

.options-scrollbar-thumb {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 30px;
    border-radius: 3px;
    background: rgba(60,60,60,0.3);
    transition: background 0.3s;
}

/* Sichtbar wenn offen */

.custom-select.open .options-scrollbar {
    display: block;
}

.custom-select.open .select-trigger {
    border-radius: 0px 0px 8px 8px;
}

.custom-select.open img {
    transform: rotate(180deg);
}

.blog-filter-active {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 12px 0 24px;
}

.blog-filter-tag {
    padding: 2px 8px 2px 10px;
    border-radius: 16px;
    border: 1px solid #D9DBDD;
    background: #E5E5E5;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-filter-tag .remove {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.blog-filter-active .reset-tags {
    margin-left: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #E97406;
    text-decoration: none;
    white-space: nowrap;
}

/* Grid */

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Zustand während des „Neusortierens“ */
.blog-articles-grid.is-updating {
    opacity: 0;
    transform: translateY(10px);
}

/* Karten */

.blog-article-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.blog-article-image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    position: relative;
    overflow: hidden;
}

.blog-article-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-article-body .blog-tag {
    margin-bottom: 16px;
}

.blog-article-title {
    color: #333;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    margin-bottom: 20px;
}

.blog-article-body p {
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 24px;
}


.blog-article-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #E97406;
    align-self: flex-start;
    position: relative;
}

.blog-article-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.blog-article-link:hover::after {
    transform: scaleX(1);
}

/* „Alle anzeigen“-Bereich */

.blog-articles-more-wrapper, .press-more-wrapper {
    margin-top: 64px;
    text-align: center;
}

.blog-articles-show-all, .press-show-more {
    display:flex;
    gap: 8px;
    justify-content: center;
    cursor: pointer;
}

.blog-articles-show-all span, .press-show-more span {
    color:#000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.blog-articles-show-all:hover, .press-show-more:hover {
    text-decoration: underline;
}

    /* Verstecken über Filter/Limit */

.blog-article-card.is-filter-hidden,
.blog-article-card.is-limit-hidden {
    display: none;
}

/* Responsive */

@media (max-width: 992px) {
    .blog-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-articles-header {
        margin-bottom: 18px;
    }
}

.press {
    padding: 96px 5%;
}

.press-inner {
    max-width: 1251px;
    margin: 0 auto;
}

/* Header */

.press-header {
    max-width: 960px;
    margin-bottom: 64px;
}

.press-header h2 {
    font-family: "Open Sans", sans-serif;
    color:#333;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    margin:0 0 20px 0;
}

.press-header p {
    font-family: "Open Sans", sans-serif;
    color:#333;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* 168.75% */
}

/* Liste */

.press-list {
    display: flex;
    flex-direction: column;
    gap: 42px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Zustand beim Update (falls du später animierst) */
.press-list.is-updating {
    opacity: 0;
    transform: translateY(6px);
}

.press-item {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 30px;
    border-radius: 12px;
    border: 2px solid #F3F3F3;
    align-items: stretch;
}


.press-item-image-wrapper {
    border-radius: 12px 0 0 12px;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.press-item-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.press-item-content {
    display: flex;
    flex-direction: column;
    padding: 30px;
    justify-content: center;
}

/* Meta, Titel, Text, Link */

.press-item-meta {
    color: #333;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    margin: 0 0 16px 0;
}

.press-item-label {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background-color: #EEF2FF;
    color: #4338CA;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.press-item h3 {
    color: #333;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    margin-bottom: 12px;
}

.press-item p {
    color: #333;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 24px;
}

/* Ausblenden über Limit */

.press-item.is-limit-hidden {
    display: none;
}

/* Responsive */

@media (max-width: 900px) {
    .press-item {
        grid-template-columns: 1fr;
    }

    .press-item-image-wrapper {
        min-height: 200px;
    }
}

@media (max-width: 640px) {
    .press {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .press-title {
        font-size: 24px;
    }
}

/* Blog Artikel */

.stage-blog-article {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    background:
            linear-gradient(to bottom, transparent 70%, white 70%),
            url('/img/casestudy/casestudy_background.png') no-repeat top center / cover;
}

.stage-blog-article .content-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:0 5%;
}

.stage-blog-article .content-wrapper {
    max-width: 1251px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stage-blog-article .stage-blog-text-container {
    max-width:930px;
    padding:0 5%;
    margin: 0 auto;
    margin-top:70px;
}

.stage-blog-article .content-wrapper h1 {
    color: #333;
    text-align: center;
    font-family: "Open Sans";
    font-size: 40px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom:20px;
}

.stage-blog-article .content-wrapper h2 {
    color: #333;
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    margin-bottom:20px;
}

.stage-blog-article .blog-tag {
    margin:0 auto;
    margin-bottom:41px;
}

.stage-blog-article .content-wrapper img {
    width: 100%;
    height: 390px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin-bottom: 91px;
}


.blog-article {
    max-width: 1251px;
    width: 100%;
    margin:0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.blog-article article {
    max-width: 720px;
    margin:0 auto;
}

.blog-article h2 {
    color: #333;
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px; /* 158.333% */
    margin-bottom: 23px;
}

.blog-article h3 {
    color: #333;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px; /* 168.75% */
    margin-bottom: 16px;
}

.blog-article p {
    color: #333;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* 168.75% */
    margin-bottom: 16px;
}

.blog-article-teaser p {
    margin-bottom: 0;
}

.blog-article ul {
    list-style: unset;
    margin-left: 30px;
    margin-bottom: 16px;
}

.blog-article ul {
    list-style: unset;
    margin-left: 30px;
    margin-bottom: 16px;
}

.article-link {
    color: #333;
}
.article-link:hover {
    text-decoration: none;
}

.press-article ul li {
    color: #333;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* 168.75% */
}


.blog-article ul li p {
    margin:0;
}

.blog-article img {
    width: 100%;
    border-radius: 12px;
    margin:42px 0;
    box-shadow: 0 0 29.468px 0 rgba(0, 0, 0, 0.11);
}

.blog-article-teaser {
    padding:30px;
    border-radius: 16px;
    background: #F3F3F3;
    margin-bottom: 64px;
}

.blog-article-teaser button {
    padding:0 10px 0 20px;
    margin:32px 0 0 0;
}

.blog-article footer {
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.blog-article footer .blog-author-info {
    display:flex;
    align-items: center;
    gap: 24px;
}

.blog-article footer .blog-author-img img {
    border-radius: 12px;
    max-width: 90px;
    box-shadow: none;
    margin: 0;
}

.blog-article footer .blog-author-name {
    color: #333;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 171.429% */
}

.blog-article footer .blog-author-job {
    color: #333;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.blog-article footer {
    margin-bottom: 64px;
}

.blog-article footer button {
    border-radius: 8px;
    border: 1px solid #D5D7DA;
    background: #FFF;
    box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
    padding: 10px 16px;
    color: #414651;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
}

.blog-article footer button svg {
    margin:0 8px 0 0;
}

.blog-article footer button:hover {
    background:#D5D7DA;
    color:#fff;
}

.blog-article footer button svg {
    stroke:#414651;
}

.blog-article footer button:hover svg {
    stroke:#fff !important;
}

.back-to-blog {
    display:flex;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    gap: 6px;
    margin-bottom:96px;
}

.blog-article .press-date {
    color: #333;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 171.429% */
}

.stage-small h2 {
    color:  #333;
    text-align: center;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px; /* 168.75% */
}

.press-article {
    margin-top:90px;
}

.share {
    position: relative;
}

.blog-article-teaser {
    margin-top:42px;
}

/* Tooltip-Element */
.share .share-tooltip {
    border:1px solid #E7E7E7;
    position: absolute;
    bottom: 120%; /* über dem Button */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    font-family: "Open Sans";
    font-size: 12px;
    font-style: normal;
    box-shadow:0px 10px 26px -4px rgba(10,13,18,0.08);
}

.blog-article-teaser a {
    color:#fff !important;
}

.blog-article-teaser a:hover {
    text-decoration: none;
}

/* sichtbarer Zustand */
.share .share-tooltip.show {
    opacity: 1;
}


/* Responsive */

@media (max-width: 900px) {
    .stage-blog-article .stage-blog-text-container {
        max-width:100%;
        padding:0 5%;
    }

    .stage-blog-article .content-wrapper h1 {
        font-size: 32px;
    }

    .stage-blog-article .content-wrapper h2 {
        font-size: 14px;
        line-height: auto;
    }

    .stage-blog-article .content-wrapper img {
        margin-bottom: 5%;
    }
}

