.svh-tarifrechner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin: 40px 0;

  @media (max-width: 900px) {
    flex-direction: column;
    gap: 32px;
  }
}

.svh-tarifrechner-form {
  flex: 1 1 320px;
  max-width: 460px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
  padding: 32px 28px;
  margin-bottom: 32px;

  @media (max-width: 900px) {
    max-width: 100%;
    width: 100%;
  }
}

.svh-tarifrechner-field {
  margin-bottom: 24px;
}

#svh_kw {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #bbb;
  background: #fcfcfc;
  font-size: 1rem;
  margin-top: 3px;
}

.svh-tarifrechner-media-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.svh-tarifrechner-media-checkboxes label {
  font-weight: 400;
  cursor: pointer;
  padding: 4px 0 4px 2px;
  border-radius: 4px;
  transition: background 0.15s;
  display: block;
  &:hover {
    background: #f5f5f5;
  }

  &:last-child {
    margin-bottom: 0;
  }
}
.svh-tarifrechner-media-checkboxes input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #007ca9;
  vertical-align: middle;
  cursor: pointer;

  &:focus + label {
    background: #f5f5f5;
  }
}
#checkbox-hallo-nachbar {
  font-style: italic;
  opacity: 1;
  transition: opacity 0.15s;
}
.svh-tarifrechner-hide {
  opacity: 0.3;
  pointer-events: none;
  text-decoration: line-through;
}

.svh-tarifrechner-formats {
  display: flex;
  flex-direction: column;
  gap: 6px;

  & label {
    font-weight: 400;
    cursor: pointer;
    padding: 3px 0 3px 2px;
    border-radius: 4px;
    transition: background 0.15s;
    display: block;
  }

  & input[type="radio"] {
    margin-right: 7px;
  }
}

#svh_bezirk {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #bbb;
  background: #fcfcfc;
  font-size: 1rem;
  margin-top: 7px;
  &:disabled {
    background: #f1f1f1;
    color: #aaa;
    cursor: not-allowed;
  }
}
.svh-tarifrechner-field input[type="checkbox"]#svh_digital {
  margin-right: 7px;
  vertical-align: middle;
}

button[type="submit"].svh-tarifrechner-submit {
  background: #111;
  color: #fff;
  border: none;
  border-radius: calc(infinity * 1px);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.15s;
  &:is(:hover, :focus) {
    background: var(--e-global-color-text, #f36f21);
  }
}

.svh-tarifrechner-result-box {
  flex: 1 1 320px;
  max-width: 340px;
  background: #ebebeb;
  border-radius: 16px;
  padding: 30px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;

  @media (max-width: 900px) {
    max-width: 100%;
    width: 100%;
  }
}

.svh-tarifrechner-result-title {
  font-size: 1.13rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.svh-tarifrechner-result-content {
  margin-bottom: 30px;
}

.svh-tarifrechner-result-list {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;

  & li {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 10px 34px 10px 13px;
    font-size: 1rem;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;

    &:last-child {
      margin-bottom: 0;
    }
  }

  /* Delete-Button (Time/Remove-Symbol) */
  & .svh-tarifrechner-delete-item {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ff6060;
    font-size: 1.3em;
    cursor: pointer;
    padding: 2px 6px;
    &:is(:hover, :focus) {
      color: #d10000;
    }
  }
}

.svh-tarifrechner-result-reichweite,
.svh-tarifrechner-result-kosten {
  margin-bottom: 18px;
}
.svh-tarifrechner-result-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
}
.svh-tarifrechner-result-kosten .svh-tarifrechner-result-number {
  color: #007ca9;
}

/* Kontaktfeld-Stil */
.svh-tarifrechner-kontakt {
  margin: 18px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;

  & label {
    font-weight: 500;
    font-size: 0.96rem;
    margin-bottom: 2px;
  }

  & input[type="text"],
  & input[type="email"],
  & input[type="tel"] {
    width: 100%;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 1rem;
    margin-bottom: 0;
  }

  & textarea {
    border-radius: 8px;
    border: 1px solid #bbb;
    font-size: 1rem;
    padding: 7px 11px;
    resize: vertical;
  }

  & a {
    color: #007ca9;
    text-decoration: underline;
  }
}

.svh-tarifrechner-offer-request-btn {
  width: 100%;
  padding: 14px 0;
  background: #111;
  color: #fff;
  border-radius: calc(infinity * 1px);
  border: none;
  font-size: 1.13rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.17s;
  &:is(:hover, :focus) {
    background: var(--e-global-color-text, #f36f21);
  }
}

.svh-tarifrechner-format-preview {
  margin-top: 16px;
  text-align: center;
}
.svh-tarifrechner-format-image {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: filter 0.2s;
}

.svh-tarifrechner-datenschutz-checkbox {
  & label {
    font-size: 0.96rem;
    font-weight: 400;
    margin-top: 6px;
  }

  & input[type="checkbox"] {
    margin-right: 8px;
  }
}