/* Page CSS */
/* ═══════════════════════════════════════════════════════════════════════════
   PIXELHAFEN DIGITAL — FORM CSS
   Premium form styling for .mhsf-* classes.
   Matches global dark/gold design system.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── WRAPPER ────────────────────────────────────────────────────────────── */

.mhsf-wrapper {
  width: 100%;
  max-width: 100%;
}

.mhsf-wrapper > .mhsf-wrapper {
  width: 100%;
  max-width: 100%;
}

/* ── FORM ───────────────────────────────────────────────────────────────── */

.mhsf-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── ROW / GROUP LAYOUT ─────────────────────────────────────────────────── */

.mhsf-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 8px;
}

.mhsf-row:last-child {
  margin-bottom: 0;
}

.mhsf-group {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 22px;
}

.mhsf-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #BF953F 0%, rgba(252, 246, 186, 0.95) 50%, #B38728 100%);
  transition: width 0.55s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  z-index: 2;
}

.mhsf-group:focus-within::after {
  width: 100%;
}

.mhsf-group:has(.mhsf-textarea)::after,
.mhsf-group:has(.mhsf-button)::after,
.mhsf-group:has(button)::after,
.mhsf-group:has([type="submit"])::after {
  display: none;
}

.mhsf-group--full {
  flex: 1 1 100%;
}

.mhsf-group--half {
  flex: 1 1 calc(50% - 10px);
}

@media (max-width: 768px) {
  .mhsf-row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }
  .mhsf-group--half {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
  }
}

/* ── FLOATING LABELS ────────────────────────────────────────────────── */

.mhsf-label {
  position: absolute;
  top: 37px;
  left: 2px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transition:
    top 0.32s cubic-bezier(0.19, 1, 0.22, 1),
    font-size 0.32s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.32s ease,
    letter-spacing 0.32s ease;
  white-space: nowrap;
  z-index: 1;
}

.mhsf-group:has(.mhsf-textarea) .mhsf-label {
  top: 36px;
  left: 16px;
}

/* Floated state: focused or has value */
.mhsf-group:focus-within .mhsf-label,
.mhsf-group.ph-has-value .mhsf-label {
  top: 2px;
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(191, 149, 63, 0.8);
}

.mhsf-group:has(.mhsf-textarea):focus-within .mhsf-label,
.mhsf-group:has(.mhsf-textarea).ph-has-value .mhsf-label {
  top: 2px;
  left: 2px;
}

/* ── DESCRIPTION ────────────────────────────────────────────────────────── */

.mhsf-description {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── SHARED INPUT BASE ──────────────────────────────────────────────────── */

.mhsf-input,
.mhsf-select {
  width: 100%;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  color: #ededed;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  padding: 15px 2px;
  outline: none;
  transition: border-color 0.4s ease;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.mhsf-textarea {
  width: 100%;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  color: #ededed;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.4s ease, background 0.4s ease;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.mhsf-input:-webkit-autofill,
.mhsf-input:-webkit-autofill:hover,
.mhsf-input:-webkit-autofill:focus,
.mhsf-select:-webkit-autofill,
.mhsf-select:-webkit-autofill:hover,
.mhsf-select:-webkit-autofill:focus,
.mhsf-textarea:-webkit-autofill,
.mhsf-textarea:-webkit-autofill:hover,
.mhsf-textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0d0d0d inset !important;
  -webkit-text-fill-color: #ededed !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 0 !important;
  caret-color: #ededed;
  transition: background-color 5000s ease-in-out 0s;
}

.mhsf-input::placeholder,
.mhsf-textarea::placeholder {
  color: transparent;
  transition: color 0.2s ease;
}

.mhsf-group:focus-within .mhsf-input::placeholder,
.mhsf-group:focus-within .mhsf-textarea::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.mhsf-input:hover,
.mhsf-select:hover {
  border-color: rgba(191, 149, 63, 0.22);
}

.mhsf-textarea:hover {
  border-color: rgba(191, 149, 63, 0.18);
  background: rgba(255, 255, 255, 0.028);
}

.mhsf-input:focus,
.mhsf-select:focus {
  border-color: rgba(191, 149, 63, 0.15);
  background: transparent;
  box-shadow: none;
}

.mhsf-textarea:focus {
  border-color: rgba(191, 149, 63, 0.32);
  background: rgba(191, 149, 63, 0.016);
  box-shadow: none;
}

/* ── SELECT ─────────────────────────────────────────────────────────────── */

.mhsf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(191,149,63,0.55)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 13px;
  padding-right: 24px;
}

.mhsf-select option {
  background: #111;
  color: #f2f2f2;
  padding: 10px;
}

/* ── TEXTAREA ───────────────────────────────────────────────────────────── */

.mhsf-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.65;
}

/* ── CHECKBOX & RADIO ───────────────────────────────────────────────────── */

.mhsf-checkbox,
.mhsf-radio {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  padding: 8px 0;
  transition: color 0.3s ease;
  position: relative;
}

.mhsf-checkbox:hover,
.mhsf-radio:hover {
  color: rgba(255, 255, 255, 0.85);
}

.mhsf-checkbox input[type="checkbox"],
.mhsf-radio input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  margin: 0;
  flex-shrink: 0;
}

.mhsf-checkbox input[type="checkbox"] {
  border-radius: 6px;
}

.mhsf-radio input[type="radio"] {
  border-radius: 50%;
}

.mhsf-checkbox input[type="checkbox"]:hover,
.mhsf-radio input[type="radio"]:hover {
  border-color: rgba(191, 149, 63, 0.4);
  background: rgba(191, 149, 63, 0.05);
}

.mhsf-checkbox input[type="checkbox"]:checked,
.mhsf-radio input[type="radio"]:checked {
  border-color: #bf953f;
  background: linear-gradient(135deg, #bf953f 0%, #b38728 50%, #aa771c 100%);
  box-shadow: 0 0 12px rgba(191, 149, 63, 0.3);
}

.mhsf-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #0d0d0d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mhsf-radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d0d0d;
}

.mhsf-checkbox input[type="checkbox"]:focus,
.mhsf-radio input[type="radio"]:focus {
  box-shadow: 0 0 0 3px rgba(191, 149, 63, 0.15);
}

/* ── BUTTON ─────────────────────────────────────────────────────────────── */

.mhsf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 17px 32px;
  margin-top: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0d0d0d;
  -webkit-text-fill-color: #0d0d0d;
  background: linear-gradient(
    110deg,
    #BF953F 0%,
    #FCF6BA 22%,
    #B38728 44%,
    #FBF5B7 66%,
    #AA771C 88%,
    #BF953F 100%
  );
  background-size: 200% 100%;
  animation: ph-gold-flow 6s ease-in-out infinite;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  box-shadow:
    0 6px 24px rgba(191, 149, 63, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mhsf-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: ph-shimmer-sweep 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: 9999px;
}

.mhsf-button:hover,
.mhsf-button:focus {
  transform: translateY(-2px);
  box-shadow:
    0 10px 36px rgba(191, 149, 63, 0.32),
    0 4px 12px rgba(0, 0, 0, 0.25);
  filter: brightness(1.05);
  outline: none;
}

.mhsf-button:active {
  transform: translateY(0);
}

.mhsf-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

/* ── ERROR MESSAGE ──────────────────────────────────────────────────────── */

.mhsf-error {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #e74c3c;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(231, 76, 60, 0.06);
  border-left: 3px solid rgba(231, 76, 60, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: mhsf-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes mhsf-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(2px);
  }
}

/* Invalid state on inputs */
.mhsf-input:invalid:not(:placeholder-shown),
.mhsf-select:invalid:not(:placeholder-shown),
.mhsf-textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(231, 76, 60, 0.4);
}

/* ── SUCCESS MESSAGE ────────────────────────────────────────────────────── */

.mhsf-success {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 32px 28px;
  border-radius: 14px;
  background: rgba(191, 149, 63, 0.04);
  border: 1px solid rgba(191, 149, 63, 0.18);
  text-align: center;
  line-height: 1.6;
  box-shadow:
    0 0 30px rgba(191, 149, 63, 0.08),
    0 0 60px rgba(191, 149, 63, 0.04);
  animation: mhsf-success-in 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.mhsf-success strong {
  background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  filter: drop-shadow(0 0 12px rgba(191,149,63,0.35)) drop-shadow(0 0 25px rgba(191,149,63,0.2));
}

.mhsf-success svg {
  filter: drop-shadow(0 0 10px rgba(191,149,63,0.4)) drop-shadow(0 0 20px rgba(191,149,63,0.2));
}

.mhsf-success span,
.mhsf-success br ~ * {
  color: rgba(255, 255, 255, 0.7);
}

.mhsf-error,
.mhsf-success {
  width: 100%;
}

@keyframes mhsf-success-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── FORM CONTAINER — exact match to home page ──────────────────────────── */

@keyframes ph-consult-top-run {
  0% {
    transform: translate3d(-140%, 0, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.24;
  }
  32% {
    opacity: 0.92;
  }
  68% {
    opacity: 0.92;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translate3d(140%, 0, 0);
    opacity: 0;
  }
}

.ph-consult-form-wrap {
  position: relative;
  padding: 0;
  border-radius: 20px;
  background: transparent;
  animation: none;
  box-shadow: none;
}

.ph-consult-form-wrap::before {
  display: none;
}

.ph-consult-form-inner {
  background: #09090e;
  border-radius: 20px;
  border: 1px solid rgba(191, 149, 63, 0.13);
  padding: clamp(40px, 5.5vw, 60px) clamp(36px, 5vw, 52px);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.ph-consult-form-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(191, 149, 63, 0.14) 18%,
    rgba(252, 246, 186, 0.38) 50%,
    rgba(191, 149, 63, 0.14) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(191, 149, 63, 0.08),
    0 0 26px rgba(252, 246, 186, 0.04);
  pointer-events: none;
  z-index: 1;
}

.ph-consult-form-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  min-width: 120px;
  max-width: 220px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(191, 149, 63, 0.12) 16%,
    rgba(252, 246, 186, 0.92) 48%,
    rgba(255, 245, 196, 1) 50%,
    rgba(191, 149, 63, 0.18) 84%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow:
    0 0 10px rgba(252, 246, 186, 0.36),
    0 0 24px rgba(191, 149, 63, 0.22),
    0 0 42px rgba(252, 246, 186, 0.12);
  filter: blur(0.2px);
  pointer-events: none;
  z-index: 2;
  animation: ph-consult-top-run 5.8s cubic-bezier(0.55, 0.08, 0.21, 0.98) infinite;
}


.ph-consult-form-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.ph-consult-form-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  margin-bottom: 44px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONSULT SECTION — mirrors home page ph-consult-section
   ═══════════════════════════════════════════════════════════════════════════ */

.ph-consult-section {
  position: relative;
  padding: clamp(72px, 8vw, 120px) 0;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(191, 149, 63, 0.08) 0%,
      transparent 45%
    ),
    linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #050505 100%);
  overflow: hidden;
}

.ph-consult-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(840px, 82vw);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(191, 149, 63, 0.3),
    transparent
  );
}

.ph-consult-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

.ph-consult-text {
  text-align: left;
}

.ph-consult-text .ph-eyebrow {
  margin-bottom: 20px;
}

.ph-consult-text h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f2f2f2;
  margin-bottom: 24px;
}

.ph-consult-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

.ph-consult-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.ph-consult-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(191, 149, 63, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.ph-consult-badge svg {
  width: 14px;
  height: 14px;
  stroke: #bf953f;
  flex-shrink: 0;
}

.ph-consult-badge-number {
  font-family: var(--ph-font-number, "Inter", sans-serif);
  font-size: 1.45em;
  font-weight: 700;
  color: #bf953f;
  line-height: 1;
}

@media (max-width: 900px) {
  .ph-consult-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .ph-consult-text {
    text-align: center;
  }
  .ph-consult-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .ph-consult-badges {
    justify-content: center;
  }
  .ph-consult-form-wrap {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .ph-consult-section {
    padding: clamp(48px, 7vw, 72px) 0;
  }
  .ph-consult-form-inner {
    padding: 28px 18px;
  }
  .ph-consult-form-title {
    font-size: 1.45rem;
  }
  .ph-consult-form-subtitle {
    font-size: 0.76rem;
    margin-bottom: 28px;
  }
  .ph-consult-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    gap: 6px;
  }
  .ph-consult-text h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   KONTAKT PAGE — LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.ph-kontakt-hero {
  padding: clamp(140px, 18vh, 200px) 0 clamp(48px, 5vw, 72px);
  text-align: center;
  position: relative;
  background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(191, 149, 63, 0.06) 0%,
      transparent 50%
    ),
    #0d0d0d;
}

.ph-kontakt-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 20px;
}

.ph-kontakt-hero p {
  max-width: 680px;
  margin: 0 auto 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.75;
}

.ph-kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.ph-kontakt-main {
  padding-top: 0;
}

.ph-kontakt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ph-kontakt-sidebar h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
}

.ph-kontakt-sidebar > p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Info boxes on Kontakt page */
.ph-kontakt-infobox {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.ph-kontakt-infobox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, #bf953f, #fcf6ba, #aa771c);
  border-radius: 0 0 3px 0;
  transition: height 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.ph-kontakt-infobox:hover::before {
  height: 100%;
}

.ph-kontakt-infobox:hover {
  border-color: rgba(191, 149, 63, 0.2);
  background: rgba(191, 149, 63, 0.025);
  transform: translateX(4px);
}

.ph-kontakt-infobox h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f2f2f2;
  margin-bottom: 10px;
}

.ph-kontakt-infobox p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

/* Kontakt form column with glow */
.ph-kontakt-form-col {
  position: sticky;
  top: 100px;
}

/* English CTA bar at bottom of kontakt page */
.ph-kontakt-cta-bar {
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 0;
  position: relative;
}

.ph-kontakt-cta-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 70vw);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(191, 149, 63, 0.15),
    transparent
  );
}

.ph-kontakt-cta-bar h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.ph-kontakt-cta-bar p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .ph-kontakt-layout {
    grid-template-columns: 1fr;
  }
  .ph-kontakt-form-col {
    position: relative;
    top: auto;
    order: -1;
  }
  .ph-kontakt-sidebar {
    order: 1;
  }
  .ph-kontakt-form-col .ph-consult-form-wrap {
    max-width: 100%;
  }
}

.mhsf-privacy-link {
  color: #bf953f;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT INFO CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.ph-kontakt-info-cards {
  padding-top: 0;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.ph-contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ph-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: clamp(28px, 3vw, 40px) 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.ph-contact-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #bf953f, #fcf6ba, #aa771c);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.ph-contact-card:hover::before {
  width: 60%;
}

.ph-contact-card:hover {
  border-color: rgba(191, 149, 63, 0.2);
  background: rgba(191, 149, 63, 0.025);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(191, 149, 63, 0.08);
}

.ph-contact-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(191, 149, 63, 0.06);
  border: 1px solid rgba(191, 149, 63, 0.12);
  margin-bottom: 20px;
  color: #bf953f;
  transition: all 0.4s ease;
}

.ph-contact-card:hover .ph-contact-card-icon {
  background: rgba(191, 149, 63, 0.1);
  box-shadow: 0 0 24px rgba(191, 149, 63, 0.15);
}

.ph-contact-card h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f2f2f2;
  margin-bottom: 8px;
}

.ph-contact-card p {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .ph-contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING PIXELHAFEN IMAGE (decorative, outside content width)
   ═══════════════════════════════════════════════════════════════════════════ */

.ph-kontakt-main {
  position: relative;
  overflow: visible;
}

.ph-kontakt-float-img {
  position: absolute;
  right: -100px;
  top: 180px;
  width: clamp(160px, 14vw, 260px);
  opacity: 0.13;
  pointer-events: none;
  z-index: -1;
  animation: ph-kontakt-float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(191, 149, 63, 0.12));
}

.ph-kontakt-float-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@keyframes ph-kontakt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@media (max-width: 1200px) {
  .ph-kontakt-float-img { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CODE IS POETRY ICON (futuristic floating + rotating)
   ═══════════════════════════════════════════════════════════════════════════ */

.ph-code-poetry {
  position: absolute;
  left: -80px;
  top: 400px;
  width: clamp(50px, 7vw, 100px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
  animation: ph-code-poetry-orbit 10s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(191, 149, 63, 0.25));
}

.ph-code-poetry img {
  width: 100%;
  height: auto;
}

@keyframes ph-code-poetry-orbit {
  0% { transform: translateY(0) rotate(0deg) scale(0.95); }
  25% { transform: translateY(-14px) rotate(90deg) scale(1.0); }
  50% { transform: translateY(-6px) rotate(180deg) scale(1.05); }
  75% { transform: translateY(-20px) rotate(270deg) scale(1.0); }
  100% { transform: translateY(0) rotate(360deg) scale(0.95); }
}

@media (max-width: 1200px) {
  .ph-code-poetry { display: none; }
}
