/* ============================================================
   KI-IMPULSE FÜR MUSIKHÄUSER – Ergänzungen zu ki-impuls-desag.css
   (gleiche Gestaltung, gekapselt unter .kim)
   ============================================================ */

/* Unternavigation unter dem Seitenheader */
.kim-subnav {
    position: relative;
    z-index: 2;
    margin-top: 80px; /* fixierter Seitenheader */
    background: #0b131d;
    border-bottom: 1px solid rgba(0, 202, 255, .18);
    color: #fff;
}
.kim-subnav .kii-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.kim-subnav-title { font-weight: 700; font-size: 14px; color: var(--kii-accent); letter-spacing: .02em; }
.kim-subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.kim-subnav a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #dbe7f3 !important;
    text-decoration: none;
}
.kim-subnav a:hover { background: rgba(255, 255, 255, .08); }
.kim-subnav a[aria-current="page"] { background: rgba(0, 202, 255, .16); color: #fff !important; }

/* Hero direkt unter der Unternavigation: weniger Abstand oben */
.kim .kii-hero { padding-top: clamp(40px, 6vw, 72px); }

/* Entwurfs-Hinweis und Platzhalter */
.kim-draft { background: #fff5e6; border-bottom: 1px solid #f0c98a; color: #6b3d00; font-size: 14px; line-height: 1.5; }
.kim-draft .kii-wrap { padding-top: 10px; padding-bottom: 10px; }
.kim-draft code { background: rgba(0, 0, 0, .06); padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.kim-ph {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    background: #fff1d6;
    border: 1px dashed #d99a2b;
    color: #7a4a00;
    font-size: .9em;
    font-weight: 600;
}
.kii-hero .kim-ph { background: rgba(255, 196, 87, .15); border-color: rgba(255, 196, 87, .6); color: #ffd68a; }
.kim-facts div { grid-template-columns: 70px 1fr; }

.kim-preview-note {
    margin-bottom: 18px !important;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff5e6;
    border-left: 4px solid #a15c00;
    color: #6b3d00;
    font-size: 14.5px;
    line-height: 1.5;
}
.kim-fieldset-reset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.kim-fieldset-reset:disabled { opacity: .75; }
.kim-fieldset-reset:disabled .kii-btn-primary { background: #cbd5e1; box-shadow: none; cursor: not-allowed; }
.kim-slot-ph { border-style: dashed; background: #fafbfc; cursor: not-allowed; }

.kim-closed h3 { font-size: 20px; margin-bottom: 8px; }
.kim-closed p { color: var(--kii-muted); line-height: 1.6; }

/* Angebote auf der Einstiegsseite */
.kim-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.kim-offer {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--kii-line);
    border-top: 4px solid var(--kii-accent);
    border-radius: var(--kii-radius);
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.kim-offer h3 { font-size: 22px; line-height: 1.3; }
.kim-offer-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kii-accent-strong); }
.kim-offer-note { color: var(--kii-muted); font-size: 14.5px; }
.kim-offer .kii-btn { justify-self: start; }

.kim-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kim-choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kim-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }

.kim-note-section { padding: 0 0 clamp(32px, 5vw, 48px); }
.kii-section-tint + .kim-note-section { padding-top: clamp(32px, 5vw, 48px); }
.kim-callout {
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--kii-tint);
    border-left: 4px solid var(--kii-accent-strong);
    line-height: 1.6;
}
.kim-disclaimer p + p { margin-top: 8px !important; }
.kim .kii-speaker-body > p + p { margin-top: 12px; }

@media (max-width: 1100px) {
    .kim-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .kim-offers, .kim-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .kim-subnav .kii-wrap { flex-direction: column; align-items: flex-start; }
    .kim-subnav ul { width: 100%; }
    .kim-subnav a { white-space: nowrap; padding: 7px 10px; }
}
@media (max-width: 600px) {
    .kim-cards-4, .kim-choices-3 { grid-template-columns: minmax(0, 1fr); }
    .kim-offer .kii-btn { justify-self: stretch; }
}

/* Sprungziele nicht unter dem fixierten Header verstecken */
.kim [id] { scroll-margin-top: 90px; }
