/* =============================================================
   Kontakt Page v2 — seotrust.de
   Scoped under .stk-kontakt to avoid conflicts with site CSS
   ============================================================= */

/* --- Hide breadcrumb when this module is on page --- */
body:has(.stk-kontakt) .breadcrumbs-custom { display: none; }

/* --- Variables (inherit from site, extend) --- */
.stk-kontakt {
  --stk-anthracite: #151515;
  --stk-anthracite-2: #494948;
  --stk-body: #555555;
  --stk-cyan: #009fe3;
  --stk-cyan-dark: #0087c1;
  --stk-lilac: #524179;
  --stk-mint: #2ed3ae;
  --stk-bg: #ffffff;
  --stk-bg-soft: #f8f8f8;
  --stk-bg-warm: #f2eff3;
  --stk-line: #ececee;
  --stk-radius: 3px;
  --stk-maxw: 1280px;

  font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--stk-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.stk-kontakt img { max-width: 100%; display: block; }
.stk-kontakt a { color: inherit; text-decoration: none; transition: 0.3s; }

/* Display typography */
.stk-kontakt .stk-display {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 200;
  color: var(--stk-anthracite);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.stk-kontakt .stk-display .stk-accent {
  color: var(--stk-cyan);
  font-weight: 300;
  position: relative;
}
.stk-kontakt .stk-display .stk-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 1px; background: var(--stk-cyan);
  opacity: 0.35;
}

.stk-kontakt .stk-wrap {
  max-width: var(--stk-maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Eyebrow --- */
.stk-kontakt .stk-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stk-cyan);
  font-weight: 500;
  margin-bottom: 32px;
}
.stk-kontakt .stk-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--stk-cyan);
}

/* ============== HERO ============== */
.stk-kontakt .stk-hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--stk-line);
  position: relative;
  overflow: hidden;
  background: var(--stk-bg);
}
.stk-kontakt .stk-hero .stk-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}
.stk-kontakt .stk-hero h1 {
  font-size: clamp(44px, 5.8vw, 80px);
  margin: 0 0 32px;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 200;
  color: var(--stk-anthracite);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.stk-kontakt .stk-hero .stk-lead {
  font-size: 19px;
  color: var(--stk-body);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.65;
  font-weight: 300;
}
.stk-kontakt .stk-live-status {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--stk-anthracite);
  padding: 10px 18px;
  background: var(--stk-bg-soft);
  border-radius: 3px;
  font-weight: 400;
}
.stk-kontakt .stk-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--stk-mint);
  box-shadow: 0 0 0 0 rgba(46, 211, 174, 0.6);
  animation: stkPulse 2.4s infinite;
}
@keyframes stkPulse {
  0% { box-shadow: 0 0 0 0 rgba(46,211,174,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(46,211,174,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,211,174,0); }
}

.stk-kontakt .stk-hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--stk-bg-warm);
  overflow: hidden;
  border-radius: 3px;
}
.stk-kontakt .stk-hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.stk-kontakt .stk-badge-award {
  position: absolute;
  right: -18px; bottom: 44px;
  background: #fff;
  padding: 16px 22px;
  border: 1px solid var(--stk-line);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 14px;
  max-width: 290px;
  border-radius: 3px;
}
.stk-kontakt .stk-badge-award .stk-mark {
  width: 44px; height: 44px;
  background: var(--stk-cyan);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600; font-size: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stk-kontakt .stk-badge-award .stk-txt {
  font-size: 12px;
  line-height: 1.35;
  color: var(--stk-body);
}
.stk-kontakt .stk-badge-award .stk-txt strong {
  display: block; font-weight: 600;
  color: var(--stk-anthracite);
  margin-bottom: 2px;
  font-size: 13px;
}

/* ============== TRUST BAR ============== */
.stk-kontakt .stk-trust {
  padding: 48px 0;
  border-bottom: 1px solid var(--stk-line);
  background: var(--stk-bg);
}
.stk-kontakt .stk-trust .stk-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stk-body);
  margin-bottom: 32px;
  text-align: center;
  font-weight: 500;
}
.stk-kontakt .stk-trust .stk-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 48px;
  align-items: center;
}
.stk-kontakt .stk-trust .stk-logo-placeholder {
  max-height: 40px;
  width: auto; margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.5;
  transition: all .3s ease;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.stk-kontakt .stk-trust .stk-logo-placeholder:hover {
  filter: grayscale(0); opacity: 1;
}

/* ============== CHANNELS ============== */
.stk-kontakt .stk-channels {
  padding: 110px 0;
  background: var(--stk-bg-soft);
}
.stk-kontakt .stk-channels .stk-title-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-bottom: 64px; align-items: end;
}
.stk-kontakt .stk-channels h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  margin: 0;
}
.stk-kontakt .stk-channels .stk-sub {
  font-size: 17px;
  color: var(--stk-body); max-width: 440px;
  line-height: 1.65;
}
.stk-kontakt .stk-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.stk-kontakt .stk-channel {
  background: #fff;
  padding: 48px 42px;
  border: 1px solid var(--stk-line);
  transition: all .25s ease;
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
  min-height: 300px;
  border-radius: 3px;
}
.stk-kontakt .stk-channel:hover {
  border-color: var(--stk-cyan);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,159,227,0.08);
}
.stk-kontakt .stk-channel .stk-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(0,159,227,0.08);
  color: var(--stk-cyan);
  border-radius: 50%;
}
.stk-kontakt .stk-channel .stk-icon svg { width: 22px; height: 22px; }
.stk-kontakt .stk-channel h3 {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 300;
  font-size: 30px; margin: 0;
  letter-spacing: -0.02em;
  color: var(--stk-anthracite);
  line-height: 1.15;
}
.stk-kontakt .stk-channel p {
  color: var(--stk-body); font-size: 15px;
  margin: 0; flex: 1; line-height: 1.6;
}
.stk-kontakt .stk-channel .stk-go {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  color: var(--stk-cyan);
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: gap .2s ease;
}
.stk-kontakt .stk-channel:hover .stk-go { gap: 16px; }

.stk-kontakt .stk-channel.stk-featured {
  background: var(--stk-anthracite);
  color: #fff;
  border-color: var(--stk-anthracite);
}
.stk-kontakt .stk-channel.stk-featured h3 { color: #fff; }
.stk-kontakt .stk-channel.stk-featured p { color: rgba(255,255,255,0.65); }
.stk-kontakt .stk-channel.stk-featured .stk-icon {
  background: rgba(255,255,255,0.1);
  color: var(--stk-cyan);
}
.stk-kontakt .stk-channel.stk-featured:hover {
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

/* ============== CONTACT FORM ============== */
.stk-kontakt .stk-contactform {
  padding: 130px 0;
  background: var(--stk-bg);
}
.stk-kontakt .stk-cf-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.stk-kontakt .stk-cf-left {
  position: sticky; top: 100px;
}
.stk-kontakt .stk-cf-left .stk-eyebrow { margin-bottom: 24px; }
.stk-kontakt .stk-cf-left h2 {
  font-size: clamp(34px, 3.4vw, 48px);
  margin: 0 0 24px;
}
.stk-kontakt .stk-cf-left p {
  color: var(--stk-body); font-size: 16px;
  max-width: 420px; margin-bottom: 44px;
  line-height: 1.7;
}
.stk-kontakt .stk-team-photo {
  aspect-ratio: 5/4;
  background: var(--stk-bg-warm);
  overflow: hidden;
  position: relative;
  border-radius: 3px;
}
.stk-kontakt .stk-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.stk-kontakt .stk-team-note {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--stk-body);
}
.stk-kontakt .stk-team-note .stk-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--stk-cyan);
  flex-shrink: 0;
}

/* Form Card */
.stk-kontakt .stk-form-card {
  background: #fff;
  border: 1px solid var(--stk-line);
  padding: 56px 52px;
  border-radius: 3px;
}
.stk-kontakt .stk-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px;
}
.stk-kontakt .stk-field {
  position: relative; grid-column: span 2;
}
.stk-kontakt .stk-field.stk-half { grid-column: span 1; }

.stk-kontakt .stk-field input,
.stk-kontakt .stk-field textarea {
  width: 100%;
  font-family: inherit; font-size: 16px;
  font-weight: 400;
  padding: 24px 0 10px;
  border: none;
  border-bottom: 1px solid #e0e0e2;
  background: transparent;
  color: var(--stk-anthracite);
  outline: none;
  transition: border-color .2s ease;
  border-radius: 0;
  -webkit-appearance: none;
}
.stk-kontakt .stk-field textarea {
  min-height: 130px; resize: vertical; line-height: 1.55;
}
.stk-kontakt .stk-field label {
  display: none;
}
.stk-kontakt .stk-field input:focus,
.stk-kontakt .stk-field textarea:focus {
  border-bottom-color: var(--stk-cyan);
}
.stk-kontakt .stk-field input:focus + label,
.stk-kontakt .stk-field input.has-value + label,
.stk-kontakt .stk-field textarea:focus + label,
.stk-kontakt .stk-field textarea.has-value + label {
  display: none;
}

/* Regula validation error state */
.stk-kontakt .stk-field input.has-error,
.stk-kontakt .stk-field textarea.has-error {
  border-bottom-color: #e74c3c;
}

.stk-kontakt .stk-submit-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 42px; gap: 24px; flex-wrap: wrap;
}
.stk-kontakt .stk-btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--stk-anthracite); color: #fff;
  padding: 18px 36px;
  font-family: inherit; font-size: 12px;
  font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: none; cursor: pointer;
  border-radius: 3px;
  transition: all .25s ease;
}
.stk-kontakt .stk-btn-primary:hover {
  background: var(--stk-cyan);
  gap: 18px;
}
.stk-kontakt .stk-btn-primary svg {
  width: 14px; height: 14px; transition: transform .25s ease;
}
.stk-kontakt .stk-btn-primary:hover svg { transform: translateX(4px); }

.stk-kontakt .stk-micro {
  font-size: 13px; color: var(--stk-body); line-height: 1.55;
  max-width: 300px;
  font-weight: 300;
}

/* ============== OFFICE ============== */
.stk-kontakt .stk-office {
  background: var(--stk-lilac);
  color: #fff;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.stk-kontakt .stk-office::before {
  content: "ZEIL 46";
  position: absolute;
  bottom: -40px; right: -20px;
  font-size: clamp(160px, 20vw, 320px);
  font-weight: 200;
  color: rgba(255,255,255,0.05);
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
  font-family: 'Libre Franklin', sans-serif;
}
.stk-kontakt .stk-office .stk-wrap { position: relative; z-index: 2; }
.stk-kontakt .stk-office-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.stk-kontakt .stk-office .stk-eyebrow { color: rgba(255,255,255,0.6); }
.stk-kontakt .stk-office .stk-eyebrow::before { background: rgba(255,255,255,0.6); }
.stk-kontakt .stk-office h2 {
  font-size: clamp(38px, 4.4vw, 64px);
  margin: 0 0 28px;
  color: #fff;
}
.stk-kontakt .stk-office h2 .stk-accent { color: #fff; }
.stk-kontakt .stk-office h2 .stk-accent::after { background: rgba(255,255,255,0.5); }
.stk-kontakt .stk-office .stk-desc {
  color: rgba(255,255,255,0.75); font-size: 17px;
  max-width: 460px; margin-bottom: 48px;
  line-height: 1.65;
}
.stk-kontakt .stk-office-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.15);
}
.stk-kontakt .stk-office-info .stk-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 10px;
  font-weight: 500;
}
.stk-kontakt .stk-office-info .stk-val {
  font-size: 16px; color: #fff;
  line-height: 1.5; font-weight: 400;
}
.stk-kontakt .stk-office-info a:hover { color: var(--stk-mint); }

.stk-kontakt .stk-office-visual {
  aspect-ratio: 4/3;
  background: #333;
  overflow: hidden;
  position: relative;
  border-radius: 3px;
}
.stk-kontakt .stk-office-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============== CLOSER ============== */
.stk-kontakt .stk-closer {
  padding: 110px 0; text-align: center; background: var(--stk-bg);
}
.stk-kontakt .stk-closer .stk-eyebrow {
  margin-bottom: 28px; justify-content: center; display: inline-flex;
}
.stk-kontakt .stk-closer h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  max-width: 780px; margin: 0 auto 24px;
}
.stk-kontakt .stk-closer p {
  color: var(--stk-body); font-size: 17px;
  max-width: 540px; margin: 0 auto 40px;
  line-height: 1.65;
}
.stk-kontakt .stk-award-row {
  margin-top: 72px;
  display: flex; justify-content: center; align-items: center; gap: 24px;
  padding-top: 44px; border-top: 1px solid var(--stk-line);
  font-size: 13px; color: var(--stk-body);
  flex-wrap: wrap;
}
.stk-kontakt .stk-award-row strong { color: var(--stk-anthracite); font-weight: 600; }

/* ============== Entry animation ============== */
.stk-kontakt .stk-fade-up {
  opacity: 0; transform: translateY(20px);
  animation: stkFadeUp .9s ease forwards;
}
.stk-kontakt .stk-fade-up.stk-d1 { animation-delay: .1s; }
.stk-kontakt .stk-fade-up.stk-d2 { animation-delay: .2s; }
.stk-kontakt .stk-fade-up.stk-d3 { animation-delay: .3s; }
.stk-kontakt .stk-fade-up.stk-d4 { animation-delay: .4s; }
@keyframes stkFadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============== Responsive ============== */
@media (max-width: 960px) {
  .stk-kontakt .stk-hero .stk-grid,
  .stk-kontakt .stk-channels .stk-title-row,
  .stk-kontakt .stk-cf-grid,
  .stk-kontakt .stk-office-grid {
    grid-template-columns: 1fr; gap: 56px;
  }
  .stk-kontakt .stk-channel-grid { grid-template-columns: 1fr; }
  .stk-kontakt .stk-trust .stk-logos { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .stk-kontakt .stk-form-card { padding: 28px; }
  .stk-kontakt .stk-form-grid .stk-field.stk-half { grid-column: span 2; }
  .stk-kontakt .stk-cf-left { position: static; }
  .stk-kontakt .stk-office::before { display: none; }
  .stk-kontakt .stk-office-info { grid-template-columns: 1fr; gap: 26px; }
  .stk-kontakt .stk-hero { padding: 70px 0 60px; }
  .stk-kontakt .stk-channels { padding: 70px 0; }
  .stk-kontakt .stk-contactform { padding: 70px 0; }
  .stk-kontakt .stk-office { padding: 70px 0; }
  .stk-kontakt .stk-closer { padding: 70px 0; }
}

@media (max-width: 480px) {
  .stk-kontakt .stk-wrap { padding: 0 20px; }
  .stk-kontakt .stk-hero h1 { font-size: 32px; }
  .stk-kontakt .stk-channel { padding: 32px 28px; min-height: auto; }
  .stk-kontakt .stk-form-card { padding: 24px 20px; }
}



/* Placeholder als Feldbezeichnung */
.stk-kontakt .stk-field input::placeholder,
.stk-kontakt .stk-field textarea::placeholder {
  color: #999;
  font-weight: 300;
  font-size: 15px;
}
.stk-kontakt .stk-field input:focus::placeholder,
.stk-kontakt .stk-field textarea:focus::placeholder {
  color: #ccc;
}

/* Formular-Validierung */
.stk-kontakt .stk-field.stk-has-error input,
.stk-kontakt .stk-field.stk-has-error textarea {
  border-bottom-color: #d32f2f !important;
}
.stk-kontakt .stk-field.stk-has-error input::placeholder,
.stk-kontakt .stk-field.stk-has-error textarea::placeholder {
  color: #d32f2f;
}
.stk-kontakt .stk-field-error {
  display: block;
  font-size: 12px;
  color: #d32f2f;
  margin-top: 4px;
  min-height: 0;
  line-height: 1.4;
}
