/* ==========================================================================
   Sections: inner-page hero, breadcrumbs, image frames, Veredelung methods,
   FAQ list, quote band. Builds on tokens, components and pages.
   ========================================================================== */

/* Breadcrumbs on inner pages */
.wk-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--wk-s6); padding: 0; list-style: none; font-size: var(--wk-fs-s); color: var(--wk-muted); }
.wk-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--wk-sep); }
.wk-crumbs a { color: var(--wk-muted); text-decoration: none; }
.wk-crumbs a:hover { color: var(--wk-ink); }

/* Inner-page hero: same layout as the homepage hero, smaller title and picture */
.wk-hero--page { padding: var(--wk-s10) 0 var(--wk-s16); }
.wk-hero--page .wk-hero__text h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1; }
.wk-hero--page .wk-hero__visual { aspect-ratio: 4 / 3; }

/* Picture frame */
.wk-media { position: relative; margin: 0; overflow: hidden; border-radius: var(--wk-r-xl); background: var(--wk-tile); aspect-ratio: 16 / 10; }
.wk-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Veredelung: two methods with picture, inside the dark band */
.wk-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wk-s6); margin: var(--wk-s16) 0 0; padding: 0; list-style: none; }
.wk-method { display: flex; flex-direction: column; gap: 6px; }
.wk-method .wk-media { margin-bottom: 10px; border-radius: var(--wk-r-lg); background: var(--wk-dark-line); }
.wk-method__title { margin: 0; font-family: var(--wk-font-display); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--wk-on-dark); }
.wk-method__text { font-size: var(--wk-fs); line-height: 1.55; color: var(--wk-on-dark-2); }

/* FAQ: one list, thin lines, no boxes */
.wk-faq { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--wk-line-mid); }
.wk-faq li { border-bottom: 1px solid var(--wk-line-mid); }
.wk-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 12px 0;
	font-size: var(--wk-fs-l); font-weight: 600; line-height: 1.3;
	cursor: pointer; list-style: none;
}
.wk-faq summary::-webkit-details-marker { display: none; }
.wk-faq summary:hover { color: var(--wk-orange-text); }
.wk-faq summary .wk-icon { transition: transform var(--wk-d) var(--wk-ease); }
.wk-faq details[open] summary .wk-icon { transform: rotate(180deg); }
.wk-faq__a { margin: 0; padding: 0 40px 20px 0; font-size: var(--wk-fs-m); line-height: 1.6; color: var(--wk-muted); }

/* Other trades: pill links; on phones one row, first snaps to the start, last to the end */
.wk-pills { gap: var(--wk-s3); flex-wrap: wrap; }
.wk-pill {
	display: inline-flex; align-items: center; gap: 10px;
	height: var(--wk-btn-h); padding: 0 18px;
	border: 1px solid var(--wk-line-card); border-radius: var(--wk-r-pill);
	background: var(--wk-surface); color: var(--wk-ink);
	font-size: var(--wk-fs); font-weight: 600; text-decoration: none; white-space: nowrap;
	transition: border-color var(--wk-d-fast) ease;
}
.wk-pill:hover { border-color: var(--wk-orange); color: var(--wk-ink); }
.wk-pill .wk-icon { color: var(--wk-orange-icon); }
@media (max-width: 600px) { .wk-pills { flex-wrap: nowrap; } }

/* Quote band */
.wk-cta { padding: var(--wk-s16) 0; background: var(--wk-orange); color: var(--wk-ink); }
.wk-cta__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--wk-s8); align-items: center; }
.wk-cta h2 { margin: 0 0 8px; }
.wk-cta p { margin: 0; max-width: 560px; font-size: var(--wk-fs-l); line-height: 1.5; }
.wk-cta .wk-btn { background: var(--wk-ink); color: var(--wk-on-dark); }
.wk-cta .wk-btn:hover { background: var(--wk-ink-2); color: var(--wk-on-dark); }
.wk-cta .wk-btn--line { background: transparent; color: var(--wk-ink); }
.wk-cta .wk-btn--line:hover { background: var(--wk-ink); color: var(--wk-on-dark); }

@media (max-width: 1000px) {
	.wk-hero--page .wk-hero__visual { aspect-ratio: 16 / 10; }
	.wk-methods { margin-top: var(--wk-s12); }
	.wk-cta__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.wk-hero--page { padding: var(--wk-s6) 0 var(--wk-s12); }
	.wk-methods { grid-template-columns: minmax(0, 1fr); gap: var(--wk-s8); }
	.wk-faq summary { font-size: var(--wk-fs-m); }
	.wk-faq__a { padding-right: 0; }
	.wk-cta { padding: var(--wk-s12) 0; }
}

/* Headings inside sections */
.wk-section h2 + .wk-trust { margin-top: var(--wk-s10); }
.wk-section__sub { margin: 0 0 var(--wk-s5); }

/* Split layout with the text column on top (long lists on the right) */
.wk-split--top { align-items: start; }

/* Phone: a hero photo fills the whole frame (the drawn polo keeps its padding) */
@media (max-width: 600px) {
	.wk-hero__visual:has(> .wk-hero__img) { aspect-ratio: 1 / .8; padding: 0; }
}

/* Photos: the model photos are portrait, so the crop keeps the upper body */
.wk-hero__img, .wk-trade__img img, .wk-media img { object-position: 50% 22%; }
.wk-photo-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--wk-muted); background: var(--wk-tile); }
.wk-photo-empty .wk-icon { opacity: .5; }
.wk-hero--page .wk-hero__visual { position: relative; overflow: hidden; }
.wk-media { position: relative; }

/* Form messages and the hidden spam trap */
.wk-form-card .wk-notice--error { border-color: var(--wk-error-line); background: var(--wk-error-bg); margin-bottom: var(--wk-s5); }
.wk-form-card .wk-notice .wk-icon { flex: none; }

/* Page subtitle and empty state (Favoriten) */
.wk-page__sub { max-width: 560px; margin: 12px 0 0; font-size: var(--wk-fs-l); line-height: 1.5; color: var(--wk-ink-3); }
.wk-empty { max-width: 460px; padding: var(--wk-s10); }
.wk-empty h2 { margin: 0; font-size: var(--wk-h3); }
.wk-empty p { margin: 0; color: var(--wk-muted); }
.wk-empty__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wk-tile); color: var(--wk-ink); }
[data-wk-favlist]:not(:empty) + .wk-empty { display: none; }
[data-wk-favlist]:empty { display: none; }

/* Inner pages -------------------------------------------------------------- */
.wk-page--tight { padding-bottom: var(--wk-s12); }
.wk-page__actions { margin-top: var(--wk-s6); }
.wk-page__title { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.wk-hero__points--col { flex-direction: column; align-items: flex-start; gap: 10px; }
.wk-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Veredelung methods on a light background */
.wk-methods--light { margin-top: 0; }
.wk-methods--light .wk-media { background: var(--wk-tile); }
.wk-methods--light .wk-method__title { color: var(--wk-ink); margin: 0; }
.wk-methods--light .wk-method__text { color: var(--wk-muted); margin: 0; }

/* FAQ page */
.wk-faq-wrap > * { max-width: 820px; }
.wk-faq-wrap { display: flex; flex-direction: column; gap: var(--wk-s12); }
.wk-faq-group h2 { margin: 0 0 var(--wk-s4); font-size: 28px; }
.wk-faq-more { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: var(--wk-s4); }
.wk-faq-more p { margin: 0; font-weight: 600; font-size: var(--wk-fs-xl); }

/* Contact card */
.wk-contact { padding: var(--wk-box-pad); }
.wk-contact__list { display: flex; flex-direction: column; gap: 18px; margin: var(--wk-s5) 0 0; padding: 0; list-style: none; font-size: var(--wk-fs-l); }
.wk-contact__list li { display: flex; align-items: flex-start; gap: 14px; }
.wk-contact__list .wk-icon { flex: none; margin-top: 2px; color: var(--wk-orange-text); }

/* Offer + contact form ------------------------------------------------------- */
.wk-offer-grid { align-items: start; }
.wk-form-card { padding: var(--wk-box-pad); }
.wk-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wk-form > * { min-width: 0; }
.wk-form__title { grid-column: 1 / -1; margin: 0; font-weight: 600; font-size: var(--wk-fs-xl); }
.wk-form__line, .form-row--wide, .wk-check { grid-column: 1 / -1; }
.wk-form__line { width: 100%; height: 0; margin: 8px 0; border: 0; border-top: 1px solid var(--wk-line-mid); }
.wk-form .form-row { margin: 0; }
.wk-form .form-row:not(.wk-fl) > label:not(.wk-file), .wk-form__label { display: block; margin: 0 0 6px; font-size: var(--wk-fs-s); font-weight: 600; color: var(--wk-ink-2); }
.wk-form .required { color: inherit; text-decoration: none; }
.wk-form select, .wk-form input[type="text"], .wk-form input[type="email"], .wk-form input[type="tel"] { width: 100%; }
.wk-check { display: flex; align-items: flex-start; gap: 12px; font-size: var(--wk-fs); color: var(--wk-ink-2); cursor: pointer; }
.wk-check input { flex: none; margin-top: 1px; }
.wk-file { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.wk-file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wk-file__btn { display: inline-flex; align-items: center; gap: 8px; height: var(--wk-btn-h-sm, 44px); padding: 0 16px; border: 1px solid var(--wk-line-mid); border-radius: var(--wk-r-md); background: var(--wk-surface); font-weight: 600; font-size: var(--wk-fs-s); }
.wk-file:hover .wk-file__btn { border-color: var(--wk-ink); }
.wk-file input:focus-visible + .wk-file__btn { box-shadow: var(--wk-shadow-focus); border-color: var(--wk-orange); }
.wk-file__name { font-size: var(--wk-fs-s); color: var(--wk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wk-form-card .wk-notice { margin: 0; }

@media (max-width: 1000px) {
	.wk-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wk-offer-grid { gap: var(--wk-s8); }
}
@media (max-width: 600px) {
	.wk-steps--3 { grid-template-columns: minmax(0, 1fr); }
	.wk-form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.wk-form-card, .wk-contact { padding: 20px; }
	.wk-faq-group h2 { font-size: 24px; }
	.wk-page--tight { padding-bottom: var(--wk-s8); }
}

/* Branchen overview page: stacked list on phones (the homepage keeps its swipe row) */
@media (max-width: 600px) {
	.wk-page .wk-trades { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wk-s4); overflow: visible; padding-bottom: 0; }
	.wk-page .wk-trade { flex: none; }
}
.wk-file__btn { flex: none; white-space: nowrap; }
@media (max-width: 600px) {
	.wk-hero--page .wk-hero__visual { min-height: 220px; }
}

/* Kontakt: how to reach us, the form, the map, the confirmation pop-up ----------------- */
.wk-ct__grid > .wk-card { margin-top: 0; }
.wk-ct__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.wk-ct__h { margin: 0; font-family: var(--wk-font); font-size: 20px; font-weight: 600; line-height: 1.2; }
.wk-ct__sub { margin: 6px 0 18px; font-size: var(--wk-fs-s); color: var(--wk-muted); }
.wk-ct__list { margin: 0; padding: 0; list-style: none; }
.wk-ct__way { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-top: 1px solid var(--wk-line-soft); }
.wk-ct__way:first-child { padding-top: 20px; border-top: 0; }
.wk-ct__way:last-child { padding-bottom: 0; }
.wk-ct__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: var(--wk-r-md); background: #FDEBD8; color: var(--wk-orange-text); }
.wk-ct__t { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--wk-muted); }
.wk-ct__v { margin-top: 2px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.wk-ct__v a { color: var(--wk-ink); text-decoration: none; border-bottom: 1px solid var(--wk-sep); overflow-wrap: anywhere; }
.wk-ct__v a:hover { border-color: var(--wk-ink); }
.wk-ct__v--mail { display: flex; align-items: center; gap: 6px; }
.wk-ct__n { margin: 4px 0 0; font-size: var(--wk-fs-s); color: var(--wk-ink-2); }
.wk-ct__copy { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; margin: -6px 0 -6px -4px; padding: 0; border: 0; border-radius: 10px; background: transparent; box-shadow: none; color: var(--wk-muted); cursor: pointer; }
.wk-ct__copy:hover { color: var(--wk-ink); background: transparent; }
.wk-ct__copy:focus-visible { outline: 2px solid var(--wk-orange); outline-offset: 2px; }
.wk-ct__copy .wk-icon { grid-area: 1 / 1; }
.wk-ct__copy .wk-ct__i-ok { display: none; color: var(--wk-green); }
.wk-ct__copy.is-done .wk-ct__i-copy { display: none; }
.wk-ct__copy.is-done .wk-ct__i-ok { display: block; }
.wk-ct__offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--wk-line-soft); font-size: var(--wk-fs-s); }
.wk-ct__offer a { flex: none; color: var(--wk-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--wk-sep); }
.wk-ct__offer a:hover { border-color: var(--wk-ink); }
.wk-ct__form .wk-notice { margin: 0 0 16px; }
.wk-ct__reply { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--wk-fs-s); color: var(--wk-ink-2); }
.wk-ct__reply .wk-icon { flex: none; color: var(--wk-green); }

.wk-ct__map { margin-top: 20px; padding: 0; overflow: hidden; }
.wk-ct__frame { position: relative; height: 380px; background: #E9ECEE; }
.wk-ct__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wk-ct__addr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-top: 1px solid var(--wk-line-soft); }
.wk-ct__addr-t { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wk-ct__addr-t strong { display: block; font-size: 17px; font-weight: 600; }
.wk-ct__addr-t span:not(.wk-ct__ic) { display: block; font-size: var(--wk-fs-s); color: var(--wk-ink-2); }
.wk-ct__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.wk-ct__btns .wk-btn { min-height: 44px; padding: 0 18px; font-size: var(--wk-fs-s); }

.wk-dlg { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--wk-r-lg); background: var(--wk-surface); color: var(--wk-ink); box-shadow: 0 4px 18px rgba(30, 29, 26, .14); }
.wk-dlg::backdrop { background: rgba(30, 29, 26, .45); }
.wk-dlg__in { padding: 28px 24px 24px; text-align: center; }
.wk-dlg__ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--wk-ok-bg); box-shadow: inset 0 0 0 1px var(--wk-ok-line); color: var(--wk-green); }
.wk-dlg h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.1; }
.wk-dlg p { margin: 0 0 6px; font-size: var(--wk-fs-m); color: var(--wk-ink-2); }
.wk-dlg .wk-dlg__note { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid var(--wk-line-soft); font-size: var(--wk-fs-s); text-align: left; color: var(--wk-ink); }
.wk-dlg .wk-dlg__note .wk-icon { flex: none; margin-top: 1px; color: var(--wk-orange-text); }

@media (max-width: 1000px) {
	.wk-ct__grid { grid-template-columns: minmax(0, 1fr); }
}
/* Phones: no boxes inside the page margin. Each part is a white band from screen edge to screen edge, like the checkout. */
@media (max-width: 600px) {
	.wk-ct__grid { gap: 12px; }
	.wk-ct__grid > .wk-card, .wk-ct__map { margin-inline: calc(-1 * var(--wk-gutter)); border-radius: 0; }
	.wk-ct__grid > .wk-card { padding: 20px var(--wk-gutter); }
	.wk-ct__map { margin-top: 12px; padding: 0; }
	.wk-ct__frame { height: 300px; }
	.wk-ct__addr { padding: 20px var(--wk-gutter); }
	.wk-ct__btns, .wk-ct__btns .wk-btn { width: 100%; }
	.wk-ct__offer { flex-direction: column; align-items: flex-start; }
}
