/* === Consolidated critical CSS — auto-generated; edit individual files instead === */

/* Red Hat Display */
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 300;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: italic;
  font-weight: 300;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-300italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: italic;
  font-weight: 400;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 500;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: italic;
  font-weight: 500;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-500italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 600;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: italic;
  font-weight: 600;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-600italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 700;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: italic;
  font-weight: 700;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-700italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 800;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: italic;
  font-weight: 800;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-800italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 900;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-900.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Display';
  font-style: italic;
  font-weight: 900;
  
  src: url('/assets/cdn/font-storage/red-hat-display/red-hat-display-900italic.woff2') format('woff2');
}

/* Red Hat Text */
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 300;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: italic;
  font-weight: 300;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-300italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 400;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: italic;
  font-weight: 400;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 500;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: italic;
  font-weight: 500;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-500italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 600;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: italic;
  font-weight: 600;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-600italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 700;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: italic;
  font-weight: 700;
  
  src: url('/assets/cdn/font-storage/red-hat-text/red-hat-text-700italic.woff2') format('woff2');
}

/* Button hover: underline */
.con-kit-component-button[data-kit-transparent-button-effect=underline]{transition:color .3s}.con-kit-component-button[data-kit-transparent-button-effect=underline] .con-kit-component-button__label:before{content:"";position:absolute;width:100%;height:var(--one-kit-atom-border-width,1px);background-color:rgba(var(--color-border),var(--alpha-border));left:0;bottom:-2px;opacity:1;transition:opacity .3s}@media(hover:hover){.con-kit-component-button[data-kit-transparent-button-effect=underline].con-kit-component-button--hover .con-kit-component-button__label:before,.con-kit-component-button[data-kit-transparent-button-effect=underline]:hover .con-kit-component-button__label:before{opacity:0}}

/* Cookie content blocker placeholder */
.one-kit-cookie-content-blocker-placeholder{display:flex;background-color:rgba(var(--color-text),.05);backdrop-filter:blur(40px);color:rgba(var(--color-text),1);position:relative;border-radius:var(--one-kit-radius);box-shadow:0 0 0 1.5px rgba(var(--color-text),.15) inset;min-height:150px;height:100%}.one-kit-cookie-content-blocker-placeholder__wrapper{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;width:calc(100% - 48px);max-width:400px;text-align:center;top:50%;left:50%;transform:translate(-50%,-50%);font-family:var(--font-kit-text-font);grid-gap:8px;gap:8px;container-type:inline-size;container-name:placeholder;white-space:pre-wrap}.one-kit-cookie-content-blocker-placeholder__wrapper--loading{opacity:0;pointer-events:none}.one-kit-cookie-content-blocker-placeholder svg{margin-bottom:12px;width:18px;height:22px}@container placeholder (max-width: 320px){.one-kit-cookie-content-blocker-placeholder svg{margin-bottom:6px;width:16px;height:20px}}.one-kit-cookie-content-blocker-placeholder__title{font-weight:var(--font-kit-text-font-weight-bold);font-size:14px;font-family:-apple-system,SF Pro Text,system-ui,helvetica neue,calibri light,Roboto,sans-serif;line-height:1.2}@container placeholder (max-width: 320px){.one-kit-cookie-content-blocker-placeholder__title{font-size:13px;font-weight:var(--font-kit-text-font-weight);color:rgba(var(--color-text),.7);line-height:1.3;max-width:150px}}.one-kit-cookie-content-blocker-placeholder__description{font-size:13px;line-height:1.4;display:inline;font-family:-apple-system,SF Pro Text,system-ui,helvetica neue,calibri light,Roboto,sans-serif;color:rgba(var(--color-text),.7)}@container placeholder (max-width: 320px){.one-kit-cookie-content-blocker-placeholder__description{display:none}}.one-kit-cookie-content-blocker-placeholder__button{font-family:-apple-system,SF Pro Text,system-ui,helvetica neue,calibri light,Roboto,sans-serif;font-size:12px;font-weight:600;margin-top:8px;border:1px solid rgba(var(--color-text),.2);background-color:rgba(var(--color-text),.07);color:rgba(var(--color-text),1);border-radius:100px;padding:8px 16px 10px;cursor:pointer;transition:background-color .3s ease,border .3s ease}.one-kit-cookie-content-blocker-placeholder__button:hover{background-color:rgba(var(--color-text),.09);border:1px solid rgba(var(--color-text),.3)}

/* Button effect: line-default */
.con-kit-component-button[data-kit-line-button-effect=default]{transition:filter .3s}@media(hover:hover){.con-kit-component-button[data-kit-line-button-effect=default].con-kit-component-button--hover,.con-kit-component-button[data-kit-line-button-effect=default]:hover{filter:brightness(1.1)}}.con-kit-component-button[data-kit-line-button-effect=default]:active{filter:brightness(.9)}

/* Button effect: solid-default */
.con-kit-component-button[data-kit-solid-button-effect=default]{transition:background-color .3s}.con-kit-component-button[data-kit-solid-button-effect=default]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;background-color:rgba(var(--color-text),.1);border-radius:var(--one-kit-radius);transition:opacity .3s}@media(hover:hover){.con-kit-component-button[data-kit-solid-button-effect=default].con-kit-component-button--hover:before,.con-kit-component-button[data-kit-solid-button-effect=default]:hover:before{opacity:1}}

/* Button effect: solid-shadow */
.con-kit-component-button[data-kit-solid-button-effect=shadow]{transform:translateZ(0);background:linear-gradient(135deg,rgba(var(--color-bg),.8),rgba(var(--color-bg),1) 50%,rgba(var(--color-bg),.8));background-size:250%;backdrop-filter:blur(10px);box-shadow:0 .5px 1.1px rgba(0,0,0,.05),0 15px 30px rgba(0,0,0,.1),0 15px 29px rgba(var(--color-bg),.25);transition:box-shadow .3s ease-out,transform .3s ease-out,background-position .5s}@media(hover:hover){.con-kit-component-button[data-kit-solid-button-effect=shadow].con-kit-component-button--hover,.con-kit-component-button[data-kit-solid-button-effect=shadow]:hover{transform:translate3d(0,-4px,0);box-shadow:0 .5px 1.1px rgba(0,0,0,.12),0 19px 30px rgba(0,0,0,.15),0 19px 29px rgba(var(--color-bg),.3);background-position:100%}}.con-kit-component-button[data-kit-solid-button-effect=shadow]:active{transform:translateZ(0);transition:transform .2s ease,box-shadow .4s ease,border-color .2s ease;box-shadow:0 .5px 1.1px rgba(0,0,0,.05),0 15px 30px rgba(0,0,0,.1),0 15px 29px rgba(var(--color-bg),.25)}

/* Site-wide shared (header/footer) */
/* ============================================================
   Shared site-wide header & footer
   Loaded by BOTH the snapshot pages (/, /kundenergebnisse, …)
   AND the blog (which also has these styles inside blog.css).
   ============================================================ */

:root {
    --site-c-navy: #002A3C;
    --site-c-orange: #F79520;
    --site-container: 1240px;
    --site-font-display: 'Red Hat Display', system-ui, sans-serif;
}

/* ----- Spacing before the footer ----- */
/* FAQ-Section endet recht knapp; etwas Luft zum Footer geben. */
.con-kit-section.faq {
    padding-bottom: 96px !important;
}
@media (max-width: 768px) {
    .con-kit-section.faq { padding-bottom: 64px !important; }
}

/* ----- Footer ----- */
.site-footer {
    background: var(--site-c-navy);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-family: var(--site-font-display);
}
.site-footer * { box-sizing: border-box; }
.site-footer__inner {
    max-width: var(--site-container);
    margin: 0 auto; padding: 0 24px;
}
.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__brand img {
    height: 56px; width: auto; display: block; margin-bottom: 18px;
}
.site-footer__tagline {
    font-size: 15px; line-height: 1.6;
    color: rgba(255,255,255,0.75); max-width: 320px;
    font-family: 'Red Hat Text', system-ui, sans-serif;
    margin: 0;
}
.site-footer__col h2 {
    font-family: var(--site-font-display);
    font-size: 13px; font-weight: 700;
    color: #fff;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.site-footer__col ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.site-footer__col li {
    font-family: 'Red Hat Text', system-ui, sans-serif;
    font-size: 14.5px; line-height: 1.5;
}
.site-footer__col a {
    color: rgba(255,255,255,0.72);
    font-size: 14.5px;
    text-decoration: none;
    transition: color 0.18s ease;
}
.site-footer__col a:hover { color: var(--site-c-orange); }
.site-footer__bottom {
    margin-top: 28px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    font-size: 13px; color: rgba(255,255,255,0.45);
    font-family: 'Red Hat Text', system-ui, sans-serif;
}
.site-footer__bottom a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
.site-footer__bottom a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 880px) {
    .site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
    .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
    .site-footer { padding: 48px 0 24px; }
}

/* Cookie-consent banner */
/* ============================================================
   Cookie Consent Banner · Clementine Media
   DSGVO-konform · integriert mit Google Consent Mode v2
   ============================================================ */

.clem-cc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 17, 22, 0.25);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.clem-cc-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.clem-cc {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 940px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 80px -20px rgba(0, 42, 60, 0.45),
                0 0 0 1px rgba(0, 42, 60, 0.06);
    z-index: 9999;
    font-family: 'Red Hat Text', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2a30;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    overflow: hidden;
}
.clem-cc.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.clem-cc__main {
    padding: 26px 30px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.clem-cc__text strong {
    display: block;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #002a3c;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.clem-cc__text p {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}
.clem-cc__text a {
    color: #e07d0a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.clem-cc__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.clem-cc__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.clem-cc__btn--primary {
    background: #002a3c;
    color: #fff;
    border: 2px solid #002a3c;
}
.clem-cc__btn--primary:hover {
    background: #013a52;
    border-color: #013a52;
    transform: translateY(-2px);
}
.clem-cc__btn--secondary {
    background: #002a3c;
    color: #fff;
    border: 2px solid #002a3c;
}
.clem-cc__btn--secondary:hover {
    background: #013a52;
    border-color: #013a52;
    transform: translateY(-2px);
}
.clem-cc__btn--ghost {
    background: transparent;
    color: #475569;
    padding: 12px 16px;
}
.clem-cc__btn--ghost:hover {
    color: #002a3c;
}

/* Settings panel */
.clem-cc__settings {
    border-top: 1px solid rgba(0, 42, 60, 0.08);
    padding: 24px 30px 26px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}
.clem-cc.is-expanded .clem-cc__settings {
    max-height: 700px;
    opacity: 1;
}

.clem-cc__settings-title {
    font-family: 'Red Hat Display', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #002a3c;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.clem-cc__categories {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.clem-cc__cat {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 16px 18px;
    background: #fafafa;
    border-radius: 14px;
    border: 1px solid rgba(0, 42, 60, 0.06);
    align-items: center;
}

.clem-cc__cat-info strong {
    display: block;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #002a3c;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.clem-cc__cat-info p {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}
.clem-cc__cat-info code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    background: rgba(0, 42, 60, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    color: #475569;
}

/* Toggle */
.clem-cc__toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.clem-cc__toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.clem-cc__toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(0, 42, 60, 0.2);
    border-radius: 24px;
    transition: background 0.2s ease;
}
.clem-cc__toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.clem-cc__toggle input:checked + .clem-cc__toggle-slider {
    background: #f79520;
}
.clem-cc__toggle input:checked + .clem-cc__toggle-slider::before {
    transform: translateX(20px);
}
.clem-cc__toggle input:disabled + .clem-cc__toggle-slider {
    background: rgba(0, 42, 60, 0.35);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Tiny "manage cookies" reopen button (after consent) */
.clem-cc-reopen {
    position: fixed;
    bottom: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 42, 60, 0.1);
    box-shadow: 0 8px 24px -8px rgba(0, 42, 60, 0.25);
    cursor: pointer;
    z-index: 9990;
    display: none;
    align-items: center;
    justify-content: center;
    color: #002a3c;
    transition: all 0.2s ease;
}
.clem-cc-reopen.is-visible { display: inline-flex; }
.clem-cc-reopen:hover {
    background: #f79520;
    color: #fff;
    border-color: #f79520;
    transform: translateY(-2px);
}
.clem-cc-reopen svg { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 720px) {
    .clem-cc { left: 12px; right: 12px; bottom: 12px; border-radius: 18px; }
    .clem-cc__main { grid-template-columns: 1fr; padding: 22px 22px 18px; gap: 18px; }
    .clem-cc__actions { width: 100%; flex-direction: column-reverse; gap: 8px; }
    .clem-cc__btn { width: 100%; }
    .clem-cc__settings { padding: 20px 22px 22px; }
    .clem-cc__cat { grid-template-columns: 1fr; gap: 12px; }
    .clem-cc__cat .clem-cc__toggle { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
    .clem-cc, .clem-cc-overlay, .clem-cc__settings, .clem-cc__toggle-slider, .clem-cc__toggle-slider::before {
        transition-duration: 0.01ms !important;
    }
}



/* === Mobile-responsive overrides for con-kit grids (snapshot was built at Desktop width) ===
   Live-Site switcht via JS:
     columns-2 (text cards) -> 1-col auf Mobile
     columns-4 (image-grid mit thumbnails) -> bleibt 4-col auf Mobile
   Wir wenden nur den Card-Switch an, lassen Image-Grids unangetastet. */
@media (max-width: 700px) {
  /* Nur columns-2 (Text-Cards) auf 1-col, NICHT --columns-4 (Image-Grids) */
  .con-kit-component-grid-list--columns-2 .con-kit-component-grid-list-item {
    width: 100% !important;
  }
  /* columns-3 zu 1-col falls items Text sind — meistens sind 3-col-Layouts auf Mobile 1-col */
  .con-kit-component-grid-list--columns-3 .con-kit-component-grid-list-item {
    width: 100% !important;
  }
  /* columns-4 (Image-Berufe-Galerie) auf Mobile zu 2-col fuer lesbare Text-Overlays */
  .con-kit-component-grid-list--columns-4 .con-kit-component-grid-list-item {
    width: calc(50% - 12px) !important;
  }
  /* Text-Overlays in der Berufs-Galerie kleiner + sauberer Umbruch + mehr Card-Hoehe */
  .con-kit-component-grid-list--columns-4 .con-kit-component-image__overlay-content {
    padding: 8px !important;
  }
  .con-kit-component-grid-list--columns-4 .con-kit-component-image {
    aspect-ratio: 4 / 3;
    height: auto !important;
    min-height: 140px;
  }
  .con-kit-component-grid-list--columns-4 .con-kit-atom-image,
  .con-kit-component-grid-list--columns-4 .con-kit-animation__atom {
    height: auto !important;
  }
  /* Force smaller text via higher specificity selector */
  .con-kit-component-grid-list--columns-4 .con-kit-component-image__header .con-kit-quark,
  .con-kit-component-grid-list--columns-4 .con-kit-component-header .con-kit-quark {
    font-size: 13px !important;
    line-height: 1.2 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
  }
  /* Masonry-Component (Vergleichs-Cards) auf Mobile zu 1-col (statt 2-col-flex) */
  .con-kit-component-masonry--columns-2,
  .con-kit-component-masonry--columns-3,
  .con-kit-component-masonry--columns-4 {
    flex-direction: column !important;
  }
  .con-kit-component-masonry--columns-2 .con-kit-component-masonry__column,
  .con-kit-component-masonry--columns-3 .con-kit-component-masonry__column,
  .con-kit-component-masonry--columns-4 .con-kit-component-masonry__column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
  /* Mobile-Slider: 1-col Layout. JS (snapshot-fx initSlider) klont Slides
     fuer infinite loop + handhabt Auto-Rotate. Wir verstecken hier nur die
     Arrows + Pagination (Live versteckt sie auf Mobile auch). */
  .con-kit-component-slider-arrow,
  .con-kit-component-slider__pagination,
  .con-kit-component-slider-pagination,
  .con-kit-component-slider__counter,
  .con-kit-component-slider__nav { display: none !important; }
  /* Bento/grid molecule (Mobile single-column) */
  .con-kit-layout[data-kit-grid-type=columns],
  .con-kit-layout[data-kit-grid-type=masonry],
  .con-kit-layout[data-kit-grid-type=bento] { grid-template-columns: 1fr !important; }
  /* Row-container with --row-columns:2 → force single column on mobile */
  .con-kit-row__container[style*="--row-columns:2"] .con-kit-layout,
  .con-kit-row__container[style*="--row-columns:3"] .con-kit-layout,
  .con-kit-row__container[style*="--row-columns:4"] .con-kit-layout { grid-template-columns: 1fr !important; }
  .con-kit-row__container[style*="--row-columns:2"] .con-kit-col,
  .con-kit-row__container[style*="--row-columns:3"] .con-kit-col,
  .con-kit-row__container[style*="--row-columns:4"] .con-kit-col {
    flex-basis: 100% !important; max-width: 100% !important;
    grid-column: 1 / -1 !important;
  }
  /* Cols-sm 12/24 → full width on mobile (also covers other data-col-* variants) */
  .con-kit-col[data-col-sm="24"],
  .con-kit-col[data-col-sm="12"],
  .con-kit-col[data-col-sm="11"],
  .con-kit-col[data-col-sm="13"],
  .con-kit-col[data-col-sm="14"],
  .con-kit-col[data-col-sm="16"],
  .con-kit-col[data-col-sm="19"] {
    flex-basis: 100% !important; max-width: 100% !important;
  }
}
@media (min-width: 701px) and (max-width: 1024px) {
  .con-kit-component-grid-list--columns-3 .con-kit-component-grid-list-item,
  .con-kit-component-grid-list--columns-4 .con-kit-component-grid-list-item,
  .con-kit-component-grid-list--columns-5 .con-kit-component-grid-list-item {
    width: calc(50% - 12px) !important;
  }
}

/* Cookie-Reopen-Kreis auf Mobile ausblenden */
@media (max-width: 700px) {
  .clem-cc-reopen,
  .con-kit-component-cookie-banner-bulka { display: none !important; }
}

/* Form-Checkbox: Visualisierung des Checked-State (Onepage's JS fehlt) */
.con-kit-component-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 8px 0;
}
.con-kit-component-checkbox__container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.con-kit-component-checkbox__hidden-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.con-kit-component-checkbox__styled-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(var(--color-border, 0, 42, 60), var(--alpha-border, 1));
  border-radius: 4px;
  background-color: rgba(var(--color-bg, 242, 242, 242), 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s, border-color 0.15s;
}
.con-kit-component-checkbox__styled-checkbox svg {
  opacity: 0;
  width: 12px;
  height: 10px;
  transition: opacity 0.15s;
}
.con-kit-component-checkbox__hidden-checkbox:checked + .con-kit-component-checkbox__styled-checkbox {
  background-color: rgb(0, 42, 60);
  border-color: rgb(0, 42, 60);
}
.con-kit-component-checkbox__hidden-checkbox:checked + .con-kit-component-checkbox__styled-checkbox svg {
  opacity: 1;
}
.con-kit-component-checkbox__hidden-checkbox:focus-visible + .con-kit-component-checkbox__styled-checkbox {
  outline: 2px solid rgb(247, 149, 32);
  outline-offset: 2px;
}
.con-kit-component-checkbox__label {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 42, 60, 0.85);
  font-family: 'Red Hat Text', sans-serif;
}
.con-kit-component-checkbox__label a {
  color: rgb(0, 42, 60);
  font-weight: 600;
  text-decoration: underline;
}
.con-kit-component-checkbox__label a:hover { color: rgb(247, 149, 32); }

/* === Inline highlight effects (background, underline, hand-underlined) — CSS-only fallback ===
   Onepage positions .highlight-effect-* boxes via JS; without that JS they sit at top:0/left:0
   and overlap the wrapping text. Replace with direct styling on the span. */
.highlight-container { display: none !important; }
span.con-kit-quark-highlight[data-highlight-type="background"] {
  background-color: rgba(var(--color-bg), var(--alpha-bg, 1));
  color: rgba(var(--color-text), var(--alpha-text, 1));
  padding: 0.05em 0.4ch;
  border-radius: calc(var(--one-kit-quark-radius, 4) * 1px);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  white-space: nowrap;
}
span.con-kit-quark-highlight[data-highlight-type="underline"] {
  border-bottom: 2px solid rgba(var(--color-border), var(--alpha-border, 1));
  padding-bottom: 0.05em;
}
span.con-kit-quark-highlight[data-highlight-type="hand-underlined"] {
  border-bottom: 3px solid rgba(var(--color-border), var(--alpha-border, 1));
  padding-bottom: 0.05em;
}


/* === Mobile burger menu (snapshot has Desktop nav inline; we hide it and add a burger) === */
/* Prevent document overflow from off-screen .clem-mobile-menu (translateX 100%) */
html, body { overflow-x: clip; }
/* Safety-net: prevent oversized images (e.g. article-cover with natural 1600px) from
   pushing layout wider than viewport on mobile */
img { max-width: 100%; height: auto; }

/* Marquee-Logos: Original-Onepage CSS hatte object-fit:cover + min-height:100%
   was bei width:auto + zero-width-parent zu 0px-Bildern fuehrte. Hier mit
   contain und festen Breiten ueberschreiben damit die Logos voll sichtbar sind. */
.con-kit-component-marquee-gallery .con-kit-component-marquee-gallery-item .con-kit-component-image[data-type=autoheight],
.con-kit-component-marquee-gallery .con-kit-component-marquee-gallery-item .con-kit-component-image[data-type=autoheight] .con-kit-fade-box {
  height: 70px !important;
  width: auto !important;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.con-kit-component-marquee-gallery .con-kit-component-marquee-gallery-item .con-kit-component-image[data-type=autoheight] img {
  height: 70px !important;
  width: auto !important;
  max-width: 220px;
  object-fit: contain !important;
  min-height: 0 !important;
}

.clem-burger { display: none; }
.clem-mobile-menu { display: none; }
@media (max-width: 700px) {
  /* Hide desktop nav items except logo */
  .con-kit-molecule-header-v2 .con-kit-molecule-header-v2__atoms > div[data-atom]:not([data-atom="logo"]) { display: none !important; }
  /* Show burger button */
  .clem-burger {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    padding: 10px;
    background: transparent; border: 0; cursor: pointer;
    position: fixed; right: 12px; top: 12px; z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    appearance: none;
    -webkit-appearance: none;
  }
  .clem-burger__bar {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s, opacity 0.25s, background-color 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    pointer-events: none;
  }
  .clem-burger__bar + .clem-burger__bar { margin-top: 6px; }
  body.clem-nav-open .clem-burger__bar { background: rgb(0, 42, 60); box-shadow: none; }
  /* Burger ueber dem Page-Header weiss bleiben (Header hat dunkelblauen Hintergrund) */
  body.has-page-header .clem-burger__bar { background: #fff; box-shadow: none; }
  /* Burger-Bars zu X-Form animieren bei offenem Menue */
  body.clem-nav-open .clem-burger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.clem-nav-open .clem-burger__bar:nth-child(2) { opacity: 0; }
  body.clem-nav-open .clem-burger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Mobile menu overlay */
  .clem-mobile-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 80px 32px 32px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  body.clem-nav-open .clem-mobile-menu { transform: translateX(0); }
  body.clem-nav-open { overflow: hidden; }
  .clem-mobile-menu a, .clem-mobile-menu button {
    display: block; padding: 16px 0; font-size: 20px; font-weight: 600;
    color: rgb(0, 42, 60); text-decoration: none; border: 0; background: none; text-align: left;
    border-bottom: 1px solid rgba(0, 42, 60, 0.08); width: 100%; cursor: pointer;
    font-family: 'Red Hat Display', sans-serif;
  }
  .clem-mobile-menu .clem-mobile-menu__cta {
    margin-top: 24px; padding: 16px 24px; border-radius: 100px;
    background: #002a3c; color: #fff; text-align: center; border-bottom: 0;
  }
}

/* Unified header for Impressum / AGB / Datenschutz — visually matches the
   Onepage header on index / kundenergebnisse / erstgesprach (logo + nav + CTA). */
.clem-page-header {
  background: #002a3c;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 999;
  font-family: 'Red Hat Display', 'Red Hat Text', sans-serif;
}
.clem-page-header__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.clem-page-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.clem-page-header__logo {
  height: 32px;
  width: auto;
  display: block;
}
.clem-page-header__nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 28px;
}
.clem-page-header__nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.clem-page-header__nav a:hover {
  color: #f79520;
}
.clem-page-header__nav a:visited {
  color: rgba(255, 255, 255, 0.85);
}
.clem-page-header__nav a:focus,
.clem-page-header__nav a:active {
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.85);
}
.clem-page-header__nav a:focus-visible {
  outline: 2px solid #f79520;
  outline-offset: 4px;
  border-radius: 2px;
}
.clem-page-header__cta {
  display: none;
  background: #ffffff;
  color: #002a3c;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.clem-page-header__cta:hover {
  background: #f79520;
  color: #ffffff;
  transform: translateY(-1px);
}
@media (min-width: 768px) {
  .clem-page-header { padding: 18px 32px; min-height: 80px; }
  .clem-page-header__logo { height: 40px; }
  .clem-page-header__nav { display: flex; }
  .clem-page-header__cta { display: inline-flex; align-items: center; }
}

/* Hide the Onepage embedded header section when our unified header is active */
body.has-page-header .con-kit-section--type-header,
body.has-page-header section.con-kit-section.header,
body.has-page-header header.site-header {
  display: none !important;
}

/* Transparent Header ueber Hero (Index/Kundenergebnisse/Erstgespraech).
   Header schwebt UEBER dem Hero (position:fixed), zeigt also den Hero-Bg.
   Beim Scrollen wird der Header solid (sonst weiss-auf-weiss). */
body.clem-header-over-hero .clem-page-header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
body.clem-header-over-hero .clem-page-header__cta {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  padding: 8px 20px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
body.clem-header-over-hero .clem-page-header__cta:hover {
  background: #f79520;
  color: #ffffff;
  border-color: #f79520;
}
/* Solid State sobald gescrollt wurde */
body.clem-header-over-hero.is-scrolled .clem-page-header {
  background: #002a3c;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
body.clem-header-over-hero.is-scrolled .clem-page-header__cta {
  background: #ffffff;
  color: #002a3c;
  border-color: #ffffff;
}
body.clem-header-over-hero.is-scrolled .clem-page-header__cta:hover {
  background: #f79520;
  color: #ffffff;
  border-color: #f79520;
}
