/* ------------------------------------------------------------------
   Startseite (Relaunch 2026) – ergänzt beratung.css / beratung-luftig.css
   ------------------------------------------------------------------ */
.vc-startseite { font-size: 16px; line-height: 1.65; }
#services .vc-startseite .vc-hero { max-width: none; margin-bottom: 0; }
#services .custom.vc-startseite h1.vc-startseite-h1 { margin-bottom: 18px; }
.vc-startseite .vc-abschnitt { margin-top: 52px; padding-top: 44px; border-top: 1px solid #e3e8ef; }
.vc-startseite .vc-abschnitt > h2 { margin-top: 0; }

/* Typische Aufgaben: 2 x 2 Kacheln */
.vc-aufgaben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.vc-aufgabe {
    display: flex; flex-direction: column;
    background: linear-gradient(135deg, #f8fafd 0%, #eef3fa 100%);
    border: 1px solid #d7e2f1; border-top: 4px solid #28599e; border-radius: 10px; padding: 22px 24px 18px;
}
.vc-aufgabe h3 { margin: 0 0 10px; font-size: 20px; line-height: 26px; }
.vc-aufgabe p { margin-bottom: 10px; }
.vc-aufgabe-link { margin: auto 0 0 !important; padding-top: 6px; font-weight: 700; }
.vc-aufgabe-link a { color: #28599e; text-decoration: none; }
.vc-aufgabe-link a:hover, .vc-aufgabe-link a:focus { text-decoration: underline; }

/* Prozesskacheln als verlinkte Liste */
.vc-startseite ol.vc-kacheln-start { list-style: none; padding: 0; margin: 22px 0 18px; }
.vc-startseite ol.vc-kacheln-start > li { margin: 0; display: flex; }
.vc-startseite ol.vc-kacheln-start .vc-kachel { width: 100%; }
.vc-kachel-text { display: block; font-size: 14px; line-height: 20px; color: #5a6270; margin-top: 8px; }
.vc-startseite .vc-kacheln-start .vc-kachel::after { content: none !important; }

/* Methoden als Schlagworte */
.vc-startseite ul.vc-methoden { list-style: none; margin: 16px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vc-methoden li { margin: 0; padding: 8px 16px; border-radius: 20px; background: #eef3fa; border: 1px solid #c9d7ec; font-weight: 600; }
.vc-methoden a { color: #1d4176; text-decoration: none; }
.vc-methoden a:hover, .vc-methoden a:focus { text-decoration: underline; }

/* Auszeichnungen */
.vc-awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.vc-award { display: flex; flex-direction: column; background: #fff; border: 1px solid #d7e2f1; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(40, 89, 158, .08); }
.vc-award img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; }
.vc-award-bild { display: block; }
.vc-award-text { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }
.vc-award-jahr { align-self: flex-start; padding: 2px 10px; border-radius: 12px; background: #28599e; color: #fff; font-size: 13px; font-weight: 700; }
.vc-award h3 { margin: 10px 0 6px; font-size: 19px; line-height: 25px; }
.vc-award p { margin-bottom: 8px; }
.vc-award-links { margin: auto 0 0 !important; padding-top: 6px; font-size: 14px; font-weight: 600; }

/* Kompetenz-Kästen */
.vc-startseite .vc-zweispaltig { margin-top: 22px; }
.vc-startseite .vc-box h3 { margin-top: 0; }
.vc-links-zeile { font-weight: 600; }

/* Abschluss nach den Kundenstimmen */
#vc-start-abschluss { padding: 10px 0 50px; }
#vc-start-abschluss .vc-abschluss { margin-top: 20px; }

@media (max-width: 991px) {
    .vc-awards { grid-template-columns: 1fr; }
    .vc-award { flex-direction: row; }
    .vc-award img, .vc-award-bild { width: 38%; flex: 0 0 38%; }
    .vc-award-bild img { width: 100%; }
}
@media (max-width: 700px) {
    .vc-aufgaben { grid-template-columns: 1fr; }
    .vc-award { flex-direction: column; }
    .vc-award img, .vc-award-bild { width: 100%; flex: none; }
    .vc-startseite .vc-abschnitt { margin-top: 36px; padding-top: 30px; }
}

/* Video: Überschrift und Text links, Video rechts oben */
.vc-startseite .vc-video-start { margin-top: 0; align-items: start; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.vc-startseite .vc-video-start h2 { margin-top: 0; }
@media (max-width: 991px) { .vc-startseite .vc-video-start { grid-template-columns: 1fr; } }

/* Kundenstimmen als Karussell im Stil der Referenzkarten von /beratung */
.vc-karussell-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.vc-karussell-kopf h2 { margin: 0; }
.vc-karussell-pfeile { display: flex; gap: 8px; flex: 0 0 auto; }
.vc-karussell-pfeile[hidden] { display: none; }
.vc-pfeil { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #28599e; background: #fff; color: #28599e; font-size: 22px; line-height: 1; cursor: pointer; }
.vc-pfeil:hover, .vc-pfeil:focus { background: #28599e; color: #fff; }
.vc-pfeil:disabled { opacity: .35; cursor: default; background: #fff; color: #28599e; }
.vc-karussell {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 6px 2px 14px; margin: 18px 0 14px; scrollbar-width: thin;
}
.vc-karussell > .vc-ref { scroll-snap-align: start; }
.vc-karussell:focus { outline: 2px solid #28599e; outline-offset: 4px; }
.vc-stimme h3 { font-size: 18px; line-height: 24px; }
.vc-stimme-zitat { margin: 0 0 10px; padding: 0 0 0 14px; border-left: 3px solid #c9d7ec; font-size: 15px; line-height: 1.6; font-style: italic; color: #333; }
.vc-stimme-zitat p { margin: 0; }
.vc-karussell { align-items: start; }
.vc-karussell.gleich > .vc-stimme { height: var(--vc-karte-h); }
.vc-karussell.gleich > .vc-stimme.offen { height: auto; }
.vc-stimme-inhalt { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.vc-stimme-inhalt.abgeschnitten { -webkit-mask-image: linear-gradient(#000 calc(100% - 3.2em), transparent); mask-image: linear-gradient(#000 calc(100% - 3.2em), transparent); }
.vc-stimme.offen .vc-stimme-inhalt { overflow: visible; -webkit-mask-image: none; mask-image: none; }
.vc-stimme-inhalt > :last-child { margin-bottom: 0; }
.vc-weiterlesen { align-self: flex-start; margin: 6px 0 4px; padding: 0; border: 0; background: none; color: #28599e; font-weight: 600; font-size: 14px; cursor: pointer; }
.vc-weiterlesen:hover { text-decoration: underline; }
.vc-stimme-ergebnis { font-size: 14px; line-height: 1.5; background: #eef3fa; border-radius: 6px; padding: 10px 12px; }
.vc-stimme-links { margin: 0 !important; padding-top: 8px; font-size: 14px; font-weight: 600; }
@media (max-width: 991px) { .vc-karussell { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .vc-karussell { grid-auto-columns: 88%; } }

/* Einstieg: Text links, Video rechts */
.vc-hero-zweispaltig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; margin-top: 6px; }
.vc-hero-zweispaltig .vc-knoepfe { margin-top: 18px; }
.vc-hero-video { border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); background: #000; position: relative; width: 100%; padding-top: 56.25%; }
.vc-hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 991px) { .vc-hero-zweispaltig { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) {
    .vc-karussell-kopf { flex-wrap: wrap; align-items: center; }
    .vc-pfeil { width: 36px; height: 36px; font-size: 20px; }
    .vc-startseite .vc-button { white-space: normal; max-width: 100%; }
}

/* Kundenstimmen mit Video: kleines Vorschaubild, Klick oeffnet das Video im Fenster (js/video.js) */
.vc-stimme-video {
    display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 6px 12px 6px 6px;
    border-radius: 8px; background: #eef3fa; text-decoration: none !important; color: inherit !important;
    transition: box-shadow .15s ease;
}
.vc-stimme-video:hover, .vc-stimme-video:focus { box-shadow: 0 3px 10px rgba(0, 0, 0, .14); }
.vc-stimme-video-bild { position: relative; flex: 0 0 112px; width: 112px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg, #28599e, #1d4176); }
.vc-stimme-video-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-stimme-video-bild img:not([src]) { visibility: hidden; }
.vc-stimme-video-play {
    position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
    border-radius: 50%; background: rgba(40, 89, 158, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    transition: transform .15s ease;
}
.vc-stimme-video-play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vc-stimme-video:hover .vc-stimme-video-play { transform: scale(1.1); }
.vc-stimme-video-text { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; color: #3a4a5e; }
.vc-stimme-video-text strong { color: #28599e; font-size: 14px; }
