#wm-preisrechner-root {
  margin: 2rem auto;
  max-width: 1100px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wm-page {
  display: none;
  background: #ffffff;
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.wm-page.active {
  display: block;
}

.wm-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  color: #e02b20;
  margin-bottom: 0.4rem;
}

.wm-sub {
  color: #666;
  margin-bottom: 0.8rem;
}

.wm-hint {
  color: #074db1;
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.wm-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.wm-filter-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  background: #fafafa;
  color: #666;
  cursor: pointer;
  transition: 0.18s ease;
  font-size: 0.8rem;
}

.wm-filter-btn.active,
.wm-filter-btn:hover {
  border-color: #e02b20;
  color: #e02b20;
  background: #ffe5e3;
}

.wm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

@media (max-width: 900px) {
  .wm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wm-grid { grid-template-columns: 1fr; }
}

.wm-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.8rem;
  border: 1px solid #d4d4d4;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: 0.18s ease;
}

.wm-card.selected {
  border-color: #e02b20;
  background: #fff4f3;
}

.wm-card-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.wm-tag {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  color: #666;
  display: inline-block;
  margin: 0.4rem 0;
}

.wm-price span {
  color: #e02b20;
  font-weight: 600;
}

.wm-qty {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.4rem;
  font-size: 0.8rem;
  align-items: center;
}

.wm-qty-input {
  width: 42px;
  padding: 0.2rem;
  border-radius: 6px;
  border: 1px solid #d4d4d4;
  text-align: center;
}

#wm-selection {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

#wm-selection li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px dotted #d4d4d4;
  font-size: 0.85rem;
}

.wm-total {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e02b20;
  margin-top: 0.8rem;
  text-align: right;
}

.btn-main {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: none;
  background: #074db1;
  color: #fff;
  cursor: pointer;
  width: 100%;
  font-size: 0.9rem;
}

.btn-main:hover {
  background: #053a85;
}

.btn-offer {
  background: #e02b20;
}

.btn-offer:hover {
  background: #b81f18;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
}

.wm-ds-label {
  margin-top: 20px;
  font-size: 0.9rem;
}

#summary {
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
}

#angebotForm button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #e02b20;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

#angebotForm button:hover {
  background: #b81f18;
}

.back-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #ccc;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.wm-message {
  margin-top: 15px;
  font-size: 0.9rem;
  display: none;
  padding: 10px;
  border-radius: 6px;
}

.wm-message.success {
  display: block;
  background: #e6ffed;
  border: 1px solid #34a853;
  color: #1b5e20;
}

.wm-message.error {
  display: block;
  background: #ffebee;
  border: 1px solid #c62828;
  color: #b71c1c;
}
