/* ============================================================
   WS-STANDARD-TEMPLATE-1 – ws1.css  v2.0
   ============================================================ */

/* ── 1. HERO ──────────────────────────────────────────────── */
.ws1-hero {
    display: flex;
    flex-direction: column;
    background: #2c3e50;
}

/* Medien-Bereich (Bild oder Video) */
.ws1-hero__media-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}
.ws1-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}
video.ws1-hero__bg { object-fit: cover; }

/* Badge: unten mittig, 50% Transparenz */
.ws1-hero__badge-wrap {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    padding-bottom: 0;
}
.ws1-hero__badge {
    display: inline-block;
    background: rgba(0, 145, 209, 0.5);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 0;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
a.ws1-hero__badge:hover {
    background: rgba(0, 145, 209, 0.5);
    color: #e0e0e0;
}

/* Text-Bereich: außerhalb des Bildes, leicht grauer Hintergrund */
.ws1-hero__textbar {
    background: #f4f4f4;
    padding: 0;
    width: 100%;
}
.ws1-hero__h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px;
    line-height: 1.25;
}
.ws1-hero__sub {
    font-size: 1rem;
    line-height: 1.75;
    color: #3a3a3a;
    margin: 0;
    max-width: 100%;
}

/* ── 2. INTRO / GRAUER CONTAINER ─────────────────────────── */
.ws1-intro { margin: 0; padding: 0; }

/* Container: dunkles Grau, Hintergrundbild rechts */
.ws1-intro__graybox {
    position: relative;
    background-color: #cce9f5;
    background-size: 50% auto;
    background-repeat: no-repeat;
    background-position: right center;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
/* Leichter Overlay damit Bild nicht zu dominant */
.ws1-intro__graybox::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #cce9f5 38%, rgba(204,233,245,0.6) 55%, transparent 100%);
    pointer-events: none;
}
.ws1-intro__graybox .container {
    position: relative;
    z-index: 1;
    width: 100%;
}
/* Text-Bereich: ca. 1/3 der Breite */
.ws1-intro__graybox-content {
    width: 38%;
    min-width: 280px;
    padding: 40px 0;
}
.ws1-intro__graybox-h {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 14px;
    line-height: 1.3;
}
.ws1-intro__graybox-txt {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #3a3a3a;
}
.ws1-intro__graybox-txt p { margin: 0 0 10px; }
.ws1-intro__graybox-txt p:last-child { margin: 0; }

@media (max-width: 900px) {
    .ws1-intro__graybox {
        background-size: cover;
        background-position: center;
        min-height: 220px;
    }
    .ws1-intro__graybox::after {
        background: rgba(204,233,245,0.85);
    }
    .ws1-intro__graybox-content {
        width: 100%;
        padding: 32px 0;
    }
}

/* ── 3. ICON-GRID (6 Icons, 3x2) ─────────────────────────── */
.ws1-icons {
    padding: 56px 0;
    background: #f7f7f7;
}
.ws1-icons__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 40px;
}
.ws1-icon-item { text-align: inherit; }
.ws1-icon-item__img {
    width: auto;
    height: 80px;
    object-fit: contain;
    margin: 0 0 12px;
    display: block;
}
.ws1-icon-item__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 20px 0 0 !important;
    line-height: 1.3;
    text-align: inherit;
}
.ws1-icon-item__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #495a65;
    margin-top: 20px !important;
    margin: 0;
    text-align: inherit;
}
/* Ausrichtung via Elternklasse */
.ws1-icons--align-left   .ws1-icon-item__img { margin-left: 0; margin-right: auto; }
.ws1-icons--align-center .ws1-icon-item__img { margin-left: auto; margin-right: auto; }
.ws1-icons--align-right  .ws1-icon-item__img { margin-left: auto; margin-right: 0; }
.ws1-icons--align-left   .ws1-icon-item { text-align: left; }
.ws1-icons--align-center .ws1-icon-item { text-align: center; }
.ws1-icons--align-right  .ws1-icon-item { text-align: right; }
.ws1-icons--align-left   .ws1-icon-item__title,
.ws1-icons--align-left   .ws1-icon-item__text { text-align: left; }
.ws1-icons--align-center .ws1-icon-item__title,
.ws1-icons--align-center .ws1-icon-item__text { text-align: center; }
.ws1-icons--align-right  .ws1-icon-item__title,
.ws1-icons--align-right  .ws1-icon-item__text { text-align: right; }

@media (max-width: 900px) {
    .ws1-icons__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ws1-icons__grid { grid-template-columns: 1fr; }
}

/* ── 4. APPLIKATIONSKÖPFE ─────────────────────────────────── */
.ws1-app {
    padding: 56px 0;
    background: #f1f1f1;
}
.ws1-app__header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}
.ws1-app__h2 {
    flex: 0 0 75%;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}
.ws1-app__header-img {
    flex: 0 0 calc(25% - 24px);
    text-align: right;
}
.ws1-app__header-img img {
    max-width: 100%;
    height: 220px;
    object-fit: contain;
}
.ws1-app__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
}
.ws1-app__card {
    background: transparent;
}

/* Slider */
.ws1-app__slider {
    position: relative;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}
.ws1-app__slides {
    display: flex;
    overflow: hidden;  /* Clip für Slide-Animation */
}
.ws1-app__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
}
.ws1-app__slide img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* Badges Overlay – rechts oben */
.ws1-app__badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}
.ws1-app__badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    white-space: nowrap;
}
.ws1-app__badge--blue   { background: #0091d1; color: #fff; }
.ws1-app__badge--yellow { background: #f0c040; color: #2c3e50; }
.ws1-app__badge--gray   { background: #d0d5da; color: #2c3e50; }

/* view! Link */
.ws1-app__view-link {
    position: absolute;
    bottom: 10px;
    right: 14px;
    color: #0091d1;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}
.ws1-app__view-link:hover { text-decoration: underline; }

/* Pfeile */
.ws1-app__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    width: 36px; height: 36px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    transition: background 0.2s;
    z-index: 2;
    padding: 0;
}
.ws1-app__arrow:hover { background: #fff; }
.ws1-app__arrow--prev { left: 8px; }
.ws1-app__arrow--next { right: 8px; }

/* Text unter Slider */
.ws1-app__card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 10px 0 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.3;
}
.ws1-app__card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495a65;
    margin: 2px 0 0 !important;
    padding-top: 0 !important;
}

/* ── 5. ÜBERZEUGEN (6 Karten, 2×3) ───────────────────────── */
.ws1-conv {
    padding: 56px 0;
    background: #fff;
}
.ws1-conv__h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 32px;
    text-align: center;
}
.ws1-conv__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ws1-conv__card {
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ws1-conv__video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}
.ws1-conv__video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.ws1-conv__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ws1-conv__text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #495a65;
    margin: 0 0 16px;
    flex: 1;
}
.ws1-conv__btn {
    display: inline-block;
    border: 1px solid #0091d1;
    color: #0091d1;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 2px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}
.ws1-conv__btn:hover { background: #0091d1; color: #fff; }

/* ── 6. USP-LEISTE ────────────────────────────────────────── */
.ws1-usp {
    background: #495a65;
    padding: 0;
    color: #fff;
}
.ws1-usp__h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: inherit;
    margin: 0 0 20px;
    text-align: center;
}
.ws1-usp__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ws1-usp__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: inherit;
    line-height: 1.5;
    opacity: 0.9;
}
.ws1-usp__icon {
    color: #0091d1;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.ws1-usp__item strong {
    display: block;
    color: inherit;
    font-weight: 700;
    margin-bottom: 10px;
}
/* Hell-Hintergrund: dunkle Textfarbe */
.ws1-usp[style*="#ffffff"],
.ws1-usp[style*="#f7f7f7"],
.ws1-usp[style*="#cce9f5"] {
    color: var(--charcoal, #2c3e50);
}

/* ── 7. PRODUKT-TABELLE ───────────────────────────────────── */
.ws1-table {
    padding: 56px 0;
    background: #fff;
}
.ws1-table__h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
}
.ws1-table__sub {
    font-size: 0.9rem;
    color: #495a65;
    margin: 0 0 32px;
}
.ws1-table__cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.ws1-table__col-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e4e4e4;
}
.ws1-table__col-link {
    font-size: 1rem;
    font-weight: 400;
    color: #0091d1;
    text-decoration: none;
    margin-left: 8px;
}
.ws1-table__col-link:hover { text-decoration: underline; }
.ws1-table__section { margin-bottom: 24px; }
.ws1-table__sec-head {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: #495a65;
    padding: 6px 12px;
    margin-bottom: 0;
}
.ws1-table__inner {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.ws1-table__inner tbody tr:nth-child(even) { background: #f7f7f7; }
.ws1-table__inner td {
    padding: 7px 12px;
    border-bottom: 1px solid #e4e4e4;
    color: #3a3a3a;
    vertical-align: top;
}
.ws1-table__lbl { font-weight: 600; color: #495a65; width: 45%; }

/* ── 8. KONTAKT-CTA ───────────────────────────────────────── */
.ws1-cta {
    padding: 48px 0;
    background: #0091d1;
    color: #fff;
}
.ws1-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.ws1-cta__h2 {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.ws1-cta__sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.ws1-btn--cta {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #0091d1 !important;
    border: none;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    cursor: pointer;
}
.ws1-btn--cta:hover { background: #e6f5fb; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .ws1-hero__inner     { grid-template-columns: 1fr; }
    .ws1-hero__img-right { display: none; }
    .ws1-app__grid       { grid-template-columns: 1fr; }
    .ws1-conv__grid      { grid-template-columns: repeat(2, 1fr); }
    .ws1-usp__items      { grid-template-columns: 1fr; }
    .ws1-table__cols     { grid-template-columns: 1fr; }
    .ws1-cta__inner      { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .ws1-conv__grid { grid-template-columns: 1fr; }
}

/* Icon-Grid Link-Wrapper */
a.ws1-icon-item { text-decoration: none; display: block; }
a.ws1-icon-item:hover .ws1-icon-item__title { color: var(--blue-primary); }

/* USP Abstände */
.ws1-usp .ws1-usp__h2 { margin-bottom: 20px !important; }
.ws1-usp .ws1-usp__item strong { margin-bottom: 10px !important; display: block; }

.ws1-usp__strong { display: block; font-weight: 700; margin-bottom: 10px !important; }
.ws1-usp__body, .ws1-usp__body p { margin: 0 !important; padding: 0 !important; }

.ws1-hero__sub p { margin: 0 0 0.5em !important; }
.ws1-hero__sub p:last-child { margin-bottom: 0 !important; }

/* Icon-Grid 4 Icons */
.ws1-icons__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .ws1-icons__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ws1-icons__grid--4 { grid-template-columns: 1fr; } }
