/* ==========================================================================
   /notdienst/schluessel-steckt-innen/ — page layout only. Tokens from theme.css; no new colours, sizes or !important.
   Idea: "Der Schlüssel, der die Tür sperrt" — one drawing (cylinder cut-away) explains the problem, the rest answers
   "what now" with a Nicht / Das hilft board, an order plate (schonend, dann bohren), a sticky-head process and a door pair.
   ========================================================================== */

/* 01 · hero: photo + 112-free emergency bar + cut-away schema -------------- */
.hero--steckt .hero__inner { align-items: center; }
.steckt-schema { width: 100%; max-width: 30rem; justify-self: end; }
.steckt-schema .hero__panel-title { margin-bottom: var(--sp-3); }
.steckt-svg { display: block; width: 100%; height: auto; font-family: var(--font-body); overflow: visible; }
.steckt-svg__side { fill: var(--violet-200); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.steckt-svg__cap { fill: var(--on-dark); font-size: var(--fs-xs); font-weight: 700; }
.steckt-svg__side--end { text-anchor: end; }
.steckt-svg__door { fill: var(--ink-700); stroke: var(--ink-600); stroke-width: 2; }
.steckt-svg__cyl { fill: var(--ink-850); stroke: var(--violet-300); stroke-width: 2.5; }
.steckt-svg__pin { stroke: var(--ink-600); stroke-width: 3; stroke-dasharray: 3 5; }
.steckt-svg__bow { fill: none; stroke: var(--white); stroke-width: 9; }
.steckt-svg__blade, .steckt-svg__tooth { fill: var(--white); }
.steckt-svg__key--out .steckt-svg__bow { stroke: var(--violet-300); }
.steckt-svg__key--out .steckt-svg__blade, .steckt-svg__key--out .steckt-svg__tooth { fill: var(--violet-300); }
.steckt-svg__spark { fill: var(--spark); }
.steckt-svg__stop { fill: var(--danger-band); stroke: var(--white); stroke-width: 2; }
.steckt-svg__x { fill: none; stroke: var(--white); stroke-width: 3.5; stroke-linecap: round; }
.steckt-schema__note { margin-top: var(--sp-2); font-size: var(--fs-xs); text-align: center; color: var(--on-dark-muted); }

/* 02 · 112 notice ---------------------------------------------------------- */
.steckt-112 .notice { align-items: center; }
.steckt-112 .notice__title { font-size: var(--fs-lg); line-height: 1.25; }
.steckt-112 .notice__body { max-width: 60rem; }
.steckt-112 .notice p:not(.notice__title) { font-size: var(--fs-base); }

/* 03 · warum blockiert: contrast pair of two cases ------------------------- */
.steckt-cases { position: relative; display: grid; gap: var(--sp-5); }
@media (min-width: 48em) { .steckt-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); } }
.steckt-case { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.steckt-case--blocked { border-top: 5px solid var(--danger-band); }
.steckt-case--open { border-top: 5px solid var(--violet-500); }
.steckt-case__media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-900); }
.steckt-case__media > img, .steckt-case__media > .img-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.steckt-case__label { position: absolute; left: var(--sp-4); top: var(--sp-4); z-index: 2; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.4em 0.95em; border-radius: var(--r-pill); background: var(--danger-band); color: var(--white); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.steckt-case--open .steckt-case__label { background: var(--violet-700); }
.steckt-case__body { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-5); }
.steckt-case__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lg); line-height: 1.2; color: var(--c-heading); }
.steckt-vs { display: none; }
@media (min-width: 48em) {
	.steckt-vs {
		position: absolute; left: 50%; top: clamp(5rem, 14vw, 9.5rem); z-index: 3; display: grid; place-items: center; width: 4.25rem; height: 4.25rem;
		transform: translate(-50%, -50%); clip-path: var(--oct); background: var(--ink-900); color: var(--white);
		font-family: var(--font-display); font-style: italic; font-size: var(--fs-md); line-height: 1;
	}
}
.steckt-why .ba__caption { margin-top: var(--sp-5); }

/* 04 · sofort tun: Nicht / Das hilft board on the dark band ---------------- */
.steckt-board { display: grid; gap: var(--sp-6); }
@media (min-width: 60em) { .steckt-board { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--sp-7); } }
.steckt-board__col { display: grid; gap: var(--sp-4); align-content: start; min-width: 0; }
.steckt-board__label { display: flex; align-items: center; gap: 0.6em; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent); }
.steckt-board__label .i { width: 1.4em; height: 1.4em; }
.steckt-board .icon-list { gap: var(--sp-3); }
.steckt-board__col--dont .icon-list__item { border-left: 5px solid var(--danger-band); }
.steckt-board__col--dont .icon-list__icon { background: var(--danger-band); color: var(--white); box-shadow: none; clip-path: var(--oct); }
.steckt-board__col--do .icon-list__icon { clip-path: var(--oct); }
.steckt-board__call { margin-top: var(--sp-2); }
.steckt-todo__more { display: flex; align-items: flex-start; gap: var(--sp-3); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); color: var(--c-fg); max-width: 62rem; }
.steckt-todo__more .i { flex: none; width: 1.6rem; height: 1.6rem; margin-top: 0.15rem; color: var(--c-accent); }
.steckt-todo__more a { color: var(--c-link); font-weight: 700; }

/* 05 · herausdrücken: order plate instead of a how-to ----------------------- */
@media (min-width: 60em) { .steckt-push__split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.steckt-order { position: relative; display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.steckt-order__plate { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; padding: var(--sp-5); border-radius: var(--r-lg); }
.steckt-order__plate--first { background: var(--grad-band); color: var(--white); box-shadow: var(--sh-md); }
.steckt-order__plate--first::after { content: ""; position: absolute; left: calc(var(--sp-5) + 1.625rem - 2px); top: 100%; width: 4px; height: var(--sp-4); background: repeating-linear-gradient(180deg, var(--violet-500) 0 6px, transparent 6px 10px); }
.steckt-order__plate--last { background: var(--ink-900); color: var(--on-dark); border: 1px dashed var(--ink-600); }
.steckt-order__no { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1; }
.steckt-order__plate--first .steckt-order__no { background: var(--white); color: var(--violet-800); }
.steckt-order__plate--last .steckt-order__no { background: var(--violet-500); color: var(--white); }
.steckt-order__text { display: grid; gap: 0.15rem; min-width: 0; }
.steckt-order__title { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.15; color: var(--white); }
.steckt-order__sub { font-size: var(--fs-sm); }
.steckt-order__plate--first .steckt-order__sub { color: var(--violet-100); }
.steckt-order__plate--last .steckt-order__sub { color: var(--on-dark-muted); }
.steckt-order__icon { width: 2rem; height: 2rem; opacity: 0.9; }
.steckt-order__plate--last .steckt-order__icon { color: var(--violet-300); }

/* 06 · ablauf: sticky head + vertical process ------------------------------ */
.steckt-flow__layout { display: grid; gap: var(--sp-6); }
.steckt-flow__head > * + * { margin-top: var(--sp-4); }
.steckt-flow .steps--vertical { max-width: none; }
@media (min-width: 64em) {
	.steckt-flow__layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-8); align-items: start; }
	.steckt-flow__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* 07 · signature: Wohnungstür vs Gemeinschaftstür --------------------------- */
.steckt-doors .section-head { max-width: 54rem; }
@media (min-width: 48em) {
	.steckt-doors .courtyard__controls { display: none; }
	.steckt-doors .courtyard__track { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; padding-bottom: 0; }
}
.steckt-doors__note { display: flex; align-items: flex-start; gap: var(--sp-4); margin-top: var(--sp-7); padding: var(--sp-5); max-width: 62rem; background: var(--c-surface); border: 1px solid var(--c-line); border-left: 6px solid var(--violet-500); border-radius: var(--r-md); }
.steckt-doors__note .i { flex: none; width: 2rem; height: 2rem; color: var(--c-accent); }

/* 08 · kostenlose beratung: call strip + two note cards -------------------- */
.steckt-call__strip .callstrip__text { max-width: 46rem; }
.steckt-call__notes { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.steckt-call__note { position: relative; display: grid; gap: var(--sp-3); align-content: start; min-width: 0; padding: var(--sp-6) var(--sp-5) var(--sp-5); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.steckt-call__badge { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--violet-500); color: var(--white); }
.steckt-call__label { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.2; color: var(--c-heading); }

/* 09 · faq: sticky head left, accordion right ------------------------------- */
.steckt-faq__layout { display: grid; gap: var(--sp-6); }
.steckt-faq__head > * + * { margin-top: var(--sp-4); }
.steckt-faq .faq { max-width: none; }
@media (min-width: 64em) {
	.steckt-faq__layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-8); align-items: start; }
	.steckt-faq__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* call button labels: one flex item, so "Rufen Sie an:" never splits into three lines on phones */
.steckt-lbl { min-width: 0; text-wrap: balance; }
.steckt-call__strip .btn--call { max-width: 100%; }
