/**
 * VocoScale Custom CSS
 * Zusaetzliches CSS fuer Patterns und interaktive Elemente.
 * Minimal gehalten fuer PageSpeed 95+.
 */

/* ===== Header Sticky ===== */
.vocoscale-header {
  position: sticky;
  top: 0;
  z-index: 300;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ===== Feature Cards Hover ===== */
.vocoscale-feature-card {
  transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.vocoscale-feature-card:hover {
  box-shadow: 0 10px 20px -3px rgba(10, 31, 61, 0.10),
              0 4px 6px -4px rgba(10, 31, 61, 0.05);
  transform: translateY(-2px);
}

/* ===== Pricing Featured Card ===== */
.vocoscale-pricing-featured {
  position: relative;
}

/* ===== CTA Button Gold Hover ===== */
.wp-block-button__link[style*="background-color:#D4A843"] {
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button__link[style*="background-color:#D4A843"]:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(212, 168, 67, 0.35);
  transform: translateY(-1px);
}

/* ===== FAQ Details/Summary ===== */
.wp-block-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
}

.wp-block-details summary::-webkit-details-marker {
  display: none;
}

.wp-block-details summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--wp--preset--color--text-muted);
  transition: transform 200ms ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.wp-block-details[open] summary::after {
  content: "\2212";
}

.wp-block-details {
  transition: border-color 200ms ease;
}

.wp-block-details:hover {
  border-color: var(--wp--preset--color--primary) !important;
}

/* ===== Footer Links ===== */
.vocoscale-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 200ms ease;
}

.vocoscale-footer a:hover {
  color: var(--wp--preset--color--secondary);
}

.vocoscale-footer .is-style-no-bullets {
  list-style: none;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .vocoscale-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .vocoscale-hero .has-display-font-size {
    font-size: clamp(2rem, 6vw, 3.75rem);
  }

  .vocoscale-footer .wp-block-columns {
    gap: var(--wp--preset--spacing--40);
  }
}

/* ===== Contact Form 7 Integration ===== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: var(--wp--preset--color--text-primary);
  background: var(--wp--preset--color--white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--wp--preset--color--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--wp--preset--color--primary-light);
}

.wpcf7-not-valid-tip {
  color: var(--wp--preset--color--error);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* ===== Calendly Inline Widget ===== */
.calendly-inline-widget {
  border-radius: 12px;
  overflow: hidden;
}

/* ===== Utility: Visually Hidden ===== */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal;
}

/* ===== Print Styles ===== */
@media print {
  .vocoscale-header,
  .vocoscale-footer,
  .wp-block-button {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
}
