/* =========================================================================
   Hillcode-Rahmen für die Beispiel-Websites (beispiele/*)
   Nur die Leiste oben (.hc-demobar) und der Abschluss unten (.hc-outro).
   Alles ist mit .hc- vorangestellt und setzt seine Schrift selbst, damit die
   Gestaltung der jeweiligen Beispiel-Website unberührt bleibt.
   ========================================================================= */

@font-face { font-family: 'HC Jakarta'; font-weight: 400; font-display: swap; src: url('/fonts/PlusJakartaSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'HC Jakarta'; font-weight: 600; font-display: swap; src: url('/fonts/PlusJakartaSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'HC Jakarta'; font-weight: 700; font-display: swap; src: url('/fonts/PlusJakartaSans-Bold.woff2') format('woff2'); }

.hc-demobar,
.hc-outro {
    --hc-bg: #0a0418;
    --hc-text: #eae0fa;
    --hc-soft: #c3b5e3;
    --hc-line: rgba(234, 224, 250, 0.14);
    --hc-grad: linear-gradient(120deg, #624695, #e73283);
    font-family: 'HC Jakarta', system-ui, sans-serif;
    color: var(--hc-text);
    background: var(--hc-bg);
    line-height: 1.5;
    text-align: left;
    letter-spacing: 0;
    text-transform: none;
}

.hc-demobar *, .hc-outro * { box-sizing: border-box; }

/* ---------- Leiste oben ---------- */
.hc-demobar {
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 0.75rem 1.25rem;
    flex-wrap: wrap;
    padding: 0.55rem max(1rem, calc((100% - 1200px) / 2));
    font-size: 0.875rem;
    border-bottom: 1px solid var(--hc-line);
}

.hc-demobar a { color: inherit; }

.hc-demobar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hc-demobar__brand img { width: 22px; height: 20px; }

.hc-demobar__text { color: var(--hc-soft); flex: 1 1 18rem; min-width: 0; }
.hc-demobar__text b { color: var(--hc-text); font-weight: 600; }

.hc-demobar__links { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.hc-demobar__btn {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.3rem 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--hc-line);
}

.hc-demobar__btn--main { background: var(--hc-grad); border-color: transparent; color: #fff; }
.hc-demobar__btn:hover { border-color: var(--hc-soft); }
.hc-demobar a:focus-visible, .hc-outro a:focus-visible { outline: 2px solid #e73283; outline-offset: 3px; }

@media (max-width: 640px) {
    .hc-demobar { font-size: 0.8125rem; gap: 0.5rem; flex-wrap: nowrap; }
    .hc-demobar__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    .hc-demobar__text { display: none; }
    .hc-demobar__btn { min-height: 34px; padding: 0.25rem 0.85rem; }
    .hc-demobar__links { margin-left: auto; }
    .hc-demobar__btn--ghost { display: none; }
}

/* ---------- Abschluss unten ---------- */
.hc-outro { padding: 3.5rem 1.25rem 2.5rem; }
.hc-outro__inner { max-width: 1100px; margin: 0 auto; }

.hc-outro__kicker {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hc-soft);
    margin-bottom: 0.6rem;
}

.hc-outro h2 {
    font-family: 'HC Jakarta', system-ui, sans-serif;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.8rem;
    color: var(--hc-text);
    text-wrap: balance;
}

.hc-outro h2 span {
    background: linear-gradient(120deg, #b79cf0, #f06aa8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hc-outro p { margin: 0 0 1rem; color: var(--hc-soft); font-size: 1rem; max-width: 46rem; }

.hc-outro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 1.8rem;
}

.hc-outro__box {
    border: 1px solid var(--hc-line);
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    background: rgba(234, 224, 250, 0.04);
}

.hc-outro__box h3 {
    font-family: 'HC Jakarta', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    color: var(--hc-text);
    letter-spacing: 0;
    text-transform: none;
}

.hc-outro__rows { list-style: none; margin: 0; padding: 0; }
.hc-outro__rows li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--hc-line);
    color: var(--hc-text);
    font-size: 0.95rem;
}
.hc-outro__rows li:last-child { border-bottom: 0; }
.hc-outro__rows span:last-child { white-space: nowrap; color: var(--hc-soft); text-align: right; }
.hc-outro__rows .is-sum { font-weight: 700; }
.hc-outro__rows .is-sum span:last-child { color: var(--hc-text); }

.hc-outro .hc-outro__note { font-size: 0.875rem; color: var(--hc-soft); margin-top: 0.8rem; }

.hc-outro__included { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.hc-outro__included li {
    font-size: 0.875rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--hc-line);
    color: var(--hc-soft);
}

.hc-outro__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.hc-outro__actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: var(--hc-text);
    border: 1px solid var(--hc-line);
}
.hc-outro__actions a.is-main { background: var(--hc-grad); border-color: transparent; color: #fff; }

.hc-outro__credits {
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--hc-line);
    font-size: 0.875rem;
    color: var(--hc-soft);
}
.hc-outro__credits a { color: var(--hc-soft); }
.hc-outro__credits p { font-size: 0.875rem; max-width: none; margin: 0 0 0.4rem; }

@media (max-width: 760px) {
    .hc-outro__grid { grid-template-columns: 1fr; }
}


/* Seiten-Regeln für h2/h3/p (Versalien, Sperrung, Kursiv) nicht in den Abschluss durchreichen */
.hc-outro h2, .hc-outro h3 { text-transform: none; letter-spacing: 0; font-style: normal; text-align: left; }
.hc-outro p, .hc-outro li, .hc-outro a { text-transform: none; letter-spacing: 0; font-style: normal; }

/* ---------- Formular-Demo (Kontaktformular-Baustein) ---------- */
.hc-form-note[hidden] { display: none; }
