/* Business Web Solutions — Base Styles
   Minimal, editorial, ruhige Bewegung. Kein Glassmorphism, keine Neon-Farben. */

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Etwas großzügigerer Zeilenabstand für längere Fließtext-Absätze (Lesbarkeit) */
p {
  line-height: 1.65;
}

::selection {
  background: #B3491F;
  color: #FBFAF6;
}

/* Editorial display headings get slightly tighter tracking automatically via Tailwind config */

/* Scroll reveal (progressive enhancement, content visible by default without JS) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal,
.js-disabled .reveal {
  opacity: 1;
  transform: none;
}

/* Image hover: subtle scale only, no glow/parallax */
.img-hover {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
article:hover .img-hover {
  transform: scale(1.03);
}

/* Marquee for logo strip - slow, subtle */
.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FAQ chevron rotation handled via Tailwind group-open utility; fallback: */
details > summary {
  -webkit-tap-highlight-color: transparent;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Custom number input spinner removal for budget/employee ranges (radio-style buttons instead) */
input[type="radio"],
input[type="checkbox"] {
  accent-color: #B3491F;
}

/* Focus states — accessible, visible, not garish */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #B3491F;
  outline-offset: 2px;
}

/* Form field base */
.field-input {
  width: 100%;
  border: 1px solid #E2DFD4;
  background: #FBFAF6;
  padding: 0.85rem 1rem;
  font-size: 15px;
  border-radius: 3px;
  transition: border-color 0.2s ease;
}
.field-input:focus {
  border-color: #15161A;
  outline: none;
}

.radio-pill {
  cursor: pointer;
  user-select: none;
  border: 1px solid #E2DFD4;
  border-radius: 3px;
  padding: 0.7rem 1rem;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  text-align: center;
}
.radio-pill:hover {
  border-color: #15161A;
}
input:checked + .radio-pill {
  border-color: #15161A;
  background: #15161A;
  color: #FBFAF6;
}

/* Bold Editorial variant tweaks (scoped via body.variant-bold) */
body.variant-bold h1,
body.variant-bold h2 {
  letter-spacing: -0.045em;
}
