/*
 * DCC Volunteer Portal – Erfahrungsberichte
 * Übernommen aus docs/prototype/erfahrungsberichte.html. Alles liegt unter .dcc-vp,
 * Klassen tragen das Präfix vp-, damit nichts mit Bootstrap 3 / main.css kollidiert.
 * Als Container dient der .container der Website (750 / 970 / 1200 px).
 */

.dcc-vp {
    --vp-accent: #f45a40;        /* wie in dcc_template/main.css */
    --vp-accent-dark: #e04a31;
    --vp-text: #333638;
    --vp-text-soft: #5f6266;
    --vp-muted: #8a8d91;
    --vp-line: #e6e6e6;
    --vp-bg: #ffffff;
    --vp-bg-soft: #f6f5f3;
    --vp-radius: 24px;
    --vp-gutter: 15px;           /* Innenabstand des Bootstrap-Containers */
    --vp-hero-offset: 60px;      /* Höhe der Sticky-Navigation */
    --vp-font: 'robotoregular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --vp-font-medium: 'robotomedium', 'robotoregular', sans-serif;
    --vp-font-bold: 'robotobold', 'robotoregular', sans-serif;
    --vp-font-headline: 'roboto_condensedregular', 'robotoregular', sans-serif;   /* wie h2 in main.css */
    --vp-headline: #67686d;

    /* Unterhalb fremder Floats beginnen (z. B. Breadcrumb-Spalte im Header),
       sonst weichen Bereiche mit overflow: hidden seitlich aus */
    clear: both;

    font-family: var(--vp-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--vp-text);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Reset gegen globale Styles aus main.css ---------- */
.dcc-vp *,
.dcc-vp *::before,
.dcc-vp *::after { box-sizing: border-box; }

.dcc-vp p { margin: 0; color: inherit; font-size: inherit; }
.dcc-vp a { color: inherit; font-size: inherit; text-decoration: none; }
.dcc-vp a:hover,
.dcc-vp a:focus { color: inherit; text-decoration: none; }
.dcc-vp a:focus-visible,
.dcc-vp button:focus-visible { outline: 2px solid var(--vp-accent); outline-offset: 2px; }
.dcc-vp h1,
.dcc-vp h2,
.dcc-vp h3 { margin: 0; font-family: var(--vp-font-bold); font-weight: 400; color: inherit; }
.dcc-vp b,
.dcc-vp strong { font-family: var(--vp-font-bold); font-weight: 400; }
.dcc-vp img { display: block; max-width: 100%; vertical-align: top; }
.dcc-vp button { font: inherit; }
.dcc-vp svg { display: block; flex-shrink: 0; }

.dcc-vp .vp-container--narrow { width: auto; max-width: calc(782px + 2 * var(--vp-gutter)); }

/* ---------- Buttons ---------- */
.dcc-vp .vp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 26px;
    font-family: var(--vp-font-bold);
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.dcc-vp .vp-btn:active { transform: scale(.96); }
.dcc-vp .vp-btn--accent { background: var(--vp-accent); color: #fff; }
.dcc-vp .vp-btn--accent:hover,
.dcc-vp .vp-btn--accent:focus { background: var(--vp-accent-dark); color: #fff; }
.dcc-vp .vp-btn--outline { background: transparent; border-color: var(--vp-text); color: var(--vp-text); }
.dcc-vp .vp-btn--outline:hover,
.dcc-vp .vp-btn--outline:focus { background: var(--vp-text); color: #fff; }

/* ---------- Section-Kopf (Dachzeile + Headline) ---------- */
.dcc-vp .vp-section { padding: 72px 0; }

.dcc-vp .vp-section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dcc-vp .vp-section-head--center { align-items: center; text-align: center; }

/* Dachzeile: Versalien in Akzentfarbe */
.dcc-vp .vp-kicker {
    font-family: var(--vp-font-bold);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vp-accent);
}

.dcc-vp .vp-section-title {
    font-family: var(--vp-font-headline);
    font-size: 2rem;
    line-height: 1.2;
    color: var(--vp-headline);
}

.dcc-vp .vp-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

/* ---------- Slider-Pfeile ---------- */
.dcc-vp .vp-slider-nav { display: flex; gap: 12px; flex-shrink: 0; }

.dcc-vp .vp-slider-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: var(--vp-bg-soft);
    color: var(--vp-text);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.dcc-vp .vp-slider-btn:hover { background: var(--vp-accent); color: #fff; }
.dcc-vp .vp-slider-btn:disabled { opacity: .4; pointer-events: none; }

/* Slider ohne Überlauf (z. B. nur zwei Bilder): Pfeile ausblenden */
.dcc-vp .vp-slider-nav.is-static { visibility: hidden; }

/*
 * Horizontale Slider: links bündig mit dem Container, rechts bis zum
 * Viewport-Rand (nächste Karte ist angeschnitten sichtbar).
 */
.dcc-vp .vp-bleed-right,
.dcc-vp .vp-detail-body { overflow: hidden; }

.dcc-vp .vp-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    margin-right: calc(50% - 50vw);
    padding-right: max(var(--vp-gutter), calc(50vw - 50%));
    /* Platz für Hover-Anhebung und Schatten, sonst schneidet overflow sie ab */
    margin-top: -16px;
    margin-bottom: -24px;
    margin-left: -16px;
    padding-top: 16px;
    padding-bottom: 40px;
    padding-left: 16px;
    scroll-padding-left: 16px;
    scrollbar-width: none;
}

.dcc-vp .vp-track::-webkit-scrollbar { display: none; }
.dcc-vp .vp-track > * { scroll-snap-align: start; flex-shrink: 0; }
.dcc-vp .vp-track--tiles { margin-top: 0; }

/* ---------- Hohe Kachel (Karussell) ---------- */
.dcc-vp .vp-tile {
    position: relative;
    display: block;
    width: min(405px, 78vw);
    aspect-ratio: 175 / 311;
    padding: 0;
    border: 0;
    border-radius: var(--vp-radius);
    overflow: hidden;
    background: #111;
    color: #fff;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
    cursor: pointer;
}

.dcc-vp .vp-tile:hover,
.dcc-vp .vp-tile:focus { color: #fff; transform: translateY(-6px); box-shadow: 0 16px 24px -10px rgba(0, 0, 0, .3); }

.dcc-vp .vp-tile > img,
.dcc-vp .vp-tile > video,
.dcc-vp .vp-tile > iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.dcc-vp .vp-card-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px;
}

.dcc-vp .vp-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--vp-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    display: grid;
    place-items: center;
}

.dcc-vp .vp-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; min-width: 0; }

.dcc-vp .vp-pill {
    background: rgba(255, 255, 255, .85);
    color: #000;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.3;
    padding: 6px 14px;
    white-space: nowrap;
}

.dcc-vp .vp-card-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 64px 18px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dcc-vp .vp-card-title { font-family: var(--vp-font-bold); font-size: 22px; line-height: 1.3; }
.dcc-vp .vp-card-meta { font-size: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.dcc-vp .vp-card-meta b { font-size: 16px; }

.dcc-vp .vp-play-badge {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--vp-accent);
    display: grid;
    place-items: center;
    transition: transform .3s ease, opacity .3s ease;
}

.dcc-vp .vp-tile:hover .vp-play-badge { transform: scale(1.08); }

/* Video läuft direkt in der Kachel */
.dcc-vp .vp-tile .vp-card-bottom,
.dcc-vp .vp-tile .vp-pills { transition: opacity .3s ease; }

.dcc-vp .vp-tile.is-playing .vp-card-bottom,
.dcc-vp .vp-tile.is-playing .vp-pills,
.dcc-vp .vp-tile.is-playing .vp-play-badge { opacity: 0; pointer-events: none; }

.dcc-vp .vp-tile.is-playing:hover { transform: none; }

.dcc-vp .vp-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* ---------- Raster-Kachel (Archiv / weitere Berichte) ---------- */
.dcc-vp .vp-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dcc-vp .vp-grid-card {
    position: relative;
    display: block;
    width: 100%;
    height: 386px;
    padding: 0;
    border: 0;
    border-radius: var(--vp-radius);
    overflow: hidden;
    background: #111;
    color: #fff;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.dcc-vp .vp-grid-card:hover,
.dcc-vp .vp-grid-card:focus { color: #fff; }

.dcc-vp .vp-grid-card > img,
.dcc-vp .vp-grid-card > video,
.dcc-vp .vp-grid-card > iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transition: transform .6s ease;
}

.dcc-vp a.vp-grid-card:hover > img { transform: scale(1.05); }

.dcc-vp .vp-grid-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 158%);
    pointer-events: none;
}

.dcc-vp .vp-grid-card .vp-pills { position: absolute; z-index: 2; top: 20px; right: 20px; left: 20px; }

.dcc-vp .vp-grid-card-body {
    position: absolute;
    z-index: 2;
    inset: auto 0 0 0;
    padding: 24px;
}

.dcc-vp .vp-grid-card-body h3 { font-size: 22px; line-height: 1.4; margin-bottom: 10px; color: #fff; }
.dcc-vp .vp-grid-card-body p { font-size: 14px; }
.dcc-vp .vp-grid-card-body p b { font-size: 16px; display: block; }

.dcc-vp .vp-grid-card .vp-pills,
.dcc-vp .vp-grid-card-body,
.dcc-vp .vp-grid-card::after { transition: opacity .3s ease; }

.dcc-vp .vp-grid-card .vp-play-badge { z-index: 3; }

.dcc-vp .vp-grid-card.is-playing .vp-pills,
.dcc-vp .vp-grid-card.is-playing .vp-grid-card-body,
.dcc-vp .vp-grid-card.is-playing .vp-play-badge,
.dcc-vp .vp-grid-card.is-playing::after { opacity: 0; pointer-events: none; }

/* ---------- Archiv: Kategorie-Filter ---------- */
.dcc-vp .vp-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 36px;
}

.dcc-vp .vp-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid var(--vp-line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--vp-font-medium);
    font-size: 15px;
    line-height: 1.4;
    color: var(--vp-text);
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.dcc-vp .vp-filter-chip span {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--vp-bg-soft);
    color: var(--vp-text-soft);
    font-family: var(--vp-font-bold);
    font-size: 12px;
    text-align: center;
}

.dcc-vp .vp-filter-chip:hover,
.dcc-vp .vp-filter-chip:focus { border-color: var(--vp-accent); color: var(--vp-accent); }
.dcc-vp .vp-filter-chip.is-active { background: var(--vp-accent); border-color: var(--vp-accent); color: #fff; }
.dcc-vp .vp-filter-chip.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }

.dcc-vp .vp-empty-state { text-align: center; color: var(--vp-muted); padding: 40px 0; }

/* ---------- Detailseite: Hero ---------- */
.dcc-vp .vp-detail-hero {
    position: relative;
    min-height: calc(100svh - var(--vp-hero-offset));
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #111;
}

.dcc-vp .vp-detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.dcc-vp .vp-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .4) 45%, rgba(0, 0, 0, .85) 100%);
}

/* Weiße Welle am unteren Rand */
.dcc-vp .vp-detail-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    height: clamp(32px, 7vw, 96px);
    background: var(--vp-bg);
    clip-path: polygon(0 100%, 0 70%, 12% 52%, 28% 42%, 46% 46%, 64% 58%, 82% 50%, 100% 22%, 100% 100%);
}

.dcc-vp .vp-detail-hero > .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding-top: 96px;
    padding-bottom: 140px;
}

.dcc-vp .vp-detail-hero h1 {
    max-width: 800px;
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
    animation: vp-fade-up .7s ease both;
}

.dcc-vp .vp-hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    animation: vp-fade-up .7s .2s ease both;
}

.dcc-vp .vp-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    font-family: var(--vp-font-bold);
    line-height: 1.4;
    border-radius: 999px;
    padding: 13px 26px 13px 20px;
    white-space: nowrap;
}

.dcc-vp a.vp-hero-pill:hover,
.dcc-vp a.vp-hero-pill:focus { color: var(--vp-accent); }
.dcc-vp .vp-hero-pill svg { color: var(--vp-accent); }

.dcc-vp .vp-hero-author { animation: vp-fade-up .7s .35s ease both; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.dcc-vp .vp-hero-author b { display: block; font-size: 16px; }
.dcc-vp .vp-hero-author span { font-family: var(--vp-font-medium); font-size: 14px; opacity: .9; }

.dcc-vp .vp-back-row {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 0;
    right: 0;
}

.dcc-vp .vp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-family: var(--vp-font-medium);
    font-size: 14px;
    line-height: 1.4;
    background: rgba(0, 0, 0, .35);
    padding: 8px 14px;
    border-radius: 999px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.dcc-vp .vp-back-link:hover,
.dcc-vp .vp-back-link:focus { background: rgba(0, 0, 0, .55); color: #fff; }

@keyframes vp-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Detailseite: Inhalt ---------- */
.dcc-vp .vp-detail-body { padding: 16px 0 80px; }

.dcc-vp .vp-detail-body > .container { display: flex; flex-direction: column; gap: 56px; }
.dcc-vp .vp-detail-body > .container::before,
.dcc-vp .vp-detail-body > .container::after { content: none; }

.dcc-vp .vp-story-text {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 18px;
    color: var(--vp-text-soft);
}

.dcc-vp .vp-story-gallery { margin-top: 40px; }
.dcc-vp .vp-story-gallery .vp-slider-nav { justify-content: flex-end; margin-bottom: 20px; }

.dcc-vp .vp-story-gallery .vp-track > button {
    border: 0;
    padding: 0;
    background: none;
    cursor: zoom-in;
    border-radius: var(--vp-radius);
    overflow: hidden;
}

.dcc-vp .vp-story-gallery .vp-track img {
    height: 435px;
    width: auto;
    max-width: 80vw;
    object-fit: cover;
    border-radius: var(--vp-radius);
}

.dcc-vp .vp-story-video {
    border-radius: var(--vp-radius);
    overflow: hidden;
    background: #000;
}

.dcc-vp .vp-story-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.dcc-vp .vp-story-video video { width: 100%; max-height: 80vh; display: block; }

.dcc-vp .vp-fazit .vp-story-text { text-align: center; }

.dcc-vp .vp-detail-cta { display: flex; justify-content: center; margin-top: 24px; }

.dcc-vp .vp-related { background: var(--vp-bg-soft); }
.dcc-vp .vp-related .vp-section-head { margin-bottom: 32px; }
.dcc-vp .vp-related .vp-actions { margin-top: 40px; }

/* ---------- Formular ---------- */
.dcc-vp .vp-form-wrap {
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--vp-line);
    border-radius: var(--vp-radius);
    padding: 40px;
}

.dcc-vp .vp-form-intro { color: var(--vp-text-soft); margin: 12px 0 28px; }

.dcc-vp .vp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dcc-vp .vp-field { margin-bottom: 20px; }

.dcc-vp .vp-field label {
    display: block;
    font-family: var(--vp-font-medium);
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--vp-text);
}

.dcc-vp .vp-field input:not([type="checkbox"]),
.dcc-vp .vp-field select,
.dcc-vp .vp-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: var(--vp-text);
    background: #fff;
    box-shadow: none;
}

.dcc-vp .vp-field input[type="file"] { padding: 10px 14px; }
.dcc-vp .vp-field textarea { min-height: 220px; resize: vertical; }

.dcc-vp .vp-field input:focus,
.dcc-vp .vp-field select:focus,
.dcc-vp .vp-field textarea:focus {
    outline: none;
    border-color: var(--vp-accent);
    box-shadow: 0 0 0 3px rgba(244, 90, 64, .15);
}

.dcc-vp .vp-hint { font-size: 13px; color: var(--vp-muted); margin-top: 6px; }

.dcc-vp .vp-form-section-title {
    font-size: 20px;
    margin: 36px 0 18px;
    padding-top: 28px;
    border-top: 1px solid var(--vp-line);
    color: var(--vp-text);
}

.dcc-vp .vp-form > .vp-form-section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

/* Geführte Fragen */
.dcc-vp .vp-story-step {
    border: 0;
    margin: 0 0 16px;
    padding: 22px 22px 6px;
    background: var(--vp-bg-soft);
    border-radius: 16px;
    min-width: 0;
}

.dcc-vp .vp-step-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--vp-font-bold);
    font-size: 17px;
    line-height: 1.4;
    color: var(--vp-text);
}

.dcc-vp .vp-step-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--vp-accent);
    color: #fff;
    font-size: 14px;
    display: grid;
    place-items: center;
}

.dcc-vp .vp-step-question { flex: 1; min-width: 0; padding-top: 2px; }

.dcc-vp .vp-step-optional {
    flex-shrink: 0;
    margin-top: 3px;
    padding: 2px 10px;
    border: 1px solid #d5d5d5;
    border-radius: 999px;
    background: #fff;
    color: var(--vp-muted);
    font-family: var(--vp-font-medium);
    font-size: 12px;
}

.dcc-vp .vp-step-hint { margin: -8px 0 14px 40px; }
.dcc-vp .vp-story-step textarea { min-height: 140px; }
.dcc-vp .vp-story-step .vp-field { margin-bottom: 16px; }

.dcc-vp .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.dcc-vp .vp-error { font-size: 13px; color: #c62828; margin-top: 6px; }
.dcc-vp .vp-error:empty { display: none; }
.dcc-vp .vp-has-error input,
.dcc-vp .vp-has-error textarea,
.dcc-vp .vp-has-error select { border-color: #c62828 !important; }

.dcc-vp .vp-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.dcc-vp .vp-preview-grid img { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; }
.dcc-vp .vp-preview-hero img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin-top: 12px; }
.dcc-vp .vp-preview-item { position: relative; }
.dcc-vp .vp-preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.dcc-vp .vp-preview-remove:hover,
.dcc-vp .vp-preview-remove:focus-visible { background: var(--vp-accent); }
.dcc-vp .vp-preview-remove:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Titelbild hat oben 12px Abstand am Bild */
.dcc-vp .vp-preview-hero .vp-preview-remove { top: 18px; right: 6px; }
.dcc-vp .vp-processing { grid-column: 1 / -1; margin: 12px 0 0; font-size: 14px; opacity: .7; }

.dcc-vp .vp-consent-box {
    background: #fff6f3;
    border-left: 4px solid var(--vp-accent);
    border-radius: 8px;
    padding: 18px;
    margin: 8px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dcc-vp .vp-consent-box label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; margin: 0; }
.dcc-vp .vp-consent-box input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--vp-accent); }
.dcc-vp .vp-consent-box a { color: var(--vp-accent); text-decoration: underline; }

.dcc-vp .vp-form-success { text-align: center; padding: 24px 0; }

.dcc-vp .vp-form-success .vp-check {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff0ec;
    color: var(--vp-accent);
    display: grid;
    place-items: center;
}

.dcc-vp .vp-form-success p { color: var(--vp-text-soft); margin: 12px auto 28px; max-width: 520px; }

/* ---------- Lightbox (wird per JS an body gehängt, daher eigener Scope) ---------- */
.vp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;             /* über der Sticky-Navigation (99999) */
    background: rgba(0, 0, 0, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 16px;
}

.vp-lightbox.is-open { display: flex; }

.vp-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.vp-lightbox button {
    position: absolute;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.vp-lightbox button:hover { background: #f45a40; }
.vp-lightbox [data-close] { top: 16px; right: 16px; }
.vp-lightbox [data-prev] { left: 16px; top: 50%; transform: translateY(-50%); }
.vp-lightbox [data-next] { right: 16px; top: 50%; transform: translateY(-50%); }
.vp-lightbox [hidden] { display: none; }

.vp-lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
    .dcc-vp *,
    .dcc-vp *::before,
    .dcc-vp *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .dcc-vp .vp-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .dcc-vp .vp-section { padding: 48px 0; }
    .dcc-vp .vp-section-head-row { align-items: flex-start; flex-direction: column; }
    .dcc-vp .vp-grid-cards { grid-template-columns: minmax(0, 1fr); }
    .dcc-vp .vp-card-title { font-size: 20px; }
    .dcc-vp .vp-detail-hero > .container { gap: 24px; padding-top: 80px; padding-bottom: 96px; }
    .dcc-vp .vp-hero-pill { padding: 10px 18px 10px 14px; font-size: 14px; }
    .dcc-vp .vp-story-text { font-size: 16px; }
    .dcc-vp .vp-story-gallery .vp-track img { height: 300px; }
    .dcc-vp .vp-form-wrap { padding: 24px 18px; border: 0; }
    .dcc-vp .vp-form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .dcc-vp .vp-story-step { padding: 18px 14px 4px; }
    .dcc-vp .vp-step-hint { margin-left: 0; }
    .vp-lightbox [data-prev],
    .vp-lightbox [data-next] { top: auto; bottom: 8px; transform: none; }
}

/* ---------- Formular: Ergänzungen ---------- */
.dcc-vp .vp-form-notice {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
}

.dcc-vp .vp-form-notice--error { background: #fdecea; color: #b71c1c; border-left: 4px solid #c62828; }

/* Honeypot: für Menschen nicht sichtbar */
.dcc-vp .vp-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dcc-vp .vp-form { position: relative; }
.dcc-vp .vp-form .vp-btn[type="submit"] { border: 0; }
.dcc-vp .vp-form .vp-btn[type="submit"][disabled] { opacity: .6; cursor: wait; }
.dcc-vp .vp-consent-box .vp-error { margin-top: 0; }
.dcc-vp .vp-has-error.vp-consent-box { border-left-color: #c62828; }

/* ---------- Externe Videos: Einwilligung ---------- */
.dcc-vp .vp-ext-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
}

.dcc-vp .vp-ext-video > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
}

.dcc-vp .vp-ext-video-notice {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 15px;
}

.dcc-vp .vp-ext-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }

/* Hinweis in der Kachel vor dem ersten Abspielen */
.dcc-vp .vp-tile-consent {
    position: absolute;
    z-index: 4;
    left: 12px;
    right: 12px;
    top: 50%;
    transform: translateY(44px);
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 640px) {
    .dcc-vp .vp-ext-video { aspect-ratio: 4 / 3; }
    .dcc-vp .vp-ext-video-notice { padding: 16px; font-size: 14px; }
}
