@import url('shared/mobile-header.css');
@import url('shared/mobile-sidemenu.css');
@import url('shared/mobile-footer.css');

* {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: var(--font-family-primary);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3,
        h4 {
            font-family: var(--font-family-primary);
            margin: 0;
            font-weight: 700;
        }

        p {
            margin: 0;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        :root {
            --pad: 22px;
        }

        /* ---------- Hero (auto-marquee team rows) ---------- */
        .k-hero {
            position: relative;
            /* career-circle teal — same bg the desktop hero rows sit on */
            background: var(--color-brand-dark-teal);
            padding: 90px 0 24px;
            overflow: hidden;
        }

        .k-marquee {
            display: flex;
            flex-direction: column;
            gap: 10px;
            height: 50svh;
        }

        .k-marquee-row {
            flex: 1;
            min-height: 0;
            overflow: hidden;
        }

        .k-marquee-track {
            display: flex;
            align-items: stretch;
            width: max-content;
            height: 100%;
            /* company-inline.js scales the duration per row (same px/s for
               all rows) and sets --k-shift so the text slot starts centered */
            animation: k-marquee-scroll 32s linear infinite;
        }

        .k-marquee-row--2 .k-marquee-track {
            animation-direction: reverse;
        }

        /* Duplicate half participates in the same flex track */
        .k-marquee-dup {
            display: contents;
        }

        .k-m-card {
            flex: 0 0 auto;
            height: 100%;
            margin-right: 10px;
            border-radius: 12px;
            overflow: hidden;
        }

        .k-m-card img {
            display: block;
            height: 100%;
            width: auto;
            object-fit: cover;
        }

        .k-m-text {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            margin-right: 10px;
            padding: 0 14px;
            font-weight: 700;
            font-size: 28px;
            color: var(--color-brand-white);
            white-space: nowrap;
        }

        .k-m-logo img {
            display: block;
            height: 24px;
            width: auto;
        }

        @keyframes k-marquee-scroll {
            from { transform: translateX(var(--k-shift, 0px)); }
            to   { transform: translateX(calc(var(--k-shift, 0px) - 50%)); }
        }

        .k-hero-cta {
            display: block;
            width: fit-content;
            margin: 24px auto 0;
            /* dark teal vanishes on the teal hero bg — use the brand CTA red */
            background: var(--color-brand-red);
            color: var(--color-brand-white);
            padding: 14px 28px;
            border-radius: var(--btn-glass-radius);
            font-weight: 700;
            font-size: 15px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
        }

        /* ---------- Generic section ---------- */
        .k-section {
            padding: 60px var(--pad);
        }

        .k-section--alt {
            background: #f3f5f7;
        }

        .k-section-title {
            font-size: 28px;
            color: var(--color-brand-navy);
            text-align: center;
            margin-bottom: 36px;
            font-weight: 700;
        }

        /* ---------- Card grid (single column on mobile) ---------- */
        .k-cards {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .k-card {
            background: #ffffff;
            border-radius: 16px;
            padding: 28px 26px 30px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        }

        .k-card-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(34, 103, 107, 0.10);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 22px;
            color: var(--color-brand-dark-teal);
        }

        .k-card-icon svg {
            width: 28px;
            height: 28px;
        }

        /* Centered card variant (Was uns ausmacht) */
        .k-section--centered {
            background: #ffffff;
        }

        .k-section--centered .k-card {
            text-align: center;
        }

        .k-section--centered .k-card .k-card-icon {
            margin-left: auto;
            margin-right: auto;
        }

        .k-card h3 {
            font-size: 22px;
            color: var(--color-brand-navy);
            margin-bottom: 18px;
            line-height: 1.2;
        }

        .k-card p {
            font-size: 15px;
            line-height: 1.55;
            color: #6b6f75;
        }

        /* ---------- Testimonials ---------- */
        .k-testi {
            /* career-circle teal — same bg as the desktop testimonials carousel */
            background: var(--color-brand-dark-teal);
            text-align: center;
            padding: 60px var(--pad) 70px;
            overflow: hidden;
        }

        .k-testi .k-section-title {
            color: var(--color-brand-white);
        }

        .k-testi-viewport {
            overflow: hidden;
            margin-bottom: 28px;
        }

        .k-testi-track {
            display: flex;
            transition: transform 0.5s ease;
            will-change: transform;
        }

        .k-testi-slide {
            flex: 0 0 100%;
            padding: 0 4px;
            box-sizing: border-box;
        }

        /* .k-testi prefix beats Elementor's `.elementor img { border-radius: 0;
           height: auto; }` reset, which otherwise un-circles the photos */
        .k-testi .k-testi-photo {
            display: block;
            width: 72px;
            height: 72px;
            border-radius: 50%;
            object-fit: cover;
            /* team photos are 2:3 portraits with the face in the top third —
               the default 50% 50% crop decapitates them */
            object-position: 50% 12%;
            margin: 0 auto 18px;
        }

        .k-testi-quote {
            font-size: 22px;
            line-height: 1.4;
            color: var(--color-brand-white);
            font-weight: 700;
            margin: 0 auto 26px;
            max-width: 520px;
        }

        .k-testi-name {
            font-size: 15px;
            color: var(--color-brand-white);
            font-weight: 700;
        }

        .k-testi-role {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.65);
            margin-top: 2px;
        }

        /* Demo badge above the heading (client review only) */
        .k-testi-demo-label {
            display: inline-block;
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: 50px;
            padding: 4px 14px;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 24px;
        }

        /* V2 — small circle next to name (like dark-quote variant 1) */
        .k-testi-author {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
        }

        .k-testi .k-testi-author .k-testi-photo {
            width: 56px;
            height: 56px;
            margin: 0;
        }

        .k-testi-author-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        .k-testi-dots {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .k-testi-dots button {
            width: 36px;
            height: 3px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            border: none;
            padding: 0;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .k-testi-dots button.is-active {
            background: var(--color-brand-white);
        }

        /* V1 (photo above quote) — white background, dark text;
           V2 (author row) keeps the teal scheme above */
        .k-testi--above {
            background: #ffffff;
        }

        .k-testi--above .k-section-title,
        .k-testi--above .k-testi-quote,
        .k-testi--above .k-testi-name {
            color: var(--color-brand-navy);
        }

        .k-testi--above .k-testi-role {
            color: #8a8e94;
        }

        .k-testi--above .k-testi-demo-label {
            border-color: rgba(40, 53, 88, 0.25);
            color: #8a8e94;
        }

        .k-testi--above .k-testi-dots button {
            background: #d4d7da;
        }

        .k-testi--above .k-testi-dots button.is-active {
            background: var(--color-brand-dark-teal);
        }

        /* ---------- Stellen ---------- */
        .k-stellen-intro {
            font-size: 15px;
            line-height: 1.55;
            text-align: center;
            color: #5a5d63;
            margin: -16px auto 32px;
            max-width: 520px;
        }

        .k-stelle {
            background: #ffffff;
            border-radius: 8px;
            padding: 26px 24px 28px;
            text-align: center;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        }

        .k-stelle h3 {
            font-size: 18px;
            color: var(--color-brand-navy);
            margin-bottom: 14px;
        }

        .k-stelle p {
            font-size: 14px;
            line-height: 1.55;
            color: #6b6f75;
            margin-bottom: 22px;
        }

        .k-stelle-btn {
            display: inline-block;
            background: var(--color-brand-dark-teal);
            color: var(--color-brand-white);
            padding: 12px 26px;
            border-radius: var(--btn-glass-radius);
            font-weight: 700;
            font-size: 13px;
        }

        /* ---------- Dark quote ---------- */
        .k-dark-quote {
            background: var(--color-brand-dark-teal);
            color: var(--color-brand-white);
            padding: 60px var(--pad);
            text-align: center;
        }

        .k-dark-quote blockquote {
            font-size: 22px;
            line-height: 1.5;
            font-weight: 700;
            color: var(--color-brand-white);
            margin: 0 auto 28px;
            max-width: 520px;
            font-style: normal;
        }

        .k-dark-quote-author {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 14px;
        }

        .k-dark-quote-author img {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
        }

        .k-dark-quote-author-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        .k-dark-quote-author strong {
            font-size: 15px;
        }

        .k-dark-quote-author span {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
        }

        /* ---------- Dark quote — layout variants ---------- */
        /* The Alex portrait is a transparent cut-out, so the small avatar
           needs a light backing for the circle to be visible at all. */
        .k-dark-quote--circle .k-dark-quote-author img {
            background: rgba(255, 255, 255, 0.16);
        }

        .k-dark-quote-demo-label {
            display: inline-block;
            border: 1px solid rgba(255, 255, 255, 0.35);
            border-radius: 50px;
            padding: 4px 14px;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 24px;
        }

        .k-dark-quote-portrait {
            border-radius: 50%;
            overflow: hidden;
        }

        .k-dark-quote-portrait img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* V2 — large web-style portrait below the quote */
        .k-dark-quote--below .k-dark-quote-portrait {
            width: 180px;
            height: 180px;
            margin: 0 auto 18px;
        }

        .k-dark-quote--below .k-dark-quote-author-meta {
            align-items: center;
            text-align: center;
        }

        /* V3 — portrait beside the text, like the desktop page */
        .k-dark-quote--side {
            display: grid;
            grid-template-columns: auto 1fr;
            align-items: center;
            gap: 22px;
            text-align: left;
        }

        .k-dark-quote--side .k-dark-quote-demo-label {
            grid-column: 1 / -1;
            justify-self: start;
            margin-bottom: 0;
        }

        .k-dark-quote--side .k-dark-quote-portrait {
            width: 120px;
            height: 120px;
        }

        .k-dark-quote--side .k-dark-quote-content {
            min-width: 0;
        }

        .k-dark-quote--side blockquote {
            font-size: 16px;
            line-height: 1.55;
            margin: 0 0 16px;
        }

        .k-dark-quote--side .k-dark-quote-author {
            justify-content: flex-start;
        }

        /* ---------- kununu ---------- */
        .k-kununu {
            background: #ffffff;
            text-align: center;
            padding: 60px var(--pad);
        }

        .k-kununu h2 {
            font-size: 26px;
            color: var(--color-brand-navy);
            margin-bottom: 28px;
        }

        .k-kununu-badges {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
        }

        .k-kununu-badge {
            display: inline-flex;
            align-items: center;
            background: #ffd400;
            border-radius: 8px;
            padding: 16px 22px;
            gap: 14px;
            color: var(--color-brand-navy);
        }

        .k-kununu-k {
            background: var(--color-brand-navy);
            color: var(--color-brand-white);
            width: 44px;
            height: 44px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 26px;
        }

        .k-kununu-text {
            text-align: left;
            font-size: 14px;
            line-height: 1.2;
        }

        .k-kununu-text strong {
            display: block;
            font-size: 22px;
            font-weight: 700;
        }

        /* double-class selectors so these beat Elementor's `.elementor img` reset */
        .k-kununu-badges .k-kununu-badge img {
            display: block;
            max-height: 56px;
            width: auto;
        }

        .k-kununu-badges .k-kununu-siegel {
            display: block;
            height: 76px;
            width: auto;
        }

        /* ---------- Zeit, zu handeln ---------- */
        .k-handeln {
            background: var(--color-brand-dark-teal);
            color: var(--color-brand-white);
            text-align: center;
            padding: 60px var(--pad) 70px;
        }

        .k-handeln h2 {
            font-size: 30px;
            margin-bottom: 20px;
        }

        .k-handeln p {
            font-size: 15px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.9);
            max-width: 520px;
            margin: 0 auto 30px;
        }

        .k-handeln-cta {
            display: inline-block;
            background: var(--color-brand-red);
            color: var(--color-brand-white);
            padding: 14px 30px;
            border-radius: var(--btn-glass-radius);
            font-weight: 700;
            font-size: 15px;
        }

        header {
            padding: 2em 4.5em !important;
        }

        .header-actions {
            gap: 8em;
        }

        .header-contact {
            gap: 0.2em;
        }

        .header-contact-item {
            font-size: 3em !important;
            gap: 0.5em;
        }

        .header-contact-icon {
            width: 1.1em;
            height: 1.1em;
        }

        .hamburger {
            width: 33px !important;
            height: 33px !important;
            min-width: 33px !important;
            flex: 0 0 33px !important;
            gap: 8px !important;
            flex-direction: column !important;
            justify-content: center !important;
            align-items: center !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }
        .hamburger .hamburger-line {
            width: 100% !important;
            height: 2px !important;
            background: #ffffff !important;
            border-radius: 2px !important;
            display: block !important;
            margin: 0 !important;
        }