/* HR factory – Kontakt (page.css)
   WP: Systemschriften + Marble self-hosted (keine Google Fonts) */
:root {
  --hrf-page-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body .hrf-kontakt-root,
.hrf-kontakt-root {
  font-family: var(--hrf-page-sans) !important;
  color: #111;
  background: #fff;
  overflow-x: clip;
  max-width: 100%;
  line-height: 1.6;
}
.hrf-kontakt-root h1,
.hrf-kontakt-root h2,
.hrf-kontakt-root h3 {
  font-family: "Marble", var(--hrf-page-sans) !important;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;font-weight:800!important;}
.hrf-kontakt-root p { margin: 0; }
.hrf-kontakt-root ul { margin: 0; padding: 0; list-style: none; }
.hrf-kontakt-root a { text-decoration: none; }
.hrf-kontakt-root a:not([class]) { color: #01408D; }
.hrf-kontakt-root img,
.hrf-kontakt-root svg { max-width: 100%; }
.hrf-kontakt-root iframe { max-width: 100%; }

@font-face{font-family:'Marble';src:url("./fonts/marble-800.otf") format("truetype");font-weight:800;font-style:normal;font-display:swap}
@keyframes hrfPulse {
  0% { transform: scale(1); opacity: .55 }
  70% { transform: scale(1.9); opacity: 0 }
  100% { transform: scale(1.9); opacity: 0 }
}
@keyframes hrfRise {
  from { opacity: 0; transform: translateY(14px) }
  to { opacity: 1; transform: none }
}

.hrf-kontakt-root .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.hrf-kontakt-root .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hrf-k-hero {
  background: #0A1B33;
  padding: clamp(56px, 6vw, 92px) 0;
}
.hrf-k-hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hrf-k-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ECFFA6;
}
.hrf-k-hero h1 {
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 16px;
  text-wrap: balance;
}
.hrf-k-hero h1 span { color: #ECFFA6; }
.hrf-kontakt-root p.hrf-k-hero-lead {
  margin-top: 48px;
  margin-bottom: 0;
  max-width: 28em;
  font-size: 18px;
  line-height: 1.55;
  color: #C3D0E4;
}
.hrf-k-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hrf-kontakt-root a.hrf-k-btn-lime,
.hrf-k-btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ECFFA6;
  color: #1E2A00;
  font-weight: 800;
  font-size: 17px;
  padding: 17px 30px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.hrf-kontakt-root a.hrf-k-btn-lime:hover,
.hrf-k-btn-lime:hover { background: #fff; color: #1E2A00; }
.hrf-kontakt-root a.hrf-k-btn-ghost,
.hrf-k-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 26px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  transition: border-color .2s ease, color .2s ease;
}
.hrf-kontakt-root a.hrf-k-btn-ghost:hover,
.hrf-k-btn-ghost:hover { border-color: #fff; color: #fff; }

.hrf-k-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  padding: 30px;
  animation: hrfRise .6s cubic-bezier(.16,1,.3,1) both;
}
.hrf-k-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 85% 0%, rgba(236,255,166,0.14), transparent 60%);
}
.hrf-k-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hrf-k-faces {
  display: flex;
  align-items: center;
}
.hrf-k-faces img {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center center;
  display: block;
  border: 2px solid rgba(255,255,255,0.34);
}
.hrf-k-faces img + img { margin-left: -20px; }
.hrf-k-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(236,255,166,0.12);
  border: 1px solid rgba(236,255,166,0.3);
  border-radius: 999px;
  padding: 8px 15px 8px 12px;
}
.hrf-k-live-dot {
  position: relative;
  display: inline-flex;
  width: 9px;
  height: 9px;
}
.hrf-k-live-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #ECFFA6;
  animation: hrfPulse 2.4s cubic-bezier(.4,0,.2,1) infinite;
}
.hrf-k-live-dot::after {
  content: "";
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ECFFA6;
}
.hrf-k-live[data-offline="1"] {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}
.hrf-k-live[data-offline="1"] .hrf-k-live-dot::before { animation: none; opacity: 0; }
.hrf-k-live[data-offline="1"] .hrf-k-live-dot::after { background: #8FA3C2; }
.hrf-k-live-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ECFFA6;
}
.hrf-k-live[data-offline="1"] .hrf-k-live-label { color: #C3D0E4; }
.hrf-k-quote {
  position: relative;
  font-family: "Marble", var(--hrf-page-sans);
  font-weight:800;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
  margin-top: 22px;
  letter-spacing: -0.01em;
}
.hrf-k-card-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 14px;
  color: #8FA3C2;
}
.hrf-k-card-meta strong { font-weight: 700; color: #C3D0E4; }
.hrf-kontakt-root a.hrf-k-tel,
.hrf-k-tel {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-weight: 700;
  font-size: 16.5px;
  padding: 14px 24px;
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease;
}
.hrf-kontakt-root a.hrf-k-tel:hover,
.hrf-k-tel:hover { background: rgba(255,255,255,0.18); border-color: #fff; color: #fff; }
.hrf-k-tel svg { flex: 0 0 auto; }

.hrf-k-form {
  background: #fff;
  padding: clamp(56px, 6vw, 88px) 0;
}
.hrf-k-form-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.hrf-k-form h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  color: #0A1B33;
  letter-spacing: -0.03em;
  text-align: center;
}
.hrf-k-form-lead {
  margin-top: 12px;
  font-size: 16.5px;
  color: #5A6B85;
  text-align: center;
}
.hrf-k-form-box {
  margin-top: 32px;
  background: #fff;
  border: 1px solid #E7E9EE;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(10,27,51,0.09);
  padding: clamp(24px, 2.6vw, 36px);
}
.hrf-hs-form { min-height: 200px; }
.hrf-kontakt-root .hs-button,
.hrf-kontakt-root .hs-button.primary,
.hrf-kontakt-root input[type="submit"],
.hrf-kontakt-root button[type="submit"] {
  color: #fff !important;
}
.hrf-k-dsgvo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  color: #8FA3C2;
}
.hrf-k-dsgvo svg { flex: 0 0 auto; }
.hrf-k-trust {
  margin-top: clamp(40px, 4vw, 60px);
  padding-top: 28px;
  border-top: 1px solid #E7E9EE;
}
.hrf-k-trust-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FA3C2;
  text-align: center;
}
.hrf-k-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}
.hrf-k-logos img {
  width: 100%;
  max-height: 36px;
  object-fit: contain;
  display: block;
  opacity: 0.72;
  filter: grayscale(1);
}

.hrf-k-termin {
  background: #F7F9FC;
  border-top: 1px solid #E7E9EE;
  border-bottom: 1px solid #E7E9EE;
  padding: clamp(52px, 5.5vw, 80px) 0;
  overflow: visible;
}
.hrf-k-termin-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.hrf-k-termin-copy { position: sticky; top: 110px; }
.hrf-k-termin-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hrf-k-icon-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #E9F4F5;
  color: #1A7A8A;
  flex: 0 0 auto;
}
.hrf-k-termin h2 {
  font-weight: 800;
  font-size: clamp(21px, 2vw, 27px);
  color: #0A1B33;
  letter-spacing: -0.02em;
}
.hrf-kontakt-root p.hrf-k-termin-lead {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: #2A2A2A;
  max-width: 24em;
}
.hrf-kontakt-root ul.hrf-k-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 16px;
  color: #2A2A2A;
}
.hrf-k-checks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.hrf-k-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #F2F6FC;
  color: #01408D;
  flex: 0 0 auto;
  margin-top: 3px;
}
.hrf-k-cal {
  overflow: visible;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
  max-width: 520px;
  width: 100%;
  line-height: 0;
}
.hrf-k-cal iframe {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 580px;
  border: none;
  display: block;
  background: transparent;
}

@media (max-width: 900px) {
  .hrf-k-hero-inner,
  .hrf-k-termin-inner { grid-template-columns: 1fr; }
  .hrf-k-termin-copy { position: static; top: auto; }
  .hrf-k-logos { grid-template-columns: repeat(3, 1fr); gap: 18px 16px; }
  .hrf-k-hero { padding: 42px 0 36px; }
  .hrf-k-hero-inner,
  .hrf-k-form-inner,
  .hrf-k-termin-inner { padding: 0 22px; }
  .hrf-k-actions .hrf-k-btn-lime,
  .hrf-k-actions .hrf-k-btn-ghost { width: 100%; justify-content: center; }
  .hrf-k-cal { max-width: 100%; }
  .hrf-k-cal iframe { height: 620px; }
  .hrf-k-form,
  .hrf-k-termin { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 520px) {
  .hrf-k-logos { grid-template-columns: repeat(2, 1fr); }
  .hrf-k-faces img { width: 62px; height: 62px; }
  .hrf-k-quote { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hrf-kontakt-root .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hrf-k-card { animation: none; }
  .hrf-k-live-dot::before { animation: none; }
}
