:root {
  --ai-ink: #1f2937;
  --ai-soft: #6b7280;
  --ai-brand: #f97316;
  --ai-brand-2: #fb923c;
  --ai-card: rgba(255, 255, 255, 0.88);
  --ai-stroke: rgba(107, 114, 128, 0.16);
}

.ai-body {
  color: var(--ai-ink);
  font-family: "Segoe UI", "Inter", sans-serif;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(249, 115, 22, 0.14),
      transparent 26%
    ),
    radial-gradient(
      circle at 84% 14%,
      rgba(229, 231, 235, 0.8),
      transparent 28%
    ),
    linear-gradient(145deg, #f8fafc 0%, #f3f4f6 48%, #fff7ed 100%);
  min-height: 100vh;
}

#siteHeader {
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ai-stroke);
  background: rgba(255, 255, 255, 0.82) !important;
}

#siteHeader .container {
  max-width: 1180px;
}

#siteHeader a,
#siteHeader button {
  border-radius: 999px !important;
  color: #374151;
  border-color: rgba(209, 213, 219, 0.85) !important;
}

#siteHeader img {
  filter: contrast(1.05) saturate(1.02);
}

#anfrage {
  background: transparent !important;
  padding-bottom: 3rem !important;
}

#anfrage h1 {
  letter-spacing: -0.03em;
  text-wrap: balance;
}

#anfrage > div {
  max-width: 1180px;
}

#anfrage .mb-8.text-center {
  margin-bottom: 1.6rem;
}

.service-step + .service-step,
.service-step + .form-split-block,
.form-split-block + #orderModeSection,
#orderModeSection + #formSection,
#formSection > * + * {
  margin-top: 2rem;
}

.service-step-upload {
  padding-bottom: 0.25rem;
}

.upload-count-wrap {
  min-width: min(100%, 320px);
}

#manualImageCount {
  min-height: 58px;
}

#uploadPreview:empty {
  display: none;
}

#uploadPreview > p {
  margin-top: 0.2rem;
}

#serviceRequestForm > .service-step h2,
#serviceRequestForm > #orderModeSection h2,
#serviceRequestForm > #formSection h2 {
  letter-spacing: -0.02em;
}

#serviceRequestForm .text-xs.text-gray-500,
#serviceRequestForm .text-sm.text-gray-600 {
  line-height: 1.5;
}

#serviceRequestForm {
  padding: 2rem;
}

#serviceRequestForm,
#priceCalculator,
.bg-white.rounded-2xl.shadow-xl {
  background: var(--ai-card) !important;
  border: 1px solid var(--ai-stroke) !important;
  box-shadow: 0 24px 60px rgba(107, 114, 128, 0.16) !important;
}

#priceCalculator {
  border-top: 4px solid rgba(249, 115, 22, 0.55) !important;
  padding: 2rem !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(249, 250, 251, 0.98) 100%
  ) !important;
}

.price-calculator-wrap.tut-highlight #priceCalculator {
  box-shadow:
    0 0 0 2px rgba(249, 115, 22, 0.55),
    0 24px 60px rgba(107, 114, 128, 0.22) !important;
}

.option-card,
.order-mode-card,
.payment-method-card,
.faq-item {
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.option-card:hover,
.order-mode-card:hover,
.payment-method-card:hover,
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(107, 114, 128, 0.12);
}

.bg-orange-500,
.hover\:bg-orange-600:hover {
  background: linear-gradient(120deg, #f97316 0%, #fb923c 100%) !important;
}

#mainContent .text-gray-800 {
  color: #1f2937 !important;
}

#mainContent .text-gray-700 {
  color: #374151 !important;
}

#mainContent .text-gray-600,
#mainContent .text-gray-500 {
  color: #6b7280 !important;
}

#mainContent .bg-gray-50,
#mainContent .bg-gray-100 {
  background-color: rgba(249, 250, 251, 0.96) !important;
}

#mainContent .border-gray-200,
#mainContent .border-gray-300 {
  border-color: rgba(209, 213, 219, 0.9) !important;
}

#mainContent input,
#mainContent select,
#mainContent textarea {
  background: rgba(255, 255, 255, 0.96);
  color: #1f2937;
  border-color: rgba(209, 213, 219, 0.95) !important;
}

#mainContent input::placeholder,
#mainContent textarea::placeholder {
  color: #9ca3af;
}

#uploadDropzone {
  background: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.08) 0%,
    rgba(255, 255, 255, 0.92) 100%
  ) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
}

#uploadDropzone:hover {
  background: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.12) 0%,
    rgba(255, 247, 237, 0.96) 100%
  ) !important;
}

.text-orange-600,
.text-orange-700,
.text-orange-500 {
  color: var(--ai-brand) !important;
}

.border-orange-100,
.border-orange-200,
.border-orange-300,
.hover\:border-orange-300:hover {
  border-color: rgba(249, 115, 22, 0.32) !important;
}

.bg-orange-50,
.bg-orange-50\/50,
.hover\:bg-orange-50:hover {
  background-color: rgba(255, 237, 213, 0.82) !important;
}

#summaryTotal {
  color: var(--ai-brand-2) !important;
}

.faq-shell {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(249, 250, 251, 0.96) 100%
  );
  border: 1px solid var(--ai-stroke);
  box-shadow: 0 24px 52px rgba(107, 114, 128, 0.14);
}

.faq-kicker {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c2410c;
  background: rgba(249, 115, 22, 0.12);
}

.faq-item {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(209, 213, 219, 0.9);
  border-radius: 1rem;
  padding: 1rem 1rem 0.95rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #1f2937;
  padding-right: 1.4rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--ai-brand);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--ai-soft);
  line-height: 1.55;
  font-size: 0.94rem;
}

.site-footer {
  margin-top: 4.5rem;
  width: 100%;
}

.site-footer-inner {
  width: 100%;
  max-width: 100%;
}

.footer-panel,
.legal-shell {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(249, 250, 251, 0.96) 100%
  );
  border: 1px solid var(--ai-stroke);
  box-shadow: 0 24px 52px rgba(107, 114, 128, 0.14);
}

.footer-link {
  color: #4b5563;
  transition: color 0.2s ease;
  line-height: 1.6;
}

.footer-link:hover {
  color: var(--ai-brand);
}

.footer-panel h2,
.footer-panel h3 {
  letter-spacing: -0.01em;
}

#mbsCookieBanner .rounded-3xl,
#mbsCookieModal .rounded-3xl {
  box-shadow: 0 30px 80px rgba(107, 114, 128, 0.18);
}

.legal-page {
  min-height: calc(100vh - 120px);
}

.legal-kicker {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #c2410c;
  background: rgba(249, 115, 22, 0.12);
}

.legal-copy h2 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.legal-copy p {
  color: #4b5563;
  line-height: 1.7;
  margin-top: 0.5rem;
}

.legal-copy a {
  color: var(--ai-brand);
}

#mainContent .text-green-700 {
  color: #15803d !important;
}

#mainContent .bg-green-50 {
  background-color: rgba(240, 253, 244, 0.96) !important;
}

@media (max-width: 1023px) {
  #siteHeader {
    background: rgba(255, 255, 255, 0.92) !important;
  }

  #anfrage {
    padding-top: 6.2rem !important;
  }

  #serviceRequestForm,
  #priceCalculator {
    padding: 1.35rem !important;
  }

  .service-step + .service-step,
  .service-step + .form-split-block,
  .form-split-block + #orderModeSection,
  #orderModeSection + #formSection,
  #formSection > * + * {
    margin-top: 2rem;
  }
}
