/*
Theme Name: Maler & Stuck
Template: hello-elementor
Description: Hello Elementor child theme carrying the Maler & Stuck design system (tokens + component classes).
Version: 2.2.0
Text Domain: malerundstuck
*/
:root {
  --blue-600: #006ab2;
  --blue-700: #00548d;
  --blue-100: #e5eff7;
  --ink-900: #1c2a32;
  --ink-800: #24343d;
  --ink-600: #4f5b64;
  --kalk-50: #fbfaf7;
  --kalk-100: #f2efe8;
  --white: #ffffff;
  --line: #ddd7cc;
  --field-border: #857e73;
  --gold-400: #f6cd00;
  --red-600: #cc071e;
  --error: #b42318;
  --success: #2c7a3b;
  --on-dark: #ffffff;
  --on-dark-muted: #b6c2ca;
  --whatsapp: #1f7a4d;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(28,42,50,0.06), 0 6px 20px rgba(28,42,50,0.06);
  --shadow-raised: 0 12px 32px rgba(28,42,50,0.16);
  --container: 1200px;
  --content-width: 720px;
  --header-height: 76px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", "Segoe UI", Arial, sans-serif;
}

/* Base: the whole site uses the system, not only .ms blocks */
body { background: var(--kalk-50); color: var(--ink-800); font-family: var(--font-sans); font-size: 17px; line-height: 28px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; color: var(--ink-800); }
h4, h5, h6 { font-family: var(--font-sans); font-weight: 700; }
a { color: var(--blue-600); }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
body.ms { margin: 0; }
@media (max-width: 767px) {
  .ms-hero__in { grid-template-columns: 1fr; padding: var(--space-8) var(--space-4); gap: var(--space-6); }
  .ms-hero h1 { font-size: 38px; line-height: 42px; }
  .ms-trust { grid-template-columns: 1fr 1fr; }
  .ms-trust__item + .ms-trust__item { border-left: 0; }
  .ms-trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ms-trust__item:nth-child(even) { border-left: 1px solid var(--line); }
  .ms-steps { grid-template-columns: 1fr; }
  .ms-step::after { display: none; }
  .ms-row, .ms-ref__pair { grid-template-columns: 1fr; }
  .ms-choices { grid-template-columns: 1fr 1fr; }
  .ms-cta { flex-direction: column; align-items: flex-start; padding: var(--space-8) var(--space-4); }
  .ms-footer { grid-template-columns: 1fr; padding: var(--space-7) var(--space-4) calc(var(--space-5) + 72px); }
  .ms-footer__legal { flex-direction: column; gap: var(--space-2); }
  .ms-nav, .ms-topbar { display: none; }
  .ms-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; }
}
@media (min-width: 768px) { .ms-sticky { display: none; } }


.ms { font-family: var(--font-sans); font-size: 17px; line-height: 28px; color: var(--ink-800); -webkit-font-smoothing: antialiased; }
.ms *, .ms *::before, .ms *::after { box-sizing: border-box; }
.ms h1, .ms h2, .ms h3 { font-family: var(--font-serif); font-weight: 600; margin: 0; color: inherit; }
.ms p { margin: 0; }
:where(.ms) a { color: var(--blue-600); }
.ms-eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.ms-dark .ms-eyebrow { color: var(--gold-400); }
.ms-rule { display: block; width: 32px; height: 4px; background: var(--gold-400); border-radius: 2px; margin-bottom: var(--space-4); }

/* Button */
.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5);
  font: 600 16px/20px var(--font-sans); border-radius: var(--radius-md); border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.ms-btn svg { width: 20px; height: 20px; flex: none; }
.ms-btn:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.ms-btn--primary { background: var(--blue-600); color: var(--on-dark); }
.ms-btn--primary:hover, .ms-btn--primary.is-hover { background: var(--blue-700); }
.ms-btn--secondary { background: var(--white); color: var(--blue-700); border-color: var(--blue-600); }
.ms-btn--secondary:hover, .ms-btn--secondary.is-hover { background: var(--blue-100); }
.ms-btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark-muted); }
.ms-btn--ghost-dark:hover { border-color: var(--on-dark); }
.ms-btn--whatsapp { background: var(--whatsapp); color: var(--on-dark); }
.ms-btn--link { min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue-600); text-decoration: underline; text-underline-offset: 4px; }
.ms-btn--sm { min-height: 40px; padding: 0 var(--space-4); font-size: 15px; }
.ms-btn--block { width: 100%; }
.ms-btn[disabled], .ms-btn.is-disabled { opacity: .45; cursor: not-allowed; }

/* Header */
.ms-topbar { background: var(--ink-900); color: var(--on-dark-muted); font-size: 15px; line-height: 22px; }
.ms-topbar__in { display: flex; gap: var(--space-5); justify-content: flex-end; align-items: center; padding: var(--space-2) var(--space-6); }
.ms-topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; gap: var(--space-2); align-items: center; }
.ms-topbar svg { width: 16px; height: 16px; }
.ms-header { background: var(--white); border-bottom: 1px solid var(--line); }
.ms-header__in { height: var(--header-height); display: flex; align-items: center; gap: var(--space-6); padding: 0 var(--space-6); }
.ms-logo { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink-800); }
.ms-logo__mark { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--blue-600); display: grid; place-items: center; color: var(--on-dark); font: 600 18px/1 var(--font-serif); }
.ms-logo__text { font: 600 19px/22px var(--font-serif); }
.ms-logo__text small { display: block; font: 400 13px/16px var(--font-sans); color: var(--ink-600); }
.ms-nav { display: flex; gap: var(--space-5); margin-left: auto; }
.ms-nav a { color: var(--ink-800); text-decoration: none; font-weight: 600; font-size: 16px; padding: var(--space-2) 0; border-bottom: 2px solid transparent; }
.ms-nav a[aria-current] { color: var(--blue-600); border-color: var(--blue-600); }

/* Hero */
.ms-hero { position: relative; background: var(--ink-900); color: var(--on-dark); overflow: hidden; }
.ms-hero__img { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,42,50,.92) 0%, rgba(28,42,50,.75) 55%, rgba(28,42,50,.45) 100%), repeating-linear-gradient(135deg, #3a4a53 0 2px, #33434c 2px 14px); }
.ms-hero__in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-7); align-items: center; padding: var(--space-9) var(--space-6); }
.ms-hero h1 { font-size: 56px; line-height: 60px; letter-spacing: -.01em; margin: var(--space-3) 0 var(--space-5); }
.ms-hero .ms-lead { font-size: 20px; line-height: 32px; color: var(--on-dark-muted); max-width: 34em; }
.ms-hero__ctas { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }

/* Trust bar */
.ms-trust { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ms-trust__item { padding: var(--space-5); display: flex; gap: var(--space-3); align-items: flex-start; }
.ms-trust__item + .ms-trust__item { border-left: 1px solid var(--line); }
.ms-trust__item svg { width: 28px; height: 28px; color: var(--blue-600); flex: none; }
.ms-trust__item strong { display: block; font: 600 22px/28px var(--font-serif); }
.ms-trust__item span { font-size: 15px; line-height: 22px; color: var(--ink-600); }
.ms-stars { display: inline-flex; gap: 2px; color: var(--gold-400); }
.ms-stars svg { width: 18px; height: 18px; }

/* Service card */
.ms-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.ms-card--shadow { box-shadow: var(--shadow-card); border-color: transparent; }
.ms-card__media { aspect-ratio: 4 / 3; background: var(--kalk-100); position: relative; }
.ms-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.ms-card h3 { font-size: 24px; line-height: 30px; }
.ms-card p { color: var(--ink-600); font-size: 16px; line-height: 26px; }
.ms-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); font-size: 15px; line-height: 22px; }
.ms-card li { display: flex; gap: var(--space-2); }
.ms-card li svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 2px; }
.ms-card__foot { margin-top: auto; padding-top: var(--space-2); }

/* Process */
.ms-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: s; list-style: none; margin: 0; padding: 0; }
.ms-step { position: relative; padding-top: var(--space-7); }
.ms-step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-600); color: var(--on-dark); display: grid; place-items: center; font: 600 18px/1 var(--font-serif); }
.ms-step::after { content: ""; position: absolute; top: 20px; left: 52px; right: calc(-1 * var(--space-5) + 12px); height: 1px; background: var(--line); }
.ms-step:last-child::after { display: none; }
.ms-step h4 { margin: 0 0 var(--space-2); font: 700 19px/26px var(--font-sans); }
.ms-step p { font-size: 15px; line-height: 24px; color: var(--ink-600); }

/* Testimonial */
.ms-quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.ms-quote blockquote { margin: 0; font: 400 20px/31px var(--font-serif); color: var(--ink-800); }
.ms-quote__who { display: flex; align-items: center; gap: var(--space-3); font-size: 15px; line-height: 22px; color: var(--ink-600); margin-top: auto; }
.ms-quote__who strong { color: var(--ink-800); display: block; }
.ms-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--kalk-100); color: var(--blue-700); display: grid; place-items: center; font-weight: 700; }

/* Forms */
.ms-form { background: var(--white); color: var(--ink-800); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); }
.ms-form--raised { box-shadow: var(--shadow-raised); }
.ms-form__head h3 { font-size: 24px; line-height: 30px; }
.ms-form__head p { font-size: 15px; line-height: 22px; color: var(--ink-600); margin-top: var(--space-1); }
.ms-progress { display: flex; gap: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-600); align-items: center; }
.ms-progress i { height: 4px; flex: 1; background: var(--line); border-radius: 2px; }
.ms-progress i.on { background: var(--blue-600); }
.ms-field { display: grid; gap: var(--space-2); }
.ms-field label { font-size: 15px; line-height: 20px; font-weight: 600; }
.ms-field label .opt { font-weight: 400; color: var(--ink-600); }
.ms-input { width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4); font: 400 17px/22px var(--font-sans); color: var(--ink-800); background: var(--white);
  border: 1px solid var(--field-border); border-radius: var(--radius-sm); }
.ms-input::placeholder { color: var(--ink-600); }
.ms-input:focus, .ms-input.is-focus { outline: 2px solid var(--blue-600); outline-offset: 0; border-color: var(--blue-600); }
.ms-field.is-error .ms-input { border-color: var(--error); border-width: 2px; }
.ms-field__msg { font-size: 14px; line-height: 20px; color: var(--error); display: flex; gap: var(--space-1); }
.ms-field__hint { font-size: 14px; line-height: 20px; color: var(--ink-600); }
.ms-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.ms-choice { border: 1px solid var(--field-border); border-radius: var(--radius-sm); padding: var(--space-3); font-size: 15px; line-height: 20px; font-weight: 600; text-align: center; background: var(--white); }
.ms-choice.is-on { border: 2px solid var(--blue-600); background: var(--blue-100); color: var(--blue-700); }
.ms-check { display: flex; gap: var(--space-3); font-size: 14px; line-height: 21px; color: var(--ink-600); align-items: flex-start; }
.ms-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue-600); flex: none; }
.ms-alert { display: flex; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-sm); font-size: 15px; line-height: 22px; }
.ms-alert svg { width: 22px; height: 22px; flex: none; }
.ms-alert--success { background: #eaf4ec; color: var(--success); }
.ms-alert--success strong { color: var(--ink-800); display: block; }
.ms-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* Reference (before/after) */
.ms-ref { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.ms-ref__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ms-ref__img { aspect-ratio: 4/3; position: relative; }
.ms-ref__img span { position: absolute; left: var(--space-3); top: var(--space-3); background: var(--ink-900); color: var(--on-dark); font: 600 13px/18px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; padding: 2px var(--space-2); border-radius: var(--radius-sm); }
.ms-ref__body { padding: var(--space-4) var(--space-5); display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.ms-ref__body h3 { font-size: 21px; line-height: 27px; }
.ms-ref__body p { font-size: 15px; line-height: 22px; color: var(--ink-600); }

/* CTA band + footer */
.ms-dark { background: var(--ink-900); color: var(--on-dark); }
.ms-cta { padding: var(--space-8) var(--space-6); display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); }
.ms-cta h2 { font-size: 34px; line-height: 40px; }
.ms-cta p { color: var(--on-dark-muted); margin-top: var(--space-2); }
.ms-footer { padding: var(--space-7) var(--space-6) var(--space-5); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); font-size: 15px; line-height: 24px; color: var(--on-dark-muted); }
.ms-footer h4 { margin: 0 0 var(--space-3); color: var(--on-dark); font: 600 15px/20px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; }
.ms-footer a { color: var(--on-dark); text-decoration: none; }
.ms-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.ms-footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(182,194,202,.25); padding-top: var(--space-4); display: flex; justify-content: space-between; font-size: 14px; }

/* Sticky mobile action bar */
.ms-sticky { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: var(--space-2); padding: var(--space-2); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(28,42,50,.08); }
.ms-sticky .ms-btn { padding: 0 var(--space-3); font-size: 15px; }

/* Site chrome */
.ms-wrap { max-width: var(--container); margin: 0 auto; }
.ms-header { position: sticky; top: 0; z-index: 40; }
.ms-logo__img { max-height: 52px; width: auto; }
.ms-footer ul li { list-style: none; }
.ms-burger { display: none; position: relative; margin-left: auto; }
.ms-burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.ms-burger summary::-webkit-details-marker { display: none; }
.ms-burger summary span { display: block; width: 22px; height: 2px; background: var(--ink-800); border-radius: 1px; }
.ms-burger__panel { position: absolute; right: 0; top: 52px; width: min(320px, 90vw); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); padding: var(--space-4); display: grid; gap: var(--space-1); }
.ms-burger__panel a:not(.ms-btn) { display: block; padding: var(--space-3) var(--space-2); color: var(--ink-800); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.ms-burger__panel .ms-btn { margin-top: var(--space-3); }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: var(--space-4); top: var(--space-4); z-index: 100; background: var(--white); padding: var(--space-3); }
@media (max-width: 1024px) {
  .ms-nav, .ms-header__cta { display: none; }
  .ms-burger { display: block; }
  .ms-header__in { height: 64px; padding: 0 var(--space-4); }
}
@media (max-width: 767px) { body { padding-bottom: 64px; } }

/* Elementor bridge: native widgets take the system's look through these classes */
.elementor-widget-heading h1.elementor-heading-title { font-size: 44px; line-height: 50px; }
.elementor-widget-heading h2.elementor-heading-title { font-size: 34px; line-height: 40px; }
.elementor-widget-heading h3.elementor-heading-title { font-size: 24px; line-height: 30px; }
.elementor-widget-heading h4.elementor-heading-title { font: 700 19px/26px var(--font-sans); }
.elementor-heading-title { font-family: var(--font-serif); font-weight: 600; color: var(--ink-800); margin: 0; }
.ms-display .elementor-heading-title { font-size: 56px !important; line-height: 60px !important; letter-spacing: -.01em; }
.ms-eyebrow-w .elementor-heading-title { font: 600 14px/20px var(--font-sans) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.ms-rule-w::before { content: ""; display: block; width: 32px; height: 4px; background: var(--gold-400); border-radius: 2px; margin-bottom: var(--space-4); }
.ms-lead-w { font-size: 20px; line-height: 32px; }
.ms-muted-w, .ms-muted-w p { color: var(--ink-600); }
.elementor-widget-text-editor p { margin: 0 0 var(--space-3); }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.ms-on-dark, .ms-on-dark .elementor-heading-title { color: var(--on-dark); }
.ms-on-dark .elementor-widget-text-editor { color: var(--on-dark-muted); }
.ms-on-dark .ms-eyebrow-w .elementor-heading-title { color: var(--gold-400); }
.ms-b .elementor-button { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5); font: 600 16px/20px var(--font-sans); border-radius: var(--radius-md); border: 2px solid transparent; background: var(--blue-600); color: var(--on-dark); transition: background-color .15s, border-color .15s; }
.ms-b .elementor-button:hover { background: var(--blue-700); color: var(--on-dark); }
.ms-b .elementor-button-icon svg { width: 18px; height: 18px; fill: currentColor; }
.ms-b-s .elementor-button { background: var(--white); color: var(--blue-700); border-color: var(--blue-600); }
.ms-b-s .elementor-button:hover { background: var(--blue-100); color: var(--blue-700); }
.ms-b-gd .elementor-button { background: transparent; color: var(--on-dark); border-color: var(--on-dark-muted); }
.ms-b-gd .elementor-button:hover { background: transparent; border-color: var(--on-dark); }
.ms-b-link .elementor-button { background: none; border: 0; padding: 0; min-height: 44px; color: var(--blue-600); text-decoration: underline; text-underline-offset: 4px; }
.ms-b-link .elementor-button:hover { background: none; color: var(--blue-700); }
.ms-checks .elementor-icon-list-icon svg { fill: var(--success); width: 16px; height: 16px; }
.ms-checks .elementor-icon-list-text { font-size: 15px; line-height: 22px; color: var(--ink-800); }
.ms-hero-el { background-color: var(--ink-900); background-image: linear-gradient(90deg, rgba(28,42,50,.94) 0%, rgba(28,42,50,.78) 55%, rgba(28,42,50,.5) 100%), repeating-linear-gradient(135deg, #3a4a53 0 2px, #33434c 2px 14px); }
.ms-card-el { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ms-card-el.ms-shadow { box-shadow: var(--shadow-card); border-color: transparent; }
.ms-photo-ph { aspect-ratio: 4 / 3; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: repeating-linear-gradient(135deg, #d9d2c4 0 2px, transparent 2px 12px), var(--kalk-100); }
.ms-formcard { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); color: var(--ink-800); }
.ms-formcard .elementor-heading-title { color: var(--ink-800); }
.ms-formcard .elementor-widget-text-editor { color: var(--ink-600); }
.ms-rating { display: flex; gap: var(--space-2); align-items: center; font-size: 15px; color: var(--on-dark-muted); }
@media (max-width: 767px) {
  .ms-display .elementor-heading-title { font-size: 38px !important; line-height: 42px !important; }
  .elementor-widget-heading h1.elementor-heading-title { font-size: 32px; line-height: 38px; }
  .elementor-widget-heading h2.elementor-heading-title { font-size: 27px; line-height: 33px; }
  .elementor-widget-heading h3.elementor-heading-title { font-size: 21px; line-height: 27px; }
  .ms-b-block-m .elementor-button { width: 100%; justify-content: center; }
}

/* Request forms */
.ms-reqform { display: grid; gap: var(--space-4); }
.ms-reqform .ms-field { margin: 0; }
.ms-reqform select.ms-input { appearance: auto; }
.ms-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ms-alert--error { background: #fbeceb; color: var(--error); }
.ms-check a { color: var(--blue-600); }
.ms-formcard .ms-reqform { margin-top: var(--space-2); }

/* Fixes 1.2.1 */
.ms-sticky { display: none; }
@media (max-width: 767px) { .ms-sticky { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; } }
.admin-bar .ms-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ms-header { top: 0; } }
.ms-quote figcaption, .ms-quote__who { font-style: normal; }
.ms-topbar__in, .ms-header__in { padding-left: var(--space-6); padding-right: var(--space-6); }

/* ==========================================================================
   2.0 – Logo colours, softer shapes, motion
   ========================================================================== */
:root {
  --ink-900: #0b2a44;          /* dark sections: deep logo-blue navy instead of slate */
  --ink-800: #1d2b36;
  --kalk-100: #eef4fa;         /* alternating sections: a breath of logo blue */
  --line: #dbe4ec;
  --on-dark-muted: #c6d6e4;
  --radius-lg: 18px;
  --radius-md: 999px;
  --shadow-card: 0 1px 2px rgba(11,42,68,.06), 0 10px 30px rgba(11,42,68,.08);
  --shadow-raised: 0 24px 60px rgba(11,42,68,.22);
  --shadow-hover: 0 18px 40px rgba(0,84,141,.18);
  --font-serif: "Barlow", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 9C30 4 60 3 98 5s70 1 98-1c2 2 2 5 0 7-30 3-66 3-100 2S30 12 4 14c-3-1-4-4-2-5z' fill='%23f6cd00'/%3E%3C/svg%3E");
}
h1, h2, h3, .elementor-heading-title, .ms h1, .ms h2, .ms h3 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.015em; }

/* Header: lighter, shrinks on scroll */
.ms-topbar { background: var(--blue-700); color: #d6e6f3; }
.ms-header { border-bottom: 0; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s var(--ease); }
.ms-header__in { transition: height .3s var(--ease); }
.ms-logo__img { transition: max-height .3s var(--ease); }
.ms-header.is-scrolled { box-shadow: 0 8px 30px rgba(11,42,68,.12); }
.ms-header.is-scrolled .ms-header__in { height: 64px; }
.ms-header.is-scrolled .ms-logo__img { max-height: 42px; }
.ms-nav a { position: relative; border-bottom: 0; transition: color .2s; }
.ms-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ms-nav a:hover { color: var(--blue-600); }
.ms-nav a:hover::after, .ms-nav a[aria-current]::after { transform: scaleX(1); }

/* Buttons: pill, lift on hover, yellow on blue */
.ms-btn, .ms-b .elementor-button { border-radius: 999px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.ms-btn:hover, .ms-b:not(.ms-b-link) .elementor-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.ms-btn svg, .ms-b .elementor-button-icon { transition: transform .25s var(--ease); }
.ms-btn:hover svg, .ms-b .elementor-button:hover .elementor-button-icon { transform: translateX(3px); }
.ms-on-dark .ms-b:not(.ms-b-gd):not(.ms-b-link) .elementor-button, .ms-dark .ms-btn--primary { background: var(--gold-400); color: var(--ink-900); }
.ms-on-dark .ms-b:not(.ms-b-gd):not(.ms-b-link) .elementor-button:hover, .ms-dark .ms-btn--primary:hover { background: #ffd93a; color: var(--ink-900); box-shadow: 0 14px 34px rgba(246,205,0,.35); }
.ms-b-gd .elementor-button { border-color: rgba(255,255,255,.55); }
.ms-b-gd .elementor-button:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.ms-b-link .elementor-button { text-decoration: none; font-weight: 700; }
.ms-b-link .elementor-button-text { background: linear-gradient(var(--gold-400), var(--gold-400)) 0 100% / 0 3px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.ms-b-link .elementor-button:hover .elementor-button-text { background-size: 100% 3px; }

/* Hero: logo blue over a real project photo, logo triangles as accents */
.ms-hero-el { position: relative; overflow: hidden; background-color: var(--blue-600);
  background-image: linear-gradient(100deg, rgba(0,62,107,.97) 0%, rgba(0,96,163,.9) 48%, rgba(0,106,178,.55) 100%), url("/wp-content/uploads/2026/12/ref-kita-regenbogen-usingen-03.webp");
  background-size: cover; background-position: center; }
.ms-hero-el::before, .ms-hero-el::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
.ms-hero-el::before { width: 260px; height: 260px; right: -70px; bottom: -110px; background: var(--gold-400); transform: rotate(45deg); border-radius: 28px; opacity: .95; animation: msFloat 9s ease-in-out infinite; }
.ms-hero-el::after { width: 110px; height: 110px; right: 170px; bottom: -60px; background: var(--red-600); transform: rotate(45deg); border-radius: 16px; animation: msFloat 11s ease-in-out -3s infinite; }
.ms-hero-el > .e-con-inner, .ms-hero-el > .elementor-element { position: relative; z-index: 1; }
.ms-hero-el .ms-eyebrow-w .elementor-heading-title { display: inline-block; background: rgba(255,255,255,.14); color: #fff !important; padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(4px); }
.ms-rule-w::before { display: none; }
.ms-display .elementor-heading-title { font-weight: 700; }
.ms-display .elementor-heading-title::after { content: ""; display: block; height: 14px; width: 0; margin-top: 14px; background: var(--brush) no-repeat 0 0 / 100% 100%; animation: msStroke 1s .5s var(--ease) forwards; }
.ms-hero-el .elementor-widget-text-editor { color: #e3eef8; }
.ms-formcard { border-radius: 22px; }
.ms-rating .ms-stars { color: var(--gold-400); }

/* Eyebrows only where they help: hero chip; elsewhere the H2 speaks for itself */
.ms-eyebrow-w:not(.ms-hero-el .ms-eyebrow-w) { display: none; }

/* Cards: soft, lift on hover, photo zooms */
.ms-card-el { border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ms-card-el:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.ms-photo-ph { border-radius: 0; background: var(--kalk-100) center / cover no-repeat; transition: transform .6s var(--ease); position: relative; }
.ms-photo-ph::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 30%; background: var(--gold-400); transition: width .4s var(--ease); }
.ms-card-el:hover .ms-photo-ph::after { width: 100%; }

/* Trust bar */
.ms-trust { border: 0; border-radius: 22px; box-shadow: var(--shadow-card); }
.ms-trust__item strong { font: 700 21px/26px var(--font-serif); white-space: nowrap; color: var(--blue-700); }
.ms-trust__item svg { color: var(--blue-600); background: var(--blue-100); border-radius: 12px; padding: 8px; width: 44px; height: 44px; }
@media (max-width: 1100px) { .ms-trust__item strong { white-space: normal; font-size: 19px; } }

/* Process: numbers in the three logo colours */
.ms-step::before { width: 52px; height: 52px; font: 700 22px/1 var(--font-serif); border-radius: 16px; transform: rotate(-6deg); transition: transform .4s var(--ease); }
.ms-step:hover::before { transform: rotate(0) scale(1.06); }
.ms-step:nth-child(2)::before { background: var(--gold-400); color: var(--ink-900); }
.ms-step:nth-child(3)::before { background: var(--red-600); }
.ms-step { padding-top: 76px; }
.ms-step::after { top: 26px; left: 66px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }

/* Testimonials */
.ms-quote { border: 0; box-shadow: var(--shadow-card); border-radius: 22px; position: relative; transition: transform .35s var(--ease); }
.ms-quote:hover { transform: translateY(-4px); }
.ms-quote::before { content: "\201C"; position: absolute; top: -6px; right: 22px; font: 700 96px/1 var(--font-serif); color: var(--gold-400); }
.ms-quote blockquote { font: 500 19px/30px var(--font-sans); }
.ms-avatar { background: var(--blue-600); color: #fff; }

/* Dark band + footer: navy with a logo stripe */
.ms-site-footer { position: relative; }
.ms-site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--blue-600) 0 62%, var(--gold-400) 62% 86%, var(--red-600) 86%); }
.ms-footer a:hover { color: var(--gold-400); }

/* Forms */
.ms-input { border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.ms-input:focus { outline: 0; box-shadow: 0 0 0 4px rgba(0,106,178,.18); }

/* Scroll reveal (JS adds .ms-rv only to content below the fold) */
.ms-rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.ms-rv.ms-in { opacity: 1; transform: none; }
.ms-hero-el .elementor-widget { animation: msUp .9s var(--ease) both; }
.ms-hero-el .elementor-widget:nth-child(2) { animation-delay: .08s; }
.ms-hero-el .elementor-widget:nth-child(3) { animation-delay: .16s; }
.ms-hero-el .elementor-widget:nth-child(4) { animation-delay: .24s; }
.ms-hero-el .elementor-widget:nth-child(n+5) { animation-delay: .32s; }
.ms-hero-el .ms-formcard { animation: msUp 1s .3s var(--ease) both; }
@keyframes msUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes msStroke { to { width: 180px; } }
@keyframes msFloat { 0%, 100% { translate: 0 0; } 50% { translate: -14px -18px; } }
@media (prefers-reduced-motion: reduce) {
  .ms-rv { opacity: 1; transform: none; transition: none; }
  .ms-hero-el .elementor-widget, .ms-hero-el .ms-formcard, .ms-hero-el::before, .ms-hero-el::after { animation: none; }
  .ms-display .elementor-heading-title::after { animation: none; width: 180px; }
  .ms-card-el:hover, .ms-quote:hover, .ms-btn:hover { transform: none; }
}
@media (max-width: 767px) {
  .ms-hero-el::before { width: 160px; height: 160px; right: -60px; bottom: -80px; }
  .ms-hero-el::after { display: none; }
  @keyframes msStroke { to { width: 120px; } }
}
/* 2.0.1 */
.ms-hero-el::before, .ms-hero-el::after { top: auto !important; left: auto !important; inset: auto; opacity: 1; mix-blend-mode: normal; }
.ms-hero-el::before { right: -70px; bottom: -110px; }
.ms-hero-el::after { right: 170px; bottom: -60px; }
.ms-hero-el .ms-formcard .elementor-widget-text-editor, .ms-hero-el .ms-formcard .elementor-widget-text-editor p { color: var(--ink-600); }
.ms-trust__item svg { background: none; padding: 0; width: 28px; height: 28px; border-radius: 0; }
.ms-trust__item > svg { background: var(--blue-100); border-radius: 12px; padding: 8px; width: 44px; height: 44px; }
.ms-trust .ms-stars svg { width: 16px; height: 16px; }
:root { --kalk-50: #fbfcfd; }
/* Photos in cards (Elementor image widget with class ms-photo) */
.ms-photo { position: relative; overflow: hidden; margin: 0; }
.ms-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.ms-card-el:hover .ms-photo img { transform: scale(1.06); }
.ms-photo::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 30%; background: var(--gold-400); transition: width .45s var(--ease); z-index: 1; }
.ms-card-el:hover .ms-photo::after { width: 100%; }
.ms-photo.ms-rv, .ms-card-el .elementor-widget.ms-rv { opacity: 1; transform: none; }

/* Forms 2.0: tiles, chips, wizard */
.ms-reqform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--space-4); }
.ms-wiz-legend { font: 700 22px/28px var(--font-serif); color: var(--ink-800); padding: 0; margin-bottom: var(--space-2); outline: 0; }
.ms-field__label { font-size: 15px; line-height: 20px; font-weight: 600; }
.ms-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--space-2); }
.ms-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ms-opt { position: relative; cursor: pointer; }
.ms-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ms-opt span { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink-800); transition: border-color .2s, background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.ms-chips .ms-opt span { border-radius: 999px; }
.ms-tiles .ms-opt span { min-height: 64px; padding: 14px 16px; }
.ms-opt:hover span { border-color: var(--blue-600); transform: translateY(-1px); }
.ms-opt input:checked + span { border-color: var(--blue-600); background: var(--blue-100); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-600); }
.ms-opt input:focus-visible + span { outline: 3px solid rgba(0,106,178,.35); outline-offset: 2px; }
.ms-tiles .ms-opt input:checked + span::after { content: ""; margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; flex: none; }
.ms-wiz-progress, .ms-wiz-count { display: none; }
.is-wizard .ms-wiz-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: w; }
.is-wizard .ms-wiz-progress li { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-600); padding-top: 10px; position: relative; }
.is-wizard .ms-wiz-progress li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 5px; background: var(--line); transition: background-color .4s var(--ease); }
.is-wizard .ms-wiz-progress li.is-on, .is-wizard .ms-wiz-progress li.is-done { color: var(--blue-700); }
.is-wizard .ms-wiz-progress li.is-on::before { background: var(--gold-400); }
.is-wizard .ms-wiz-progress li.is-done::before { background: var(--blue-600); }
.is-wizard .ms-wiz-count { display: block; font-size: 14px; color: var(--ink-600); margin: 0; }
.is-wizard .ms-step-panel:not([hidden]) { animation: msUp .45s var(--ease) both; }
.ms-wiz-nav { display: flex; justify-content: space-between; gap: var(--space-3); }
.ms-wiz-nav[hidden] { display: none; }
.ms-file { padding: 10px; background: var(--kalk-50); border-style: dashed; }
.ms-formcard--wide { padding: clamp(20px, 4vw, 40px); }
@media (max-width: 767px) { .ms-tiles { grid-template-columns: 1fr 1fr; } .ms-tiles .ms-opt span { min-height: 56px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .is-wizard .ms-step-panel { animation: none !important; } }

/* Pages 2.1: sub-page hero, breadcrumbs, FAQ, team, contact, gallery */
.ms-hero2 { position: relative; overflow: hidden; }
.ms-hero2::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; background: var(--gold-400); border-radius: 26px; transform: rotate(45deg); opacity: .9; pointer-events: none; }
.ms-hero2 > .e-con-inner { position: relative; z-index: 1; }
.ms-crumbs { font-size: 14px; line-height: 20px; color: var(--ink-600); }
.ms-crumbs a { color: var(--blue-700); text-decoration: none; font-weight: 600; }
.ms-crumbs a:hover { text-decoration: underline; }
.ms-crumbs span[aria-hidden] { margin: 0 6px; color: #9aa9b6; }
.ms-photo--round { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.ms-photo--round img { aspect-ratio: 4 / 3; }
.ms-photo--tall img { aspect-ratio: 4 / 5; }
.ms-photo--hero { border-radius: 24px; box-shadow: 18px 18px 0 0 var(--blue-600); overflow: visible; }
.ms-photo--hero img { border-radius: 24px; aspect-ratio: 4 / 3; }
.ms-photo--hero::after { display: none; }
@media (max-width: 767px) { .ms-photo--hero { box-shadow: 10px 10px 0 0 var(--blue-600); margin-right: 10px; } }
.ms-photo--round::after { display: none; }

.ms-faq { display: grid; gap: 12px; max-width: 860px; }
.ms-faq details { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.ms-faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 700 18px/26px var(--font-serif); color: var(--ink-800); position: relative; }
.ms-faq summary::-webkit-details-marker { display: none; }
.ms-faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006ab2' stroke-width='2.5'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.ms-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-400); }
.ms-faq summary:hover { color: var(--blue-700); }
.ms-faq__a { padding: 0 22px 20px; color: var(--ink-600); }
.ms-faq details[open] .ms-faq__a { animation: msUp .35s var(--ease) both; }

.ms-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ms-related a { display: grid; gap: 4px; height: 100%; padding: 18px 20px; background: var(--white); border-radius: 16px; text-decoration: none; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s; border-left: 5px solid var(--blue-600); }
.ms-related li:nth-child(3n+2) a { border-left-color: var(--gold-400); }
.ms-related li:nth-child(3n) a { border-left-color: var(--red-600); }
.ms-related a:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ms-related strong { font: 700 18px/24px var(--font-serif); color: var(--ink-800); }
.ms-related span { font-size: 15px; line-height: 22px; color: var(--ink-600); }

.ms-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ms-block { background: var(--white); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.ms-block::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; background: var(--blue-600); transform: rotate(-6deg); }
.ms-block--1::before { background: var(--gold-400); }
.ms-block--2::before { background: var(--red-600); }
.ms-block h3 { font-size: 21px; line-height: 27px; margin: 0 0 6px; }
.ms-block p { color: var(--ink-600); font-size: 16px; line-height: 25px; }

.ms-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ms-team li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-card); }
.ms-team__ini { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-600); color: #fff; font: 700 17px/1 var(--font-serif); }
.ms-team li:nth-child(3n+2) .ms-team__ini { background: var(--gold-400); color: var(--ink-900); }
.ms-team li:nth-child(3n) .ms-team__ini { background: var(--red-600); }
.ms-team strong { display: block; font: 700 18px/24px var(--font-serif); color: var(--ink-800); }
.ms-team span { display: block; font-size: 15px; line-height: 22px; color: var(--ink-600); }
.ms-team .ms-team__role { color: var(--blue-700); font-weight: 600; }

.ms-contact h2 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
.ms-contact h3 { font: 700 19px/26px var(--font-serif); margin: 22px 0 6px; }
.ms-contact ul { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.ms-contact ul a { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-card); color: var(--ink-800); text-decoration: none; transition: transform .25s var(--ease); }
.ms-contact ul a:hover { transform: translateX(4px); color: var(--blue-700); }
.ms-contact ul strong { min-width: 90px; color: var(--blue-700); }
.ms-contact .ms-btn { margin-top: 8px; }

.ms-tag { display: inline-block; background: var(--blue-100); color: var(--blue-700); font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.ms-ref-meta { font-size: 16px; color: var(--ink-800); }
.ms-gallery .gallery { margin: 0 !important; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ms-gallery .gallery-item { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.ms-gallery .gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 0 !important; transition: transform .4s var(--ease), opacity .3s; }
.ms-gallery .gallery-item a:hover img { transform: scale(1.04); opacity: .9; }
@media (max-width: 767px) { .ms-gallery .gallery { grid-template-columns: repeat(2, 1fr); } }

.ms-steps--v { grid-template-columns: 1fr !important; gap: 18px; }
.ms-steps--v .ms-step { padding: 0 0 0 68px; min-height: 52px; }
.ms-steps--v .ms-step::after { display: none; }
.ms-legal h2 { font-size: 22px; line-height: 28px; margin: 28px 0 8px; }
.ms-legal h3 { font-size: 18px; line-height: 24px; margin: 20px 0 6px; }
.ms-legal p { font-size: 16px; line-height: 26px; }
.ms-legal a { word-break: break-word; }
