:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #f5f6f8;
  color: #111827;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px;
}

.card {
  background: #ffffff;
  max-width: 860px;
  width: 100%;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

h1 {
  margin-top: 0;
  font-size: 1.8rem;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.muted {
  color: #6b7280;
}

.note, .price {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  margin: 12px 0;
}

.price {
  background: #fff7ed;
  border-color: #fed7aa;
}

.upload {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed #d1d5db;
  background: #f9fafb;
}

.upload h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.doc-hints {
  margin: 10px 0 12px;
  padding-left: 18px;
  color: #4b5563;
  display: grid;
  gap: 6px;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111827;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.file-label input {
  display: none;
}

.file-list {
  margin-top: 10px;
  color: #6b7280;
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
}

input, select, textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  margin-bottom: 10px;
}

.check input {
  margin-top: 4px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0 24px;
}

.step {
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  background: #f3f4f6;
  font-size: 0.85rem;
}

.step.active {
  background: #111827;
  color: #ffffff;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
}

.btn.secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn.primary {
  background: #b08b3f;
}

/* Form-eigene hidden-Klasse: NUR für Formular-Elemente, NICHT global,
   damit Tailwinds responsive Klassen (hidden md:flex) nicht überschrieben werden. */
.form-step.hidden,
.btn.hidden,
.check.hidden,
#consent_nebenkosten_wrap.hidden {
  display: none !important;
}

/* Fallback utilities for navbar visibility if Tailwind CDN is blocked */
.site-header { display: block; }
.bg-color1 { background: #314F6D; }
.bg-color2 { background: #c0c0c0; }
.bg-color3 { background: #B08B3F; }
.text-color1 { color: #314F6D; }
.text-white { color: #ffffff; }
.border-b-4 { border-bottom-width: 4px; border-bottom-style: solid; }
.border-color3 { border-color: #B08B3F; }
.shadow { box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-3 { gap: 0.75rem; }
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.rounded { border-radius: 0.25rem; }
.pl-4 { padding-left: 1rem; }
.pr-8 { padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.shrink-0 { flex-shrink: 0; }
.object-contain { object-fit: contain; }
.inline-block { display: inline-block; }
.block { display: block; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.z-50 { z-index: 50; }

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
}

/* Mobile menu: starts hidden, toggled by JS */
#mobile-menu.hidden { display: none; }
#mobile-menu.flex { display: flex; }

.error {
  color: #b91c1c;
  margin-top: 12px;
}

.success {
  color: #047857;
  margin-top: 12px;
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
