/* ==========================================================================
   WMS Kalibrierung – Landingpage-Styles
   Tokens aus Elementor-Kit 30 (Gelb #FFE500, Schwarz #0D0A0B, Grau #F5F3F5).
   Text #3D3D3D statt #7F7F7F: Kontrast auf Weiß 10,4:1 (vorher 3,9:1).
   Nur serifenlose Schriften. Mobile First. Präfix .wk-
   ========================================================================== */

.wk-page {
  --wk-yellow: #FFE500;
  --wk-yellow-dark: #AE9E00;
  --wk-black: #0D0A0B;
  --wk-grey-bg: #F5F3F5;
  --wk-white: #FFFFFF;
  --wk-text: #3D3D3D;
  --wk-text-muted: #5A5A5A;        /* 7,0:1 auf Weiß */
  --wk-text-on-dark: #F5F3F5;
  --wk-muted-on-dark: #C9C5C9;     /* 10,8:1 auf #0D0A0B */
  --wk-border: #D9D6D9;           /* Trennlinien, Karten */
  --wk-input-border: #767676;     /* Eingabefelder: 4,6:1 auf Weiß */
  --wk-error: #B3261E;             /* 6,2:1 auf Weiß */
  --wk-success: #1B6B3A;
  --wk-focus: #0D0A0B;
  --wk-font-head: "Oswald", "Oswald Fallback", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wk-font-text: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wk-radius: 6px;
  --wk-shadow: 0 8px 28px rgba(13, 10, 11, 0.10);
  --wk-container: 1200px;
  --wk-gutter: 20px;

  font-family: var(--wk-font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--wk-text);
  background: var(--wk-white);
  -webkit-font-smoothing: antialiased;
}

.wk-page *, .wk-page *::before, .wk-page *::after { box-sizing: border-box; }
.wk-page [hidden] { display: none !important; }
.wk-page p { margin: 0 0 1em; }
.wk-page ul[role="list"], .wk-page ol.wk-steps { list-style: none; margin: 0; padding: 0; }
.wk-page a { color: inherit; }
.wk-page a:focus-visible, .wk-page button:focus-visible, .wk-page input:focus-visible,
.wk-page select:focus-visible, .wk-page textarea:focus-visible, .wk-page summary:focus-visible {
  outline: 3px solid var(--wk-focus);
  outline-offset: 2px;
}
.wk-section--dark a:focus-visible, .wk-section--dark button:focus-visible,
.wk-cta a:focus-visible, .wk-cta button:focus-visible { outline-color: var(--wk-yellow); }

.wk-container { width: 100%; max-width: var(--wk-container); margin: 0 auto; padding: 0 var(--wk-gutter); }
.wk-section { padding: 56px 0; }
.wk-section--light { background: var(--wk-grey-bg); }
.wk-section--dark { background: var(--wk-black); color: var(--wk-text-on-dark); }
.wk-anchor { position: relative; top: -80px; height: 0; }

/* --- Typografie: Hierarchie über Größe/Gewicht, nicht über Schriftwechsel --- */
.wk-h1, .wk-h2, .wk-h3, .wk-h4 {
  font-family: var(--wk-font-head);
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
.wk-h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.wk-h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.wk-h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); }
.wk-h4 { font-size: 1.15rem; margin-bottom: 0.3em; }
.wk-eyebrow { font-family: var(--wk-font-head); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--wk-text-muted); margin-bottom: 0.75em; }
.wk-section--dark .wk-eyebrow, .wk-section--dark .wk-muted { color: var(--wk-muted-on-dark); }
.wk-hero__card .wk-muted { color: var(--wk-muted-on-dark); } /* dunkle Karte im hellen Hero: 10,8:1 */
.wk-lead { font-size: 1.15rem; line-height: 1.55; }
.wk-lead--narrow { max-width: 720px; margin-bottom: 2rem; }
.wk-muted { color: var(--wk-text-muted); }

/* --- Icons --- */
.wk-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.wk-icon--sm { width: 18px; height: 18px; }
.wk-icon--lg { width: 40px; height: 40px; }

/* --- Buttons (≥ 48 px Klickfläche) --- */
.wk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--wk-font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em;
  text-decoration: none; border-radius: var(--wk-radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.wk-btn:active { transform: translateY(1px); }
/* ".wk-page a { color: inherit }" hat höhere Spezifität – Buttons daher mit .wk-page-Präfix. */
.wk-page .wk-btn--primary { background: var(--wk-yellow); color: var(--wk-black); border-color: var(--wk-yellow); }
.wk-page .wk-btn--primary:hover { background: #F5DB00; border-color: #F5DB00; }
.wk-page .wk-btn--secondary { background: var(--wk-black); color: var(--wk-yellow); border-color: var(--wk-black); }
.wk-page .wk-btn--secondary:hover { background: #262224; }
.wk-page .wk-btn--ghost { background: transparent; color: var(--wk-black); border-color: var(--wk-black); }
.wk-page .wk-btn--ghost:hover { background: var(--wk-black); color: var(--wk-white); }
.wk-section--dark .wk-btn--ghost, .wk-cta .wk-btn--ghost { color: var(--wk-text-on-dark); border-color: var(--wk-text-on-dark); }
.wk-section--dark .wk-btn--ghost:hover, .wk-cta .wk-btn--ghost:hover { background: var(--wk-text-on-dark); color: var(--wk-black); }
.wk-btn--block { width: 100%; }
.wk-btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.15rem; }
.wk-btn[disabled], .wk-btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.wk-tel { font-family: var(--wk-font-head); font-weight: 600; white-space: nowrap; display: inline-block; padding: 10px 2px; }

/* --- Hero --- */
.wk-hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--wk-white) 0%, var(--wk-grey-bg) 100%); }
.wk-hero__grid { display: grid; gap: 32px; }
.wk-hero__actions, .wk-hero__secondary { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 0; }
.wk-hero__secondary { margin-top: 12px; }
.wk-hero__note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--wk-text-muted); }
.wk-badges { display: grid; gap: 10px; margin: 1.5rem 0 0; }
.wk-badge { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--wk-white); border: 1px solid var(--wk-border); border-left: 4px solid var(--wk-yellow); border-radius: var(--wk-radius); font-weight: 600; }
.wk-badge .wk-icon { color: var(--wk-black); }

/* --- Formular --- */
.wk-form { background: var(--wk-white); padding: 24px 20px; border-radius: 10px; box-shadow: var(--wk-shadow); border-top: 6px solid var(--wk-yellow); }
.wk-form__title { margin-top: 0; }
.wk-form__hint, .wk-form__legal { font-size: 0.95rem; color: var(--wk-text-muted); }
.wk-form__legal { margin: 12px 0 0; }
.wk-form__row { display: grid; gap: 14px; }
.wk-form__row[hidden] { display: none; }
.wk-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.wk-field label { font-weight: 600; font-size: 0.98rem; }
.wk-field input:not([type="checkbox"]), .wk-field select, .wk-field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; color: var(--wk-text);
  background: var(--wk-white); border: 2px solid var(--wk-input-border); border-radius: var(--wk-radius);
}
.wk-field textarea { min-height: 110px; resize: vertical; }
.wk-field input[type="file"] { padding: 9px 13px; }
.wk-field input:focus, .wk-field select:focus, .wk-field textarea:focus { border-color: var(--wk-black); outline: none; }
.wk-field.is-invalid input, .wk-field.is-invalid select, .wk-field.is-invalid textarea { border-color: var(--wk-error); }
.wk-field__error { display: none; margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--wk-error); }
.wk-field__error:not(:empty) { display: block; }
.wk-field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.wk-field--check { position: relative; min-height: 44px; }
.wk-field--check input { width: 28px; height: 28px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--wk-black); }
.wk-field--check label { flex: 1 1 200px; font-weight: 400; font-size: 0.95rem; padding: 4px 0; }
.wk-field--check label::before { content: ""; position: absolute; inset: 0; } /* ganze Zeile klickbar (≥ 44 px) */
.wk-field--check a { position: relative; z-index: 1; }
.wk-field--check .wk-field__error { flex-basis: 100%; }
.wk-form__status { margin: 10px 0 0; font-weight: 600; }
.wk-form__status.is-success { color: var(--wk-success); }
.wk-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Tabs --- */
.wk-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--wk-border); margin-bottom: 24px; }
.wk-tabs__tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px;
  font-family: var(--wk-font-head); font-weight: 600; font-size: 1.05rem; color: var(--wk-text-muted);
  background: transparent; border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px; cursor: pointer;
}
.wk-tabs__tab[aria-selected="true"] { color: var(--wk-black); border-bottom-color: var(--wk-yellow); }
.wk-tabs__tab:hover { color: var(--wk-black); }
/* Viele Reiter: auf schmalen Bildschirmen seitlich wischen statt umbrechen. Grundlinie als Schatten, weil overflow den negativen Rand der Reiter abschneiden würde. */
.wk-tabs__list--scroll { flex-wrap: nowrap; overflow-x: auto; border-bottom: 0; box-shadow: inset 0 -2px 0 var(--wk-border); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wk-tabs__list--scroll::-webkit-scrollbar { display: none; } /* angeschnittener Reiter zeigt das Wischen an */
.wk-tabs__list--scroll .wk-tabs__tab { flex: 0 0 auto; white-space: nowrap; margin-bottom: 0; }
.wk-page .wk-tabs__cta { margin: 24px 0 0 60px; } /* 60px = Schrittnummer + Abstand, bündig mit dem Schritttext */


/* --- Ablauf-Schritte --- */
.wk-steps { display: grid; gap: 20px; counter-reset: none; }
.wk-steps > li { display: flex; gap: 16px; align-items: flex-start; }
.wk-steps__num { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--wk-yellow); color: var(--wk-black); font-family: var(--wk-font-head); font-weight: 700; font-size: 1.2rem; }
.wk-steps--compact { gap: 10px; padding-left: 1.2em; list-style: decimal; }
.wk-steps--compact > li { display: list-item; }

/* --- Grids, Kacheln, Karten --- */
.wk-grid { display: grid; gap: 16px; }
.wk-tile, .wk-card { background: var(--wk-white); border: 1px solid var(--wk-border); border-radius: var(--wk-radius); padding: 20px; }
.wk-tile p, .wk-card p { margin: 0; color: var(--wk-text-muted); font-size: 0.98rem; }
.wk-tile__icon, .wk-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--wk-radius); background: var(--wk-yellow); color: var(--wk-black); margin-bottom: 12px; }
.wk-card { border-top: 4px solid var(--wk-yellow); }

/* --- Vertrauen --- */
.wk-vertrauen { display: grid; gap: 32px; }
.wk-page .wk-link-ext { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--wk-yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wk-page .wk-link { display: inline-block; padding: 12px 0; }
.wk-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.wk-fact { padding: 18px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--wk-radius); display: flex; flex-direction: column; gap: 6px; }
.wk-fact__value { font-family: var(--wk-font-head); font-weight: 700; font-size: 1.7rem; color: var(--wk-yellow); line-height: 1.1; }
.wk-fact__label { color: var(--wk-muted-on-dark); font-size: 0.95rem; }
.wk-referenzen { margin-top: 40px; }

/* --- Einzugsgebiet --- */
.wk-gebiet { display: grid; gap: 28px; }
.wk-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.wk-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: var(--wk-white); border: 1px solid var(--wk-border); border-radius: 999px; font-weight: 600; }
.wk-chip .wk-icon { color: var(--wk-yellow-dark); }

/* --- Calendly Zwei-Klick --- */
.wk-calendly { border: 2px dashed var(--wk-border); border-radius: var(--wk-radius); background: var(--wk-grey-bg); min-height: 200px; }
.wk-calendly__placeholder { padding: 28px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.wk-calendly__placeholder .wk-icon--lg { color: var(--wk-black); }
.wk-calendly__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.wk-calendly__target { min-height: 700px; }
.wk-calendly__target iframe { width: 100%; min-height: 700px; border: 0; }
.wk-calendly.is-loaded { border-style: solid; background: var(--wk-white); }
.wk-calendly__error { margin: 0; padding: 16px 20px; color: var(--wk-error); font-weight: 600; }

/* --- FAQ --- */
.wk-faq__list { display: grid; gap: 10px; max-width: 900px; }
.wk-faq__item { background: var(--wk-white); border: 1px solid var(--wk-border); border-radius: var(--wk-radius); }
.wk-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; min-height: 56px; cursor: pointer; }
.wk-faq__item summary::-webkit-details-marker { display: none; }
.wk-faq__item summary::after { content: ""; flex: 0 0 12px; width: 12px; height: 12px; border-right: 2px solid var(--wk-black); border-bottom: 2px solid var(--wk-black); transform: rotate(45deg); transition: transform .15s; margin-top: -4px; }
.wk-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.wk-faq__q { font-size: 1.1rem; margin: 0; font-family: var(--wk-font-head); font-weight: 600; }
.wk-faq__a { padding: 0 20px 18px; }
.wk-faq__a p:last-child { margin-bottom: 0; }
.wk-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --- CTA --- */
.wk-cta { background: var(--wk-black); color: var(--wk-text-on-dark); }
.wk-cta__inner { display: grid; gap: 24px; }
.wk-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wk-cta__legal { margin: 0; font-size: 0.95rem; color: var(--wk-muted-on-dark); }
.wk-cta__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.wk-cta__legal a { color: var(--wk-text-on-dark); display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }

/* --- Danke --- */
.wk-danke__inner { max-width: 760px; }
.wk-danke__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wk-yellow); color: var(--wk-black); margin-bottom: 16px; }
.wk-danke__icon .wk-icon { width: 32px; height: 32px; }
.wk-danke__contact { font-size: 1.1rem; }

/* --- Responsive --- */
@media (min-width: 640px) {
  .wk-form__row--2 { grid-template-columns: 1fr 1fr; }
  .wk-grid--tiles { grid-template-columns: repeat(2, 1fr); }
  .wk-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .wk-form { padding: 28px; }
}
@media (min-width: 960px) {
  .wk-section { padding: 80px 0; }
  .wk-hero { padding: 64px 0 80px; }
  .wk-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(360px, 480px); align-items: start; gap: 48px; }
  .wk-grid--tiles { grid-template-columns: repeat(3, 1fr); }
  .wk-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .wk-vertrauen { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .wk-gebiet { grid-template-columns: 1fr 1fr; align-items: start; }
  .wk-cta__inner { grid-template-columns: 1.2fr auto; align-items: center; }
  .wk-cta__legal { grid-column: 1 / -1; }
  .wk-steps:not(.wk-steps--compact) { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
}
@media (min-width: 1200px) {
  .wk-grid--tiles { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .wk-page * { transition: none !important; }
}
