/* Webhosting-Angebot — ergänzt s3.css, keine externen Ressourcen */

.hosting-page {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.hosting-hero {
  margin-bottom: 2rem;
}

.hosting-price-badge {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  color: inherit;
}

.hosting-form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: rgb(113 113 122);
}

.dark .hosting-form label {
  color: rgb(161 161 170);
}

.hosting-form input,
.hosting-form select,
.hosting-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgb(244 244 245);
  font-size: 1rem;
}

.dark .hosting-form input,
.dark .hosting-form select,
.dark .hosting-form textarea {
  background: rgb(39 39 42);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgb(228 228 231);
}

.hosting-form .grid-2 {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 640px) {
  .hosting-form .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.hosting-summary {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 1rem 0 1.5rem;
}

.dark .hosting-summary {
  border-color: rgba(255, 255, 255, 0.1);
}

.hosting-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hosting-av-box {
  font-size: 0.875rem;
  line-height: 1.5;
  max-height: 12rem;
  overflow-y: auto;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgb(244 244 245);
  margin-bottom: 0.75rem;
}

.dark .hosting-av-box {
  background: rgb(39 39 42);
}

.hosting-legal h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.hosting-legal h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
}

.hosting-legal p,
.hosting-legal li {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.hosting-legal ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.hosting-anlage {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .hosting-anlage {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.hosting-anlage h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
}

/* Erfolgsansicht nach Absenden */
.hosting-success {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
  animation: hosting-success-in 0.45s ease-out;
}

.hosting-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 9999px;
  background: rgba(249, 115, 22, 0.12);
}

.hosting-success__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hosting-success__title {
    font-size: 1.75rem;
  }
}

.hosting-success__lead {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: rgb(82 82 91);
  max-width: 28rem;
  margin: 0 auto 1rem;
}

.dark .hosting-success__lead {
  color: rgb(212 212 216);
}

.hosting-success__ref {
  font-size: 0.875rem;
  color: rgb(113 113 122);
  margin-bottom: 1.25rem;
}

.hosting-success__steps {
  text-align: left;
  max-width: 22rem;
  margin: 0 auto;
  padding-left: 1.125rem;
  list-style: disc;
  line-height: 1.55;
}

.hosting-form-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  background: rgba(220, 38, 38, 0.08);
  color: rgb(185 28 28);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.dark .hosting-form-error {
  color: rgb(252 165 165);
  background: rgba(127, 29, 29, 0.25);
  border-color: rgba(248, 113, 113, 0.25);
}

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

@media print {
  .hosting-no-print {
    display: none !important;
  }
  .hosting-legal {
    max-width: none;
  }
}
