﻿.cta-btn {
    background: #fff;
    color: #27b3a2;
    border: none;
    border-radius: 2rem;
    padding: 0.9rem 2.3rem;
    font-size: 1.18rem;
    font-weight: 700;
    box-shadow: 0 2px 16px rgba(30,180,220,0.08);
    cursor: pointer;
    transition: background 0.17s, color 0.17s;
}

    .cta-btn:hover {
        background: #e0fbfc;
        color: #1c8e7c;
    }


.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 2rem;
    margin: 3rem 0;
    width: 95%;
}

    .quick-links a {
        text-decoration: none;
    }

.ql-box {
    background: #fff;
    border-radius: 1.3rem;
    box-shadow: 0 2px 16px rgba(20,40,90,0.07);
    padding: 2.1rem 1.2rem;
    text-align: center;
    transition: box-shadow 0.18s, transform 0.16s;
}

    .ql-box:hover {
        box-shadow: 0 8px 34px rgba(40,170,200,0.13);
        transform: translateY(-3px) scale(1.02);
    }

.ql-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ql-title {
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #1cb3c8;
    color: #000;
    color: #536076;
}

.ql-desc {
    color: #536076;
    font-size: 1.03rem;
}

.leistungen-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    /* margin: 2.5rem 0 1.4rem 0; */
}

.leistung-tab {
    background: #e0fbfc;
    border: none;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    padding: 0.8em 2em;
    font-size: 1.1rem;
    color: #2181a7;
    color: #536076;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 8px rgba(44,170,200,0.06);
    transition: background 0.16s, color 0.16s, transform 0.13s;
}

    .leistung-tab:hover {
        box-shadow: 0 8px 34px rgba(40,170,200,0.13);
        transform: translateY(-3px) scale(1.02);
    }


.leistungen-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.leistung-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(44,170,200,0.08);
    padding: 1.3rem 1.2rem 1.1rem 1.2rem;
    min-width: 230px;
    max-width: 330px;
    flex: 1 0 220px;
}


.publikationen-row {
    display: flex;
    gap: 1.7rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.publik-cover {
    background: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 1px 7px rgba(20,40,80,0.06);
    padding: 0.9rem 0.8rem 0.7rem 0.8rem;
    width: 270px;
    text-align: center;
}

    .publik-cover img {
        width: 100%;
        border-radius: 0.7rem;
        box-shadow: 0 2px 7px rgba(44,170,200,0.10);
    }

.publik-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1cb3c8;
    margin: 0.5em 0 0.3em 0;
}

.publik-link {
    font-size: 0.96rem;
    color: #178ea1;
    text-decoration: underline;
}

@media (max-width:1650px) {


    .leistung-tab {
        font-size: 1rem;
    }
}

@media (max-width:1550px) {


    .leistung-tab {
        font-size: 0.9rem;
    }
}

@media (max-width:1400px) {


    .leistung-tab {
        font-size: 0.8rem;
    }
}

@media (max-width:1200px) {


    .leistung-tab {
        font-size: 0.7rem;
    }
}

@media (max-width:900px) {
    .quick-links {
        grid-template-columns: 1fr;
    }

    .leistungen-content {
        flex-direction: column;
        align-items: center;
    }

    .leistungen-tabs {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }

    .leistung-tab {
        width: 100%;
        font-size: 1.1rem;
    }
}

@media (max-width:600px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .ql-box {
        padding: 1.4rem 0.7rem;
    }
}


.news-section {
    margin: 3.5rem auto 4rem auto;
    max-width: 1120px;
}

.news-row {
    display: flex;
    gap: 1.7rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.news-card {
    background: #fff;
    border-radius: 1.3rem;
    box-shadow: 0 2px 14px rgba(20,80,180,0.07);
    width: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.17s, transform 0.15s;
}

    .news-card:hover {
        box-shadow: 0 8px 34px rgba(40,170,200,0.15);
        transform: translateY(-3px) scale(1.018);
    }

.news-image img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
}

.news-content {
    padding: 1.3rem 1.2rem 1.5rem 1.2rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 0.93rem;
    color: #888;
    margin-bottom: 0.6rem;
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.news-tag {
    background: #e0fbfc;
    color: #1cb3c8;
    border-radius: 1em;
    padding: 0.18em 0.75em;
    font-size: 0.93em;
    font-weight: 600;
}

.news-title {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 0.6em 0;
    color: #178ea1;
}

.news-text {
    font-size: 1.03rem;
    color: #455a64;
    margin-bottom: 0.8em;
    flex: 1 1 auto;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Anzahl der Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    color: #27b3a2;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.13s;
}

    .news-link:hover {
        color: #178ea1;
    }

@media (max-width: 1100px) {
    .news-row {
        gap: 1.3rem;
    }

    .news-card {
        width: 98vw;
        max-width: 470px;
    }
}

@media (max-width: 600px) {
    .news-row {
        flex-direction: column;
        gap: 1.2rem;
    }

    .news-card {
        width: 99vw;
        max-width: 99vw;
    }

    .news-image img {
        height: 120px;
    }

    .news-title {
        font-size: 1.05rem;
    }
}

#platform {
    opacity: 0;
    padding: 25px 0;
    transform: translateY(15px);
    animation: platformEntrance 1.8s ease-out forwards;
    animation-delay: 0.2s;
    width: 100%;
}

@keyframes platformEntrance {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#platform img {
    opacity: 0;
    transform: scale(0.98);
    animation: imageFadeIn 2s ease-out forwards;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#platform img:nth-of-type(1) { animation-delay: 1s; }
#platform img:nth-of-type(2) { animation-delay: 1.1s; }
#platform img:nth-of-type(3) { animation-delay: 1.2s; }
#platform img:nth-of-type(4) { animation-delay: 1.3s; }

@keyframes imageFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#platform img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 576px) {
    #platform img {
        height: 28px;
    }
}

.social-connect-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(39, 179, 162, 0.1);
    max-width: 650px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .social-connect-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(39, 179, 162, 0.15);
    }

.social-header {
    margin-bottom: 2rem;
}

.social-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.social-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27b3a2;
    margin-bottom: 0.5rem;
}

.social-subtitle {
    font-size: 1rem;
    color: #536076;
    margin: 0;
}

.social-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 90px;
}

    .social-link:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }

    .social-link.linkedin:hover {
        background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
    }

    .social-link.youtube:hover {
        background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
    }

    .social-link.instagram:hover {
        background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    }

    .social-link.facebook:hover {
        background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    }

    .social-link img {
        height: 40px;
        width: 40px;
        object-fit: contain;
        transition: filter 0.3s ease;
    }

    .social-link:hover img {
        filter: brightness(0) invert(1);
    }

.social-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #536076;
    transition: color 0.3s ease;
}

.social-link:hover .social-label {
    color: #fff;
}

/* Zusätzliche Regel für social-link-compact (falls noch verwendet) */
.social-link-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

    .social-link-compact img {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
        object-fit: contain;
        display: block;
    }

.social-label-compact {
    font-size: 0.9rem;
    font-weight: 600;
    color: #536076;
    margin-left: 0.5rem;
}

@media (max-width: 576px) {
    .social-connect-box {
        padding: 2rem 1.5rem;
    }

    .social-title {
        font-size: 1.25rem;
    }

    .social-links-container {
        gap: 1rem;
       
    }

    .social-link {
        min-width: 75px;
        padding: 0.75rem;
    }

        .social-link img {
            height: 32px;
            width: 32px;
        }
}

#platform {
    opacity: 0;
    padding: 25px 0;
    transform: translateY(15px);
    animation: platformEntrance 1.8s ease-out forwards;
    animation-delay: 0.2s;
    width: 100%;
}

.social-connect-box-wide {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 1rem;
    padding: 1.5rem 3rem;
    box-shadow: 0 4px 20px rgba(39, 179, 162, 0.1);
    width: 95%;
    transition: box-shadow 0.3s ease;
}

    .social-connect-box-wide:hover {
        box-shadow: 0 6px 25px rgba(39, 179, 162, 0.15);
    }

.social-content-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 3rem;
    flex-wrap: wrap;
}

.social-header-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon-inline {
    font-size: 2.5rem;
}

.social-text-inline {
    text-align: left;
}

.social-title-inline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #27b3a2;
    margin: 0 0 0.25rem 0;
}

.social-subtitle-inline {
    font-size: 0.9rem;
    color: #536076;
    margin: 0;
}

.social-links-horizontal {
    display: flex;
    align-items: center;
    align-content:space-between;
    gap: 1rem;
}

/* Brand-konforme Social-Media-Links */
.social-link-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

    .social-link-brand:hover {
        transform: scale(1.1);
    }

    /* LinkedIn - Offizielle Farbe: #0A66C2 */
    .social-link-brand.linkedin:hover {
        background: rgba(10, 102, 194, 0.1);
    }

    /* YouTube - Offizielle Farbe: #FF0000 */
    .social-link-brand.youtube:hover {
        background: rgba(255, 0, 0, 0.1);
    }

    /* Instagram - Gradient-Farbe */
    .social-link-brand.instagram:hover {
        background: rgba(225, 48, 108, 0.1);
    }

    /* Facebook - Offizielle Farbe: #1877F2 */
    .social-link-brand.facebook:hover {
        background: rgba(24, 119, 242, 0.1);
    }

    /* Logo-Spezifikationen - NUR HÖHE definieren, Breite automatisch */
    .social-link-brand img {
        height: 32px;
        width: auto;
        min-height: 32px;
        max-height: 32px;
        object-fit: contain;
        transition: transform 0.3s ease;
        display: block;
    }

    .social-link-brand:hover img {
        transform: scale(1.1);
    }

@media (max-width: 992px) {
    .social-content-horizontal {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-header-inline {
        flex-direction: column;
        text-align: center;
    }

    .social-text-inline {
        text-align: center;
    }

    .social-links-horizontal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .social-connect-box-wide {
        padding: 1.25rem 1.5rem;
        width: 98%;
    }

    .social-icon-inline {
        font-size: 2rem;
    }

    .social-title-inline {
        font-size: 1.1rem;
    }

    .social-links-horizontal {
        gap: 0.5rem;
        flex-direction:column;
    }

    .social-link-brand {
        padding: 0.6rem;
    }

    .social-link-brand img {
        height: 28px;
        min-height: 28px;
        max-height: 28px;
    }
}

.social-link-brand {
    opacity: 0;
    transform: translateY(10px);
    animation: linkFadeIn 1s ease-out forwards;
}

.social-link-brand:nth-child(1) { animation-delay: 0.8s; }
.social-link-brand:nth-child(2) { animation-delay: 1s; }
.social-link-brand:nth-child(3) { animation-delay: 1.2s; }
.social-link-brand:nth-child(4) { animation-delay: 1.4s; }

@keyframes linkFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
