/* Subpage closing "Kontakt" callout (#kontakt) — full-width split, native Elementor elements.
   Class hooks in Advanced > CSS Classes; colours also stored in widget Style settings. */
.ko-section {
  --ko-bg: #093653; --ko-on-dark: #f4f0e7; --ko-on-dark-muted: rgba(244, 240, 231, 0.86); --ko-gold: #0eaef2; --ko-badge: #f7f5f0;
  --ko-ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Nunito Sans", "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif; color: var(--ko-on-dark);
}
.ko-section *, .ko-section *::before, .ko-section *::after { box-sizing: border-box; }
.e-con.ko-section { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); min-height: clamp(34rem, 26rem + 18vw, 50rem); padding: 0 !important; overflow: hidden; background: var(--ko-bg); text-align: left; }
.ko-section .elementor-heading-title { margin: 0 !important; padding: 0 !important; font-family: inherit; text-transform: none; }
.ko-section p { margin: 0 !important; }
.ko-section svg { display: block; }
.ko-section .elementor-button-icon svg, .ko-section .elementor-button-icon svg * { fill: none !important; }
.ko-section a:focus-visible { outline: 2px solid var(--ko-gold) !important; outline-offset: 4px; }

/* Decorative gold arc, top-left */
.e-con.ko-section::before { content: ""; position: absolute; z-index: 0; top: calc(-1 * clamp(11rem, 8rem + 8vw, 17rem)); left: calc(-1 * clamp(7rem, 5rem + 5vw, 11rem)); width: clamp(17rem, 12rem + 13vw, 27rem); height: clamp(17rem, 12rem + 13vw, 27rem); align-self: start; justify-self: start; border: 2.5px solid var(--ko-gold); border-radius: 50%; pointer-events: none; }

/* ---------- Copy panel ---------- */
.ko-section .e-con.ko-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(4.5rem, 3rem + 5vw, 7rem) clamp(2.5rem, 0.5rem + 4vw, 6rem) clamp(4.5rem, 3rem + 5vw, 7rem) clamp(1.5rem, 5.5vw, 7rem) !important; }
.ko-section .ko-eyebrow .elementor-heading-title { display: inline-flex; align-items: center; gap: 1rem; margin: 0 0 clamp(1.25rem, 1rem + 0.8vw, 1.9rem) !important; font-size: clamp(13px, 12px + 0.2vw, 16px); font-weight: 600; line-height: 1.4; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ko-on-dark); }
.ko-section .ko-eyebrow .elementor-heading-title::before { content: ""; width: 0.95em; height: 0.95em; border: 2.5px solid var(--ko-gold); border-radius: 50%; }
.ko-section .ko-title .elementor-heading-title { margin: 0 0 clamp(1.5rem, 1.1rem + 1.2vw, 2.4rem) !important; font-size: clamp(2.5rem, 1rem + 3.4vw, 5.25rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: #fff; }
.ko-section .ko-title .elementor-heading-title span:not(.split-word) { color: var(--ko-gold); }
.ko-section .ko-lead p { max-width: 54rem; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.5rem); line-height: 1.55; color: var(--ko-on-dark-muted); }
.ko-section .ko-lead a { color: var(--ko-on-dark); text-decoration: none !important; border-bottom: 1.5px solid var(--ko-gold); transition: color 0.2s var(--ko-ease); }
.ko-section .ko-lead a:hover { color: var(--ko-gold); }

.ko-section .ko-cta { width: auto; align-self: flex-start; margin-top: clamp(2rem, 1.5rem + 1.6vw, 3.25rem); }
.ko-section .ko-cta .elementor-button { display: inline-flex; align-items: center; min-height: clamp(3.75rem, 3.2rem + 1.4vw, 5.5rem); padding: 0.9rem clamp(2rem, 1.5rem + 1.5vw, 3.5rem); border: 0; border-radius: 999px; background: linear-gradient(180deg, #0eaef2, #0eaef2); box-shadow: 0 16px 34px -20px rgba(14, 174, 242, 0.9); font-family: inherit; font-size: clamp(1.125rem, 1rem + 0.55vw, 1.625rem); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--ko-bg); transition: transform 0.25s var(--ko-ease), filter 0.25s var(--ko-ease); }
.ko-section .ko-cta .elementor-button-content-wrapper { gap: clamp(1rem, 0.8rem + 0.6vw, 1.75rem); align-items: center; }
.ko-section .ko-cta .elementor-button-icon { margin: 0 !important; }
.ko-section .ko-cta .elementor-button-icon svg { width: 1.4em; height: 1.4em; transition: transform 0.3s var(--ko-ease); }
.ko-section .ko-cta .elementor-button-icon svg * { stroke: var(--ko-bg); stroke-width: 2; }

/* ---------- Photo panel ---------- */
.ko-section .e-con.ko-media { position: relative; display: block; min-height: 100%; background: #093653; }
.ko-section .ko-photo { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; overflow: hidden; }
.ko-section .ko-photo img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: 58% 32%; transition: transform 1.2s var(--ko-ease); }

/* Chat badge sitting on the seam */
.ko-section .ko-badge { position: absolute; z-index: 3; left: 0; top: 70%; width: auto; margin: 0; transform: translate(-50%, -50%); line-height: 0; }
.ko-section .ko-badge .elementor-icon-wrapper { line-height: 0; }
.ko-section .ko-badge .elementor-icon { display: grid; place-items: center; width: clamp(5rem, 4rem + 2.6vw, 8.5rem); height: clamp(5rem, 4rem + 2.6vw, 8.5rem); border-radius: 50%; background: var(--ko-badge); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); color: var(--ko-bg); font-size: inherit; }
.ko-section .ko-badge .elementor-icon svg { width: 48%; height: 48%; }
.ko-section .ko-badge .elementor-icon svg path { fill: none !important; stroke: var(--ko-bg) !important; }
.ko-section .ko-badge .elementor-icon svg circle { fill: var(--ko-gold) !important; stroke: none !important; }

/* ---------- Hover (fine pointers) ---------- */
@media (hover: hover) and (pointer: fine) {
  .ko-section .ko-cta .elementor-button:hover { transform: translateY(-2px); filter: brightness(1.05); color: var(--ko-bg); }
  .ko-section .ko-cta .elementor-button:hover svg { transform: translateX(4px); }
  .e-con.ko-section:hover .ko-photo img { transform: scale(1.03); }
}
.ko-section .ko-cta .elementor-button:active { transform: scale(0.985); }

/* ---------- Entrance (opt-in by us.js) ---------- */
.ko-section.us-motion .us-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ko-ease), transform 0.7s var(--ko-ease); }
.ko-section.us-motion .us-reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 1024px) and (max-width: 1279px) {
  .e-con.ko-section { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
}
/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .e-con.ko-section { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ko-section .e-con.ko-copy { padding: clamp(4rem, 3rem + 4vw, 5.5rem) var(--og-gutter, 24px) clamp(3.5rem, 2.5rem + 4vw, 5rem) !important; }
  .ko-section .e-con.ko-media { min-height: 0; aspect-ratio: 16 / 11; }
  .ko-section .ko-photo img { object-position: 60% 30%; }
  .ko-section .ko-badge { left: auto; right: var(--og-gutter, 24px); top: 0; transform: translateY(-50%); }
}
/* ---------- Mobile ---------- */
@media (max-width: 599px) {
  .ko-section .ko-title .elementor-heading-title br { display: none; }
  .e-con.ko-section::before { top: -8.5rem; left: -6rem; width: 12rem; height: 12rem; }
  .ko-section .ko-cta, .ko-section .ko-cta .elementor-button { width: 100%; }
  .ko-section .ko-cta .elementor-button { justify-content: center; min-height: 3.5rem; padding: 0.9rem 1.5rem; }
  .ko-section .e-con.ko-media { aspect-ratio: 1 / 1; }
  .ko-section .ko-badge .elementor-icon { width: 4.5rem; height: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ko-section *, .ko-section *::before, .ko-section *::after { transition: none !important; animation: none !important; }
  .ko-section.us-motion .us-reveal { opacity: 1 !important; transform: none !important; }
}

/* Longer headline variant: keeps each line of the title on one row. */
.ko-section--long .ko-title .elementor-heading-title { font-size: clamp(2.25rem, 1rem + 3.2vw, 4.75rem); }

/* ko-motion-parity ------------------------------------------------------------
   Same choreography as the .og-split sections. og-site.js reveals the eyebrow,
   title (word by word), lead, button and photo in sequence, so the copy panel no
   longer fades in as one block. The photo sits on the right, so it wipes in from
   the right edge and slides left (mirror of the split's wipe-x).
   ---------------------------------------------------------------------------- */
.ko-section.us-motion .e-con.ko-copy.us-reveal { opacity: 1; transform: none; transition: none; }

.og-reveal-ready [data-reveal="wipe-x-r"] {
  opacity: 1 !important; translate: none !important;
  clip-path: inset(0 0 0 100%) !important;
  transition: clip-path var(--t-scene, 0.9s) var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) !important;
  transition-delay: var(--d, 0s) !important;
}
.og-reveal-ready [data-reveal="wipe-x-r"].is-in { clip-path: inset(0 0 0 0) !important; }
.og-reveal-ready [data-reveal="wipe-x-r"] img { transform: translateX(4%); transition: transform 1.1s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)); }
.og-reveal-ready [data-reveal="wipe-x-r"].is-in img { transform: none; }

/* Photo drifts inside its frame while scrolling (same 1.12 overscan as the split) */
.has-parallax .ko-photo img { scale: 1.12; }

/* Button: fill grows from where the pointer enters, magnetic pull, icon tilt.
   Same mechanics as .og-btn; the gold pill fills with ivory, like .og-btn--brass. */
.ko-section .ko-cta .elementor-button {
  --btn-fill: var(--og-ivory, #f7f5f0); --btn-fg-hover: var(--ko-bg);
  position: relative; isolation: isolate; overflow: hidden;
  transition: color 0.45s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)), translate 0.7s var(--spring, cubic-bezier(0.34, 1.35, 0.64, 1)) !important;
}
.ko-section .ko-cta .elementor-button.is-magnet {
  transition: color 0.45s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)), translate 0.18s ease-out !important;
}
.ko-section .ko-cta .elementor-button::before {
  content: ""; position: absolute; top: var(--y, 50%); left: var(--x, 50%); z-index: -1;
  width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--btn-fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)); pointer-events: none;
}
.ko-section .ko-cta .elementor-button-icon svg { transition: transform 0.5s var(--spring, cubic-bezier(0.34, 1.35, 0.64, 1)); }
.ko-section .ko-cta .elementor-button:focus-visible { color: var(--btn-fg-hover) !important; }
.ko-section .ko-cta .elementor-button:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) {
  .ko-section .ko-cta .elementor-button:hover { transform: none; filter: none; color: var(--btn-fg-hover) !important; }
  .ko-section .ko-cta .elementor-button:hover::before { transform: translate(-50%, -50%) scale(1); }
  .ko-section .ko-cta .elementor-button:hover svg { transform: rotate(-10deg) scale(1.1); }
}